/* EZ FUEL - custom styles on top of Tailwind */

/* ===== Mobile App - Phone mockup ===== */
.phone-mock {
  position: relative;
  width: 280px;
  height: 580px;
  background: #0a0d12;
  border-radius: 44px;
  border: 10px solid #1a1f28;
  box-shadow:
    0 50px 100px -20px rgba(0,0,0,0.6),
    0 30px 60px -15px rgba(34,211,238,0.18),
    inset 0 0 0 2px rgba(255,255,255,0.03);
  padding: 0;
  overflow: hidden;
  transform: perspective(1500px) rotateX(4deg) rotateY(-6deg);
  animation: phoneFloat 7s ease-in-out infinite;
  transform-style: preserve-3d;
}
@keyframes phoneFloat {
  0%, 100% { transform: perspective(1500px) rotateX(4deg) rotateY(-6deg) translateY(0); }
  50%      { transform: perspective(1500px) rotateX(2deg) rotateY(-4deg) translateY(-12px); }
}
.phone-mock__notch {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 26px;
  background: #1a1f28;
  border-radius: 14px;
  z-index: 3;
}
.phone-mock__screen {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0d1117 0%, #1a1f28 100%);
  border-radius: 34px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}
.phone-mock__statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 28px 6px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  z-index: 2;
}
.phone-mock__body {
  flex: 1;
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.phone-mock__greet {
  padding: 0 4px;
}
.phone-mock__greet p:first-child {
  font-size: 9px;
  color: rgba(255,255,255,0.5);
}
.phone-mock__balance {
  background: linear-gradient(135deg, rgba(34,211,238,0.18), rgba(59,130,246,0.1));
  border: 1px solid rgba(34,211,238,0.3);
  border-radius: 16px;
  padding: 14px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.phone-mock__balance::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 0% 0%, rgba(34,211,238,0.18), transparent 60%);
  pointer-events: none;
}
.phone-mock__balance p {
  margin: 0;
}
.phone-mock__balance p:first-child {
  font-size: 9px;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}
.phone-mock__balance-num {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #22D3EE, #3FB950);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  z-index: 1;
}
.phone-mock__pill {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.phone-mock__section {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 12px;
}
.phone-mock__section-title {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0 0 8px;
}
.phone-mock__stop {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-top: 1px dashed rgba(255,255,255,0.05);
  color: #fff;
}
.phone-mock__stop:first-of-type { border-top: none; }
.phone-mock__stop p { margin: 0; }
.phone-mock__stop-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(34,211,238,0.18);
  color: #22D3EE;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.phone-mock__sos {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #ef4444, #f97316);
  border: 1px solid rgba(239, 68, 68, 0.6);
  border-radius: 14px;
  padding: 13px;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  box-shadow: 0 0 24px -6px rgba(239, 68, 68, 0.5);
}
@media (prefers-reduced-motion: reduce) {
  .phone-mock { animation: none; }
}



:root {
  --ez-pink: #22D3EE;
  --ez-fuchsia: #3B82F6;
  --ez-green: #3FB950;
  --ez-bg-0: #0D1117;
  --ez-bg-1: #161B22;
  --ez-bg-2: #1F2328;
}

html { scroll-behavior: smooth; }

/* Respect the user's reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== STATIC PAGES (non-index) - disable motion effects =====
   The hero / scroll / tilt animation layer is reserved for the homepage.
   Other pages render everything in its final resting state instantly. */
body.static-page .reveal,
body.static-page .reveal-left,
body.static-page .reveal-right,
body.static-page .reveal-scale,
body.static-page .reveal-rotate,
body.static-page .reveal-pop,
body.static-page .reveal-up-big,
body.static-page .hero-fade,
body.static-page .stagger > * {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}

body.static-page .ez-gradient-text,
body.static-page .grid-bg,
body.static-page .sphere-float,
body.static-page .hero-aurora::before,
body.static-page .hero-aurora::after,
body.static-page .pill,
body.static-page .pill i[data-lucide],
body.static-page .sphere-deco,
body.static-page .glow-border::before,
body.static-page .btn-primary,
body.static-page .btn-primary::before,
body.static-page .map-dot {
  animation: none !important;
}

/* Fuel card keeps its own float/tilt even on static pages - it's the
   hero visual we want alive everywhere. */
body.static-page .card-tilt-wrap .card-float {
  animation: cardFloat 6s ease-in-out infinite !important;
  transition: transform .25s cubic-bezier(.22,.61,.36,1), filter .25s ease !important;
}
/* While actively tilting, pause the float so JS transform is authoritative. */
body.static-page .card-tilt-wrap.is-tilting .card-float {
  animation: none !important;
  transition: transform .08s linear, filter .25s ease !important;
}

body.static-page .scroll-progress { display: none !important; }

/* Disable the homepage sticky-stacking scroll effect on static pages */
body.static-page main > section {
  position: static !important;
  box-shadow: none !important;
}

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Trademark mark next to EZ FUEL logo */
.ez-tm {
  display: inline-block;
  font-size: 0.75em;
  font-weight: 700;
  vertical-align: top;
  line-height: 0.85;
  margin-left: -5px;
  margin-top: -0.35em;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

/* Logo gradient */
.ez-gradient-text {
  background: linear-gradient(90deg, #22D3EE 0%, #3B82F6 50%, #22D3EE 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gradientShift 5s ease-in-out infinite;
}
/* PRO portion of the wordmark: deeper blue gradient so it reads as a second accent */
.ez-pro-text {
  background: linear-gradient(90deg, #3B82F6 0%, #1E40AF 50%, #3B82F6 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gradientShift 6s ease-in-out infinite;
}
body.static-page .ez-pro-text { animation: none !important; }
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* Hero gradient backdrop */
.hero-aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.hero-aurora::before,
.hero-aurora::after {
  content: "";
  position: absolute;
  border-radius: 9999px;
  filter: blur(120px);
  opacity: 0.55;
  animation: floaty 14s ease-in-out infinite;
}
.hero-aurora::before {
  width: 540px; height: 540px;
  background: radial-gradient(circle at 30% 30%, #22D3EE, transparent 60%);
  top: -120px; left: -100px;
}
.hero-aurora::after {
  width: 620px; height: 620px;
  background: radial-gradient(circle at 70% 70%, #3B82F6, transparent 60%);
  bottom: -180px; right: -120px;
  animation-delay: -7s;
}
@keyframes floaty {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50%      { transform: translate3d(20px,-30px,0) scale(1.06); }
}

/* Animated grid backdrop */
.grid-bg {
  background-image:
    linear-gradient(rgba(34,211,238,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,211,238,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  animation: gridDrift 30s linear infinite;
  /* Decorative overlay must not intercept clicks on form inputs / links */
  pointer-events: none;
}
@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 48px 48px, 48px 48px; }
}

/* Scroll progress bar (fixed at the very top) */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #22D3EE, #3B82F6, #22D3EE);
  background-size: 200% 100%;
  z-index: 100;
  pointer-events: none;
  box-shadow: 0 0 16px rgba(34,211,238,0.55);
  animation: progressShimmer 3s linear infinite;
  will-change: width;
}
@keyframes progressShimmer {
  0% { background-position: 0 0; }
  100% { background-position: 200% 0; }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-rotate {
  opacity: 0;
  transform: translateY(24px) rotate(-6deg);
  transition: opacity .9s cubic-bezier(.22,.61,.36,1), transform .9s cubic-bezier(.22,.61,.36,1);
}
.reveal-rotate.in { opacity: 1; transform: translateY(0) rotate(0); }
.reveal-pop {
  opacity: 0;
  transform: scale(0.5);
  transition: opacity .6s cubic-bezier(.34,1.56,.64,1), transform .6s cubic-bezier(.34,1.56,.64,1);
}
.reveal-pop.in { opacity: 1; transform: scale(1); }
.reveal-up-big {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s cubic-bezier(.22,.61,.36,1), transform 1s cubic-bezier(.22,.61,.36,1);
}
.reveal-up-big.in { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1);
}
.reveal-left.in { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1);
}
.reveal-right.in { opacity: 1; transform: translateX(0); }
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1);
}
.reveal-scale.in { opacity: 1; transform: scale(1); }

/* Staggered reveal children - children fade/slide in with cascading delay
   when the parent gets .in. */
.stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
}
.stagger.in > * { opacity: 1; transform: translateY(0); }
.stagger.in > *:nth-child(1) { transition-delay: .05s; }
.stagger.in > *:nth-child(2) { transition-delay: .15s; }
.stagger.in > *:nth-child(3) { transition-delay: .25s; }
.stagger.in > *:nth-child(4) { transition-delay: .35s; }
.stagger.in > *:nth-child(5) { transition-delay: .45s; }
.stagger.in > *:nth-child(6) { transition-delay: .55s; }
.stagger.in > *:nth-child(7) { transition-delay: .65s; }
.stagger.in > *:nth-child(8) { transition-delay: .75s; }

/* Card hover lift */
.lift {
  transition: transform .35s cubic-bezier(.22,.61,.36,1), border-color .3s ease, background-color .3s ease, box-shadow .35s ease;
}
.lift:hover {
  transform: translateY(-6px);
  border-color: rgba(34,211,238,0.35);
  box-shadow: 0 20px 50px -20px rgba(34,211,238,0.35);
}
.lift:hover i[data-lucide] {
  transform: scale(1.15) rotate(-4deg);
  transition: transform .3s cubic-bezier(.22,.61,.36,1);
}
i[data-lucide] { transition: transform .3s ease; }

/* Hero entrance animations */
.hero-fade {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFade .9s cubic-bezier(.22,.61,.36,1) forwards;
}
.hero-fade-1 { animation-delay: .1s; }
.hero-fade-2 { animation-delay: .25s; }
.hero-fade-3 { animation-delay: .4s; }
.hero-fade-4 { animation-delay: .55s; }
.hero-fade-5 { animation-delay: .7s; }
@keyframes heroFade {
  to { opacity: 1; transform: translateY(0); }
}

/* Typing cursor blink (optional accent) */
@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* ===== TRUE LIQUID GLASS BUTTONS — visibly translucent ===== */
/* The fill is barely there - color comes from a soft tint behind frosted
   blur. Bright top edge highlight + thin glowing border make it read as
   "glass" not "button". */

.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  text-decoration: none;
  user-select: none;
  isolation: isolate;
  overflow: hidden;
  /* Frosted glass with subtle cyan-blue tint */
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.18) 0%,
      rgba(255, 255, 255, 0.04) 45%,
      rgba(255, 255, 255, 0.02) 55%,
      rgba(255, 255, 255, 0.10) 100%),
    linear-gradient(135deg,
      rgba(34, 211, 238, 0.28) 0%,
      rgba(59, 130, 246, 0.20) 100%);
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  /* Glass-defining shadows: bright top edge + soft inner depth + minimal outer */
  box-shadow:
    inset 0 1.5px 0 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 0 rgba(255, 255, 255, 0.10),
    inset 0 0 14px 0 rgba(255, 255, 255, 0.10),
    0 6px 20px -4px rgba(34, 211, 238, 0.35),
    0 1px 3px rgba(0, 0, 0, 0.20);
  transition:
    transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1),
    background 0.3s ease,
    box-shadow 0.3s ease,
    gap 0.2s ease;
}
/* Strong specular highlight (curved gradient on top half) */
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(140% 70% at 50% -20%,
      rgba(255, 255, 255, 0.45) 0%,
      rgba(255, 255, 255, 0) 55%);
  z-index: 1;
}
.btn-primary > * { position: relative; z-index: 2; }

.btn-primary:hover {
  transform: translateY(-2px);
  gap: 12px;
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.22) 0%,
      rgba(255, 255, 255, 0.06) 45%,
      rgba(255, 255, 255, 0.04) 55%,
      rgba(255, 255, 255, 0.14) 100%),
    linear-gradient(135deg,
      rgba(34, 211, 238, 0.38) 0%,
      rgba(59, 130, 246, 0.28) 100%);
  box-shadow:
    inset 0 1.5px 0 0 rgba(255, 255, 255, 0.65),
    inset 0 -1px 0 0 rgba(255, 255, 255, 0.12),
    inset 0 0 18px 0 rgba(255, 255, 255, 0.14),
    0 10px 30px -4px rgba(34, 211, 238, 0.5),
    0 2px 6px rgba(0, 0, 0, 0.22);
}
.btn-primary:active {
  transform: translateY(0) scale(0.97);
  transition: transform 0.1s ease;
  box-shadow:
    inset 0 1.5px 4px rgba(0, 0, 0, 0.18),
    inset 0 -1px 0 0 rgba(255, 255, 255, 0.20),
    0 2px 8px rgba(0, 0, 0, 0.15);
}

