/* ── Reset & base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', Arial, sans-serif;
    background: #0F1624;
    color: #E5E7EB;
    line-height: 1.6;
    min-height: 100vh;
}

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

/* ── Utility ──────────────────────────────────────────────────────────────── */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #4F6EF7;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 17px;
    color: #9CA3AF;
    max-width: 560px;
    margin: 0 auto 48px;
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 24px;
    height: 44px;
    border-radius: 999px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, color 0.15s;
    border: none;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: #4F6EF7;
    color: #fff;
    box-shadow: 0 2px 8px rgba(79, 110, 247, 0.35);
}
.btn-primary:hover {
    background: #3A56D4;
    box-shadow: 0 4px 16px rgba(79, 110, 247, 0.50);
}

.btn-ghost {
    background: transparent;
    color: #E5E7EB;
    border: 1px solid rgba(255, 255, 255, 0.20);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

/* ── Nav ──────────────────────────────────────────────────────────────────── */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: rgba(15, 22, 36, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.3s, border-color 0.3s;
}
.site-nav.scrolled {
    background: rgba(13, 17, 23, 0.95);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

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

.nav-logo {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.nav-logo-icon {
    width: 24px;
    height: 24px;
    display: block;
    flex-shrink: 0;
    object-fit: contain;
}

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

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: #9CA3AF;
    transition: color 0.15s;
}
.nav-links a:hover { color: #fff; }

.nav-ctas {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-nav {
    height: 36px;
    padding: 0 18px;
    font-size: 13px;
}

.landing-nav-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.15);
    display: inline-block;
    vertical-align: middle;
}
.landing-nav-avatar--initials {
    background: #4F6EF7;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
    padding: 120px 0 80px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(79, 110, 247, 0.14) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.93fr);
    gap: 48px;
    align-items: center;
}

.hero-title {
    font-size: clamp(32px, 4.2vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #fff;
    max-width: 480px;
    margin: 0 0 20px;
}

.hero-title span {
    background: linear-gradient(135deg, #4F6EF7 0%, #818CF8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title-br {
    display: none;
}

@media (min-width: 961px) {
    .hero-title {
        max-width: 580px;
    }
    .hero-title-br {
        display: block;
    }
}

.hero-sub {
    font-size: 18px;
    color: #9CA3AF;
    max-width: 440px;
    margin: 0 0 32px;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.hero-ctas .btn-hero {
    height: 52px;
    padding: 0 32px;
    font-size: 16px;
    box-shadow: 0 4px 14px rgba(79, 110, 247, 0.4);
}
.hero-ctas .btn-hero:hover {
    box-shadow: 0 6px 20px rgba(79, 110, 247, 0.55);
}

.hero-note {
    font-size: 13px;
    color: #6B7280;
}

.media-placeholder {
    margin: 0;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #1C2333 0%, #141D2E 100%);
    border: 1px solid #2D3748;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #4B5563;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.05);
    overflow: hidden;
    position: relative;
}

.media-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 20px,
        rgba(255,255,255,0.015) 20px,
        rgba(255,255,255,0.015) 21px
    );
}

.media-placeholder-icon {
    font-size: 40px;
    opacity: 0.4;
    position: relative;
}

.media-placeholder-text {
    font-size: 13px;
    font-weight: 500;
    color: #4B5563;
    position: relative;
}

.media-placeholder--demo {
    aspect-ratio: 854 / 640;
    padding: 0;
    display: block;
}

.media-placeholder--demo::before {
    display: none;
}

.hero-demo-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    vertical-align: middle;
}

@media (prefers-reduced-motion: reduce) {
    .hero-demo-video {
        display: none;
    }
    .media-placeholder--demo::after {
        content: '';
        display: block;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, #1C2333 0%, #141D2E 100%);
    }
}

/* ── Social proof strip ───────────────────────────────────────────────────── */
.social-proof {
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: rgba(28, 35, 51, 0.50);
    padding: 28px 0;
}

.social-proof-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px 28px;
}

.social-proof-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.social-proof-icon {
    flex-shrink: 0;
    color: #4F6EF7;
    margin-top: 2px;
}

.social-proof-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.social-proof-label {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    color: #D1D5DB;
}

.social-proof-desc {
    font-size: 12px;
    line-height: 1.45;
    color: #6B7280;
}

/* ── Features ─────────────────────────────────────────────────────────────── */
.features {
    padding: 100px 0;
    text-align: center;
}

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

