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

:root {
    --primary: #7C3AED;
    --primary-light: #A78BFA;
    --primary-dark: #5B21B6;
    --secondary: #3B82F6;
    --bg: #0F0F1A;
    --bg-secondary: #1A1A2E;
    --bg-tertiary: #252540;
    --surface: #1E1E32;
    --surface-elevated: #2A2A45;
    --surface-highlight: #3D3D5C;
    --text-primary: #FFFFFF;
    --text-secondary: #A1A1AA;
    --text-tertiary: #6B6B80;
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --info: #3B82F6;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Rounded', 'SF Pro Display', system-ui, sans-serif;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-secondary) 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--text-primary);
    text-decoration: none;
}

/* ─── Navigation ─── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(15, 15, 26, 0.75);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(61, 61, 92, 0.3);
    padding: 12px 0;
}

.nav-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    text-decoration: none;
}

.nav-logo img {
    height: 36px;
    width: auto;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.nav-links a:hover {
    color: var(--text-primary);
    background: rgba(124, 58, 237, 0.1);
}

/* ─── Hero ─── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.2) 0%, rgba(124, 58, 237, 0.05) 40%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 640px;
    position: relative;
    z-index: 1;
}

.hero-icon {
    width: 120px;
    height: 120px;
    border-radius: 28px;
    margin: 0 auto 32px;
    display: block;
    box-shadow:
        0 0 40px rgba(124, 58, 237, 0.4),
        0 0 80px rgba(124, 58, 237, 0.15),
        0 20px 60px rgba(0, 0, 0, 0.4);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(124, 58, 237, 0.12);
    border: 1px solid rgba(124, 58, 237, 0.25);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 28px;
    letter-spacing: 0.3px;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--success);
    animation: pulse-dot 2s ease-in-out infinite;
}

.live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    margin-left: 4px;
    vertical-align: middle;
    box-shadow: 0 0 8px var(--success);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--success); }
    50% { opacity: 0.4; box-shadow: 0 0 2px var(--success); }
}

.hero h1 {
    font-size: 58px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -2.5px;
    margin-bottom: 20px;
}

.hero h1 .gradient {
    background: linear-gradient(135deg, var(--primary-light), var(--primary), #EC4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.app-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--text-primary);
    color: var(--bg);
    border-radius: var(--radius-lg);
    font-size: 16px;
    font-weight: 600;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.app-store-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 40px rgba(124, 58, 237, 0.3);
    color: var(--bg);
}

.app-store-btn:active {
    transform: scale(0.98);
}

.app-store-btn svg {
    width: 22px;
    height: 22px;
}

/* ─── Features ─── */
.features {
    padding: 100px 24px;
    max-width: 1080px;
    margin: 0 auto;
    position: relative;
}

.features h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.features .subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 60px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid rgba(61, 61, 92, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(124, 58, 237, 0.08);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(124, 58, 237, 0.05));
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.65;
}

/* ─── Stats Bar ─── */
.stats {
    padding: 60px 24px;
    max-width: 1080px;
    margin: 0 auto;
}

.stats-inner {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    background: var(--surface);
    border: 1px solid rgba(61, 61, 92, 0.3);
    border-radius: var(--radius-xl);
    padding: 40px 48px;
}

.stat {
    text-align: center;
}

.stat .number {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat .label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* ─── CTA Section ─── */
.cta {
    padding: 80px 24px;
    text-align: center;
}

.cta-inner {
    max-width: 560px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: var(--radius-xl);
    padding: 56px 40px;
    position: relative;
    overflow: hidden;
}

.cta-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
}

.cta-inner h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.8px;
}

.cta-inner p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 32px;
}

/* ─── Footer ─── */
.footer {
    border-top: 1px solid rgba(61, 61, 92, 0.3);
    padding: 48px 24px;
}

.footer-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-brand img {
    height: 24px;
    border-radius: 6px;
}

.footer-brand span {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.footer-links a {
    color: var(--text-tertiary);
    font-size: 13px;
    font-weight: 500;
}

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

.footer-copy {
    color: var(--text-tertiary);
    font-size: 13px;
    width: 100%;
    text-align: center;
    margin-top: 8px;
}

/* ─── Legal Pages ─── */
.legal {
    max-width: 720px;
    margin: 0 auto;
    padding: 120px 24px 80px;
}

.legal h1 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.legal .updated {
    color: var(--text-tertiary);
    font-size: 13px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(61, 61, 92, 0.3);
}

.legal h2 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 14px;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.legal p, .legal li {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 14px;
}

.legal ul {
    padding-left: 20px;
    margin-bottom: 14px;
}

.legal li {
    margin-bottom: 6px;
}

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

/* ─── Help Page ─── */
.help-hero {
    text-align: center;
    padding: 140px 24px 60px;
    position: relative;
}

.help-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.help-hero h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -1px;
    position: relative;
}

.help-hero p {
    color: var(--text-secondary);
    font-size: 17px;
    position: relative;
}

.help-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.faq-item {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    margin-bottom: 12px;
    border: 1px solid rgba(61, 61, 92, 0.3);
    transition: border-color 0.2s;
}

.faq-item:hover {
    border-color: rgba(124, 58, 237, 0.2);
}

.faq-item h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.2px;
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

.contact-card {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    text-align: center;
    margin-top: 48px;
    border: 1px solid rgba(124, 58, 237, 0.2);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
}

.contact-card h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.contact-card p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 28px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-lg);
    font-size: 15px;
    font-weight: 600;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}

.contact-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.4);
    color: white;
}

.contact-btn:active {
    transform: scale(0.96);
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .hero {
        padding: 100px 20px 60px;
        min-height: auto;
    }

    .hero-icon {
        width: 88px;
        height: 88px;
        border-radius: 22px;
        margin-bottom: 24px;
    }

    .hero h1 {
        font-size: 38px;
        letter-spacing: -1.5px;
    }

    .hero p {
        font-size: 16px;
    }

    .features {
        padding: 60px 20px;
    }

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

    .stats-inner {
        padding: 28px 24px;
        gap: 32px;
    }

    .stat .number {
        font-size: 26px;
    }

    .nav-links {
        display: none;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .help-hero {
        padding: 120px 20px 40px;
    }

    .help-hero h1 {
        font-size: 32px;
    }

    .legal {
        padding: 100px 20px 60px;
    }

    .legal h1 {
        font-size: 28px;
    }

    .cta-inner {
        padding: 40px 24px;
    }
}
