/* ============================================
   sections.css — Caarzoo
   Layout and styles specific to each page section
============================================ */

/* ══════════════════════════════════════════
   NAV
══════════════════════════════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-black);
  color: var(--color-ink);
  letter-spacing: -0.5px;
}

.nav__logo span { color: var(--color-accent); }

.nav__links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav__links a {
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  color: var(--color-ink-2);
  transition: var(--transition-fast);
}

.nav__links a:hover { color: var(--color-ink); }

/* 2026-11-26 13:40 — NK — why: user asked to mark the "Signup for Collab" entry
   with a "New"/"Free" badge so visitors notice the program. One shared pill class
   is reused by the header links, the mobile menu and the footer, so the three
   places can never drift. Kept inline-block inside the anchor so the badge is
   part of the click target.
   2026-11-26 15:40 — NK — why: user then asked for a "blink, red colour, zig zag"
   badge. The rounded blue pill became a red sawtooth ribbon: clip-path cuts 16
   teeth across the top and bottom edges (the sides stay straight), the padding is
   enlarged so the 10px label never touches a tooth, and the badge blinks by
   toggling opacity in a 1.6s hard step. The blink is switched off for
   prefers-reduced-motion so the label stays readable for visitors who opt out.
   2026-11-26 16:05 — NK — why: user wanted the badge to sit at the TOP-RIGHT of the
   "Signup for Collab" label (a popup tag on the corner) instead of trailing it
   inline. The label is wrapped in `.badge-host` (an inline-block box only as wide
   as the text, so the badge anchors to the words rather than to the whole row),
   and in the desktop header nav the badge is absolutely positioned over that box
   (see `.nav__links .badge-new`). Being out of flow there, it adds no width to the
   link, so the nav spacing is unchanged. */
.badge-host {
  position: relative;
  display: inline-block;
}

.badge-new {
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
  padding: 5px 13px;
  font-size: 10px;
  font-weight: var(--font-weight-bold, 700);
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(180deg, #ff4040 0%, #cf1414 100%);
  -webkit-clip-path: polygon(0% 18%, 6.25% 0%, 12.5% 18%, 18.75% 0%, 25% 18%, 31.25% 0%, 37.5% 18%, 43.75% 0%, 50% 18%, 56.25% 0%, 62.5% 18%, 68.75% 0%, 75% 18%, 81.25% 0%, 87.5% 18%, 93.75% 0%, 100% 18%, 100% 82%, 93.75% 100%, 87.5% 82%, 81.25% 100%, 75% 82%, 68.75% 100%, 62.5% 82%, 56.25% 100%, 50% 82%, 43.75% 100%, 37.5% 82%, 31.25% 100%, 25% 82%, 18.75% 100%, 12.5% 82%, 6.25% 100%, 0% 82%);
  clip-path: polygon(0% 18%, 6.25% 0%, 12.5% 18%, 18.75% 0%, 25% 18%, 31.25% 0%, 37.5% 18%, 43.75% 0%, 50% 18%, 56.25% 0%, 62.5% 18%, 68.75% 0%, 75% 18%, 81.25% 0%, 87.5% 18%, 93.75% 0%, 100% 18%, 100% 82%, 93.75% 100%, 87.5% 82%, 81.25% 100%, 75% 82%, 68.75% 100%, 62.5% 82%, 56.25% 100%, 50% 82%, 43.75% 100%, 37.5% 82%, 31.25% 100%, 25% 82%, 18.75% 100%, 12.5% 82%, 6.25% 100%, 0% 82%);
  animation: badge-new-blink 1.6s steps(1, end) infinite;
}

/* 2026-11-26 15:40 — NK — why: a hard 50/50 duty cycle left the badge washed out
   for half of every second in the header. This keeps it fully opaque for ~1s and
   blinks it down for ~0.24s, which still reads as "blinking" but stays legible. */
@keyframes badge-new-blink {
  0%, 62% { opacity: 1; }
  63%, 78% { opacity: 0.2; }
  79%, 100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .badge-new { animation: none; opacity: 1; }
}

/* 2026-11-26 16:15 — NK — why: the corner tag only fits the desktop header nav,
   where the header padding gives it room to float. The mobile drawer and the
   footer stack their links ~40px apart, so a floating badge ran into the row
   above; there it keeps the base inline rule (still the same red ribbon, just not
   overlaying anything). */
.nav__links .badge-new {
  position: absolute;
  top: -14px;
  right: -12px;
  margin-left: 0;
  z-index: 2;
}

.nav__right {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Hamburger (hidden on desktop) */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-ink);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* Mobile menu (hidden by default) */
.nav__mobile {
  display: none;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-4) var(--container-padding) var(--space-6);
  border-top: 1px solid var(--color-border);
  background: var(--color-white);
}

