/* ==========================================================================
   FlowDeploy — cinematic layer
   Editorial type, living light, product-stage depth.
   Loaded after styles.css. Respects reduced motion.
   ========================================================================== */

:root {
    --font-display: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-sans: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-mono: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --header-h: 68px;
    --site-header-h: 116px;
}

@property --spin {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    font-weight: 400;
    letter-spacing: -0.011em;
    background:
        radial-gradient(80% 50% at 50% -10%, rgba(34, 211, 238, 0.16), transparent 55%),
        radial-gradient(40% 40% at 100% 0%, rgba(167, 139, 250, 0.14), transparent 50%),
        radial-gradient(40% 35% at 0% 20%, rgba(244, 114, 182, 0.08), transparent 55%),
        #03050a;
}

/* Scroll progress bar */
.fx-progress {
    position: fixed;
    pointer-events: none;
    z-index: 120;
    top: 0;
    left: 0;
    height: 2px;
    width: 0;
    z-index: 120;
    background: linear-gradient(90deg, #22d3ee, #a5b4fc, #f472b6);
    box-shadow: 0 0 16px rgba(34, 211, 238, 0.8);
}

/* ─── Type ───────────────────────────────────────────────────────────────── */

h1, h2, .display {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.02;
}

h1 { font-size: clamp(2.5rem, 5.4vw, 4.8rem); line-height: 1.02; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.7rem); line-height: 1.06; }

.grad-text,
h1 .line.serif-em,
.serif-em {
    font-style: normal;
    font-weight: 600;
    background: linear-gradient(100deg, #e0faff 0%, #67e8f9 28%, #c4b5fd 68%, #f9a8d4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lead, .section-head p, p {
    font-family: var(--font-sans);
}

/* ─── Header ─────────────────────────────────────────────────────────────── */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: auto;
    z-index: 100;
    background: rgba(3, 5, 10, 0.94);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
}

.site-header .nav-wrap {
    height: var(--header-h);
}

.site-header.is-scrolled,
.site-header.nav-open {
    background: rgba(3, 5, 10, 0.96);
    border-bottom-color: rgba(34, 211, 238, 0.2);
}

.brand-mark {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        0 0 0 4px rgba(34, 211, 238, 0.06),
        0 0 28px -8px rgba(34, 211, 238, 0.9);
}

.brand-name {
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: -0.04em;
}

.nav-links a {
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    white-space: nowrap;
    color: #9aafc4;
    padding: 8px 9px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */

.btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 999px;
    letter-spacing: 0.01em;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
    color: #041018;
    background: linear-gradient(120deg, #f8fdff, #67e8f9 38%, #a5b4fc 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.35) inset,
        0 18px 40px -18px rgba(34, 211, 238, 0.95),
        0 0 40px -12px rgba(165, 180, 252, 0.8);
}

.btn-primary::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.7), transparent 62%);
    transform: translateX(-120%);
    z-index: -1;
    animation: sheen 3.8s ease-in-out infinite;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    border-color: rgba(103, 232, 249, 0.55);
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.08);
}

@keyframes sheen {
    0%, 55% { transform: translateX(-130%); }
    80%, 100% { transform: translateX(130%); }
}

/* ─── Hero stage ─────────────────────────────────────────────────────────── */

.stage {
    min-height: 100vh;
    padding: calc(var(--header-h) + 28px) 0 28px;
    overflow: clip;
}

.stage::before {
    width: 1400px;
    height: 900px;
    background:
        radial-gradient(closest-side, rgba(34, 211, 238, 0.22), transparent 70%),
        radial-gradient(closest-side at 70% 40%, rgba(167, 139, 250, 0.18), transparent 68%);
    filter: blur(8px);
    animation: auroraDrift 14s ease-in-out infinite alternate;
}

.stage-kicker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.stage-index {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #7f93a8;
}

.stage h1 {
    max-width: 16em;
    margin-top: 8px;
}

.stage h1 .line { display: block; }

.stage-split {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.7fr);
    gap: 28px;
    align-items: end;
    margin-top: 22px;
}

.stage .lead {
    margin-top: 0;
    font-size: clamp(1.02rem, 1.4vw, 1.18rem);
    color: #c5d2e0;
    max-width: 46ch;
}

.hero-cta { margin-top: 22px; }
.hero-checks {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    justify-content: start;
}

.eyebrow { letter-spacing: 0.12em; }

.live-log {
    position: relative;
    padding: 16px 16px 8px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 30%),
        rgba(6, 10, 18, 0.72);
    box-shadow: 0 30px 80px -50px #000, inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.live-log::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 1px;
    background: linear-gradient(#22d3ee, transparent);
}

.live-log header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8ea2b6;
}

.live-log header b { color: #34d399; font-weight: 700; }

.live-log ol {
    display: grid;
    gap: 0;
}

.live-log li {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 8px;
    padding: 8px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.78rem;
    color: #d5e0ea;
}

.live-log time {
    font-family: var(--font-mono);
    font-size: 10px;
    color: #67e8f9;
}

/* Stage board with intense, steady cyber neon illumination & laser light sweep */
.stage-board {
    position: relative;
    margin-top: 36px;
    padding: 2px;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.75), rgba(99, 102, 241, 0.65), rgba(244, 114, 182, 0.6), rgba(34, 211, 238, 0.75));
    background-size: 250% 250%;
    animation: steadyGlowPulse 6s ease-in-out infinite;
    box-shadow:
        0 0 0 1px rgba(34, 211, 238, 0.5),
        0 15px 50px -10px rgba(34, 211, 238, 0.45),
        0 35px 90px -20px rgba(99, 102, 241, 0.4);
}

.stage-board::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 28px;
    background: radial-gradient(ellipse at 50% -10%, rgba(34, 211, 238, 0.7), rgba(99, 102, 241, 0.25) 50%, transparent 75%);
    pointer-events: none;
    z-index: -1;
    filter: blur(12px);
    opacity: 0.85;
}

