/* ============================================================
   RENTAQO — Rent-a-Car Operating System
   Design system: dark premium command-center
   Display: Space Grotesk · Body: IBM Plex Sans · Mono: JetBrains Mono
   ============================================================ */

:root {
  /* Surfaces */
  --bg: #07090e;
  --bg-2: #0a0e14;
  --panel: #0e131c;
  --panel-2: #121925;
  --raised: #161e2c;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* Text */
  --text: #eef1f6;
  --text-2: #9aa4b4;
  --text-3: #616b7d;
  --text-faint: #3f4757;

  /* Accents */
  --blue: #4f8cff;
  --blue-2: #6ea2ff;
  --blue-dim: rgba(79, 140, 255, 0.14);
  --green: #1fc18a;
  --green-2: #3bd8a0;
  --green-dim: rgba(31, 193, 138, 0.14);

  /* Status */
  --amber: #f5b23d;
  --red: #f0584f;
  --violet: #9a7cff;
  --cyan: #43c7e0;

  /* Effects */
  --glow-blue: 0 0 0 1px rgba(79,140,255,.35), 0 8px 40px -8px rgba(79,140,255,.45);
  --shadow-card: 0 1px 0 rgba(255,255,255,.04) inset, 0 20px 50px -24px rgba(0,0,0,.8);
  --radius: 16px;
  --radius-sm: 11px;
  --radius-lg: 22px;
  --maxw: 1240px;

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  position: relative;
}

/* Ambient backdrop */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 600px at 78% -8%, rgba(79,140,255,.10), transparent 60%),
    radial-gradient(800px 600px at 10% 12%, rgba(31,193,138,.07), transparent 55%);
}
.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 35%, transparent 78%);
          mask-image: radial-gradient(120% 80% at 50% 0%, #000 35%, transparent 78%);
}

main, nav, footer { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.section { padding: clamp(72px, 11vw, 148px) 0; position: relative; }
.section-tight { padding: clamp(56px, 8vw, 104px) 0; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.06; letter-spacing: -0.02em; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-2);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-dim);
}
.eyebrow.b::before { background: var(--blue); box-shadow: 0 0 0 4px var(--blue-dim); }

