:root {
    --bg: #07111f;
    --bg-soft: #0d1d33;
    --text: #172033;
    --muted: #657086;
    --primary: #3b82f6;
    --primary-dark: #1d4ed8;
    --accent: #22d3ee;
    --gold: #f5c86b;
    --card: #ffffff;
    --line: rgba(255,255,255,.14);
    --shadow: 0 24px 70px rgba(9, 21, 43, .22);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: #f6f8fc;
}

a { text-decoration: none; }

.funnel-nav {
    padding: 16px 0;
    background: rgba(7, 17, 31, .76);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 800;
    letter-spacing: -.03em;
}

.navbar-brand:hover { color: #fff; }

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 12px 30px rgba(34, 211, 238, .25);
}

.funnel-nav .nav-link {
    color: rgba(255,255,255,.76);
    font-weight: 600;
}

.funnel-nav .nav-link:hover { color: #fff; }

.nav-cta {
    padding: 9px 16px;
    border-radius: 999px;
}

.btn {
    border-radius: 999px;
    font-weight: 750;
    padding-inline: 22px;
}

.btn-primary {
    border: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 16px 32px rgba(59, 130, 246, .28);
}

.btn-primary:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, var(--primary-dark), #0891b2);
}

.btn-outline-light {
    border-color: rgba(255,255,255,.32);
    color: #fff;
}

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 150px 0 90px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 15% 15%, rgba(34,211,238,.28), transparent 30%),
        radial-gradient(circle at 85% 20%, rgba(59,130,246,.32), transparent 31%),
        radial-gradient(circle at 60% 90%, rgba(245,200,107,.16), transparent 34%),
        linear-gradient(135deg, #07111f 0%, #0b1630 48%, #10264a 100%);
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    opacity: .18;
    background-image:
        linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: radial-gradient(circle at 50% 20%, #000, transparent 70%);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--gold);
    font-size: .82rem;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    display: block;
    width: 28px;
    height: 2px;
    border-radius: 99px;
    background: currentColor;
}

.eyebrow.dark { color: var(--primary-dark); }

.hero-title {
    max-width: 760px;
    font-size: clamp(2.7rem, 6vw, 5.65rem);
    line-height: .92;
    font-weight: 900;
    letter-spacing: -.075em;
}

.hero-text {
    max-width: 660px;
    margin-top: 26px;
    color: rgba(255,255,255,.76);
    font-size: 1.14rem;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.trust-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 620px;
    margin-top: 42px;
}

.trust-row div {
    padding: 18px 16px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 22px;
    background: rgba(255,255,255,.06);
}

.trust-row strong {
    display: block;
    font-size: 1.35rem;
    color: #fff;
}

.trust-row span {
    color: rgba(255,255,255,.65);
    font-size: .9rem;
}

.hero-product-card {
    position: relative;
    padding: 28px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 34px;
    background: rgba(255,255,255,.09);
    box-shadow: 0 40px 100px rgba(0,0,0,.35);
    backdrop-filter: blur(22px);
}

.hero-product-card::after {
    content: "";
    position: absolute;
    inset: auto 8% -30px 8%;
    height: 90px;
    border-radius: 50%;
    background: rgba(34,211,238,.28);
    filter: blur(35px);
    z-index: -1;
}

.browser-dots {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.32);
}

.builder-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.builder-header h2 {
    margin: 4px 0 0;
    font-size: 1.55rem;
    font-weight: 850;
    letter-spacing: -.04em;
}

.small-label,
.panel-kicker {
    display: inline-block;
    color: var(--accent);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.status-pill {
    flex: 0 0 auto;
    display: inline-flex;
    padding: 8px 12px;
    border: 1px solid rgba(245,200,107,.35);
    border-radius: 999px;
    color: var(--gold);
    background: rgba(245,200,107,.08);
    font-size: .82rem;
    font-weight: 800;
}

.prompt-box {
    padding: 22px;
    border-radius: 24px;
    color: #172033;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0,0,0,.15);
}

.prompt-box span {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.prompt-box p {
    margin: 0;
    font-weight: 750;
    line-height: 1.5;
}

.mini-flow {
    display: grid;
    grid-template-columns: 1fr 26px 1fr 26px 1fr;
    gap: 10px;
    align-items: center;
    margin-top: 22px;
}

.flow-node {
    min-height: 132px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 24px;
    background: rgba(255,255,255,.07);
    transition: .25s ease;
}

.flow-node.active {
    transform: translateY(-6px);
    background: linear-gradient(135deg, rgba(59,130,246,.95), rgba(34,211,238,.82));
    box-shadow: 0 22px 40px rgba(34,211,238,.20);
}

.flow-node i {
    display: inline-flex;
    margin-bottom: 13px;
    color: rgba(255,255,255,.68);
    font-style: normal;
    font-weight: 900;
}

.flow-node strong,
.flow-node span { display: block; }
.flow-node strong { font-size: .98rem; }
.flow-node span { color: rgba(255,255,255,.68); font-size: .82rem; }

.flow-arrow {
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,.18), rgba(34,211,238,.9));
    position: relative;
}

.flow-arrow::after {
    content: "";
    position: absolute;
    right: -2px;
    top: -4px;
    width: 10px;
    height: 10px;
    border-top: 2px solid rgba(34,211,238,.9);
    border-right: 2px solid rgba(34,211,238,.9);
    transform: rotate(45deg);
}

.ai-suggestions {
    display: grid;
    gap: 11px;
    margin-top: 24px;
}