.nav__mobile ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.nav__mobile ul a {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  color: var(--color-ink-2);
}

.nav__mobile-ctas {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.nav__mobile.is-open { display: flex; }


/* ══════════════════════════════════════════
   HERO  — dark, centered, premium
══════════════════════════════════════════ */
.hero {
  position: relative;
  background: #07070F;
  overflow: hidden;
  padding-top: 72px;
}

/* Ambient glow orbs */
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.hero__glow--blue {
  width: 700px; height: 500px;
  background: rgba(26, 78, 216, 0.28);
  top: -120px; left: -180px;
}
.hero__glow--purple {
  width: 500px; height: 400px;
  background: rgba(139, 92, 246, 0.18);
  top: 60px; right: -120px;
}

.hero__container {
  position: relative;
  z-index: 1;
}

/* ── Toggle ── */
.hero__toggle-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 44px;
  padding-top: 8px;
}

.hero__toggle {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 100px;
  padding: 4px;
}

.hero__toggle-btn {
  padding: 10px 26px;
  border-radius: 100px;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: var(--font-weight-semi);
  color: rgba(255,255,255,0.50);
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  font-family: var(--font-family);
}

.hero__toggle-btn--active {
  background: #1A4ED8;
  color: #fff;
  box-shadow: 0 2px 16px rgba(26,78,216,0.45);
}

.hero__toggle-btn:not(.hero__toggle-btn--active):hover {
  color: rgba(255,255,255,0.80);
}

/* ── Slide structure ── */
.hero__slides { position: relative; }

.hero__slide {
  display: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.40s ease, transform 0.40s ease;
}
.hero__slide--active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.hero__slide--exit-left  { display:block; opacity:0; transform:translateX(-28px); }
.hero__slide--enter-right{ display:block; opacity:0; transform:translateX(28px); }

/* ── Text block — centered ── */
.hero__text {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px;
}

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26,78,216,0.15);
  border: 1px solid rgba(26,78,216,0.35);
  color: #7EB2FF;
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: var(--font-weight-semi);
  letter-spacing: 0.03em;
  margin-bottom: 28px;
}
.hero__badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4CD69A;
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

/* Heading */
.hero__heading {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: var(--font-weight-black);
  letter-spacing: -2.5px;
  line-height: 1.05;
  color: #FFFFFF;
  margin-bottom: 22px;
}
.hero__heading em {
  font-style: normal;
  background: linear-gradient(135deg, #6A9BF8 0%, #A78BFA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Sub */
.hero__sub {
  font-size: 18px;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.hero__btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.btn--hero-primary {
  background: #1A4ED8;
  color: #fff;
  border: 1px solid #1A4ED8;
  box-shadow: 0 4px 24px rgba(26,78,216,0.40);
  font-weight: var(--font-weight-bold);
  transition: all 0.2s ease;
}
.btn--hero-primary:hover {
  background: #2563f0;
  border-color: #2563f0;
  box-shadow: 0 6px 32px rgba(26,78,216,0.55);
  transform: translateY(-1px);
}

.btn--hero-ghost {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.80);
  border: 1px solid rgba(255,255,255,0.14);
  transition: all 0.2s ease;
}
.btn--hero-ghost:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
  transform: translateY(-1px);
}

.hero__play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  font-size: 9px;
  margin-right: 2px;
}

