/* =============================================================
   GLYDE — css/pages/home.css
   Hero section (§7A) + Ticker strip (§7B)
   ============================================================= */


/* ─────────────────────────────────────────────────────────────
   1. HERO SECTION SHELL
   ───────────────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  overflow: hidden; /* contain watermark + parallax */
}


/* ─────────────────────────────────────────────────────────────
   2. BACKGROUND WATERMARK — "GLYDE"
   Per DESIGN.md §7A: rgba(0,230,77,0.04), parallax 0.3x
   ───────────────────────────────────────────────────────────── */
.hero-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font);
  font-size: clamp(180px, 28vw, 360px);
  font-weight: 900;
  letter-spacing: -12px;
  color: rgba(0, 230, 77, 0.04);
  pointer-events: none;
  z-index: 0;
  white-space: nowrap;
  user-select: none;
  line-height: 1;
  will-change: transform;
}


/* ─────────────────────────────────────────────────────────────
   3. HERO INNER — 2-column grid (55 / 45)
   ───────────────────────────────────────────────────────────── */
.hero-inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 120px; /* room for scroll hint */
  position: relative;
  z-index: 1;
}


/* ─────────────────────────────────────────────────────────────
   4. LEFT COLUMN
   ───────────────────────────────────────────────────────────── */
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  z-index: 2;
}


/* ─────────────────────────────────────────────────────────────
   5. LIVE BADGE
   ───────────────────────────────────────────────────────────── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px 7px 10px;
  background: #E8FFF1;
  border: 1px solid rgba(0,230,77,0.4);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #007A29;
  width: fit-content;
}


/* ─────────────────────────────────────────────────────────────
   6. HEADLINE — 3-line split
   Per DESIGN.md: clamp(72px, 10vw, 128px), wt 900, ls -5px
   ───────────────────────────────────────────────────────────── */
.hero-headline {
  font-family: var(--font);
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.1;
  color: var(--charcoal);
  font-style: normal;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.hero-hl-line {
  display: block;
}

/* Lines 1 and 3 sit in front/back of the bus (z-index layering) */
.hl-1 {
  position: relative;
  z-index: 3;
}

.hl-2 {
  position: relative;
  z-index: 3;
}

.hl-3 {
  position: relative;
  z-index: 1;
}

/* "Accra." accent — green, non-italic */
.hero-headline em {
  font-style: normal;
  color: var(--green);
}


/* ─────────────────────────────────────────────────────────────
   7. SUBTITLE
   ───────────────────────────────────────────────────────────── */
.hero-subtitle {
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 400;
  line-height: 1.75;
  color: var(--mid-gray);
  max-width: 500px;
  margin: 0;
}


/* ─────────────────────────────────────────────────────────────
   8. CTA BUTTONS ROW
   ───────────────────────────────────────────────────────────── */
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Override base .btn sizing for hero prominence */
.hero-ctas .btn-primary {
  padding: 14px 32px;
  font-size: 14px;
}

.hero-ctas .btn-secondary {
  padding: 14px 28px;
  font-size: 14px;
}


/* ─────────────────────────────────────────────────────────────
   9. STATS BAR
   Per DESIGN.md §7A: 3 stats, dividers, count-up animation
   ───────────────────────────────────────────────────────────── */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 28px 0 0;
}

.stat-item:first-child {
  padding-left: 0;
}

.stat-num {
  font-family: var(--font);
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1;
  color: var(--charcoal);
}

.stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--mid-gray);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  margin: 0 28px 0 0;
  flex-shrink: 0;
  align-self: center;
}


/* ─────────────────────────────────────────────────────────────
   10. RIGHT COLUMN
   ───────────────────────────────────────────────────────────── */
/* ── RIGHT COLUMN: Breakout Bus Visual ── */
.hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible; /* allow cards to bleed */
  z-index: 2;
  height: 580px;
}

.hero-bus-wrap {
  position: relative;
  z-index: 1;
  width: 160%;
  margin-left: -15%; /* Pull slightly less into the left space */
  margin-top: 0;
}

.hero-bus-img {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1.2);
  transform-origin: center right;
}

/* Floating Cards container relative to right column */
.floating-card {
  position: absolute;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 16px 20px;
  z-index: 10;
  min-width: 190px;
  pointer-events: auto;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

/* Card 1 — Departure (top-right of bus) */
.fc-departure {
  top: 40px;
  right: -20px;
}

/* Card 2 — Rating (bottom-left of bus) */
.fc-rating {
  bottom: 80px;
  left: -20px;
}


/* ── Card 1: Departure card ── */
.fc-header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
}

