/* ============================================================
   VRAC Global Services — Design System
   Signature motif: "detection-frame" corner brackets + mono
   telemetry tags, drawn from ENTRA-EYE's own camera-OSD look.
   ============================================================ */

:root {
  /* Color */
  --navy-900: #0b1230;
  --navy-800: #121b45;
  --navy-700: #16225c;
  --blue-500: #2da8e0;
  --blue-300: #8fd3f4;
  --blue-100: #e8f5fc;
  --amber-500: #e8a33d;
  --amber-600: #c9862a;
  --green-detect: #34d399;
  --red-alert: #f2545b;
  --bg: #f5f7fa;
  --surface: #ffffff;
  --ink-900: #12131a;
  --ink-600: #4b5163;
  --ink-400: #7c8296;
  --line: #e2e6ed;
  --line-dark: rgba(255, 255, 255, 0.14);

  /* Type */
  --font-display: "Space Grotesk", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-800);
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; color: var(--ink-600); }
a { color: var(--blue-500); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

:focus-visible {
  outline: 2px solid var(--amber-500);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-500);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--green-detect);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.18);
}
.eyebrow.on-dark { color: var(--blue-300); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: 8px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color .15s ease, color .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--amber-500); color: var(--navy-900); }
.btn-primary:hover { background: var(--amber-600); }
.btn-ghost-dark { border-color: var(--line-dark); color: #fff; }
.btn-ghost-dark:hover { border-color: var(--blue-300); background: rgba(255,255,255,0.06); }
.btn-outline { border-color: var(--navy-700); color: var(--navy-700); }
.btn-outline:hover { background: var(--navy-700); color: #fff; }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy-800);
  border-bottom: 1px solid var(--line-dark);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  height: 88px;
}
.brand img { height: 58px; width: auto; }
.brand { display: flex; align-items: center; }
.nav-links {
  display: flex; align-items: center; gap: 30px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  color: rgba(255,255,255,0.82);
  font-size: 0.92rem; font-weight: 500;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a.active {
  color: #fff; text-decoration: none;
  border-bottom-color: var(--blue-500);
}
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-links { position: absolute; top: 88px; left: 0; right: 0; background: var(--navy-800);
    flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 28px 22px;
    border-bottom: 1px solid var(--line-dark); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; width: 100%; border-bottom: none; }
  .nav-cta .btn-outline-label { display: none; }
  .nav-toggle {
    display: inline-flex; background: none; border: 1px solid var(--line-dark);
    color: #fff; padding: 8px 12px; border-radius: 6px; font-size: 1rem; cursor: pointer;
  }
}

/* ---------- Detection-frame signature motif ---------- */
.det-frame {
  position: relative;
}
.det-frame::before, .det-frame::after,
.det-frame .corner-tl, .det-frame .corner-br { content: ""; }
.det-frame::before, .det-frame::after {
  position: absolute; width: 22px; height: 22px;
  border-color: var(--blue-300); border-style: solid; border-width: 0;
  pointer-events: none;
}
.det-frame::before { top: -1px; left: -1px; border-top-width: 3px; border-left-width: 3px; }
.det-frame::after { bottom: -1px; right: -1px; border-bottom-width: 3px; border-right-width: 3px; }

.tele-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tele-tag.ok { background: rgba(52,211,153,0.14); color: #1a8f6b; }
.tele-tag.alert { background: rgba(242,84,91,0.14); color: #c23139; }
.tele-tag.info { background: rgba(45,168,224,0.14); color: #1c72a3; }
.tele-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- Live activity ticker (hero banner) ---------- */
.activity-ticker {
  background: linear-gradient(180deg, #0d1740, #0a112c);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.55);
}
.ticker-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; padding: 0 4px; }
.ticker-topbar .live { display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 0.7rem; color: #ff8a8f; letter-spacing: 0.08em; }
.ticker-topbar .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ff5a60; animation: pulse 1.6s infinite; }
.ticker-topbar .ts { font-family: var(--font-mono); font-size: 0.7rem; color: rgba(255,255,255,0.45); }
.hero-illustration { display: flex; justify-content: center; padding: 6px 0 16px; }
.hero-illustration .sat-glow { animation: sat-pulse 2.6s ease-in-out infinite; }
.hero-illustration .sat-glow:nth-child(2) { animation-delay: .4s; }
.hero-illustration .sat-glow:nth-child(3) { animation-delay: .8s; }
@keyframes sat-pulse { 0%,100% { opacity: 0.55; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .hero-illustration .sat-glow { animation: none; opacity: 1; }
}
.ticker-viewport {
  height: 190px; overflow: hidden; position: relative; border-radius: 8px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track { animation: ticker-scroll 22s linear infinite; }
.activity-ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker-scroll {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}
.ticker-row {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 10px; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.ticker-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.ticker-dot.ok { background: var(--green-detect); box-shadow: 0 0 0 3px rgba(52,211,153,0.18); }
.ticker-dot.info { background: var(--blue-500); box-shadow: 0 0 0 3px rgba(45,168,224,0.18); }
.ticker-dot.warn { background: var(--amber-500); box-shadow: 0 0 0 3px rgba(232,163,61,0.18); }
.ticker-dot.alert { background: var(--red-alert); box-shadow: 0 0 0 3px rgba(242,84,91,0.18); }
.ticker-row .tk-product { font-family: var(--font-mono); font-size: 0.68rem; color: var(--blue-300); letter-spacing: 0.04em; white-space: nowrap; }
.ticker-row .tk-msg { font-size: 0.86rem; color: rgba(255,255,255,0.85); flex-grow: 1; }
.ticker-stats { display: flex; gap: 10px; margin-top: 14px; }
.ticker-stats div { flex: 1; background: rgba(255,255,255,0.04); border: 1px solid var(--line-dark); border-radius: 8px; padding: 10px 12px; }
.ticker-stats .num { font-family: var(--font-mono); font-size: 1.1rem; color: #fff; font-weight: 600; }
.ticker-stats .lbl { font-size: 0.65rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.06em; }


.hero {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: #fff;
  padding: 76px 0 64px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at top right, black 10%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center;
  position: relative; z-index: 1;
}
.hero h1 { color: #fff; }
.hero p.lede { color: rgba(255,255,255,0.78); font-size: 1.1rem; max-width: 46ch; }
.hero-ctas { display: flex; gap: 14px; margin: 26px 0 34px; flex-wrap: wrap; }
.trust-strip { border-top: 1px solid var(--line-dark); padding-top: 20px; margin-top: 10px; }
.trust-strip span.label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; color: var(--blue-300); text-transform: uppercase; display: block; margin-bottom: 10px; }
.trust-logos { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.trust-logos img {
  height: 26px; width: auto; max-width: 120px; object-fit: contain;
  display: block;
}
.logo-wall { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 14px; }
.logo-wall.on-light img { opacity: 0.85; }
.logo-wall.on-light img:hover { opacity: 1; }
.logo-wall img { height: 26px; width: auto; max-width: 120px; object-fit: contain; display: block; }
.logo-chip {
  background: #fff; border-radius: 8px; padding: 8px 14px;
  display: inline-flex; align-items: center; box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  transition: transform .15s ease, box-shadow .15s ease;
}
.logo-chip img {
  height: 28px; width: auto; max-width: 110px; object-fit: contain; display: block;
}
.logo-chip:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }


/* Feed card visual (signature element) */
.feed-card {
  background: linear-gradient(180deg, #0d1740, #0a112c);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  padding: 18px;
  position: relative;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.55);
}
.feed-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.feed-topbar .live { display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 0.7rem; color: #ff8a8f; letter-spacing: 0.08em; }
.feed-topbar .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ff5a60; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.feed-topbar .ts { font-family: var(--font-mono); font-size: 0.7rem; color: rgba(255,255,255,0.5); }
.feed-screen {
  background: linear-gradient(135deg, #16224f 0%, #0e1638 100%);
  border-radius: 8px; height: 210px; position: relative; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}
.det-box {
  position: absolute; border: 2px solid var(--green-detect); border-radius: 3px;
}
.det-box.alert-box { border-color: var(--red-alert); }
.det-box .tag {
  position: absolute; top: -20px; left: -2px;
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.04em;
  background: var(--green-detect); color: #06281c; padding: 1px 6px; border-radius: 2px; white-space: nowrap;
}
.det-box.alert-box .tag { background: var(--red-alert); color: #2b0507; }
.feed-stats { display: flex; gap: 10px; margin-top: 14px; }
.feed-stats div { flex: 1; background: rgba(255,255,255,0.04); border: 1px solid var(--line-dark); border-radius: 8px; padding: 10px 12px; }
.feed-stats .num { font-family: var(--font-mono); font-size: 1.15rem; color: #fff; font-weight: 600; }
.feed-stats .lbl { font-size: 0.68rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
section.tight { padding: 48px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.bg-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bg-navy { background: var(--navy-800); color: #fff; }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-navy p { color: rgba(255,255,255,0.72); }

/* ---------- Grids & Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.card:hover { box-shadow: 0 18px 40px -22px rgba(15, 27, 69, 0.28); border-color: var(--blue-300); transform: translateY(-2px); }
.card .icon-badge {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--blue-100); color: var(--blue-500);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 600; margin-bottom: 16px;
}
.card.on-navy { background: rgba(255,255,255,0.045); border-color: var(--line-dark); }
.card.on-navy h3, .card.on-navy h4 { color: #fff; }
.card.on-navy p { color: rgba(255,255,255,0.68); }

.card.product {
  display: flex; flex-direction: column; gap: 10px;
}
.card.product .tag-row { display: flex; gap: 8px; margin-bottom: 4px; }
.card.product a.more { font-weight: 600; font-size: 0.9rem; }

/* Step flow (genuinely sequential — Connect / Analyse / Detect / Act) */
.step-flow { display: flex; gap: 18px; counter-reset: step; }
.step {
  flex: 1; position: relative; padding-top: 8px;
}
.step .step-num {
  font-family: var(--font-mono); font-weight: 600; color: var(--blue-500);
  font-size: 1.3rem; display: block; margin-bottom: 10px;
}
.step:not(:last-child)::after {
  content: "→"; position: absolute; right: -16px; top: 4px; color: var(--line);
  font-size: 1.2rem;
}
@media (max-width: 900px) { .step-flow { flex-direction: column; } .step:not(:last-child)::after { display: none; } }

/* Stat strip */
.stat-strip { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
.stat-strip .stat { flex: 1; min-width: 160px; padding: 22px 20px; border-right: 1px solid var(--line); }
.stat-strip .stat:last-child { border-right: none; }
.stat .num { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--navy-800); }
.stat .lbl { font-size: 0.82rem; color: var(--ink-400); }

/* Table (client roster, product suite) */
table.plain { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
table.plain th { background: var(--navy-800); color: #fff; text-align: left; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; padding: 12px 16px; }
table.plain td { padding: 14px 16px; border-top: 1px solid var(--line); font-size: 0.94rem; }
table.plain tr:hover td { background: var(--blue-100); }

/* Breadcrumb */
.breadcrumb { font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-400); margin-bottom: 18px; }
.breadcrumb a { color: var(--ink-400); }
.breadcrumb a:hover { color: var(--blue-500); }

/* CTA band */
.cta-band {
  background: var(--navy-900);
  color: #fff; text-align: center; padding: 56px 0;
  position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.7); }

/* Footer */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.65); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
.footer-grid h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; font-family: var(--font-mono); font-weight: 500; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: rgba(255,255,255,0.65); font-size: 0.92rem; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--line-dark); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.82rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.small { font-size: 0.85rem; color: var(--ink-400); }
.divider { border: none; border-top: 1px solid var(--line); margin: 8px 0; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 0.85rem; font-weight: 500; color: var(--navy-700); background: var(--surface); }
.skip-link { position: absolute; left: -9999px; top: 0; background: #fff; padding: 10px 16px; z-index: 200; }
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Donut chart ---------- */
.donut-row { display: flex; flex-wrap: wrap; gap: 32px; justify-content: center; align-items: flex-start; }
.donut-wrap { text-align: center; }
.donut-label { font-size: 0.9rem; color: var(--ink-600); font-weight: 600; max-width: 20ch; margin: 8px auto 0; }

/* ---------- Icon stat row ---------- */
.icon-stat-row { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
.icon-stat { flex: 1; min-width: 160px; padding: 24px 20px; border-right: 1px solid var(--line); text-align: center; }
.icon-stat:last-child { border-right: none; }
.icon-stat-icon { color: var(--blue-500); display: flex; justify-content: center; margin-bottom: 10px; }
.icon-stat-num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--navy-800); }
.icon-stat-lbl { font-size: 0.8rem; color: var(--ink-400); margin-top: 2px; }

/* ---------- Process / flow infographic ---------- */
.flow-wrap { display: flex; align-items: flex-start; gap: 0; flex-wrap: wrap; }
.flow-node {
  flex: 1; min-width: 180px; text-align: center; padding: 8px 14px; position: relative;
}
.flow-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--blue-100); color: var(--blue-500);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px; border: 1px solid var(--blue-300);
}
.flow-num { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-400); letter-spacing: 0.08em; margin-bottom: 6px; }
.flow-title { font-size: 1rem; margin-bottom: 6px; }
.flow-desc { font-size: 0.86rem; }
.flow-connector {
  align-self: center; flex: 0 0 34px; height: 2px; background: var(--line);
  margin-top: 32px; position: relative;
}
.flow-connector::after {
  content: "▸"; position: absolute; right: -6px; top: -9px; color: var(--blue-300); font-size: 0.8rem;
}
@media (max-width: 900px) {
  .flow-wrap { flex-direction: column; align-items: stretch; }
  .flow-connector { display: none; }
  .flow-node { text-align: left; display: flex; align-items: center; gap: 16px; }
  .flow-icon { margin: 0; flex-shrink: 0; }
}

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 26px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: -26px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue-500); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--blue-300); }
.tl-tag { font-family: var(--font-mono); font-size: 0.75rem; color: var(--blue-500); font-weight: 600; margin-bottom: 2px; }
.tl-text { color: var(--ink-600); font-size: 0.95rem; }

/* ---------- Pain point cards ---------- */
.pain-card {
  background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--red-alert);
  border-radius: 10px; padding: 20px 22px; height: 100%;
}
.pain-card .pain-icon { color: var(--red-alert); margin-bottom: 10px; }
.pain-card h3 { font-size: 1rem; margin-bottom: 6px; }
.pain-card p { margin-bottom: 0; font-size: 0.92rem; }

.fix-card {
  background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--green-detect);
  border-radius: 10px; padding: 20px 22px; height: 100%;
}
.fix-card .fix-icon { color: #1a8f6b; margin-bottom: 10px; }
.fix-card h3 { font-size: 1rem; margin-bottom: 6px; }
.fix-card p { margin-bottom: 0; font-size: 0.92rem; }

/* ---------- Before / After comparison ---------- */
.compare-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  background: var(--surface);
}
.compare-col { padding: 24px 26px; }
.compare-col.before { background: #fdf4f4; }
.compare-col.after { background: #f2fbf7; border-left: 1px solid var(--line); }
.compare-col h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--font-mono); font-weight: 600; margin-bottom: 16px; }
.compare-col.before h3 { color: var(--red-alert); }
.compare-col.after h3 { color: #1a8f6b; }
.compare-row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; font-size: 0.93rem; color: var(--ink-600); }
.compare-row:last-child { margin-bottom: 0; }
.compare-row .mark { flex-shrink: 0; font-weight: 700; }
.compare-col.before .mark { color: var(--red-alert); }
.compare-col.after .mark { color: #1a8f6b; }
@media (max-width: 700px) {
  .compare-wrap { grid-template-columns: 1fr; }
  .compare-col.after { border-left: none; border-top: 1px solid var(--line); }
}

.quote-block {
  border-left: 3px solid var(--blue-500);
  padding: 4px 0 4px 20px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy-800);
  font-weight: 500;
  line-height: 1.4;
}

/* ---------- BPO interactive colourful accordion ---------- */
.bpo-accordion { display: flex; flex-direction: column; gap: 14px; }
.bpo-item {
  border: 1px solid var(--line); border-left-width: 5px; border-radius: 12px;
  background: var(--surface); overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}
.bpo-item:hover { box-shadow: 0 14px 32px -20px rgba(15,27,69,0.25); transform: translateY(-2px); }
.bpo-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px;
}
.bpo-item summary::-webkit-details-marker { display: none; }
.bpo-item summary::marker { content: ""; }
.bpo-head { display: flex; align-items: center; gap: 16px; }
.bpo-head .icon-badge { margin: 0; flex-shrink: 0; }
.bpo-head h3 { margin: 0; font-size: 1.05rem; }
.bpo-item .chevron { color: var(--ink-400); flex-shrink: 0; transition: transform .25s ease; font-size: 1.1rem; }
.bpo-item[open] .chevron { transform: rotate(180deg); }
.bpo-item .bpo-body { padding: 0 24px 24px 68px; }
.bpo-item .bpo-body p { margin-bottom: 12px; }
.bpo-item .bpo-body ul { margin: 0; padding-left: 18px; }
.bpo-item .bpo-body li { margin-bottom: 7px; font-size: 0.92rem; color: var(--ink-600); }
@media (max-width: 620px) {
  .bpo-item .bpo-body { padding-left: 24px; }
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 30px 28px 26px; display: flex; flex-direction: column; height: 100%;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.testimonial-card:hover { box-shadow: 0 18px 40px -22px rgba(15,27,69,0.28); border-color: var(--blue-300); transform: translateY(-3px); }
.testimonial-card .quote-mark {
  font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--blue-300);
  margin-bottom: 4px; font-weight: 700;
}
.testimonial-card .quote-text {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 500;
  color: var(--navy-800); line-height: 1.45; flex-grow: 1; margin-bottom: 20px;
}
.testimonial-card .t-footer { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.testimonial-card .t-logo { height: 26px; width: auto; max-width: 100px; object-fit: contain; }
.testimonial-card .t-meta .t-role { font-size: 0.82rem; color: var(--ink-400); }
.testimonial-card .t-meta .t-company { font-size: 0.9rem; font-weight: 600; color: var(--navy-700); }


.stat-card {
  text-align: center; padding: 34px 22px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.stat-card:hover { box-shadow: 0 18px 40px -22px rgba(15,27,69,0.28); border-color: var(--blue-300); transform: translateY(-3px); }
.stat-card .icon-badge { margin: 0 auto 16px; }
.stat-card .num {
  font-family: var(--font-display); font-weight: 700; font-size: 2.5rem;
  line-height: 1; margin: 0 0 8px; letter-spacing: -0.01em;
}
.stat-card .lbl { font-size: 0.92rem; color: var(--ink-600); font-weight: 500; }


.marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent);
}
.marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee-scroll 26s linear infinite;
}
.marquee-track .logo-chip { flex-shrink: 0; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ---------- Product dashboard showcase ---------- */
.dash-card {
  display: block; text-decoration: none; color: inherit;
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  background: var(--surface);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.dash-card:hover { box-shadow: 0 18px 40px -22px rgba(15,27,69,0.28); border-color: var(--blue-300); transform: translateY(-3px); text-decoration: none; }
.dash-card .shot-frame { border: none; border-radius: 0; box-shadow: none; }
.dash-card .dash-label {
  padding: 14px 16px; display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--line);
}
.dash-card .dash-label h3 { margin: 0; font-size: 0.98rem; }
.dash-card .dash-label span.arrow { color: var(--blue-500); font-weight: 600; }
.dash-card .shot-frame img { height: 190px; object-fit: cover; object-position: top; }


.shot-frame {
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  background: #fff; box-shadow: 0 12px 30px -18px rgba(15,27,69,0.28);
}
.shot-chrome {
  display: flex; align-items: center; gap: 6px;
  background: #eceff3; padding: 8px 10px; border-bottom: 1px solid var(--line);
}
.shot-chrome span { width: 8px; height: 8px; border-radius: 50%; background: #d0d4da; display: inline-block; }
.shot-frame img { width: 100%; height: auto; display: block; }
.shot-caption { padding: 12px 4px 0; font-size: 0.88rem; color: var(--ink-600); text-align: center; }
.shot-hero .shot-frame { max-width: 100%; }
.icon-media {
  background: linear-gradient(155deg, var(--blue-100), #ffffff);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-500);
  padding: 40px;
}
.icon-media.dark { background: linear-gradient(155deg, var(--navy-700), var(--navy-900)); border-color: var(--line-dark); color: var(--blue-300); }

