:root {
    --bg: #14171C;
    --surface: #1B1F26;
    --surface-raised: #232830;
    --line: #2E3540;
    --amber: #F5A623;
    --amber-dim: #8A6323;
    --teal: #4FD1C5;
    --teal-dim: #2C6B65;
    --text: #E8E6E1;
    --text-muted: #8B93A1;
    --text-faint: #5B6270;
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'IBM Plex Sans', sans-serif;
    --font-mono: 'IBM Plex Mono', 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);
    line-height: 1.5;
    overflow-x: hidden;
  }

  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
      linear-gradient(var(--line) 1px, transparent 1px),
      linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 64px 64px;
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
  }

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

  .wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
  }

  /* ---------- Telemetry chip (signature element) ---------- */
  .chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 12.5px;
    letter-spacing: 0.02em;
    color: var(--teal);
    background: rgba(79, 209, 197, 0.08);
    border: 1px solid rgba(79, 209, 197, 0.25);
    border-radius: 4px;
    padding: 5px 10px;
    white-space: nowrap;
  }
  .chip.amber {
    color: var(--amber);
    background: rgba(245, 166, 35, 0.08);
    border-color: rgba(245, 166, 35, 0.28);
  }
  .chip .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 6px currentColor;
  }

  @media (prefers-reduced-motion: no-preference) {
    .chip .dot.live { animation: pulse 1.8s ease-in-out infinite; }
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
  }

  /* ---------- Header ---------- */
  header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(20, 23, 28, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  nav {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 32px;
    max-width: 1200px; margin: 0 auto;
  }
  .logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.01em;
    display: flex; align-items: center; gap: 10px;
  }
  .logo .mark {
    width: 28px; height: 28px;
    background: var(--amber);
    border-radius: 6px;
    position: relative;
  }
  .logo .mark::after {
    content: '';
    position: absolute; inset: 7px;
    border: 2px solid var(--bg);
    border-radius: 50%;
  }
  .nav-links { display: flex; gap: 36px; }
  .nav-links a {
    font-size: 14.5px; color: var(--text-muted);
    transition: color 0.15s ease;
  }
  .nav-links a:hover, .nav-links a:focus-visible { color: var(--text); }
  .nav-right { display: flex; align-items: center; gap: 20px; }
  .btn {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 6px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    display: inline-block;
    appearance: none;
    -webkit-appearance: none;
    text-align: center;
  }
  button.btn {
    width: auto;
    color: inherit;
  }
  .btn-primary {
    background: var(--amber);
    color: #17140C;
  }
  .btn-primary:hover, .btn-primary:focus-visible {
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.25);
  }
  .btn-ghost {
    border-color: var(--line);
    color: var(--text);
    background: transparent;
    font-size: 13.5px;
    padding: 8px 16px;
  }
  .btn-ghost:hover, .btn-ghost:focus-visible { border-color: var(--text-muted); }
  :focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

  @media (max-width: 860px) {
    .nav-links { display: none; }
  }

  /* ---------- Hero ---------- */
  .hero {
    position: relative;
    padding: 88px 32px 70px;
    z-index: 1;
  }
  .hero-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
  }
  .eyebrow {
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--amber);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 18px;
    display: flex; align-items: center; gap: 10px;
  }
  .eyebrow::before {
    content: '';
    width: 24px; height: 1px;
    background: var(--amber);
  }
  h1 {
    font-family: var(--font-display);
    font-size: clamp(34px, 4.6vw, 54px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 22px;
  }
  h1 .hl { color: var(--amber); }
  .hero p.lede {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 480px;
    margin-bottom: 34px;
  }
  .hero-ctas { display: flex; gap: 14px; margin-bottom: 40px; flex-wrap: wrap; }
  .btn-large { padding: 14px 26px; font-size: 15px; }

  .hero-stats {
    display: flex; gap: 32px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
  }
  .hero-stats div { display: flex; flex-direction: column; gap: 4px; }
  .hero-stats .num {
    font-family: var(--font-display);
    font-size: 24px; font-weight: 700; color: var(--text);
  }
  .hero-stats .lbl { font-size: 12.5px; color: var(--text-faint); }

  /* ---------- Hero visual: dual vehicle telemetry cards ---------- */
  .hero-visual { display: flex; flex-direction: column; gap: 16px; }
  .vcard {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 18px 20px;
    position: relative;
    overflow: hidden;
  }
  .vcard::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--teal), transparent);
  }
  .vcard.mining::before { background: linear-gradient(90deg, var(--amber), transparent); }
  .vcard-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
  .vcard-id { font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); }
  .vcard-name { font-family: var(--font-display); font-weight: 600; font-size: 16px; }
  .vcard-icon {
    width: 40px; height: 40px;
    border-radius: 8px;
    background: var(--surface-raised);
    display: flex; align-items: center; justify-content: center;
  }
  .vcard-readouts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

  @media (max-width: 980px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero p.lede { max-width: 100%; }
  }

  /* ---------- Section shell ---------- */
  section { position: relative; z-index: 2; padding: 84px 0; }
  .section-head { max-width: 620px; margin-bottom: 52px; }
  .section-tag {
    font-family: var(--font-mono);
    font-size: 12px; color: var(--teal);
    letter-spacing: 0.1em; text-transform: uppercase;
    margin-bottom: 12px;
  }
  h2 {
    font-family: var(--font-display);
    font-size: clamp(26px, 3.2vw, 36px);
    font-weight: 700;
    letter-spacing: -0.015em;
    margin-bottom: 14px;
  }
  .section-head p { color: var(--text-muted); font-size: 16px; }

  /* ---------- Trust strip ---------- */
  .trust {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 30px 0;
  }
  .trust .wrap {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px;
  }
  .trust-item {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-faint);
    display: flex; align-items: center; gap: 8px;
  }
  .trust-item strong { color: var(--text); font-weight: 600; }

  /* ---------- Segments split ---------- */
  .segments { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .segment-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 34px 30px;
  }
  .segment-card .seg-icon {
    width: 52px; height: 52px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 22px;
  }
  .segment-card.mining .seg-icon { background: rgba(245, 166, 35, 0.12); }
  .segment-card.transport .seg-icon { background: rgba(79, 209, 197, 0.12); }
  .segment-card h3 {
    font-family: var(--font-display); font-size: 21px; font-weight: 600;
    margin-bottom: 10px;
  }
  .segment-card > p { color: var(--text-muted); font-size: 14.5px; margin-bottom: 22px; }
  .seg-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
  .seg-list li {
    display: flex; align-items: baseline; gap: 10px;
    font-size: 14.5px; color: var(--text);
  }
  .seg-list li::before {
    content: '›';
    color: var(--amber);
    font-family: var(--font-mono);
    font-weight: 600;
  }
  .segment-card.transport .seg-list li::before { color: var(--teal); }

  @media (max-width: 860px) { .segments { grid-template-columns: 1fr; } }

  /* ---------- Features grid ---------- */
  .features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
  }
  .feature {
    background: var(--surface);
    padding: 30px 26px;
    display: flex; flex-direction: column; gap: 14px;
  }
  .feature-icon {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    color: var(--amber);
  }
  .feature h4 { font-family: var(--font-display); font-size: 16.5px; font-weight: 600; }
  .feature p { font-size: 14px; color: var(--text-muted); }

  @media (max-width: 860px) { .features { grid-template-columns: 1fr; } }

  /* ---------- Dashboard preview ---------- */
  .dash-frame {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
  }
  .dash-bar {
    display: flex; align-items: center; gap: 8px;
    padding-bottom: 16px; margin-bottom: 18px;
    border-bottom: 1px solid var(--line);
  }
  .dash-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
  .dash-bar .fname { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-faint); margin-left: 10px; }
  .dash-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; }
  .dash-map {
    background: var(--surface-raised);
    border-radius: 10px;
    min-height: 320px;
    position: relative;
    overflow: hidden;
    background-image:
      linear-gradient(var(--line) 1px, transparent 1px),
      linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 28px 28px;
  }
  .route-line {
    position: absolute;
    stroke: var(--teal);
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 6 5;
  }
  .pin {
    position: absolute;
    width: 12px; height: 12px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    background: var(--amber);
    box-shadow: 0 0 0 4px rgba(245,166,35,0.15);
  }
  .pin.teal { background: var(--teal); box-shadow: 0 0 0 4px rgba(79,209,197,0.15); }
  .dash-side { display: flex; flex-direction: column; gap: 12px; }
  .dash-panel {
    background: var(--surface-raised);
    border-radius: 10px;
    padding: 16px;
  }
  .dash-panel .ptitle { font-size: 12px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; font-family: var(--font-mono); }
  .fuel-bar-track { height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; margin-bottom: 8px; }
  .fuel-bar-fill { height: 100%; background: linear-gradient(90deg, var(--amber), #d4881a); width: 62%; }
  .alert-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
  .alert-row:last-child { border-bottom: none; }

  @media (max-width: 860px) { .dash-grid { grid-template-columns: 1fr; } }

  /* ---------- Pricing ---------- */
  .pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .price-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 32px 28px;
    display: flex; flex-direction: column;
  }
  .price-card.featured {
    border-color: var(--amber);
    background: linear-gradient(180deg, rgba(245,166,35,0.06), var(--surface) 40%);
    position: relative;
  }
  .price-card.featured::before {
    content: 'MOST PICKED';
    position: absolute; top: -11px; left: 28px;
    background: var(--amber); color: #17140C;
    font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;
    letter-spacing: 0.08em;
    padding: 4px 10px; border-radius: 4px;
  }
  .price-tier { font-family: var(--font-mono); font-size: 13px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
  .price-amt { font-family: var(--font-display); font-size: 34px; font-weight: 700; margin-bottom: 4px; }
  .price-amt span { font-size: 14px; font-weight: 500; color: var(--text-faint); }
  .price-card > p.desc { color: var(--text-muted); font-size: 13.5px; margin-bottom: 22px; }
  .price-feats { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; flex-grow: 1; }
  .price-feats li { font-size: 13.5px; color: var(--text); display: flex; gap: 8px; }
  .price-feats li::before { content: '✓'; color: var(--teal); font-weight: 600; }

  @media (max-width: 860px) { .pricing { grid-template-columns: 1fr; } }

  /* ---------- Testimonials ---------- */
  .testimonials { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .quote-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 30px;
  }
  .quote-card q {
    font-family: var(--font-display);
    font-size: 18px; font-weight: 500;
    line-height: 1.5;
    display: block;
    margin-bottom: 20px;
  }
  .quote-who { display: flex; align-items: center; gap: 12px; }
  .quote-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--surface-raised);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--amber);
  }
  .quote-name { font-size: 14px; font-weight: 600; }
  .quote-role { font-size: 12.5px; color: var(--text-faint); }

  @media (max-width: 860px) { .testimonials { grid-template-columns: 1fr; } }

  /* ---------- CTA banner ---------- */
  .cta-banner {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 56px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .cta-banner::after {
    content: '';
    position: absolute; width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(245,166,35,0.12), transparent 70%);
    top: -250px; left: 50%; transform: translateX(-50%);
  }
  .cta-banner h2 { position: relative; }
  .cta-banner p { color: var(--text-muted); margin-bottom: 28px; position: relative; }
  .cta-banner .hero-ctas { justify-content: center; position: relative; }

  /* ---------- Footer ---------- */
  footer { border-top: 1px solid var(--line); padding: 48px 0 30px; }
  .foot-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; margin-bottom: 36px; }
  .foot-links { display: flex; gap: 56px; flex-wrap: wrap; }
  .foot-col h5 { font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
  .foot-col a { display: block; font-size: 14px; color: var(--text-muted); margin-bottom: 10px; }
  .foot-col a:hover { color: var(--text); }
  .foot-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 24px; border-top: 1px solid var(--line);
    font-size: 12.5px; color: var(--text-faint); flex-wrap: wrap; gap: 12px;
  }