/* ----- Ghost glass button ----- */
.btn-ghost {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  color: rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  text-decoration: none;
  user-select: none;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.10) 0%,
      rgba(255, 255, 255, 0.02) 50%,
      rgba(255, 255, 255, 0.06) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.30),
    inset 0 -1px 0 0 rgba(255, 255, 255, 0.06),
    inset 0 0 12px 0 rgba(255, 255, 255, 0.06),
    0 3px 10px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1),
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    gap 0.2s ease;
}
.btn-ghost::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(140% 70% at 50% -20%,
    rgba(255, 255, 255, 0.30) 0%,
    rgba(255, 255, 255, 0) 55%);
  z-index: 1;
}
.btn-ghost > * { position: relative; z-index: 2; }
.btn-ghost:hover {
  transform: translateY(-2px);
  gap: 12px;
  border-color: rgba(34, 211, 238, 0.4);
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.14) 0%,
      rgba(255, 255, 255, 0.04) 50%,
      rgba(255, 255, 255, 0.10) 100%),
    linear-gradient(135deg,
      rgba(34, 211, 238, 0.10) 0%,
      rgba(59, 130, 246, 0.06) 100%);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.40),
    inset 0 -1px 0 0 rgba(255, 255, 255, 0.08),
    inset 0 0 14px 0 rgba(255, 255, 255, 0.10),
    0 6px 18px rgba(34, 211, 238, 0.18),
    0 2px 6px rgba(0, 0, 0, 0.18);
}
.btn-ghost:active {
  transform: translateY(0) scale(0.97);
  transition: transform 0.1s ease;
  box-shadow:
    inset 0 1.5px 4px rgba(0, 0, 0, 0.18),
    inset 0 -1px 0 0 rgba(255, 255, 255, 0.10);
}
.light .btn-ghost {
  border-color: rgba(15,23,42,0.18);
}
.light .btn-ghost:hover {
  background: rgba(15,23,42,0.04);
  border-color: rgba(34,211,238,0.6);
}

/* FAQ */
details > summary {
  list-style: none;
  cursor: pointer;
}
details > summary::-webkit-details-marker { display: none; }
details[open] .faq-chevron { transform: rotate(180deg); }
.faq-chevron { transition: transform .25s ease; }

/* Testimonial carousel */
.carousel-track {
  display: flex;
  transition: transform .5s cubic-bezier(.22,.61,.36,1);
}
.carousel-track > * { flex: 0 0 100%; }

/* Discount badge pill */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 9999px;
  font-size: 12px; font-weight: 600;
  background: rgba(63,185,80,0.12);
  color: #3FB950;
  border: 1px solid rgba(63,185,80,0.3);
  animation: pillGlow 3.5s ease-in-out infinite;
}
@keyframes pillGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(63,185,80,0); }
  50%      { box-shadow: 0 0 0 6px rgba(63,185,80,0.08); }
}
.pill i[data-lucide] {
  animation: pillSpark 2.2s ease-in-out infinite;
}
@keyframes pillSpark {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.25); }
}

/* Subtle dotted divider */
.dotted-divider {
  border-top: 1px dashed rgba(255,255,255,0.08);
}
.light .dotted-divider {
  border-top: 1px dashed rgba(15,23,42,0.12);
}

/* ===== Real-time Transaction Visibility - mockups ===== */

/* Pulsing green "LIVE" dot */
.live-dot {
  display: inline-block;
  width: 8px; height: 8px; border-radius: 9999px;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16,185,129,0.7);
  animation: livePulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(16,185,129,0.7); }
  70%  { box-shadow: 0 0 0 9px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

/* Browser-window mockup */
.browser-mockup {
  background: #161B22;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.65),
              0 0 0 1px rgba(34,211,238,0.04);
}
.light .browser-mockup {
  background: #ffffff;
  border-color: rgba(15,23,42,0.08);
}

/* Transaction feed row (desktop) */
.tx-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  transition: background-color .2s ease;
}
.light .tx-row {
  background: rgba(15,23,42,0.02);
  border-color: rgba(15,23,42,0.05);
}
.tx-row--new {
  background: rgba(34,211,238,0.07);
  border-color: rgba(34,211,238,0.25);
  animation: txFlash 2.8s ease-out infinite;
}
@keyframes txFlash {
  0%   { background: rgba(34,211,238,0.18); border-color: rgba(34,211,238,0.5); }
  60%  { background: rgba(34,211,238,0.07); border-color: rgba(34,211,238,0.25); }
  100% { background: rgba(34,211,238,0.07); border-color: rgba(34,211,238,0.25); }
}
.tx-dot {
  width: 8px; height: 8px; border-radius: 9999px;
  background: #10B981;
  flex-shrink: 0;
}

/* Phone mockup */
.phone-mockup {
  position: relative;
  width: 260px;
  aspect-ratio: 9 / 19;
  background: #0D1117;
  border: 10px solid #1F2328;
  border-radius: 38px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.75),
              0 0 0 1px rgba(255,255,255,0.04),
              inset 0 0 0 1px rgba(255,255,255,0.03);
  overflow: hidden;
  animation: phoneFloat 7s ease-in-out infinite;
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
body.static-page .phone-mockup { animation: none; }
.phone-notch {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 18px;
  background: #000000;
  border-radius: 999px;
  z-index: 2;
}
.phone-screen {
  position: relative;
  height: 100%;
  color: #ffffff;
  background:
    radial-gradient(circle at 50% -10%, rgba(34,211,238,0.12), transparent 60%),
    #0D1117;
  padding-top: 26px;
}
.light .phone-mockup {
  background: #ffffff;
  border-color: #E5E7EB;
}
.light .phone-screen {
  color: #0D1117;
  background:
    radial-gradient(circle at 50% -10%, rgba(34,211,238,0.12), transparent 60%),
    #ffffff;
}

.phone-tx {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 7px 9px;
}
.light .phone-tx {
  background: rgba(15,23,42,0.03);
  border-color: rgba(15,23,42,0.06);
}
.phone-tx--new {
  background: rgba(34,211,238,0.1);
  border-color: rgba(34,211,238,0.3);
  animation: txFlash 2.8s ease-out infinite;
}

/* Map dots */
.map-dot {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 9999px;
  background: #22D3EE;
  box-shadow: 0 0 0 4px rgba(34,211,238,0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(34,211,238,0.18); }
  50%      { box-shadow: 0 0 0 10px rgba(34,211,238,0.05); }
}

/* Light mode overrides */
.light body, .light {
  background-color: #ffffff;
  color: #0D1117;
}
.light .surface-0 { background-color: #ffffff; }
.light .surface-1 { background-color: #F6F8FA; }
.light .surface-2 { background-color: #ffffff; }
.light .border-soft { border-color: rgba(15,23,42,0.08) !important; }
.light .text-muted { color: #4B5563 !important; }
.light .nav-bg { background-color: rgba(255,255,255,0.85) !important; border-color: rgba(15,23,42,0.08) !important; }

/* Dark defaults */
.surface-0 { background-color: #0D1117; }
.surface-1 { background-color: #161B22; }
.surface-2 { background-color: #1F2328; }
.border-soft { border-color: rgba(255,255,255,0.08); }
.text-muted { color: #9CA3AF; }
.nav-bg { background-color: rgba(13,17,23,0.75); border-color: rgba(255,255,255,0.06); }

/* ===== STACKING SCROLL EFFECT =====
   Each main section sticks to the top of the viewport; the next section
   slides up OVER it with a solid background, so the page feels like
   successive layers replacing each other "in place" instead of a
   continuous vertical scroll. The top offset equals the fixed header height. */
main > section {
  position: sticky;
  top: 0;
  z-index: 1;
  /* soft shadow at the top edge makes the "overlap seam" visible
     as a new section slides up over the previous one */
  box-shadow: 0 -18px 40px -20px rgba(0,0,0,0.65);
}
/* Each section should have a fully opaque background so it
   visually covers what's pinned behind. */
main > section.surface-0 { background-color: #0D1117; }
main > section.surface-1 { background-color: #161B22; }
main > section:not(.surface-0):not(.surface-1) { background-color: #0D1117; }

.light main > section.surface-0 { background-color: #ffffff; }
.light main > section.surface-1 { background-color: #F6F8FA; }
.light main > section:not(.surface-0):not(.surface-1) { background-color: #ffffff; }

.light main > section {
  box-shadow: 0 -18px 40px -20px rgba(15,23,42,0.18);
}

/* Footer shouldn't stick - it's the final layer */
footer { position: relative; z-index: 2; }

/* Hide scrollbar on logo strip */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Logo marquee */
.marquee {
  display: flex;
  align-items: center;
  gap: 40px;
  animation: marquee 32s linear infinite;
  width: max-content;
}

/* Brand chips for marquee - each named truck-stop network styled in its brand color */
.brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1.5px solid var(--brand, #22D3EE);
  white-space: nowrap;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.3px;
  color: var(--brand, #22D3EE);
  line-height: 1;
  transition: background-color .25s ease, transform .25s ease;
}
.brand-chip .dot {
  width: 7px; height: 7px; border-radius: 9999px;
  background: var(--brand, #22D3EE);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand, #22D3EE) 22%, transparent);
}
.brand-chip:hover {
  background: rgba(255,255,255,0.06);
  transform: translateY(-2px);
}
.light .brand-chip { background: rgba(15,23,42,0.02); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Calculator focus rings */
input[type="number"], input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  outline: none;
}
input:focus, select:focus, textarea:focus {
  box-shadow: 0 0 0 2px rgba(34,211,238,0.55);
  border-color: #22D3EE !important;
}

/* ===== SPHERE / CARD GRAPHICS ===== */

/* Floating card with perspective tilt */
.card-float {
  animation: cardFloat 6s ease-in-out infinite;
  filter: drop-shadow(0 24px 60px rgba(34,211,238,0.25));
  transform-style: preserve-3d;
  will-change: transform;
}
@keyframes cardFloat {
  0%, 100% { transform: perspective(800px) rotateY(-5deg) rotateX(2deg) translateY(0); }
  50%      { transform: perspective(800px) rotateY(0deg) rotateX(-1deg) translateY(-12px); }
}

/* Interactive tilt - wrap container + glare */
.card-tilt-wrap {
  position: relative;
  display: inline-block;
  perspective: 1000px;
}
.card-tilt-wrap .card-float {
  transition: transform .25s cubic-bezier(.22,.61,.36,1), filter .25s ease;
}
/* While the user is actively tilting, pause the idle float animation
   so the JS transform is authoritative. */
.card-tilt-wrap.is-tilting .card-float {
  animation: none;
  transition: transform .08s linear, filter .25s ease;
  filter: drop-shadow(0 30px 70px rgba(34,211,238,0.4));
}

/* ===== Network cards (Network page - Major networks grid) ===== */
.net-card {
  --brand: #22D3EE;
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0)) padding-box,
    var(--ez-bg-1, #161B22);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.75rem;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.22,.61,.36,1), border-color .3s, box-shadow .35s;
}
/* Animated top accent bar - slides in on hover, always-on for accent variants */
.net-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand) 40%, var(--brand) 60%, transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .45s cubic-bezier(.22,.61,.36,1);
}
.net-card--accent::before { transform: scaleX(1); }
.net-card:hover::before  { transform: scaleX(1); }

/* Soft brand-colored glow that fades in on hover */
.net-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: 0 0 0 0 transparent;
  transition: box-shadow .35s ease;
}
.net-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.16);
}
.net-card:hover::after {
  box-shadow: 0 18px 60px -10px rgba(0,0,0,0.5),
              0 0 28px -4px var(--brand);
  opacity: 0.55;
}

.net-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}
.net-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: rgba(34, 211, 238, 0.1);
  background: color-mix(in srgb, var(--brand) 14%, transparent);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .35s cubic-bezier(.22,.61,.36,1);
}
.net-card:hover .net-card__icon {
  transform: rotate(-6deg) scale(1.05);
}
.net-card__badge {
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.1);
  background: color-mix(in srgb, var(--brand) 14%, transparent);
  color: var(--brand);
  border: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.net-card__stat {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 0.35rem;
}
.net-card__num {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--brand) 0%, #ffffff 130%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.net-card__lbl {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  font-weight: 500;
}

.net-card__tags {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.net-card__tags > span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.7);
}
.net-card__tags > span i {
  color: var(--brand);
  opacity: 0.85;
}

/* Light mode - surface and contrast adjustments */
.light .net-card {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.02), transparent) padding-box,
    #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
}
.light .net-card__num {
  background: linear-gradient(135deg, var(--brand), #0f172a 130%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.light .net-card__lbl { color: rgba(15, 23, 42, 0.6); }
.light .net-card__tags > span {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.08);
  color: rgba(15, 23, 42, 0.75);
}
.light .net-card__tags { border-top-color: rgba(15, 23, 42, 0.1); }
.light .net-card__badge { border-color: rgba(15, 23, 42, 0.08); }

/* ===== Pricing - Live Quote card mockup (hero) ===== */
.rate-quote {
  position: relative;
  width: 420px;
  max-width: 100%;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0)) padding-box,
    var(--ez-bg-1, #161B22);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  padding: 1.6rem 1.6rem 1.4rem;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #fff;
  box-shadow:
    0 30px 60px -15px rgba(0,0,0,0.55),
    0 0 60px -10px rgba(34, 211, 238, 0.18);
  transform: perspective(1500px) rotateX(6deg) rotateY(-4deg);
  animation: rqFloat 7s ease-in-out infinite;
  transform-style: preserve-3d;
}
@keyframes rqFloat {
  0%, 100% { transform: perspective(1500px) rotateX(6deg) rotateY(-4deg) translateY(0); }
  50%      { transform: perspective(1500px) rotateX(4deg) rotateY(-2deg) translateY(-10px); }
}
.rate-quote::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 60% at 0% 0%, rgba(34,211,238,0.08), transparent 55%);
  pointer-events: none;
}

/* Header */
.rq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px dashed rgba(255,255,255,0.08);
}
.rq-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #3FB950;
}
.rq-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3FB950;
  box-shadow: 0 0 10px #3FB950;
  animation: rqDotPulse 1.6s ease-in-out infinite;
}
@keyframes rqDotPulse {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.4); }
}
.rq-time {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* Customer */
.rq-customer { margin-bottom: 1rem; }
.rq-customer-name {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}
.rq-customer-sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  margin: 0.2rem 0 0;
}