.feature-card {
    background: #1C2333;
    border: 1px solid #2D3748;
    border-radius: 16px;
    padding: 32px;
    transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
    border-color: rgba(79, 110, 247, 0.40);
    transform: translateY(-2px);
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: rgba(79, 110, 247, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 20px;
}

.feature-title {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 14px;
    color: #9CA3AF;
    line-height: 1.6;
}

/* ── Pricing ──────────────────────────────────────────────────────────────── */
.pricing {
    padding: 100px 0;
    text-align: center;
}

.billing-toggle {
    display: inline-flex;
    align-items: center;
    background: #1C2333;
    border: 1px solid #2D3748;
    border-radius: 999px;
    padding: 4px;
    gap: 0;
    margin-bottom: 48px;
    position: relative;
}

.billing-tab {
    padding: 7px 20px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: transparent;
    color: #6B7280;
    font-family: 'Inter', Arial, sans-serif;
    transition: background 0.15s, color 0.15s;
    position: relative;
}

.billing-tab.active {
    background: #4F6EF7;
    color: #fff;
}

.billing-tab .badge-save {
    position: absolute;
    top: -8px;
    right: -4px;
    background: #10B981;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 999px;
    letter-spacing: 0.02em;
}

.billing-tab .badge-lifetime {
    position: absolute;
    top: -10px;
    left: calc(100% - 6px);
    background: #10B981;
    color: #fff;
    font-size: 8px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 999px;
    letter-spacing: 0.02em;
    white-space: nowrap;
    pointer-events: none;
}

.plan-earlybird-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34D399;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    margin: -12px 0 8px;
}

.plan-earlybird-badge[hidden],
.plan-lifetime-note[hidden] {
    display: none;
}

.plan-lifetime-note {
    font-size: 12px;
    color: #9CA3AF;
    line-height: 1.45;
    margin: 0 0 16px;
}

.plan-features li.plan-feature-highlight {
    color: #34D399;
    font-weight: 600;
}

.plan-features li.plan-feature-highlight[hidden] {
    display: none;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 980px;
    margin: 0 auto;
    align-items: start;
}

.plan-card {
    background: #1C2333;
    border: 1px solid #2D3748;
    border-radius: 20px;
    padding: 32px 28px;
    text-align: left;
    position: relative;
    transition: border-color 0.2s;
}