.fc-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--mid-gray);
}

.fc-time {
  font-family: var(--font);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  line-height: 1;
}

.fc-ampm {
  font-size: 13px;
  font-weight: 600;
  color: var(--mid-gray);
}

.fc-sep {
  font-size: 14px;
  color: var(--green);
  font-weight: 700;
}

.fc-route-text {
  font-size: 12px;
  font-weight: 500;
  color: var(--dark-gray);
  margin-bottom: 12px;
}

.fc-book-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 8px 16px;
  background: var(--green);
  color: var(--charcoal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: background var(--duration-fast) var(--ease),
              transform  var(--duration-fast) var(--ease);
}

.fc-book-btn:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}


/* ── Card 2: Rating card ── */
.fc-rating .fc-eyebrow {
  margin-bottom: 8px;
  display: block;
}

.fc-rating-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}

.fc-star {
  font-size: 20px;
  line-height: 1;
}

.fc-score-big {
  font-family: var(--font);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--charcoal);
  line-height: 1;
}

.fc-score-small {
  font-size: 15px;
  font-weight: 600;
  color: var(--mid-gray);
}

.fc-subtext {
  font-size: 11px;
  font-weight: 500;
  color: var(--mid-gray);
  margin-top: 2px;
}


/* ─────────────────────────────────────────────────────────────
   13. SCROLL HINT — absolute bottom-center of hero
   CSS animation and hide logic in animations.css + animations.js
   ───────────────────────────────────────────────────────────── */
.hero-section .scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}


/* ─────────────────────────────────────────────────────────────
   14. RESPONSIVE — TABLET (768–1023px)
   ───────────────────────────────────────────────────────────── */
@media (max-width: 1023px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding-top: 48px;
    padding-bottom: 100px;
  }

  .hero-bus-wrap {
    width: 100%;
    margin-left: 0;
  }

  .hero-bus-img {
    transform: none; /* Remove massive scale from desktop */
  }

  .fc-departure {
    top: -4%;
    right: -16px;
    min-width: 170px;
  }

  .fc-rating {
    bottom: 14%;
    left: 0;
    min-width: 160px;
  }
}


/* ─────────────────────────────────────────────────────────────
   15. RESPONSIVE — MOBILE (<768px): single column stack
   ───────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .hero-section {
    min-height: auto;
    padding-bottom: 120px; /* Leave generous room for GSAP y:80 parallax so the bus isn't clipped */
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 100px; /* Clear the floating navbar */
    padding-bottom: 20px;
    align-items: start;
  }

  .hero-headline {
    font-size: clamp(40px, 10vw, 52px);
    letter-spacing: -2px;
    z-index: 2; /* Keep above bus */
    position: relative;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  /* Right column below left on mobile */
  .hero-right {
    width: 100%;
    margin: 0;
    height: auto;
  }

  .hero-bus-wrap {
    width: 100%;
    margin-left: 0;
    filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.12));
  }

  .hero-bus-img {
    transform: none;
  }

  /* Float cards repositioned for mobile */
  .fc-departure {
    top: -20px;
    right: 0;
    left: auto;
    min-width: 160px;
    padding: 12px 14px;
  }

  .fc-rating {
    bottom: -20px;
    left: 0;
    min-width: 150px;
    padding: 12px 14px;
  }

  .fc-time {
    font-size: 18px;
  }

  .fc-score-big {
    font-size: 22px;
  }

  /* Hide scroll hint on mobile */
  .hero-section .scroll-hint {
    display: none;
  }

  /* Stats responsive */
  .stat-item {
    padding: 0 20px 0 0;
  }

  .stat-divider {
    margin: 0 20px 0 0;
  }
}

@media (max-width: 479px) {
  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
  }

  .stat-divider {
    display: none;
  }
}

/* =============================================================
   §7C — WHY GLYDE SECTION
   ============================================================= */

.why-glyde-section {
  background: var(--light-gray);
  padding: 120px 0;
  margin-top: 0;
}

.why-glyde-inner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 80px;
  align-items: center;
}

/* Left: sticky text block */
.why-glyde-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: calc(72px + 40px);
}

.why-glyde-left .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #007A29;
  margin-bottom: 16px;
  display: block;
}

.why-glyde-heading {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  color: var(--charcoal);
  margin: 0;
}

.why-glyde-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--mid-gray);
  margin: 0;
  max-width: 380px;
}

