:root {
    --bg-primary: #09090b;
    --bg-secondary: #0c0c0f;
    --bg-tertiary: #111114;
    --accent: #3b82f6;
    --accent-green: #10b981;
    --text-primary: #fafafa;
    --text-secondary: #a1a1aa;
    --text-tertiary: #71717a;
    --border: rgba(255,255,255,0.06);
    --border-light: rgba(255,255,255,0.1);
    --glass: rgba(255,255,255,0.02);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter Tight', -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.grid-overlay {
    background-image: 
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 80px 80px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.label {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

/* Navigation */
.navbar {
    padding: 16px 0;
    background: transparent;
    border-bottom: 1px solid transparent;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.navbar.scrolled {
    background: rgba(9,9,11,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: var(--border);
}

.navbar-brand {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-primary);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.navbar-brand:hover,
.navbar-brand:focus,
.navbar-brand:active,
.navbar-brand:focus-visible {
    color: var(--text-primary);
}

.nav-link {
    color: var(--text-tertiary);
    font-weight: 500;
    font-size: 0.8rem;
    padding: 8px 16px;
    transition: color 0.2s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:active {
    color: var(--accent);
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 2px;
    height: 1px;
    background: var(--accent);
    opacity: 0.6;
}

.navbar-toggler { border-color: var(--border-light); }

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.7%29' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Buttons */
.btn-primary-main {
    background: var(--text-primary);
    color: var(--bg-primary);
    border: 1px solid var(--border-light);
    padding: 14px 32px;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 8px;
}

.btn-primary-main:hover {
    background: #e4e4e7;
    color: var(--bg-primary);
}

.btn-secondary-main {
    background: #000;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    padding: 14px 32px;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 8px;
}

.btn-secondary-main:hover {
    background: var(--glass);
    color: var(--text-primary);
    border-color: var(--border-light);
}

/* Hero-only button borders */
.hero .btn-primary-main { border-color: #000; }
.hero .btn-secondary-main { border-color: #fff; }

/* Hero */
.hero {
    min-height: 100vh;
    min-height: 100svh; /* progressively-enhanced: accounts for mobile browser chrome */
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    display: block;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    padding: 60px 24px;
    position: relative;
    z-index: 3;
}

.hero-content :is(.hero-label, .hero-headline, .hero-sub, .hero-metric-value, .hero-metric-label, .trust-item) {
    text-shadow:
        0 0 24px rgba(0, 0, 0, 0.55),
        0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-content :is(.hero-label, .hero-sub, .hero-metric-label, .trust-item) {
    color: var(--text-primary);
}

@media (prefers-reduced-motion: reduce) {
    .hero-video { display: none; }
}

.hero-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 32px;
}

.hero-headline {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 24px;
}

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-metric {
    margin-bottom: 48px;
}

.hero-metric-value {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.hero-metric-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-top: 12px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-trust {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-item {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-green);
    border-radius: 50%;
}

/* Compact-height viewports — Mac/Chrome with toolbars, MBA 13" (~720-880px usable).
   Fonts kept at BASE size so they don't look small; only padding/margins reduced for fit. */
@media (max-height: 900px) {
    .hero { padding-top: 56px; }
    .hero-content { padding: 14px 24px; }
    .hero-label { margin-bottom: 16px; }
    .hero-headline { margin-bottom: 14px; line-height: 1.05; }
    .hero-sub { margin-bottom: 22px; line-height: 1.55; }
    .hero-metric { margin-bottom: 22px; }
    .hero-metric-label { margin-top: 6px; }
    .hero-cta { margin-bottom: 18px; gap: 14px; }
    .hero-trust { gap: 24px; }
}

/* Tighter — older laptops with toolbars (~600-700px usable) */
@media (max-height: 760px) {
    .hero { padding-top: 50px; }
    .hero-content { padding: 8px 24px; }
    .hero-label { margin-bottom: 8px; }
    .hero-headline { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 8px; }
    .hero-sub { margin-bottom: 12px; font-size: 0.82rem; line-height: 1.4; max-width: 540px; }
    .hero-metric { margin-bottom: 12px; }
    .hero-metric-value { font-size: clamp(1.6rem, 3vw, 2.2rem); }
    .hero-metric-label { margin-top: 2px; font-size: 0.6rem; }
    .hero-cta { margin-bottom: 10px; }
    .hero-cta .btn { padding: 8px 18px; font-size: 0.72rem; }
    .hero-trust { gap: 16px; }
}

/* Very short — netbooks, zoomed-in browsers (<650px usable) */
@media (max-height: 640px) {
    .hero { padding-top: 50px; }
    .hero-content { padding: 8px 24px; }
    .hero-label { margin-bottom: 8px; font-size: 0.6rem; }
    .hero-headline { font-size: clamp(1.5rem, 3.2vw, 2.2rem); margin-bottom: 8px; }
    .hero-sub { margin-bottom: 12px; font-size: 0.82rem; line-height: 1.4; }
    .hero-metric { margin-bottom: 12px; }
    .hero-metric-value { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
    .hero-metric-label { font-size: 0.6rem; }
    .hero-cta { margin-bottom: 10px; }
    .hero-cta .btn { padding: 8px 18px; font-size: 0.72rem; }
    .trust-item { font-size: 0.6rem; }
}

/* Revenue Graph */
.graph-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.graph-box {
    max-width: 900px;
    margin: 0 auto;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
}

.graph-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
}

.graph-title {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.graph-subtitle {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    color: var(--text-tertiary);
}

.graph-legend {
    display: flex;
    gap: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.legend-dot.base { background: var(--text-tertiary); }
.legend-dot.growth { background: var(--accent); }

.graph-visual {
    height: 220px;
    position: relative;
    margin-bottom: 16px;
}

.graph-visual svg {
    width: 100%;
    height: 100%;
}

.graph-badge-group {
    position: absolute;
    right: 20px;
    top: 18%;
    text-align: right;
    z-index: 2;
}

.graph-badge {
    background: var(--accent);
    color: white;
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 6px;
    display: inline-block;
}

.graph-badge-caption {
    margin-top: 8px;
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;
    color: var(--text-tertiary);
    letter-spacing: 0.05em;
}

.graph-launch-marker {
    position: absolute;
    left: 33.33%;
    top: 0;
    bottom: 0;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 1;
}

.graph-launch-line {
    position: absolute;
    left: 50%;
    top: 28px;
    bottom: 0;
    width: 0;
    border-left: 1px dashed rgba(96,165,250,0.45);
}

.graph-launch-label {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    font-family: 'Space Mono', monospace;
    font-size: 0.58rem;
    color: rgba(147,197,253,0.9);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    background: rgba(59,130,246,0.08);
    border: 1px solid rgba(96,165,250,0.25);
    padding: 4px 10px;
    border-radius: 4px;
}

.graph-axis {
    display: flex;
    justify-content: space-between;
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;
    color: var(--text-tertiary);
}

.graph-note {
    margin-top: 16px;
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    color: var(--text-tertiary);
    text-align: center;
    letter-spacing: 0.02em;
}

/* System Flow */
.flow-section {
    padding: 100px 0;
}

.flow-title {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 48px;
}

.flow-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto 24px;
}

.flow-node {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    padding: 14px 22px;
    border-radius: 10px;
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    white-space: nowrap;
    transition: all 0.3s ease;
}

.flow-node:hover {
    border-color: var(--accent);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.flow-arrow {
    color: var(--text-tertiary);
    font-size: 1.25rem;
    padding: 0 12px;
}

.flow-caption {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-tertiary);
}

/* Demo Section */
.demo-section {
    padding: 140px 0 160px;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.demo-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    pointer-events: none;
}

.demo-header {
    text-align: center;
    margin-bottom: 120px;
    position: relative;
}

.demo-headline {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.demo-sub {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: none;
    margin: 0 auto;
    line-height: 1.6;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .demo-sub { white-space: normal; max-width: 640px; font-size: 1rem; }
}

/* Full Width Demo Block */
.demo-block {
    margin-bottom: 160px;
    position: relative;
}

.demo-block:last-child {
    margin-bottom: 0;
}

.demo-inner {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 32px;
}

.demo-block.reverse .demo-inner {
    grid-template-columns: 1fr 1.7fr;
}

.demo-block.reverse .demo-video {
    order: 2;
}

.demo-block.reverse .demo-content {
    order: 1;
}

.demo-video {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    aspect-ratio: 16/9;
    box-shadow:
        0 30px 80px -20px rgba(0,0,0,0.6),
        0 0 0 1px rgba(255,255,255,0.04) inset;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.demo-block:hover .demo-video {
    transform: translateY(-4px);
}

.demo-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Native-aspect demo (e.g. iPad 4:3 — keeps full UI visible without crop) */
.demo-video.demo-video-native {
    aspect-ratio: auto;
}

.demo-video.demo-video-native video {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Custom-system blueprint visual (no video — pure SVG) */
.demo-video.demo-blueprint {
    background: #030305;
    aspect-ratio: 16 / 9;
}
.demo-video.demo-blueprint svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Tag for non-live "custom" system — cyan dot, no live-pulse animation */
.demo-video-tag.tag-custom::before {
    background: var(--accent);
    animation: none;
}

/* Inline link inside demo subtitle (Request a demo) */
.demo-sub-cta {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}
.demo-sub-cta:hover { color: var(--accent); opacity: 0.8; }

/* Animated system placeholder (replaces video until real demo is added) */
.demo-video-anim {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 30%, rgba(59,130,246,0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 70% 70%, rgba(34,197,94,0.12) 0%, transparent 55%),
        linear-gradient(135deg, #0a0a0a 0%, #111418 100%);
    overflow: hidden;
}

.demo-video-anim::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: conic-gradient(
        from 180deg at 50% 50%,
        transparent 0deg,
        rgba(59,130,246,0.08) 60deg,
        transparent 120deg,
        rgba(34,197,94,0.06) 200deg,
        transparent 280deg,
        rgba(59,130,246,0.08) 340deg,
        transparent 360deg
    );
    animation: anim-rotate 24s linear infinite;
}

@keyframes anim-rotate {
    to { transform: rotate(360deg); }
}

/* Variant 1 — Stored Value: ascending bars */
.demo-anim-bars {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 14px;
    padding: 22% 8% 22%;
}

.demo-anim-bars span {
    flex: 1;
    background: linear-gradient(to top, rgba(59,130,246,0.85), rgba(59,130,246,0.3));
    border-radius: 4px 4px 0 0;
    min-height: 6px;
    transform-origin: bottom;
    animation: anim-bars 4s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(59,130,246,0.3);
}

.demo-anim-bars span:nth-child(1) { animation-delay: 0s; height: 32%; }
.demo-anim-bars span:nth-child(2) { animation-delay: 0.15s; height: 48%; }
.demo-anim-bars span:nth-child(3) { animation-delay: 0.3s; height: 38%; }
.demo-anim-bars span:nth-child(4) { animation-delay: 0.45s; height: 60%; }
.demo-anim-bars span:nth-child(5) { animation-delay: 0.6s; height: 52%; }
.demo-anim-bars span:nth-child(6) { animation-delay: 0.75s; height: 72%; }
.demo-anim-bars span:nth-child(7) { animation-delay: 0.9s; height: 64%; }
.demo-anim-bars span:nth-child(8) { animation-delay: 1.05s; height: 84%; }
.demo-anim-bars span:nth-child(9) { animation-delay: 1.2s; height: 76%; }
.demo-anim-bars span:nth-child(10) { animation-delay: 1.35s; height: 92%; }
.demo-anim-bars span:nth-child(11) { animation-delay: 1.5s; height: 80%; }
.demo-anim-bars span:nth-child(12) { animation-delay: 1.65s; height: 96%; }

@keyframes anim-bars {
    0%, 100% { transform: scaleY(0.85); opacity: 0.85; }
    50% { transform: scaleY(1.05); opacity: 1; }
}

/* Variant 2 — Tiered: stacked unlocking rings */
.demo-anim-tiers {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-anim-tiers .ring {
    position: absolute;
    border: 1.5px solid rgba(59,130,246,0.45);
    border-radius: 50%;
    animation: anim-ring 3.5s ease-in-out infinite;
}

.demo-anim-tiers .ring:nth-child(1) { width: 30%; aspect-ratio: 1; animation-delay: 0s; }
.demo-anim-tiers .ring:nth-child(2) { width: 45%; aspect-ratio: 1; animation-delay: 0.4s; border-color: rgba(34,197,94,0.4); }
.demo-anim-tiers .ring:nth-child(3) { width: 60%; aspect-ratio: 1; animation-delay: 0.8s; border-color: rgba(59,130,246,0.3); }
.demo-anim-tiers .ring:nth-child(4) { width: 78%; aspect-ratio: 1; animation-delay: 1.2s; border-color: rgba(255,255,255,0.15); }

.demo-anim-tiers .ring::after {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: currentColor;
    border-radius: 50%;
    box-shadow: 0 0 12px currentColor;
    color: rgba(59,130,246,0.9);
}

.demo-anim-tiers .ring:nth-child(2)::after { color: rgba(34,197,94,0.9); }

@keyframes anim-ring {
    0%, 100% { transform: rotate(0deg) scale(1); opacity: 0.7; }
    50% { transform: rotate(180deg) scale(1.04); opacity: 1; }
}

.demo-anim-tiers .core {
    width: 12%;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(59,130,246,1) 0%, rgba(59,130,246,0) 70%);
    border-radius: 50%;
    animation: anim-pulse 2s ease-in-out infinite;
}

@keyframes anim-pulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.3); opacity: 1; }
}

/* Variant 3 — Gamified loops: orbital nodes */
.demo-anim-loops {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-anim-loops .orbit {
    position: absolute;
    border: 1px dashed rgba(255,255,255,0.12);
    border-radius: 50%;
    animation: anim-spin 16s linear infinite;
}

.demo-anim-loops .orbit:nth-child(1) { width: 38%; aspect-ratio: 1; }
.demo-anim-loops .orbit:nth-child(2) { width: 58%; aspect-ratio: 1; animation-direction: reverse; animation-duration: 24s; }
.demo-anim-loops .orbit:nth-child(3) { width: 78%; aspect-ratio: 1; animation-duration: 32s; }

.demo-anim-loops .orbit::before,
.demo-anim-loops .orbit::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 16px var(--accent);
}

.demo-anim-loops .orbit::before { top: -5px; left: 50%; }
.demo-anim-loops .orbit::after { bottom: -5px; left: 50%; background: var(--accent-green); box-shadow: 0 0 16px var(--accent-green); }

.demo-anim-loops .orbit:nth-child(2)::before { background: var(--accent-green); box-shadow: 0 0 16px var(--accent-green); }
.demo-anim-loops .orbit:nth-child(2)::after { background: var(--accent); box-shadow: 0 0 16px var(--accent); }

@keyframes anim-spin {
    to { transform: rotate(360deg); }
}

.demo-anim-loops .nucleus {
    width: 14%;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(34,197,94,0.9) 0%, rgba(34,197,94,0) 70%);
    border-radius: 50%;
    animation: anim-pulse 2.4s ease-in-out infinite;
}

/* scanline shimmer across all anims */
.demo-video-anim .scan {
    position: absolute;
    top: 0;
    left: -50%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.04) 50%, transparent 100%);
    animation: anim-scan 6s linear infinite;
    pointer-events: none;
}

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

.demo-video-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
}

.demo-video::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.demo-video-text {
    position: absolute;
    bottom: 32px;
    left: 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2;
}

.demo-video-line {
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.demo-video-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-green);
}

.demo-video-tag {
    position: absolute;
    top: 24px;
    left: 24px;
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
}

.demo-video-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #ff3b30;
    border-radius: 50%;
    animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.demo-content {
    padding: 20px 0;
}

.demo-eyebrow {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: var(--accent);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.demo-eyebrow::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--accent);
}

.demo-title {
    font-size: clamp(2rem, 3vw, 2.6rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
}

.demo-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.55;
}

.demo-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.demo-bullets li {
    font-size: 1rem;
    color: var(--text-secondary);
    padding: 14px 0;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border-bottom: 1px solid var(--border);
}

.demo-bullets li:last-child {
    border-bottom: none;
}

.demo-bullets li::before {
    content: '→';
    color: var(--accent);
    font-weight: 600;
    font-size: 1.05rem;
}

.demo-outcome {
    background: rgba(59,130,246,0.08);
    border: 1px solid rgba(59,130,246,0.2);
    border-radius: 14px;
    padding: 24px 32px;
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
}

.demo-outcome-value {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.02em;
    line-height: 1;
}

.demo-outcome-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: var(--text-tertiary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    text-align: center;
}

.cta-headline {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    max-width: 700px;
    margin: 0 auto 40px;
}

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

/* Case Study */
.case-section {
    padding: 120px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.case-header {
    margin-bottom: 64px;
    max-width: 760px;
}

.case-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 24px;
    max-width: 1280px;
    margin: 0 auto 32px;
}

.case-card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px;
    display: flex;
    flex-direction: column;
}

.case-card.results {
    background: var(--bg-tertiary);
}

.case-card.annualized {
    background: linear-gradient(160deg, rgba(59,130,246,0.08) 0%, rgba(59,130,246,0.02) 100%);
    border-color: rgba(59,130,246,0.25);
    justify-content: center;
    text-align: left;
}

.case-card-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 24px;
}

.case-card.annualized .case-card-label {
    color: var(--accent);
}

.case-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.case-card-list li {
    font-size: 0.98rem;
    color: var(--text-secondary);
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
}

.case-card-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.case-card-list li::before {
    content: '—';
    color: var(--text-tertiary);
    flex-shrink: 0;
}

.case-result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.case-result-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.case-result-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1;
}