@keyframes steadyGlowPulse {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.stage-board .console {
    transform: none;
    border: 0;
    border-radius: 24px;
    background:
        radial-gradient(80% 80% at 0% 0%, rgba(34, 211, 238, 0.14), transparent 50%),
        radial-gradient(70% 80% at 100% 0%, rgba(129, 140, 248, 0.16), transparent 52%),
        #060910;
}

.stage-board .console:hover { transform: none; }

.stage-board .console-body { padding: 20px 18px 16px; }

/* ─── Blueprint Video Hero Embed ─────────────────────────────────────────── */
.blueprint-video-wrap {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #020408;
    border: 1px solid rgba(34, 211, 238, 0.35);
    box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    margin-bottom: 20px;
}

.blueprint-video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    border-radius: 15px;
}

.video-overlay-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(3, 7, 18, 0.88);
    border: 1px solid rgba(34, 211, 238, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #e2e8f0;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}

.video-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22d3ee;
    box-shadow: 0 0 10px #22d3ee;
    animation: liveDotPulse 1.6s ease-in-out infinite;
}

@keyframes liveDotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.stage-board .mini-phone {
    box-shadow: 0 16px 28px -16px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.stage-board .mini-screen::before {
    animation: scan 3.6s linear infinite;
    background:
        linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.28), transparent),
        linear-gradient(0deg, rgba(0, 0, 0, 0.45), transparent 60%);
    background-size: 100% 40%, 100% 100%;
    background-repeat: no-repeat;
}

.stage .metrics {
    margin-top: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
}

.stage .metric {
    background: rgba(4, 7, 13, 0.9);
}

.stage .metric b {
    font-family: var(--font-display);
    font-weight: 650;
    font-size: clamp(2rem, 3vw, 2.8rem);
    letter-spacing: -0.04em;
}

.stage .metric b em {
    font-family: var(--font-sans);
    font-style: normal;
    font-size: 0.42em;
    color: #67e8f9;
}

/* Word rail */
.word-rail {
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.015);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.word-track {
    display: flex;
    gap: 0;
    width: max-content;
    padding: 14px 0;
    animation: marquee 32s linear infinite;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #8ea0b4;
}

.word-track span { padding-right: 28px; }
.word-track b { color: #67e8f9; font-weight: 600; }

/* ─── Sections ───────────────────────────────────────────────────────────── */

.section-tag {
    font-family: var(--font-mono);
    letter-spacing: 0.2em;
}

.section-head p { font-size: 1.02rem; color: #b7c6d6; }

.stage-card,
.cap-card,
.usecase,
.workflow-step,
.guide-card,
.price-card,
.faq-item,
.cta-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 28%),
        rgba(7, 11, 18, 0.72);
    border-color: rgba(255, 255, 255, 0.09);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.stage-card h3,
.cap-card h3,
.usecase h3,
.workflow-step h3,
.guide-card h3,
.price-name {
    font-family: var(--font-sans);
    letter-spacing: -0.03em;
}

.stage-card,
.cap-card,
.usecase,
.guide-card,
.workflow-step {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.35s ease;
}

.stage-card:hover,
.cap-card:hover,
.usecase:hover,
.guide-card:hover {
    transform: translateY(-6px);
    border-color: rgba(103, 232, 249, 0.4);
    box-shadow:
        0 30px 60px -36px rgba(34, 211, 238, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Bento: first capability owns the column */
.cap-grid {
    grid-template-columns: 1.25fr 1fr 1fr;
}

.cap-card:first-child {
    grid-row: span 2;
    background:
        radial-gradient(90% 60% at 0% 0%, rgba(34, 211, 238, 0.16), transparent 60%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 30%),
        rgba(7, 11, 18, 0.8);
}

.cap-card:first-child p { font-size: 0.95rem; max-width: 34ch; }

/* Pipeline connecting line */
.pipeline-grid { position: relative; }

.pipeline-grid::before {
    content: "";
    position: absolute;
    top: 42px;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(103, 232, 249, 0.7), rgba(165, 180, 252, 0.7), rgba(244, 114, 182, 0.6), transparent);
    pointer-events: none;
}

.stage-card .step {
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 6px #05080e;
}

/* Pricing orbit border */
.price-card.featured {
    border: 0;
    transform: translateY(-10px);
    background:
        radial-gradient(90% 50% at 50% 0%, rgba(34, 211, 238, 0.16), transparent 60%),
        #070c14;
    box-shadow: 0 40px 90px -48px rgba(34, 211, 238, 0.7);
}

.price-card.featured::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: conic-gradient(from var(--spin), transparent 0 62%, #67e8f9, #c4b5fd, #f9a8d4, transparent 88%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: spinProp 7s linear infinite;
    pointer-events: none;
}

.price-value b {
    font-family: var(--font-display);
    font-weight: 650;
    letter-spacing: -0.045em;
}

/* Comparison highlight column */
.compare thead th.hl,
.compare td.hl {
    background: rgba(34, 211, 238, 0.07);
}

/* FAQ */
.faq-item summary { font-family: var(--font-sans); letter-spacing: -0.02em; }
.faq-item[open] {
    box-shadow: 0 20px 50px -36px rgba(34, 211, 238, 0.7);
}

/* CTA */
.cta-card {
    border-radius: 28px;
    background:
        radial-gradient(60% 80% at 0% 0%, rgba(34, 211, 238, 0.12), transparent 55%),
        radial-gradient(50% 70% at 100% 100%, rgba(167, 139, 250, 0.12), transparent 55%),
        rgba(6, 10, 18, 0.88);
}

.cta-copy h2 { font-family: var(--font-display); }

.field input,
.field select,
.field textarea {
    border-radius: 12px;
    background: rgba(3, 6, 12, 0.8);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
}

.contact-form.highlight-pulse {
    animation: formGlowPulse 1.4s ease;
}

@keyframes formGlowPulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6); }
    50% { box-shadow: 0 0 40px 10px rgba(34, 211, 238, 0.45); border-color: rgba(34, 211, 238, 0.9); }
    100% { box-shadow: 0 0 0 0 transparent; }
}

/* Phones in the marquee feel like the product */
.fleet-phone {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.fleet-phone:hover {
    transform: translateY(-14px) rotate(-2deg) scale(1.04);
    box-shadow: 0 30px 50px -24px rgba(34, 211, 238, 0.45);
}

.fscreen::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.22), transparent);
    animation: scan 4.2s linear infinite;
}

