/* ── 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-dot {
    width: 8px;
    height: 8px;
    background: #4F6EF7;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.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: 140px 0 80px;
    text-align: center;
    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-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(79, 110, 247, 0.12);
    border: 1px solid rgba(79, 110, 247, 0.30);
    border-radius: 999px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Courier New', Courier, monospace;
    color: #818CF8;
    margin-bottom: 28px;
    letter-spacing: 0.04em;
}
.hero-eyebrow-prompt {
    color: #4ADE80;
    font-weight: 700;
}

.hero-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #fff;
    max-width: 820px;
    margin: 0 auto 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-sub {
    font-size: 18px;
    color: #9CA3AF;
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

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

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

.hero-note strong { color: #9CA3AF; }

.media-placeholder {
    margin: 56px auto 0;
    max-width: 900px;
    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;
}

/* ── 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: 20px 0;
}

.social-proof-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.social-proof-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #6B7280;
}

.social-proof-item svg {
    flex-shrink: 0;
    color: #4F6EF7;
}

/* ── 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;
}

.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;
}

.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: 16px;
}

.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;
}

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

.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: 900px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
    .features-grid { grid-template-columns: 1fr; max-width: 540px; }
    .plan-card.popular { order: -1; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero { padding: 110px 0 60px; }
    .footer-top { flex-direction: column; gap: 32px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
    .social-proof-inner { gap: 20px; }
}

@media (max-width: 480px) {
    .hero-ctas { flex-direction: column; align-items: stretch; }
    .hero-ctas .btn { justify-content: center; }
    .pricing-notes { flex-direction: column; align-items: center; gap: 12px; }
}