.h-display { font-size: clamp(38px, 5.6vw, 74px); letter-spacing: -0.035em; }
.h-section { font-size: clamp(30px, 4vw, 50px); }
.lead { color: var(--text-2); font-size: clamp(16px, 1.5vw, 19px); max-width: 56ch; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head .h-section { margin: 18px 0 18px; }
.center { text-align: center; margin-inline: auto; }

.mono { font-family: var(--font-mono); }
.grad-text { background: linear-gradient(100deg, var(--blue-2) 0%, var(--green-2) 92%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-2 { color: var(--text-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body);
  font-weight: 600; font-size: 15px;
  padding: 13px 22px;
  border-radius: 11px;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--blue); color: #05070d; box-shadow: 0 8px 28px -10px rgba(79,140,255,.8); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -10px rgba(79,140,255,.95); background: var(--blue-2); }
.btn-ghost { background: rgba(255,255,255,.04); color: var(--text); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: var(--line-strong); transform: translateY(-2px); }
.btn-lg { padding: 16px 28px; font-size: 16px; border-radius: 13px; }

/* ---------- Cards ---------- */
.card {
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.card-pad { padding: 26px; }

.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .04em;
  padding: 5px 11px 5px 9px; border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,.03);
  color: var(--text-2);
  white-space: nowrap;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.dot-green { background: var(--green); box-shadow: 0 0 8px var(--green); }
.dot-blue { background: var(--blue); box-shadow: 0 0 8px var(--blue); }
.dot-amber { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.dot-red { background: var(--red); box-shadow: 0 0 8px var(--red); }
.dot-violet { background: var(--violet); box-shadow: 0 0 8px var(--violet); }
.dot-cyan { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.dot-grey { background: var(--text-3); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s;
}
.nav.scrolled {
  background: rgba(7,9,14,.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--text-2); font-size: 14.5px; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 14px; }

/* Wordmark */
.wordmark { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 600; font-size: 21px; letter-spacing: -0.03em; color: var(--text); }
.wordmark .mark {
  width: 30px; height: 30px; border-radius: 9px; position: relative; flex: none;
  background: linear-gradient(140deg, var(--blue) 0%, var(--green) 130%);
  box-shadow: 0 4px 16px -4px rgba(79,140,255,.7);
  display: grid; place-items: center;
}
.wordmark .mark::before {
  content: ""; position: absolute; inset: 0; border-radius: 9px;
  border: 1px solid rgba(255,255,255,.25);
}
.wordmark .mark span {
  width: 12px; height: 12px; border: 2.4px solid #05070d; border-radius: 4px 4px 4px 0;
  transform: rotate(0deg);
}
.wordmark b { font-weight: 600; }
.wordmark .q { color: var(--bg); }

.lang-toggle {
  display: inline-flex; border: 1px solid var(--line-2); border-radius: 9px; overflow: hidden;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
}
.lang-toggle button { padding: 7px 11px; color: var(--text-3); transition: all .15s; }
.lang-toggle button.active { background: rgba(255,255,255,.08); color: var(--text); }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: clamp(48px, 7vw, 92px); padding-bottom: clamp(56px, 8vw, 110px); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1.18fr; gap: 54px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 8px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.025);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--text-2);
  margin-bottom: 26px;
}
.hero-badge b { color: var(--text); font-weight: 600; }
.hero-badge .chip { font-size: 10px; padding: 3px 8px; border-radius: 999px; background: var(--blue-dim); color: var(--blue-2); letter-spacing: .1em; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 32px; font-size: clamp(16px, 1.55vw, 19px); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-meta { display: flex; gap: 26px; margin-top: 38px; flex-wrap: wrap; }
.hero-meta .m { }
.hero-meta .m .n { font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.hero-meta .m .l { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-top: 3px; }
.hero-meta .m .n .u { color: var(--green-2); }

/* Hero dashboard panel */
.hero-panel {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  background:
    linear-gradient(180deg, rgba(22,30,44,.92), rgba(10,14,20,.97));
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(79,140,255,.06);
  overflow: hidden;
  backdrop-filter: blur(6px);
}
.hp-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.018);
}
.hp-top .left { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--text-2); }
.hp-dots { display: flex; gap: 6px; }
.hp-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); display: block; }
.hp-live { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11px; color: var(--green-2); letter-spacing: .08em; }
.hp-live .blip { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: blink 1.6s infinite; }
@keyframes blink { 0%,100%{opacity:1; box-shadow:0 0 0 0 var(--green-dim);} 50%{opacity:.45; box-shadow:0 0 0 5px transparent;} }

.hp-body { padding: 18px; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi {
  background: rgba(255,255,255,.022); border: 1px solid var(--line);
  border-radius: 12px; padding: 13px 13px 12px; position: relative; overflow: hidden;
}
.kpi .kl { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); display: flex; align-items: center; gap: 6px; }
.kpi .kl svg { width: 13px; height: 13px; opacity: .8; }
.kpi .kv { font-family: var(--font-display); font-size: 25px; font-weight: 600; letter-spacing: -.02em; margin-top: 7px; }
.kpi .kv small { font-size: 13px; color: var(--text-3); font-weight: 500; }
.kpi .kd { font-family: var(--font-mono); font-size: 10.5px; margin-top: 3px; display: flex; align-items: center; gap: 4px; }
.kpi .kd.up { color: var(--green-2); }
.kpi .kd.down { color: var(--red); }
.kpi .kd.warn { color: var(--amber); }
.kpi.accent-b { border-color: rgba(79,140,255,.28); background: linear-gradient(180deg, rgba(79,140,255,.08), rgba(79,140,255,.01)); }
.kpi.accent-g { border-color: rgba(31,193,138,.28); background: linear-gradient(180deg, rgba(31,193,138,.08), rgba(31,193,138,.01)); }
.kpi.accent-r { border-color: rgba(240,88,79,.26); }
.kpi .spark { position: absolute; right: 10px; bottom: 8px; height: 22px; width: 56px; opacity: .9; }

