/* ============================================================
   NAVORUS — The AI Operating System for Trucking
   Design system + section styles
   ============================================================ */

:root {
  /* Color */
  --bg:        #050508;
  --bg-navy:   #03040f;
  --bg-raise:  #0a0b14;
  --cobalt:    #0066ff;
  --cobalt-hi: #3d8bff;
  --indigo:    #3b00ff;
  --gold:      #f5a623;
  --white:     #ffffff;
  --gray:      #a0aec0;
  --gray-dim:  #6b7488;
  --line:      rgba(255,255,255,0.08);
  --line-2:    rgba(255,255,255,0.04);
  --glass:     rgba(255,255,255,0.035);
  --glass-2:   rgba(255,255,255,0.06);

  /* Type */
  --display: "Space Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  /* Glow */
  --glow-cobalt: 0 0 40px rgba(0,102,255,0.45);
  --glow-soft:   0 0 80px rgba(0,102,255,0.18);

  --maxw: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--display);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  cursor: none;
}
@media (max-width: 860px) { body { cursor: auto; } }

/* persistent space backdrop */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1200px 800px at 70% -10%, rgba(59,0,255,0.16), transparent 60%),
    radial-gradient(1000px 700px at 10% 110%, rgba(0,102,255,0.12), transparent 55%),
    var(--bg);
  z-index: -3;
}
/* dot-matrix grid */
.grid-field {
  position: fixed;
  inset: 0;
  z-index: -2;
  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: 64px 64px;
  mask-image: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), #000 0%, rgba(0,0,0,0.35) 35%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), #000 0%, rgba(0,0,0,0.35) 35%, transparent 70%);
  transition: opacity .4s;
}

img, canvas { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

::selection { background: rgba(0,102,255,0.4); color: #fff; }

/* ---- shared layout ---- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px){ .wrap { padding: 0 20px; } }

section { position: relative; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cobalt-hi);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: linear-gradient(90deg, var(--cobalt), transparent);
}

h1, h2, h3 { font-weight: 700; line-height: 1.02; letter-spacing: -0.02em; }

.section-title {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  text-wrap: balance;
  margin: 18px 0 0;
}
.section-lead {
  color: var(--gray);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  max-width: 620px;
  margin-top: 20px;
  line-height: 1.6;
}

.text-grad {
  background: linear-gradient(120deg, #fff 20%, var(--cobalt-hi) 60%, var(--indigo));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.text-gold { color: var(--gold); }

/* ---- buttons ---- */
.btn {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  border: 0;
  border-radius: 12px;
  padding: 16px 26px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
  position: relative;
  white-space: nowrap;
}
@media (max-width:860px){ .btn{ cursor:pointer; } }
.btn-primary {
  background: linear-gradient(180deg, var(--cobalt-hi), var(--cobalt));
  color: #fff;
  box-shadow: 0 0 0 1px rgba(0,102,255,0.5), 0 10px 40px -8px rgba(0,102,255,0.7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(61,139,255,0.8), 0 16px 50px -6px rgba(0,102,255,0.9); }
.btn-ghost {
  background: var(--glass);
  color: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn-ghost:hover { background: var(--glass-2); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18); transform: translateY(-2px); }
.btn-lg { padding: 19px 34px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; justify-content: center; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  transition: background .4s, backdrop-filter .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5,5,8,0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  padding: 12px 32px;
}
.logo { display: flex; align-items: center; gap: 13px; font-weight: 700; letter-spacing: 0.04em; font-size: 18px; }
.logo .mark {
  height: 42px; width: auto; position: relative;
  display: flex; align-items: center;
}
.logo .mark::before {
  content: ""; position: absolute; inset: -4px -8px;
  background: radial-gradient(ellipse at center, rgba(245,166,35,0.16), transparent 68%);
  pointer-events: none;
}
.logo .mark img { height: 100%; width: auto; display: block; position: relative; filter: drop-shadow(0 0 8px rgba(245,166,35,0.45)); }
.nav.scrolled .logo .mark { height: 37px; transition: height .4s; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 14px; color: var(--gray); transition: color .25s; position: relative; }
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-burger { display: none; }
@media (max-width: 860px) {
  .nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .nav .btn { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex; align-items: center;
  position: relative;
  padding: 120px 0 60px;
  overflow: hidden;
}
#hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
#hero-canvas.ready { opacity: 1; }
/* CSS fallback orb if WebGL fails */
.hero-fallback {
  position: absolute; top: 50%; left: 66%; transform: translate(-50%,-50%);
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(61,139,255,0.55), rgba(59,0,255,0.25) 45%, transparent 70%);
  filter: blur(6px);
  animation: floaty 8s ease-in-out infinite;
  z-index: 0; display: none;
}
.hero.no-webgl .hero-fallback { display: block; }
@keyframes floaty { 0%,100%{ transform: translate(-50%,-54%);} 50%{ transform: translate(-50%,-46%);} }

.hero-inner { position: relative; z-index: 3; max-width: 760px; }
.hero h1 {
  font-size: clamp(2.6rem, 6.6vw, 5.4rem);
  line-height: 0.98;
  margin: 26px 0 0;
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: block; }
.hero-sub {
  color: var(--gray);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  max-width: 580px;
  margin: 28px 0 0;
  line-height: 1.6;
}
.hero-cta { display: flex; gap: 16px; margin-top: 38px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 54px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--gray-dim);
  display: flex; align-items: center; gap: 12px;
  max-width: 560px;
}
.hero-trust .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cobalt); box-shadow: 0 0 10px var(--cobalt); flex: none; animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100%{ opacity: 1;} 50%{ opacity: .35; } }

.scroll-hint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gray-dim); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-hint .bar { width: 1px; height: 40px; background: linear-gradient(var(--cobalt), transparent); animation: scrolldown 2s infinite; }
@keyframes scrolldown { 0%{ transform: scaleY(0); transform-origin: top;} 50%{ transform: scaleY(1); transform-origin: top;} 51%{ transform-origin: bottom;} 100%{ transform: scaleY(0); transform-origin: bottom; } }
@media (max-width:860px){ .scroll-hint{ display:none; } }

/* ============================================================
   REVEAL (scroll)
   ============================================================ */
/* Reveal is JS-gated: if app.js fails to run, content stays visible */
html.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ============================================================
   PROBLEM / STATS
   ============================================================ */