/* Trust row */
.hero__trust {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__avatars {
  display: flex;
}
.hero__avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid #07070F;
  font-size: 10px;
  font-weight: var(--font-weight-bold);
  color: #07070F;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -8px;
}
.hero__avatars .hero__avatar:first-child { margin-left: 0; }

.hero__trust-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero__trust-stars {
  color: #FFC657;
  font-size: 13px;
  letter-spacing: 1px;
}
.hero__trust-label {
  font-size: 12px;
  color: rgba(255,255,255,0.40);
}

/* ── Dashboard mockup ── */
.hero__mockup-wrap {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding-bottom: 0;
}

.hero__mockup-glow {
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 70%; height: 120px;
  background: rgba(26,78,216,0.35);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.hero__mockup-glow--purple {
  background: rgba(139,92,246,0.30);
}

.dashboard-mock--hero {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.07),
    0 32px 80px rgba(0,0,0,0.60),
    0 8px 32px rgba(26,78,216,0.20);
}

/* Live indicator */
.dash-mock-live {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  font-size: 11px;
  color: #4CD69A;
  font-weight: var(--font-weight-semi);
}
.dash-mock-live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4CD69A;
  animation: pulse 2s ease-in-out infinite;
}

/* old proof-item kept for other sections */
.proof-item {
  font-size: var(--font-size-sm);
  color: var(--color-ink-3);
}
.proof-item strong { color: var(--color-ink-2); font-weight: var(--font-weight-semi); }


/* Hero audience toggle */
.hero__toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  padding: 4px;
  width: fit-content;
}

