/* =====================================================================
   iTrackZen — Core Styles
   Identity: Midnight telematics. Deep navy canvas, signal-amber accent,
   precise grotesque type, route-line motifs.
   ===================================================================== */

:root {
  --navy-900: #070d1c;
  --navy-800: #0c1730;
  --navy-700: #122340;
  --navy-600: #1b3157;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --amber: #FFB23E;
  --amber-deep: #f59017;
  --teal: #38e1c4;
  --ink: #eaf0fb;
  --ink-dim: #9fb0cc;
  --ink-faint: #6c7d9c;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1200px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { 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(--navy-900);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--amber);
  display: inline-block;
}

.muted { color: var(--ink-dim); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--amber); color: #1a1003; }
.btn-primary:hover { background: var(--amber-deep); }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn-light { background: rgba(255,255,255,.08); color: var(--ink); border-color: var(--line); }
.btn-light:hover { background: rgba(255,255,255,.14); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 13, 28, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--amber), var(--amber-deep));
  display: grid; place-items: center; color: #1a1003; flex-shrink: 0;
}
.brand .mark svg { width: 20px; height: 20px; }
.brand b { color: var(--white); }
.brand span { color: var(--amber); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 0.92rem; color: var(--ink-dim); padding: 8px 13px; border-radius: 8px;
  transition: color .15s, background .15s; font-weight: 500;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,.05); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle { display: none; background: none; border: none; color: var(--ink); cursor: pointer; padding: 6px; }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 96px 0 80px; overflow: hidden; }

/* ---------- Hero with background video ---------- */
.hero-video { padding: 110px 0 92px; }
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-vid {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  min-width: 100%; min-height: 100%; width: auto; height: auto;
  object-fit: cover; pointer-events: none;
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(110deg, rgba(7,13,28,0.94) 0%, rgba(7,13,28,0.82) 38%, rgba(7,13,28,0.55) 70%, rgba(7,13,28,0.78) 100%),
    linear-gradient(0deg, rgba(7,13,28,0.96), rgba(7,13,28,0.30) 55%);
}
.hero-video .wrap { position: relative; z-index: 1; }
.hero-card { align-self: center; }

@media (prefers-reduced-motion: reduce) {
  .hero-vid { display: none; }
  .hero-media { background-size: cover; background-position: center; }
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); margin: 20px 0 22px; }
.hero h1 .hl { color: var(--amber); }
.hero p.lead { font-size: 1.12rem; color: var(--ink-dim); max-width: 36ch; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust { margin-top: 34px; display: flex; gap: 28px; flex-wrap: wrap; }
.hero-trust .t-num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--white); }
.hero-trust .t-lbl { font-size: 0.8rem; color: var(--ink-faint); }

/* atmospheric glow */
.hero::before {
  content: ""; position: absolute; top: -200px; right: -160px; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(255,178,62,0.16), transparent 62%);
  pointer-events: none;
}

/* ---------- Dashboard shot (real image + animated overlay) ---------- */
.dash-shot {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  line-height: 0;
}
.dash-img { width: 100%; height: auto; display: block; }
.dash-overlay {
  position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
}
.dash-overlay .route-line {
  stroke: var(--amber); stroke-width: 2.5; fill: none; stroke-dasharray: 7 7;
  filter: drop-shadow(0 0 6px rgba(255,178,62,.6)); animation: dash 3s linear infinite;
  vector-effect: non-scaling-stroke;
}
.dash-overlay .veh-dot { fill: var(--amber); filter: drop-shadow(0 0 8px rgba(255,178,62,.9)); }

/* ---------- Media figure (section photos) ---------- */
.media-figure {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong);
  box-shadow: var(--shadow); line-height: 0;
}
.media-figure img { width: 100%; height: auto; display: block; }
.media-figure.cap { position: relative; }

/* page-hero with background image */
.page-hero.has-bg { background-size: cover; background-position: center; }