/* Stats */
.rq-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 0.8rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 0.65rem;
  margin-bottom: 0.9rem;
}
.rq-label {
  font-size: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
  margin: 0 0 0.25rem;
}
.rq-value {
  font-size: 0.9rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.01em;
}

/* Tier */
.rq-tier { margin-bottom: 0.75rem; }
.rq-tier-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.rq-tier-name {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0.2rem 0 0;
  background: linear-gradient(135deg, #22D3EE, #3B82F6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.rq-tier-pop {
  display: inline-block;
  margin-left: 0.4rem;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  background: rgba(34,211,238,0.12);
  color: #22D3EE;
  border: 1px solid rgba(34,211,238,0.25);
  -webkit-text-fill-color: #22D3EE;
  vertical-align: middle;
}
.rq-tier-bars {
  display: flex;
  gap: 0.25rem;
  flex-shrink: 0;
}
.rq-tier-bars > span {
  width: 16px;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
}
.rq-tier-bars[data-level="3"] > span:nth-child(-n+3) {
  background: linear-gradient(90deg, #22D3EE, #3B82F6);
  box-shadow: 0 0 8px -2px rgba(34,211,238,0.6);
}

/* Account */
.rq-account {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem;
  background: rgba(34,211,238,0.04);
  border: 1px dashed rgba(34,211,238,0.2);
  border-radius: 0.65rem;
  margin-bottom: 1rem;
}
.rq-account-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.45rem;
  background: rgba(34,211,238,0.15);
  color: #22D3EE;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rq-account-text { flex: 1; min-width: 0; }
.rq-account-name {
  font-size: 0.8rem;
  font-weight: 700;
  margin: 0;
}
.rq-account-sub {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.55);
  margin: 0.15rem 0 0;
}
.rq-account-tag {
  font-size: 0.55rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(34,211,238,0.12);
  color: #22D3EE;
  border: 1px solid rgba(34,211,238,0.25);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Savings */
.rq-savings {
  padding: 1rem 1.1rem;
  background: linear-gradient(135deg, rgba(63,185,80,0.08), rgba(34,211,238,0.04));
  border: 1px solid rgba(63,185,80,0.18);
  border-radius: 0.7rem;
  margin-bottom: 0.85rem;
}
.rq-savings-label {
  font-size: 0.55rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
  margin: 0 0 0.4rem;
}
.rq-savings-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
}
.rq-savings-num {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #3FB950, #22D3EE);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.rq-savings-range {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
}
.rq-savings-meta {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.45);
  margin: 0 0 0.55rem;
}
.rq-savings-bar {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
}
.rq-savings-fill {
  height: 100%;
  width: 76%;
  background: linear-gradient(90deg, #3FB950, #22D3EE);
  border-radius: inherit;
  animation: rqFill 4s ease-in-out infinite;
  box-shadow: 0 0 14px -2px rgba(34,211,238,0.6);
}
@keyframes rqFill {
  0%, 100% { width: 70%; }
  50%      { width: 88%; }
}

/* Footer */
.rq-footer {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.5);
}
.rq-footer i { color: #3FB950; }

/* Light mode */
.light .rate-quote {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.02), transparent) padding-box,
    #ffffff;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow:
    0 30px 60px -15px rgba(15, 23, 42, 0.18),
    0 0 60px -10px rgba(34, 211, 238, 0.18);
}
.light .rq-customer-name,
.light .rq-value,
.light .rq-account-name { color: #0f172a; }
.light .rq-customer-sub,
.light .rq-account-sub,
.light .rq-savings-meta,
.light .rq-time,
.light .rq-footer { color: rgba(15, 23, 42, 0.55); }
.light .rq-stats { background: rgba(15, 23, 42, 0.03); border-color: rgba(15, 23, 42, 0.07); }

@media (prefers-reduced-motion: reduce) {
  .rate-quote, .rq-dot, .rq-savings-fill { animation: none; }
}

/* ===== Pricing - Floating receipt stack (hero) ===== */
.receipt-stack {
  position: relative;
  width: min(440px, 100%);
  height: 480px;
  perspective: 1500px;
  transform-style: preserve-3d;
}

/* Single receipt sheet */
.receipt {
  --r: 5px;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 250px;
  background: #fafaf3;
  color: #1a1a1a;
  padding: 18px 18px 14px;
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: 0.02em;
  -webkit-mask:
    radial-gradient(circle var(--r) at 50% 0, transparent 99%, #000 100%) 50% 0 / calc(2 * var(--r)) calc(2 * var(--r)) repeat-x,
    radial-gradient(circle var(--r) at 50% 100%, transparent 99%, #000 100%) 50% 100% / calc(2 * var(--r)) calc(2 * var(--r)) repeat-x,
    linear-gradient(#000 0 0) 50% / 100% calc(100% - 2 * var(--r)) no-repeat;
          mask:
    radial-gradient(circle var(--r) at 50% 0, transparent 99%, #000 100%) 50% 0 / calc(2 * var(--r)) calc(2 * var(--r)) repeat-x,
    radial-gradient(circle var(--r) at 50% 100%, transparent 99%, #000 100%) 50% 100% / calc(2 * var(--r)) calc(2 * var(--r)) repeat-x,
    linear-gradient(#000 0 0) 50% / 100% calc(100% - 2 * var(--r)) no-repeat;
  filter:
    drop-shadow(0 1px 0 rgba(0,0,0,0.04))
    drop-shadow(0 22px 28px rgba(0,0,0,0.45));
  transform-style: preserve-3d;
  will-change: transform;
}
/* Subtle scanline grain */
.receipt::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0,
    transparent 22px,
    rgba(0,0,0,0.022) 22px,
    rgba(0,0,0,0.022) 23px);
  pointer-events: none;
}

/* Stack arrangement + sway */
.receipt--back {
  transform: translate(-72%, -55%) rotate(-9deg) translateZ(-30px);
  z-index: 1;
  opacity: 0.94;
  animation: receiptSway1 7s ease-in-out infinite;
}
.receipt--mid {
  transform: translate(-32%, -50%) rotate(7deg) translateZ(0);
  z-index: 2;
  animation: receiptSway2 8s ease-in-out infinite -2s;
}
.receipt--front {
  transform: translate(-52%, -42%) rotate(-3deg) translateZ(40px);
  z-index: 3;
  animation: receiptSway3 6s ease-in-out infinite -1s;
  filter:
    drop-shadow(0 1px 0 rgba(0,0,0,0.04))
    drop-shadow(0 28px 36px rgba(0,0,0,0.5));
}
@keyframes receiptSway1 {
  0%, 100% { transform: translate(-72%, -55%) rotate(-9deg)  translateZ(-30px); }
  50%      { transform: translate(-72%, -58%) rotate(-10.5deg) translateZ(-30px); }
}
@keyframes receiptSway2 {
  0%, 100% { transform: translate(-32%, -50%) rotate(7deg) translateZ(0); }
  50%      { transform: translate(-32%, -53%) rotate(8.5deg) translateZ(0); }
}
@keyframes receiptSway3 {
  0%, 100% { transform: translate(-52%, -42%) rotate(-3deg) translateZ(40px); }
  50%      { transform: translate(-52%, -45%) rotate(-1.5deg) translateZ(40px); }
}

/* Header */
.receipt__head {
  text-align: center;
  margin-bottom: 8px;
}
.receipt__logo {
  font-family: 'Arial Narrow', 'Helvetica Neue', Impact, sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  color: var(--brand, #1a1a1a);
}
.receipt__loc {
  margin-top: 4px;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: rgba(26, 26, 26, 0.65);
}

/* Dividers */
.receipt__div {
  height: 1px;
  background: rgba(26, 26, 26, 0.18);
  margin: 8px 0;
}
.receipt__div--dashed {
  height: 0;
  border-top: 1.5px dashed rgba(26, 26, 26, 0.4);
  background: transparent;
  margin: 9px 0;
}

/* Rows */
.receipt__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 3px 0;
  font-size: 11px;
  letter-spacing: 0.04em;
}
.receipt__row--small {
  font-size: 9.5px;
  color: rgba(26, 26, 26, 0.6);
}
.receipt__row--total {
  font-size: 14px;
  font-weight: 800;
  margin-top: 6px;
  letter-spacing: 0.06em;
}

/* The "DISCOUNT APPLIED" highlight - the focal point */
.receipt__highlight {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 10px -10px;
  padding: 7px 10px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--brand, #22D3EE);
  background: color-mix(in srgb, var(--brand, #22D3EE) 14%, transparent);
  border-left: 3px solid var(--brand, #22D3EE);
  position: relative;
  animation: receiptGlow 2.4s ease-in-out infinite;
}
.receipt__highlight i {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  stroke-width: 3;
  color: var(--brand, #22D3EE);
}
.receipt__highlight--featured {
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--brand, #22D3EE) 24%, transparent),
    color-mix(in srgb, var(--brand, #22D3EE) 6%, transparent));
}
@keyframes receiptGlow {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand, #22D3EE) 0%, transparent); }
  50%      { box-shadow: 0 0 14px -2px color-mix(in srgb, var(--brand, #22D3EE) 50%, transparent); }
}

/* Footer */
.receipt__foot {
  margin-top: 10px;
  text-align: center;
  font-size: 8.5px;
  letter-spacing: 0.16em;
  color: rgba(26, 26, 26, 0.55);
}

/* Floating savings badge in lower-right */
.receipt-badge {
  position: absolute;
  bottom: 12px;
  right: -10px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background:
    linear-gradient(135deg, rgba(63,185,80,0.12), rgba(34,211,238,0.06)) padding-box,
    var(--ez-bg-1, #161B22);
  border: 1px solid rgba(63,185,80,0.32);
  border-radius: 14px;
  color: #fff;
  z-index: 4;
  transform: rotate(3deg);
  box-shadow:
    0 18px 36px -12px rgba(0,0,0,0.55),
    0 0 24px -8px rgba(63,185,80,0.4);
  animation: receiptBadgeFloat 5s ease-in-out infinite;
}
@keyframes receiptBadgeFloat {
  0%, 100% { transform: rotate(3deg) translateY(0); }
  50%      { transform: rotate(4deg) translateY(-6px); }
}
.receipt-badge__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(63,185,80,0.22), rgba(34,211,238,0.16));
  border: 1px solid rgba(63,185,80,0.35);
  color: #3FB950;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.receipt-badge__text {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}
.receipt-badge__label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.receipt-badge__amount {
  font-size: 13px;
  font-weight: 800;
  background: linear-gradient(135deg, #3FB950, #22D3EE);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Light mode - receipts are already cream paper, just retune the badge */
.light .receipt-badge {
  background:
    linear-gradient(135deg, rgba(63,185,80,0.14), rgba(34,211,238,0.08)) padding-box,
    #ffffff;
  color: #0f172a;
  border-color: rgba(63,185,80,0.4);
  box-shadow:
    0 18px 36px -12px rgba(15,23,42,0.22),
    0 0 24px -8px rgba(63,185,80,0.3);
}
.light .receipt-badge__label { color: rgba(15, 23, 42, 0.55); }

/* Tighter on smaller hero columns */
@media (max-width: 1180px) {
  .receipt-stack { width: 380px; height: 440px; }
  .receipt { width: 220px; font-size: 10.5px; padding: 16px 16px 12px; }
  .receipt__logo { font-size: 19px; }
  .receipt__row--total { font-size: 13px; }
  .receipt-badge { padding: 10px 14px; right: 0; }
  .receipt-badge__amount { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .receipt--back, .receipt--mid, .receipt--front,
  .receipt__highlight, .receipt-badge { animation: none; }
}

/* ===== Pricing - Old pump comparison (deprecated, kept for compatibility) ===== */
.pump-compare-wrap {
  position: relative;
  width: min(600px, 100%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  transform: perspective(1500px) rotateX(6deg) rotateY(-4deg);
  animation: pcFloat 7s ease-in-out infinite;
  transform-style: preserve-3d;
}
@keyframes pcFloat {
  0%, 100% { transform: perspective(1500px) rotateX(6deg) rotateY(-4deg) translateY(0); }
  50%      { transform: perspective(1500px) rotateX(4deg) rotateY(-2deg) translateY(-10px); }
}

.pump-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 0.75rem;
}

/* Pump card */
.pump {
  position: relative;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0)) padding-box,
    var(--ez-bg-1, #161B22);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1rem 1rem 0.9rem;
  color: #fff;
  box-shadow: 0 18px 40px -12px rgba(0,0,0,0.55);
  overflow: hidden;
}
.pump::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 60% at 0% 0%, rgba(255,255,255,0.05), transparent 55%);
  pointer-events: none;
}
.pump--retail { opacity: 0.92; }
.pump--featured {
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow:
    0 18px 40px -12px rgba(0,0,0,0.55),
    0 0 0 1px rgba(34, 211, 238, 0.18) inset,
    0 0 40px -10px rgba(34, 211, 238, 0.45);
}
.pump--featured::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(34,211,238,0.35), transparent 40%, rgba(59,130,246,0.25));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  padding: 1px;
  pointer-events: none;
  opacity: 0.7;
}

/* Pump head label */
.pump__head {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.7rem;
}
.pump__head i { color: rgba(255,255,255,0.45); }
.pump--featured .pump__head { color: #22D3EE; }
.pump--featured .pump__head i { color: #22D3EE; }

/* LED-style display */
.pump__display {
  position: relative;
  background: linear-gradient(180deg, #050608 0%, #0b0e12 100%);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 0.6rem;
  padding: 0.85rem 0.9rem;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    inset 0 -10px 20px rgba(0,0,0,0.5);
  overflow: hidden;
}
.pump__display::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 3px);
  pointer-events: none;
  opacity: 0.5;
}
.pump__display--featured {
  border-color: rgba(34,211,238,0.3);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    inset 0 -10px 20px rgba(0,0,0,0.5),
    0 0 24px -6px rgba(34,211,238,0.5);
}
.pump__display-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}

/* Price typography - vintage LED feel */
.pump__price {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  color: #ff8c42;
  text-shadow:
    0 0 8px rgba(255, 140, 66, 0.45),
    0 0 22px rgba(255, 140, 66, 0.2);
  display: inline-flex;
  align-items: baseline;
  gap: 0.05em;
}
.pump--featured .pump__price {
  color: #22D3EE;
  text-shadow:
    0 0 10px rgba(34, 211, 238, 0.6),
    0 0 26px rgba(34, 211, 238, 0.28);
}

/* Redacted price - solid blocks */
.pump__price--redacted { align-items: center; gap: 0.04em; }
.pump__price--redacted i {
  display: inline-block;
  width: 0.7em;
  height: 1em;
  background: linear-gradient(180deg, #22D3EE, #3B82F6);
  border-radius: 2px;
  vertical-align: -0.05em;
  box-shadow:
    0 0 10px rgba(34, 211, 238, 0.55),
    inset 0 0 6px rgba(255,255,255,0.18);
  position: relative;
  overflow: hidden;
  margin: 0 0.02em;
}
.pump__price--redacted i::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.55) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: pumpShimmer 2.6s ease-in-out infinite;
}
.pump__price--redacted i:nth-child(2)::before { animation-delay: 0.25s; }
.pump__price--redacted i:nth-child(4)::before { animation-delay: 0.5s; }
.pump__price--redacted i:nth-child(5)::before { animation-delay: 0.75s; }
@keyframes pumpShimmer {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

.pump__unit {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255,140,66,0.55);
  text-transform: uppercase;
}
.pump--featured .pump__unit { color: rgba(34, 211, 238, 0.7); }

.pump__sub {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.45);
  margin: 0.55rem 0 0;
  letter-spacing: 0.01em;
}

/* Center arrow connector */
.pump-arrow {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0 0.2rem;
  min-width: 60px;
}
.pump-arrow__label {
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #3FB950, #22D3EE);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pump-arrow__track {
  position: relative;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(34,211,238,0.35), transparent);
  border-radius: 999px;
  overflow: visible;
}
.pump-arrow__particle {
  position: absolute;
  top: 50%;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3FB950;
  box-shadow: 0 0 10px rgba(63, 185, 80, 0.8);
  transform: translateY(-50%);
  animation: pumpFlow 2.2s linear infinite;
}
.pump-arrow__particle:nth-child(2) { animation-delay: 0.7s; background: #22D3EE; box-shadow: 0 0 10px rgba(34,211,238,0.8); }
.pump-arrow__particle:nth-child(3) { animation-delay: 1.4s; background: #3B82F6; box-shadow: 0 0 10px rgba(59,130,246,0.8); }
@keyframes pumpFlow {
  0%   { left: -10%; opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { left: 110%; opacity: 0; }
}
.pump-arrow__icon {
  color: #22D3EE;
  width: 1.25rem;
  height: 1.25rem;
  filter: drop-shadow(0 0 6px rgba(34,211,238,0.5));
  animation: pumpArrowPulse 2s ease-in-out infinite;
}
@keyframes pumpArrowPulse {
  0%, 100% { transform: translateX(0); opacity: 0.85; }
  50%      { transform: translateX(3px); opacity: 1; }
}

/* Result strip */
.pump-result {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1.1rem;
  background:
    linear-gradient(135deg, rgba(63,185,80,0.08), rgba(34,211,238,0.05)) padding-box,
    var(--ez-bg-1, #161B22);
  border: 1px solid rgba(63,185,80,0.22);
  border-radius: 0.85rem;
  box-shadow: 0 14px 30px -12px rgba(0,0,0,0.5);
}
.pump-result__icon {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.55rem;
  background: linear-gradient(135deg, rgba(63,185,80,0.18), rgba(34,211,238,0.12));
  border: 1px solid rgba(63,185,80,0.3);
  color: #3FB950;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pump-result__text {
  flex: 1;
  min-width: 0;
}
.pump-result__label {
  font-size: 0.55rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
  margin: 0 0 0.2rem;
}
.pump-result__amount {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin: 0;
  white-space: nowrap;
}
.pump-result__num {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #3FB950, #22D3EE);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pump-result__range {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
}

/* Light mode */
.light .pump {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.02), transparent) padding-box,
    #ffffff;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 18px 40px -12px rgba(15,23,42,0.18);
}
.light .pump--featured {
  border-color: rgba(34, 211, 238, 0.55);
  box-shadow:
    0 18px 40px -12px rgba(15,23,42,0.18),
    0 0 0 1px rgba(34, 211, 238, 0.22) inset,
    0 0 40px -10px rgba(34, 211, 238, 0.4);
}
.light .pump__head { color: rgba(15, 23, 42, 0.55); }
.light .pump__head i { color: rgba(15, 23, 42, 0.4); }
.light .pump__sub { color: rgba(15, 23, 42, 0.55); }
.light .pump-result {
  background:
    linear-gradient(135deg, rgba(63,185,80,0.1), rgba(34,211,238,0.06)) padding-box,
    #ffffff;
  border-color: rgba(63,185,80,0.3);
  box-shadow: 0 14px 30px -12px rgba(15,23,42,0.18);
}
.light .pump-result__label { color: rgba(15, 23, 42, 0.5); }
.light .pump-result__range { color: rgba(15, 23, 42, 0.55); }

/* Tighter on smaller hero columns */
@media (max-width: 1180px) {
  .pump__price { font-size: 1.8rem; }
  .pump__display { padding: 0.7rem 0.75rem; }
  .pump { padding: 0.85rem 0.85rem 0.75rem; }
  .pump-arrow { min-width: 48px; }
  .pump-result__num { font-size: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .pump-compare-wrap,
  .pump__price--redacted i::before,
  .pump-arrow__particle,
  .pump-arrow__icon { animation: none; }
}

/* ===== Pricing - account type cards (Prepaid vs Credit) ===== */
.account-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0)) padding-box,
    var(--ez-bg-1, #161B22);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 2rem;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.22,.61,.36,1), border-color .3s, box-shadow .35s;
}
.account-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.45);
}
.account-card--featured {
  border-color: rgba(34, 211, 238, 0.5);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.25) inset, 0 0 35px -10px rgba(34, 211, 238, 0.4);
}
.account-card--featured:hover {
  border-color: #22D3EE;
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.4) inset, 0 24px 60px -10px rgba(34, 211, 238, 0.45);
}
.account-card__badge {
  position: absolute;
  top: -0.7rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #22D3EE, #3B82F6);
  color: #0D1117;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 14px -2px rgba(34, 211, 238, 0.5);
}
.account-card__head { margin-bottom: 1.25rem; }
.account-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.account-card__tag--green {
  background: rgba(63, 185, 80, 0.12);
  color: #3FB950;
  border: 1px solid rgba(63, 185, 80, 0.25);
}
.account-card__tag--cyan {
  background: rgba(34, 211, 238, 0.12);
  color: #22D3EE;
  border: 1px solid rgba(34, 211, 238, 0.25);
}
.account-card__name {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  color: #fff;
}
.account-card__sub {
  margin: 0.4rem 0 0;
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
}

/* Hero number block */
.account-card__hero {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 1rem 1.2rem;
  background: linear-gradient(135deg, rgba(34,211,238,0.05), rgba(59,130,246,0.03));
  border: 1px dashed rgba(255,255,255,0.1);
  border-radius: 0.85rem;
  margin-bottom: 1.5rem;
}
.account-card__hero-num {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #22D3EE, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.account-card__hero-unit {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
}

/* Features list */
.account-card__features {
  flex: 1;
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.account-card__features li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}
.account-card__features li i {
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: #3FB950;
}
.account-card__features li p {
  margin: 0;
  font-weight: 600;
  font-size: 0.85rem;
  color: #fff;
}
.account-card__features li span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.45;
}
.account-card__best-for {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  padding: 0.7rem 0.9rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 0.6rem;
  margin: 0 0 1.4rem;
  line-height: 1.5;
}
.account-card__best-for strong { color: #fff; }

/* Light mode */
.light .account-card {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.02), transparent) padding-box,
    #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
}
.light .account-card__name,
.light .account-card__features li p { color: #0f172a; }
.light .account-card__sub,
.light .account-card__features li span { color: rgba(15, 23, 42, 0.6); }
.light .account-card__best-for { background: rgba(15, 23, 42, 0.03); border-color: rgba(15, 23, 42, 0.07); color: rgba(15, 23, 42, 0.7); }
.light .account-card__best-for strong { color: #0f172a; }
.light .account-card__hero-num {
  background: linear-gradient(135deg, #22D3EE, #0f172a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.light .account-card__hero-unit { color: rgba(15, 23, 42, 0.6); }

/* ===== Pricing - volume tier cards (no specific cents/gallon) ===== */
.tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0)) padding-box,
    var(--ez-bg-2, #1F2328);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.75rem;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.22,.61,.36,1), border-color .3s, box-shadow .35s;
}
.tier-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 50px -10px rgba(0,0,0,0.4);
}
.tier-card--featured {
  border-color: #22D3EE;
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.3) inset, 0 0 30px -8px rgba(34, 211, 238, 0.5);
}
.tier-card--featured:hover {
  border-color: #22D3EE;
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.4) inset, 0 24px 60px -10px rgba(34, 211, 238, 0.45);
}
.tier-card__badge {
  position: absolute;
  top: -0.7rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #22D3EE, #3B82F6);
  color: #0D1117;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 14px -2px rgba(34, 211, 238, 0.5);
}
.tier-card__head { margin-bottom: 1rem; }
.tier-card__name {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #22D3EE;
  margin: 0;
}
.tier-card__size {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0.4rem 0 0;
  color: #ffffff;
}

/* Tier strength indicator - fills based on data-level */
.tier-card__level {
  margin-bottom: 1.4rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}
.tier-card__level-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.6rem;
}
.tier-card__bars {
  display: flex;
  gap: 0.35rem;
}
.tier-card__bars > span {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  transition: background .3s ease;
}
.tier-card__bars[data-level="1"] > span:nth-child(-n+1),
.tier-card__bars[data-level="2"] > span:nth-child(-n+2),
.tier-card__bars[data-level="3"] > span:nth-child(-n+3),
.tier-card__bars[data-level="4"] > span:nth-child(-n+4) {
  background: linear-gradient(90deg, #22D3EE, #3B82F6);
  box-shadow: 0 0 10px -2px rgba(34, 211, 238, 0.6);
}

.tier-card__features {
  flex: 1;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  margin-bottom: 1.5rem;
}
.tier-card__features li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}
.tier-card__features li i {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: #3FB950;
}
.tier-card__features li p {
  margin: 0;
  font-weight: 600;
  font-size: 0.85rem;
  color: #fff;
}
.tier-card__features li span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.45;
}
.tier-card__cta { margin-top: auto; }

/* Light mode */
.light .tier-card {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.02), transparent) padding-box,
    #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
}
.light .tier-card__size,
.light .tier-card__features li p { color: #0f172a; }
.light .tier-card__level-label { color: rgba(15, 23, 42, 0.7); }
.light .tier-card__features li span { color: rgba(15, 23, 42, 0.6); }
.light .tier-card__level { border-bottom-color: rgba(15, 23, 42, 0.08); }
.light .tier-card__bars > span { background: rgba(15, 23, 42, 0.08); }

/* ===== Roadside Support - live dispatch card mockup ===== */
.dispatch-card {
  position: relative;
  width: 420px;
  max-width: 100%;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0)) padding-box,
    var(--ez-bg-1, #161B22);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  padding: 1.5rem;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #fff;
  box-shadow:
    0 30px 60px -15px rgba(0,0,0,0.55),
    0 0 60px -10px rgba(34, 211, 238, 0.18);
  transform: perspective(1500px) rotateX(6deg) rotateY(-4deg);
  animation: dispatchFloat 7s ease-in-out infinite;
  transform-style: preserve-3d;
}
@keyframes dispatchFloat {
  0%, 100% { transform: perspective(1500px) rotateX(6deg)  rotateY(-4deg) translateY(0); }
  50%      { transform: perspective(1500px) rotateX(4deg)  rotateY(-2deg) translateY(-10px); }
}