.hero__toggle-btn {
  padding: 10px 22px;
  border-radius: 100px;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: var(--font-weight-semi);
  color: var(--color-ink-2);
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.hero__toggle-btn--active {
  background: var(--color-ink);
  color: var(--color-white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

/* Slides container */
.hero__slides {
  position: relative;
  overflow: hidden;
}

.hero__slide {
  display: none;
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.hero__slide--active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.hero__slide--exit-left {
  display: block;
  opacity: 0;
  transform: translateX(-32px);
}

.hero__slide--enter-right {
  display: block;
  opacity: 0;
  transform: translateX(32px);
}

/* ══════════════════════════════════════════
   LOGO STRIP
══════════════════════════════════════════ */
.logos-strip {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 28px 0 24px;
  overflow: hidden;
}

.logos-strip__label {
  text-align: center;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  color: var(--color-ink-3);
  margin-bottom: 20px;
}

.logos-marquee {
  overflow: hidden;
  /* fade edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.logos-marquee__track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}

.logos-marquee__track:hover {
  animation-play-state: paused;
}

.logos-marquee__track img {
  height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ══════════════════════════════════════════
   PROBLEM
══════════════════════════════════════════ */
.problem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.pain-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pain-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.pain-item__icon  { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.pain-item__title { font-size: 14px; font-weight: var(--font-weight-bold); color: var(--color-ink); margin-bottom: 2px; }
.pain-item__desc  { font-size: var(--font-size-sm); color: var(--color-ink-2); line-height: 1.55; }


/* ══════════════════════════════════════════
   SOLUTION STRIP
══════════════════════════════════════════ */
.solution-strip {
  background: var(--color-accent-light);
  border-top: 1px solid rgba(26,78,216,0.12);
  border-bottom: 1px solid rgba(26,78,216,0.12);
  padding: 40px 0;
}

.solution-strip__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.solution-strip__quote {
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: var(--font-weight-heavy);
  letter-spacing: -0.5px;
  color: var(--color-ink);
  line-height: 1.3;
}

.solution-strip__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.solution-card {
  background: var(--color-white);
  border-radius: 10px;
  padding: 14px 16px;
  border: 1px solid rgba(26,78,216,0.12);
}

.solution-card__icon  { font-size: 22px; margin-bottom: 6px; }
.solution-card__title { font-size: var(--font-size-sm); font-weight: var(--font-weight-bold); color: var(--color-ink); }
.solution-card__desc  { font-size: 12px; color: var(--color-ink-2); margin-top: 3px; }


/* ══════════════════════════════════════════
   FEATURES — split layout
══════════════════════════════════════════ */
.features-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}

.feat-hub-col {
  position: sticky;
  top: 80px;
  align-self: start;
}

/* ── Feature list (left) ── */
.feat-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px 10px;
}

.feat-list__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: var(--font-weight-semi);
  color: var(--color-ink);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}
.feat-list__item:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: var(--color-accent-light);
}
.feat-list__item--active {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: linear-gradient(135deg, rgba(26,78,216,0.13) 0%, rgba(26,78,216,0.04) 100%);
  box-shadow: 0 0 0 2px rgba(26,78,216,0.28), 0 6px 24px rgba(26,78,216,0.2);
  font-weight: var(--font-weight-bold);
  transform: scale(1.05);
}
.feat-list__icon { font-size: 16px; flex-shrink: 0; }

/* ── Integration Hub (right) ── */
.feat-hub-col { display: flex; align-items: center; justify-content: center; }

.feat-hub {
  position: relative;
  width: 420px;
  height: 420px;
  flex-shrink: 0;
}

/* SVG lines */
.hub-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hub-line {
  stroke: rgba(26,78,216,0.15);
  stroke-width: 1.5;
  stroke-dasharray: 5 4;
  animation: hub-dash 3s linear infinite;
}
.hub-line--inner {
  stroke: rgba(26,78,216,0.10);
  stroke-dasharray: 3 4;
  animation: hub-dash 2s linear infinite reverse;
}
@keyframes hub-dash {
  to { stroke-dashoffset: -36; }
}

/* Centre logo */
.hub-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--color-ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  box-shadow: 0 0 0 8px rgba(26,78,216,0.12), 0 0 0 16px rgba(26,78,216,0.05);
  z-index: 10;
  animation: hub-center-pulse 3s ease-in-out infinite;
}
@keyframes hub-center-pulse {
  0%, 100% { box-shadow: 0 0 0 8px rgba(26,78,216,0.12), 0 0 0 16px rgba(26,78,216,0.05); }
  50%       { box-shadow: 0 0 0 12px rgba(26,78,216,0.18), 0 0 0 24px rgba(26,78,216,0.07); }
}
.hub-center__logo {
  font-size: 14px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
}
.hub-center__logo span { color: #6A9BF8; }
.hub-center__label {
  font-size: 8px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
/* Hub-center glow when active */
.hub-center--glow {
  animation: none;
  box-shadow: 0 0 0 10px rgba(26,78,216,0.28), 0 0 32px rgba(26,78,216,0.4);
  background: #1a4ed8;
}

/* Outer ring nodes */
.hub-node {
  position: absolute;
  top: 50%; left: 50%;
  --r: 178px;
  transform:
    translate(-50%, -50%)
    rotate(var(--a))
    translateY(calc(-1 * var(--r)))
    rotate(calc(-1 * var(--a)));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 5;
}
.hub-node__icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1.5px solid var(--color-border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, background 0.3s ease;
}
.hub-node:hover .hub-node__icon,
.hub-node--glow .hub-node__icon {
  border-color: var(--color-accent);
  background: var(--color-accent-light);
  box-shadow: 0 0 0 4px rgba(26,78,216,0.2), 0 6px 20px rgba(26,78,216,0.25);
  transform: scale(1.2);
}
.hub-node--glow .hub-node__icon {
  animation: node-pop 0.4s ease forwards;
}
.hub-node__label {
  font-size: 10px;
  font-weight: var(--font-weight-bold);
  color: var(--color-ink-2);
  white-space: nowrap;
  text-align: center;
  transition: color 0.3s ease;
}
.hub-node--glow .hub-node__label { color: var(--color-accent); font-weight: 800; }

/* Inner ring nodes */
.hub-inner-node {
  position: absolute;
  top: 50%; left: 50%;
  --ri: 108px;
  transform:
    translate(-50%, -50%)
    rotate(var(--b))
    translateY(calc(-1 * var(--ri)))
    rotate(calc(-1 * var(--b)));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  z-index: 6;
}
.hub-inner-node__icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--color-accent-light);
  border: 1.5px solid rgba(26,78,216,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, background 0.3s ease;
}
.hub-inner-node:hover .hub-inner-node__icon,
.hub-inner-node--glow .hub-inner-node__icon {
  border-color: var(--color-accent);
  background: rgba(26,78,216,0.18);
  box-shadow: 0 0 0 4px rgba(26,78,216,0.2), 0 6px 20px rgba(26,78,216,0.3);
  transform: scale(1.2);
}
.hub-inner-node--glow .hub-inner-node__icon {
  animation: node-pop 0.4s ease forwards;
}
.hub-inner-node__label {
  font-size: 9px;
  font-weight: var(--font-weight-bold);
  color: var(--color-accent);
  white-space: nowrap;
  transition: font-weight 0.2s ease;
}
.hub-inner-node--glow .hub-inner-node__label { font-weight: 900; }

@keyframes node-pop {
  0%   { transform: scale(1); }
  55%  { transform: scale(1.28); }
  100% { transform: scale(1.2); }
}


/* ══════════════════════════════════════════
   WORKFLOW
══════════════════════════════════════════ */

/* Track + connector line */
.wf-track {
  position: relative;
  margin-top: 56px;
}

.wf-track__line {
  position: absolute;
  top: 36px;
  left: 9%;
  right: 9%;
  height: 3px;
  background: var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  z-index: 0;
}

.wf-track__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-accent), #7EB2FF);
  border-radius: 4px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Step row */
.wf-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
  z-index: 1;
}

