:root {
    /* Brand colors */
    --brand-color: #6C63FF;
    --brand-light: #8B85FF;
    --accent-teal: #4ECDC4;
    --accent-indigo: #6366F1;

    /* Text colors */
    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
    --text-muted: #86868b;

    /* Glass colors */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: rgba(0, 0, 0, 0.04);

    /* Background */
    --bg-primary: #f5f5f7;
    --bg-card: rgba(255, 255, 255, 0.8);

    /* Layout */
    --max-width: 980px;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 36px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --text-primary: #f5f5f7;
        --text-secondary: #a1a1a6;
        --text-muted: #6e6e73;
        --glass-bg: rgba(30, 30, 32, 0.7);
        --glass-border: rgba(255, 255, 255, 0.1);
        --glass-shadow: rgba(0, 0, 0, 0.2);
        --bg-primary: #000000;
        --bg-card: rgba(44, 44, 46, 0.8);
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
    line-height: 1.5;
    color: var(--text-primary);
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navigation - Liquid Glass */
nav {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 700px;
    z-index: 1000;
    padding: 12px 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 100px;
    border: 1px solid var(--glass-border);
    box-shadow:
        0 4px 24px var(--glass-shadow),
        0 1px 2px var(--glass-shadow);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.01em;
}

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

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    background: var(--bg-primary);
    position: relative;
}

/* Animated ambient glow orbs */
.hero::before {
    content: '';
    position: absolute;
    top: 5%;
    left: 5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.2) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    animation: floatOrb1 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 5%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(78, 205, 196, 0.18) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    animation: floatOrb2 10s ease-in-out infinite;
}

@keyframes floatOrb1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(30px, 20px) scale(1.1);
        opacity: 1;
    }
}

@keyframes floatOrb2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translate(-25px, -15px) scale(1.05);
        opacity: 0.9;
    }
}

/* Hero Card - Glowing glass card like app onboarding */
.hero-card {
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border);
    padding: 48px 40px;
    max-width: 560px;
    position: relative;
    z-index: 1;
    box-shadow:
        0 32px 80px rgba(108, 99, 255, 0.25),
        0 16px 40px rgba(78, 205, 196, 0.15);
    animation: cardGlow 4s ease-in-out infinite alternate;
}

@keyframes cardGlow {
    0% {
        box-shadow:
            0 32px 80px rgba(108, 99, 255, 0.25),
            0 16px 40px rgba(78, 205, 196, 0.15);
    }
    100% {
        box-shadow:
            0 40px 100px rgba(108, 99, 255, 0.35),
            0 20px 50px rgba(78, 205, 196, 0.2);
    }
}

.hero-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
}

.hero-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 18px;
    box-shadow:
        0 12px 32px rgba(108, 99, 255, 0.3),
        0 6px 16px rgba(78, 205, 196, 0.2);
}

.hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.hero .tagline {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--text-primary);
    color: var(--bg-primary);
    padding: 16px 32px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s, opacity 0.2s;
    position: relative;
    z-index: 1;
}

.cta-button:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

/* Main Content */
main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    text-align: center;
    color: var(--text-primary);
}

.section-subtitle {
    color: var(--text-secondary);
    text-align: center;
    max-width: 500px;
    margin: 0 auto 48px;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Steps - Clean minimal cards */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 48px;
}

.step {
    text-align: center;
    padding: 32px 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    transition: transform 0.3s, box-shadow 0.3s;
}

.step:hover {
    transform: translateY(-4px);
    box-shadow:
        0 20px 50px rgba(108, 99, 255, 0.15),
        0 8px 20px rgba(108, 99, 255, 0.1);
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(145deg, var(--brand-color), var(--brand-light));
    color: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.25);
}

.step h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.step p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Activities Section */
.section-alt {
    background: transparent;
    margin: 0;
    padding: 100px 0;
}

.activities {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 48px;
}

.activity {
    --glow-color: #6C63FF;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    padding: 12px 20px;
    border-radius: 100px;
    border: 1px solid var(--glass-border);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
    cursor: default;
}

