/* =============================================
   PORTAFLEET MARKETING SITE — STYLES
   ============================================= */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* --- Brand: steel blue primary --- */
  --c-navy:     #0b1f3a;   /* deepest ink — hero base, dark surfaces */
  --c-navy-2:   #143a63;
  --c-navy-3:   #1d5b94;
  --c-blue:     #1b6fd1;   /* PRIMARY — 4.6:1 on white, AA for body text */
  --c-blue-700: #1558a8;   /* hover / pressed */
  --c-blue-400: #3e9be9;   /* bright accent, gradients on dark */
  --c-sky:      #7ec4f5;

  /* --- Silver: neutral structure --- */
  --c-silver-100: #e8edf3;
  --c-silver-300: #c9d3e0;
  --c-silver-500: #8a99ad;
  --c-silver-700: #5a6779;

  /* --- Orange: SECONDARY accent, used sparingly ---
     #f26b21 is ~3.0:1 on white — safe for large text, icons, borders and
     fills, NOT for small text or as a white-on-orange button. Use
     --c-orange-700 (4.7:1 with white) whenever white text sits on it. */
  --c-orange:     #f26b21;
  --c-orange-700: #c2410c;
  --c-orange-100: #fff1e8;
  --c-amber:      #f59e0b;
  --c-teal:       #0e9488;
  --c-danger:     #dc2626;

  /* rgb triplets so alpha tints stay in sync with the brand */
  --brand-rgb:  27,111,209;
  --accent-rgb: 242,107,33;

  --grad-hero:  linear-gradient(135deg, #0b1f3a 0%, #143a63 45%, #1d5b94 100%);
  --grad-text:  linear-gradient(90deg, #3e9be9, #1b6fd1);
  --grad-cta:   linear-gradient(135deg, #1b6fd1, #1558a8);

  --text-primary:   #0f172a;
  --text-secondary: #475569;
  --text-muted:     #94a3b8;

  --surface:    #ffffff;
  --surface-2:  #f5f7fa;
  --border:     #e2e8f0;

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  22px;
  --radius-xl:  32px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.04);
  --shadow-lg:  0 20px 60px rgba(0,0,0,.12);
  --shadow-card: 0 8px 32px rgba(var(--brand-rgb),.14);

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --transition: 0.22s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

/* --- Accessibility --- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--c-blue);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--c-orange);
  outline-offset: 3px;
  border-radius: 4px;
}
/* The dark hero needs a light ring instead */
.hero :focus-visible,
.problem :focus-visible,
.pricing-card--featured :focus-visible { outline-color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* --- Gradient Text --- */
.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Badges --- */
.badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: rgba(var(--brand-rgb),.1);
  color: var(--c-blue);
  margin-bottom: 16px;
}
.badge--steel  { background: var(--c-silver-100);      color: var(--c-silver-700);  }
.badge--navy   { background: rgba(11,31,58,.08);       color: var(--c-navy-2);      }
.badge--orange { background: var(--c-orange-100);      color: var(--c-orange-700);  }
.badge--teal   { background: rgba(14,148,136,.1);      color: var(--c-teal);        }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn--sm  { padding: 7px 16px; font-size: 0.85rem; }
.btn--lg  { padding: 15px 32px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--grad-cta);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(var(--brand-rgb),.35);
}
.btn--primary:hover  { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(var(--brand-rgb),.45); }
.btn--primary:active { transform: translateY(0); }

.btn--outline {
  background: transparent;
  color: var(--c-blue);
  border-color: var(--c-blue);
}
.btn--outline:hover { background: rgba(var(--brand-rgb),.06); }

/* Secondary accent button — orange-700 keeps white text at 4.7:1 */
.btn--accent {
  background: var(--c-orange-700);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(var(--accent-rgb),.32);
}
.btn--accent:hover  { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(var(--accent-rgb),.42); }
.btn--accent:active { transform: translateY(0); }

.btn--ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.3);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255,255,255,.22); }