.problem { padding: 130px 0; }
.problem .section-title { max-width: 880px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 64px; }
.stat-card {
  background: var(--glass);
  border-radius: 18px;
  padding: 34px 30px 30px;
  box-shadow: inset 0 0 0 1px var(--line);
  position: relative; overflow: hidden;
}
.stat-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,102,255,0.7), transparent);
  opacity: 0; transition: opacity .5s;
}
.stat-card:hover::before { opacity: 1; }
.stat-num { font-size: clamp(2.6rem, 4.6vw, 3.6rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.stat-num.gold { color: var(--gold); }
.stat-num.cobalt { color: var(--cobalt-hi); }
.stat-label { color: var(--gray); margin-top: 16px; font-size: 15px; line-height: 1.55; }
.stat-tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray-dim); margin-bottom: 18px; }
@media (max-width: 860px){ .stat-grid { grid-template-columns: 1fr; } .problem{ padding: 90px 0; } }

/* ============================================================
   SOLUTION / PRODUCT TOGGLE
   ============================================================ */
.solution { padding: 130px 0; }
.toggle-wrap { display: flex; justify-content: center; margin-top: 46px; }
.toggle {
  display: inline-flex; position: relative;
  background: var(--glass); border-radius: 999px; padding: 6px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.toggle button {
  position: relative; z-index: 2;
  font-family: var(--display); font-weight: 600; font-size: 14.5px;
  color: var(--gray); background: none; border: 0; cursor: none;
  padding: 12px 26px; border-radius: 999px; transition: color .35s;
  display: flex; align-items: center; gap: 9px;
}
@media (max-width:860px){ .toggle button{ cursor:pointer; padding: 11px 16px; font-size: 13px; } }
.toggle button.active { color: #fff; }
.toggle .thumb {
  position: absolute; z-index: 1; top: 6px; bottom: 6px; left: 6px;
  border-radius: 999px; transition: transform .5s var(--ease), background .5s, width .5s var(--ease);
  background: linear-gradient(180deg, var(--cobalt-hi), var(--cobalt));
  box-shadow: var(--glow-cobalt);
}
.toggle.alt .thumb { background: linear-gradient(180deg, #ffce6e, var(--gold)); box-shadow: 0 0 34px rgba(245,166,35,0.5); }

.product-stage { margin-top: 56px; position: relative; }
.product-panel { display: none; }
.product-panel.active { display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; animation: panelIn .7s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(26px) scale(.99);} to { opacity: 1; transform: none; } }
.product-copy .p-tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cobalt-hi); display: inline-block; padding: 7px 13px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(0,102,255,0.4); margin-bottom: 22px; white-space: nowrap;
}
.product-panel[data-p="vault"] .p-tag { color: var(--gold); box-shadow: inset 0 0 0 1px rgba(245,166,35,0.4); }
.product-copy h3 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.product-copy p.lede { color: var(--gray); margin-top: 18px; font-size: 1.08rem; line-height: 1.65; }
.feat-list { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.feat-list li { display: flex; align-items: flex-start; gap: 13px; color: #cdd5e3; font-size: 15.5px; opacity: 0; transform: translateX(-12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.product-panel.active .feat-list li { opacity: 1; transform: none; }
.product-panel.active .feat-list li:nth-child(1){ transition-delay:.12s;}
.product-panel.active .feat-list li:nth-child(2){ transition-delay:.20s;}
.product-panel.active .feat-list li:nth-child(3){ transition-delay:.28s;}
.product-panel.active .feat-list li:nth-child(4){ transition-delay:.36s;}
.product-panel.active .feat-list li:nth-child(5){ transition-delay:.44s;}
.feat-list .ic { color: var(--cobalt-hi); flex: none; margin-top: 2px; }
.product-panel[data-p="vault"] .feat-list .ic { color: var(--gold); }

/* product visual cards */
.product-visual {
  position: relative; aspect-ratio: 1 / 0.92;
  border-radius: 22px; overflow: hidden;
  background: linear-gradient(160deg, var(--bg-raise), #060713);
  box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0,0,0,0.9);
  display: grid; place-items: center;
}
@media (max-width: 920px){
  .product-panel.active { grid-template-columns: 1fr; gap: 36px; }
  .solution{ padding: 90px 0; }
}

/* ---- Vault visual (knowledge capture) ---- */
.vault-scene { position: absolute; inset: 0; }
.vault-core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 132px; height: 132px; border-radius: 26px;
  background: radial-gradient(circle at 40% 35%, rgba(61,139,255,0.6), rgba(59,0,255,0.35) 60%, rgba(10,11,20,0.9));
  box-shadow: 0 0 60px rgba(0,102,255,0.5), inset 0 0 0 1px rgba(255,255,255,0.18);
  display: grid; place-items: center;
  animation: corePulse 3.4s ease-in-out infinite;
}
@keyframes corePulse { 0%,100%{ box-shadow: 0 0 50px rgba(0,102,255,0.4), inset 0 0 0 1px rgba(255,255,255,0.18);} 50%{ box-shadow: 0 0 90px rgba(0,102,255,0.75), inset 0 0 0 1px rgba(255,255,255,0.3);} }
.vault-core svg { width: 54px; height: 54px; }
.vault-ring { position: absolute; top: 50%; left: 50%; border-radius: 50%; transform: translate(-50%,-50%); box-shadow: inset 0 0 0 1px rgba(0,102,255,0.18); }
.knowledge-chip {
  position: absolute; font-family: var(--mono); font-size: 11.5px; white-space: nowrap;
  color: #cdd5e3; padding: 7px 12px; border-radius: 8px;
  background: rgba(10,12,22,0.8); box-shadow: inset 0 0 0 1px var(--line);
  animation: absorb 6s linear infinite;
  opacity: 0;
}
@keyframes absorb {
  0% { opacity: 0; transform: translate(var(--fx), var(--fy)) scale(1); }
  12% { opacity: 1; }
  72% { opacity: 1; }
  100% { opacity: 0; transform: translate(0,0) scale(0.3); }
}

/* ---- FleetCore visual (mini map) ---- */
.fleet-map { position: absolute; inset: 0; }
.fleet-map canvas { width: 100%; height: 100%; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how { padding: 130px 0; }
.steps { margin-top: 70px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 34px; left: 7%; right: 7%; height: 1px;
  background: linear-gradient(90deg, var(--line), var(--line));
}
.step-progress {
  content: ""; position: absolute; top: 34px; left: 7%; height: 1px; width: 0;
  background: linear-gradient(90deg, var(--cobalt), var(--indigo));
  box-shadow: 0 0 10px var(--cobalt);
  transition: width 1.2s var(--ease);
  z-index: 1;
}
.step { position: relative; padding-top: 0; }
.step-num {
  width: 68px; height: 68px; border-radius: 18px;
  background: var(--bg-raise); box-shadow: inset 0 0 0 1px var(--line);
  display: grid; place-items: center; position: relative; z-index: 2;
  font-family: var(--mono); font-size: 20px; color: var(--gray-dim);
  transition: all .6s var(--ease);
}
.step.lit .step-num {
  color: #fff; background: linear-gradient(180deg, rgba(0,102,255,0.25), rgba(59,0,255,0.15));
  box-shadow: inset 0 0 0 1px rgba(0,102,255,0.6), 0 0 34px rgba(0,102,255,0.45);
}
.step h4 { font-size: 1.18rem; margin-top: 26px; transition: color .5s; color: #eef1f6; }
.step p { color: var(--gray); font-size: 14.5px; margin-top: 12px; line-height: 1.6; }
.step .step-ic { position: absolute; top: 20px; right: 14px; color: var(--gray-dim); opacity: 0; transition: opacity .6s, color .6s; }
.step.lit .step-ic { opacity: 1; color: var(--cobalt-hi); }
@media (max-width: 860px){
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .steps::before, .step-progress { display: none; }
  .how{ padding: 90px 0; }
}

/* ============================================================
   FLEETCORE DASHBOARD DEMO
   ============================================================ */
.dash-section { padding: 130px 0; }
.dash {
  margin-top: 56px;
  border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, #080a13, #05060d);
  box-shadow: inset 0 0 0 1px var(--line), 0 50px 120px -50px rgba(0,0,0,0.95);
}
.dash-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px; border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.015);
}
.dash-top .left { display: flex; align-items: center; gap: 14px; }
.dash-dots { display: flex; gap: 7px; }
.dash-dots i { width: 11px; height: 11px; border-radius: 50%; background: #2a2e3c; display: block; }
.dash-title { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--gray); }
.sys-ok { display: flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 12px; color: #5fd39a; }
.sys-ok .led { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 10px #34d399; animation: pulse 1.8s infinite; }

.dash-body { display: grid; grid-template-columns: 1.7fr 1fr; gap: 0; }
.dash-kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.kpi { background: #06070e; padding: 18px 20px; }
.kpi .k-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray-dim); }
.kpi .k-val { font-size: 1.7rem; font-weight: 700; margin-top: 8px; letter-spacing: -0.02em; }
.kpi .k-val.green { color: #34d399; } .kpi .k-val.gold { color: var(--gold); } .kpi .k-val.cobalt{ color: var(--cobalt-hi); }
.dash-left { border-right: 1px solid var(--line); }
.fleet-rows { padding: 8px 0; }
.fleet-head, .fleet-row {
  display: grid; grid-template-columns: 1.4fr 0.8fr 1fr 0.9fr; gap: 10px;
  padding: 13px 22px; align-items: center;
}
.fleet-head { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray-dim); padding-bottom: 8px; }
.fleet-row { border-top: 1px solid var(--line-2); font-size: 14px; transition: background .3s; }
.fleet-row:hover { background: rgba(255,255,255,0.02); }
.fleet-row .drv { display: flex; align-items: center; gap: 11px; }
.fleet-row .av { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 12px; font-weight: 700; font-family: var(--mono); flex: none; }
.truck-id { font-family: var(--mono); color: var(--gray); font-size: 13px; }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-family: var(--mono); }
.status .d { width: 7px; height: 7px; border-radius: 50%; flex:none; }
.status.rolling { color: #34d399; } .status.rolling .d{ background:#34d399; box-shadow:0 0 8px #34d399;}
.status.rest    { color: var(--gold); } .status.rest .d{ background:var(--gold);}
.status.load    { color: var(--cobalt-hi);} .status.load .d{ background:var(--cobalt-hi); box-shadow:0 0 8px var(--cobalt);}
.eta { font-family: var(--mono); font-size: 13px; color: #cdd5e3; }

/* feed */
.feed { background: #04050b; padding: 18px 20px; display: flex; flex-direction: column; }
.feed-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.feed-head .ttl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray); }
.feed-list { display: flex; flex-direction: column; gap: 10px; position: relative; min-height: 280px; }
.feed-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 13px; border-radius: 11px;
  background: rgba(255,255,255,0.025); box-shadow: inset 0 0 0 1px var(--line-2);
  animation: feedIn .55s var(--ease);
}
@keyframes feedIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.feed-item .fi {
  width: 30px; height: 30px; border-radius: 9px; flex: none; display: grid; place-items: center;
}
.feed-item .ft { font-size: 13px; line-height: 1.45; color: #dfe4ee; }
.feed-item .fm { font-family: var(--mono); font-size: 10.5px; color: var(--gray-dim); margin-top: 4px; }
.fi.ok { background: rgba(52,211,153,0.12); color: #34d399; }
.fi.warn { background: rgba(245,166,35,0.14); color: var(--gold); }
.fi.info { background: rgba(0,102,255,0.14); color: var(--cobalt-hi); }
.dash-cap { text-align: center; color: var(--gray); margin-top: 30px; font-size: 1.05rem; }
@media (max-width: 920px){
  .dash-body { grid-template-columns: 1fr; }
  .dash-left { border-right: 0; border-bottom: 1px solid var(--line); }
  .dash-kpis { grid-template-columns: repeat(2,1fr); }
  .dash-section{ padding: 90px 0; }
  .fleet-head, .fleet-row { grid-template-columns: 1.4fr 0.9fr 1fr; }
  .fleet-head .col-eta, .fleet-row .eta { display: none; }
}

/* ============================================================
   VAULT CHAT DEMO
   ============================================================ */
.vault-section { padding: 130px 0; }
.vault-grid { margin-top: 56px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; }
.chat {
  border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, #080a13, #05060d);
  box-shadow: inset 0 0 0 1px var(--line), 0 50px 120px -50px rgba(0,0,0,0.95);
}
.chat-top { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.chat-ava { width: 34px; height: 34px; border-radius: 10px; background: radial-gradient(circle at 40% 35%, rgba(61,139,255,0.7), rgba(59,0,255,0.4)); display: grid; place-items: center; box-shadow: 0 0 20px rgba(0,102,255,0.45); }
.chat-ident .nm { font-size: 14px; font-weight: 600; }
.chat-ident .st { font-family: var(--mono); font-size: 10.5px; color: #5fd39a; display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.chat-ident .st .led { width: 6px; height: 6px; border-radius: 50%; background: #34d399; box-shadow: 0 0 8px #34d399; }
.chat-body { padding: 22px 20px; min-height: 340px; display: flex; flex-direction: column; gap: 16px; }
.msg { max-width: 84%; padding: 13px 16px; border-radius: 14px; font-size: 14.5px; line-height: 1.55; animation: feedIn .45s var(--ease); }
.msg.user { align-self: flex-end; background: linear-gradient(180deg, var(--cobalt-hi), var(--cobalt)); color: #fff; border-bottom-right-radius: 5px; }
.msg.ai { align-self: flex-start; background: rgba(255,255,255,0.04); box-shadow: inset 0 0 0 1px var(--line); color: #e6eaf2; border-bottom-left-radius: 5px; }
.msg.ai .src { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cobalt-hi); margin-top: 10px; display: flex; align-items: center; gap: 7px; }
.typing { align-self: flex-start; display: flex; gap: 5px; padding: 14px 16px; background: rgba(255,255,255,0.04); box-shadow: inset 0 0 0 1px var(--line); border-radius: 14px; border-bottom-left-radius: 5px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--gray); animation: typing 1.2s infinite; }
.typing span:nth-child(2){ animation-delay: .2s; } .typing span:nth-child(3){ animation-delay: .4s; }
@keyframes typing { 0%,60%,100%{ opacity: .25; transform: translateY(0);} 30%{ opacity: 1; transform: translateY(-4px);} }
.chat-input { display: flex; gap: 10px; padding: 14px 16px; border-top: 1px solid var(--line); }
.chat-input .field { flex: 1; display: flex; align-items: center; }
.chat-input input {
  width: 100%; background: rgba(255,255,255,0.03); border: 0; box-shadow: inset 0 0 0 1px var(--line);
  border-radius: 10px; padding: 13px 15px; color: #fff; font-family: var(--display); font-size: 14px; outline: none;
}
.chat-input input:focus { box-shadow: inset 0 0 0 1px rgba(0,102,255,0.6); }
.chat-input button { background: linear-gradient(180deg, var(--cobalt-hi), var(--cobalt)); border: 0; border-radius: 10px; width: 46px; display: grid; place-items: center; cursor: none; }
@media (max-width:860px){ .chat-input button{ cursor:pointer; } }
.suggestions { display: flex; flex-wrap: wrap; gap: 9px; padding: 0 16px 16px; }
.chip {
  font-family: var(--mono); font-size: 11.5px; color: var(--gray);
  padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,0.025);
  box-shadow: inset 0 0 0 1px var(--line); cursor: none; transition: all .25s;
}
@media (max-width:860px){ .chip{ cursor:pointer; } }
.chip:hover { color: #fff; box-shadow: inset 0 0 0 1px rgba(0,102,255,0.5); }
@media (max-width: 920px){ .vault-grid { grid-template-columns: 1fr; gap: 40px; } .vault-section{ padding: 90px 0; } }

/* ============================================================
   SOCIAL PROOF
   ============================================================ */
.proof { padding: 130px 0; }
.proof-grid { margin-top: 60px; display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.tcard { background: var(--glass); border-radius: 18px; padding: 30px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.stars { display: flex; gap: 4px; color: var(--gold); margin-bottom: 18px; }
.tcard p { color: #dfe4ee; font-size: 15.5px; line-height: 1.6; flex: 1; }
.tcard .who { display: flex; align-items: center; gap: 13px; margin-top: 24px; }
.tcard .who .av { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; font-family: var(--mono); flex: none; }
.tcard .who .nm { font-size: 14.5px; font-weight: 600; }
.tcard .who .role { font-family: var(--mono); font-size: 11px; color: var(--gray-dim); margin-top: 3px; }
@media (max-width: 920px){ .proof-grid { grid-template-columns: 1fr; } .proof{ padding: 90px 0; } }

/* ============================================================
   PRICING SIGNAL
   ============================================================ */
.pricing { padding: 130px 0; }
.pricing-card {
  margin-top: 40px; border-radius: 24px; padding: 64px 56px;
  background: linear-gradient(150deg, rgba(0,102,255,0.1), rgba(59,0,255,0.06) 60%, transparent);
  box-shadow: inset 0 0 0 1px var(--line); position: relative; overflow: hidden;
  text-align: center;
}
.pricing-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 300px at 50% -20%, rgba(0,102,255,0.25), transparent 70%);
}
.pricing-card .section-title { margin: 0 auto; }
.pricing-card .section-lead { margin: 22px auto 0; text-align: center; }
.pricing-card .btn { margin-top: 38px; }
@media (max-width:640px){ .pricing-card{ padding: 44px 26px; } .pricing{ padding: 90px 0; } }

/* ---- 4-tier table ---- */
.tier-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.tier {
  position: relative; border-radius: 20px; padding: 30px 24px 28px;
  background: var(--glass); box-shadow: inset 0 0 0 1px var(--line);
  display: flex; flex-direction: column;
}
.tier.popular {
  background: linear-gradient(180deg, rgba(0,102,255,0.1), rgba(59,0,255,0.04));
  box-shadow: inset 0 0 0 1px rgba(0,102,255,0.5), 0 30px 70px -36px rgba(0,102,255,0.6);
}
.tier.premium {
  background: linear-gradient(180deg, rgba(52,211,153,0.1), rgba(18,185,129,0.04));
  box-shadow: inset 0 0 0 1px rgba(52,211,153,0.5), 0 30px 70px -36px rgba(52,211,153,0.55);
}
.tier.enterprise {
  background: linear-gradient(180deg, rgba(168,85,247,0.1), rgba(109,40,217,0.04));
  box-shadow: inset 0 0 0 1px rgba(168,85,247,0.5), 0 30px 70px -36px rgba(168,85,247,0.5);
}
.tier-fleet-size {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray-dim); margin-bottom: 14px; display: block;
}
.tier-flag {
  position: absolute; top: -12px; left: 24px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  padding: 6px 13px; border-radius: 999px; color: #fff;
  background: linear-gradient(180deg, var(--cobalt-hi), var(--cobalt)); box-shadow: 0 8px 22px -8px rgba(0,102,255,0.8);
}
.tier-flag.rev { background: linear-gradient(180deg, #5ff0b4, var(--rev)); color: #061a12; box-shadow: 0 8px 22px -8px rgba(52,211,153,0.8); }
.tier-flag.ent { background: linear-gradient(180deg, #d8b4fe, #a855f7); color: #1a0533; box-shadow: 0 8px 22px -8px rgba(168,85,247,0.8); }
.tier-name { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; display: block; }
.tier-name.starter { color: var(--gold); }
.tier-name.core { color: var(--cobalt-hi); }
.tier-name.fleet-plan { color: var(--rev-hi); }
.tier-name.enterprise-plan { color: #d8b4fe; }
.tier-pos { color: var(--gray); font-size: 13.5px; margin-top: 6px; line-height: 1.5; }
.tier-head { padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.tier-feats { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.tier-feats:first-of-type { flex: 1; }
.tier-feats li { display: flex; align-items: flex-start; gap: 10px; color: #cdd5e3; font-size: 13.5px; line-height: 1.45; }
.tier-feats .tic { flex: none; margin-top: 1px; color: var(--gray-dim); }
.tier.popular .tier-feats .tic { color: var(--cobalt-hi); }
.tier.premium .tier-feats .tic { color: var(--rev-hi); }
.tier.enterprise .tier-feats .tic { color: #d8b4fe; }
.tier-limits {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em;
  color: var(--gray-dim); display: block; margin-top: 4px;
}
.tier-feats-more { display: none; margin-top: -3px; padding-top: 11px; border-top: 1px solid rgba(255,255,255,0.06); }
.tier-feats-more.open { display: flex; }
.tier-more-toggle {
  background: none; border: none; cursor: pointer; padding: 10px 0 0;
  font-family: inherit; font-size: 12.5px; font-weight: 600; color: var(--gray-dim);
  text-align: left; display: flex; align-items: center; gap: 6px; transition: color 0.15s ease;
}
.tier-more-toggle:hover { color: #fff; }
.tier-more-toggle .tmt-arrow { transition: transform 0.2s ease; font-size: 11px; }
.tier-more-toggle[aria-expanded="true"] .tmt-arrow { transform: rotate(180deg); }
.tier-price { margin: 22px 0 18px; min-height: 40px; display: flex; flex-direction: column; justify-content: center; }
.tier-price .tp-note { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--gray-dim); }
.tier-price .tp-main { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; color: var(--rev-hi); }
.tier-price .tp-sub { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-dim); margin-top: 5px; }
.tier-price .tp-amount { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.04em; color: #fff; }
.tier-price .tp-per { font-size: 1rem; font-weight: 500; color: var(--gray); margin-left: 3px; }
.tier-price .tp-setup { font-size: 11.5px; color: var(--gray-dim); margin-top: 5px; font-family: var(--mono); letter-spacing: 0.04em; }
.tier-price .tp-annual { font-size: 11px; color: var(--rev-hi); margin-top: 4px; font-weight: 600; }
.stripe-plan-btn { text-decoration: none; display: block; text-align: center; }

/* Add-ons */
.addons-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 860px; margin: 0 auto; }
.addon-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); border-radius: 14px; padding: 18px 20px; display: flex; align-items: center; gap: 14px; }
.addon-icon { font-size: 24px; flex-shrink: 0; }
.addon-info { flex: 1; }
.addon-info strong { display: block; font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 2px; }
.addon-info span { font-size: 12px; color: var(--gray); }
.addon-price { font-size: 18px; font-weight: 800; color: var(--gold); white-space: nowrap; flex-shrink: 0; }
.addon-price span { font-size: 11px; font-weight: 400; color: var(--gray); display: block; text-align: right; }
.pricing-api-note { font-size: 13px; color: var(--gray); text-align: center; max-width: 700px; margin: 28px auto 0; line-height: 1.7; letter-spacing: 0; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; }
@media (max-width: 620px) { .addons-grid { grid-template-columns: 1fr; } }
.btn-rev { background: linear-gradient(180deg, #5ff0b4, var(--rev)); color: #061a12; box-shadow: 0 0 0 1px rgba(52,211,153,0.5), 0 10px 40px -8px rgba(52,211,153,0.7); }
.btn-rev:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(95,240,180,0.8), 0 16px 50px -6px rgba(52,211,153,0.9); }
.btn-ent { background: linear-gradient(180deg, #d8b4fe, #a855f7); color: #1a0533; box-shadow: 0 0 0 1px rgba(168,85,247,0.5), 0 10px 40px -8px rgba(168,85,247,0.7); }
.btn-ent:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px #d8b4fe, 0 16px 50px -6px rgba(168,85,247,0.9); }
@media (max-width: 1100px){ .tier-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px){ .tier-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; } }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final { padding: 150px 0 120px; text-align: center; position: relative; overflow: hidden; }
.final h2 { font-size: clamp(2.2rem, 5.4vw, 4.4rem); max-width: 900px; margin: 24px auto 0; text-wrap: balance; line-height: 1.04; }
.brand-lockup { width: clamp(150px, 20vw, 210px); height: auto; margin: 0 auto 30px; display: block; filter: drop-shadow(0 0 40px rgba(245,166,35,0.3)); }
.final p.sub { color: var(--gray); font-size: clamp(1.05rem,1.6vw,1.3rem); margin: 24px auto 0; max-width: 560px; }
.final .btn { margin-top: 40px; }
.final .fineprint { font-family: var(--mono); font-size: 12px; color: var(--gray-dim); margin-top: 22px; }
.final-glow { position: absolute; bottom: -200px; left: 50%; transform: translateX(-50%); width: 900px; height: 500px; background: radial-gradient(circle, rgba(0,102,255,0.3), transparent 65%); filter: blur(20px); z-index: 0; }
.final > * { position: relative; z-index: 1; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer .logo { margin-bottom: 18px; }
.footer .tag { color: var(--gray-dim); font-size: 14px; max-width: 280px; line-height: 1.6; }
.footer .col h5 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray-dim); margin-bottom: 16px; }
.footer .col a { display: block; color: var(--gray); font-size: 14px; margin-bottom: 11px; transition: color .25s; }
.footer .col a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 50px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--gray-dim); font-size: 13px; }
.footer-bottom .socials { display: flex; gap: 16px; }
.footer-bottom a { color: var(--gray-dim); transition: color .25s; }
.footer-bottom a:hover { color: var(--cobalt-hi); }
@media (max-width: 860px){ .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } .footer-bottom{ flex-direction: column; gap: 16px; text-align: center; } }

/* ============================================================
   MODAL
   ============================================================ */
.modal-scrim {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(2,3,8,0.75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: grid; place-items: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity .4s;
}
.modal-scrim.open { opacity: 1; pointer-events: auto; }
.modal {
  width: 100%; max-width: 480px; border-radius: 22px; padding: 38px 36px;
  background: linear-gradient(180deg, #0b0d18, #07080f);
  box-shadow: inset 0 0 0 1px var(--line), 0 60px 120px -40px rgba(0,0,0,0.9), 0 0 80px rgba(0,102,255,0.15);
  transform: translateY(20px) scale(.97); transition: transform .5s var(--ease); position: relative;
}
.modal-scrim.open .modal { transform: none; }
.modal .close { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border-radius: 10px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; cursor: none; color: var(--gray); transition: all .25s; }
@media (max-width:860px){ .modal .close{ cursor:pointer; } }
.modal .close:hover { color: #fff; background: var(--glass-2); }
.modal .eyebrow { margin-bottom: 14px; }
.modal h3 { font-size: 1.7rem; }
.modal p.m-sub { color: var(--gray); margin-top: 10px; font-size: 14.5px; line-height: 1.55; }
.form-row { margin-top: 18px; }
.form-row label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-dim); display: block; margin-bottom: 8px; }
.form-row input, .form-row select {
  width: 100%; background: rgba(255,255,255,0.03); border: 0; box-shadow: inset 0 0 0 1px var(--line);
  border-radius: 11px; padding: 14px 15px; color: #fff; font-family: var(--display); font-size: 15px; outline: none; transition: box-shadow .25s;
}
.form-row input:focus, .form-row select:focus { box-shadow: inset 0 0 0 1px rgba(0,102,255,0.7); }
.form-row select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a0aec0' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.modal .btn { margin-top: 26px; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-error { color: #f87171; font-size: 13px; line-height: 1.5; margin-top: 16px; min-height: 0; }
.form-error:empty { margin-top: 0; }
.modal-success { text-align: center; padding: 20px 0; }
.modal-success .check { width: 70px; height: 70px; margin: 0 auto 22px; border-radius: 50%; background: rgba(52,211,153,0.12); display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(52,211,153,0.4); }
.modal-success h3 { font-size: 1.5rem; }
.modal-success p { color: var(--gray); margin-top: 12px; font-size: 14.5px; }

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor-ring, .cursor-dot { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; border-radius: 50%; mix-blend-mode: screen; }
.cursor-ring { width: 34px; height: 34px; box-shadow: 0 0 0 1.5px rgba(61,139,255,0.7), 0 0 22px rgba(0,102,255,0.5); transition: width .25s, height .25s, background .25s, box-shadow .25s; transform: translate(-50%,-50%); }
.cursor-dot { width: 5px; height: 5px; background: #fff; transform: translate(-50%,-50%); }
.cursor-ring.big { width: 64px; height: 64px; background: rgba(0,102,255,0.1); box-shadow: 0 0 0 1.5px rgba(61,139,255,0.9), 0 0 40px rgba(0,102,255,0.7); }
@media (max-width: 860px){ .cursor-ring, .cursor-dot { display: none; } }

/* ============================================================
   MOBILE STICKY CTA
   ============================================================ */
.mobile-cta { display: none; }
@media (max-width: 860px){
  .mobile-cta {
    display: block; position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 90;
    transform: translateY(140%); transition: transform .5s var(--ease);
  }
  .mobile-cta.show { transform: none; }
  .mobile-cta .btn { box-shadow: 0 0 0 1px rgba(0,102,255,0.6), 0 16px 40px -8px rgba(0,0,0,0.8), 0 0 40px rgba(0,102,255,0.5); min-height: 56px; }
}

/* mobile menu */
.nav-burger { background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); border:0; width: 42px; height: 42px; border-radius: 11px; display: none; place-items: center; color: #fff; cursor: pointer; }
@media (max-width: 860px){ .nav-burger { display: grid; } }
.mobile-menu {
  position: fixed; inset: 0; z-index: 95; background: rgba(5,5,8,0.96); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 40px;
  opacity: 0; pointer-events: none; transition: opacity .35s;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a { font-size: 1.6rem; font-weight: 600; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 24px; }
.mobile-menu .mclose { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 12px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); color: #fff; border:0; display:grid; place-items:center; }

/* ============================================================
   FLEETCORE REVENUE — Profit Intelligence (premium tier)
   accent + toggle state + product panel visual
   ============================================================ */
:root {
  --rev:    #12b981;   /* emerald — profit */
  --rev-hi: #34d399;
}

/* toggle: third state + mobile fit for 3 options */
.toggle.rev .thumb { background: linear-gradient(180deg, #5ff0b4, var(--rev)); box-shadow: 0 0 34px rgba(52,211,153,0.5); }
.product-panel[data-p="revenue"] .p-tag { color: var(--rev-hi); box-shadow: inset 0 0 0 1px rgba(52,211,153,0.4); }
.product-panel[data-p="revenue"] .feat-list .ic { color: var(--rev-hi); }
@media (max-width: 600px){
  .toggle button svg { display: none; }
  .toggle button { padding: 11px 13px; font-size: 12px; gap: 0; }
}

/* ---- revenue product-panel visual (profit core) ---- */
.prod-rev::before { background: radial-gradient(circle, rgba(95,240,180,0.42), rgba(52,211,153,0.22) 42%, transparent 72%); }
.prod-rev { position: absolute; inset: 0; display: grid; place-items: center; }
.rev-core {
  position: relative; z-index: 2; width: 128px; height: 128px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 42% 36%, rgba(95,240,180,0.6), rgba(18,185,129,0.32) 60%, rgba(10,11,20,0.9));
  box-shadow: 0 0 60px rgba(52,211,153,0.5), inset 0 0 0 1px rgba(255,255,255,0.16);
  animation: corePulse 3.4s ease-in-out infinite;
}
.rev-core svg { width: 52px; height: 52px; color: #eafff5; }
.rev-core::after {
  content: ""; position: absolute; inset: -22px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(52,211,153,0.22);
}
.rev-verdict-pill {
  position: absolute; z-index: 3; top: calc(50% + 86px); left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; white-space: nowrap;
  color: #061a12; font-weight: 700; padding: 9px 16px; border-radius: 999px;
  background: linear-gradient(180deg, #5ff0b4, var(--rev)); box-shadow: 0 0 26px rgba(52,211,153,0.55);
}
.rev-chip {
  position: absolute; z-index: 3; font-family: var(--mono); font-size: 11px; white-space: nowrap;
  color: #d7f5e8; padding: 8px 12px; border-radius: 9px;
  background: rgba(10,12,22,0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(52,211,153,0.22), 0 18px 40px -18px rgba(0,0,0,0.85);
  display: flex; align-items: center; gap: 8px;
}
.rev-chip .d { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.rev-chip .d.g { background: var(--rev-hi); box-shadow: 0 0 8px var(--rev-hi); }
.rev-chip .d.c { background: var(--cobalt-hi); box-shadow: 0 0 8px var(--cobalt-hi); }
.rev-chip .d.go { background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.rc-1 { left: 4%; top: 16%; animation: floatNote 6s ease-in-out infinite; }
.rc-2 { right: 2%; top: 40%; animation: floatNote 6.6s ease-in-out infinite 0.4s; }
.rc-3 { left: 8%; bottom: 16%; animation: floatNote 6.2s ease-in-out infinite 0.7s; }

/* ============================================================
   REVENUE SECTION — "Start Selling a Number, Not a Dashboard"
   ============================================================ */
.revenue-section { padding: 130px 0; }
.revenue-section .section-title { max-width: 880px; }

/* three stat cards */
.rev-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 60px; }
.rev-stat {
  background: var(--glass); border-radius: 18px; padding: 32px 30px 30px;
  box-shadow: inset 0 0 0 1px var(--line); position: relative; overflow: hidden;
}
.rev-stat::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(52,211,153,0.7), transparent);
  opacity: 0; transition: opacity .5s;
}
.rev-stat.in::before { opacity: 1; }
.rev-stat .rs-ic {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(52,211,153,0.1); color: var(--rev-hi);
  box-shadow: inset 0 0 0 1px rgba(52,211,153,0.28); margin-bottom: 22px;
}
.rev-stat .rs-num { font-size: clamp(2.3rem, 4vw, 3.1rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--rev-hi); }
.rev-stat .rs-num .rs-unit { font-size: 1.05rem; color: var(--gray); font-weight: 500; letter-spacing: 0; margin-left: 4px; }
.rev-stat .rs-label { color: var(--gray); margin-top: 16px; font-size: 15px; line-height: 1.55; }
.rev-stat .rs-label b { color: #dfe6ee; font-weight: 600; }
@media (max-width: 920px){ .rev-stats { grid-template-columns: 1fr; } .revenue-section { padding: 90px 0; } }

/* ---- load evaluator interface ---- */
.evaluator {
  margin-top: 36px; border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, #080a13, #05060d);
  box-shadow: inset 0 0 0 1px var(--line), 0 50px 120px -50px rgba(0,0,0,0.95);
}
.ev-top {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 22px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.015);
}
.ev-top .dash-title { flex: 1; }
.ev-badge {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--rev-hi); padding: 7px 13px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(52,211,153,0.4); display: flex; align-items: center; gap: 8px;
}
.ev-badge .led { width: 7px; height: 7px; border-radius: 50%; background: var(--rev-hi); box-shadow: 0 0 8px var(--rev-hi); animation: pulse 1.8s infinite; }
.ev-body { display: grid; grid-template-columns: 1fr 1.15fr; gap: 0; }

/* form side */
.ev-form { padding: 30px 30px 34px; border-right: 1px solid var(--line); }
.ev-form .ev-lab { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray-dim); display: block; margin-bottom: 13px; }
.ev-lanes { display: flex; flex-direction: column; gap: 9px; margin-bottom: 26px; }
.ev-lane {
  display: flex; align-items: center; gap: 12px; text-align: left;
  font-family: var(--display); font-size: 14.5px; color: var(--gray);
  background: rgba(255,255,255,0.025); border: 0; box-shadow: inset 0 0 0 1px var(--line);
  border-radius: 12px; padding: 14px 16px; cursor: none; transition: all .25s; width: 100%;
}
@media (max-width:860px){ .ev-lane { cursor: pointer; } }
.ev-lane:hover { color: #fff; box-shadow: inset 0 0 0 1px rgba(52,211,153,0.4); }
.ev-lane.active { color: #fff; background: rgba(52,211,153,0.08); box-shadow: inset 0 0 0 1px rgba(52,211,153,0.6); }
.ev-lane .ev-pin { color: var(--rev-hi); flex: none; }
.ev-lane .ev-mi { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--gray-dim); white-space: nowrap; }
.ev-rate-row { display: flex; gap: 10px; align-items: stretch; }
.ev-rate-field { flex: 1; position: relative; display: flex; align-items: center; }
.ev-rate-field .ev-cur { position: absolute; left: 15px; color: var(--gray); font-size: 16px; font-family: var(--mono); }
.ev-rate-field input {
  width: 100%; background: rgba(255,255,255,0.03); border: 0; box-shadow: inset 0 0 0 1px var(--line);
  border-radius: 11px; padding: 14px 15px 14px 30px; color: #fff; font-family: var(--mono); font-size: 16px; outline: none; transition: box-shadow .25s;
}
.ev-rate-field input:focus { box-shadow: inset 0 0 0 1px rgba(52,211,153,0.6); }
.ev-eval {
  background: linear-gradient(180deg, #5ff0b4, var(--rev)); color: #061a12; font-weight: 700;
  border: 0; border-radius: 11px; padding: 0 22px; font-family: var(--display); font-size: 14.5px;
  cursor: none; white-space: nowrap; transition: transform .25s, box-shadow .25s;
  box-shadow: 0 10px 30px -10px rgba(52,211,153,0.7);
}
@media (max-width:860px){ .ev-eval { cursor: pointer; } }
.ev-eval:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(52,211,153,0.9); }
.ev-hint { font-family: var(--mono); font-size: 11px; color: var(--gray-dim); margin-top: 16px; line-height: 1.5; }

/* result side */
.ev-result { padding: 30px 30px 34px; display: flex; flex-direction: column; gap: 24px; position: relative; }
.ev-verdict { display: flex; align-items: center; gap: 20px; }
.ev-ring {
  width: 96px; height: 96px; border-radius: 50%; flex: none; position: relative;
  display: grid; place-items: center; transition: box-shadow .5s, background .5s;
  background: rgba(255,255,255,0.03); box-shadow: inset 0 0 0 2px var(--line);
}
.ev-ring svg { width: 40px; height: 40px; transition: color .4s; color: var(--gray-dim); }
.ev-ring.good { background: rgba(52,211,153,0.1); box-shadow: inset 0 0 0 2px var(--rev-hi), 0 0 44px rgba(52,211,153,0.45); }
.ev-ring.good svg { color: var(--rev-hi); }
.ev-ring.warn { background: rgba(245,166,35,0.1); box-shadow: inset 0 0 0 2px var(--gold), 0 0 44px rgba(245,166,35,0.4); }
.ev-ring.warn svg { color: var(--gold); }
.ev-ring.bad  { background: rgba(248,113,113,0.1); box-shadow: inset 0 0 0 2px #f87171, 0 0 44px rgba(248,113,113,0.4); }
.ev-ring.bad svg { color: #f87171; }
.ev-vlabel { font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray-dim); }
.ev-vmain { font-size: 1.9rem; font-weight: 700; letter-spacing: -0.02em; margin-top: 6px; transition: color .4s; }
.ev-vmain.good { color: var(--rev-hi); } .ev-vmain.warn { color: var(--gold); } .ev-vmain.bad { color: #f87171; }
.ev-vsub { font-size: 13px; color: var(--gray); margin-top: 6px; }
.ev-vsub b { color: #dfe6ee; font-weight: 600; }

.ev-rows { display: flex; flex-direction: column; gap: 1px; background: var(--line); border-radius: 13px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.ev-row { background: #06070e; padding: 14px 16px; display: flex; align-items: center; gap: 13px; }
.ev-row .er-ic { width: 30px; height: 30px; border-radius: 9px; flex: none; display: grid; place-items: center; background: rgba(255,255,255,0.04); color: var(--gray); }
.ev-row .er-main { flex: 1; }
.ev-row .er-k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-dim); }
.ev-row .er-v { font-size: 14.5px; color: #eef1f6; margin-top: 3px; }
.ev-row .er-tag { font-family: var(--mono); font-size: 12px; font-weight: 500; white-space: nowrap; }
.ev-row .er-tag.good { color: var(--rev-hi); } .ev-row .er-tag.warn { color: var(--gold); } .ev-row .er-tag.bad { color: #f87171; }
.ev-result.calc { animation: feedIn .5s var(--ease); }

.rev-cta-row { margin-top: 40px; display: flex; justify-content: center; }
@media (max-width: 920px){
  .ev-body { grid-template-columns: 1fr; }
  .ev-form { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 520px){
  .ev-rate-row { flex-direction: column; }
  .ev-eval { padding: 14px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ============ POWER FEATURES ============ */
.powerfeat { padding: 110px 0; position: relative; }
.pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.pf-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); border-radius: 18px; padding: 28px 26px; transition: transform .3s, border-color .3s, box-shadow .3s; position: relative; overflow: hidden; }
.pf-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(0,102,255,0.5), transparent); opacity: 0; transition: opacity .3s; }
.pf-card:hover { transform: translateY(-3px); border-color: rgba(0,102,255,0.3); box-shadow: 0 18px 48px rgba(0,0,0,0.4); }
.pf-card:hover::before { opacity: 1; }
.pf-ic { width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center; background: rgba(0,102,255,0.1); border: 1px solid rgba(0,102,255,0.25); color: var(--cobalt-hi); margin-bottom: 18px; }
.pf-ic svg { width: 22px; height: 22px; }
.pf-ic.gold { background: rgba(245,166,35,0.1); border-color: rgba(245,166,35,0.3); color: var(--gold); }
.pf-card h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.2px; }
.pf-card p { font-size: 14px; line-height: 1.65; color: #97a3b8; }
@media (max-width: 900px) { .pf-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .pf-grid { grid-template-columns: 1fr; gap: 12px; } .powerfeat { padding: 70px 0; } }

/* ============ FAQ ============ */
.faq-section { padding: 100px 0; }
.faq-list { margin-top: 44px; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); border-radius: 14px; overflow: hidden; transition: border-color .25s; }
.faq-item[open] { border-color: rgba(0,102,255,0.3); }
.faq-item summary { list-style: none; cursor: pointer; padding: 19px 22px; font-weight: 600; font-size: 15.5px; display: flex; align-items: center; justify-content: space-between; gap: 14px; color: #e8edf5; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-x { width: 12px; height: 12px; position: relative; flex: none; }
.faq-x::before, .faq-x::after { content: ''; position: absolute; background: var(--cobalt-hi); transition: transform .25s; }
.faq-x::before { left: 0; top: 5px; width: 12px; height: 2px; }
.faq-x::after { left: 5px; top: 0; width: 2px; height: 12px; }
.faq-item[open] .faq-x::after { transform: rotate(90deg); }
.faq-item p { padding: 0 22px 20px; font-size: 14.5px; line-height: 1.7; color: #97a3b8; max-width: 640px; }
@media (max-width: 620px) { .faq-section { padding: 64px 0; } .faq-item summary { padding: 16px 16px; font-size: 14.5px; } .faq-item p { padding: 0 16px 16px; } }

/* ── FleetCore Revenue brand mark ── */
.rev-head-grid { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.rev-brand { width: clamp(200px, 24vw, 300px); height: auto; flex: none; filter: drop-shadow(0 0 36px rgba(124,184,47,0.22)); border-radius: 18px; }
@media (max-width: 900px) { .rev-head-grid { flex-direction: column; align-items: flex-start; } .rev-brand { margin: 0 auto; width: min(260px, 70vw); } }


/* ============ MOBILE SPACING (polish pass) ============ */
@media (max-width: 640px) {
  .problem, .solution, .how, .dash-section, .vault-section, .proof,
  .pricing, .revenue-section { padding: 64px 0; }
  .powerfeat { padding: 64px 0; }
  .faq-section { padding: 64px 0; }
  .final { padding: 96px 0 80px; }
  .dash-band { margin-top: 32px; }
}