.wf-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding-bottom: 8px;
}

/* Bubble */
.wf-step__bubble {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2.5px solid var(--color-border);
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.wf-step__bubble span {
  display: block;
  transition: transform 0.3s ease;
}

.wf-step__num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-ink-3);
  transition: color 0.3s ease;
}

.wf-step__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-ink-2);
  text-align: center;
  transition: color 0.3s ease;
}

/* Active step */
.wf-step--active .wf-step__bubble {
  border-color: var(--color-accent);
  background: var(--color-accent);
  box-shadow: 0 0 0 6px rgba(26,78,216,0.15), 0 8px 24px rgba(26,78,216,0.3);
  transform: scale(1.12);
}

.wf-step--active .wf-step__bubble span {
  transform: scale(1.15);
  filter: grayscale(0%) brightness(1.2);
}

.wf-step--active .wf-step__num  { color: var(--color-accent); }
.wf-step--active .wf-step__title { color: var(--color-ink); font-weight: 700; }

/* Done step */
.wf-step--done .wf-step__bubble {
  border-color: var(--color-accent);
  background: rgba(26,78,216,0.07);
}
.wf-step--done .wf-step__num  { color: var(--color-accent); }
.wf-step--done .wf-step__title { color: var(--color-ink); }

/* Detail card */
.wf-detail {
  margin-top: 40px;
  position: relative;
  height: 130px;
}

.wf-detail__card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: linear-gradient(135deg, rgba(26,78,216,0.06) 0%, rgba(26,78,216,0.02) 100%);
  border: 1.5px solid rgba(26,78,216,0.18);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  will-change: opacity, transform;
}

.wf-detail__card--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.wf-detail__icon {
  font-size: 40px;
  flex-shrink: 0;
  line-height: 1;
}

.wf-detail__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-ink);
  margin-bottom: 8px;
}

.wf-detail__desc {
  font-size: 15px;
  color: var(--color-ink-2);
  line-height: 1.75;
  margin: 0;
}


/* ══════════════════════════════════════════
   DOCUMENTS
══════════════════════════════════════════ */
.doc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.doc-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}