/* ---------- Active nav state ---------- */
.nav-links a.active { color: var(--text); }
.nav-links a.active { position: relative; }

/* ---------- Inner page hero (smaller banner) ---------- */
.page-hero {
  padding: 64px 32px 56px;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 1;
}
.page-hero .wrap { max-width: 780px; }
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 16px; }
.page-hero p.lede { max-width: 100%; margin-bottom: 0; }

/* ---------- Breadcrumb ---------- */
.crumb {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-faint);
  margin-bottom: 18px;
}
.crumb a { color: var(--text-faint); }
.crumb a:hover { color: var(--teal); }
.crumb .sep { margin: 0 6px; }
.crumb .here { color: var(--teal); }

/* ---------- Form ---------- */
.form-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 34px;
}
.form-status {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.45;
}
.form-status-success {
  background: rgba(79, 209, 197, 0.12);
  border: 1px solid rgba(79, 209, 197, 0.45);
  color: #4FD1C5;
}
.form-status-error {
  background: rgba(245, 101, 101, 0.12);
  border: 1px solid rgba(245, 101, 101, 0.45);
  color: #fc8181;
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14.5px;
  transition: border-color 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
}
.field textarea { resize: vertical; min-height: 100px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.contact-side { display: flex; flex-direction: column; gap: 18px; }
.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
  display: flex; gap: 16px; align-items: flex-start;
}
.contact-info-card .ci-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--surface-raised);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-card h5 { font-family: var(--font-display); font-size: 15px; margin-bottom: 4px; }
.contact-info-card p, .contact-info-card a { font-size: 13.5px; color: var(--text-muted); display: block; }
.contact-info-card a:hover { color: var(--teal); }