.hp-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; margin-top: 10px; }
.hp-util { background: rgba(255,255,255,.022); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.hp-util .t { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.util-bar { height: 9px; border-radius: 6px; background: rgba(255,255,255,.06); margin-top: 12px; overflow: hidden; display: flex; }
.util-bar i { height: 100%; display: block; transition: width 1.4s cubic-bezier(.4,0,.1,1); }
.util-seg { display: flex; gap: 14px; margin-top: 11px; flex-wrap: wrap; }
.util-seg span { font-family: var(--font-mono); font-size: 10.5px; color: var(--text-2); display: inline-flex; align-items: center; gap: 6px; }
.util-seg span i { width: 8px; height: 8px; border-radius: 2px; display: block; }

.hp-feed { background: rgba(255,255,255,.022); border: 1px solid var(--line); border-radius: 12px; padding: 12px 13px; overflow: hidden; }
.hp-feed .t { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 9px; }
.feed-list { display: flex; flex-direction: column; gap: 9px; }
.feed-item { display: flex; align-items: center; gap: 9px; font-size: 12px; color: var(--text-2); opacity: 0; transform: translateY(6px); animation: feedIn .5s forwards; }
.feed-item .mono { color: var(--text); font-size: 11px; }
@keyframes feedIn { to { opacity: 1; transform: none; } }

/* floating chips around the panel */
.float-chip {
  position: absolute; z-index: 3;
  background: rgba(14,19,28,.86); backdrop-filter: blur(10px);
  border: 1px solid var(--line-2); border-radius: 12px;
  padding: 10px 13px; box-shadow: 0 16px 40px -16px rgba(0,0,0,.8);
  display: flex; align-items: center; gap: 10px;
  animation: floaty 5s ease-in-out infinite;
}
.float-chip .ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.float-chip .ic svg { width: 16px; height: 16px; }
.float-chip .tt { font-family: var(--font-mono); font-size: 10px; color: var(--text-3); letter-spacing: .06em; text-transform: uppercase; }
.float-chip .vv { font-family: var(--font-display); font-size: 15px; font-weight: 600; line-height: 1.1; }
.fc-1 { top: 8%; left: -34px; animation-delay: 0s; }
.fc-2 { bottom: 10%; right: -28px; animation-delay: 1.5s; }
@keyframes floaty { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-12px); } }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.012); }
.trust-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 26px 0; flex-wrap: wrap; }
.trust-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); max-width: 230px; line-height: 1.5; }
.trust-label b { color: var(--text); }
.trust-stats { display: flex; gap: 44px; flex-wrap: wrap; }
.trust-stats .s .n { font-family: var(--font-display); font-size: 28px; font-weight: 600; letter-spacing: -.02em; }
.trust-stats .s .l { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-top: 2px; }

/* ============================================================
   PROBLEM (chaos -> control)
   ============================================================ */
.chaos-grid { display: grid; grid-template-columns: 1fr 64px 1fr; gap: 0; align-items: stretch; margin-top: 20px; }
.chaos-col { border-radius: var(--radius-lg); border: 1px solid var(--line); padding: 28px; position: relative; min-height: 380px; }
.chaos-col.before { background: radial-gradient(120% 120% at 30% 0%, rgba(240,88,79,.06), transparent 60%); }
.chaos-col.after { background: radial-gradient(120% 120% at 70% 0%, rgba(31,193,138,.07), transparent 60%); border-color: var(--line-2); }
.chaos-col .ch-head { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.chaos-col .ch-head .tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.before .tag { color: var(--red); }
.after .tag { color: var(--green-2); }
.chaos-col h3 { font-size: 21px; margin-bottom: 6px; }

.scatter { position: relative; height: 280px; }
.scatter .tagx {
  position: absolute; font-family: var(--font-mono); font-size: 12.5px;
  padding: 8px 12px; border-radius: 9px; border: 1px solid rgba(240,88,79,.25);
  background: rgba(240,88,79,.06); color: #f4a39e; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 7px;
  animation: jitter 3.4s ease-in-out infinite;
}
.scatter .tagx svg { width: 14px; height: 14px; }
@keyframes jitter {
  0%,100% { transform: translate(0,0) rotate(var(--r,0deg)); }
  25% { transform: translate(3px,-4px) rotate(calc(var(--r,0deg) + 1.5deg)); }
  50% { transform: translate(-2px,3px) rotate(var(--r,0deg)); }
  75% { transform: translate(2px,2px) rotate(calc(var(--r,0deg) - 1.5deg)); }
}
.order-list { display: flex; flex-direction: column; gap: 11px; }
.order-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 11px; border: 1px solid var(--line);
  background: rgba(255,255,255,.022); font-size: 14px;
}
.order-item .ck { width: 22px; height: 22px; border-radius: 6px; background: var(--green-dim); color: var(--green-2); display: grid; place-items: center; flex: none; }
.order-item .ck svg { width: 13px; height: 13px; }
.order-item .mono { margin-left: auto; font-size: 11px; color: var(--green-2); }