/* ══════════════════════════════════════════
   MANAGE (fleet & driver)
══════════════════════════════════════════ */
.manage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.manage-card {
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.manage-card--dark {
  background: var(--color-ink);
  border-color: transparent;
}

.manage-card h3 {
  font-size: 20px;
  font-weight: var(--font-weight-heavy);
  letter-spacing: -0.4px;
  margin-bottom: 10px;
  color: var(--color-ink);
}

.manage-card--dark h3 { color: var(--color-white); }

.manage-card p {
  font-size: 14px;
  color: var(--color-ink-2);
  line-height: var(--line-height-relaxed);
  margin-bottom: 18px;
}

.manage-card--dark p { color: rgba(255,255,255,0.45); }

.manage-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.manage-list li {
  font-size: var(--font-size-sm);
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: var(--color-ink-2);
}

.manage-list li span:first-child { font-size: 14px; flex-shrink: 0; margin-top: 1px; }

.manage-card--dark .manage-list li { color: rgba(255,255,255,0.6); }


/* ══════════════════════════════════════════
   VENDOR NETWORK (full section)
══════════════════════════════════════════ */
.nw-section {
  background: var(--color-white);
}

/* Header 2-col */
.nw-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 72px;
}

.nw-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.nw-stat__num {
  display: block;
  font-size: 22px;
  font-weight: 900;
  color: var(--color-accent);
  letter-spacing: -0.5px;
}

.nw-stat__lbl {
  display: block;
  font-size: 12px;
  color: var(--color-ink-3);
  margin-top: 2px;
  max-width: 100px;
  line-height: 1.4;
}

/* Flow diagram */
.nw-flow {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
}

.nw-flow__node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nw-flow__icon {
  font-size: 32px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--color-white);
  border: 2px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}

.nw-flow__node--caarzoo .nw-flow__icon { display: none; }

.nw-flow__logo {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--color-ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 900; color: #fff;
  letter-spacing: -0.5px;
  box-shadow: 0 0 0 6px rgba(26,78,216,0.12);
  animation: hub-center-pulse 3s ease-in-out infinite;
}

.nw-flow__logo span { color: #6A9BF8; }

.nw-flow__label, .nw-flow__sublabel {
  font-size: 11px; font-weight: 700;
  color: var(--color-ink-2);
  white-space: nowrap;
}

.nw-flow__arrow {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
}

.nw-flow__arrow-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(26,78,216,0.3), rgba(26,78,216,0.7));
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.nw-flow__arrow-line::after {
  content: '';
  position: absolute;
  top: 0; left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(26,78,216,1), transparent);
  animation: flow-pulse 1.8s linear infinite;
}

@keyframes flow-pulse {
  to { left: 140%; }
}

.nw-flow__arrow-badge {
  font-size: 10px;
  font-weight: 700;
  color: var(--color-accent);
  background: var(--color-accent-light);
  border-radius: 100px;
  padding: 2px 8px;
  white-space: nowrap;
}

.nw-flow__vendors {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nw-flow__vendor {
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1.5px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-ink);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s, background 0.3s;
}

.nw-flow__vendor--a { animation: vendor-blink 3.6s 0s ease-in-out infinite; }
.nw-flow__vendor--b { animation: vendor-blink 3.6s 1.2s ease-in-out infinite; }
.nw-flow__vendor--c { animation: vendor-blink 3.6s 2.4s ease-in-out infinite; }

@keyframes vendor-blink {
  0%, 80%, 100% { border-color: var(--color-border); background: var(--color-white); color: var(--color-ink); }
  40%           { border-color: var(--color-accent); background: var(--color-accent-light); color: var(--color-accent); }
}

/* Feature cards grid */
.nw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.nw-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: box-shadow 0.25s, transform 0.25s;
}

.nw-card:hover {
  box-shadow: 0 8px 32px rgba(26,78,216,0.12);
  transform: translateY(-3px);
}

.nw-card--dark {
  background: var(--color-ink);
  border-color: transparent;
}

.nw-card__icon { font-size: 28px; margin-bottom: 14px; }

.nw-card h3 {
  font-size: 16px; font-weight: 700;
  color: var(--color-ink);
  margin-bottom: 10px;
}

.nw-card--dark h3 { color: var(--color-white); }

.nw-card p {
  font-size: 14px;
  color: var(--color-ink-2);
  line-height: 1.7;
}

.nw-card--dark p { color: rgba(255,255,255,0.55); }