.suggestion-line {
    height: 13px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255,255,255,.40), rgba(255,255,255,.08));
    animation: pulseLine 1.8s ease-in-out infinite;
}

.suggestion-line.wide { width: 92%; }
.suggestion-line.medium { width: 70%; animation-delay: .18s; }
.suggestion-line.short { width: 48%; animation-delay: .32s; }

@keyframes pulseLine {
    0%, 100% { opacity: .42; }
    50% { opacity: 1; }
}

.section { padding: 105px 0; }
.section-light { background: #f6f8fc; }
.section-dark {
    color: #fff;
    background:
        radial-gradient(circle at 18% 30%, rgba(34,211,238,.18), transparent 28%),
        linear-gradient(135deg, #07111f, #0c1a30 60%, #06101f);
}

.section-heading {
    max-width: 820px;
    margin: 0 auto 54px;
}

.section-heading h2,
.section-title-light {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.65rem);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -.06em;
}

.section-heading p,
.section-text-light {
    margin: 18px auto 0;
    color: var(--muted);
    font-size: 1.06rem;
    line-height: 1.75;
}

.section-text-light { color: rgba(255,255,255,.68); }

.interactive-funnel,
.funnel-preview,
.audience-card,
.feature-card,
.cta-box {
    border-radius: 34px;
    box-shadow: var(--shadow);
}

.interactive-funnel {
    padding: 26px;
    background: #fff;
}

.funnel-controls {
    display: grid;
    gap: 14px;
    height: 100%;
}

.funnel-step {
    display: flex;
    gap: 18px;
    width: 100%;
    padding: 22px;
    border: 1px solid #e7ecf5;
    border-radius: 24px;
    text-align: left;
    background: #f8fafd;
    transition: .22s ease;
}

.funnel-step:hover,
.funnel-step.active {
    border-color: rgba(59,130,246,.45);
    background: #eef6ff;
    transform: translateY(-2px);
}

.funnel-step span {
    display: inline-grid;
    place-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    font-weight: 900;
}

.funnel-step strong {
    display: block;
    margin-bottom: 5px;
    color: var(--text);
    font-size: 1.04rem;
}

.funnel-step small {
    color: var(--muted);
    line-height: 1.5;
}

.funnel-preview {
    position: relative;
    min-height: 390px;
    height: 100%;
    padding: 42px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 80% 15%, rgba(34,211,238,.25), transparent 30%),
        linear-gradient(135deg, #0a1730, #102b54);
}

.funnel-stage { display: none; }
.funnel-stage.active { display: block; }

.funnel-stage h3 {
    max-width: 600px;
    margin: 15px 0 18px;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -.045em;
}

.funnel-stage p {
    max-width: 620px;
    color: rgba(255,255,255,.72);
    line-height: 1.75;
}

.input-mock {
    margin-top: 28px;
    padding: 20px 22px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.86);
}

.flow-map {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 30px;
}

.flow-map span {
    padding: 12px 15px;
    border-radius: 999px;
    background: rgba(255,255,255,.11);
    font-weight: 800;
}

.flow-map i {
    width: 34px;
    height: 2px;
    background: var(--accent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.feature-card {
    padding: 28px;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(14px);
}

.feature-card span {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border-radius: 16px;
    color: var(--accent);
    background: rgba(34,211,238,.12);
    font-size: 1.25rem;
}

.feature-card h3,
.audience-card h3 {
    font-size: 1.25rem;
    font-weight: 850;
    letter-spacing: -.025em;
}

.feature-card p {
    margin: 0;
    color: rgba(255,255,255,.68);
    line-height: 1.65;
}

.audience-card {
    height: 100%;
    padding: 32px;
    background: #fff;
    transition: .24s ease;
}

.audience-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 34px 80px rgba(9,21,43,.18);
}

.audience-card p {
    margin: 12px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.cta-section {
    padding: 40px 0 95px;
    background: #f6f8fc;
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: clamp(32px, 5vw, 58px);
    color: #fff;
    background:
        radial-gradient(circle at 85% 0%, rgba(34,211,238,.32), transparent 30%),
        linear-gradient(135deg, var(--primary-dark), #07111f);
}

.cta-box h2 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(1.9rem, 4vw, 3.25rem);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -.055em;
}

.cta-box p {
    max-width: 700px;
    margin: 18px 0 0;
    color: rgba(255,255,255,.74);
    line-height: 1.7;
}

.cta-box p a,
.footer a { color: var(--accent); font-weight: 800; }

.footer {
    padding: 28px 0;
    color: rgba(255,255,255,.65);
    background: #07111f;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .68s ease, transform .68s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
.delay-4 { transition-delay: .32s; }

@media (max-width: 991.98px) {
    .funnel-nav { background: rgba(7,17,31,.94); }
    .hero-section { padding-top: 125px; }
    .hero-product-card { margin-top: 18px; }
    .mini-flow { grid-template-columns: 1fr; }
    .flow-arrow { width: 2px; height: 28px; margin: 0 auto; }
    .flow-arrow::after { right: -4px; top: auto; bottom: -2px; transform: rotate(135deg); }
    .features-grid { grid-template-columns: 1fr; }
    .cta-box { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 767.98px) {
    .trust-row { grid-template-columns: 1fr; }
    .section { padding: 76px 0; }
    .interactive-funnel { padding: 16px; }
    .funnel-preview { padding: 28px; min-height: 420px; }
    .hero-title { font-size: clamp(2.35rem, 14vw, 4rem); }
    .hero-actions .btn { width: 100%; }
}