/* ---------- Original SVG dash (kept for inner pages) ---------- */
.dash {
  background: linear-gradient(160deg, var(--navy-700), var(--navy-800));
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 14px;
  box-shadow: var(--shadow);
  position: relative;
}
.dash-bar { display: flex; align-items: center; gap: 7px; padding: 6px 8px 12px; }
.dash-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); }
.dash-bar i:nth-child(1){ background:#ff5f57; } .dash-bar i:nth-child(2){ background:#ffbd2e; } .dash-bar i:nth-child(3){ background:#28c840; }
.dash-bar .dash-title { margin-left: 8px; font-size: 0.78rem; color: var(--ink-faint); font-family: var(--font-display); }
.dash-body { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dash-map {
  grid-column: 1 / -1; height: 200px; border-radius: 12px; position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 30% 40%, rgba(56,225,196,0.10), transparent 40%),
    linear-gradient(180deg, #0a1428, #0d1b35);
  border: 1px solid var(--line);
}
.dash-stat {
  background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
}
.dash-stat .s-l { font-size: 0.68rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .08em; }
.dash-stat .s-v { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; margin-top: 3px; }
.dash-stat .s-v.up { color: var(--teal); } .dash-stat .s-v.warn { color: var(--amber); }

/* animated route svg */
.route-line { stroke: var(--amber); stroke-width: 2.5; fill: none; stroke-dasharray: 7 7; stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(255,178,62,.5)); animation: dash 3s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -140; } }
.veh-dot { fill: var(--amber); filter: drop-shadow(0 0 8px rgba(255,178,62,.9)); }
.veh-move { animation: move 6s ease-in-out infinite alternate; }
@keyframes move { from { transform: translate(0,0); } to { transform: translate(168px,86px); } }
.geo-zone { fill: rgba(56,225,196,0.08); stroke: var(--teal); stroke-width:1; stroke-dasharray:4 4; }