/* Right: 3 feature cards stacked -> now side-by-side */
.why-glyde-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 36px 28px;
  border: 1px solid #E8E8E4;
  border-radius: 24px;
  background: white;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.08);
  border-color: rgba(0,230,77,0.3);
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #00E64D;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover::after {
  transform: scaleX(1);
}

.feature-card-icon {
  width: 52px;
  height: 52px;
  background: #E8FFF1;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: #007A29;
}

.feature-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 8px;
  letter-spacing: -0.4px;
}

.feature-card-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--mid-gray);
  margin: 0;
}

@media (max-width: 1023px) {
  .why-glyde-inner { grid-template-columns: 1fr; gap: 48px; }
  .why-glyde-left  { position: static; }
  .why-glyde-cards { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .why-glyde-inner    { grid-template-columns: 1fr; gap: 40px; }
  .why-glyde-heading  { font-size: clamp(28px, 8vw, 40px); }
  .why-glyde-body     { max-width: 100%; }
  .why-glyde-left     { position: static; }
}


/* =============================================================
   §7D — STICKY COMPARE SECTION
   ============================================================= */

.compare-section {
  display: grid;
  grid-template-columns: 45fr 55fr;
  min-height: 300vh;
  position: relative;
  background: var(--charcoal);
  overflow: hidden;
}

/* LEFT: sticky appearance panel */
.compare-left {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px 80px 80px;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.compare-label { color: var(--green) !important; margin-bottom: 20px; }

.compare-left-heading {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.12;
  color: var(--white);
  margin: 0 0 36px;
}

/* Decorative route visual */
.compare-visual {
  position: relative;
  flex: 1;
  max-height: 320px;
  margin-bottom: 36px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.compare-visual-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(0,230,77,0.08) 0%,
    rgba(0,230,77,0.02) 50%,
    rgba(0,51,25,0.15) 100%
  );
  border-radius: inherit;
  border: 1px solid rgba(0,230,77,0.12);
}

.compare-visual-inner {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  padding: 24px;
}

.cv-route-line {
  position: absolute;
  left: 50%;
  top: 16%;
  bottom: 16%;
  width: 2px;
  background: linear-gradient(to bottom, var(--green) 0%, rgba(0,230,77,0.4) 60%, transparent 100%);
  transform: translateX(-50%);
}

.cv-dot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  justify-content: center;
}

.cv-dot::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  border: 3px solid var(--charcoal);
  box-shadow: 0 0 0 2px var(--green);
  flex-shrink: 0;
}

.cv-dot span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  position: absolute;
  left: calc(50% + 20px);
  white-space: nowrap;
}

.cv-dot-1 { margin-top: 24px; }
.cv-dot-3 { margin-bottom: 24px; }

.cv-bus {
  position: absolute;
  left: calc(50% - 20px);
  top: 40%;
  width: 40px;
  height: 40px;
  background: var(--green);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  font-size: 20px;
  box-shadow: 0 8px 24px rgba(0,230,77,0.35);
  animation: cvBusPulse 2.5s ease-in-out infinite;
}

@keyframes cvBusPulse {
  0%, 100% { transform: translateY(0) scale(1);    box-shadow: 0 8px 24px rgba(0,230,77,0.35); }
  50%       { transform: translateY(-8px) scale(1.04); box-shadow: 0 16px 32px rgba(0,230,77,0.50); }
}

/* Progress dots */
.compare-progress {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* RIGHT: scrollable blocks */
.compare-right {
  display: flex;
  flex-direction: column;
}

.compare-block {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 80px 80px 60px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.compare-block-inner { max-width: 520px; }

.compare-block-num {
  font-size: 80px;
  font-weight: 900;
  letter-spacing: -6px;
  line-height: 1;
  color: rgba(0,230,77,0.08);
  margin-bottom: -20px;
  font-family: var(--font);
  user-select: none;
}

.compare-block-icon {
  width: 56px;
  height: 56px;
  background: rgba(0,230,77,0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 26px;
  margin-bottom: 24px;
  border: 1px solid rgba(0,230,77,0.2);
}

.compare-block-heading {
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.15;
  color: var(--white);
  margin: 0 0 16px;
}

.compare-block-body {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
  margin: 0 0 24px;
}

.compare-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0,230,77,0.10);
  border: 1px solid rgba(0,230,77,0.20);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--green);
}

@media (max-width: 1023px) {
  .compare-section    { grid-template-columns: 1fr; min-height: auto; }
  .compare-left       { position: relative; height: auto; padding: 80px 40px 60px; }
  .compare-visual     { max-height: 220px; }
  .compare-block      { min-height: auto; padding: 64px 40px; }
}

