/* ============================================================
   RAADTRACK — Corporate Website Design System
   Smart Tracking. Safer Journeys.
   ============================================================ */

:root {
  --ink: #060B18;
  --navy: #0A1226;
  --navy-2: #0D1730;
  --navy-3: #111E3D;
  --blue: #1D5FF2;
  --blue-deep: #1544B8;
  --cyan: #38E1FF;
  --cyan-soft: rgba(56, 225, 255, .14);
  --text: #E9EFFB;
  --muted: #94A6C8;
  --line: rgba(148, 178, 255, .14);
  --line-strong: rgba(148, 178, 255, .26);
  --panel: rgba(255, 255, 255, .035);
  --panel-2: rgba(255, 255, 255, .06);
  --light: #F5F8FD;
  --light-2: #EBF1FA;
  --ink-light: #0B1428;
  --muted-light: #54678A;
  --line-light: #DCE5F2;
  --ok: #2EE6A8;
  --warn: #FFC24B;
  --alert: #FF6B6B;
  --radius: 18px;
  --radius-sm: 12px;
  --font-display: "Manrope", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --shadow-lg: 0 30px 80px -20px rgba(2, 8, 26, .55);
  --shadow-blue: 0 18px 50px -12px rgba(29, 95, 242, .45);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

::selection { background: rgba(56, 225, 255, .28); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; }

.container { width: min(1180px, 92%); margin-inline: auto; }

/* ---------- Eyebrow / section headers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--cyan);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--cyan); display: inline-block; }
.eyebrow--blue { color: var(--blue); }
.eyebrow--blue::before { background: var(--blue); }

.sec-head { max-width: 720px; margin-bottom: 54px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }
.sec-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 16px; }
.sec-head p { color: var(--muted); font-size: 1.06rem; }
.section--light .sec-head p { color: var(--muted-light); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  border: 1px solid transparent; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn--primary { background: linear-gradient(120deg, var(--blue), #2F7BFF); color: #fff; box-shadow: var(--shadow-blue); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 24px 60px -12px rgba(29, 95, 242, .6); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255,255,255,.03); }
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -14px rgba(255,255,255,.35); }
.btn--sm { padding: 10px 20px; font-size: .87rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(6, 11, 24, .82);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand svg { width: 34px; height: 34px; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.22rem; letter-spacing: .12em; color: #fff; }
.brand-name em { font-style: normal; color: var(--cyan); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 9px 13px; border-radius: 10px; font-size: .9rem; font-weight: 600;
  color: var(--muted); transition: color .2s ease, background .2s ease;
}
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.05); }
.main-nav a.active { color: var(--cyan); }
.main-nav a.active::after { content: ""; display: block; height: 2px; margin-top: 3px; border-radius: 2px; background: var(--cyan); }

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,.04);
  position: relative; z-index: 210;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; margin: 4px auto; border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 200; background: rgba(6, 11, 24, .97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; padding: 90px 8% 40px;
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a.mnav-link {
  font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; padding: 12px 0;
  border-bottom: 1px solid var(--line); color: var(--text);
  display: flex; justify-content: space-between; align-items: center;
  transform: translateY(14px); opacity: 0; transition: transform .4s ease, opacity .4s ease;
}
.mobile-menu.open a.mnav-link { transform: none; opacity: 1; }
.mobile-menu a.mnav-link.active { color: var(--cyan); }
.mobile-menu a.mnav-link span.arrow { color: var(--cyan); font-size: 1.1rem; }
.mobile-menu .mnav-actions { display: grid; gap: 12px; margin-top: 34px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 178px 0 90px; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 78% -10%, rgba(29, 95, 242, .28), transparent 62%),
    radial-gradient(700px 420px at 8% 110%, rgba(56, 225, 255, .10), transparent 60%),
    var(--ink);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(148,178,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,178,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(900px 600px at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(900px 600px at 50% 30%, #000 30%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); letter-spacing: -.03em; margin: 6px 0 22px; }
.hero h1 .grad { background: linear-gradient(95deg, #6FA8FF, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { color: var(--muted); font-size: 1.13rem; max-width: 520px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-markets { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.hero-markets i { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); display: inline-block; }

/* Hero visual composite */
.hero-visual { position: relative; }
.hero-photo {
  position: relative; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/11; }
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,11,24,0) 40%, rgba(6,11,24,.78) 100%);
}