/* =============================================
   NAV
   ============================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
}
.nav__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav.scrolled .nav__logo { color: var(--text-primary); }
.logo-img {
  height: 32px;
  width: auto;
  display: block;
}
.nav__links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a:not(.btn) {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  transition: color var(--transition);
}
.nav.scrolled .nav__links a:not(.btn) { color: var(--text-secondary); }
.nav__links a:not(.btn):hover { color: #fff; }
.nav.scrolled .nav__links a:not(.btn):hover { color: var(--c-blue); }

.nav.scrolled .btn--outline { color: var(--c-blue); border-color: var(--c-blue); }

.nav__hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #fff;
  transition: color var(--transition);
}
.nav.scrolled .nav__hamburger { color: var(--text-primary); }

.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 16px 24px 20px;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  padding: 10px 0;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.nav__mobile a:last-child { border-bottom: none; }

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  background: var(--grad-hero);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 120px 80px 80px;
  position: relative;
  overflow: hidden;
}

/* Background decorative blobs */
.hero__bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}
.shape--1 { width: 500px; height: 500px; background: #1d5b94; top: -150px; left: -100px; }
.shape--2 { width: 400px; height: 400px; background: #3e9be9; bottom: -80px; right: 200px; }
/* the one warm note in the hero — keeps the orange in the brand's peripheral vision */
.shape--3 { width: 300px; height: 300px; background: #f26b21; top: 30%; right: -50px; opacity: .22; }

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}
.hero__content .badge { background: rgba(255,255,255,.18); color: #fff; }

.hero__headline {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
}
.hero__headline .gradient-text {
  background: linear-gradient(90deg, #fdba74, #f26b21);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.75;
}

.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 1rem; font-weight: 700; color: #fff; }
.stat span   { font-size: 0.78rem; color: rgba(255,255,255,.65); margin-top: 2px; }
.stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,.25); }

/* --- Map Mockup --- */
.hero__map-preview {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.map-mockup {
  width: 100%;
  max-width: 460px;
  border-radius: var(--radius-lg);
  background: #0e2743;
  box-shadow: 0 30px 80px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.08);
  overflow: hidden;
}
.map-mockup__header {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  background: #07182b;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  display: inline-block;
}
.dot--red    { background: #ef4444; }
.dot--yellow { background: #eab308; }
.dot--green  { background: #22c55e; }
.map-mockup__title {
  margin-left: auto;
  font-size: 0.75rem;
  color: rgba(255,255,255,.45);
  letter-spacing: .04em;
}

.map-mockup__body {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: #1e293b;
}
.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--brand-rgb),.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--brand-rgb),.14) 1px, transparent 1px);
  background-size: 40px 40px;
}

.map-route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-pin {
  position: absolute;
  cursor: pointer;
}
.map-pin:hover .pin-tooltip { opacity: 1; transform: translateX(-50%) translateY(-2px); }

.pin-icon { font-size: 1.4rem; filter: drop-shadow(0 2px 6px rgba(0,0,0,.5)); }
.pin--1 { top: 56%; left: 20%; }
.pin--2 { top: 28%; left: 55%; }
.pin--3 { top: 18%; left: 80%; }

.pin-tooltip {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(7,24,43,.92);
  color: #fff;
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .2s, transform .2s;
  pointer-events: none;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.1);
}

.map-status-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px 16px;
  background: rgba(7,24,43,.8);
  backdrop-filter: blur(8px);
  font-size: 0.75rem;
  color: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  gap: 8px;
}
.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  display: inline-block;
}
.status-dot--live {
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,.25);
  animation: pulse-green 1.8s infinite;
}
.map-status-time { margin-left: auto; color: rgba(255,255,255,.35); }

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,.25); }
  50%       { box-shadow: 0 0 0 6px rgba(34,197,94,.0); }
}

/* =============================================
   SECTION HEADER
   ============================================= */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.section-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* =============================================
   THE PROBLEM  (dark narrative section)
   ============================================= */