.activity:hover {
    transform: scale(1.08) translateY(-2px);
    background: var(--bg-card);
    box-shadow:
        0 12px 32px color-mix(in srgb, var(--glow-color) 40%, transparent),
        0 4px 12px color-mix(in srgb, var(--glow-color) 25%, transparent);
}

.activity-icon {
    font-size: 1.125rem;
}

/* Features - Glass cards */
.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 48px;
}

.feature {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow:
        0 24px 60px rgba(108, 99, 255, 0.18),
        0 10px 24px rgba(78, 205, 196, 0.12);
}

.feature h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

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

/* CTA Section - Floating glass card */
.cta-section {
    background: transparent;
    margin: 0;
    padding: 80px 0 120px;
    text-align: center;
}

.cta-section h2 {
    color: var(--text-primary);
}

.cta-section p {
    color: var(--text-secondary);
    max-width: 400px;
    margin: 0 auto 32px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.cta-section .cta-button {
    background: linear-gradient(145deg, var(--brand-color), var(--accent-indigo));
    color: white;
    box-shadow: 0 8px 32px rgba(108, 99, 255, 0.3);
}

.cta-section .cta-button:hover {
    box-shadow: 0 12px 40px rgba(108, 99, 255, 0.4);
}

/* Footer */
footer {
    background: transparent;
    padding: 40px 24px;
    border-top: 1px solid var(--glass-border);
}

footer .container {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

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

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

footer .copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Legal Document Styles */
.legal-document {
    padding: 120px 24px 60px;
    max-width: 700px;
    margin: 0 auto;
}

.legal-document h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.legal-document .last-updated {
    color: var(--text-muted);
    margin-bottom: 48px;
    font-size: 0.95rem;
}

.legal-document h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 48px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.legal-document h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.legal-document p {
    margin-bottom: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.legal-document ul, .legal-document ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-document li {
    margin-bottom: 8px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.legal-document strong {
    color: var(--text-primary);
    font-weight: 600;
}

.legal-document table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.legal-document th, .legal-document td {
    padding: 12px 16px;
    text-align: left;
}

.legal-document th {
    background: var(--glass-bg);
    font-weight: 600;
    color: var(--text-primary);
}

.legal-document td {
    color: var(--text-secondary);
    border-top: 1px solid var(--glass-border);
}

.legal-document .disclaimer {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: var(--radius-md);
    padding: 24px;
    margin: 24px 0;
}

.legal-document .disclaimer h3 {
    color: #b8860b;
    margin-top: 0;
}

@media (prefers-color-scheme: dark) {
    .legal-document .disclaimer h3 {
        color: #ffc107;
    }
}

.legal-document .important {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: var(--radius-md);
    padding: 24px;
    margin: 24px 0;
}

.legal-document .important p {
    color: #dc3545;
}

@media (prefers-color-scheme: dark) {
    .legal-document .important p {
        color: #ff6b7a;
    }
}

.legal-document hr {
    border: none;
    border-top: 1px solid var(--glass-border);
    margin: 48px 0;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        top: 12px;
        width: calc(100% - 24px);
        padding: 10px 20px;
    }

    nav .nav-links {
        gap: 1rem;
    }

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

    .hero {
        min-height: auto;
        padding: 120px 16px 60px;
    }

    .hero-card {
        padding: 36px 28px;
        border-radius: var(--radius-lg);
    }

    .hero-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 20px;
    }

    .hero-icon img {
        width: 64px;
        height: 64px;
        border-radius: 14px;
    }

    .hero .tagline {
        font-size: 1rem;
    }

    .section {
        padding: 60px 0;
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .step {
        padding: 24px 16px;
    }

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

    .activities {
        gap: 8px;
    }

    .activity {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    footer .footer-links {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    nav .container {
        flex-direction: column;
        gap: 12px;
    }

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

    .cta-button {
        padding: 14px 28px;
        font-size: 0.95rem;
    }
}
