@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&display=swap');

:root {
    --bg-dark: #090a0f;
    --bg-card: #12131a;
    --border-subtle: #1f222e;
    --border-focus: #4f46e5;
    
    --color-text-primary: #f3f4f6;
    --color-text-secondary: #9ca3af;
    --color-text-muted: #4b5563;
    
    --accent: #6366f1;
    --accent-hover: #4f46e5;
    
    --transition-smooth: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--color-text-primary);
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
    letter-spacing: -0.01em;
}

/* Subtle Grid Background for that SaaS aesthetic */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        radial-gradient(circle at 50% 30%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        linear-gradient(rgba(255, 255, 255, 0.004) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.004) 1px, transparent 1px);
    background-size: 100% 100%, 48px 48px, 48px 48px;
    z-index: -2;
    pointer-events: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.03em;
    color: #ffffff;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Navigation Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 2rem;
    transition: var(--transition-smooth);
}

header.scrolled {
    background: rgba(9, 10, 15, 0.75);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1rem 2rem;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.logo-img {
    width: 24px;
    height: 24px;
    border-radius: 5px;
    object-fit: cover;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-item {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.nav-item:hover, .nav-item.active {
    color: #ffffff;
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Page Layout */
main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 9rem 2rem 5rem;
    min-height: calc(100vh - 120px);
}

.section {
    display: block;
    animation: fadeIn var(--transition-smooth);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Home Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem 0 5rem;
}

.badge {
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.hero h1 {
    font-size: 3.5rem;
    max-width: 800px;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.hero h1 span {
    color: var(--accent);
}

.hero-sub {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.cta-group {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--accent);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--color-text-primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Stats Section */
.stats-banner {
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 3rem 0;
    margin-bottom: 6rem;
}

.stats-banner-grid {
    display: grid;
    grid-template-cols: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h4 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #ffffff;
}

.stat-item p {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

/* Capabilities Grid */
.features-title {
    text-align: center;
    margin-bottom: 3rem;
}

.features-title h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.features-title p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.features-grid {
    display: grid;
    grid-template-cols: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 6rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 2rem;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    border-color: rgba(99, 102, 241, 0.4);
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: rgba(99, 102, 241, 0.08);
    color: var(--accent);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* About Us Section */
.about-hero {
    display: grid;
    grid-template-cols: 1.2fr 0.8fr;
    gap: 3.5rem;
    align-items: center;
    margin-bottom: 6rem;
}

.about-text h2 {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
}

.about-text p {
    color: var(--color-text-secondary);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.about-inner-box {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: center;
    width: 100%;
    max-width: 300px;
}

.values-title {
    text-align: center;
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-cols: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 2rem;
    border-radius: 8px;
}

.value-num {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.value-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.value-card p {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

/* Privacy Policy Section */
.policy-container {
    max-width: 800px;
    margin: 0 auto;
}

.policy-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.policy-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.policy-header p {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

.policy-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 2.5rem;
}

.policy-section {
    margin-bottom: 2.5rem;
}

.policy-section:last-child {
    margin-bottom: 0;
}

.policy-section h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.policy-section p {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.policy-section ul {
    list-style: none;
    margin-bottom: 0.75rem;
}

.policy-section li {
    position: relative;
    padding-left: 1.25rem;
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.policy-section li::before {
    content: "–";
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* Data Deletion Page */
.deletion-container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-cols: 1fr 1.1fr;
    gap: 3.5rem;
}

.deletion-info h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.deletion-info p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.step-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-item {
    display: flex;
    gap: 1rem;
}

.step-num {
    width: 24px;
    height: 24px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.step-details h4 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.step-details p {
    color: var(--color-text-secondary);
    font-size: 0.85rem;
}

/* Deletion Request Form */
.form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 2.5rem;
}

.form-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.form-subtitle {
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    margin-bottom: 1.75rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.form-control {
    width: 100%;
    background: #090a0f;
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.875rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--border-focus);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 0.875rem;
    padding-right: 2rem;
}

textarea.form-control {
    resize: none;
}

.form-checkbox {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    margin-top: 1.25rem;
    margin-bottom: 1.75rem;
    cursor: pointer;
}

.form-checkbox input {
    margin-top: 0.2rem;
    accent-color: var(--accent);
}

.form-checkbox span {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    line-height: 1.4;
}

.form-checkbox span a {
    color: var(--accent);
}

.form-checkbox span a:hover {
    text-decoration: underline;
}

.form-btn {
    width: 100%;
    border: none;
    background-color: var(--accent);
    color: #ffffff;
    padding: 0.75rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.form-btn:hover {
    background-color: var(--accent-hover);
}

.form-btn:disabled {
    background: var(--color-text-muted);
    cursor: not-allowed;
}

/* Success Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 10, 15, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    width: 90%;
    max-width: 400px;
    border-radius: 8px;
    padding: 2.5rem;
    text-align: center;
    transform: scale(0.95);
    transition: var(--transition-smooth);
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-icon {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.08);
    color: var(--accent);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin: 0 auto 1.5rem;
}

.modal-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.modal-card p {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-subtle);
    padding: 4rem 2rem 2.5rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-cols: 1.5fr 1fr 1fr;
    gap: 3.5rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--color-text-secondary);
    margin-top: 0.75rem;
    font-size: 0.875rem;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffffff;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-link {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.footer-link:hover {
    color: #ffffff;
}

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-subtle);
    padding-top: 2rem;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-hero {
        grid-template-cols: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .about-visual {
        order: -1;
    }
    
    .deletion-container {
        grid-template-cols: 1fr;
        gap: 2.5rem;
    }
    
    .footer-container {
        grid-template-cols: 1fr;
        gap: 2rem;
    }
}