@media (max-width: 767px) {
  .compare-left       { padding: 60px 24px 48px; }
  .compare-block      { padding: 48px 24px; }
  .compare-block-num  { font-size: 56px; }
}


/* =============================================================
   §7E — FULL-BLEED REVEAL SECTION
   ============================================================= */

/* Outer: 100vh, relative, overflow hidden — per DESIGN.md spec */
.reveal-section {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

/* Background behind clip area */
.reveal-bg {
  position: absolute;
  inset: 0;
  background: var(--near-black);
  z-index: 0;
}

/* Clip container — starts hidden right, GSAP reveals left to right */
.reveal-clip {
  position: absolute;
  inset: 0;
  clip-path: inset(0 100% 0 0);
  z-index: 1;
  will-change: clip-path;
}

/* Dark green gradient "photo" placeholder — Ken Burns scale(1.1)→scale(1) */
.reveal-image {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 30% 40%, rgba(0,230,77,0.20) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(0,100,30,0.30) 0%, transparent 55%),
    linear-gradient(155deg, #002210 0%, #001208 45%, #000a05 100%);
  transform: scale(1.1);
  will-change: transform;
  transform-origin: center center;
}

/* Grain texture for depth */
.reveal-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  opacity: 0.3;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Overlay text — GSAP fades in at ~60% clip progress */
.reveal-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  opacity: 0;
  will-change: opacity;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.5) 100%);
}

.reveal-overlay-heading {
  font-size: clamp(40px, 7vw, 90px);
  font-weight: 900;
  letter-spacing: -4px;
  line-height: 1.0;
  color: var(--white);
  margin: 0 0 20px;
  text-shadow: 0 2px 40px rgba(0,0,0,0.4);
}

.reveal-overlay-sub {
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.5px;
  margin: 0;
}

@media (max-width: 767px) {
  .reveal-section          { height: 60vh; min-height: 380px; }
  .reveal-overlay-heading  { font-size: clamp(32px, 10vw, 56px); letter-spacing: -2.5px; }
}



/* =============================================================
   §7F — SERVICES CARD STACK SECTION
   ============================================================= */

.services-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 120px 0;
  background-image:
    radial-gradient(ellipse at 30% 40%, rgba(0,230,77,0.15) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(0,100,30,0.25) 0%, transparent 55%),
    linear-gradient(155deg, #002210 0%, #001208 45%, #000a05 100%);
  background-color: #000a05;
}

/* Pinned full-bleed bg is no longer needed since section has native background */
.services-bg-pin {
  display: none;
}

.services-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-px, 80px);
  display: grid;
  grid-template-columns: 1fr 48px;
  gap: 40px;
  align-items: center;
}

/* Left: label + heading + card stack */
.services-left {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.services-label { color: var(--green) !important; }

.services-heading {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1.0;
  color: var(--white);
  margin: 0;
}

/* Card wrap: horizontal grid of cards */
.services-cards-wrap {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

/* Base card styling */
.service-card {
  position: relative;
  width: 100%;
  background: var(--green);
  color: var(--charcoal);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: 0 20px 60px rgba(0,230,77,0.25);
  display: flex;
  flex-direction: column;
}

/* Initial state for GSAP */
.service-card { opacity: 0; transform: translateY(40px); }

.service-card-num {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -4px;
  line-height: 1;
  color: rgba(0,0,0,0.12);
  margin-bottom: -8px;
  font-family: var(--font);
}

.service-card-icon {
  font-size: 32px;
  margin-bottom: 12px;
  display: block;
}

.service-card-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--charcoal);
  margin: 0 0 10px;
}

.service-card-body {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(0,0,0,0.6);
  margin: 0;
}

/* RIGHT: Vertical progress dots */
.services-dots {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

/* Reuse .progress-dot from compare section base styles */
.svc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
  cursor: default;
}

.svc-dot.active {
  background: var(--green);
  transform: scale(1.5);
}

/* Responsive */
@media (max-width: 767px) {
  .services-section    { padding: 80px 0; }
  .services-inner      { grid-template-columns: 1fr; gap: 24px; padding: 0 24px; }
  .services-dots       { flex-direction: row; }
  .services-cards-wrap { 
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 40px;
    padding: 0;
  }
  .service-card { 
    width: 100%;
    min-width: 0;
  }
}


