/* ============================================================
   GLOBAL GODAM — MAIN CSS
   Design System + Overlays + Sections + Responsive
   ============================================================ */

/* ── CSS Custom Properties ──────────────────────────────────── */
:root {
  --primary-blue:     #6B9BD5;
  --truck-blue:       #7BA3D1;
  --container-white:  #F5F5F0;
  --container-gold:   #D4A843;
  --warehouse-grey:   #E8E8E8;
  --asphalt-dark:     #2A2A2A;
  --ocean-deep:       #1A3A5C;
  --sky-blue:         #87CEEB;
  --accent-gold:      #D4A843;
  --text-dark:        #0F172A;
  --text-light:       #FFFFFF;
  --text-muted:       #94A3B8;
  --text-muted-dark:  #475569;
  --background:       #0A0A0A;

  --font-display:     'Space Grotesk', system-ui, sans-serif;
  --font-body:        'Inter', system-ui, sans-serif;

  --space-base:       8px;
  --max-width:        1440px;
  --section-pad:      120px;
  --side-margin:      5vw;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  background: var(--background);
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Accessibility: skip link */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Reduced motion: disable heavy effects */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ── Canvas Layers ──────────────────────────────────────────── */
#scrollCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  will-change: transform;
  z-index: 1;
}

#threeCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: 2;
}

/* ── Vignette & Scanlines ───────────────────────────────────── */
.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 50%, rgba(0,0,0,0.45) 100%);
  z-index: 5;
}

.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.03) 2px,
    rgba(0,0,0,0.03) 4px
  );
  z-index: 6;
  opacity: 0;
  transition: opacity 0.5s;
}

/* ── Navigation ─────────────────────────────────────────────── */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--side-margin);
  z-index: 100;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

#main-nav.scrolled {
  transform: translateY(-100%);
}

.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.nav-logo-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  color: var(--text-light);
}

.nav-logo-name {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-link:hover { color: var(--accent-gold); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  border: 1px solid var(--text-light);
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
}

.nav-cta:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--background);
}

.nav-cta:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 4px;
}

/* ── Scroll Container (pin target) ──────────────────────────── */
.scroll-container {
  height: 600vh;
  position: relative;
  z-index: 0;
  /* Transparent — the fixed canvas shows through */
}

/* ── Text Overlays (common) ─────────────────────────────────── */
.text-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 8vh;
  padding-left: var(--side-margin);
  padding-right: var(--side-margin);
  opacity: 0;
  visibility: hidden;
}

/* ── Content Box (for side texts) ───────────────────────────── */
.text-box {
  padding: 40px;
  border-radius: 0; /* Square shape */
  border: 1px solid white;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.text-box--dark {
  background: rgba(10, 10, 10, 0.5);
}
.text-box--light {
  background: rgba(255, 255, 255, 0.6);
}

/* Typography in overlays */
.overlay-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 16px;
}

.overlay-h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 6.67vw, 96px);
  letter-spacing: -0.03em;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 24px;
}

.overlay-h1--dark { color: var(--text-dark); }
.overlay-h1--center { text-align: center; width: 100%; }

.overlay-h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 4.44vw, 64px);
  letter-spacing: -0.02em;
  line-height: 1.0;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 20px;
}

.overlay-h2--dark { color: var(--text-dark); }
.overlay-h2--center { text-align: center; }

.overlay-body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.6;
  max-width: 420px;
  color: var(--text-light);
}

.overlay-body--muted { color: #CBD5E1; }
.overlay-body--dark { color: var(--text-muted-dark); }
.overlay-body--center { text-align: center; max-width: 500px; margin: 0 auto 16px; }

.overlay-label--dark { color: var(--text-dark); }

/* ── Section 1: Warehouse ───────────────────────────────────── */
#overlay-s1 {
  justify-content: center;
  align-items: center;
  padding-bottom: 0;
}

.s1-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.enter-btn {
  margin-top: 32px;
  pointer-events: auto; /* Allows clicking even though overlay is pointer-events: none */
  display: inline-flex;
  align-items: center;
  padding: 14px 36px;
  background: var(--text-dark);
  color: var(--text-light);
  border: none;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.enter-btn:hover {
  background: var(--accent-gold);
  color: var(--text-dark);
  transform: translateY(-2px);
}

/* ── Section 2: Automation ──────────────────────────────────── */
#overlay-s2 {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0;
}

.s2-left {
  display: flex;
  flex-direction: column;
  max-width: 460px;
}