.map-block {
  background: var(--surface-raised);
  border-radius: 10px;
  min-height: 180px;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 24px 24px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}

@media (max-width: 860px) {
  .form-shell { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq-item { background: var(--surface); padding: 22px 26px; }
.faq-item h4 { font-family: var(--font-display); font-size: 15.5px; font-weight: 600; margin-bottom: 8px; display: flex; gap: 10px; align-items: baseline; }
.faq-item h4::before { content: 'Q.'; color: var(--amber); font-family: var(--font-mono); font-size: 13px; }
.faq-item p { font-size: 14px; color: var(--text-muted); padding-left: 26px; }

/* ---------- Comparison table (pricing page) ---------- */
.compare-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.compare-table th, .compare-table td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.compare-table th { font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); background: var(--surface-raised); }
.compare-table td:not(:first-child), .compare-table th:not(:first-child) { text-align: center; }
.compare-table td:first-child { color: var(--text-muted); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .yes { color: var(--teal); }
.compare-table .dash { color: var(--text-faint); }

@media (max-width: 700px) {
  .compare-table { display: block; overflow-x: auto; }
}

/* ---------- About page ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.value-card .vnum { font-family: var(--font-mono); font-size: 12px; color: var(--amber); margin-bottom: 14px; }
.value-card h4 { font-family: var(--font-display); font-size: 17px; margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--text-muted); }

.timeline { display: flex; flex-direction: column; }
.tl-row { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.tl-row:last-child { border-bottom: none; }
.tl-year { font-family: var(--font-mono); color: var(--teal); font-size: 14px; }
.tl-row h4 { font-family: var(--font-display); font-size: 16px; margin-bottom: 6px; }
.tl-row p { font-size: 14px; color: var(--text-muted); }

@media (max-width: 700px) { .value-grid { grid-template-columns: 1fr; } .tl-row { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- Solutions page: process/how it works ---------- */
.steps { display: flex; flex-direction: column; gap: 0; }
.step-row {
  display: grid; grid-template-columns: 60px 1fr;
  gap: 24px; padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.step-row:last-child { border-bottom: none; }
.step-num { font-family: var(--font-mono); font-size: 20px; color: var(--amber); }
.step-row h4 { font-family: var(--font-display); font-size: 17px; margin-bottom: 8px; }
.step-row p { font-size: 14.5px; color: var(--text-muted); max-width: 560px; }

/* ---------- Simple content section spacing helper ---------- */
.narrow { max-width: 720px; }

/* ================= DEPTH & POLISH PASS ================= */

/* Subtle grain texture for warmth on the flat dark bg */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Ambient glow blobs behind hero + section heads */
.hero { overflow: hidden; }
.hero::before {
  content: '';
  position: absolute;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(245,166,35,0.10), transparent 68%);
  top: -280px; right: -160px;
  z-index: 0;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(79,209,197,0.08), transparent 70%);
  bottom: -220px; left: -140px;
  z-index: 0;
  pointer-events: none;
}
.hero-inner, .page-hero .wrap { position: relative; z-index: 2; }

/* Elevated shadow system */
.vcard, .segment-card, .feature, .price-card, .quote-card,
.dash-frame, .form-card, .contact-info-card, .faq-item,
.value-card, .cta-banner, .compare-table {
  box-shadow: 0 1px 2px rgba(0,0,0,0.25), 0 12px 32px -16px rgba(0,0,0,0.55);
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1), box-shadow 0.25s ease, border-color 0.25s ease;
}