.chaos-mid { display: grid; place-items: center; }
.chaos-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; background: var(--panel); color: var(--blue-2); }
.chaos-arrow svg { width: 20px; height: 20px; }

/* ============================================================
   SOLUTION HUB
   ============================================================ */
.hub-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.hub { position: relative; aspect-ratio: 1; max-width: 520px; margin-inline: auto; width: 100%; }
.hub-core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 134px; height: 134px; border-radius: 26px; z-index: 4;
  background: linear-gradient(150deg, rgba(79,140,255,.9), rgba(31,193,138,.85));
  display: grid; place-items: center; text-align: center;
  box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 20px 60px -16px rgba(79,140,255,.7);
}
.hub-core .wm { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: #05070d; letter-spacing: -.02em; }
.hub-core .sub { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(5,7,13,.7); margin-top: 3px; }
.hub-ring { position: absolute; inset: 8%; border: 1px dashed var(--line-2); border-radius: 50%; }
.hub-ring.r2 { inset: 24%; border-style: solid; border-color: var(--line); }
.hub-node {
  position: absolute; top: 50%; left: 50%;
  width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 14px;
  background: var(--panel-2); border: 1px solid var(--line-2);
  display: grid; place-items: center; color: var(--text-2); z-index: 3;
  box-shadow: 0 10px 24px -12px rgba(0,0,0,.8);
  transition: transform .25s, color .2s, border-color .2s;
}
.hub-node svg { width: 22px; height: 22px; }
.hub-node:hover { color: var(--blue-2); border-color: rgba(79,140,255,.5); transform: scale(1.12); }
.hub-node .lab {
  position: absolute; top: 110%; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .04em; color: var(--text-3); white-space: nowrap;
}
.hub-svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; overflow: visible; }
.hub-svg line { stroke: var(--line-2); stroke-width: 1; }
.hub-svg .pulse { stroke: var(--blue); stroke-width: 1.6; stroke-dasharray: 5 90; filter: drop-shadow(0 0 4px var(--blue)); animation: dash 2.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -95; } }

.hub-points { display: flex; flex-direction: column; gap: 16px; margin-top: 26px; }
.hub-point { display: flex; gap: 14px; align-items: flex-start; }
.hub-point .ic { width: 38px; height: 38px; border-radius: 10px; flex: none; display: grid; place-items: center; background: var(--blue-dim); color: var(--blue-2); border: 1px solid rgba(79,140,255,.2); }
.hub-point .ic svg { width: 18px; height: 18px; }
.hub-point h4 { font-size: 16px; margin-bottom: 2px; }
.hub-point p { font-size: 13.5px; color: var(--text-2); }

/* ============================================================
   MODULES GRID
   ============================================================ */