/* =============================================================
   §7G — ROUTE PREVIEW SECTION
   ============================================================= */

.routes-preview-section {
  background: var(--white);
}

/* Centered header block */
.routes-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  margin-bottom: 64px;
}

.routes-heading {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 900;
  letter-spacing: -2.5px;
  line-height: 1.05;
  color: var(--charcoal);
  margin: 0;
}

.routes-subheading {
  font-size: 16px;
  line-height: 1.75;
  color: var(--mid-gray);
  max-width: 520px;
  margin: 0;
}

/* Two-column grid */
.routes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Left: stacked route cards + CTA */
.routes-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.route-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.route-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,230,77,0.25);
  transform: translateY(-4px);
}

.route-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.route-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: rgba(0,230,77,0.10);
  border: 1px solid rgba(0,230,77,0.25);
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: var(--green-deeper);
  text-transform: uppercase;
}

.route-duration {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mid-gray);
}

.route-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--charcoal);
  margin: 0 0 16px;
}

.route-arrow { color: var(--green); }

/* Vertical stop timeline */
.route-stops {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 16px;
}

.route-stop-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--dark-gray);
  padding: 4px 0;
}

.rsi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: 2px solid var(--border);
  flex-shrink: 0;
}

.rsi-dot--start, .rsi-dot--end {
  background: var(--green);
  border-color: var(--green);
  width: 10px;
  height: 10px;
}

.route-stop-line {
  width: 2px;
  height: 14px;
  background: var(--border);
  margin-left: 3px;
}

.route-meta {
  display: flex;
  gap: 20px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.route-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--mid-gray);
}

.routes-cta {
  align-self: flex-start;
  margin-top: 4px;
}

/* Right: SVG map container */
.route-map {
  position: sticky;
  top: calc(72px + 40px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.route-map-svg {
  width: 100%;
  max-width: 320px;
  height: auto;
}

@media (max-width: 1023px) {
  .routes-grid { grid-template-columns: 1fr; gap: 40px; }
  .route-map   { position: static; }
  .route-map-svg { max-width: 260px; }
}

@media (max-width: 767px) {
  .routes-header { margin-bottom: 40px; }
  .route-name    { font-size: 18px; }
}


/* =============================================================
   §7H — WAITLIST SECTION
   ============================================================= */

.waitlist-section {
  background: var(--charcoal);
  padding: 120px 0;
}

.waitlist-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.waitlist-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.waitlist-label { color: var(--green) !important; }

.waitlist-heading {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1.0;
  color: var(--white);
  margin: 0;
}

.waitlist-subheading {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
  max-width: 520px;
  margin: 0;
}

/* Form card */
.waitlist-card {
  width: 100%;
  max-width: 720px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(0,230,77,0.2);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.waitlist-form { display: flex; flex-direction: column; gap: 20px; }

/* Rows */
.wf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.wf-row--full { grid-template-columns: 1fr; }

.wf-field { display: flex; flex-direction: column; gap: 8px; }

.wf-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
}

.wf-input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  color: var(--white);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.wf-input::placeholder { color: rgba(255,255,255,0.3); }

/* DESIGN.md §7H focus state */
.wf-input:focus,
.wf-select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0,230,77,0.15);
}

/* Select wrapper */
.wf-select-wrap {
  position: relative;
}

.wf-select {
  cursor: pointer;
  padding-right: 40px;
}

.wf-select option { background: var(--charcoal); color: var(--white); }

.wf-select-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  pointer-events: none;
}

/* Submit button */
.wf-submit {
  width: 100%;
  padding: 16px 24px;
  background: var(--green);
  color: var(--charcoal);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.3px;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.2s var(--ease),
              box-shadow 0.25s var(--ease);
}

.wf-submit:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,230,77,0.3);
}

.wf-submit:active { transform: translateY(0); }

/* Success + privacy */
.wf-success {
  display: none;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--green);
  padding: 12px;
  border: 1px solid rgba(0,230,77,0.25);
  border-radius: var(--radius-md);
  background: rgba(0,230,77,0.06);
}

.wf-success.visible { display: block; }

.wf-privacy {
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  margin: 16px 0 0;
}

/* Waitlist responsive */
@media (max-width: 767px) {
  .waitlist-section  { padding: 80px 0; }
  .waitlist-card     { padding: 28px 20px; }
  .wf-row            { grid-template-columns: 1fr; }
}


/* =============================================================
   §7I — APP DOWNLOAD SECTION
   ============================================================= */