@media (max-width: 960px) {
  .nw-header { grid-template-columns: 1fr; }
  .nw-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .nw-grid { grid-template-columns: 1fr; }
  .nw-stats { gap: 20px; }
}

/* ══════════════════════════════════════════
   BILLING
══════════════════════════════════════════ */
.billing-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.billing-points {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
}

/* Invoice payment link pill */
.invoice-mock__paylink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(26,78,216,0.07);
  border: 1.5px dashed rgba(26,78,216,0.3);
  border-radius: var(--radius-sm);
  gap: 12px;
}

.invoice-mock__paylink-label {
  font-size: 12px;
  color: var(--color-accent);
  font-weight: 600;
}

.invoice-mock__paylink-btn {
  font-size: 12px;
  font-weight: 800;
  background: var(--color-accent);
  color: #fff;
  padding: 5px 14px;
  border-radius: 100px;
  white-space: nowrap;
  animation: paylink-pulse 2.2s ease-in-out infinite;
}

@keyframes paylink-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(26,78,216,0.4); }
  50%       { box-shadow: 0 0 0 6px rgba(26,78,216,0); }
}

/* ── Payment flow strip ── */
.pay-flow-wrap {
  background: #07070F;
  padding: 60px 0 68px;
  margin-top: 52px;
  position: relative;
  overflow: hidden;
}

/* ambient orbs */
.pay-flow-wrap::before,
.pay-flow-wrap::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.pay-flow-wrap::before {
  width: 500px; height: 300px;
  background: rgba(26,78,216,0.14);
  filter: blur(90px);
  top: -60px; left: -100px;
}
.pay-flow-wrap::after {
  width: 400px; height: 260px;
  background: rgba(100,60,220,0.10);
  filter: blur(80px);
  bottom: -60px; right: -80px;
}

.pay-flow-head {
  text-align: center;
  margin-bottom: 52px;
  position: relative; z-index: 1;
}

.pay-flow-head .tag {
  background: rgba(26,78,216,0.2);
  border-color: rgba(26,78,216,0.4);
  color: #7EB2FF;
}

.pay-flow-head__title {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.8px;
  margin: 14px 0 10px;
}

.pay-flow-head__sub {
  font-size: 15px;
  color: rgba(255,255,255,0.40);
}

/* ── Track ── */
.pf-track {
  position: relative;
  margin-bottom: 36px;
  z-index: 1;
}

.pf-track__line {
  position: absolute;
  top: 36px;
  left: 9%; right: 9%;
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
}

.pf-track__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #1a4ed8, #7EB2FF);
  border-radius: 4px;
  transition: width 0.65s cubic-bezier(0.4,0,0.2,1);
}

/* ── Steps row ── */
.pf-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
  z-index: 1;
}

.pf-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.pf-step__bubble {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  transition: all 0.35s ease;
  position: relative;
}

.pf-step__bubble span { display: block; transition: transform 0.35s ease; }

.pf-step__num {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,0.3);
  transition: color 0.3s;
}

.pf-step__label {
  font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,0.35);
  text-align: center;
  transition: color 0.3s;
}

/* active step */
.pf-step--active .pf-step__bubble {
  background: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 0 0 6px rgba(26,78,216,0.2), 0 8px 28px rgba(26,78,216,0.5);
  transform: scale(1.12);
  animation: pf-pop 0.4s ease forwards, pf-glow 2.4s 0.4s ease-in-out infinite;
}