.problem {
  background: var(--c-navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.problem::after {
  /* faint warm wash so the section doesn't read as a flat navy slab */
  content: '';
  position: absolute;
  width: 620px; height: 620px;
  right: -220px; top: -180px;
  background: var(--c-orange);
  border-radius: 50%;
  filter: blur(150px);
  opacity: .1;
  pointer-events: none;
}
.problem .container { position: relative; z-index: 1; }

.section-header--light h2 { color: #fff; }
.section-header--light p  { color: rgba(255,255,255,.7); }
.badge--on-dark { background: rgba(255,255,255,.14); color: #fff; }

.problem__chain {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 64px;
}
.problem__step {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.problem__step p { font-size: 0.92rem; color: rgba(255,255,255,.78); line-height: 1.6; }
.problem__step strong { color: var(--c-orange); font-weight: 700; }
.problem__num {
  width: 30px; height: 30px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 800;
  background: rgba(var(--brand-rgb),.28);
  color: var(--c-sky);
}
.problem__step:last-of-type .problem__num { background: rgba(var(--accent-rgb),.22); color: #fdba74; }
.problem__arrow {
  align-self: center;
  color: rgba(255,255,255,.28);
  font-size: 1.3rem;
}

.problem__cost {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.problem__cost-lead {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 28px;
}
.problem__cost-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
  text-align: left;
  margin-bottom: 36px;
}
/* grid (not flex) so the <strong> stays inline with its sentence
   instead of becoming its own flex item and wrapping on its own */
.problem__cost-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
  font-size: 0.92rem;
  color: rgba(255,255,255,.72);
  line-height: 1.6;
}
.problem__cost-list strong { color: #fff; font-weight: 700; }
.cost-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.07);
  color: var(--c-orange);
  margin-top: 1px;
}
.cost-icon svg { width: 16px; height: 16px; display: block; }

.problem__solution {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 32px;
}
.problem__solution em { color: var(--c-orange); font-style: normal; font-weight: 700; }

.problem__cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 36px;
}

/* =============================================
   MID-PAGE CTA BAND
   ============================================= */
.cta-band {
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-2) 100%);
  color: #fff;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: '';
  position: absolute;
  width: 460px; height: 460px;
  right: -140px; top: -160px;
  background: var(--c-orange);
  border-radius: 50%;
  filter: blur(130px);
  opacity: .14;
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band__copy h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
}
.cta-band__copy p { color: rgba(255,255,255,.72); font-size: 1rem; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* =============================================
   FEATURES
   ============================================= */
.features { background: var(--surface-2); }

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.features__grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Second feature block (quote-to-cash) sits on white to separate it visually */
.features--alt { background: var(--surface); }

.feature-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }

.feature-card--blue::before   { background: linear-gradient(90deg, var(--c-blue-400), var(--c-blue)); }
.feature-card--steel::before  { background: linear-gradient(90deg, var(--c-silver-500), var(--c-blue-400)); }
.feature-card--navy::before   { background: linear-gradient(90deg, var(--c-navy-2), var(--c-blue)); }
.feature-card--orange::before { background: linear-gradient(90deg, var(--c-orange), var(--c-amber)); }
.feature-card--teal::before   { background: linear-gradient(90deg, var(--c-teal), var(--c-blue-400)); }
.feature-card--sky::before    { background: linear-gradient(90deg, var(--c-blue), var(--c-sky)); }

/* Icon chip — replaces the old emoji glyphs with inline SVG */
.feature-card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(var(--brand-rgb),.09);
  color: var(--c-blue);
}
.feature-card__icon svg { width: 22px; height: 22px; display: block; }

/* Each card's chip picks up its own accent */
.feature-card--orange .feature-card__icon { background: var(--c-orange-100);       color: var(--c-orange-700); }
.feature-card--teal   .feature-card__icon { background: rgba(14,148,136,.1);       color: var(--c-teal); }
.feature-card--steel  .feature-card__icon { background: var(--c-silver-100);       color: var(--c-silver-700); }
.feature-card--navy   .feature-card__icon { background: rgba(11,31,58,.07);        color: var(--c-navy-2); }
.feature-card--sky    .feature-card__icon { background: rgba(62,155,233,.12);      color: var(--c-blue); }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; color: var(--text-primary); }
.feature-card p  { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.65; }

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-it-works { background: var(--surface); }