.app-section {
  background: rgba(0, 230, 77, 0.04);
  border-top: 1px solid rgba(0,230,77,0.1);
}

.app-inner {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 80px;
  align-items: center;
}

/* LEFT: Text content */
.app-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.badge-pill--dark {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: var(--charcoal);
  color: var(--green);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  width: fit-content;
}

.app-heading {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1.0;
  color: var(--charcoal);
  margin: 0;
}

.app-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--mid-gray);
  margin: 0;
  max-width: 420px;
}

/* App store buttons */
.app-store-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.app-store-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--charcoal);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  cursor: not-allowed;
  opacity: 0.7;
  font-family: var(--font);
  transition: opacity 0.2s;
}

.app-store-btn i { font-size: 24px; }

.asb-text { display: flex; flex-direction: column; align-items: flex-start; }
.asb-small { font-size: 10px; font-weight: 400; opacity: 0.7; line-height: 1; }
.asb-big   { font-size: 15px; font-weight: 700; line-height: 1.2; }

.app-store-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  background: var(--charcoal);
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  border: 1px solid rgba(0,230,77,0.25);
  transition: opacity 0.2s, transform 0.2s;
}

.app-store-btn:hover .app-store-tooltip {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* Notify me mini-form */
.app-notify { display: flex; flex-direction: column; gap: 10px; }

.app-notify-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--mid-gray);
  margin: 0;
}

.app-notify-form {
  display: flex;
  gap: 0;
  max-width: 380px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: var(--white);
}

.app-notify-input {
  flex: 1;
  padding: 12px 18px;
  border: none;
  outline: none;
  font-family: var(--font);
  font-size: 14px;
  color: var(--charcoal);
  background: transparent;
}

.app-notify-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  background: var(--green);
  color: var(--charcoal);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  border: none;
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.app-notify-btn:hover { background: var(--green-dark); }


/* RIGHT: Phone mockup */
.app-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  position: relative;
}

.phone-shell {
  width: 260px;
  height: 520px;
  background: var(--charcoal);
  border-radius: 40px;
  border: 3px solid rgba(255,255,255,0.1);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.4),
    0 40px 80px rgba(0,0,0,0.25),
    inset 0 0 0 1px rgba(255,255,255,0.06);
  overflow: hidden;
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 26px;
  background: var(--charcoal);
  border-radius: 0 0 16px 16px;
  border: 3px solid rgba(255,255,255,0.1);
  z-index: 10;
}

.phone-screen {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(0,230,77,0.15) 0%, transparent 50%),
    linear-gradient(155deg, #001a0d 0%, #000d08 100%);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Status bar */
.app-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 52px 20px 8px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
}

.app-status-time { font-size: 13px; font-weight: 700; }
.app-status-icons { display: flex; gap: 6px; font-size: 14px; }

/* App content area */
.app-content {
  flex: 1;
  padding: 12px 18px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.app-logo-small {
  display: flex;
  align-items: center;
  gap: 6px;
}

.app-logo-mark {
  width: 20px;
  height: 20px;
  background: var(--green);
  border-radius: 5px;
}

.app-logo-text {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--white);
}

.app-greeting {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  margin: 0;
}

.app-route-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 12px 14px;
}

.arc-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
}

.arc-select {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}

.arc-select i:last-child { margin-left: auto; color: rgba(255,255,255,0.4); }

.app-next-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(0,230,77,0.12);
  border: 1px solid rgba(0,230,77,0.2);
  border-radius: 8px;
}

.app-next-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--green);
}

.app-next-time {
  font-size: 13px;
  font-weight: 800;
  color: var(--white);
}

.app-next-seats {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  margin-left: auto;
}

.app-book-btn {
  width: 100%;
  padding: 12px;
  background: var(--green);
  color: var(--charcoal);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 800;
  border: none;
  border-radius: 8px;
  cursor: default;
}

/* Bottom nav */
.app-nav-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 4px 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.3);
}

.anb-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  cursor: default;
}

.anb-item i { font-size: 16px; }

.anb-item--active {
  color: var(--green);
}

/* App section responsive */
@media (max-width: 1023px) {
  .app-inner { grid-template-columns: 1fr 1fr; gap: 48px; }
  .phone-shell { width: 220px; height: 440px; }
}

@media (max-width: 767px) {
  .app-inner   { grid-template-columns: 1fr; gap: 48px; }
  .app-body    { max-width: 100%; }
  .app-right   { order: -1; }
  .phone-shell { width: 200px; height: 400px; }
  .phone-notch { width: 70px; height: 22px; }
}