/* Floating dashboard preview card */
.hud-card {
  position: absolute; left: -34px; bottom: -38px; width: min(340px, 86%);
  background: rgba(10, 18, 38, .88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-strong); border-radius: 16px; padding: 14px;
  box-shadow: var(--shadow-lg);
}
.hud-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.hud-title { font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.live-dot { display: inline-flex; align-items: center; gap: 6px; font-size: .68rem; font-weight: 800; letter-spacing: .12em; color: var(--ok); }
.live-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(46,230,168,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(46,230,168,0); } 100% { box-shadow: 0 0 0 0 rgba(46,230,168,0); } }

.hud-map { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.hud-map svg { display: block; width: 100%; height: auto; }
.hud-row { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px;
  background: var(--panel-2); border: 1px solid var(--line);
  font-size: .7rem; font-weight: 700; letter-spacing: .04em; color: var(--text);
}
.chip i { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.chip i.ok { background: var(--ok); } .chip i.cy { background: var(--cyan); } .chip i.bl { background: #6FA8FF; }
.chip b { font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }

.hero-scrollhint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); color: var(--muted); font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-scrollhint::after { content: ""; width: 1.5px; height: 34px; background: linear-gradient(var(--cyan), transparent); }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section--navy { background: var(--navy); }
.section--grad {
  background:
    radial-gradient(900px 480px at 88% 0%, rgba(29,95,242,.16), transparent 60%),
    var(--ink);
}
.section--light { background: var(--light); color: var(--ink-light); }
.section--light .eyebrow { color: var(--blue); }
.section--light .eyebrow::before { background: var(--blue); }
.section--tight { padding: 84px 0; }

/* ---------- Cards (platform pillars) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius);
  padding: 30px 26px; position: relative; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px -24px rgba(11, 20, 40, .25); border-color: #BFD2EF; }
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--cyan)); opacity: 0; transition: opacity .3s ease; }
.card:hover::before { opacity: 1; }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(29,95,242,.12), rgba(56,225,255,.12));
  border: 1px solid rgba(29,95,242,.2);
}
.card-icon svg { width: 24px; height: 24px; stroke: var(--blue); }
.card h3 { font-size: 1.18rem; margin-bottom: 10px; color: var(--ink-light); }
.card p { color: var(--muted-light); font-size: .94rem; flex: 1; }
.card-link { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 700; font-size: .9rem; }
.card-link svg { width: 15px; height: 15px; transition: transform .25s ease; }
.card:hover .card-link svg { transform: translateX(4px); }

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ind-item {
  display: flex; align-items: center; gap: 16px; padding: 22px 24px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--panel); transition: border-color .3s ease, background .3s ease, transform .3s ease;
}
.ind-item:hover { border-color: var(--line-strong); background: var(--panel-2); transform: translateY(-3px); }
.ind-item svg { width: 26px; height: 26px; stroke: var(--cyan); flex-shrink: 0; }
.ind-item h3 { font-size: 1rem; font-weight: 700; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative; padding: 34px 28px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line-light);
}
.step-num {
  font-family: var(--font-display); font-size: 3.4rem; font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 18px;
}
.step h3 { font-size: 1.25rem; margin-bottom: 10px; color: var(--ink-light); }
.step p { color: var(--muted-light); font-size: .95rem; }
.step::after {
  content: ""; position: absolute; top: 52px; right: -20px; width: 20px; height: 1.5px;
  background: linear-gradient(90deg, var(--blue), transparent);
}
.step:last-child::after { display: none; }

/* ---------- Dashboard frame (control center) ---------- */
.dash-note { text-align: center; color: var(--muted); font-size: .8rem; margin-top: 18px; letter-spacing: .02em; }
.dash {
  border-radius: 22px; overflow: hidden; border: 1px solid var(--line-strong);
  background: var(--navy-2); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 210px 1fr; grid-template-rows: 54px 1fr;
}
.dash-top {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; padding: 0 18px;
  border-bottom: 1px solid var(--line); background: rgba(6,11,24,.5);
}
.dash-top .brand-name { font-size: .95rem; }
.dash-search {
  flex: 1; max-width: 320px; margin-left: auto; display: flex; align-items: center; gap: 8px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 9px; padding: 7px 12px;
  color: var(--muted); font-size: .78rem;
}
.dash-search svg { width: 13px; height: 13px; stroke: var(--muted); }
.dash-clock { font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.dash-side { border-right: 1px solid var(--line); padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; background: rgba(6,11,24,.35); }
.dash-side a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; font-size: .82rem; font-weight: 600; color: var(--muted); }
.dash-side a.on { background: rgba(29,95,242,.18); color: #fff; border: 1px solid rgba(29,95,242,.35); }
.dash-side svg { width: 15px; height: 15px; stroke: currentColor; }
.dash-main { display: grid; grid-template-columns: 1.5fr 1fr; min-height: 420px; }
.dash-mapwrap { position: relative; border-right: 1px solid var(--line); }
.dash-mapwrap svg.map { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-marker { position: absolute; transform: translate(-50%, -50%); }
.map-marker .pin {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(29,95,242,.25); border: 1.5px solid var(--cyan); position: relative;
}
.map-marker .pin::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid rgba(56,225,255,.4); animation: ring 2.6s ease-out infinite; }
@keyframes ring { 0% { transform: scale(.55); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.map-marker .pin i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); display: block; }
.map-marker.warn .pin { border-color: var(--warn); background: rgba(255,194,75,.18); }
.map-marker.warn .pin i { background: var(--warn); }
.map-marker.warn .pin::after { border-color: rgba(255,194,75,.4); }
.map-tag {
  position: absolute; top: -30px; left: 50%; transform: translateX(-50%);
  background: rgba(6,11,24,.9); border: 1px solid var(--line-strong); border-radius: 7px;
  padding: 3px 8px; font-size: .64rem; font-weight: 700; white-space: nowrap; color: #fff;
}
.map-tag small { color: var(--muted); font-weight: 600; margin-left: 5px; font-variant-numeric: tabular-nums; }
.dash-panel { padding: 18px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat {
  background: var(--panel); border: 1px solid var(--line); border-radius: 11px; padding: 12px 13px;
}
.stat b { display: block; font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.stat b em { font-style: normal; font-size: .72rem; color: var(--muted); font-weight: 600; margin-left: 3px; }
.stat span { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.panel-label { font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.vlist { display: flex; flex-direction: column; gap: 8px; }
.vrow {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: 11px; padding: 10px 13px;
}
.vrow .vname { font-weight: 700; font-size: .84rem; }
.vrow .vname small { color: var(--muted); font-weight: 600; margin-left: 7px; }
.vrow .vloc { grid-column: 1; font-size: .74rem; color: var(--muted); }
.pill { font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.pill--move { background: rgba(46,230,168,.14); color: var(--ok); border: 1px solid rgba(46,230,168,.3); }
.pill--idle { background: rgba(255,194,75,.13); color: var(--warn); border: 1px solid rgba(255,194,75,.3); }
.pill--park { background: rgba(148,178,255,.12); color: #9FB6E4; border: 1px solid rgba(148,178,255,.28); }
.pill--alert { background: rgba(255,107,107,.13); color: var(--alert); border: 1px solid rgba(255,107,107,.32); }
.alist { display: flex; flex-direction: column; gap: 8px; }
.arow { display: flex; gap: 10px; align-items: flex-start; font-size: .78rem; color: var(--muted); background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; }
.arow i { width: 7px; height: 7px; border-radius: 50%; margin-top: 6px; flex-shrink: 0; }
.arow i.warn { background: var(--warn); } .arow i.alert { background: var(--alert); } .arow i.ok { background: var(--ok); }
.arow b { color: var(--text); font-weight: 700; }
.arow time { margin-left: auto; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; font-size: .72rem; }

/* ---------- Split feature sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--rev > .split-media { order: 2; }
.split-media { border-radius: 22px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg); position: relative; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 18px; }
.split > div > p, .split .lead { color: var(--muted); margin-bottom: 26px; font-size: 1.03rem; }
.section--light .split .lead { color: var(--muted-light); }

.feat-list { display: grid; gap: 14px; margin-bottom: 30px; }
.feat-list li { display: flex; gap: 13px; align-items: flex-start; }
.feat-list svg { width: 20px; height: 20px; stroke: var(--cyan); flex-shrink: 0; margin-top: 3px; }
.section--light .feat-list svg { stroke: var(--blue); }
.feat-list b { display: block; font-size: .97rem; }
.feat-list span { color: var(--muted); font-size: .9rem; }
.section--light .feat-list span { color: var(--muted-light); }

/* Feature grid (icon cards on dark/light) */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; background: var(--panel);
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.feat:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--panel-2); }
.feat svg { width: 26px; height: 26px; stroke: var(--cyan); margin-bottom: 16px; }
.feat h3 { font-size: 1.04rem; margin-bottom: 8px; }
.feat p { color: var(--muted); font-size: .9rem; }
.feat-grid--light .feat { background: #fff; border-color: var(--line-light); }
.feat-grid--light .feat svg { stroke: var(--blue); }
.feat-grid--light .feat h3 { color: var(--ink-light); }
.feat-grid--light .feat p { color: var(--muted-light); }

/* ---------- Video feed mock ---------- */
.feed-frame { border-radius: 22px; overflow: hidden; border: 1px solid var(--line-strong); background: var(--navy-2); box-shadow: var(--shadow-lg); }
.feed-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.feed-grid { display: grid; grid-template-columns: 1fr 1fr; }
.feed-cell { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.feed-cell + .feed-cell { border-left: 1px solid var(--line); }
.feed-cell img { width: 100%; height: 100%; object-fit: cover; }
.feed-cell .cam-label {
  position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 7px;
  background: rgba(6,11,24,.72); border: 1px solid var(--line-strong); border-radius: 7px;
  padding: 4px 10px; font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.cam-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--alert); animation: pulse 1.8s infinite; }
.feed-cell .cam-meta { position: absolute; bottom: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; font-size: .68rem; color: rgba(233,239,251,.85); font-variant-numeric: tabular-nums; text-shadow: 0 1px 4px rgba(0,0,0,.6); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; border-radius: 26px; overflow: hidden; padding: 72px 8%;
  background:
    radial-gradient(700px 380px at 85% 10%, rgba(56,225,255,.18), transparent 60%),
    linear-gradient(120deg, var(--navy-3), var(--navy));
  border: 1px solid var(--line-strong); text-align: center;
}
.cta-band h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 16px; }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 32px; }
.cta-band .hero-ctas { justify-content: center; margin-bottom: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 176px 0 84px; position: relative; overflow: hidden;
  background:
    radial-gradient(900px 460px at 82% -12%, rgba(29,95,242,.26), transparent 62%),
    radial-gradient(560px 360px at 4% 120%, rgba(56,225,255,.09), transparent 60%),
    var(--ink);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(148,178,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,178,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(800px 520px at 50% 20%, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(800px 520px at 50% 20%, #000 25%, transparent 75%);
}
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 820px; margin: 6px 0 20px; }
.page-hero h1 .grad { background: linear-gradient(95deg, #6FA8FF, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero p.lead { color: var(--muted); font-size: 1.12rem; max-width: 640px; }
.crumbs { font-size: .78rem; color: var(--muted); letter-spacing: .06em; margin-bottom: 22px; display: flex; gap: 8px; align-items: center; }
.crumbs a:hover { color: var(--cyan); }
.crumbs span.sep { opacity: .5; }
.crumbs b { color: var(--cyan); font-weight: 600; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: start; }
.info-block { display: grid; gap: 14px; margin-top: 30px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border: 1px solid var(--line-light); border-radius: var(--radius-sm); background: #fff; }
.info-item svg { width: 22px; height: 22px; stroke: var(--blue); flex-shrink: 0; margin-top: 2px; }
.info-item b { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-light); margin-bottom: 4px; }
.info-item a, .info-item span.v { font-weight: 700; color: var(--ink-light); font-size: 1.02rem; }
.info-item a:hover { color: var(--blue); }

.form-card { background: #fff; border: 1px solid var(--line-light); border-radius: 22px; padding: 40px; box-shadow: 0 24px 60px -30px rgba(11,20,40,.18); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 700; color: var(--ink-light); letter-spacing: .02em; }
.field label i { color: var(--alert); font-style: normal; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: .95rem; color: var(--ink-light);
  background: var(--light); border: 1.5px solid var(--line-light); border-radius: 11px;
  padding: 13px 15px; transition: border-color .25s ease, box-shadow .25s ease;
  width: 100%; appearance: none;
}
.field select { 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' fill='none' stroke='%2354678A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29,95,242,.12); background: #fff; }
.field .err { display: none; font-size: .76rem; color: var(--alert); font-weight: 600; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--alert); }
.field.invalid .err { display: block; }
.form-foot { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.form-note { font-size: .8rem; color: var(--muted-light); }
.form-status { display: none; border-radius: 12px; padding: 15px 18px; font-size: .9rem; font-weight: 600; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(46,230,168,.12); border: 1px solid rgba(46,230,168,.4); color: #0B7A56; }
.form-status.info { background: rgba(29,95,242,.08); border: 1px solid rgba(29,95,242,.3); color: var(--blue-deep); }

/* ---------- Auth pages ---------- */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side {
  position: relative; padding: 60px; display: flex; flex-direction: column; justify-content: space-between;
  background:
    radial-gradient(800px 500px at 20% 0%, rgba(29,95,242,.3), transparent 60%),
    radial-gradient(600px 400px at 90% 100%, rgba(56,225,255,.12), transparent 60%),
    var(--navy);
  overflow: hidden;
}
.auth-side::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(148,178,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,178,255,.06) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(700px 700px at 40% 40%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(700px 700px at 40% 40%, #000 20%, transparent 78%);
}
.auth-side > * { position: relative; }
.auth-quote h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); max-width: 440px; margin-bottom: 16px; }
.auth-quote p { color: var(--muted); max-width: 420px; }
.auth-points { display: grid; gap: 12px; margin-top: 34px; }
.auth-points li { display: flex; gap: 11px; align-items: center; color: var(--muted); font-size: .92rem; }
.auth-points svg { width: 17px; height: 17px; stroke: var(--cyan); flex-shrink: 0; }
.auth-side-foot { color: var(--muted); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }

.auth-main { display: flex; align-items: center; justify-content: center; padding: 60px 8%; background: var(--ink); }
.auth-card { width: min(430px, 100%); }
.auth-card .brand { margin-bottom: 36px; }
.auth-card h1 { font-size: 1.65rem; margin-bottom: 8px; }
.auth-card .auth-sub { color: var(--muted); font-size: .93rem; margin-bottom: 30px; }
.auth-card .field label { color: var(--text); }
.auth-card .field input {
  background: var(--panel); border-color: var(--line-strong); color: var(--text);
}
.auth-card .field input:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(56,225,255,.12); background: rgba(255,255,255,.05); }
.auth-card .field input::placeholder { color: rgba(148,166,200,.55); }
.auth-row { display: flex; justify-content: space-between; align-items: center; margin: 18px 0 24px; font-size: .85rem; }
.check { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--blue); }
.auth-row a { color: var(--cyan); font-weight: 600; }
.auth-row a:hover { text-decoration: underline; }
.auth-alt { margin-top: 26px; text-align: center; color: var(--muted); font-size: .87rem; }
.auth-alt a { color: var(--cyan); font-weight: 700; }
.auth-back { display: inline-flex; align-items: center; gap: 8px; margin-top: 34px; color: var(--muted); font-size: .84rem; font-weight: 600; }
.auth-back:hover { color: var(--cyan); }
.auth-card .form-status.info { background: rgba(29,95,242,.14); color: #9FC0FF; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); border-top: 1px solid var(--line); padding: 74px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 54px; }
.foot-brand p { color: var(--muted); font-size: .9rem; margin: 18px 0 22px; max-width: 300px; }
.foot-col h4 { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; font-weight: 800; }
.foot-col ul { display: grid; gap: 11px; }
.foot-col a, .foot-col li { color: #C4D2EE; font-size: .92rem; }
.foot-col a:hover { color: var(--cyan); }
.foot-contact li { display: flex; gap: 11px; align-items: flex-start; }
.foot-contact svg { width: 16px; height: 16px; stroke: var(--cyan); flex-shrink: 0; margin-top: 4px; }
.foot-bottom { border-top: 1px solid var(--line); padding: 24px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .82rem; }
.foot-bottom nav { display: flex; gap: 22px; }
.foot-bottom a:hover { color: var(--cyan); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .main-nav a { padding: 9px 9px; font-size: .85rem; }
  .nav-actions .btn--sm { padding: 9px 16px; font-size: .82rem; }
}

@media (max-width: 1080px) {
  .main-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 70px; }
  .hud-card { left: 0; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--rev > .split-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .dash { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
}

@media (max-width: 860px) {
  .nav-actions .btn { display: none; }
  .nav-toggle { display: block; }
  .section { padding: 80px 0; }
  .hero { padding: 140px 0 80px; }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .dash-main { grid-template-columns: 1fr; }
  .dash-mapwrap { min-height: 300px; border-right: 0; border-bottom: 1px solid var(--line); }
  .feed-grid { grid-template-columns: 1fr; }
  .feed-cell + .feed-cell { border-left: 0; border-top: 1px solid var(--line); }
  .form-card { padding: 28px 22px; }
  .page-hero { padding: 140px 0 64px; }
}

@media (max-width: 640px) {
  .card-grid, .ind-grid, .feat-grid, .form-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
  .hud-card { position: relative; left: 0; bottom: 0; width: 100%; margin-top: 16px; }
  .foot-grid { grid-template-columns: 1fr; gap: 34px; }
  .foot-bottom { flex-direction: column; }
  .cta-band { padding: 54px 7%; }
  .stat-row { grid-template-columns: repeat(3, 1fr); }
  .sec-head { margin-bottom: 40px; }
}