.mod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mod {
  padding: 22px; border-radius: var(--radius); position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
  border: 1px solid var(--line); transition: transform .22s ease, border-color .22s, box-shadow .25s;
}
.mod::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .25s;
  background: radial-gradient(120% 90% at 50% -10%, rgba(79,140,255,.12), transparent 60%);
  pointer-events: none;
}
.mod:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 22px 50px -26px rgba(0,0,0,.9); }
.mod:hover::after { opacity: 1; }
.mod .ic {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line-2); color: var(--blue-2);
  transition: transform .25s, color .2s;
}
.mod:hover .ic { transform: translateY(-2px) scale(1.04); color: var(--green-2); }
.mod .ic svg { width: 21px; height: 21px; }
.mod h4 { font-size: 16.5px; margin-bottom: 7px; }
.mod p { font-size: 13px; color: var(--text-2); line-height: 1.55; }
.mod .num { position: absolute; top: 18px; right: 18px; font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); }

/* ============================================================
   FLEET CONTROL (command center)
   ============================================================ */
.fleet-wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px; align-items: start; }
.fleet-map {
  border-radius: var(--radius-lg); border: 1px solid var(--line-2); position: relative; overflow: hidden;
  background:
    radial-gradient(100% 100% at 50% 0%, rgba(79,140,255,.07), transparent 60%),
    linear-gradient(180deg, var(--panel) , var(--bg-2));
  min-height: 470px;
}
.fleet-map .map-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.fleet-map .map-head .t { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); display: flex; align-items: center; gap: 9px; }
.map-canvas { position: relative; height: 392px; }
.map-roads { position: absolute; inset: 0; opacity: .5; }
.map-roads line { stroke: rgba(255,255,255,.05); stroke-width: 1.5; }
.veh-dot { position: absolute; width: 12px; height: 12px; border-radius: 50%; transform: translate(-50%,-50%); transition: left 2.4s linear, top 2.4s linear; z-index: 2; }
.veh-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid currentColor; opacity: .35; }
.zone-label { position: absolute; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); }

.fleet-side { display: flex; flex-direction: column; gap: 12px; }
.status-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.status-row {
  display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: 11px;
  border: 1px solid var(--line); background: rgba(255,255,255,.02);
}
.status-row .nm { font-size: 13px; color: var(--text-2); }
.status-row .ct { margin-left: auto; font-family: var(--font-mono); font-size: 14px; font-weight: 600; color: var(--text); }
.veh-cards { display: flex; flex-direction: column; gap: 9px; }
.veh-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.022); }
.veh-card .plate { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); background: rgba(255,255,255,.04); padding: 3px 7px; border-radius: 6px; border: 1px solid var(--line); }
.veh-card .vm { font-size: 13.5px; font-weight: 600; }
.veh-card .vsub { font-family: var(--font-mono); font-size: 10.5px; color: var(--text-3); }
.veh-card .right { margin-left: auto; text-align: right; }

/* ============================================================
   WORKFLOW
   ============================================================ */
.flow { margin-top: 26px; }
.flow-track { display: grid; grid-template-columns: repeat(9, 1fr); gap: 0; position: relative; }
.flow-step { text-align: center; position: relative; padding: 0 6px; }
.flow-step .node {
  width: 50px; height: 50px; border-radius: 14px; margin: 0 auto 14px; position: relative; z-index: 2;
  display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--text-2);
  transition: all .3s;
}
.flow-step .node svg { width: 21px; height: 21px; }
.flow-step.on .node { background: linear-gradient(150deg, var(--blue), var(--green)); color: #05070d; border-color: transparent; box-shadow: 0 0 0 5px rgba(79,140,255,.12), 0 10px 24px -8px rgba(79,140,255,.6); }
.flow-step .lab { font-family: var(--font-display); font-size: 13px; font-weight: 600; }
.flow-step .sub { font-family: var(--font-mono); font-size: 9.5px; color: var(--text-3); margin-top: 3px; letter-spacing: .03em; }
.flow-line { position: absolute; top: 25px; left: 0; right: 0; height: 2px; background: var(--line); z-index: 0; }
.flow-line .fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--green)); transition: width 1.6s ease; box-shadow: 0 0 8px var(--blue); }
.flow-gates { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; justify-content: center; }
.gate { display: inline-flex; align-items: center; gap: 9px; padding: 10px 15px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.02); font-size: 13px; }
.gate svg { width: 15px; height: 15px; color: var(--green-2); }