/* ---------- Sections ---------- */
.section { padding: 86px 0; position: relative; }
.section.alt { background: var(--navy-800); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 50px; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin: 16px 0 14px; }
.section-head p { color: var(--ink-dim); font-size: 1.05rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* ---------- Feature grid ---------- */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: linear-gradient(165deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.card .ic {
  width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(255,178,62,0.12); color: var(--amber);
}
.card .ic svg { width: 23px; height: 23px; }
.card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.card p { color: var(--ink-dim); font-size: 0.94rem; }

/* value chips */
.value-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.vc {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  background: var(--navy-800); position: relative; overflow: hidden;
}
.vc::after { content:""; position:absolute; top:0; left:0; width:3px; height:100%; background:var(--amber); }
.vc h3 { font-size: 1.05rem; margin-bottom: 6px; }
.vc p { font-size: 0.9rem; color: var(--ink-dim); }

/* ---------- Stat counters ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.stat .num { font-family: var(--font-display); font-size: clamp(2rem,4vw,2.8rem); font-weight: 700; color: var(--amber); }
.stat .lbl { color: var(--ink-dim); font-size: 0.92rem; margin-top: 4px; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; align-items: stretch; }
.plan {
  background: linear-gradient(170deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column;
}
.plan.featured { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber), 0 30px 60px -30px rgba(255,178,62,.4); position: relative; }
.plan.featured .badge {
  position:absolute; top:-12px; left:50%; transform:translateX(-50%);
  background:var(--amber); color:#1a1003; font-family:var(--font-display); font-weight:700; font-size:.7rem;
  padding:5px 14px; border-radius:999px; letter-spacing:.06em; text-transform:uppercase;
}
.plan h3 { font-size: 1.25rem; }
.plan .tag { color: var(--ink-dim); font-size: 0.86rem; min-height: 40px; margin: 6px 0 14px; }
.plan .price { font-family: var(--font-display); font-weight: 700; }
.plan .price .amt { font-size: 2.4rem; color: var(--white); }
.plan .price .per { color: var(--ink-faint); font-size: 0.82rem; font-family: var(--font-body); }
.plan .range { font-size: 0.82rem; color: var(--amber); margin: 6px 0 18px; font-family: var(--font-display); }
.plan ul { list-style: none; margin: 0 0 22px; flex: 1; }
.plan li { font-size: 0.9rem; color: var(--ink-dim); padding: 7px 0 7px 26px; position: relative; border-bottom: 1px solid var(--line); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.plan .btn { width: 100%; justify-content: center; }

/* ---------- Forms ---------- */
.form-card {
  background: linear-gradient(165deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 34px;
}
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.84rem; color: var(--ink-dim); margin-bottom: 6px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
  background: var(--navy-900); border: 1px solid var(--line-strong); color: var(--ink);
  font-family: var(--font-body); font-size: 0.95rem; transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber); }
.field textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.notice { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 0.92rem; }
.notice.success { background: rgba(56,225,196,0.12); border: 1px solid rgba(56,225,196,0.4); color: #b6f5e9; }
.notice.error { background: rgba(255,95,87,0.12); border: 1px solid rgba(255,95,87,0.4); color: #ffc9c5; }

/* ---------- Tutorials / News ---------- */
.tut-grid, .news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.tut, .post {
  background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .2s, border-color .2s;
}
.tut:hover, .post:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.tut .thumb, .post .thumb {
  aspect-ratio: 16/9; background: linear-gradient(135deg, var(--navy-600), var(--navy-700));
  display: grid; place-items: center; color: var(--amber); position: relative;
}
.tut .thumb svg { width: 46px; height: 46px; opacity: .9; }
.tut .thumb .play-badge {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 56px; height: 56px; border-radius: 50%; background: rgba(255,178,62,.92);
  display: grid; place-items: center; color: var(--navy-900); box-shadow: 0 8px 24px rgba(0,0,0,.4);
  transition: transform .2s;
}
.tut:hover .thumb .play-badge { transform: translate(-50%,-50%) scale(1.08); }
.tut .thumb .play-badge svg { width: 24px; height: 24px; opacity: 1; }
.tut .cat { display:inline-block; font-size:.68rem; text-transform:uppercase; letter-spacing:.1em; color:var(--amber); }
.tut .body, .post .body { padding: 18px 20px; }
.tut h3, .post h3 { font-size: 1.05rem; margin: 6px 0 8px; }
.tut p, .post p { font-size: 0.88rem; color: var(--ink-dim); }
.post .date { font-size: 0.78rem; color: var(--ink-faint); }

.tut-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.tut-filter button {
  font-family: var(--font-display); font-size: 0.82rem; padding: 8px 16px; border-radius: 999px;
  background: transparent; border: 1px solid var(--line-strong); color: var(--ink-dim); cursor: pointer; transition: all .15s;
}
.tut-filter button:hover, .tut-filter button.active { background: var(--amber); color: #1a1003; border-color: var(--amber); }

/* embed modal */
.video-frame { aspect-ratio: 16/9; width: 100%; border: 0; border-radius: 12px; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; color: var(--ink);
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; padding: 22px 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .pm { color: var(--amber); font-size: 1.4rem; transition: transform .2s; flex-shrink: 0; }
.faq-item.open .pm { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; color: var(--ink-dim); }
.faq-item.open .faq-a { max-height: 320px; }
.faq-a p { padding-bottom: 22px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy-700), var(--navy-600));
  border: 1px solid var(--line-strong); border-radius: 24px; padding: 56px; text-align: center; position: relative; overflow: hidden;
}
.cta-band::before { content:""; position:absolute; inset:0;
  background: radial-gradient(circle at 80% 20%, rgba(255,178,62,.18), transparent 50%); }
.cta-band h2 { font-size: clamp(1.8rem,3.4vw,2.6rem); margin-bottom: 14px; position: relative; }
.cta-band p { color: var(--ink-dim); max-width: 52ch; margin: 0 auto 26px; position: relative; }
.cta-band .hero-actions { justify-content: center; position: relative; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-800); border-top: 1px solid var(--line); padding: 64px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.foot-grid h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-faint); margin-bottom: 16px; }
.foot-grid a { display: block; color: var(--ink-dim); font-size: 0.92rem; padding: 5px 0; transition: color .15s; }
.foot-grid a:hover { color: var(--amber); }
.foot-about p { color: var(--ink-dim); font-size: 0.92rem; margin: 14px 0; max-width: 34ch; }
.foot-bottom {
  margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  color: var(--ink-faint); font-size: 0.86rem;
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Page hero (inner) ---------- */
.page-hero { padding: 70px 0 50px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::before { content:""; position:absolute; top:-150px; right:-120px; width:480px; height:480px;
  background: radial-gradient(circle, rgba(255,178,62,.12), transparent 62%); }
.page-hero h1 { font-size: clamp(2rem,4vw,3rem); margin: 16px 0 14px; position: relative; }
.page-hero p { color: var(--ink-dim); font-size: 1.08rem; max-width: 56ch; position: relative; }

/* ---------- Contact emails ---------- */
.email-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.email-card { border:1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--navy-800); }
.email-card .dept { font-family: var(--font-display); color: var(--amber); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.email-card a.mail { font-size: 1.05rem; color: var(--white); display: block; margin-top: 6px; word-break: break-all; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-video { padding: 80px 0 64px; }
  .hero-card { max-width: 460px; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .price-grid { grid-template-columns: repeat(2,1fr); }
  .value-cards { grid-template-columns: repeat(2,1fr); }
  .stats-band { grid-template-columns: repeat(2,1fr); row-gap: 30px; }
  .tut-grid, .news-grid { grid-template-columns: repeat(2,1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .email-cards { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .nav-links { display: none; }
  .hero-card { display: none; }
  .hero-video { padding: 64px 0 52px; min-height: 80vh; display: flex; align-items: center; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--navy-800); border-bottom: 1px solid var(--line); padding: 14px; gap: 4px;
  }
  .nav-links.open a { padding: 12px 14px; }
  .nav-toggle { display: block; }
  .nav-cta .btn-ghost { display: none; }
  .grid-4, .grid-3, .grid-2, .price-grid, .value-cards, .stats-band, .tut-grid, .news-grid, .form-row, .foot-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero { padding: 60px 0 50px; }
  .cta-band { padding: 36px 22px; }
  .foot-bottom { flex-direction: column; text-align: center; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Logo in nav/footer ---------- */
.nav-logo{height:36px;width:auto;display:block;}
.foot-logo{height:40px;width:auto;display:block;margin-bottom:14px;}
.foot-legal{display:flex;gap:18px;}
.foot-legal a{color:var(--ink-faint);}
.foot-legal a:hover{color:var(--amber);}

/* ---------- Demo form checkbox grid ---------- */
.checkbox-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;margin-top:4px;}
.checkbox-grid .chk{display:flex;align-items:center;gap:9px;font-size:.92rem;color:var(--ink-dim,#cfd8ea);cursor:pointer;padding:8px 12px;border:1px solid rgba(255,255,255,.12);border-radius:10px;background:rgba(255,255,255,.02);}
.checkbox-grid .chk:hover{border-color:var(--amber);}
.checkbox-grid .chk input{width:auto;accent-color:var(--amber);}

/* ---------- Floating chat widget ---------- */
#itz-launch{position:fixed;right:22px;bottom:22px;z-index:999;width:58px;height:58px;border-radius:50%;
  background:#2563EB;color:#fff;border:0;cursor:pointer;display:flex;align-items:center;justify-content:center;
  box-shadow:0 12px 30px -8px rgba(37,99,235,.7);transition:.2s;}
#itz-launch:hover{transform:translateY(-2px);background:#1e55d6;}
#itz-launch svg{width:26px;height:26px;}
#itz-panel{position:fixed;right:22px;bottom:22px;z-index:1000;width:370px;max-width:calc(100vw - 32px);height:540px;max-height:calc(100vh - 60px);
  background:#0c1730;border:1px solid rgba(255,255,255,.14);border-radius:18px;display:flex;flex-direction:column;overflow:hidden;
  box-shadow:0 30px 70px -25px rgba(0,0,0,.7);font-family:"Inter",sans-serif;}
.itz-head{display:flex;align-items:center;gap:11px;padding:15px 16px;background:#122340;border-bottom:1px solid rgba(255,255,255,.1);}
.itz-head-ico{width:30px;height:30px;}
.itz-head b{color:#fff;font-size:.95rem;display:block;line-height:1.1;}
.itz-head span{color:#9fb0cc;font-size:.74rem;}
.itz-head #itz-close{margin-left:auto;background:transparent;border:0;color:#9fb0cc;font-size:1.5rem;cursor:pointer;line-height:1;}
.itz-tabs{display:flex;border-bottom:1px solid rgba(255,255,255,.1);}
.itz-tab{flex:1;background:transparent;border:0;padding:11px;color:#9fb0cc;font-size:.85rem;cursor:pointer;font-family:inherit;}
.itz-tab.active{color:#FFB23E;box-shadow:inset 0 -2px 0 #FFB23E;}
.itz-body{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px;background:#070d1c;}
.itz-msg{max-width:82%;padding:10px 13px;border-radius:13px;font-size:.9rem;line-height:1.45;}
.itz-msg.bot{background:#122340;color:#eaf0fb;align-self:flex-start;border-bottom-left-radius:3px;}
.itz-msg.user{background:#2563EB;color:#fff;align-self:flex-end;border-bottom-right-radius:3px;}
.itz-msg.sys{background:transparent;color:#7c8db0;font-size:.78rem;align-self:center;text-align:center;}
.itz-input{display:flex;gap:8px;padding:12px;border-top:1px solid rgba(255,255,255,.1);background:#0c1730;}
.itz-input input{flex:1;padding:11px 13px;border-radius:10px;background:#070d1c;border:1px solid rgba(255,255,255,.16);color:#eaf0fb;font-family:inherit;font-size:.9rem;}
.itz-input input:focus{outline:none;border-color:#2563EB;}
.itz-input button{background:#2563EB;color:#fff;border:0;border-radius:10px;width:44px;display:flex;align-items:center;justify-content:center;cursor:pointer;}
.itz-input button svg{width:20px;height:20px;}
@media(max-width:480px){ #itz-panel{right:8px;bottom:8px;} #itz-launch{right:14px;bottom:14px;} }

/* ---------- Hero: premium SaaS split layout ---------- */
.hero-video .hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center;position:relative;z-index:1;}
.hero-copy h1{font-size:clamp(2rem,3.6vw,3.1rem);line-height:1.08;margin:14px 0 18px;letter-spacing:-.02em;}
.hero-copy .lead{font-size:1.05rem;line-height:1.6;max-width:560px;}
.hero-scrim{position:absolute;inset:0;background:
  linear-gradient(105deg, rgba(7,13,28,.96) 0%, rgba(7,13,28,.88) 42%, rgba(7,13,28,.62) 72%, rgba(7,13,28,.80) 100%),
  linear-gradient(0deg, rgba(7,13,28,.92), rgba(7,13,28,.25) 60%);}

/* ---- Animated live dashboard card ---- */
.hero-dash{perspective:1400px;}
.dash-card{background:rgba(12,23,48,.78);backdrop-filter:blur(12px);border:1px solid rgba(120,160,230,.22);
  border-radius:16px;overflow:hidden;box-shadow:0 40px 90px -30px rgba(0,0,0,.8);transform:rotateY(-7deg) rotateX(3deg);
  transition:transform .5s ease;}
.hero-dash:hover .dash-card{transform:rotateY(0) rotateX(0);}
.dash-top{display:flex;align-items:center;gap:7px;padding:12px 16px;background:rgba(7,13,28,.6);border-bottom:1px solid rgba(120,160,230,.16);}
.dash-dot{width:10px;height:10px;border-radius:50%;background:#ff5f57;}
.dash-dot.amber{background:#FFB23E;} .dash-dot.teal{background:#38e1c4;}
.dash-title{margin-left:8px;font-family:var(--font-mono,"Space Grotesk",sans-serif);font-size:.82rem;color:#cdd9ef;font-weight:600;}
.dash-live{margin-left:auto;font-size:.7rem;color:#ff6b6b;font-weight:700;letter-spacing:.05em;animation:pulse 2s infinite;}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.4}}
.dash-body{display:grid;grid-template-columns:1fr 96px;gap:0;}
.dash-map{position:relative;height:220px;background:#0a1428;}
.dash-mapsvg{width:100%;height:100%;display:block;}
.route{stroke-dashoffset:200;animation:dashflow 6s linear infinite;}
@keyframes dashflow{to{stroke-dashoffset:0}}
.veh{filter:drop-shadow(0 0 6px rgba(255,178,62,.8));}
.veh.v1{animation:move1 9s linear infinite;}
.veh.v2{animation:move2 11s linear infinite;}
@keyframes move1{
  0%{transform:translate(20px,180px)}30%{transform:translate(120px,95px)}
  60%{transform:translate(200px,82px)}100%{transform:translate(305px,40px)}}
@keyframes move2{
  0%{transform:translate(305px,40px)}50%{transform:translate(160px,88px)}100%{transform:translate(20px,180px)}}
.pin{animation:ping 3s ease-out infinite;}
@keyframes ping{0%{opacity:.5}50%{opacity:1}100%{opacity:.5}}
.dash-side{background:rgba(7,13,28,.5);border-left:1px solid rgba(120,160,230,.14);display:flex;flex-direction:column;}
.dash-stat{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;border-bottom:1px solid rgba(120,160,230,.1);gap:2px;}
.ds-l{font-size:.62rem;color:#7e90b3;text-transform:uppercase;letter-spacing:.06em;}
.ds-n{font-family:"Space Grotesk",sans-serif;font-size:1.3rem;color:#eaf0fb;}
.ds-n.amber{color:#FFB23E;}
.dash-alerts{position:relative;height:46px;overflow:hidden;border-top:1px solid rgba(120,160,230,.16);background:rgba(7,13,28,.55);}
.alert-chip{position:absolute;inset:0;display:flex;align-items:center;gap:9px;padding:0 16px;font-size:.8rem;color:#dce6f7;
  opacity:0;animation:alertCycle 12s infinite;}
.alert-chip:nth-child(1){animation-delay:0s}
.alert-chip:nth-child(2){animation-delay:3s}
.alert-chip:nth-child(3){animation-delay:6s}
.alert-chip:nth-child(4){animation-delay:9s}
@keyframes alertCycle{0%{opacity:0;transform:translateY(10px)}4%{opacity:1;transform:translateY(0)}21%{opacity:1;transform:translateY(0)}25%{opacity:0;transform:translateY(-10px)}100%{opacity:0}}
.ac-ico{width:22px;height:22px;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:.8rem;flex-shrink:0;}
.ac-ico.route{background:rgba(37,99,235,.25);color:#7eb0ff;}
.ac-ico.fuel{background:rgba(255,178,62,.22);color:#FFB23E;}
.ac-ico.cam{background:rgba(56,225,196,.2);color:#38e1c4;}
.ac-ico.ai{background:rgba(180,120,255,.22);color:#c9a4ff;}

@media (max-width:960px){
  .hero-video .hero-grid{grid-template-columns:1fr;gap:34px;}
  .hero-dash{max-width:460px;}
  .dash-card{transform:none;}
}
@media (max-width:600px){
  .hero-dash{display:none;}
  .hero-copy .lead{font-size:.98rem;}
}

/* ---------- Section video blocks (other pages) ---------- */
.section-video{position:relative;border-radius:18px;overflow:hidden;min-height:340px;display:flex;align-items:flex-end;}
.section-video video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;}
.section-video .sv-scrim{position:absolute;inset:0;background:linear-gradient(0deg,rgba(7,13,28,.85),rgba(7,13,28,.25));z-index:1;}
.section-video .sv-content{position:relative;z-index:2;padding:30px;}
.section-video .sv-content h3{font-size:1.5rem;margin-bottom:8px;}

/* ---------- Page hero with background video ---------- */
.page-hero-video{position:relative;overflow:hidden;padding:90px 0 76px;}
.page-hero-video .ph-media{position:absolute;inset:0;z-index:0;background-size:cover;background-position:center;}
.page-hero-video .ph-media video{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);min-width:100%;min-height:100%;width:auto;height:auto;object-fit:cover;}
.page-hero-video .ph-scrim{position:absolute;inset:0;background:linear-gradient(100deg,rgba(7,13,28,.94),rgba(7,13,28,.74) 60%,rgba(7,13,28,.86));}
.page-hero-video .ph-content{position:relative;z-index:1;}
@media (prefers-reduced-motion:reduce){.page-hero-video video{display:none;}}

/* ============ Hero: clean SaaS split layout ============ */
.hero-split{position:relative;overflow:hidden;padding:64px 0 0;
  background:radial-gradient(1100px 560px at 12% -10%, #122340 0%, #0c1730 48%, #070d1c 100%);}
.hero-split .hero-bg{position:absolute;inset:0;z-index:0;
  background-image:linear-gradient(rgba(120,160,220,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(120,160,220,.04) 1px,transparent 1px);
  background-size:44px 44px;opacity:.8;}
.hero-split-grid{position:relative;z-index:1;display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center;min-height:calc(100vh - 220px);}
.hero-copy{min-width:0;}
.hero-split .hero-copy h1{font-size:clamp(1.9rem,3.4vw,3rem);line-height:1.08;letter-spacing:-.02em;margin:14px 0 16px;}
.hero-split .hero-copy .lead{font-size:1.04rem;line-height:1.6;max-width:600px;color:var(--ink-dim,#c4d0e6);}
.hero-split .hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0 26px;}

/* key benefits — SVGs hard-constrained so they can never blow up */
.hero-benefits{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:12px 22px;max-width:560px;}
.hero-benefits li{display:flex;align-items:center;gap:10px;font-size:.93rem;color:var(--ink,#e7eefb);line-height:1.3;}
.hero-benefits li svg{width:18px;height:18px;min-width:18px;max-width:18px;min-height:18px;max-height:18px;
  flex:0 0 18px;color:#38e1c4;background:rgba(56,225,196,.12);border-radius:50%;padding:3px;box-sizing:border-box;}
.hero-benefits li span{flex:1;min-width:0;}

/* trust row under hero */
.hero-trust-row{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,1fr);gap:20px;
  margin-top:34px;padding:24px 0 28px;border-top:1px solid rgba(120,160,230,.14);}
.hero-trust-row .t-num{font-family:"Space Grotesk",sans-serif;font-size:1.8rem;color:#fff;line-height:1;}
.hero-trust-row .t-lbl{font-size:.8rem;color:var(--ink-faint,#8fa0bf);margin-top:6px;}

/* ---- GPS map dashboard card (self-contained SVG, no external tiles) ---- */
.hero-mapwrap{display:flex;justify-content:center;width:100%;min-width:0;}
.gps-card{width:100%;max-width:520px;background:rgba(12,23,48,.92);border:1px solid rgba(120,160,230,.22);
  border-radius:16px;overflow:hidden;box-shadow:0 40px 90px -30px rgba(0,0,0,.85);}
.gps-top{display:flex;align-items:center;gap:7px;padding:11px 15px;background:rgba(7,13,28,.7);border-bottom:1px solid rgba(120,160,230,.16);}
.gps-dot{width:10px;height:10px;min-width:10px;border-radius:50%;background:#5b7fc4;}
.gps-dot.red{background:#ff5f57;} .gps-dot.amber{background:#FFB23E;} .gps-dot.teal{background:#38e1c4;}
.gps-title{margin-left:8px;font-family:"Space Grotesk",sans-serif;font-size:.82rem;color:#cdd9ef;font-weight:600;}
.gps-live{margin-left:auto;font-size:.7rem;color:#ff6b6b;font-weight:700;letter-spacing:.05em;animation:pulse 2s infinite;}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.4}}
.gps-map-area{position:relative;height:330px;overflow:hidden;}
.gps-svgmap{position:absolute;inset:0;width:100%;height:100%;display:block;z-index:0;}

.veh-card{position:absolute;top:14px;left:14px;z-index:5;width:184px;max-width:60%;background:rgba(7,13,28,.9);
  border:1px solid rgba(120,160,230,.24);border-radius:11px;padding:11px 12px;box-shadow:0 14px 30px -12px rgba(0,0,0,.7);}
.vc-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px;}
.vc-plate{font-family:"Space Grotesk",sans-serif;font-weight:700;font-size:.84rem;color:#fff;}
.vc-status{font-size:.64rem;font-weight:600;white-space:nowrap;}
.vc-status.moving{color:#38e1c4;}
.vc-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px 10px;}
.vc-grid span.vc-l{display:block;font-size:.58rem;color:#8194b5;text-transform:uppercase;letter-spacing:.05em;}
.vc-grid b{font-size:.8rem;color:#eaf0fb;font-family:"Space Grotesk",sans-serif;font-weight:600;}
.vc-grid b.teal{color:#38e1c4;}
.vc-route{margin-top:10px;padding-top:9px;border-top:1px solid rgba(120,160,230,.16);font-size:.62rem;color:#9fb0cc;}

.fleet-pill{position:absolute;bottom:14px;right:14px;z-index:5;background:rgba(7,13,28,.9);
  border:1px solid rgba(120,160,230,.24);border-radius:999px;padding:7px 14px;font-size:.72rem;color:#cdd9ef;}
.fleet-pill b{font-family:"Space Grotesk",sans-serif;color:#fff;}
.fleet-pill b.amber{color:#FFB23E;}

.gps-foot{display:flex;gap:18px;padding:11px 16px;background:rgba(7,13,28,.6);border-top:1px solid rgba(120,160,230,.16);}
.gf-stat{display:flex;align-items:center;gap:7px;font-size:.74rem;color:#aebbd4;}
.gf-dot{width:8px;height:8px;min-width:8px;border-radius:50%;}
.gf-dot.moving{background:#38e1c4;} .gf-dot.parked{background:#5b7fc4;} .gf-dot.idle{background:#FFB23E;}

@media (max-width:980px){
  .hero-split-grid{grid-template-columns:1fr;gap:32px;min-height:0;}
  .hero-mapwrap{order:-1;}
  .gps-card{max-width:440px;}
  .hero-trust-row{grid-template-columns:1fr 1fr;gap:18px;}
}
@media (max-width:560px){
  .hero-split{padding:40px 0 0;}
  .hero-benefits{grid-template-columns:1fr;gap:10px;}
  .hero-split .hero-actions .btn{flex:1;justify-content:center;}
  .gps-map-area{height:280px;}
  .veh-card{width:160px;}
}

/* ---------- Captcha widget ---------- */
.captcha-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.captcha-img{height:50px;width:150px;border-radius:8px;border:1px solid rgba(255,255,255,.14);background:#0c1730;}
.captcha-reload{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14);color:var(--ink,#e7eefb);
  width:42px;height:42px;border-radius:8px;cursor:pointer;font-size:1.1rem;}
.captcha-reload:hover{border-color:var(--amber);color:var(--amber);}
.captcha-input{flex:1;min-width:120px;text-transform:uppercase;letter-spacing:.15em;font-weight:600;}

/* chatbot sales-handoff offer + lead form */
.itz-offer-btns{display:flex;gap:8px;margin-top:10px;}
.itz-offer-btns button{flex:1;padding:8px;border:0;border-radius:8px;font-family:inherit;font-size:.82rem;font-weight:600;cursor:pointer;}
#yesSales{background:#2563EB;color:#fff;}
#noSales{background:rgba(255,255,255,.08);color:#cdd9ef;}
.itz-leadform{display:flex;flex-direction:column;gap:8px;padding:6px 2px;}
.itz-leadform input{padding:10px 12px;border-radius:9px;background:#070d1c;border:1px solid rgba(255,255,255,.16);color:#eaf0fb;font-family:inherit;font-size:.88rem;}
.itz-leadform input:focus{outline:none;border-color:#2563EB;}
.itz-leadform button{padding:11px;border:0;border-radius:9px;background:#2563EB;color:#fff;font-family:inherit;font-weight:600;cursor:pointer;}