/* Subtle inner glow */
.dispatch-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 60% at 0% 0%, rgba(34,211,238,0.08), transparent 55%);
  pointer-events: none;
}

/* ----- Header ----- */
.dc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.1rem;
}
.dc-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #3FB950;
}
.dc-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3FB950;
  box-shadow: 0 0 10px #3FB950;
  animation: dcPulse 1.6s ease-in-out infinite;
}
@keyframes dcPulse {
  0%, 100% { opacity: 1;   transform: scale(1); box-shadow: 0 0 8px #3FB950; }
  50%      { opacity: 0.55; transform: scale(1.35); box-shadow: 0 0 18px #3FB950; }
}
.dc-eta {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  font-weight: 800;
}
.dc-eta-num {
  font-size: 1.8rem;
  background: linear-gradient(135deg, #22D3EE, #3B82F6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}
.dc-eta-unit {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
  font-weight: 700;
}

/* ----- Service row ----- */
.dc-service {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 0.8rem;
  margin-bottom: 1rem;
}
.dc-service-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.6rem;
  background: rgba(34, 211, 238, 0.15);
  color: #22D3EE;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dc-service-text { flex: 1; min-width: 0; }
.dc-service-title { font-weight: 700; font-size: 0.95rem; margin: 0; }
.dc-service-sub { color: rgba(255,255,255,0.55); font-size: 0.72rem; margin: 0.2rem 0 0; }
.dc-service-tag {
  font-size: 0.55rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(63, 185, 80, 0.12);
  color: #3FB950;
  border: 1px solid rgba(63, 185, 80, 0.25);
  white-space: nowrap;
}

/* ----- Info trio ----- */
.dc-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px dashed rgba(255,255,255,0.08);
}
.dc-info-label {
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
  font-weight: 700;
  margin: 0 0 0.25rem;
}
.dc-info-value {
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0;
}

/* ----- Timeline ----- */
.dc-timeline { margin-bottom: 1.2rem; }
.dc-timeline-track {
  position: relative;
  height: 4px;
  background: rgba(255,255,255,0.07);
  border-radius: 999px;
  margin: 0 0.4rem 0.8rem;
}
.dc-timeline-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 50%;
  background: linear-gradient(90deg, #3FB950, #22D3EE);
  border-radius: inherit;
  animation: dcFill 4s ease-in-out infinite;
}
@keyframes dcFill {
  0%   { width: 25%; }
  50%  { width: 60%; }
  100% { width: 25%; }
}
.dc-timeline-node {
  position: absolute;
  top: 50%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #1F2328;
  border: 2px solid rgba(255,255,255,0.15);
  transform: translateY(-50%);
}
.dc-timeline-node:nth-child(2) { left: 0; }
.dc-timeline-node:nth-child(3) { left: 50%; transform: translate(-50%, -50%); }
.dc-timeline-node:nth-child(4) { right: 0; }
.dc-timeline-node.dc-tn-done {
  background: #3FB950;
  border-color: #3FB950;
  box-shadow: 0 0 8px rgba(63,185,80,0.5);
}
.dc-timeline-node.dc-tn-active {
  background: #22D3EE;
  border-color: #22D3EE;
  box-shadow: 0 0 0 4px rgba(34,211,238,0.18), 0 0 14px rgba(34,211,238,0.7);
  animation: dcNodePulse 1.6s ease-in-out infinite;
}
@keyframes dcNodePulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(34,211,238,0.18), 0 0 12px rgba(34,211,238,0.6); }
  50%      { box-shadow: 0 0 0 8px rgba(34,211,238,0.06), 0 0 22px rgba(34,211,238,0.95); }
}
.dc-timeline-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.6rem;
  font-weight: 600;
}
.dc-tl-label { color: rgba(255,255,255,0.4); }
.dc-tl-label.dc-tl-done   { color: #3FB950; }
.dc-tl-label.dc-tl-active { color: #22D3EE; }

/* ----- Cost preview ----- */
.dc-cost {
  background: linear-gradient(135deg, rgba(34,211,238,0.06), rgba(59,130,246,0.04));
  border: 1px solid rgba(34, 211, 238, 0.15);
  border-radius: 0.75rem;
  padding: 0.8rem 0.9rem;
  margin-bottom: 1rem;
}
.dc-cost-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
}
.dc-cost-row + .dc-cost-row { margin-top: 0.4rem; }
.dc-cost-strike {
  text-decoration: line-through;
  color: rgba(255,255,255,0.4);
}
.dc-cost-row--total { padding-top: 0.4rem; border-top: 1px dashed rgba(255,255,255,0.08); }
.dc-cost-row--total span:first-child { color: #fff; font-weight: 600; }
.dc-cost-now {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.dc-cost-save {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  background: rgba(63,185,80,0.14);
  color: #3FB950;
  border: 1px solid rgba(63,185,80,0.3);
}

/* ----- Footer ----- */
.dc-footer {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
}
.dc-footer i { color: #22D3EE; }

/* Light mode */
.light .dispatch-card {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.02), transparent) padding-box,
    #ffffff;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow:
    0 30px 60px -15px rgba(15, 23, 42, 0.18),
    0 0 60px -10px rgba(34, 211, 238, 0.18);
}
.light .dc-info-value,
.light .dc-service-title { color: #0f172a; }
.light .dc-info-label { color: rgba(15, 23, 42, 0.55); }
.light .dc-cost-row--total span:first-child,
.light .dc-cost-now { color: #0f172a; }

@media (prefers-reduced-motion: reduce) {
  .dispatch-card,
  .dc-status-dot,
  .dc-timeline-fill,
  .dc-timeline-node.dc-tn-active { animation: none; }
}

/* ===== Contact page - quick contact cards ===== */
.contact-card {
  --brand: #22D3EE;
  position: relative;
  display: block;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0)) padding-box,
    var(--ez-bg-0, #0D1117);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.75rem 1.75rem 2rem;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.22,.61,.36,1), border-color .3s, box-shadow .35s;
}
.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand) 40%, var(--brand) 60%, transparent);
  transform: scaleX(0);
  transition: transform .45s cubic-bezier(.22,.61,.36,1);
}
.contact-card--accent::before { transform: scaleX(1); }
.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 50px -10px rgba(0,0,0,0.45),
              0 0 28px -4px var(--brand);
}
.contact-card:hover::before { transform: scaleX(1); }
.contact-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: color-mix(in srgb, var(--brand) 14%, transparent);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  transition: transform .35s cubic-bezier(.22,.61,.36,1);
}
.contact-card:hover .contact-card__icon { transform: scale(1.06) rotate(-4deg); }
.contact-card__arrow {
  position: absolute;
  bottom: 1.1rem;
  right: 1.25rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity .3s, transform .3s;
}
.contact-card:hover .contact-card__arrow { opacity: 1; transform: translateX(2px); }