/* ============================================================
   FINANCE
   ============================================================ */
.fin-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 50px; align-items: center; }
.fin-panel { border-radius: var(--radius-lg); border: 1px solid var(--line-2); overflow: hidden; background: linear-gradient(180deg, var(--panel), var(--bg-2)); }
.fin-head { padding: 16px 18px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.fin-head .t { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.fin-body { padding: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.fin-tile { padding: 15px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.fin-tile .l { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.fin-tile .v { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin-top: 8px; letter-spacing: -.02em; }
.fin-tile .v small { font-size: 12px; color: var(--text-3); }
.fin-tile.full { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; }
.fin-bar { height: 8px; border-radius: 5px; background: rgba(255,255,255,.06); margin-top: 10px; overflow: hidden; }
.fin-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--green-2)); border-radius: 5px; }
.fin-points { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.fin-point { display: flex; gap: 13px; }
.fin-point .ic { width: 36px; height: 36px; border-radius: 10px; flex: none; display: grid; place-items: center; background: var(--green-dim); color: var(--green-2); border: 1px solid rgba(31,193,138,.22); }
.fin-point .ic svg { width: 17px; height: 17px; }
.fin-point h4 { font-size: 15.5px; margin-bottom: 2px; }
.fin-point p { font-size: 13px; color: var(--text-2); }

/* ============================================================
   OPERATIONS
   ============================================================ */
.ops-wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 18px; align-items: start; }
.alert-feed { border-radius: var(--radius-lg); border: 1px solid var(--line-2); background: linear-gradient(180deg, var(--panel), var(--bg-2)); overflow: hidden; }
.alert-feed .af-head { padding: 15px 18px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.alert-list { padding: 12px; display: flex; flex-direction: column; gap: 9px; max-height: 430px; overflow: hidden; }
.alert {
  display: flex; gap: 12px; padding: 12px 13px; border-radius: 12px; align-items: flex-start;
  border: 1px solid var(--line); background: rgba(255,255,255,.022);
  animation: alertIn .5s ease backwards;
}
@keyframes alertIn { from { opacity: 0; transform: translateY(-8px); } }
.alert .ai { width: 32px; height: 32px; border-radius: 9px; flex: none; display: grid; place-items: center; }
.alert .ai svg { width: 16px; height: 16px; }
.alert .meta { flex: 1; min-width: 0; }
.alert .meta .tt { font-size: 13.5px; font-weight: 600; }
.alert .meta .ss { font-family: var(--font-mono); font-size: 10.5px; color: var(--text-3); margin-top: 2px; }
.alert .time { font-family: var(--font-mono); font-size: 10px; color: var(--text-faint); }
.alert.lvl-red .ai { background: rgba(240,88,79,.14); color: var(--red); }
.alert.lvl-amber .ai { background: rgba(245,178,61,.14); color: var(--amber); }
.alert.lvl-blue .ai { background: var(--blue-dim); color: var(--blue-2); }
.alert.lvl-green .ai { background: var(--green-dim); color: var(--green-2); }

.ops-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ops-card { padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel), var(--panel-2)); }
.ops-card .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.04); border: 1px solid var(--line-2); color: var(--cyan); margin-bottom: 13px; }
.ops-card .ic svg { width: 18px; height: 18px; }
.ops-card .v { font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.ops-card .l { font-size: 13px; color: var(--text-2); margin-top: 2px; }
.ops-card .tag { font-family: var(--font-mono); font-size: 10px; color: var(--text-3); margin-top: 8px; display: block; }
.shift-bar { display: flex; gap: 10px; margin-top: 16px; }
.shift { flex: 1; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.shift .sn { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-2); }
.shift .sh { font-size: 13px; font-weight: 600; margin-top: 4px; }
.shift .sf { font-size: 11.5px; color: var(--text-3); margin-top: 4px; }

/* ============================================================
   DASHBOARDS PREVIEW
   ============================================================ */
.dash-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; justify-content: center; }
.dash-tab { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.02); font-family: var(--font-mono); font-size: 12.5px; color: var(--text-2); transition: all .18s; }
.dash-tab.active { background: var(--blue); color: #05070d; border-color: transparent; font-weight: 600; }
.dash-preview { border-radius: var(--radius-lg); border: 1px solid var(--line-2); overflow: hidden; background: linear-gradient(180deg, var(--panel), var(--bg-2)); box-shadow: 0 40px 90px -50px rgba(0,0,0,.9); }
.dash-chrome { display: flex; align-items: center; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.015); }
.dash-chrome .dots { display: flex; gap: 6px; }
.dash-chrome .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.dash-chrome .url { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-3); background: rgba(255,255,255,.03); padding: 5px 12px; border-radius: 7px; border: 1px solid var(--line); }
.dash-stage { padding: 20px; min-height: 380px; }
.dash-panes { display: none; }
.dash-panes.show { display: block; animation: feedIn .4s ease; }
.dpane-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.dpane-grid.c3 { grid-template-columns: repeat(3, 1fr); }
.dwid { padding: 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.022); }
.dwid .l { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.dwid .v { font-family: var(--font-display); font-size: 24px; font-weight: 600; margin-top: 7px; letter-spacing: -.02em; }
.dwid .v small { font-size: 12px; color: var(--text-3); }
.dwid.span2 { grid-column: span 2; }
.dwid.tall { grid-row: span 2; }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 96px; margin-top: 14px; }
.bars i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--blue), rgba(79,140,255,.25)); min-height: 8px; }
.bars i.g { background: linear-gradient(180deg, var(--green), rgba(31,193,138,.25)); }
.donut { width: 108px; height: 108px; border-radius: 50%; margin: 8px auto 0; position: relative; }
.donut::after { content: ""; position: absolute; inset: 16px; border-radius: 50%; background: var(--panel); }
.donut .c { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; font-family: var(--font-display); font-weight: 600; font-size: 22px; }
.dwid .rowlist { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.dwid .rowlist .ri { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--text-2); }
.dwid .rowlist .ri .bar { flex: 1; height: 6px; border-radius: 4px; background: rgba(255,255,255,.06); overflow: hidden; }
.dwid .rowlist .ri .bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg,var(--blue),var(--green)); }
.dwid .rowlist .ri .vv { font-family: var(--font-mono); font-size: 11px; color: var(--text); }

