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

:root {
    --bg: #06060b;
    --surface: rgba(255, 255, 255, 0.06);
    --surface-hover: rgba(255, 255, 255, 0.1);
    --border: rgba(255, 255, 255, 0.12);
    --border-hover: rgba(139, 92, 246, 0.5);
    --text: #ededf0;
    --text-muted: #9d9db4;
    --accent: #8b5cf6;
    --accent-light: #a78bfa;
    --accent-dark: #6d28d9;
    --accent-glow: rgba(139, 92, 246, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Animated background blobs */
.bg-shapes {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    animation: blob-drift 20s ease-in-out infinite alternate;
}

.bg-shape-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.25), transparent 70%);
    top: -150px;
    right: -100px;
    animation-delay: 0s;
}

.bg-shape-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(109, 40, 217, 0.2), transparent 70%);
    bottom: -100px;
    left: -100px;
    animation-delay: -7s;
}

.bg-shape-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.15), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes blob-drift {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
    100% { transform: translate(10px, -10px) scale(1.02); }
}

/* Everything on top of background */
header, main, footer {
    position: relative;
    z-index: 1;
}

/* Navigation */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    background: rgba(6, 6, 11, 0.7);
    border-bottom: 1px solid var(--border);
}

nav {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0.9rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo-icon {
    flex-shrink: 0;
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text);
}

/* Hero */
.hero {
    position: relative;
    text-align: center;
    padding: 7rem 1.5rem 5rem;
    max-width: 700px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 100px;
    background: var(--accent-glow);
    border: 1px solid rgba(139, 92, 246, 0.25);
    color: var(--accent-light);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 1.25rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.download-badge img {
    transition: transform 0.2s, opacity 0.2s;
}

.download-badge img:hover {
    transform: scale(1.03);
    opacity: 0.9;
}

/* Floating geometric shapes in hero */
.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: visible;
}

.floating-shape {
    position: absolute;
    animation: float 8s ease-in-out infinite;
}

.floating-shape.s1 {
    top: 15%;
    left: 2%;
    animation-delay: 0s;
}

.floating-shape.s2 {
    top: 25%;
    right: 0%;
    animation-delay: -2.5s;
}

.floating-shape.s3 {
    bottom: 15%;
    left: 8%;
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(6deg); }
}

/* Features */
.features {
    max-width: 100%;
    padding: 4rem 1.5rem 5rem;
    background: #0d0d14;
    border-top: 1px solid #1a1a28;
    border-bottom: 1px solid #1a1a28;
}

.features > .section-header,
.features > .feature-grid {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.feature-card {
    background: #191924;
    border: 1px solid #2d2d40;
    border-radius: 16px;
    padding: 1.75rem;
    transition: background 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    background: #1c1c28;
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(139, 92, 246, 0.15);
}

.feature-card-large {
    grid-column: span 1;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--accent-light);
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 650;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

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

/* CTA */
.cta {
    text-align: center;
    padding: 4rem 1.5rem 5rem;
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}

.cta p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

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

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-copy {
    text-align: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.78rem;
}

/* Policy Pages */
.policy-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 4rem 1.5rem 5rem;
    flex: 1;
}

.policy-page h1 {
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    margin-bottom: 0.5rem;
}

.effective-date {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.policy-page section {
    margin-bottom: 2.25rem;
}

.policy-page h2 {
    font-size: 1.2rem;
    font-weight: 650;
    margin-bottom: 0.75rem;
    color: var(--text);
    letter-spacing: -0.01em;
}

.policy-page p {
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.policy-page ul {
    color: var(--text-muted);
    padding-left: 1.25rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.policy-page li {
    margin-bottom: 0.4rem;
    padding-left: 0.25rem;
}

.policy-page li::marker {
    color: var(--accent);
}

.policy-page a {
    color: var(--accent-light);
    text-decoration: none;
    transition: color 0.2s;
}

.policy-page a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.support-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--accent-light);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: #1e1530;
    border: 1px solid #3b2870;
    transition: background 0.2s, border-color 0.2s;
}

.support-link:hover {
    background: #281d40;
    border-color: #5b3fa0;
    text-decoration: none;
}

/* FAQ */
.faq {
    background: #16161f;
    border: 1px solid #2a2a3a;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 0.75rem;
    transition: border-color 0.2s;
}

.faq:hover {
    border-color: rgba(139, 92, 246, 0.2);
}

.faq h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.faq p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 700px) {
    .hero {
        padding: 5rem 1.25rem 3rem;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-card-large {
        grid-column: span 1;
    }

    .nav-links {
        gap: 1.25rem;
    }

    .nav-links a {
        font-size: 0.8rem;
    }

    .floating-shape {
        display: none;
    }

    .footer-inner {
        flex-direction: column;
        gap: 1rem;
    }

    .cta h2 {
        font-size: 1.6rem;
    }

    .policy-page h1 {
        font-size: 2rem;
    }

    .bg-shape-1 { width: 300px; height: 300px; }
    .bg-shape-2 { width: 250px; height: 250px; }
    .bg-shape-3 { display: none; }
}