/* ===== Contact page - form section headers + step indicators ===== */
.form-section-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.form-step {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #22D3EE, #3B82F6);
  color: #0D1117;
  font-size: 0.8rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.form-step-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.7);
}

/* Pickable cards (interest checkboxes) */
.form-pick {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 1rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  background: var(--ez-bg-2, #1F2328);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  transition: border-color .2s, background .2s, transform .2s;
}
.form-pick:hover {
  border-color: rgba(34, 211, 238, 0.4);
  transform: translateY(-1px);
}
.form-pick i {
  color: rgba(255,255,255,0.5);
  transition: color .2s;
}
.form-pick input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.form-pick:has(input:checked) {
  border-color: #22D3EE;
  background: linear-gradient(180deg, rgba(34,211,238,0.14), rgba(34,211,238,0.04));
  color: #ffffff;
  box-shadow: 0 0 0 1px rgba(34,211,238,0.4) inset, 0 0 24px -6px rgba(34,211,238,0.6);
}
.form-pick:has(input:checked) i { color: #22D3EE; }

/* ===== Contact page - sidebar timeline ===== */
.timeline-step {
  --brand: #22D3EE;
  position: relative;
  display: flex;
  gap: 0.85rem;
  padding-bottom: 0.25rem;
}
.timeline-step:not(.timeline-step--last)::before {
  content: '';
  position: absolute;
  left: 0.95rem;
  top: 2.2rem;
  bottom: -0.3rem;
  width: 2px;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--brand) 35%, transparent),
    rgba(255,255,255,0.05));
}
.timeline-num {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand) 18%, transparent);
  color: var(--brand);
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent);
  box-shadow: 0 0 18px -4px color-mix(in srgb, var(--brand) 50%, transparent);
}