.case-result-text {
    font-family: 'Space Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    line-height: 1.4;
}

.case-annualized-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 8px;
}

.case-annualized-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.case-note {
    max-width: 1280px;
    margin: 0 auto;
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: var(--text-tertiary);
    letter-spacing: 0.02em;
    line-height: 1.6;
}

/* Zero Risk */
.risk-section {
    padding: 80px 0;
    border-top: 1px solid var(--border);
}

.risk-box {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.risk-title {
    font-size: 1.75rem;
    margin-bottom: 40px;
}

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

.risk-item {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
}

.risk-item h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.risk-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Model Section */
.model-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.model-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.model-card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
}

.model-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.model-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Process */
.process-section {
    padding: 100px 0;
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

.process-step {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
}

.process-num {
    font-family: 'Space Mono', monospace;
    width: 36px;
    height: 36px;
    min-width: 36px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.process-text h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.process-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Footer */
.footer {
    padding: 48px 0 32px;
    border-top: 1px solid var(--border);
}

.footer-brand {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.footer-tag {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

.footer-links a {
    font-family: 'Space Mono', monospace;
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.7rem;
}

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

.footer-copy {
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;
    color: var(--text-tertiary);
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}

/* Modal */
.modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 16px;
}

.modal-header {
    border-bottom: 1px solid var(--border);
    padding: 24px 28px;
}

.modal-title { font-weight: 700; }

.modal-body { padding: 28px; }

.btn-close { filter: invert(1); opacity: 0.5; }
.btn-close:hover { opacity: 0.8; }

.form-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-control {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: 8px;
}

.form-control:focus {
    background: var(--bg-tertiary);
    border-color: var(--accent);
    color: var(--text-primary);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}

.form-control::placeholder { color: var(--text-tertiary); }

/* Responsive */
@media (max-width: 991px) {
    .demo-section { padding: 80px 0 100px; }
    .demo-header { margin-bottom: 64px; }
    .demo-block { margin-bottom: 100px; }
    .demo-inner { grid-template-columns: 1fr; gap: 40px; padding: 0 20px; }
    .demo-block.reverse .demo-inner { grid-template-columns: 1fr; }
    .demo-block.reverse .demo-video { order: 1; }
    .demo-block.reverse .demo-content { order: 2; }
    .demo-video-text { bottom: 20px; left: 20px; gap: 6px; }
    .demo-video-line { font-size: 0.62rem; }
    .demo-video-tag { top: 16px; left: 16px; }
    .case-grid { grid-template-columns: 1fr; }
    .case-result-grid { grid-template-columns: 1fr 1fr 1fr; }
    .model-grid { grid-template-columns: 1fr; }
    .risk-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .flow-diagram { gap: 8px; }
    .flow-node { padding: 12px 16px; font-size: 0.6rem; }
    .flow-arrow { padding: 0 8px; font-size: 1rem; }
}

@media (max-width: 768px) {
    .hero-trust { flex-direction: column; align-items: center; gap: 16px; }
}