.pf-step--active .pf-step__bubble span { transform: scale(1.1); }
.pf-step--active .pf-step__num   { color: #7EB2FF; }
.pf-step--active .pf-step__label { color: #fff; font-weight: 700; }

/* done step */
.pf-step--done .pf-step__bubble {
  border-color: rgba(26,78,216,0.5);
  background: rgba(26,78,216,0.12);
}
.pf-step--done .pf-step__num   { color: #7EB2FF; }
.pf-step--done .pf-step__label { color: rgba(255,255,255,0.6); }

@keyframes pf-pop {
  0%   { transform: scale(1); }
  55%  { transform: scale(1.18); }
  100% { transform: scale(1.12); }
}
@keyframes pf-glow {
  0%,100% { box-shadow: 0 0 0 6px rgba(26,78,216,0.2), 0 8px 28px rgba(26,78,216,0.5); }
  50%      { box-shadow: 0 0 0 12px rgba(26,78,216,0.1), 0 8px 36px rgba(26,78,216,0.65); }
}

/* ── Detail card ── */
.pf-detail {
  position: relative;
  height: 160px;
  z-index: 1;
}

.pf-detail__card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
  will-change: opacity, transform;
}

.pf-detail__card--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.pf-detail__icon { font-size: 44px; flex-shrink: 0; line-height: 1; }

.pf-detail__body h4 {
  font-size: 18px; font-weight: 800;
  color: #fff; margin-bottom: 8px;
}

.pf-detail__body p {
  font-size: 14px;
  color: rgba(255,255,255,0.50);
  line-height: 1.75; margin: 0;
}

.pf-detail__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pf-detail__badges span {
  font-size: 11px; font-weight: 700;
  color: #7EB2FF;
  background: rgba(26,78,216,0.18);
  border: 1px solid rgba(26,78,216,0.35);
  border-radius: 100px;
  padding: 3px 10px;
}

/* ══════════════════════════════════════════
   STATS SECTION
══════════════════════════════════════════ */
.stats-section {
  padding: 70px 0;
  background: var(--color-accent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stat-item {
  padding: 10px;
  border-right: 1px solid rgba(255,255,255,0.15);
}

.stat-item:last-child { border-right: none; }

.stat-item__num {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: var(--font-weight-black);
  letter-spacing: -2px;
  color: var(--color-white);
}

.stat-item__lbl {
  font-size: var(--font-size-sm);
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
}


/* ══════════════════════════════════════════
   TESTIMONIALS GRID
══════════════════════════════════════════ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}


/* ══════════════════════════════════════════
   PRICING GRID
══════════════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}


/* ══════════════════════════════════════════
   FAQ LAYOUT
══════════════════════════════════════════ */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: flex-start;
}

.faq-layout__left a {
  color: var(--color-accent);
  font-weight: var(--font-weight-semi);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}


/* ══════════════════════════════════════════
   CTA SECTION
══════════════════════════════════════════ */
.cta-section {
  padding: 96px 0;
  background: var(--color-ink);
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(28px, 4.5vw, 50px);
  font-weight: var(--font-weight-black);
  letter-spacing: -1.5px;
  color: var(--color-white);
  margin-bottom: 14px;
}

.cta-section p {
  font-size: var(--font-size-md);
  color: rgba(255,255,255,0.45);
  max-width: 440px;
  margin: 0 auto 32px;
  line-height: var(--line-height-relaxed);
}

.cta-section__btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-section__note {
  margin-top: 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.25) !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}


/* ══════════════════════════════════════════
   SCROLL TRANSITIONS
══════════════════════════════════════════ */
.anim-ready {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.anim-in {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer {
  background: #08080F;
  padding: 3rem 0 2rem;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__logo {
  font-size: 20px;
  font-weight: var(--font-weight-black);
  color: var(--color-white);
  margin-bottom: 10px;
}

.footer__logo span { color: var(--color-accent-2); }

.footer__tagline {
  font-size: var(--font-size-sm);
  color: rgba(255,255,255,0.3);
  line-height: var(--line-height-relaxed);
  max-width: 220px;
}

.footer__col-title {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 14px;
}

.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer__col ul a {
  font-size: var(--font-size-sm);
  color: rgba(255,255,255,0.4);
  transition: var(--transition-fast);
}

.footer__col ul a:hover { color: rgba(255,255,255,0.8); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer__bottom span { font-size: 12px; color: rgba(255,255,255,0.22); }

.footer__legal {
  display: flex;
  gap: 18px;
}

.footer__legal a {
  font-size: 12px;
  color: rgba(255,255,255,0.22);
  transition: var(--transition-fast);
}

.footer__legal a:hover { color: rgba(255,255,255,0.5); }