/* Hover lift for interactive cards */
.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 2px rgba(0,0,0,0.3), 0 20px 40px -18px rgba(0,0,0,0.6);
  border-color: var(--amber-dim);
}
.segment-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 1px 2px rgba(0,0,0,0.3), 0 22px 44px -18px rgba(0,0,0,0.6);
}
.segment-card.mining:hover { border-color: rgba(245,166,35,0.5); }
.segment-card.transport:hover { border-color: rgba(79,209,197,0.5); }
.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 1px 2px rgba(0,0,0,0.3), 0 24px 48px -18px rgba(0,0,0,0.65);
}
.price-card.featured:hover { transform: translateY(-8px) scale(1.015); }
.value-card:hover { transform: translateY(-4px); border-color: var(--amber-dim); }
.quote-card:hover { transform: translateY(-4px); border-color: var(--teal-dim); }
.vcard { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.vcard:hover { transform: translateY(-3px) rotateX(1deg); box-shadow: 0 1px 2px rgba(0,0,0,0.3), 0 20px 44px -16px rgba(0,0,0,0.6); }

/* Buttons: real depth + gradient + motion */
.btn-primary {
  background: linear-gradient(180deg, #FFC15E, var(--amber));
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 8px 20px -6px rgba(245,166,35,0.55);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.btn-primary:hover, .btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 12px 26px -6px rgba(245,166,35,0.7);
  filter: brightness(1.04);
}
.btn-primary:active { transform: translateY(0); }
.btn-ghost { transition: all 0.18s ease; }
.btn-ghost:hover, .btn-ghost:focus-visible {
  transform: translateY(-2px);
  background: var(--surface-raised);
  box-shadow: 0 8px 18px -10px rgba(0,0,0,0.5);
}

/* Nav link underline sweep */
.nav-links a {
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--amber);
  transition: width 0.22s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Section head eyebrow tag chip look */
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 0;
}
.section-tag::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
  display: inline-block;
}