/* ============================================================
   RULES (risk shield)
   ============================================================ */
.rules-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 50px; align-items: center; }
.shield {
  position: relative; aspect-ratio: 1; max-width: 380px; margin-inline: auto; width: 100%;
  display: grid; place-items: center;
}
.shield-core {
  width: 150px; height: 170px; position: relative;
  background: linear-gradient(160deg, rgba(79,140,255,.16), rgba(31,193,138,.1));
  border: 1px solid var(--line-strong);
  -webkit-clip-path: path("M75 0 L150 28 L150 95 Q150 150 75 170 Q0 150 0 95 L0 28 Z");
          clip-path: path("M75 0 L150 28 L150 95 Q150 150 75 170 Q0 150 0 95 L0 28 Z");
  display: grid; place-items: center;
}
.shield-core svg { width: 52px; height: 52px; color: var(--blue-2); }
.shield-ring { position: absolute; border: 1px solid var(--line); border-radius: 50%; }
.shield-ring.r1 { width: 78%; height: 78%; animation: spin 22s linear infinite; border-style: dashed; }
.shield-ring.r2 { width: 100%; height: 100%; animation: spin 36s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.shield-tag { position: absolute; font-family: var(--font-mono); font-size: 10px; padding: 5px 10px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--text-2); white-space: nowrap; }