/* Light mode tweaks */
.light .contact-card {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.02), transparent) padding-box,
    #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
}
.light .form-pick {
  background: rgba(15, 23, 42, 0.03);
  border-color: rgba(15, 23, 42, 0.1);
  color: rgba(15, 23, 42, 0.8);
}
.light .form-step { color: #ffffff; }
.light .form-section-head { border-bottom-color: rgba(15, 23, 42, 0.08); }

/* ===== Feature cards (network coverage details) ===== */
.feature-card {
  --brand: #22D3EE;
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0)) padding-box,
    var(--ez-bg-0, #0D1117);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.75rem;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.22,.61,.36,1), border-color .3s, box-shadow .35s;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(140% 70% at 0% 0%,
    color-mix(in srgb, var(--brand) 14%, transparent) 0%,
    transparent 55%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    0 18px 50px -10px rgba(0, 0, 0, 0.45),
    0 0 0 1px color-mix(in srgb, var(--brand) 18%, transparent) inset;
}
.feature-card:hover::before { opacity: 1; }

.feature-card__icon {
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: color-mix(in srgb, var(--brand) 14%, transparent);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  transition: transform .35s cubic-bezier(.22,.61,.36,1);
}
.feature-card:hover .feature-card__icon {
  transform: scale(1.08) rotate(-4deg);
}
.feature-card__icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent);
  opacity: 0;
  transition: opacity .3s ease, transform .35s ease;
}
.feature-card:hover .feature-card__icon::after {
  opacity: 1;
  transform: scale(1.12);
}

/* Light mode */
.light .feature-card {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.02), transparent) padding-box,
    #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
}

/* ===== US map with a city-hopping traveler dot (network hero) ===== */
.us-map-3d {
  position: relative;
  width: 100%;
  max-width: 580px;
  aspect-ratio: 900 / 500;
  /* Subtle 3D perspective tilt + idle floating */
  transform-style: preserve-3d;
  animation: mapFloat 7s ease-in-out infinite;
  filter: drop-shadow(0 30px 60px rgba(34, 211, 238, 0.22));
}
@keyframes mapFloat {
  0%, 100% { transform: perspective(1400px) rotateX(8deg)  rotateY(-3deg) translateY(0); }
  50%      { transform: perspective(1400px) rotateX(5deg)  rotateY(-1deg) translateY(-8px); }
}
.us-map-3d__img {
  width: 100%;
  height: 100%;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* The traveling dot - hops between LA → Dallas → Chicago → NY → Denver → loop.
   Coordinates are percentages relative to the SVG's 900x500 viewBox. */
.map-traveler {
  position: absolute;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: #22D3EE;
  box-shadow:
    0 0 14px #22D3EE,
    0 0 28px rgba(34, 211, 238, 0.85),
    0 0 4px #ffffff inset;
  pointer-events: none;
  z-index: 3;
  /* Move between cities - pause at each, then ease over to the next */
  animation: mapDotTravel 18s cubic-bezier(.45, .05, .55, .95) infinite;
}
.map-traveler::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.5);
  animation: mapDotHalo 1.6s ease-out infinite;
  z-index: -1;
}
@keyframes mapDotHalo {
  0%   { transform: scale(1);    opacity: 0.6; }
  100% { transform: scale(3.4);  opacity: 0; }
}
@keyframes mapDotTravel {
  /* Los Angeles - major hub on the SW coast */
  0%, 8%   { left: 11.7%; top: 61.5%; }
  /* Dallas */
  18%, 26% { left: 51.0%; top: 77.7%; }
  /* Chicago */
  36%, 44% { left: 64.5%; top: 31.2%; }
  /* New York */
  54%, 62% { left: 87.9%; top: 35.8%; }
  /* Denver - middle stop on the way back */
  72%, 80% { left: 38.0%; top: 50.0%; }
  /* loop back to LA */
  92%, 100% { left: 11.7%; top: 61.5%; }
}

@media (prefers-reduced-motion: reduce) {
  .us-map-3d,
  .map-traveler,
  .map-traveler::after { animation: none; }
}

/* ===== Click-to-flip card ===== */
.card-flip {
  position: relative;
  display: inline-block;
  cursor: pointer;
  transform-style: preserve-3d;
  outline: none;
}
/* Responsive card sizing - small on phones, full size on desktop */
.card-img {
  width: 280px;
  border-radius: 1rem;
}
.card-back-sized {
  width: 280px;
}
@media (min-width: 480px) {
  .card-img, .card-back-sized { width: 320px; }
}
@media (min-width: 1024px) {
  .card-img, .card-back-sized { width: 360px; }
}
/* Gyro hint pulse for iOS users (tap to enable motion) */
.gyro-hint {
  position: absolute;
  bottom: -34px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: var(--muted);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}
.card-tilt-wrap.show-gyro-hint .gyro-hint { opacity: 1; }
@media (min-width: 1024px) { .gyro-hint { display: none; } }
/* This wrapper carries the mouse-tilt transform (data-tilt). It sits ABOVE
   .card-flip-inner so the tilt applies to BOTH faces - the tilt keeps working
   when the card is showing its back. */
.card-tilt-3d {
  position: relative;
  display: inline-block;
  transform-style: preserve-3d;
}
.card-flip-inner {
  position: relative;
  display: inline-block;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(.22,.61,.36,1);
}
.card-flip.is-flipped .card-flip-inner {
  transform: rotateY(180deg);
}
.card-flip-front,
.card-flip-back {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.card-flip-front {
  display: inline-block;
  line-height: 0;
  vertical-align: top;
}
.card-flip-back {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  color: #000000;
  overflow: hidden;
  aspect-ratio: 640 / 400;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  padding: 0.55em 0.85em 0.6em;
  /* Base font-size scales all em-based children down on small cards.
     Tuned so 16px corresponds to a 360px-wide card. */
  font-size: 12.4px; /* mobile default - matches 280px card */
}
@media (min-width: 480px) {
  .card-flip-back { font-size: 14.2px; } /* matches 320px card */
}
@media (min-width: 1024px) {
  .card-flip-back { font-size: 16px; } /* matches 360px card (desktop) */
}

/* ===== Card-back: black & white fleet-card layout ===== */
.cb-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5em;
  font-size: 0.5em;
  font-weight: 700;
  color: #000;
  line-height: 1.2;
}
.cb-h-mid {
  flex: 1;
  text-align: center;
  font-weight: 600;
}

/* Black magnetic stripe - full bleed, edge-to-edge */
.cb-magstripe {
  height: 16%;
  background: #000;
  margin: 0.45em -0.85em 0;
}

/* Centered middle block - fills the space between magstripe and legal */
.cb-middle {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.35em;
}

.cb-brand {
  display: flex;
  justify-content: center;
  align-items: center;
}
.cb-brand-text {
  font-weight: 800;
  font-size: 1.05em;
  letter-spacing: -0.02em;
  color: #000;
  line-height: 1;
}
.cb-brand-pro {
  color: #000;
  margin-left: 2px;
}
.cb-brand-tm {
  font-size: 0.55em;
  vertical-align: super;
  opacity: 0.7;
  margin-left: 1px;
}
.cb-process {
  text-align: center;
}
.cb-process p { margin: 0; }
.cb-process-line {
  font-size: 0.62em;
  color: #000;
}
.cb-phone {
  font-weight: 800;
  font-size: 1.25em !important;
  letter-spacing: 0.02em;
  margin-top: 0.05em !important;
  color: #000;
  line-height: 1.1;
}
.cb-networks {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.3em;
}
.cb-net {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05em;
  font-size: 0.5em;
  font-weight: 600;
  color: #000;
  line-height: 1;
}
.cb-net em { font-style: normal; letter-spacing: 0.01em; }
.cb-net-star {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-weight: 900;
  font-size: 0.95em !important;
  color: #000;
  font-style: italic;
  letter-spacing: 0.04em;
}
.cb-circles {
  display: inline-block;
  position: relative;
  width: 1.05em;
  height: 0.55em;
}
.cb-circles::before, .cb-circles::after {
  content: '';
  position: absolute;
  top: 0;
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
}
.cb-circles-maestro::before {
  left: 0;
  background: #000;
}
.cb-circles-maestro::after {
  right: 0;
  background: #555;
  mix-blend-mode: multiply;
}
.cb-circles-cirrus::before {
  left: 0;
  background: #555;
}
.cb-circles-cirrus::after {
  right: 0;
  background: #000;
  mix-blend-mode: multiply;
}
.cb-legal {
  text-align: center;
  font-size: 0.45em;
  line-height: 1.5;
  color: #000;
  padding-right: 3.5em; /* leave room for WEX BANK corner */
}
.cb-legal p { margin: 0; }
.cb-wexbank {
  position: absolute;
  bottom: 0.55em;
  right: 0.75em;
  font-weight: 800;
  font-size: 0.55em;
  color: #000;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 0.15em;
}
.cb-wexbank > span {
  background: #000;
  color: #fff;
  padding: 0.06em 0.22em;
  border-radius: 1px;
  font-weight: 800;
  font-size: 0.6em;
  letter-spacing: 0.02em;
}

/* Sphere graphic decoration */
.sphere-deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  animation: sphereRotate 30s linear infinite;
}
.sphere-deco-reverse {
  animation-direction: reverse;
}
@keyframes sphereRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Subtle "in motion" wobble for hero truck illustration */
.truck-drive {
  animation: truckDrive 6s ease-in-out infinite;
}
@keyframes truckDrive {
  0%, 100% { transform: translate(0, 0); }
  25%      { transform: translate(2px, -1.5px); }
  50%      { transform: translate(0, -2.5px); }
  75%      { transform: translate(-2px, -1px); }
}

/* Static pages: freeze the truck */
body.static-page .truck-drive { animation: none !important; }

/* Slow float for hero sphere image */
.sphere-float {
  animation: sphereFloat 10s ease-in-out infinite;
}
@keyframes sphereFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(10px, -15px) scale(1.02); }
  66%      { transform: translate(-8px, 8px) scale(0.98); }
}

/* Glowing border card (like the fuel card) */
.glow-border {
  position: relative;
}
.glow-border::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, #22D3EE, #1E40AF, #3B82F6, #22D3EE);
  background-size: 300% 300%;
  animation: glowShift 8s ease infinite;
  z-index: -1;
  opacity: 0.6;
}
@keyframes glowShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* Gradient line separator */
.gradient-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, #22D3EE, #3B82F6, #1E40AF, transparent);
  border: none;
}

/* Section sphere background helper */
.section-sphere-bg {
  position: relative;
  overflow: hidden;
}
.section-sphere-bg .sphere-bg-img {
  position: absolute;
  right: -200px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  opacity: 0.08;
  pointer-events: none;
}

/* Light mode tweaks for graphics */
.light .card-float {
  filter: drop-shadow(0 24px 60px rgba(34,211,238,0.15));
}
.light .gradient-line {
  opacity: 0.6;
}

/* ============================================================
   FUEL FINDER MAP — Leaflet pins, popups, route markers, list
   ============================================================ */

/* Truck stop price pin (rounded chip with brand color border) */
.ts-pin-wrap { background: transparent; border: none; }
.ts-pin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 28px;
  background: #0F172A;
  color: #fff;
  border: 2px solid var(--c, #22D3EE);
  border-radius: 14px;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  position: relative;
  cursor: pointer;
  transition: transform .15s ease;
}
.ts-pin:hover { transform: scale(1.1); z-index: 1000; }
.ts-pin::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid var(--c, #22D3EE);
}
.ts-pin-dim .ts-pin {
  opacity: 0.35;
  filter: grayscale(0.5);
}
.ts-pin-dim .ts-pin:hover { opacity: 1; filter: none; }

/* Route endpoint markers (A/B circles) */
.ts-endpoint {
  background: transparent !important;
  border: none !important;
}
.ts-endpoint span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: 900;
  font-size: 14px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}