/* Headline gradient accent on highlighted word */
h1 .hl {
  background: linear-gradient(180deg, #FFCE7A, var(--amber) 65%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 12px rgba(245,166,35,0.25));
}

/* Feature icon: glowing chip container instead of bare icon */
.feature-icon {
  background: linear-gradient(160deg, rgba(245,166,35,0.14), rgba(245,166,35,0.03));
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: 10px;
  width: 44px; height: 44px;
}

.seg-icon, .ci-icon {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

/* Dashboard frame: glassy depth */
.dash-frame {
  background: linear-gradient(180deg, var(--surface), var(--bg));
  box-shadow: 0 1px 2px rgba(0,0,0,0.3), 0 40px 80px -30px rgba(0,0,0,0.7);
}
.dash-map { position: relative; }
.dash-map::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(79,209,197,0.10), transparent 55%);
  pointer-events: none;
}
.pin { animation: pin-drop 0.5s cubic-bezier(.2,1.4,.4,1) backwards; }
.pin::after {
  content: '';
  position: absolute; inset: -8px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .pin::after { animation: pin-ring 2.4s ease-out infinite; }
  .route-line { stroke-dasharray: 500; stroke-dashoffset: 500; animation: draw-route 2.4s cubic-bezier(.3,.7,.2,1) 0.3s forwards; }
}
@keyframes draw-route { to { stroke-dashoffset: 0; } }
@keyframes pin-ring {
  0% { opacity: 0.5; transform: scale(0.6); }
  100% { opacity: 0; transform: scale(2.2); }
}
@keyframes pin-drop {
  from { opacity: 0; transform: translateY(-10px) scale(0.6); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* CTA banner: stronger glow + border gradient */
.cta-banner {
  background: linear-gradient(180deg, var(--surface), var(--bg) 130%);
  border-color: rgba(245,166,35,0.25);
}
.cta-banner::after {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(245,166,35,0.16), transparent 65%);
  top: -340px;
}

/* Trust strip: subtle icon dots */
.trust-item::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--teal);
  display: inline-block;
  box-shadow: 0 0 6px var(--teal);
}

/* Price card featured: glow border */
.price-card.featured {
  box-shadow: 0 1px 2px rgba(0,0,0,0.3), 0 0 0 1px rgba(245,166,35,0.15), 0 24px 60px -24px rgba(245,166,35,0.25);
}

/* Scroll reveal (JS-driven) */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .pin::after, .route-line, .chip .dot.live { animation: none !important; }
}

/* Chip refinement: subtle depth */
.chip {
  box-shadow: 0 1px 0 rgba(255,255,255,0.03) inset;
}

/* Header scrolled state */
header.scrolled {
  box-shadow: 0 8px 24px -16px rgba(0,0,0,0.6);
}