.s2-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 200px;
  line-height: 1;
  color: rgba(255,255,255,0.05);
  align-self: flex-start;
  padding-top: 15vh;
}

.feature-list {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: #E2E8F0;
  font-weight: 500;
}

.bullet {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent-gold);
  flex-shrink: 0;
}

/* ── Section 3: Container ───────────────────────────────────── */
#overlay-s3 {
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-bottom: 0;
}

#overlay-s3 .overlay-h1 {
  text-shadow: 0 0 40px rgba(255,255,255,0.5);
}

/* ── Section 4: The Load ────────────────────────────────────── */
#overlay-s4 {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0;
}

.s4-left {
  display: flex;
  flex-direction: column;
  max-width: 460px;
}

.s4-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-right: 3vw;
}

.stat-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 5.56vw, 80px);
  color: var(--accent-gold);
  line-height: 1;
}

.stat-number::after {
  content: '%';
  font-size: 0.5em;
  vertical-align: super;
}

#stat-countries::after,
#stat-ops::after { content: '+'; font-size: 0.6em; }
#stat-ops::after { content: ''; }

.stat-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #64748B;
}

/* ── Section 5: The Road ────────────────────────────────────── */
#overlay-s5 {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0;
}

.s5-speed {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--text-light);
  align-self: flex-start;
  padding-top: 15vh;
}

.s5-right {
  display: flex;
  flex-direction: column;
  max-width: 460px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-light);
  transition: background 0.3s;
  pointer-events: all;
}

.tag:hover { background: rgba(212,168,67,0.15); border-color: var(--accent-gold); }

/* ── Section 6: The Highway ─────────────────────────────────── */
#overlay-s6 {
  justify-content: flex-start;
  align-items: center;
  padding-top: 15vh;
  padding-bottom: 0;
  text-align: center;
}

.node-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  position: fixed;
  bottom: 10vh;
  left: 50%;
  transform: translateX(-50%);
}

.node-svg { width: 300px; }

.node-label {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* ── Section 7: The Vessel ──────────────────────────────────── */
#overlay-s7 {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0;
}

.s7-left { max-width: 460px; }

.s7-stats {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-right: 3vw;
}

.s7-stat { text-align: center; }

/* ── Section 8: The Ascent ──────────────────────────────────── */
#overlay-s8 {
  justify-content: center;
  align-items: center;
  padding-bottom: 0;
}

#overlay-s8 .overlay-h1 { margin-bottom: 12px; }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 8px 16px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 100px;
}

.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #10B981;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.status-text {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  color: #059669;
}

/* ── Section 9: The Sky ─────────────────────────────────────── */
#overlay-s9 {
  justify-content: center;
  padding-bottom: 0;
}

.s9-content { max-width: 560px; }

.integration-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
}

.integration-logo {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: rgba(15,23,42,0.45);
  padding: 8px 16px;
  background: rgba(15,23,42,0.08);
  border-radius: 8px;
  transition: all 0.3s ease;
  pointer-events: all;
  cursor: default;
}

.integration-logo:hover {
  color: var(--text-dark);
  background: rgba(15,23,42,0.15);
  transform: scale(1.1);
}

/* ── Section 10: The Arrival ────────────────────────────────── */
#overlay-s10 {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0;
}

.s10-left { max-width: 440px; }

.tracking-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 28px;
  width: 280px;
  margin-right: 3vw;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tracking-id {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-light);
  letter-spacing: 0.02em;
}

.tracking-status {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

.status-in-transit { color: #10B981; font-weight: 600; }

.tracking-eta {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

.tracking-eta strong { color: var(--text-light); }

.tracking-bar-wrap {
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 8px;
}

.tracking-bar {
  height: 100%;
  width: 0%;
  background: var(--accent-gold);
  border-radius: 2px;
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Section 11: CTA Overlay ────────────────────────────────── */
#overlay-s11 {
  justify-content: center;
  align-items: center;
  padding-bottom: 0;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 32px;
  pointer-events: all;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 16px 40px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--accent-gold);
  color: var(--background);
  border-color: var(--accent-gold);
}

.btn--primary:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 40px rgba(212,168,67,0.4);
}

.btn--secondary {
  background: transparent;
  color: var(--text-light);
  border-color: var(--text-light);
}

.btn--secondary:hover {
  background: var(--text-light);
  color: var(--background);
}

.btn:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 4px;
}