/* Guides inherit the atmosphere */
.page-hero h1 { font-family: var(--font-display); font-weight: 650; }
.prose h2 { font-family: var(--font-display); font-weight: 650; letter-spacing: -0.03em; }

@keyframes auroraDrift {
    from { transform: translateX(-50%) translateY(0); }
    to { transform: translateX(-46%) translateY(24px); }
}

@keyframes scan {
    0% { transform: translateY(-120%); }
    100% { transform: translateY(360%); }
}

@keyframes spinProp {
    to { --spin: 360deg; }
}

/* ==========================================================================
   FlowDeploy — Urgency Bar, High-Conversion Pricing & Pipeline UI Upgrades
   ========================================================================== */

/* Top Urgency / Launch Banner */
.urgency-banner {
    position: relative;
    z-index: 101;
    width: 100%;
    background: linear-gradient(90deg, rgba(6, 182, 212, 0.22), rgba(99, 102, 241, 0.24), rgba(236, 72, 153, 0.2));
    border-bottom: 1px solid rgba(34, 211, 238, 0.28);
    padding: 8px 16px;
    font-size: 0.84rem;
    letter-spacing: 0;
    color: #e2e8f0;
    text-align: center;
}

/* Ensure hero section is never obscured by the fixed header & top announcement bar */
.hero,
.stage {
    padding-top: calc(var(--site-header-h, 120px) + clamp(36px, 5.5vw, 76px)) !important;
}

.urgency-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.urgency-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 9px;
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.45);
    color: #fca5a5;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.urgency-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 8px #ef4444;
    animation: pulseRed 1.8s infinite;
}