.rules-list { display: flex; flex-direction: column; gap: 2px; }
.rule-item { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.rule-item:last-child { border-bottom: none; }
.rule-item .no { font-family: var(--font-mono); font-size: 12px; color: var(--blue-2); width: 26px; flex: none; }
.rule-item .tx { font-size: 14.5px; }
.rule-item .tx b { color: var(--text); font-weight: 600; }
.rule-item .lk { margin-left: auto; color: var(--green-2); flex: none; }
.rule-item .lk svg { width: 16px; height: 16px; }

/* ============================================================
   SCALE
   ============================================================ */
.scale-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.scale-card { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel), var(--panel-2)); }
.scale-card .ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--blue-dim); color: var(--blue-2); border: 1px solid rgba(79,140,255,.2); margin-bottom: 15px; }
.scale-card .ic svg { width: 19px; height: 19px; }
.scale-card h4 { font-size: 16.5px; margin-bottom: 7px; }
.scale-card p { font-size: 13px; color: var(--text-2); }
.scale-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.scale-tags .t { font-family: var(--font-mono); font-size: 11px; padding: 5px 10px; border-radius: 7px; border: 1px solid var(--line); color: var(--text-2); background: rgba(255,255,255,.02); }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta { position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: clamp(48px, 7vw, 88px); text-align: center;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(120% 140% at 50% 0%, rgba(79,140,255,.16), transparent 55%),
    radial-gradient(100% 120% at 50% 120%, rgba(31,193,138,.12), transparent 55%),
    linear-gradient(180deg, var(--panel), var(--bg-2));
}
.final-cta h2 { font-size: clamp(30px, 4.4vw, 56px); margin: 18px auto 20px; max-width: 18ch; }
.final-cta .lead { margin: 0 auto 36px; }
.final-cta .hero-cta { justify-content: center; }
.cta-foot { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-3); margin-top: 26px; letter-spacing: .04em; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 44px; }
.footer p.desc { color: var(--text-2); font-size: 13.5px; max-width: 30ch; margin-top: 16px; }
.footer .col h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.footer .col a { display: block; color: var(--text-2); font-size: 14px; padding: 5px 0; transition: color .15s; }
.footer .col a:hover { color: var(--text); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 26px; border-top: 1px solid var(--line); flex-wrap: wrap; gap: 14px; }
.footer-bottom p { font-family: var(--font-mono); font-size: 12px; color: var(--text-3); }
.footer-bottom .made { color: var(--text-faint); }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.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; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   RTL
   ============================================================ */
[dir="rtl"] body, [dir="rtl"] { font-family: var(--font-body); }
[dir="rtl"] .eyebrow { letter-spacing: 0; }
[dir="rtl"] .hero-meta .m .l,
[dir="rtl"] .kpi .kl,
[dir="rtl"] .mono, [dir="rtl"] .pill, [dir="rtl"] .float-chip .tt { letter-spacing: 0; }
[dir="rtl"] .fc-1 { left: auto; right: -34px; }
[dir="rtl"] .fc-2 { right: auto; left: -28px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hub-wrap, .fin-wrap, .rules-wrap { grid-template-columns: 1fr; gap: 36px; }
  .fleet-wrap, .ops-wrap { grid-template-columns: 1fr; }
  .mod-grid { grid-template-columns: repeat(3, 1fr); }
  .kpi-grid { grid-template-columns: repeat(4, 1fr); }
  .float-chip { display: none; }
  .flow-track { grid-template-columns: repeat(5, 1fr); row-gap: 28px; }
  .flow-line { display: none; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .nav-links { display: none; }
  .mod-grid, .scale-grid, .ops-cards, .dpane-grid, .dpane-grid.c3 { grid-template-columns: repeat(2, 1fr); }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .chaos-grid { grid-template-columns: 1fr; }
  .chaos-mid { padding: 14px 0; }
  .chaos-arrow { transform: rotate(90deg); }
  .hp-row { grid-template-columns: 1fr; }
  .trust-stats { gap: 26px; }
  .flow-track { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-meta { gap: 18px; }
  .shift-bar { flex-direction: column; }
  .status-legend { grid-template-columns: 1fr; }
  .dwid.span2 { grid-column: span 2; }
}
@media (max-width: 460px) {
  .mod-grid, .scale-grid, .ops-cards, .dpane-grid, .dpane-grid.c3, .kpi-grid { grid-template-columns: 1fr 1fr; }
  .h-display { font-size: 34px; }
}