.ts-endpoint-from span {
  background: linear-gradient(135deg, #3FB950, #2E7D32);
  border: 2px solid #fff;
}
.ts-endpoint-to span {
  background: linear-gradient(135deg, #22D3EE, #3B82F6);
  border: 2px solid #fff;
}

/* Leaflet popup theming (dark) */
.leaflet-popup-content-wrapper {
  background: #161B22;
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.leaflet-popup-content { margin: 0; padding: 0; }
.leaflet-popup-tip { background: #161B22; }
.leaflet-popup-close-button { color: #94a3b8 !important; }

.ts-popup {
  padding: 12px 14px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  min-width: 200px;
}
.ts-pop-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 2px solid #22D3EE;
  font-size: 13px;
}
.ts-pop-head strong { font-weight: 800; }
.ts-pop-price { font-weight: 800; color: #22D3EE; }
.ts-pop-loc { font-size: 12px; color: #cbd5e1; line-height: 1.4; margin: 0 0 6px; }
.ts-pop-disc {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #3FB950;
  background: rgba(63, 185, 80, 0.12);
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 8px;
}
.ts-pop-amens {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}
.ts-amen {
  font-size: 10px;
  padding: 2px 6px;
  background: rgba(34, 211, 238, 0.1);
  color: #22D3EE;
  border-radius: 4px;
  font-weight: 600;
}

/* Results panel list */
.ts-list-item {
  display: flex;
  width: 100%;
  text-align: left;
  gap: 10px;
  padding: 12px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
  color: inherit;
  font-family: inherit;
}
.ts-list-item:hover {
  background: rgba(34, 211, 238, 0.05);
  border-color: rgba(34, 211, 238, 0.3);
  transform: translateX(2px);
}
.ts-li-rank {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #22D3EE, #3B82F6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
}
.ts-li-body { flex: 1; min-width: 0; }
.ts-li-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 2px;
}
.ts-li-head strong { font-weight: 800; font-size: 13px; }
.ts-li-price { font-weight: 800; font-size: 16px; line-height: 1; }
.ts-li-price span { font-size: 10px; color: #94a3b8; font-weight: 500; }
.ts-li-loc { font-size: 11px; color: #cbd5e1; margin: 2px 0 6px; }
.ts-li-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 10px;
}
.ts-li-disc {
  background: rgba(63, 185, 80, 0.12);
  color: #3FB950;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}
.ts-li-dist {
  color: #94a3b8;
  padding: 2px 6px;
}

.ts-empty {
  padding: 20px;
  text-align: center;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.5;
}

/* Mobile: stack map and panel */
@media (max-width: 1023px) {
  #fuel-finder-map { height: 420px !important; }
}

/* ============================================================
   FUEL FINDER — REDESIGN: hero, planner, toolbar, map, results
   ============================================================ */

/* Hero */
.ff-hero {
  background: linear-gradient(180deg, #0a0e1a 0%, #0d1220 100%);
}
.ff-hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(34,211,238,0.15), transparent 70%);
  z-index: 0;
}
.ff-hero-route {
  width: 100%;
  height: 60px;
  z-index: 5;
}
.ff-stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(34, 211, 238, 0.06);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 999px;
  font-size: 13px;
  color: #cbd5e1;
  backdrop-filter: blur(8px);
}
.ff-stat-chip strong { color: #fff; font-weight: 700; }

/* Route Planner search bar */
.ff-planner {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.04), rgba(59, 130, 246, 0.04));
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(34, 211, 238, 0.06) inset;
}
.ff-planner-inputs {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  gap: 8px;
  align-items: stretch;
}
.ff-input-wrap {
  position: relative;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 10px 16px;
  transition: border-color .15s ease, background .15s ease;
  cursor: text;
}
.ff-input-wrap:focus-within {
  border-color: #22D3EE;
  background: rgba(15, 23, 42, 0.8);
}
.ff-input-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 2px;
}
.ff-input-from .ff-input-label i { color: #3FB950; }
.ff-input-to .ff-input-label i { color: #22D3EE; }
.ff-input {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 0;
  font-family: inherit;
}
.ff-input::placeholder { color: #64748b; }
.ff-swap-btn {
  width: 40px;
  height: auto;
  align-self: stretch;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 12px;
  color: #22D3EE;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .15s ease;
}
.ff-swap-btn:hover {
  background: rgba(34, 211, 238, 0.15);
  transform: rotate(180deg);
}
.ff-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 22px;
  background: linear-gradient(135deg, #22D3EE, #3B82F6);
  color: #0a0e1a;
  font-weight: 800;
  font-size: 14px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease;
  font-family: inherit;
  box-shadow: 0 4px 16px rgba(34, 211, 238, 0.3);
}
.ff-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(34, 211, 238, 0.45);
}
.ff-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.ff-planner-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.ff-suggested {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  flex: 1;
}
.ff-suggested-label {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-right: 4px;
}
.ff-route-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  background: rgba(34, 211, 238, 0.06);
  border: 1px solid rgba(34, 211, 238, 0.15);
  border-radius: 999px;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
  font-family: inherit;
}
.ff-route-chip:hover {
  background: rgba(34, 211, 238, 0.12);
  border-color: rgba(34, 211, 238, 0.4);
  color: #fff;
}
.ff-reset-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
  transition: color .15s ease;
}
.ff-reset-link:hover { color: #cbd5e1; }

@media (max-width: 720px) {
  .ff-planner-inputs {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .ff-swap-btn {
    width: 100%;
    padding: 8px;
  }
  .ff-submit { width: 100%; padding: 14px; justify-content: center; }
}

/* Toolbar (brand filters + status) */
.ff-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 22px 0 14px;
  padding: 12px 4px;
}
.ff-brand-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
}
.ff-brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
  font-family: inherit;
}
.ff-brand-chip:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.ff-brand-chip.is-active {
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.4);
  color: #fff;
  box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.1);
}
.ff-brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.ff-status {
  font-size: 12px;
  color: #cbd5e1;
  text-align: right;
}
.ff-status strong { color: #22D3EE; font-weight: 700; }

/* Map shell */
.ff-map-shell {
  position: relative;
  background: #0a0e1a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
#fuel-finder-map {
  height: 600px;
  width: 100%;
  background: #0a0e1a;
}
.ff-map-legend {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 11px;
  color: #cbd5e1;
  pointer-events: none;
}
.ff-map-legend i { color: #22D3EE; }

/* Custom Leaflet zoom buttons */
.leaflet-control-zoom {
  border: none !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}
.leaflet-control-zoom a {
  background: rgba(15, 23, 42, 0.92) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  width: 36px !important;
  height: 36px !important;
  line-height: 36px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
}
.leaflet-control-zoom a:hover {
  background: rgba(34, 211, 238, 0.2) !important;
  color: #22D3EE !important;
}
.leaflet-control-attribution {
  background: rgba(15, 23, 42, 0.85) !important;
  color: #94a3b8 !important;
  font-size: 10px !important;
  padding: 2px 6px !important;
  border-radius: 6px 0 0 0 !important;
}
.leaflet-control-attribution a { color: #22D3EE !important; }

/* Force route polylines to render visibly inside tilted card. */
.leaflet-overlay-pane {
  z-index: 400 !important;
}
.leaflet-overlay-pane svg {
  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.leaflet-overlay-pane svg path {
  visibility: visible !important;
}

/* Results panel */
.ff-results-panel {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.04), rgba(15, 23, 42, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  overflow: hidden;
  max-height: 760px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.ff-results-head {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(34, 211, 238, 0.04);
}
.ff-results-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
}
.ff-results-body::-webkit-scrollbar { width: 6px; }
.ff-results-body::-webkit-scrollbar-track { background: transparent; }
.ff-results-body::-webkit-scrollbar-thumb {
  background: rgba(34, 211, 238, 0.2);
  border-radius: 3px;
}
.ff-results-foot {
  padding: 16px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(15, 23, 42, 0.5);
}

/* Empty state */
.ff-empty-state {
  padding: 32px 24px;
  text-align: center;
}
.ff-empty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #22D3EE;
}
.ff-empty-title {
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  margin: 0 0 6px;
}
.ff-empty-text {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}

/* Result list — richer cards */
.ts-list-item {
  display: flex;
  width: 100%;
  text-align: left;
  gap: 12px;
  padding: 14px;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all .15s ease;
  color: inherit;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}
.ts-list-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--brand, #22D3EE);
}
.ts-list-item:hover {
  background: rgba(34, 211, 238, 0.06);
  border-color: rgba(34, 211, 238, 0.3);
  transform: translateX(2px);
}
.ts-list-item.is-best {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.08), rgba(63, 185, 80, 0.04));
  border-color: rgba(34, 211, 238, 0.3);
}
.ts-list-item.is-best::after {
  content: 'BEST VALUE';
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  background: linear-gradient(135deg, #22D3EE, #3B82F6);
  color: #0a0e1a;
  border-radius: 4px;
}
.ts-li-rank {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #22D3EE, #3B82F6);
  color: #0a0e1a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 13px;
}
.ts-li-body { flex: 1; min-width: 0; padding-right: 4px; }
.ts-li-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 3px;
}
.ts-li-head strong {
  font-weight: 800;
  font-size: 13px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.ts-li-brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand, #22D3EE);
  flex-shrink: 0;
}
.ts-li-price {
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
  color: var(--brand, #22D3EE);
  white-space: nowrap;
}
.ts-li-price span { font-size: 10px; color: #94a3b8; font-weight: 500; }
.ts-li-loc {
  font-size: 11px;
  color: #cbd5e1;
  margin: 0 0 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.ts-li-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 10px;
  align-items: center;
}
.ts-li-disc {
  background: rgba(63, 185, 80, 0.12);
  color: #3FB950;
  padding: 3px 8px;
  border-radius: 5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.ts-li-dist {
  color: #94a3b8;
  padding: 3px 6px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.ts-li-amen {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}
.ts-li-amen-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 5px;
  color: #94a3b8;
}
.ts-li-amen-icon svg { width: 12px; height: 12px; }

/* Mobile: stack map and panel */
@media (max-width: 1023px) {
  #fuel-finder-map { height: 440px; }
  .ff-results-panel { max-height: none; }
  .ff-toolbar { gap: 10px; }
  .ff-status { width: 100%; text-align: left; }
}

/* ============================================================
   SCROLL-TILT SECTION — vanilla port of Aceternity ContainerScroll
   ============================================================ */
.scroll-tilt-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60rem;
  padding: 0.5rem;
  overflow: hidden;
}
@media (min-width: 768px) {
  .scroll-tilt-section { height: 80rem; padding: 1.5rem 5rem; }
}
.scroll-tilt-inner {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  width: 100%;
  position: relative;
  perspective: 1000px;
}
@media (min-width: 768px) {
  .scroll-tilt-inner { padding-top: 10rem; padding-bottom: 10rem; }
}
.scroll-tilt-header {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
  will-change: transform;
  transition: transform 0.1s linear;
}
.scroll-tilt-card {
  max-width: 64rem;
  margin: -3rem auto 0;
  width: 100%;
  height: 30rem;
  border: 4px solid #6C6C6C;
  padding: 0.5rem;
  background: #222222;
  border-radius: 30px;
  box-shadow:
    0 9px 20px rgba(0,0,0,0.29),
    0 37px 37px rgba(0,0,0,0.26),
    0 84px 50px rgba(0,0,0,0.15),
    0 149px 60px rgba(0,0,0,0.04),
    0 233px 65px rgba(0,0,0,0.01);
  will-change: transform;
  transform-origin: center top;
  transform: rotateX(20deg) scale(1.05);
  transition: transform 0.1s linear;
}
@media (min-width: 768px) {
  .scroll-tilt-card { height: 40rem; padding: 1.5rem; }
}
.scroll-tilt-card-inner {
  height: 100%;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, #0F172A, #161B22);
  position: relative;
}

/* Dashboard mockup inside the tilt card */
.dash-mockup {
  height: 100%;
  display: flex;
  flex-direction: column;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #fff;
}
.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}
.dash-topbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
}
.dash-topbar-brand-mark {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: linear-gradient(135deg, #22D3EE, #3B82F6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  color: #0a0e1a;
}
.dash-topbar-pills {
  display: flex;
  gap: 6px;
  font-size: 11px;
}
.dash-topbar-pill {
  padding: 4px 10px;
  background: rgba(255,255,255,0.04);
  border-radius: 999px;
  color: #94a3b8;
}
.dash-topbar-pill.is-active {
  background: rgba(34, 211, 238, 0.12);
  color: #22D3EE;
  font-weight: 700;
}
.dash-body {
  flex: 1;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 16px;
  min-height: 0;
}
@media (max-width: 768px) {
  .dash-body { grid-template-columns: 1fr; padding: 12px; gap: 10px; }
}
.dash-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.dash-kpi {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 12px 14px;
}
.dash-kpi-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  font-weight: 700;
}
.dash-kpi-value {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  margin-top: 2px;
  line-height: 1.1;
}
.dash-kpi-value.green { color: #3FB950; }
.dash-kpi-value.gradient { background: linear-gradient(135deg, #22D3EE, #3B82F6); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.dash-kpi-trend {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  color: #3FB950;
  margin-top: 4px;
  font-weight: 700;
}
.dash-chart {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 14px;
  position: relative;
  overflow: hidden;
}
.dash-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}
.dash-chart-title { font-size: 12px; font-weight: 700; color: #fff; }
.dash-chart-sub { font-size: 10px; color: #94a3b8; }
.dash-chart-svg { width: 100%; height: 110px; display: block; }
.dash-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
}
.dash-side-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12px;
}
.dash-side-head strong { color: #fff; }
.dash-side-head span { color: #94a3b8; font-size: 10px; }
.dash-tx {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px;
  position: relative;
}
.dash-tx::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--brand, #22D3EE);
  border-radius: 10px 0 0 10px;
}
.dash-tx-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--brand, #22D3EE);
  opacity: 0.18;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.dash-tx-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: var(--brand, #22D3EE);
  opacity: 0.6;
  mix-blend-mode: overlay;
}
.dash-tx-body { flex: 1; min-width: 0; }
.dash-tx-line1 {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}
.dash-tx-line1 span:last-child { color: #3FB950; }
.dash-tx-line2 {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #94a3b8;
  margin-top: 2px;
}
.dash-livedot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3FB950;
  margin-right: 5px;
  animation: livedot 1.4s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(63, 185, 80, 0.7);
}
@keyframes livedot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(63, 185, 80, 0.7); }
  50% { box-shadow: 0 0 0 6px rgba(63, 185, 80, 0); }
}