@keyframes pulseRed {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.urgency-link {
    color: #38bdf8;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.15s ease;
}

.urgency-link:hover {
    color: #fff;
}

/* ─── Pricing Cards ──────────────────────────────────────────────────────── */

.price-card-v2 {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 38px 32px 32px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        radial-gradient(100% 60% at 50% 0%, rgba(255, 255, 255, 0.04), transparent 60%),
        rgba(8, 13, 22, 0.88);
    backdrop-filter: blur(20px);
    transition: transform 0.28s var(--ease), border-color 0.28s ease, box-shadow 0.28s ease;
}

.price-card-v2:hover {
    transform: translateY(-5px);
    border-color: rgba(34, 211, 238, 0.4);
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
}

.price-card-v2.featured {
    border: 1px solid rgba(34, 211, 238, 0.55);
    background:
        radial-gradient(110% 70% at 50% 0%, rgba(34, 211, 238, 0.18), rgba(99, 102, 241, 0.08) 50%, transparent 80%),
        rgba(8, 14, 26, 0.96);
    box-shadow: 0 35px 80px -28px rgba(34, 211, 238, 0.45);
    transform: scale(1.02);
}

.price-card-v2.featured:hover {
    transform: scale(1.02) translateY(-6px);
    box-shadow: 0 45px 90px -24px rgba(34, 211, 238, 0.6);
}

.price-card-v2 .badge-top {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 16px;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 8px 20px -4px rgba(34, 211, 238, 0.5);
}

.badge-source {
    background: rgba(148, 163, 184, 0.18);
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: #cbd5e1;
}

.price-header {
    margin-bottom: 20px;
}

.plan-title {
    font-family: var(--font-sans);
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.plan-target {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.4;
}

.price-display {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 18px 0 6px;
}

.price-display .currency {
    font-size: 1.8rem;
    font-weight: 600;
    color: #38bdf8;
    font-family: var(--font-mono);
}

.price-display .amount {
    font-family: var(--font-display);
    font-size: clamp(3rem, 4.6vw, 4rem);
    font-weight: 650;
    line-height: 1;
    color: #fff;
    letter-spacing: -0.045em;
}

.price-display .period {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: #38bdf8;
    background: rgba(34, 211, 238, 0.1);
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid rgba(34, 211, 238, 0.25);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.price-savings {
    font-size: 0.78rem;
    color: #4ade80;
    font-weight: 500;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.price-features-title {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.price-card-v2 .price-list {
    margin: 0 0 28px;
    gap: 12px;
}

.price-card-v2 .price-list li {
    font-size: 0.86rem;
    color: #cbd5e1;
    line-height: 1.4;
}

.price-card-v2 .price-list li.highlight {
    color: #e0f2fe;
    font-weight: 600;
}

.price-card-v2 .price-list li.highlight svg {
    color: #22d3ee;
}

/* Upgrade Guarantee Box */
.upgrade-guarantee-box {
    max-width: 960px;
    margin: 36px auto 0;
    padding: 22px 28px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.08), rgba(99, 102, 241, 0.06));
    border: 1px solid rgba(34, 211, 238, 0.22);
    display: flex;
    align-items: center;
    gap: 20px;
}

.upgrade-guarantee-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(34, 211, 238, 0.14);
    border: 1px solid rgba(34, 211, 238, 0.35);
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.upgrade-guarantee-icon svg {
    width: 24px;
    height: 24px;
}

.upgrade-guarantee-text h4 {
    font-size: 0.98rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.upgrade-guarantee-text p {
    font-size: 0.84rem;
    color: #94a3b8;
    line-height: 1.45;
    margin: 0;
}

/* SaaS Comparison Callout */
.saas-vs-box {
    max-width: 960px;
    margin: 20px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.saas-box-card {
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 0.82rem;
}

.saas-box-card.bad {
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.saas-box-card.good {
    background: rgba(34, 211, 238, 0.07);
    border: 1px solid rgba(34, 211, 238, 0.25);
    color: #67e8f9;
}

/* ─── Interactive Fleet ROI & Revenue Calculator ─────────────────────────── */

.calculator-section {
    position: relative;
    background: radial-gradient(80% 50% at 50% 50%, rgba(14, 165, 233, 0.08), transparent 70%);
}

.calc-container {
    max-width: 920px;
    margin: 0 auto;
    border-radius: 22px;
    border: 1px solid rgba(34, 211, 238, 0.25);
    background:
        radial-gradient(100% 70% at 50% 0%, rgba(34, 211, 238, 0.08), transparent 60%),
        rgba(8, 13, 22, 0.94);
    box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
    padding: clamp(24px, 4vw, 42px);
}

.calc-header {
    text-align: center;
    margin-bottom: 32px;
}

.calc-header h3 {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    color: #fff;
    margin-bottom: 8px;
    font-weight: 600;
}

.calc-header p {
    color: #94a3b8;
    font-size: 0.9rem;
    max-width: 600px;
    margin: 0 auto;
}

.calc-slider-wrap {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 28px;
}

.calc-slider-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.calc-slider-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.calc-slider-val {
    font-family: var(--font-mono);
    font-size: 1.4rem;
    font-weight: 700;
    color: #38bdf8;
    display: flex;
    align-items: center;
    gap: 4px;
}

.calc-slider-val span {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 400;
}

.range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, #22d3ee, #818cf8);
    outline: none;
    cursor: pointer;
    margin: 8px 0;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 16px #38bdf8, 0 2px 6px rgba(0, 0, 0, 0.5);
    border: 2px solid #0891b2;
    cursor: grab;
    transition: transform 0.1s ease;
}

.range-slider::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(1.15);
}

.range-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 16px #38bdf8, 0 2px 6px rgba(0, 0, 0, 0.5);
    border: 2px solid #0891b2;
    cursor: grab;
}

.calc-ticks {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: #475569;
    margin-top: 6px;
}

.calc-results-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.calc-stat-card {
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 16px 14px;
    text-align: center;
    transition: border-color 0.2s ease;
}

.calc-stat-card:hover {
    border-color: rgba(34, 211, 238, 0.3);
}

.calc-stat-card.featured-stat {
    background: rgba(34, 211, 238, 0.08);
    border-color: rgba(34, 211, 238, 0.35);
}

.calc-stat-title {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.calc-stat-value {
    font-family: var(--font-mono);
    font-size: clamp(1.15rem, 1.8vw, 1.55rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 4px;
}

.featured-stat .calc-stat-value {
    color: #38bdf8;
}

.calc-stat-sub {
    font-size: 0.72rem;
    color: #94a3b8;
}

.calc-action-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 14px;
    padding: 16px 22px;
    gap: 16px;
    flex-wrap: wrap;
}

.calc-action-text {
    font-size: 0.88rem;
    color: #e2e8f0;
}

.calc-action-text b {
    color: #38bdf8;
}

/* ─── Upgrade & Deployment Pipeline Section ──────────────────────────────── */

.upgrade-pipeline-section {
    position: relative;
}

.pipeline-stepper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 36px;
    position: relative;
}

.pipeline-stepper::before {
    content: "";
    position: absolute;
    top: 36px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: linear-gradient(90deg, #22d3ee, #818cf8, #f472b6, #22d3ee);
    z-index: 1;
    opacity: 0.4;
}

.step-node {
    position: relative;
    z-index: 2;
    background: rgba(8, 13, 22, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px 20px;
    transition: transform 0.25s var(--ease), border-color 0.25s ease;
}

.step-node:hover {
    transform: translateY(-4px);
    border-color: rgba(34, 211, 238, 0.4);
}

.step-num-bubble {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #030812;
    border: 2px solid #22d3ee;
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 16px;
    box-shadow: 0 0 14px rgba(34, 211, 238, 0.4);
}

.step-node h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.step-node p {
    font-size: 0.82rem;
    color: #94a3b8;
    line-height: 1.45;
    margin-bottom: 12px;
}

.step-spec-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(34, 211, 238, 0.08);
    border: 1px solid rgba(34, 211, 238, 0.2);
    color: #38bdf8;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
}

/* ─── Upgraded Pipeline Blueprint (Source Phone -> Atom Studio -> Fleet Phones) ─── */

.blueprint-architecture {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) 44px minmax(0, 1.35fr) 44px minmax(0, 1.3fr);
    align-items: center;
    gap: 8px;
    margin: 8px 0 14px;
}

.bp-stage {
    background: rgba(10, 16, 28, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bp-stage.bp-core {
    background: radial-gradient(100% 80% at 50% 0%, rgba(34, 211, 238, 0.12), transparent 70%), rgba(8, 14, 25, 0.95);
    border-color: rgba(34, 211, 238, 0.35);
    box-shadow: 0 10px 30px -10px rgba(34, 211, 238, 0.3);
}

.bp-stage-header {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bp-step-badge {
    align-self: flex-start;
    padding: 2px 7px;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
}

.bp-step-badge.core-badge {
    background: rgba(34, 211, 238, 0.18);
    color: #38bdf8;
    border: 1px solid rgba(34, 211, 238, 0.4);
}

.bp-stage-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin: 2px 0 0;
    letter-spacing: -0.01em;
}

.bp-stage-title.grad-title {
    background: linear-gradient(100deg, #67e8f9, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 1.15rem;
}

.bp-stage-sub {
    font-size: 0.72rem;
    color: #64748b;
}

/* Phone Mockup */
.device-mockup {
    position: relative;
    width: 100%;
    max-width: 140px;
    margin: 0 auto;
    aspect-ratio: 9 / 16;
    border-radius: 14px;
    background: #03060c;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 24px -8px rgba(0,0,0,0.8), 0 0 16px rgba(34, 211, 238, 0.15);
    padding: 4px;
    display: flex;
    flex-direction: column;
}

.phone-notch {
    width: 32px;
    height: 4px;
    background: #1e293b;
    border-radius: 999px;
    margin: 2px auto 4px;
}

.phone-screen {
    flex: 1;
    border-radius: 10px;
    background: linear-gradient(160deg, #0f172a, #020617);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 8px 6px;
}

.screen-video-card {
    border-radius: 6px;
    background: rgba(14, 116, 144, 0.25);
    border: 1px solid rgba(34, 211, 238, 0.3);
    padding: 6px 4px;
    text-align: center;
    position: relative;
}

.radar-tag {
    font-family: var(--font-mono);
    font-size: 7px;
    color: #67e8f9;
    font-weight: 700;
}

.audio-wave-anim {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    margin-top: 5px;
    height: 14px;
}

.audio-wave-anim span {
    width: 2px;
    height: 100%;
    background: #38bdf8;
    border-radius: 2px;
    animation: waveBounce 1.2s ease-in-out infinite alternate;
}

.audio-wave-anim span:nth-child(2) { animation-delay: 0.2s; height: 60%; }
.audio-wave-anim span:nth-child(3) { animation-delay: 0.4s; height: 90%; }
.audio-wave-anim span:nth-child(4) { animation-delay: 0.1s; height: 40%; }
.audio-wave-anim span:nth-child(5) { animation-delay: 0.3s; height: 75%; }

@keyframes waveBounce {
    0% { transform: scaleY(0.3); }
    100% { transform: scaleY(1); }
}

.screen-stats-pill {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 7px;
    font-weight: 700;
    color: #e2e8f0;
    background: rgba(0, 0, 0, 0.65);
    padding: 3px 6px;
    border-radius: 6px;
}

.screen-stats-pill span {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

/* Connectors */
.bp-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.bp-data-stream {
    width: 100%;
    height: 3px;
    background: rgba(34, 211, 238, 0.15);
    position: relative;
    border-radius: 3px;
    overflow: hidden;
}

.bp-data-stream::after {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #22d3ee, transparent);
    animation: dataFlow 1.8s linear infinite;
}

.bp-data-stream.out::after {
    background: linear-gradient(90deg, transparent, #a5b4fc, transparent);
    animation-delay: 0.9s;
}

@keyframes dataFlow {
    0% { left: -50%; }
    100% { left: 100%; }
}

.bp-beam-label {
    font-family: var(--font-mono);
    font-size: 6.5px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: center;
    white-space: nowrap;
}

/* Atom Studio Core */
.atom-core-visual {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.atom-orbit-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px dashed rgba(34, 211, 238, 0.4);
    animation: atomSpin 12s linear infinite;
}

.atom-orbit-ring.ring-2 {
    inset: 10px;
    border-color: rgba(165, 180, 252, 0.5);
    animation-direction: reverse;
    animation-duration: 8s;
}

@keyframes atomSpin {
    100% { transform: rotate(360deg); }
}

.atom-core-center {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.25), #070c18 70%);
    border: 1px solid rgba(34, 211, 238, 0.6);
    box-shadow: 0 0 16px rgba(34, 211, 238, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.atom-logo-symbol svg {
    width: 20px;
    height: 20px;
}

.atom-core-brand {
    font-family: var(--font-mono);
    font-size: 6.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #fff;
    margin-top: 1px;
}

.atom-engine-modules {
    display: grid;
    gap: 4px;
}

.engine-chip {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-mono);
    font-size: 7.5px;
    color: #cbd5e1;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 3px 6px;
    border-radius: 5px;
}

.engine-chip span {
    color: #22d3ee;
    font-weight: 700;
}

/* Fleet Phones Matrix */
.fleet-phones-matrix {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.fleet-job-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.job-phone-icon {
    position: relative;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    flex-shrink: 0;
}

.job-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
}

.job-dot.active { background: #22c55e; box-shadow: 0 0 6px #22c55e; }
.job-dot.warmup { background: #f59e0b; box-shadow: 0 0 6px #f59e0b; }
.job-dot.queued { background: #38bdf8; box-shadow: 0 0 6px #38bdf8; }

.job-phone-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.job-name {
    font-family: var(--font-mono);
    font-size: 7.8px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.job-status {
    font-size: 7px;
}

.job-status.success { color: #4ade80; }
.job-status.warning { color: #fbbf24; }
.job-status.neutral { color: #94a3b8; }

.bp-node-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-mono);
    font-size: 7px;
    color: #94a3b8;
    background: rgba(0, 0, 0, 0.4);
    padding: 4px 6px;
    border-radius: 6px;
}

.status-indicator.live {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 6px #22c55e;
}

/* Trust Badges Strip */
.trust-badges-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 40px;
    padding: 24px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-badge-item svg {
    width: 22px;
    height: 22px;
    color: #38bdf8;
    flex-shrink: 0;
}

.trust-badge-item h6 {
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 2px;
}

.trust-badge-item p {
    font-size: 0.72rem;
    color: #64748b;
    margin: 0;
}

/* ─── Sticky Mobile Conversion Bar ───────────────────────────────────────── */

.mobile-cta-bar {
    display: none;
}

@media (max-width: 768px) {
    .mobile-cta-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 99;
        background: rgba(3, 7, 18, 0.92);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-top: 1px solid rgba(34, 211, 238, 0.25);
        padding: 10px 16px;
        padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.7);
        transition: transform 0.3s ease;
    }

    .mobile-cta-bar.is-hidden {
        transform: translateY(110%);
    }

    .mobile-cta-info {
        display: flex;
        flex-direction: column;
    }

    .mobile-cta-title {
        font-family: var(--font-mono);
        font-size: 0.68rem;
        color: #94a3b8;
        text-transform: uppercase;
        letter-spacing: 0.08em;
    }

    .mobile-cta-price {
        font-family: var(--font-mono);
        font-size: 1.05rem;
        font-weight: 700;
        color: #fff;
    }

    .mobile-cta-price em {
        font-style: normal;
        color: #38bdf8;
        font-size: 0.78rem;
        font-weight: 500;
    }

    .mobile-cta-btn {
        padding: 9px 18px;
        font-size: 0.84rem;
        border-radius: 999px;
        background: linear-gradient(100deg, #22d3ee, #818cf8);
        color: #030812;
        font-weight: 700;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        white-space: nowrap;
        box-shadow: 0 4px 14px rgba(34, 211, 238, 0.4);
    }
}

/* ─── Responsive Media Queries ───────────────────────────────────────────── */

@media (max-width: 1080px) {
    .stage-split { grid-template-columns: 1fr; }
    .cap-grid { grid-template-columns: 1fr 1fr; }
    .cap-card:first-child { grid-row: auto; }
    .pipeline-grid::before { display: none; }
    h1 { font-size: clamp(3rem, 12vw, 5.2rem); }
    .pipeline-stepper { grid-template-columns: 1fr 1fr; }
    .pipeline-stepper::before { display: none; }
    .calc-results-grid { grid-template-columns: 1fr 1fr; }
    .trust-badges-strip { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .blueprint-architecture {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .bp-connector {
        transform: rotate(90deg);
        height: 28px;
        margin: 6px auto;
        width: 70px;
    }
    .device-mockup {
        max-width: 160px;
    }
}

@media (max-width: 760px) {
    .stage { min-height: 0; padding-top: calc(var(--header-h) + 64px); }
    .hero { padding-top: calc(var(--header-h) + 72px) !important; }
    .stage-kicker { align-items: flex-start; flex-direction: column; }
    .live-log { display: none; }
    .cap-grid, .pipeline-grid { grid-template-columns: 1fr; }
    .price-card-v2.featured { transform: none; }
    .word-track { font-size: 10px; }
    .upgrade-guarantee-box { flex-direction: column; align-items: flex-start; gap: 12px; }
    .saas-vs-box { grid-template-columns: 1fr; }
    .calc-results-grid { grid-template-columns: 1fr; }
    .calc-action-bar { flex-direction: column; align-items: stretch; text-align: center; }
    .pipeline-stepper { grid-template-columns: 1fr; }
    .trust-badges-strip { grid-template-columns: 1fr; }
    .calc-slider-wrap { padding: 18px 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .btn-primary::after,
    .stage::before,
    .stage-board,
    .price-card.featured::before,
    .word-track,
    .fscreen::after,
    .urgency-pulse {
        animation: none !important;
    }
}

/* ─── Atom Studio Store Checkout Modal ─────────────────────────────────────── */

.store-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(2, 5, 10, 0.92);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.store-modal-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

.store-modal-card {
    position: relative;
    width: min(960px, 100%);
    max-height: calc(100dvh - 32px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(34, 211, 238, 0.34);
    background:
        radial-gradient(90% 70% at 0% 0%, rgba(34, 211, 238, 0.09), transparent 55%),
        radial-gradient(70% 60% at 100% 0%, rgba(167, 139, 250, 0.08), transparent 55%),
        #070c15;
    box-shadow:
        0 50px 120px -30px rgba(0, 0, 0, 0.95),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset,
        0 0 70px -30px rgba(34, 211, 238, 0.6);
}

.store-modal-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex: 0 0 auto;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(4, 8, 14, 0.5);
}

.store-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 11px;
    border-radius: 999px;
    border: 1px solid rgba(34, 211, 238, 0.32);
    background: rgba(34, 211, 238, 0.08);
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #67e8f9;
    white-space: nowrap;
}

.store-tag svg {
    flex: 0 0 auto;
    color: #22d3ee;
}

.store-close-btn {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #94a3b8;
    transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.store-close-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.24);
}

.store-layout {
    display: grid;
    grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
    min-height: 0;
}

.store-summary {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px 22px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    background:
        linear-gradient(180deg, rgba(34, 211, 238, 0.045), transparent 42%),
        rgba(3, 7, 13, 0.45);
    overflow-y: auto;
}

.store-title {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1.45rem;
    font-weight: 650;
    line-height: 1.14;
    letter-spacing: -0.035em;
    color: #f3f8ff;
}

.store-title em {
    font-family: var(--font-display);
    font-style: normal;
    font-weight: 650;
    letter-spacing: -0.02em;
    background: linear-gradient(100deg, #e0faff, #67e8f9 35%, #c4b5fd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.store-subtitle {
    margin: -6px 0 0;
    font-size: 0.79rem;
    line-height: 1.55;
    color: #94a3b8;
}

.store-plan-picker {
    display: grid;
    gap: 8px;
}

.store-plan-option {
    position: relative;
    display: grid;
    gap: 2px;
    width: 100%;
    padding: 11px 12px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.5);
    transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.store-plan-option:hover {
    border-color: rgba(34, 211, 238, 0.4);
}

.store-plan-option.selected {
    border-color: rgba(34, 211, 238, 0.75);
    background:
        linear-gradient(120deg, rgba(34, 211, 238, 0.13), rgba(167, 139, 250, 0.06)),
        rgba(11, 20, 32, 0.65);
    box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.25) inset, 0 14px 34px -22px rgba(34, 211, 238, 0.8);
}

.store-plan-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.store-plan-name {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: #f1f6fc;
}

.store-plan-flag {
    flex: 0 0 auto;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.16);
    border: 1px solid rgba(34, 211, 238, 0.35);
    font-family: var(--font-mono);
    font-size: 7.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #67e8f9;
}

.store-plan-flag.flag-quiet {
    background: rgba(148, 163, 184, 0.08);
    border-color: rgba(148, 163, 184, 0.18);
    color: #94a3b8;
}

.store-plan-price {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.2;
    color: #67e8f9;
}

.store-plan-meta {
    font-size: 0.68rem;
    line-height: 1.4;
    color: #7f93a8;
}

.store-next {
    display: grid;
    gap: 7px;
    padding-top: 2px;
}

.store-next-title {
    font-family: var(--font-mono);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #64748b;
}

.store-next ol {
    display: grid;
    gap: 6px;
}

.store-next li {
    display: grid;
    grid-template-columns: 16px 1fr;
    gap: 8px;
    align-items: start;
    font-size: 0.72rem;
    line-height: 1.45;
    color: #9db0c4;
}

.store-next li b {
    display: grid;
    place-items: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.24);
    font-family: var(--font-mono);
    font-size: 8px;
    color: #67e8f9;
}

.store-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.store-total span {
    font-family: var(--font-mono);
    font-size: 8.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #94a3b8;
}

.store-total b {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #f3f8ff;
}

/* form */

.store-checkout-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 22px;
    min-height: 0;
    overflow-y: auto;
}

.store-form-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 2px;
}

.store-form-head span {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #f1f6fc;
}

.store-form-head em {
    font-family: var(--font-mono);
    font-style: normal;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #4ade80;
}

.store-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.store-checkout-form .field {
    display: grid;
    gap: 6px;
}

.store-checkout-form .field label {
    font-family: var(--font-mono);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #7f93a8;
}

.store-checkout-form .field label span {
    text-transform: none;
    letter-spacing: 0;
    font-family: var(--font-sans);
    font-size: 0.68rem;
    color: #5f7288;
}

.store-checkout-form input,
.store-checkout-form select,
.store-checkout-form textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 9px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(3, 7, 13, 0.75);
    color: #edf4fb;
    font: inherit;
    font-size: 0.84rem;
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.store-checkout-form textarea {
    min-height: 58px;
    max-height: 120px;
    resize: vertical;
    line-height: 1.5;
}

.store-checkout-form input::placeholder,
.store-checkout-form textarea::placeholder {
    color: #52647a;
}

.store-checkout-form input:focus,
.store-checkout-form select:focus,
.store-checkout-form textarea:focus {
    outline: none;
    border-color: rgba(34, 211, 238, 0.6);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.1);
}

.store-checkout-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a2b3c8' stroke-width='2' stroke-linecap='round'><path d='m6 9 6 6 6-6'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 34px;
}

.store-submit {
    margin-top: 2px;
    padding-block: 12px;
    font-size: 0.9rem;
}

.store-checkout-form .form-status {
    min-height: 16px;
    margin: -2px 0 0;
    font-size: 0.76rem;
    line-height: 1.4;
    color: #fda4af;
}

.store-checkout-form .form-status.is-ok { color: #6ee7b7; }

.store-methods-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px 10px;
    margin-top: 0;
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

.store-methods-row span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.store-methods-row span + span::before {
    content: "·";
    margin-right: 10px;
    color: #334155;
}

.store-privacy {
    margin: 0;
    text-align: center;
    font-size: 0.66rem;
    line-height: 1.5;
    color: #5f7288;
}

.store-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* success state */

.store-success {
    display: grid;
    justify-items: center;
    gap: 9px;
    padding: 44px 32px 38px;
    text-align: center;
    animation: storeFade 0.3s var(--ease);
}

.store-success[hidden] { display: none; }

.store-success-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 4px;
    border-radius: 50%;
    border: 1px solid rgba(52, 211, 153, 0.4);
    background: rgba(52, 211, 153, 0.12);
    color: #34d399;
    box-shadow: 0 0 34px -10px rgba(52, 211, 153, 0.7);
}

.store-success h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 2.1rem;
    font-weight: 650;
    letter-spacing: -0.035em;
    line-height: 1;
    color: #f3f8ff;
}

.store-success-dot { color: #22d3ee; }

.store-success p {
    max-width: 44ch;
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.6;
    color: #9db0c4;
}

.store-success p b { color: #e2e8f0; font-weight: 600; }

.store-success-ref {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    padding: 9px 16px;
    border-radius: 10px;
    border: 1px dashed rgba(34, 211, 238, 0.35);
    background: rgba(34, 211, 238, 0.06);
}

.store-success-ref span {
    font-family: var(--font-mono);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #7f93a8;
}

.store-success-ref b {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    color: #67e8f9;
}

.store-success-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 8px;
}

.store-success-note {
    font-family: var(--font-mono);
    font-size: 7.5px !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5f7288 !important;
}

@keyframes storeFade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}

/* store modal responsive */

@media (max-width: 860px) {
    .store-layout { grid-template-columns: 1fr; }
    .store-summary {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
        gap: 10px;
        padding: 18px 20px 16px;
    }
    .store-next { display: none; }
    .store-plan-picker { grid-template-columns: 1fr 1fr; }
    .store-plan-option { padding: 9px 10px; }
    .store-plan-meta { font-size: 0.64rem; }
    .store-title { font-size: 1.3rem; }
    .store-subtitle { font-size: 0.76rem; }
    .store-total { margin-top: 2px; padding-top: 9px; }
    .store-checkout-form { padding: 16px 20px 18px; }
    .store-modal-card { max-height: calc(100dvh - 20px); overflow-y: auto; }
    .store-layout { min-height: auto; }
}

@media (max-width: 640px) {
    .store-modal-backdrop { padding: 8px; }
    .store-modal-card { max-height: calc(100dvh - 16px); border-radius: 18px; }
    .store-modal-bar { padding: 10px 13px; }
    .store-tag { font-size: 8px; letter-spacing: 0.09em; padding: 4px 9px; }
    .store-tag svg { display: none; }
    .store-summary { padding: 14px 14px 12px; }
    .store-title { font-size: 1.18rem; }
    .store-subtitle { font-size: 0.72rem; }
    .store-plan-price { font-size: 1.05rem; }
    .store-plan-flag { display: none; }
    .store-total b { font-size: 1.1rem; }
    .store-checkout-form { padding: 14px; gap: 9px; }
    .store-grid-2 { grid-template-columns: 1fr; gap: 9px; }
    .store-checkout-form textarea { min-height: 50px; }
    .store-privacy { display: none; }
    .store-methods-row { font-size: 7.5px; gap: 5px 7px; }
    .store-success { padding: 34px 18px 30px; }
    .store-success h3 { font-size: 1.8rem; }
}

@media (max-width: 340px) {
    .store-plan-picker { grid-template-columns: 1fr; }
    .store-plan-meta { display: none; }
    .store-methods-row span + span::before { margin-right: 6px; }
}

@media (prefers-reduced-motion: reduce) {
    .store-success { animation: none; }
    .store-modal-backdrop,
    .store-modal-card { transition: none; }
}

.store-modal-card.is-success .store-layout { display: none; }

/* Prevent the checkout card from ever growing past the viewport */
.store-modal-card,
.store-layout,
.store-summary,
.store-checkout-form,
.store-modal-bar { min-width: 0; }

@media (max-width: 860px) {
    .store-layout { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 420px) {
    .store-modal-bar { padding: 9px 11px; gap: 8px; }
    .store-tag { font-size: 7.5px; letter-spacing: 0.07em; padding: 4px 8px; }
    .store-title { font-size: 1.1rem; }
    .store-summary { padding: 13px 12px 11px; }
    .store-checkout-form { padding: 12px; }
    .store-plan-option { padding: 9px 10px; }
    .store-plan-price { font-size: 1rem; }
    .store-total b { font-size: 1rem; }
    .store-success { padding: 28px 14px 26px; }
    .store-success h3 { font-size: 1.55rem; }
    .store-success-ref { flex-direction: column; gap: 4px; padding: 8px 14px; }
}

/* ─── Rendering performance ──────────────────────────────────────────────── */

/* The header and ghost buttons are already near-opaque: the blur cost frames
   without changing the look, so keep the compositor free for the content. */
.site-header,
.btn-ghost {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* Large gradient borders were repainting the whole stage each frame. */
.stage-board {
    animation: none;
    background-position: 50% 50%;
}

/* Move the stream highlight on the compositor instead of animating `left`. */
.bp-data-stream::after {
    left: 0;
    transform: translateX(-100%);
    animation-name: dataFlow;
}

@keyframes dataFlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

@media (max-width: 768px) {
    .stage::before {
        animation: none;
        filter: blur(14px);
        opacity: 0.7;
    }
}

/* Header fits on one line: drop the duplicate ROI ghost button on narrower desktops */
@media (max-width: 1560px) {
    .nav-actions .btn-ghost { display: none; }
    .site-header .nav-wrap { gap: 20px; }
}

/* ─── Narrow-phone fit (320–420px) ───────────────────────────────────────── */

.price-card-v2 { min-width: 0; }

@media (max-width: 600px) {
    .nav-wrap { gap: 12px; }
    .brand-product-pill { display: none; }
    .urgency-banner { padding: 6px 12px; font-size: 0.76rem; }
    .urgency-content { gap: 6px 10px; }
    .urgency-badge { font-size: 0.66rem; }
}

@media (max-width: 480px) {
    .price-card-v2 { padding: 30px 20px 26px; }
    .price-card-v2 .badge-top { font-size: 8px; padding: 4px 11px; letter-spacing: 0.08em; }
    .price-display { flex-wrap: wrap; gap: 4px 8px; }
    .price-display .period { flex-basis: 100%; width: fit-content; }
    .price-savings { align-items: flex-start; }
    .price-savings svg { flex: 0 0 auto; margin-top: 2px; }
    .price-card-v2 .price-list li { flex-wrap: wrap; }
}

@media (max-width: 560px) {
    .urgency-content > span:not(.urgency-badge) { display: none; }
    .urgency-content { justify-content: center; }
}

@media (max-width: 480px) {
    .calc-ticks { font-size: 0.62rem; }
    .calc-ticks span:nth-child(2),
    .calc-ticks span:nth-child(4) { display: none; }
}

.store-success h3:focus { outline: none; }

/* ─── YouTube Video Demo Facade ──────────────────────────────────────────── */
.yt-demo {
    aspect-ratio: 16 / 9;
    margin-bottom: 10px;
}

.yt-poster {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    cursor: pointer;
    background: #020408;
    overflow: hidden;
    font: inherit;
    color: inherit;
}

.yt-thumb {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.82;
    transform: scale(1.001);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.yt-poster:hover .yt-thumb,
.yt-poster:focus-visible .yt-thumb {
    opacity: 0.95;
    transform: scale(1.035);
}

.yt-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 60% at 50% 45%, rgba(2, 6, 12, 0) 30%, rgba(2, 6, 12, 0.5) 100%),
        linear-gradient(180deg, rgba(2, 6, 12, 0.18) 0%, rgba(2, 6, 12, 0.04) 32%, rgba(2, 6, 12, 0.9) 82%, rgba(2, 6, 12, 0.97) 100%);
}

.yt-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 86px;
    height: 86px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(130deg, #a5f3fc, #22d3ee 55%, #a5b4fc);
    color: #03121a;
    box-shadow: 0 20px 55px -12px rgba(34, 211, 238, 0.85), 0 0 0 12px rgba(34, 211, 238, 0.1);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.yt-play svg {
    width: 34px;
    height: 34px;
    margin-left: 5px;
}

.yt-poster:hover .yt-play,
.yt-poster:focus-visible .yt-play {
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 24px 65px -10px rgba(34, 211, 238, 1), 0 0 0 16px rgba(34, 211, 238, 0.14);
}

.yt-poster:focus-visible {
    outline: 2px solid #22d3ee;
    outline-offset: -2px;
}

.yt-copy {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.yt-copy b {
    font-family: var(--font-sans);
    font-size: clamp(1.05rem, 2vw, 1.45rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #fff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.65);
}

.yt-copy em {
    font-style: normal;
    font-size: 0.8rem;
    color: #b6d9e6;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.yt-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.yt-demo.is-playing {
    background: #000;
}

.yt-links {
    display: flex;
    justify-content: flex-end;
    margin: 0 0 20px;
    font-size: 0.78rem;
    color: #64748b;
}

.yt-links a {
    color: #38bdf8;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.yt-links a:hover {
    color: #a5f3fc;
    text-decoration: underline;
}

.yt-links svg {
    width: 14px;
    height: 14px;
}

/* ─── Single-Price Plan Card ($497) ─────────────────────────────────────── */
.price-single-wrap {
    max-width: 780px;
    margin: 0 auto;
}

.price-single {
    padding: 44px 42px 34px;
}

.price-single .price-list {
    gap: 11px;
}

.price-single .price-list li {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 10px;
}

.price-single .price-list li > span {
    min-width: 0;
}

.price-single .price-list li svg {
    margin-top: 3px;
}

.buy-note {
    margin: 14px 0 0;
    text-align: center;
    font-size: 0.76rem;
    color: #64748b;
    letter-spacing: 0.01em;
}

@media (max-width: 560px) {
    .stage-board .console-title {
        max-width: 46%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .stage-board .status-pill {
        display: none;
    }

    .stage-board .console-live {
        white-space: nowrap;
    }
}

@media (max-width: 760px) {
    .hero-checks { grid-template-columns: 1fr; }

    .yt-play {
        width: 62px;
        height: 62px;
        box-shadow: 0 14px 38px -10px rgba(34, 211, 238, 0.85), 0 0 0 8px rgba(34, 211, 238, 0.1);
    }

    .yt-play svg {
        width: 25px;
        height: 25px;
        margin-left: 3px;
    }

    .yt-copy {
        left: 14px;
        right: 14px;
        bottom: 12px;
    }

    .yt-copy em {
        font-size: 0.72rem;
    }

    .yt-demo .video-overlay-badge {
        top: 10px;
        left: 10px;
        font-size: 0.6rem;
        padding: 5px 10px;
        max-width: calc(100% - 20px);
    }

    .price-single {
        padding: 34px 22px 26px;
    }

    .yt-links {
        justify-content: flex-start;
    }
}
