
:root {
  --bg-primary: #05070C;
  --bg-secondary: #0A0D14;
  --bg-card: rgba(10, 13, 20, 0.75);
  --bg-card-hover: rgba(16, 20, 28, 0.8);
  --bg-secondary-translucent: rgba(10, 13, 20, 0.7);
  --bg-elevated: #0A0D14;
  --border: #161C2B;
  --border-bright: #1F2638;
  --hairline: rgba(232, 236, 242, 0.12);
  --text-primary: #E6EAF0;
  --text-secondary: #B5BFD0;
  --text-muted: #8793A8;
  --text-whisper: #5E6678;
  --accent-mint: #6EE7B7;
  --accent-mint-dim: #4AD4A0;
  --accent-ice: #7DD3FC;
  --accent-ice-dim: #38BDF8;
  --accent-rose: #F9A8D4;
  --accent-amber: #FCD34D;
  --font-body: 'Instrument Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ── LIGHT MODE ── */
body.light {
  --bg-primary: #F7F8FA;
  --bg-secondary: #EEF0F4;
  --bg-card: rgba(255, 255, 255, 0.82);
  --bg-card-hover: rgba(248, 249, 251, 0.9);
  --bg-secondary-translucent: rgba(238, 240, 244, 0.8);
  --border: #DDE1E8;
  --border-bright: #C8CDD6;
  --text-primary: #111827;
  --text-secondary: #4B5563;
  --text-muted: #9CA3AF;
  --accent-mint: #059669;
  --accent-mint-dim: #047857;
  --accent-ice: #0284C7;
  --accent-ice-dim: #0369A1;
  --accent-rose: #DB2777;
  --accent-amber: #D97706;
}
body.light .hero h1 em,
body.light .section-title em,
body.light .cta-section h2 em {
  background: linear-gradient(135deg, #059669, #0284C7);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
body.light .hero-stat-value,
body.light .met-val {
  background: linear-gradient(135deg, #059669, #0284C7);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
body.light nav { background: rgba(247, 248, 250, 0.92); }
body.light .badge { color: #059669; background: rgba(5,150,105,0.08); border-color: rgba(5,150,105,0.2); }
body.light .btn-primary { background: #059669; color: #fff; }
body.light .btn-primary:hover { background: #047857; box-shadow: 0 8px 30px rgba(5,150,105,0.2); }
body.light .btn-ghost { color: #111827; border-color: #C8CDD6; }
body.light .btn-ghost:hover { border-color: #059669; color: #059669; }
body.light .hero-grid-bg {
  background-image:
    linear-gradient(rgba(5,150,105,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2,132,199,0.04) 1px, transparent 1px);
}
body.light .hero-gradient {
  background: radial-gradient(ellipse, rgba(5,150,105,0.06) 0%, rgba(2,132,199,0.03) 40%, transparent 65%);
}
body.light .grad-bg {
  background: linear-gradient(180deg, rgba(247,248,250,0.6) 0%, rgba(238,240,244,0.5) 50%, rgba(247,248,250,0.6) 100%);
}
body.light .pain-icon.mint { background: rgba(5,150,105,0.1); }
body.light .pain-icon.mint svg { stroke: #059669; }
body.light .pain-icon.ice { background: rgba(2,132,199,0.1); }
body.light .pain-icon.ice svg { stroke: #0284C7; }
body.light .pain-icon.amber { background: rgba(217,119,6,0.1); }
body.light .pain-icon.amber svg { stroke: #D97706; }
body.light .sol-icon { background: rgba(5,150,105,0.08); border-color: rgba(5,150,105,0.2); }
body.light .sol-icon svg { stroke: #059669; }
body.light .sol-link { color: #059669; }
body.light .ag-av.mint { background: #059669; }
body.light .ag-av.ice { background: #0284C7; }
body.light .ag-av.amber { background: #D97706; }
body.light .ag-av.rose { background: #DB2777; }
body.light .ag-role { color: #059669; }
body.light .how-num { background: rgba(5,150,105,0.1); color: #059669; }
body.light .plat-badge.int { background: rgba(2,132,199,0.1); color: #0284C7; }
body.light .plat-badge.full { background: rgba(5,150,105,0.1); color: #059669; }
body.light .plat-features li::before { color: #059669; }
body.light .trust-ico { background: rgba(5,150,105,0.08); }
body.light .trust-ico svg { stroke: #059669; }
body.light .cta-section::before {
  background: radial-gradient(ellipse, rgba(5,150,105,0.06) 0%, rgba(2,132,199,0.03) 40%, transparent 70%);
}
body.light .nav-logo text { fill: #111827; }
body.light .footer-left text { fill: #111827; }
/* Vortex in light mode */
body.light .vortex-outer { stroke: rgba(5,150,105,0.12) !important; }
body.light .vortex-outer-glow { stroke: rgba(5,150,105,0.06) !important; }
body.light .vortex-inner { stroke: rgba(2,132,199,0.10) !important; }
body.light .vortex-inner-glow { stroke: rgba(2,132,199,0.05) !important; }
/* Screenshot mockups stay dark */
body.light .screenshot-wrapper { border-color: #C8CDD6; }
/* Theme toggle */
.theme-toggle{position:relative;display:inline-block;width:44px;height:24px;border-radius:24px;background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.12);cursor:pointer;padding:0;vertical-align:middle;transition:background 0.3s ease, border-color 0.3s ease}
.theme-toggle:hover{border-color:rgba(110,231,183,0.4);background:rgba(255,255,255,0.08)}
.theme-toggle-thumb{position:absolute;top:1px;left:1px;width:20px;height:20px;border-radius:50%;background:#E8ECF2;display:flex;align-items:center;justify-content:center;color:#080A0F;box-shadow:0 1px 3px rgba(0,0,0,0.2);transition:transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease}
body.light .theme-toggle{background:rgba(0,0,0,0.04);border-color:rgba(0,0,0,0.1)}
body.light .theme-toggle:hover{background:rgba(0,0,0,0.06);border-color:rgba(5,150,105,0.4)}
body.light .theme-toggle-thumb{transform:translateX(20px);background:#059669;color:#fff}
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ── BUTTONS ── */
.badge {
  display: inline-block; font-size: 11px; font-weight: 600;
  padding: 6px 14px; letter-spacing: 0.05em; text-transform: uppercase;
  border: 1px solid var(--border-bright); border-radius: 100px;
  color: var(--accent-mint); background: rgba(110,231,183,0.06);
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; font-size: 14px; font-weight: 600;
  background: var(--accent-mint); color: #05070C; border: none;
  border-radius: 10px; text-decoration: none; cursor: pointer; transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 30px rgba(110,231,183,0.25); background: #8CF0CC; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; font-size: 14px; font-weight: 600;
  background: transparent; color: var(--text-primary);
  border: 1px solid var(--border-bright); border-radius: 10px;
  text-decoration: none; cursor: pointer; transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-ghost:hover { border-color: var(--accent-mint); color: var(--accent-mint); }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes gridPulse { 0%,100% { opacity: 0.025; } 50% { opacity: 0.055; } }
@keyframes vortexSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes breathe { 0%, 100% { opacity: 0.18; transform: scale(1); } 50% { opacity: 0.32; transform: scale(1.06); } }
.animate-up { animation: fadeUp 0.8s ease forwards; opacity: 0; }
.animate-up-d1 { animation-delay: 0.1s; }
.animate-up-d2 { animation-delay: 0.2s; }
.animate-up-d3 { animation-delay: 0.3s; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px 0;
  background: rgba(5, 7, 12, 0.88);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo svg { height: 32px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text-secondary); text-decoration: none; transition: color 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.nav-links a:hover { color: var(--text-primary); }
.nav-links a.active { color: var(--accent-mint); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn-primary, .nav-cta .btn-ghost { padding: 9px 20px; font-size: 13px; }
@media (max-width: 768px) { .nav-links { display: none; } }

/* ── VORTEX ── */
.vortex-bg {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 900px; height: 900px; pointer-events: none; z-index: 1;
}
.vortex-bg svg { width: 100%; height: 100%; overflow: visible; }
.vortex-outer { transform-origin: 400px 400px; animation: vortexSpin 120s linear infinite; }
.vortex-inner { transform-origin: 400px 400px; animation: vortexSpin 90s linear infinite reverse; }
.vortex-outer-glow { transform-origin: 400px 400px; animation: vortexSpin 120s linear infinite; }
.vortex-inner-glow { transform-origin: 400px 400px; animation: vortexSpin 90s linear infinite reverse; }
.vortex-core { transform-origin: 400px 400px; animation: breathe 8s ease-in-out infinite; }
#particles { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
@media (max-width: 768px) { .vortex-bg { width: 500px; height: 500px; } #particles { display: none; } }

/* ── HERO ── */
.hero {
  position: relative; padding: 160px 0 100px; overflow: hidden;
  min-height: 90vh; display: flex; align-items: center; z-index: 1;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(110,231,183,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125,211,252,0.02) 1px, transparent 1px);
  background-size: 64px 64px; animation: gridPulse 6s ease infinite;
}
.hero-gradient {
  position: absolute; top: -220px; left: 50%; transform: translateX(-50%);
  width: 1000px; height: 1000px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(110,231,183,0.06) 0%, rgba(125,211,252,0.03) 40%, transparent 65%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 840px; margin: 0 auto; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 500; line-height: 1.08; letter-spacing: -0.03em; margin: 24px 0; font-family: 'Instrument Sans', system-ui, sans-serif; }
.hero h1 em {
  font-family: 'Fraunces', 'Instrument Sans', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
  background: linear-gradient(135deg, var(--accent-mint) 0%, var(--accent-ice) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero p { font-size: clamp(16px, 2vw, 19px); line-height: 1.65; color: var(--text-secondary); max-width: 640px; margin: 0 auto 40px; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-stat-row { display: flex; gap: 48px; justify-content: center; margin-top: 56px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat-value {
  font-size: 36px; font-weight: 700; letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--accent-mint), var(--accent-ice));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; font-weight: 500; }

/* ── SHARED ── */
.section { padding: 100px 0; position: relative; z-index: 1; }
.section-label { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.section-title { font-size: clamp(28px, 4vw, 42px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.18; margin-bottom: 20px; max-width: 700px; font-family: 'Instrument Sans', system-ui, sans-serif; }
.section-title em {
  font-family: 'Fraunces', 'Instrument Sans', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, var(--accent-mint), var(--accent-ice));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-sub { font-size: 17px; line-height: 1.7; color: var(--text-secondary); max-width: 620px; }
.section-centered { text-align: center; }
.section-centered .section-title, .section-centered .section-sub { margin-left: auto; margin-right: auto; }
.grad-bg { background: linear-gradient(180deg, rgba(5,7,12,0.6) 0%, rgba(10,13,20,0.5) 50%, rgba(5,7,12,0.6) 100%); }

/* ── PAIN ── */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.pain-card {
  background: var(--bg-card); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: 16px; padding: 32px;
}
.pain-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.pain-icon svg { width: 22px; height: 22px; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.pain-icon.mint { background: rgba(110,231,183,0.12); }
.pain-icon.mint svg { stroke: #6EE7B7; }
.pain-icon.ice { background: rgba(125,211,252,0.12); }
.pain-icon.ice svg { stroke: #7DD3FC; }
.pain-icon.amber { background: rgba(252,211,77,0.12); }
.pain-icon.amber svg { stroke: #FCD34D; }
.pain-card .stat-hl { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.pain-card h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 10px; }
.pain-card p { font-size: 14px; line-height: 1.7; color: var(--text-secondary); }
@media (max-width: 768px) { .pain-grid { grid-template-columns: 1fr; } }

/* ── SOLUTIONS ── */
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.sol-card {
  background: var(--bg-card); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: 16px;
  padding: 40px 32px; transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1); position: relative; overflow: hidden;
}
.sol-card:hover { border-color: var(--accent-mint); transform: translateY(-2px); }
.sol-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent-mint), var(--accent-ice));
  opacity: 0; transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.sol-card:hover::before { opacity: 1; }
.sol-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; background: rgba(110,231,183,0.08); border: 1px solid rgba(110,231,183,0.15);
}
.sol-icon svg { width: 28px; height: 28px; stroke: var(--accent-mint); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sol-card h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; }
.sol-card p { font-size: 14px; line-height: 1.7; color: var(--text-secondary); margin-bottom: 20px; }
.sol-link { font-size: 13px; font-weight: 600; color: var(--accent-mint); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 768px) { .sol-grid { grid-template-columns: 1fr; } }

/* ── SCREENSHOT MOCKUPS ── */
.screenshot-wrapper {
  margin-top: 48px; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border); box-shadow: 0 25px 60px rgba(0,0,0,0.5);
  background: #111318;
}
.screenshot-bar {
  display: flex; align-items: center; gap: 8px; padding: 12px 16px;
  background: #0D0F14; border-bottom: 1px solid #1A1D25;
}
.screenshot-dot { width: 10px; height: 10px; border-radius: 50%; }
.screenshot-dot.r { background: #FF5F57; }
.screenshot-dot.y { background: #FFBD2E; }
.screenshot-dot.g { background: #28CA42; }
.screenshot-bar-title {
  font-size: 11px; color: #555; font-weight: 500; margin-left: 12px;
  font-family: var(--font-mono);
}
.screenshot-body { padding: 0; overflow-x: auto; }

/* ── Command Center mockup — anodized aluminum tactical case ── */
.cmd-shell { display: flex; min-height: 620px; font-family: var(--font-body); background: #080A0F; position: relative; }

/* Sidebar — brushed aluminum housing */
.cmd-sidebar {
  width: 232px; min-width: 232px;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #14181F 0%, #0E1218 50%, #161A21 100%);
  border-right: 1px solid #2A3038;
  box-shadow: inset 1px 0 0 rgba(255,255,255,0.05), inset -1px 0 0 rgba(0,0,0,0.6);
  padding: 0 0 8px; overflow-y: auto;
}
/* Brand plate (case lid label) */
.cmd-brand-plate {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px;
  background: linear-gradient(180deg, #1A1F27 0%, #0E1218 100%);
  border-bottom: 1px solid #2A3038;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 1px 0 rgba(0,0,0,0.5);
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: 0.8px; text-transform: uppercase; color: #C5CBD4;
}
.cmd-brand-plate .cmd-v {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 4px;
  background: linear-gradient(135deg, rgba(16,185,129,0.18), rgba(2,132,199,0.12));
  border: 1px solid rgba(16,185,129,0.4);
  color: #6EE7B7; font-size: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}
.cmd-brand-plate .cmd-plate-text { flex: 1; margin-left: 8px; font-size: 11px; }
.cmd-brand-plate .cmd-collapse { width: 12px; height: 12px; opacity: 0.4; color: #C5CBD4; }

/* Compartment dividers — brushed aluminum strip */
.cmd-sidebar-section {
  position: relative;
  padding: 5px 14px;
  margin: 8px 0 0;
  font-family: var(--font-mono); font-size: 9.5px; font-weight: 700;
  letter-spacing: 1.6px; color: #2D3540; text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,0.05) 0 1px, transparent 1px 2px),
    linear-gradient(180deg, #C8CDD4 0%, #A6ADB6 30%, #8B929C 65%, #B5BBC4 100%);
  border-top: 1px solid #DCE0E5;
  border-bottom: 1px solid #4B5563;
  text-shadow: 0 1px 0 rgba(255,255,255,0.35);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.55),
    inset 0 -1px 0 rgba(0,0,0,0.30),
    0 1px 2px rgba(0,0,0,0.45);
  cursor: pointer; transition: filter 0.15s ease, transform 0.1s ease;
}
.cmd-sidebar-section:hover { filter: brightness(1.06); }
.cmd-sidebar-section .cmd-sec-chev { margin-left: auto; font-size: 8px; opacity: 0.7; }

/* LED status indicators */
.cmd-led {
  width: 8px; height: 8px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.5);
  box-shadow: inset 0 0 3px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.35);
  flex-shrink: 0;
}
.cmd-led.mint { background: #10B981; box-shadow: inset 0 0 3px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.35), 0 0 7px rgba(16,185,129,0.85); }
.cmd-led.amber { background: #F59E0B; box-shadow: inset 0 0 3px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.35), 0 0 7px rgba(245,158,11,0.85); }
.cmd-led.ice { background: #38BDF8; box-shadow: inset 0 0 3px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.35), 0 0 7px rgba(56,189,248,0.8); }
.cmd-led.rose { background: #F472B6; box-shadow: inset 0 0 3px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.35), 0 0 7px rgba(244,114,182,0.7); }
.cmd-led.gray { background: #4B5563; }

/* Nav items */
.cmd-sidebar-item {
  display: flex; align-items: center; gap: 10px; padding: 7px 14px;
  font-size: 12.5px; font-weight: 500; color: #A0A6B0;
  cursor: pointer; transition: background 0.1s ease, color 0.1s ease;
  position: relative; font-family: var(--font-body);
}
.cmd-sidebar-item .cmd-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: rgba(160,166,176,0.4); flex-shrink: 0;
}
.cmd-sidebar-item:hover { background: rgba(255,255,255,0.04); color: #E5E7EB; }
.cmd-sidebar-item:hover .cmd-dot { background: #6EE7B7; box-shadow: 0 0 4px rgba(110,231,183,0.7); }
.cmd-sidebar-item.active {
  background: linear-gradient(90deg, rgba(16,185,129,0.20) 0%, rgba(16,185,129,0.06) 50%, transparent 100%);
  color: #E8FDF5; font-weight: 600;
  box-shadow: inset 3px 0 0 #10B981;
}
.cmd-sidebar-item.active .cmd-dot { background: #10B981; box-shadow: 0 0 6px rgba(16,185,129,0.9); }

/* Stamped red badges */
.cmd-sidebar-item .cmd-badge {
  margin-left: auto; padding: 1px 6px; border-radius: 2px;
  font-family: var(--font-mono); font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.4px; background: #DC2626; color: #fff;
  box-shadow: 0 0 6px rgba(220,38,38,0.55), inset 0 1px 0 rgba(255,255,255,0.18);
}
.cmd-sidebar-item .cmd-badge.warn {
  background: #F59E0B; box-shadow: 0 0 6px rgba(245,158,11,0.55), inset 0 1px 0 rgba(255,255,255,0.2);
}

/* System Eye in topbar */
@keyframes cmd-eye-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes cmd-eye-spin-rev { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
@keyframes cmd-eye-pulse { 0%,100% { opacity: 0.7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
.cmd-eye {
  position: relative; width: 26px; height: 26px; flex-shrink: 0;
}
.cmd-eye-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(56,189,248,0.4);
  animation: cmd-eye-spin 8s linear infinite;
}
.cmd-eye-ring.inner {
  inset: 4px;
  border-style: dashed; border-color: rgba(56,189,248,0.3);
  animation: cmd-eye-spin-rev 6s linear infinite;
}
.cmd-eye-iris {
  position: absolute; inset: 7px; border-radius: 50%;
  background: radial-gradient(circle, #38BDF8 0%, #0284C7 40%, #0a1628 100%);
  box-shadow: 0 0 8px rgba(56,189,248,0.7), inset 0 0 4px rgba(0,0,0,0.6);
  animation: cmd-eye-pulse 2.4s ease-in-out infinite;
}
.cmd-eye-pupil {
  position: absolute; inset: 11px; border-radius: 50%;
  background: #050B14;
  box-shadow: 0 0 3px rgba(56,189,248,0.5);
}
.cmd-eye-status {
  font-family: var(--font-mono); font-size: 9px; font-weight: 700;
  letter-spacing: 0.1em; color: #38BDF8;
  text-transform: uppercase;
}

/* Main */
.cmd-main { flex: 1; padding: 14px 20px 18px; overflow: hidden; min-width: 0; }
.cmd-topbar {
  display: flex; align-items: center; gap: 12px; padding-bottom: 12px;
  border-bottom: 1px solid #161A22; margin-bottom: 14px;
}
.cmd-search {
  flex: 1; display: flex; align-items: center; gap: 8px;
  background: #0F1218; border: 1px solid #1E2230; border-radius: 8px;
  padding: 7px 12px; font-size: 11.5px; color: #6B7280;
}
.cmd-search-icon { width: 12px; height: 12px; opacity: 0.5; }
.cmd-topbar-icons { display: flex; align-items: center; gap: 10px; color: #4B5363; }
.cmd-avatar {
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, #7DD3FC 0%, #6EE7B7 100%);
  color: #0A0C11; font-size: 9px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}

/* Briefing */
.cmd-briefing { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.cmd-mini-label { font-size: 9px; font-weight: 700; letter-spacing: 0.1em; color: #6EE7B7; text-transform: uppercase; margin-bottom: 4px; }
.cmd-greeting { font-size: 18px; font-weight: 700; color: #E5E7EB; letter-spacing: -0.01em; }
.cmd-greeting-sub { font-size: 11.5px; color: #6B7280; margin-top: 4px; line-height: 1.5; }
.cmd-greeting-sub strong { color: #D1D5DB; font-weight: 600; }
.cmd-briefing-actions { display: flex; gap: 6px; flex-shrink: 0; }
.cmd-btn-sm {
  padding: 6px 10px; font-size: 10px; font-weight: 500;
  background: #0F1218; border: 1px solid #1E2230; border-radius: 6px; color: #9CA3AF;
  cursor: default; transition: border-color 0.15s ease;
}
.cmd-btn-sm:hover { border-color: #2D3140; }
.cmd-btn-sm.primary { background: #34D399; color: #05070C; border-color: #34D399; font-weight: 700; }

/* KPI grid */
.cmd-kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.cmd-kpi {
  background: #0F1218; border: 1px solid #1E2230; border-radius: 10px; padding: 10px 12px;
  position: relative; overflow: hidden;
}
.cmd-kpi-label { font-size: 9px; font-weight: 700; letter-spacing: 0.08em; color: #4B5363; text-transform: uppercase; }
.cmd-kpi-value { font-size: 22px; font-weight: 700; color: #E5E7EB; margin-top: 4px; letter-spacing: -0.02em; }
.cmd-kpi-delta { font-size: 10px; margin-top: 4px; color: #6B7280; }
.cmd-kpi-delta.up { color: #34D399; }
.cmd-kpi-delta.down { color: #9CA3AF; }
.cmd-kpi-spark {
  position: absolute; right: 8px; bottom: 8px; height: 14px; width: 60px;
  opacity: 0.5;
}

/* In-flight pipeline */
.cmd-section { margin-bottom: 14px; }
.cmd-section-label {
  font-size: 9px; font-weight: 700; letter-spacing: 0.1em; color: #4B5363;
  text-transform: uppercase; margin-bottom: 8px; display: flex; align-items: center; gap: 6px;
}
.cmd-section-label strong { color: #D1D5DB; font-weight: 600; }
.cmd-empty {
  background: #0F1218; border: 1px dashed #1E2230; border-radius: 10px;
  padding: 22px; text-align: center; color: #6B7280; font-size: 11px;
}
.cmd-empty-cta { color: #6EE7B7; font-size: 11px; margin-top: 6px; font-weight: 500; }

/* Debrief row */
.cmd-debrief { display: grid; grid-template-columns: 2fr 1.2fr; gap: 10px; }
.cmd-card {
  background: #0F1218; border: 1px solid #1E2230; border-radius: 10px; padding: 12px;
}
.cmd-debrief-mix { display: flex; align-items: center; gap: 14px; }
.cmd-donut {
  width: 70px; height: 70px; border-radius: 50%; flex-shrink: 0;
  background: conic-gradient(#FBBF24 0% 100%, transparent 100% 100%);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.cmd-donut::before {
  content: ''; position: absolute; inset: 9px; background: #0F1218; border-radius: 50%;
}
.cmd-donut-pct { position: relative; font-size: 12px; font-weight: 700; color: #E5E7EB; }
.cmd-donut-sub { position: relative; font-size: 8px; color: #6B7280; margin-top: -2px; }
.cmd-donut-wrap { display: flex; flex-direction: column; align-items: center; }
.cmd-mix-legend { flex: 1; font-size: 10px; }
.cmd-mix-row { display: flex; align-items: center; gap: 6px; padding: 2px 0; color: #9CA3AF; }
.cmd-mix-dot { width: 6px; height: 6px; border-radius: 50%; }
.cmd-mix-row .cmd-mix-pct { margin-left: auto; color: #6B7280; font-family: var(--font-mono); }

.cmd-attention-tag {
  display: inline-block; font-size: 8.5px; font-weight: 700;
  letter-spacing: 0.08em; color: #F87171; background: rgba(248,113,113,0.1);
  padding: 2px 6px; border-radius: 4px; margin-bottom: 6px;
}
.cmd-attention-row { padding: 6px 0; border-top: 1px solid #161A22; }
.cmd-attention-row:first-of-type { border-top: none; }
.cmd-attention-title { font-size: 11px; color: #D1D5DB; font-weight: 500; }
.cmd-attention-meta { font-size: 9.5px; color: #6B7280; font-family: var(--font-mono); margin-top: 2px; }
.cmd-attention-actions { display: flex; gap: 6px; margin-top: 6px; }
.cmd-attention-btn {
  font-size: 9px; padding: 2px 8px; border-radius: 4px;
  background: transparent; border: 1px solid #2D3140; color: #9CA3AF;
}
.cmd-attention-btn.warn { background: rgba(251,191,36,0.1); border-color: rgba(251,191,36,0.3); color: #FBBF24; }

/* Field log */
.cmd-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.cmd-table th {
  text-align: left; padding: 6px 10px; font-size: 9px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: #4B5363;
  border-bottom: 1px solid #1E2230;
}
.cmd-table td { padding: 8px 10px; color: #D1D5DB; border-bottom: 1px solid #151820; }
.cmd-table td:first-child { font-family: var(--font-mono); color: #9CA3AF; font-size: 10.5px; }
.cmd-table tr:hover td { background: rgba(110,231,183,0.03); }
.cmd-tab {
  display: inline-block; font-size: 9px; padding: 3px 8px; border-radius: 4px;
  font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.cmd-tab.active { background: #1A1F2B; color: #E5E7EB; }
.cmd-tab-row { display: flex; gap: 4px; margin-bottom: 6px; }
.cmd-status {
  display: inline-block; font-size: 9px; padding: 2px 7px; border-radius: 4px;
  font-weight: 700; letter-spacing: 0.04em;
}
.cmd-status.done { background: rgba(52,211,153,0.12); color: #34D399; }
.cmd-status.awaiting { background: rgba(251,191,36,0.12); color: #FBBF24; }

/* ── DASHBOARD MOCKUP ── */
.delib-shell { display: flex; min-height: 480px; font-family: var(--font-body); }
.delib-sidebar {
  width: 240px; min-width: 240px; background: #0A0C11; border-right: 1px solid #1A1D25;
  padding: 16px; overflow: hidden;
}
.delib-sidebar-card {
  border-radius: 10px; border: 1px solid #1E2230; background: #0F1118; padding: 12px; margin-bottom: 12px;
}
.delib-sidebar-label { font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: #6B7280; margin-bottom: 8px; }
.delib-sidebar-id { font-size: 10px; font-family: var(--font-mono); color: #6B7280; }
.delib-sidebar-type { font-size: 12px; font-weight: 600; color: #D1D5DB; margin-top: 4px; }
.delib-roster-item {
  display: flex; align-items: center; gap: 8px; padding: 4px 6px; border-radius: 6px; font-size: 11px; margin-bottom: 2px;
}
.delib-roster-done { color: #34D399; }
.delib-roster-active { background: rgba(110,231,183,0.1); color: #E5E7EB; }
.delib-roster-pending { color: #4B5563; }
.delib-center { flex: 1; padding: 16px 20px; overflow: hidden; }
.delib-center-title { font-size: 14px; font-weight: 700; color: #E5E7EB; margin-bottom: 14px; }

/* Turn cards */
.turn-card {
  border-radius: 10px; border: 1px solid #1E2230; background: #0F1118; margin-bottom: 12px; overflow: hidden;
}
.turn-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 14px; border-bottom: 1px solid #1A1D25;
}
.turn-header-left { display: flex; align-items: center; gap: 8px; }
.turn-num { font-size: 10px; font-family: var(--font-mono); color: #4B5563; width: 16px; }
.turn-role-badge {
  display: inline-flex; padding: 2px 8px; border-radius: 5px; font-size: 10px; font-weight: 600;
}
.turn-model { font-size: 10px; font-family: var(--font-mono); color: #4B5563; }
.turn-rec-badge { display: inline-flex; padding: 2px 8px; border-radius: 10px; font-size: 10px; font-weight: 600; }
.turn-body { padding: 12px 14px; }
.turn-section-label { font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: #4B5563; margin-bottom: 4px; margin-top: 8px; }
.turn-section-label:first-child { margin-top: 0; }
.turn-text { font-size: 11px; color: #9CA3AF; line-height: 1.55; }
.evi-pills { display: flex; flex-wrap: wrap; gap: 4px; }
.evi-pill {
  display: inline-flex; padding: 2px 8px; border-radius: 5px; font-size: 10px; font-weight: 500;
  background: rgba(110,231,183,0.08); color: #6EE7B7; border: 1px solid rgba(110,231,183,0.15);
}

/* Right panel */
.delib-right {
  width: 260px; min-width: 260px; background: #0A0C11; border-left: 1px solid #1A1D25; padding: 16px;
}
.delib-right-tabs { display: flex; gap: 0; border-bottom: 1px solid #1E2230; margin-bottom: 14px; }
.delib-right-tab { padding: 6px 10px; font-size: 10px; font-weight: 600; color: #4B5563; border-bottom: 2px solid transparent; }
.delib-right-tab.active { color: #D1D5DB; border-bottom-color: #6EE7B7; }
.summary-card { border-radius: 8px; border: 1px solid #1E2230; background: #0F1118; padding: 12px; margin-bottom: 10px; }
.summary-label { font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: #4B5563; margin-bottom: 6px; }
.summary-rec { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.summary-conf { font-size: 11px; color: #6B7280; }
.summary-text { font-size: 11px; color: #9CA3AF; line-height: 1.5; }

/* Screenshot caption */
.screenshot-caption {
  text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 16px; font-weight: 500;
}

@media (max-width: 900px) {
  .app-sidebar, .delib-sidebar, .delib-right { display: none; }
}

/* ── AGENTS ── */
.agents-intro { font-size: 17px; line-height: 1.7; color: var(--text-secondary); max-width: 640px; margin: 0 auto 48px; text-align: center; }
.agents-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ag-card {
  background: var(--bg-card); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: 12px; padding: 24px; transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.ag-card:hover { border-color: var(--accent-mint); }
.ag-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ag-av {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #05070C; font-family: var(--font-mono);
}
.ag-av.mint { background: var(--accent-mint); }
.ag-av.ice { background: var(--accent-ice); }
.ag-av.amber { background: var(--accent-amber); }
.ag-av.rose { background: var(--accent-rose); }
.ag-name { font-size: 16px; font-weight: 700; }
.ag-role { font-size: 11px; color: var(--accent-mint); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.ag-desc { font-size: 13px; line-height: 1.6; color: var(--text-secondary); }
@media (max-width: 768px) { .agents-grid { grid-template-columns: 1fr; } }
@media (min-width: 769px) and (max-width: 1024px) { .agents-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── HOW IT WORKS ── */
.how-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.how-step {
  background: var(--bg-card); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: 16px; padding: 32px 24px;
}
.how-num {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(110,231,183,0.12); color: var(--accent-mint);
  font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.how-step h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.how-step p { font-size: 13px; line-height: 1.65; color: var(--text-secondary); }
@media (max-width: 900px) { .how-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 550px) { .how-steps { grid-template-columns: 1fr; } }

/* ── PLATFORM ── */
.plat-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.plat-mode {
  background: var(--bg-card); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: 16px; padding: 40px 36px; transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.plat-mode:hover { border-color: var(--accent-mint); }
.plat-badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 6px; margin-bottom: 20px;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.plat-badge.int { background: rgba(125,211,252,0.12); color: var(--accent-ice); }
.plat-badge.full { background: rgba(110,231,183,0.12); color: var(--accent-mint); }
.plat-mode h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.02em; }
.plat-mode p { font-size: 14px; line-height: 1.7; color: var(--text-secondary); margin-bottom: 24px; }
.plat-features { list-style: none; padding: 0; margin: 0; }
.plat-features li {
  font-size: 13px; color: var(--text-secondary); padding: 8px 0;
  border-top: 1px solid var(--border); display: flex; align-items: center; gap: 10px;
}
.plat-features li::before { content: '✓'; color: var(--accent-mint); font-weight: 700; }
@media (max-width: 768px) { .plat-modes { grid-template-columns: 1fr; } }

/* ── METRICS ── */
.met-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.met-card {
  background: var(--bg-secondary-translucent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: 16px; padding: 36px 28px; text-align: center;
}
.met-val {
  font-size: clamp(26px, 2.6vw, 38px); font-weight: 700; letter-spacing: -0.03em;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--accent-mint), var(--accent-ice));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.met-label { font-size: 13px; color: var(--text-secondary); margin-top: 8px; line-height: 1.4; }
@media (max-width: 768px) { .met-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── TRUST ── */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.trust-card {
  background: var(--bg-card); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: 16px; padding: 32px;
}
.trust-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.trust-card p { font-size: 13px; line-height: 1.7; color: var(--text-secondary); }
.trust-ico {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; background: rgba(110,231,183,0.08);
}
.trust-ico svg { width: 22px; height: 22px; stroke: var(--accent-mint); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 768px) { .trust-grid { grid-template-columns: 1fr; } }

/* ── CTA ── */
.cta-section { padding: 120px 0; position: relative; overflow: hidden; text-align: center; z-index: 1; }
.cta-section::before {
  content: ''; position: absolute; bottom: -100px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(110,231,183,0.08) 0%, rgba(125,211,252,0.04) 40%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 500; letter-spacing: -0.025em; margin-bottom: 16px; font-family: 'Instrument Sans', system-ui, sans-serif; }
.cta-section h2 em {
  font-family: 'Fraunces', 'Instrument Sans', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, var(--accent-mint), var(--accent-ice));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.cta-section p { font-size: 17px; color: var(--text-secondary); max-width: 520px; margin: 0 auto 32px; line-height: 1.6; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
footer { padding: 48px 0; border-top: 1px solid var(--border); position: relative; z-index: 1; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-left { display: flex; align-items: center; gap: 16px; }
.footer-left svg { height: 22px; width: auto; }
.footer-copy { font-size: 12px; color: var(--text-muted); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 12px; color: var(--text-muted); text-decoration: none; transition: color 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.footer-links a:hover { color: var(--text-primary); }
.reveal { opacity: 0; transform: translateY(28px); transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border-bright); border-radius: 3px; }

/* ── LUXURY MATERIALITY ── */
.ambient-glow, .vignette, .grain {
  position: fixed; inset: 0; pointer-events: none;
}
.ambient-glow {
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 35%, rgba(110, 231, 183, 0.05) 0%, transparent 55%),
    radial-gradient(ellipse 80% 60% at 50% 90%, rgba(125, 211, 252, 0.035) 0%, transparent 60%);
}
.vignette {
  z-index: 3;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.45) 100%);
}
.grain {
  z-index: 4;
  opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
body.light .vignette { background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.08) 100%); }
body.light .grain { opacity: 0.03; }

/* Ensure chrome sits above materiality */
nav, footer, .hero, .section, .cta-section, main { position: relative; z-index: 10; }

/* — converted from inline style attributes — */
.hero-stat-value-sm { font-size:28px;letter-spacing:-0.02em; }
