/* ============== RESET & BASE ============== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0A0E1A;
    --bg-card: #111827;
    --bg-card-hover: #1a2235;
    --bg-elevated: #1E293B;
    --border: #1E293B;
    --border-light: #334155;
    --text: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --text-dim: #475569;
    --red: #DC2626;
    --red-light: #EF4444;
    --red-dark: #991B1B;
    --red-glow: rgba(220, 38, 38, 0.3);
    --green: #10B981;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ============== NAV ============== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(10, 14, 26, 0.8);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

#navbar.scrolled {
    background: rgba(10, 14, 26, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.nav-logo-text {
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

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

.nav-cta {
    background: var(--red) !important;
    color: var(--text) !important;
    padding: 8px 20px;
    border-radius: 10px;
    font-weight: 600 !important;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--red-light) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--red-glow);
}

/* ============== BUTTONS ============== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--red);
    color: white;
}

.btn-primary:hover {
    background: var(--red-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--red-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-light);
}

.btn-outline:hover {
    border-color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-2px);
}

.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: var(--radius); }
.btn-full { width: 100%; justify-content: center; }
.btn-icon { font-size: 18px; }

/* ============== HERO ============== */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(30, 41, 59, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 41, 59, 0.2) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 32px;
    border: 1px solid var(--border-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

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

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

h1 {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.text-red { color: var(--red); }

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat-value {
    display: block;
    font-size: 28px;
    font-weight: 900;
    color: var(--text);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-light);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--red-glow) 0%, transparent 60%);
    filter: blur(60px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.phone-mockup {
    width: 360px;
    border-radius: 32px;
    position: relative;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
}

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

/* ============== PROVIDERS ============== */
#providers {
    padding: 40px 24px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(17, 24, 39, 0.3);
}

.providers-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.providers-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.providers-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.provider-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
}

.provider-chip:hover {
    border-color: var(--border-light);
    color: var(--text);
    transform: translateY(-2px);
}

.provider-icon { font-size: 18px; }

/* ============== SECTIONS ============== */
.section-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ============== FEATURES ============== */
#features { background: var(--bg); }

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.feature-card-highlight {
    border-color: var(--red-dark);
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.08) 0%, var(--bg-card) 100%);
}

.feature-card-highlight:hover {
    border-color: var(--red);
    box-shadow: 0 12px 40px var(--red-glow);
}

.feature-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(30, 41, 59, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon { font-size: 24px; }

.feature-card h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
}

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

/* ============== HOW IT WORKS ============== */
#how-it-works {
    background: linear-gradient(180deg, var(--bg) 0%, rgba(17, 24, 39, 0.5) 100%);
}

.steps-grid {
    display: flex;
    align-items: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.step-card {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
}

.step-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.step-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--red);
    opacity: 0.3;
    margin-bottom: 16px;
}

.step-card h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
}

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

.step-connector {
    width: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.connector-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--border) 0%, var(--red-dark) 50%, var(--border) 100%);
}

.connector-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 12px var(--red-glow);
}

/* ============== PRICING ============== */
#pricing {
    background: var(--bg);
}

.pricing-card {
    max-width: 480px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--red-dark);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.pricing-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 32px;
    background: var(--red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.pricing-amount {
    margin-bottom: 32px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.pricing-dollar { font-size: 24px; font-weight: 700; color: var(--text-muted); }
.pricing-value { font-size: 64px; font-weight: 900; letter-spacing: -2px; }
.pricing-period { font-size: 18px; color: var(--text-muted); }

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 36px;
}

.pricing-features li {
    padding: 10px 0;
    font-size: 15px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-features li:last-child { border-bottom: none; }

.check {
    color: var(--green);
    font-weight: 800;
    font-size: 16px;
}

.pricing-note {
    font-size: 13px;
    color: var(--text-dim);
    margin-top: 16px;
}

/* ============== FAQ ============== */
#faq {
    background: linear-gradient(180deg, var(--bg) 0%, rgba(17, 24, 39, 0.5) 100%);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--border-light);
    background: var(--bg-card-hover);
}

.faq-item h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

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

/* ============== DOWNLOAD CTA ============== */
#download {
    background: var(--bg);
    padding-bottom: 0;
}

.download-card {
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, var(--bg-card) 50%, rgba(220, 38, 38, 0.05) 100%);
    border: 1px solid var(--red-dark);
    border-radius: var(--radius-lg);
    padding: 64px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 200px;
    background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.download-icon { font-size: 56px; display: block; margin-bottom: 16px; }

.download-card h2 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 12px;
}

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

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

.download-price {
    font-size: 14px;
    color: var(--text-dim);
    margin-top: 20px;
}

.apple-icon, .play-icon {
    width: 20px;
    height: 20px;
}

/* ============== FOOTER ============== */
footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    margin-top: 100px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 24px 48px;
    display: flex;
    justify-content: space-between;
    gap: 48px;
}

.footer-brand {
    max-width: 260px;
}

.footer-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    margin-bottom: 8px;
}

.footer-name {
    display: block;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
}

.footer-tagline {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 64px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    padding: 6px 0;
    transition: var(--transition);
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-dim);
}

/* ============== ANIMATIONS ============== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============== RESPONSIVE ============== */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-subtitle { margin: 0 auto 36px; }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .phone-mockup {
        width: 280px;
    }

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

    .steps-grid {
        flex-direction: column;
        gap: 16px;
    }

    .step-connector {
        width: 2px;
        height: 32px;
        flex-direction: row;
    }

    .connector-line {
        width: 2px;
        height: 100%;
        background: linear-gradient(180deg, var(--border) 0%, var(--red-dark) 50%, var(--border) 100%);
    }

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

    .footer-content {
        flex-direction: column;
    }

    .footer-links {
        gap: 32px;
        flex-wrap: wrap;
    }

    .nav-links {
        display: none;
    }

    .download-card {
        padding: 40px 24px;
    }

    .pricing-card {
        padding: 36px 24px;
    }
}