/* ============================================================
   DASHBOARD MOCKUP — fill out the card with more sections
   ============================================================ */
/* Left column flex stack */
.dash-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}
.dash-chart {
  flex: 1;
  min-height: 100px;
  display: flex;
  flex-direction: column;
}
.dash-chart-svg {
  flex: 1;
  height: auto !important;
  min-height: 80px;
}
/* Make Side panel scroll if too tall */
.dash-side {
  overflow: hidden;
}

/* Spend by category widget */
.dash-cats {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 12px 14px;
}
.dash-cats-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}
.dash-cat {
  display: grid;
  grid-template-columns: 130px 1fr 90px;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 11px;
}
.dash-cat:last-child { margin-bottom: 0; }
.dash-cat-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
  font-weight: 600;
}
.dash-cat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.dash-cat-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
}
.dash-cat-bar-fill {
  height: 100%;
  border-radius: 3px;
}
.dash-cat-val {
  text-align: right;
  font-weight: 800;
  color: #fff;
  font-size: 11px;
  white-space: nowrap;
}
.dash-cat-val span {
  font-weight: 600;
  color: #94a3b8;
  font-size: 10px;
  margin-left: 4px;
}

/* Footer strip at bottom of dashboard */
.dash-footstrip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  font-size: 12px;
  color: #cbd5e1;
}
.dash-footstat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dash-footstat strong { color: #fff; font-weight: 800; }

@media (max-width: 768px) {
  .dash-cat { grid-template-columns: 100px 1fr 70px; gap: 8px; font-size: 10px; }
  .dash-footstrip { flex-wrap: wrap; gap: 8px 14px; padding: 10px 14px; font-size: 11px; }
  .dash-footstat { flex: 1 1 45%; }
}

/* ============================================================
   FUEL FINDER SNAPSHOT — static mockup inside tilt-card on Network
   ============================================================ */
.ff-snap {
  display: flex;
  flex-direction: column;
  height: 100%;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #fff;
  background: linear-gradient(135deg, #0F172A, #161B22);
}

/* Top toolbar: search bar mockup */
.ff-snap-search {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(34,211,238,0.04);
  align-items: center;
}
.ff-snap-input {
  display: flex;
  flex-direction: column;
  background: rgba(15,23,42,0.7);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 7px 12px;
  min-width: 0;
}
.ff-snap-input-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.ff-snap-input.from .ff-snap-input-label i { color: #3FB950; }
.ff-snap-input.to .ff-snap-input-label i { color: #22D3EE; }
.ff-snap-input-value {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ff-snap-swap {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(34,211,238,0.1);
  border: 1px solid rgba(34,211,238,0.2);
  color: #22D3EE;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ff-snap-find {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #22D3EE, #3B82F6);
  color: #0a0e1a;
  font-weight: 800;
  font-size: 12px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(34,211,238,0.3);
  white-space: nowrap;
}
.ff-snap-chips {
  display: flex;
  gap: 5px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 10px;
  flex-wrap: wrap;
}
.ff-snap-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  color: #94a3b8;
  font-weight: 600;
}
.ff-snap-chip.is-active {
  background: rgba(34,211,238,0.1);
  border-color: rgba(34,211,238,0.4);
  color: #fff;
}
.ff-snap-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

/* Body: map (left) + results (right) */
.ff-snap-body {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 220px;
  min-height: 0;
}
.ff-snap-map {
  position: relative;
  background:
    radial-gradient(closest-side, rgba(34,211,238,0.08), transparent 70%),
    linear-gradient(180deg, #0a0e1a, #0F172A);
  overflow: hidden;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.ff-snap-map svg {
  width: 100%;
  height: 100%;
  display: block;
}
.ff-snap-map-legend {
  position: absolute;
  bottom: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  background: rgba(15,23,42,0.85);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  font-size: 10px;
  color: #cbd5e1;
}
.ff-snap-map-legend i { color: #22D3EE; }
.ff-snap-stats {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: rgba(15,23,42,0.85);
  border: 1px solid rgba(34,211,238,0.3);
  border-radius: 6px;
  font-size: 10px;
  color: #cbd5e1;
}
.ff-snap-stats strong { color: #22D3EE; font-weight: 800; }

/* Results panel */
.ff-snap-results {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(34,211,238,0.04), rgba(15,23,42,0.6));
}
.ff-snap-results-head {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(34,211,238,0.04);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.ff-snap-results-head i { color: #22D3EE; }
.ff-snap-results-head span { font-size: 9px; color: #94a3b8; font-weight: 500; }
.ff-snap-results-list {
  flex: 1;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 0;
}
.ff-snap-row {
  display: flex;
  gap: 8px;
  padding: 8px;
  background: rgba(15,23,42,0.4);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.ff-snap-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--brand, #22D3EE);
}
.ff-snap-row.is-best {
  background: linear-gradient(135deg, rgba(34,211,238,0.08), rgba(63,185,80,0.04));
  border-color: rgba(34,211,238,0.3);
}
.ff-snap-row.is-best::after {
  content: 'BEST';
  position: absolute;
  top: 4px;
  right: 4px;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 2px 5px;
  background: linear-gradient(135deg, #22D3EE, #3B82F6);
  color: #0a0e1a;
  border-radius: 3px;
}
.ff-snap-rank {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, #22D3EE, #3B82F6);
  color: #0a0e1a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 10px;
  flex-shrink: 0;
}
.ff-snap-rbody { flex: 1; min-width: 0; }
.ff-snap-rhead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
}
.ff-snap-rhead .price { color: var(--brand, #22D3EE); font-size: 13px; line-height: 1; }
.ff-snap-rloc {
  font-size: 9px;
  color: #cbd5e1;
  margin: 0 0 4px;
}
.ff-snap-rdisc {
  display: inline-block;
  font-size: 8px;
  font-weight: 700;
  padding: 2px 5px;
  background: rgba(63,185,80,0.12);
  color: #3FB950;
  border-radius: 3px;
}

/* Mobile collapse */
@media (max-width: 768px) {
  .ff-snap-body { grid-template-columns: 1fr; grid-template-rows: 60% 40%; }
  .ff-snap-map { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .ff-snap-search { grid-template-columns: 1fr 1fr; gap: 6px; }
  .ff-snap-swap, .ff-snap-find { grid-column: span 1; }
  .ff-snap-find { width: 100%; justify-content: center; padding: 8px; }
  .ff-snap-results-list { gap: 4px; padding: 6px; }
  .ff-snap-row { padding: 6px; }
}

/* Fix: real US map as background of fuel-finder snapshot + force icon sizes */
.ff-snap-map {
  background:
    url('us-map.svg') center/contain no-repeat,
    radial-gradient(closest-side, rgba(34,211,238,0.08), transparent 70%),
    linear-gradient(180deg, #0a0e1a, #0F172A) !important;
}
.ff-snap-map-legend i,
.ff-snap-map-legend svg,
.ff-snap-stats i,
.ff-snap-stats svg,
.ff-snap-results-head i,
.ff-snap-results-head svg {
  width: 12px !important;
  height: 12px !important;
  flex-shrink: 0;
}
.ff-snap-input-label i,
.ff-snap-input-label svg,
.ff-snap-find i,
.ff-snap-find svg,
.ff-snap-swap i,
.ff-snap-swap svg {
  width: 14px !important;
  height: 14px !important;
  flex-shrink: 0;
}

/* Leaflet snapshot map (inside fuel-finder snapshot card on Network) */
.ff-snap-leaflet {
  width: 100%;
  height: 100%;
  background: #f3eee5; /* fallback while tiles load */
}
.ff-snap-leaflet .leaflet-control-attribution { display: none !important; }
/* Subtle vignette so it feels like a screenshot, not a live map */
.ff-snap-map {
  position: relative;
}
.ff-snap-map::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 60px rgba(0,0,0,0.35);
  z-index: 800;
}

/* ============================================================
   MOBILE FIXES — targeted improvements for <768px viewports
   ============================================================ */
@media (max-width: 767px) {
  /* Scroll-tilt section is too tall on mobile - reduce so it doesn't
     dominate the page */
  .scroll-tilt-section {
    height: 48rem !important;
    padding: 0.5rem !important;
  }
  .scroll-tilt-inner {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
  .scroll-tilt-card {
    height: 28rem !important;
    padding: 0.4rem !important;
    margin-top: -2rem !important;
  }
  .scroll-tilt-header h2 {
    font-size: 1.875rem !important;
    line-height: 1.15 !important;
  }
  .scroll-tilt-header p {
    font-size: 0.875rem !important;
  }

  /* Dashboard mockup - hide less critical elements on mobile to fit */
  .dash-cats { display: none !important; }
  /* Show only first 3 transactions on mobile */
  .dash-tx:nth-child(n+5) { display: none !important; }
  .dash-kpi-value { font-size: 16px !important; }
  .dash-kpi { padding: 8px 10px !important; }
  .dash-kpi-label { font-size: 9px !important; }
  .dash-kpi-trend { font-size: 9px !important; }
  .dash-chart-svg { height: 70px !important; min-height: 60px !important; }
  .dash-tx-line1 { font-size: 10px !important; }
  .dash-tx-line2 { font-size: 9px !important; }
  .dash-topbar { padding: 8px 12px !important; }
  .dash-topbar-brand { font-size: 11px !important; }
  .dash-topbar-pill { font-size: 9px !important; padding: 2px 6px !important; }
  .dash-footstrip { padding: 6px 10px !important; font-size: 10px !important; }

  /* Fuel Finder snapshot - show only 3 results on mobile */
  .ff-snap-row:nth-child(n+4) { display: none !important; }
  .ff-snap-results-list { padding: 5px !important; gap: 4px !important; }
  .ff-snap-row { padding: 6px !important; }
  .ff-snap-search { padding: 8px !important; gap: 4px !important; }
  .ff-snap-input { padding: 5px 8px !important; }
  .ff-snap-input-value { font-size: 11px !important; }
  .ff-snap-find { padding: 6px 10px !important; font-size: 10px !important; }
  .ff-snap-chips { padding: 6px 8px !important; gap: 3px !important; }
  .ff-snap-chip { padding: 3px 7px !important; font-size: 9px !important; }
  .ff-snap-rank { width: 18px !important; height: 18px !important; font-size: 9px !important; }
  .ff-snap-rhead .price { font-size: 11px !important; }

  /* Comparison table - tighten cells on narrow screens */
  .grid-cols-3 .py-5 { padding-top: 0.75rem !important; padding-bottom: 0.75rem !important; }
  .grid-cols-3 .px-4 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
  .grid-cols-3 .text-sm { font-size: 0.7rem !important; line-height: 1.3 !important; }
  .grid-cols-3 .text-base, .grid-cols-3 .text-lg { font-size: 0.8rem !important; }
  .grid-cols-3 [data-lucide] { width: 12px !important; height: 12px !important; }
  
  /* Fuel finder search bar on hero - already stacks but make tighter */
  .ff-planner-inputs { gap: 6px !important; }
  .ff-stat-chip { font-size: 11px !important; padding: 6px 12px !important; }
}