.plan-card.popular {
    border-color: #4F6EF7;
    background: linear-gradient(135deg, #1C2333 0%, #1a243b 100%);
    box-shadow: 0 0 0 1px rgba(79, 110, 247, 0.3), 0 16px 48px rgba(79, 110, 247, 0.15);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #4F6EF7;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 14px;
    border-radius: 999px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.plan-name {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9CA3AF;
    margin-bottom: 4px;
}

.plan-tagline {
    font-size: 13px;
    color: #6B7280;
    margin: 0 0 14px;
    line-height: 1.35;
}

.plan-card.popular .plan-tagline { color: #9CA3AF; }

.plan-card.popular .plan-name { color: #818CF8; }

.plan-amount {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 4px;
}

.plan-amount sup {
    font-size: 22px;
    font-weight: 700;
    vertical-align: top;
    margin-top: 6px;
    color: #9CA3AF;
}

.plan-amount .period {
    font-size: 15px;
    font-weight: 500;
    color: #6B7280;
    letter-spacing: 0;
}

.plan-billing-note {
    font-size: 12px;
    color: #6B7280;
    margin-bottom: 24px;
    min-height: 18px;
}

.plan-divider {
    height: 1px;
    background: #2D3748;
    margin-bottom: 24px;
}

.plan-features {
    list-style: none;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    text-align: left;
    align-items: stretch;
}

.plan-features li {
    font-size: 14px;
    color: #D1D5DB;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
    text-align: left;
}

.plan-features li .check {
    color: #10B981;
    flex-shrink: 0;
    margin-top: 1px;
    font-size: 14px;
}

.plan-features li .muted { color: #6B7280; }

.plan-cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 13px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    font-family: 'Inter', Arial, sans-serif;
    text-decoration: none;
    transition: background 0.15s, box-shadow 0.15s;
}

.plan-cta-free {
    background: #2D3748;
    color: #9CA3AF;
}
.plan-cta-free:hover { background: #374151; color: #E5E7EB; }

.plan-cta-starter {
    background: rgba(79, 110, 247, 0.15);
    color: #818CF8;
    border: 1px solid rgba(79, 110, 247, 0.30);
}
.plan-cta-starter:hover {
    background: rgba(79, 110, 247, 0.25);
    border-color: rgba(79, 110, 247, 0.60);
}

.plan-cta-pro {
    background: #4F6EF7;
    color: #fff;
    box-shadow: 0 2px 12px rgba(79, 110, 247, 0.40);
}
.plan-cta-pro:hover {
    background: #3A56D4;
    box-shadow: 0 4px 20px rgba(79, 110, 247, 0.55);
}

.pricing-notes {
    margin-top: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.pricing-note-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: #6B7280;
}

.pricing-note-item svg { color: #10B981; flex-shrink: 0; }

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.faq {
    padding: 100px 0;
    text-align: center;
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    border-bottom: 1px solid #2D3748;
}

.faq-item:first-child { border-top: 1px solid #2D3748; }

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 4px;
    font-size: 16px;
    font-weight: 600;
    color: #E5E7EB;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: color 0.15s;
}

.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { display: none; }

.faq-question:hover { color: #fff; }

.faq-chevron {
    flex-shrink: 0;
    font-size: 18px;
    color: #6B7280;
    transition: transform 0.2s;
    line-height: 1;
}

details[open] .faq-chevron {
    transform: rotate(180deg);
}

details[open] > .faq-question { color: #fff; }

.faq-answer {
    padding: 0 4px 20px;
    font-size: 15px;
    color: #9CA3AF;
    line-height: 1.7;
}

.faq-answer a {
    color: #818CF8;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
.site-footer {
    background: #0D1117;
    border-top: 1px solid #2D3748;
    padding: 56px 0 32px;
}

.footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.footer-brand .nav-logo { margin-bottom: 12px; }

.footer-tagline {
    font-size: 14px;
    color: #6B7280;
    max-width: 240px;
    line-height: 1.5;
}

.footer-links-group { display: flex; flex-direction: column; gap: 12px; }

.footer-links-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #4B5563;
    margin-bottom: 4px;
}

.footer-links-group a {
    font-size: 14px;
    color: #6B7280;
    transition: color 0.15s;
}
.footer-links-group a:hover { color: #E5E7EB; }

.footer-bottom {
    border-top: 1px solid #2D3748;
    padding-top: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-copy {
    font-size: 13px;
    color: #4B5563;
}

.footer-legal-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legal-links a {
    font-size: 13px;
    color: #4B5563;
    transition: color 0.15s;
}
.footer-legal-links a:hover { color: #9CA3AF; }

/* ── Cookie consent bar ───────────────────────────────────────────────────── */
#cookieConsentBar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #1C2333;
    border-top: 1px solid #2D3748;
    padding: 14px 24px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}

.cookie-consent-text {
    font-size: 14px;
    color: #9CA3AF;
}

.cookie-consent-text a {
    color: #818CF8;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-consent-btns {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-consent-btns button {
    padding: 7px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', Arial, sans-serif;
    transition: background 0.15s;
}

#cookieDeclineBtn {
    background: transparent;
    border: 1px solid #374151;
    color: #9CA3AF;
}
#cookieDeclineBtn:hover { background: rgba(255,255,255,0.06); }

#cookieAcceptBtn {
    background: #4F6EF7;
    border: 1px solid #4F6EF7;
    color: #fff;
}
#cookieAcceptBtn:hover { background: #3A56D4; }

/* ── Mobile overlay ───────────────────────────────────────────────────────── */
#mobileOverlay {
    display: none;
    position: fixed;
    inset: 0;
    background: #0F1624;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px;
}

#mobileOverlayContent {
    max-width: 320px;
}

#mobileOverlayIcon { font-size: 48px; margin-bottom: 20px; }

#mobileOverlay h1 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

#mobileOverlay p {
    font-size: 15px;
    color: #9CA3AF;
    margin-bottom: 20px;
}

#mobileOverlayUrl {
    display: inline-block;
    background: rgba(79, 110, 247, 0.15);
    border: 1px solid rgba(79, 110, 247, 0.30);
    color: #818CF8;
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
    .social-proof-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 24px;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero-title {
        max-width: 640px;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-sub {
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-ctas {
        justify-content: center;
    }
    .media-placeholder {
        max-width: 900px;
        margin: 0 auto;
    }
}

@media (max-width: 900px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
    .features-grid { grid-template-columns: 1fr; max-width: 540px; }
    .plan-card[data-plan="pro"] { order: 1; }
    .plan-card[data-plan="starter"] { order: 2; }
    .plan-card[data-plan="free"] { order: 3; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-logo { font-size: 18px; }
    .nav-logo-icon { width: 26px; height: 26px; }
    .hero { padding: 110px 0 60px; }
    .hero-title { font-size: clamp(38px, 10vw, 48px); }
    .media-placeholder--demo {
        margin-left: 0;
        width: 100%;
    }
    .footer-top { flex-direction: column; gap: 32px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
    .social-proof {
        padding: 40px 0;
    }
    .social-proof-inner {
        grid-template-columns: 1fr;
        gap: 36px;
        justify-items: stretch;
        padding: 0 20px;
    }
    .social-proof-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        max-width: none;
        gap: 12px;
    }
    .social-proof-icon {
        margin-top: 0;
        width: 26px;
        height: 26px;
    }
    .social-proof-text {
        align-items: center;
        width: 100%;
    }
    .social-proof-label {
        font-size: clamp(17px, 4.6vw, 20px);
        line-height: 1.4;
        color: #F3F4F6;
    }
    .social-proof-desc {
        font-size: clamp(15px, 4vw, 17px);
        line-height: 1.5;
        color: #9CA3AF;
        max-width: 34em;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: clamp(40px, 11vw, 52px); }
    .hero-ctas { flex-direction: column; align-items: stretch; }
    .hero-ctas .btn { justify-content: center; }
    .pricing-notes { flex-direction: column; align-items: center; gap: 12px; }
    .social-proof-inner {
        padding: 0 16px;
        gap: 40px;
    }
    .social-proof-desc {
        max-width: none;
    }
}