.steps { display: flex; flex-direction: column; gap: 80px; }

.step {
  display: grid;
  grid-template-columns: 74px 1fr 320px;
  grid-template-areas: "num content visual";
  align-items: center;
  gap: 40px;
}
.step--reverse {
  grid-template-columns: 320px 1fr 74px;
  grid-template-areas: "visual content num";
}
.step__number  { grid-area: num; }
.step__content { grid-area: content; }
.step__visual  { grid-area: visual; }

.step__number {
  font-size: 3.5rem;
  font-weight: 900;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  text-align: center;
}
.step__content h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 12px; }
.step__content p  { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.75; }

/* Mini cards inside steps */
.mini-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-md);
  max-width: 320px;
}
.mini-card--dark {
  background: #0f172a;
  border-color: #1e293b;
}

.mini-card__row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
}
.mini-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-blue), var(--c-navy-2));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mini-avatar--steel { background: linear-gradient(135deg, var(--c-silver-700), var(--c-silver-500)); }
.mini-avatar--teal   { background: linear-gradient(135deg, var(--c-teal), var(--c-blue)); }

.mini-tag {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 999px;
}
.mini-tag--admin   { background: rgba(var(--brand-rgb),.12);  color: var(--c-blue); }
.mini-tag--manager { background: var(--c-orange-100);         color: var(--c-orange-700); }
.mini-tag--viewer  { background: var(--c-silver-100);   color: var(--c-silver-700); }

.mini-asset {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
}

/* Step 3 visual — replaces the old fabricated "97% / 14% / 537" metrics */
.mini-flow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.4;
}
.mini-flow__dot {
  width: 9px; height: 9px;
  flex: none;
  border-radius: 50%;
  background: var(--c-blue);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb),.15);
}
.mini-flow__dot--accent {
  background: var(--c-orange);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.18);
}
.pulse-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #22c55e;
  margin-left: auto;
  box-shadow: 0 0 0 3px rgba(34,197,94,.2);
  animation: pulse-green 1.8s infinite;
}
.pulse-dot--off { background: #94a3b8; box-shadow: none; animation: none; }

.mini-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}
.metric-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.metric-lbl {
  font-size: 0.72rem;
  color: rgba(255,255,255,.45);
  margin-top: 4px;
  text-align: center;
}
.mini-card--dark .mini-metric { border-right: 1px solid #1e293b; }
.mini-card--dark .mini-metric:last-child { border-right: none; }
.mini-card--dark { flex-direction: row; }

/* =============================================
   PRICING
   ============================================= */
.pricing { background: var(--surface-2); }

.pricing-card__minimum {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--c-orange-700);
  background: var(--c-orange-100);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.pricing-card--featured .pricing-card__minimum {
  color: #fdba74;
  background: rgba(var(--accent-rgb),.18);
}

.pricing__note {
  text-align: center;
  margin-top: 44px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}
.pricing__note a { color: var(--c-blue); font-weight: 600; text-decoration: underline; }

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.pricing-card--featured {
  background: #0f172a;
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--c-blue), var(--shadow-lg);
  transform: scale(1.04);
}
.pricing-card--featured:hover { transform: scale(1.04) translateY(-4px); }

.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-cta);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: .04em;
}

.pricing-card__tier {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--c-blue);
  margin-bottom: 12px;
}
.pricing-card--featured .pricing-card__tier { color: rgba(255,255,255,.6); }

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 12px;
}
.price-amount {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--text-primary);
}
.pricing-card--featured .price-amount { color: #fff; }
.price-period { font-size: 0.9rem; color: var(--text-muted); }
.pricing-card--featured .price-period { color: rgba(255,255,255,.45); }

.pricing-card__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.6;
  min-height: 52px;
}
.pricing-card--featured .pricing-card__desc { color: rgba(255,255,255,.6); }