.trust-line {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-top: 32px;
}


/* ============================================================
   POST-SCROLL SECTIONS
   ============================================================ */
#post-scroll {
  position: relative;
  z-index: 20;
  background: var(--background);
  /* Ensure it always covers the fixed canvas */
  isolation: isolate;
}

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

.section-h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 3.5vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 64px;
  text-align: center;
}

.section-h2--light { color: var(--text-light); }

/* ── Features Grid ──────────────────────────────────────────── */
.features-section {
  background: #FFFFFF;
  padding: var(--section-pad) 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.feature-card {
  background: #F8FAFC;
  border-radius: 24px;
  padding: 48px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.feature-icon {
  width: 48px; height: 48px;
  margin-bottom: 24px;
}

.feature-icon svg { width: 100%; height: 100%; }

.feature-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(20px, 1.67vw, 24px);
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.feature-body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: #64748B;
  max-width: 320px;
}

/* ── How It Works ───────────────────────────────────────────── */
.how-section {
  background: var(--background);
  padding: var(--section-pad) 0;
}

.steps-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  text-align: center;
}

.step-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 120px;
  line-height: 1;
  color: rgba(255,255,255,0.04);
  display: block;
  margin-bottom: -24px;
}

.step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.step-body {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 240px;
  margin: 0 auto;
}

.step-connector {
  flex: 0 0 180px;
  display: flex;
  align-items: center;
  padding-top: 48px;
}

.connector-line { width: 100%; overflow: visible; }

/* ── Testimonial ────────────────────────────────────────────── */
.testimonial-section {
  background: #F8FAFC;
  padding: var(--section-pad) 0;
}

.testimonial-quote {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-quote p {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 2.22vw, 32px);
  line-height: 1.4;
  color: var(--text-dark);
  margin-bottom: 40px;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--warehouse-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  color: #64748B;
}

.testimonial-name {
  display: block;
  font-style: normal;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.testimonial-title {
  font-size: 14px;
  color: #64748B;
}

/* ── Final CTA ──────────────────────────────────────────────── */
.final-cta-section {
  background: var(--background);
  padding: var(--section-pad) 0;
  text-align: center;
}

.final-cta-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 3.33vw, 48px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-light);
  margin-bottom: 48px;
}

.email-form {
  display: inline-flex;
  gap: 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  padding: 6px 6px 6px 24px;
  max-width: 480px;
  width: 100%;
}

.email-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-light);
  min-width: 0;
}

.email-input::placeholder { color: var(--text-muted); }

.email-submit {
  flex-shrink: 0;
  padding: 12px 24px;
  background: var(--accent-gold);
  color: var(--background);
  border: none;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: opacity 0.3s;
  white-space: nowrap;
}

.email-submit:hover { opacity: 0.9; }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--background);
  padding: 0 0 48px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 48px 0;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--text-light);
}

.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--text-light); }
.footer-links a:focus-visible { outline: 2px solid var(--accent-gold); outline-offset: 3px; }

.footer-social {
  display: flex;
  gap: 20px;
}

.footer-social a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
}

.footer-social a:hover { color: var(--text-light); border-color: rgba(255,255,255,0.3); }

.footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin-bottom: 32px;
}

.footer-bottom {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  text-align: center;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (min-width: 1440px) {
  .overlay-h1 { font-size: 120px; }
  .overlay-h2 { font-size: 72px; }
}

@media (max-width: 1023px) {
  .overlay-h1 { font-size: 64px; }
  .overlay-h2 { font-size: 42px; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-row { flex-direction: column; align-items: center; }
  .step-connector { display: none; }
}

@media (max-width: 767px) {
  .overlay-h1 { font-size: 40px; }
  .overlay-h2 { font-size: 32px; }
  body { font-size: 15px; }
  .text-overlay {
    left: 6vw !important;
    right: 6vw !important;
    max-width: 88vw;
    padding-left: 6vw;
    padding-right: 6vw;
  }
  /* Collapse multi-column overlays to vertical */
  #overlay-s2, #overlay-s4, #overlay-s5,
  #overlay-s7, #overlay-s10 {
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 8vh;
    gap: 20px;
  }
  .s2-number, .s4-stat, .s5-speed,
  .s7-stats, .tracking-card { display: none; }
  .feature-card { padding: 32px 24px; }
  .email-form { flex-direction: column; border-radius: 20px; padding: 16px; }
  .email-input { margin-bottom: 8px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}