.pricing-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
  font-size: 0.88rem;
}
.pricing-card__features li { color: var(--text-secondary); }
.pricing-card--featured .pricing-card__features li { color: rgba(255,255,255,.75); }
.pricing-card__features li.muted { color: var(--text-muted); }

.pricing-card--featured .btn--outline {
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.pricing-card--featured .btn--outline:hover { background: rgba(255,255,255,.08); }

/* =============================================
   CONTACT
   ============================================= */
.contact { background: var(--surface); }

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact__copy h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}
.contact__copy p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.7;
}
.contact__perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact__perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.93rem;
  font-weight: 500;
}
.contact__direct {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--text-secondary);
}
.contact__direct a { color: var(--c-blue); font-weight: 600; text-decoration: underline; }

.perk-icon {
  width: 22px; height: 22px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(14,148,136,.12);
  color: var(--c-teal);
}
.perk-icon svg { width: 12px; height: 12px; display: block; }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 18px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }

label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}
.required { color: var(--c-danger); }

input, select, textarea {
  font-family: var(--font);
  font-size: 0.92rem;
  color: var(--text-primary);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
input::placeholder, textarea::placeholder { color: var(--text-muted); }
input:focus, select:focus, textarea:focus {
  border-color: var(--c-blue);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb),.15);
}
textarea { resize: vertical; min-height: 110px; }

.field-error { font-size: 0.8rem; color: var(--c-danger); min-height: 18px; }

.form-success {
  background: rgba(14,148,136,.08);
  border: 1.5px solid rgba(14,148,136,.3);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--c-teal);
}
.success-icon { font-size: 1.3rem; }

.form-privacy {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: -6px;
}
.form-privacy a { color: var(--c-blue); text-decoration: underline; }

.hidden { display: none !important; }

.spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #0f172a;
  color: rgba(255,255,255,.65);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  padding: 60px 24px 40px;
}
.footer__brand .nav__logo { margin-bottom: 12px; }
.footer__brand p { font-size: 0.88rem; max-width: 280px; line-height: 1.65; }
.footer__contact { margin-top: 10px; }
.footer__contact a { color: var(--c-sky); text-decoration: none; font-weight: 600; }
.footer__contact a:hover { text-decoration: underline; }

.footer__links {
  display: flex;
  gap: 60px;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col strong {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 4px;
}
.footer__col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
}
.footer__col a:hover { color: #fff; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 20px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,.3);
  text-align: center;
}

/* =============================================
   SCROLL REVEAL
   ============================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 110px 32px 64px;
    text-align: center;
  }
  .hero__content { max-width: 100%; }
  .hero__ctas, .hero__stats { justify-content: center; }
  .hero__map-preview { display: none; }

  .features__grid,
  .features__grid--4 { grid-template-columns: repeat(2, 1fr); }

  /* Chain becomes a 2x2 grid; the connecting arrows stop making sense */
  .problem__chain { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .problem__arrow { display: none; }

  .step, .step--reverse {
    grid-template-columns: 60px 1fr;
    grid-template-areas: "num content";
  }
  .step__visual { display: none; }

  .pricing__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pricing-card--featured { transform: none; }
  .pricing-card--featured:hover { transform: translateY(-4px); }

  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .features__grid,
  .features__grid--4 { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .nav__hamburger { display: block; }
  .form-row { grid-template-columns: 1fr; }
  .footer__links { flex-direction: column; gap: 28px; }
  .steps { gap: 48px; }

  .problem__chain     { grid-template-columns: 1fr; }
  .problem__cost-list { grid-template-columns: 1fr; }

  .cta-band__inner   { flex-direction: column; text-align: center; gap: 28px; }
  .cta-band__actions { width: 100%; flex-direction: column; }
  .cta-band__actions .btn { width: 100%; }
  .problem__cta .btn { width: 100%; }
}
