*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #FFB400;
  --primary-dark: #E89A00;
  --secondary: #0F1A1A;
  --secondary-soft: #1A2828;
  --accent: #0F3460;
  --accent2: #E94560;
  --white: #FFFFFF;
  --light-bg: #F4F8FB;
  --text-dark: #0F1A1A;
  --text-mid: #45524E;
  --text-light: #8B9590;
  --border: #E4ECEC;
  --card-bg: #FFFFFF;
  --gradient-hero: linear-gradient(135deg, #0F1A1A 0%, #16282A 55%, #0F1A1A 100%);
  --gradient-dark-card: linear-gradient(135deg, #1A2828 0%, #0F1A1A 100%);
  --gradient-cta: #FFB400;
  --shadow-sm: 0 4px 12px rgba(15,26,26,0.06);
  --shadow-md: 0 12px 32px rgba(15,26,26,0.10);
  --shadow-lg: 0 24px 60px rgba(15,26,26,0.14);
  --shadow-cta: 0 10px 28px rgba(255,180,0,0.38);
}

html { scroll-behavior: smooth; }

section[id] { scroll-margin-top: 90px; }

/* ── SCROLL REVEAL ─────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Float animation for the two floating cards in hero */
@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

body {
  font-family: 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── NAVBAR ─────────────────────────────────────────── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15,26,26,0.08);
  box-shadow: 0 2px 14px rgba(15,26,26,0.04);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

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

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--gradient-cta);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg { width: 24px; height: 24px; fill: #1A1A2E; }

.logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.logo-text span { color: var(--primary); }

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

.nav-links a {
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--primary); }

.nav-cta {
  position: relative;
  overflow: hidden;
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  background: var(--primary);
  color: var(--text-dark) !important;
  padding: 10px 10px 10px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s ease;
  box-shadow: 0 4px 14px rgba(255,180,0,0.32);
  isolation: isolate;
}

.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.55) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
  z-index: -1;
}

.nav-cta::after {
  content: '→';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--text-dark);
  color: var(--white);
  border-radius: 7px;
  font-weight: 900;
  font-size: 0.9rem;
  transition: transform 0.25s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255,180,0,0.50);
}

.nav-cta:hover::before { transform: translateX(120%); }
.nav-cta:hover::after { transform: translateX(3px); }

.nav-cta:active {
  transform: translateY(0) scale(0.97);
  transition-duration: 0.1s;
}

.nav-cta:focus-visible {
  outline: 3px solid rgba(255,180,0,0.55);
  outline-offset: 3px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: rgba(255,255,255,0.99);
  padding: 0 24px;
  border-top: 1px solid rgba(15,26,26,0.08);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.25s ease;
  pointer-events: none;
}

.mobile-menu.open {
  max-height: calc(100dvh - 68px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px 24px 24px;
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  color: var(--text-dark);
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(15,26,26,0.06);
}

.mobile-menu a:last-child { border: none; }

.mobile-menu .nav-cta {
  display: flex !important;
  margin: 20px 0 6px;
  padding: 16px 24px;
  width: 100%;
  max-width: none;
  justify-content: center;
  align-items: center;
  gap: 14px;
  color: var(--text-dark) !important;
  background: linear-gradient(135deg, #FFC533 0%, #FFB400 55%, #F5A300 100%);
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  align-self: stretch;
  text-align: center;
  box-shadow: 0 10px 24px rgba(255, 180, 0, 0.38), 0 2px 6px rgba(0, 0, 0, 0.08);
  min-height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.mobile-menu .nav-cta::after {
  position: static;
  transform: none;
  width: 28px;
  height: 28px;
  font-size: 0.85rem;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.mobile-menu .nav-cta:hover {
  box-shadow: 0 14px 30px rgba(255, 180, 0, 0.52);
}

.mobile-menu .nav-cta:hover::after,
.mobile-menu .nav-cta:active::after {
  transform: translateX(3px);
}

/* ── HERO ─────────────────────────────────────────── */
.hero {
  background: var(--secondary);
  padding: 130px 0 110px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-stripe {
  position: absolute;
  bottom: -30px;
  left: -40px;
  right: -40px;
  height: 110px;
  background: var(--primary);
  transform: skewY(-2.5deg);
  transform-origin: bottom right;
  z-index: 2;
  box-shadow: 0 -6px 28px rgba(255,180,0,0.25);
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,180,0,0.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 5%;
  left: -5%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255,180,0,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 3;
}

/* Animated taxi icon (the moving SVG element) — no filter, original PNG colors */
.taxi-mover image { image-rendering: auto; }

/* Pause the taxi for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .taxi-mover animateMotion { display: none; }
}

.hero-content { flex: 1; max-width: 760px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,180,0,0.15);
  border: 1px solid rgba(255,180,0,0.35);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 3.875rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 26px;
  letter-spacing:normal;
}

.hero h1 .highlight {
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 580px;
}

/* ── HERO FEATURE BULLETS ──────────────────────────── */
.hero-features {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 580px;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.08rem;
  line-height: 1.5;
  font-weight: 500;
}

.hero-features li strong {
  color: var(--white);
  font-weight: 800;
}

.hero-feature-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(255, 180, 0, 0.35);
}

.hero-feature-check svg {
  width: 14px;
  height: 14px;
  fill: var(--text-dark);
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--gradient-cta);
  color: var(--text-dark);
  padding: 16px 38px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.2;
  min-height: 60px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s ease, filter 0.25s ease;
  box-shadow: 0 8px 24px rgba(255,180,0,0.35);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  isolation: isolate;
  will-change: transform;
  vertical-align: middle;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.55) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
  z-index: -1;
}

.btn-primary::after {
  content: '→';
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  height: 26px;
  transition: transform 0.25s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(255,180,0,0.50);
  filter: brightness(1.04);
}

.btn-primary:hover::before { transform: translateX(120%); }
.btn-primary:hover::after { transform: translateX(6px); }

.btn-primary:active {
  transform: translateY(-1px) scale(0.985);
  box-shadow: 0 6px 16px rgba(255,180,0,0.35);
  transition-duration: 0.1s;
}

.btn-primary:focus-visible {
  outline: 3px solid rgba(255,180,0,0.55);
  outline-offset: 3px;
}

.btn-outline {
  position: relative;
  overflow: hidden;
  background: var(--white);
  color: var(--text-dark);
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  min-height: 60px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s ease, background 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  isolation: isolate;
  vertical-align: middle;
}

.btn-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,180,0,0.25) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
  z-index: -1;
}

.btn-outline:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.28);
}

.btn-outline:hover::before { transform: translateX(120%); }

.btn-outline:active {
  transform: translateY(-1px) scale(0.985);
  transition-duration: 0.1s;
}

.btn-outline:focus-visible {
  outline: 3px solid rgba(15,26,26,0.45);
  outline-offset: 3px;
}

.btn-outline::after {
  content: '→';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--text-dark);
  color: var(--white);
  border-radius: 6px;
  font-weight: 900;
  font-size: 0.85rem;
  transition: transform 0.25s ease, background 0.25s ease;
}

.btn-outline:hover::after {
  transform: translateX(4px);
  background: var(--primary);
  color: var(--text-dark);
}

/* Hide trailing arrow chip on media/play-style outline buttons */
.btn-outline.no-arrow { padding-right: 28px; }
.btn-outline.no-arrow::after { content: none; display: none; }

/* Ghost variant — for use on dark backgrounds (e.g. final CTA section) */
/* Padding compensates for the 2px border so total height matches .btn-primary */
.btn-ghost {
  position: relative;
  overflow: hidden;
  background: transparent;
  color: rgba(255,255,255,0.92);
  padding: 14px 36px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.2;
  min-height: 60px;
  border: 2px solid rgba(255,255,255,0.35);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1),
              background 0.25s ease,
              border-color 0.25s ease,
              color 0.25s ease,
              box-shadow 0.25s ease;
  isolation: isolate;
  vertical-align: middle;
}

.btn-ghost::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,180,0,0.20) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
  z-index: -1;
}

.btn-ghost::after {
  content: '→';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-radius: 6px;
  font-weight: 900;
  font-size: 0.9rem;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-ghost:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.08);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(0,0,0,0.30);
}

.btn-ghost:hover::before { transform: translateX(120%); }

.btn-ghost:hover::after {
  transform: translateX(4px);
  background: var(--primary);
  color: var(--text-dark);
}

.btn-ghost:active {
  transform: translateY(-1px) scale(0.985);
  transition-duration: 0.1s;
}

.btn-ghost:focus-visible {
  outline: 3px solid rgba(255,180,0,0.55);
  outline-offset: 3px;
}

.play-icon {
  width: 28px;
  height: 28px;
  background: var(--text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-icon svg { width: 10px; height: 10px; fill: white; margin-left: 1px; }

.hero-visual { flex: 1; display: flex; justify-content: center; align-items: center; }

.hero-mockup {
  position: relative;
  max-width: 320px;
  width: 100%;
}

.phone-frame {
  background: linear-gradient(45deg, #cccccc, #ffffff);
  border-radius: 44px;
  padding: 14px;
  position: relative;
  box-shadow:
    0 40px 90px rgba(0,0,0,0.55),
    0 0 0 5px rgba(43, 43, 43, 0.25),
    0 0 60px rgba(66, 66, 66, 0.3),
    inset 0 0 0 1px rgba(255,255,255,0.10);
  animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .phone-frame { animation: none; }
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 22px;
  background: #0B0E1B;
  border-radius: 0 0 14px 14px;
  z-index: 3;
}

.phone-screen {
  border-radius: 32px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  background: #FFFFFF;
  position: relative;
}

/* ── PHONE SLIDER ──────────────────────────────────── */
.taxi-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  background: #FFFFFF;
}

.taxi-slider:active { cursor: grabbing; }

.taxi-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}

.taxi-slider-track img {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  -webkit-user-drag: none;
  background: #FFFFFF;
}

.taxi-slider.is-dragging .taxi-slider-track {
  transition: none;
}

/* Dots float BELOW the phone, centered, without resizing the mockup */
.taxi-slider-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(15, 26, 26, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  z-index: 5;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.ts-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: width 0.35s ease, background 0.35s ease, border-radius 0.35s ease, transform 0.2s ease;
}

/* Enlarged invisible hit area for easier tapping on mobile */
.ts-dot::before {
  content: '';
  position: absolute;
  inset: -8px;
}

.ts-dot.is-active {
  background: var(--primary);
  width: 30px;
  border-radius: 5px;
  box-shadow: 0 0 14px rgba(255,180,0,0.6);
}

.ts-dot:hover { background: rgba(255,255,255,0.75); }
.ts-dot.is-active:hover { background: var(--primary); }

.ts-dot:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.floating-card {
  position: absolute;
  background: var(--white);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
}

.floating-card.card-1 {
  top: 20px;
  left: -60px;
  animation: cardFloat 5.5s ease-in-out infinite;
}
.floating-card.card-2 {
  bottom: 60px;
  right: -50px;
  animation: cardFloat 6.5s ease-in-out -2s infinite;
}

@media (prefers-reduced-motion: reduce) {
  .floating-card.card-1, .floating-card.card-2 { animation: none; }
}

.fc-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fc-icon svg { width: 18px; height: 18px; }

.fc-label { font-weight: 700; color: var(--text-dark); line-height: 1.2; }
.fc-sub { color: var(--text-light); font-size: 0.72rem; }

/* ── STATS ─────────────────────────────────────────── */
.stats-section {
  background: var(--white);
  padding: 48px 0;
}

.stats-title {
  text-align: center;
  color: var(--text-dark);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 48px;
}

.stats-title span { color: var(--primary); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--gradient-dark-card);
  border-radius: 32px;
  overflow: hidden;
  padding: 56px 40px;
  box-shadow: 0 30px 80px rgba(15,26,26,0.18);
}

.stat-item {
  background: transparent;
  padding: 0 28px;
  text-align: left;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.2s;
}

.stat-item:last-child { border-right: none; }
.stat-item:hover { transform: translateY(-3px); }

.stat-number {
  font-size: 3.6rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -1px;
  /* Keep digits the same width while the counter animates — no layout shift */
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  display: inline-block;
  min-width: 0;
}

.stat-label {
  color: rgba(255,255,255,0.78);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.5;
}

/* ── SECTION COMMON ─────────────────────────────────── */
.section { padding:48px 0; }
.section-alt { background: var(--light-bg); }

.section-tag {
  display: inline-block;
  background: rgba(26,26,46,0.08);
  color: var(--text-dark);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.8px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 64px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  margin-top: 18px;
}

.text-center .section-title::after {
  margin-left: auto;
  margin-right: auto;
}

.ai-section .section-title::after,
.cta-middle h2::after {
  background: var(--primary);
}

.section-sub {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 620px;
  line-height: 1.75;
}

.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ── WHY CHOOSE ─────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px 36px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(15,26,26,0.12);
  border-color: var(--primary);
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg { width: 26px; height: 26px; }

.ic-orange { background: var(--secondary); }
.ic-blue { background: rgba(15,52,96,0.1); }
.ic-red { background: rgba(233,69,96,0.1); }

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ── AI FEATURES DARK ──────────────────────────────── */
.ai-section {
  background: var(--gradient-hero);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

.ai-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFB400' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.ai-section .section-title { color: var(--white); }
.ai-section .section-sub { color: rgba(255,255,255,0.65); margin: 0 auto; }

.ai-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.ai-feature-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 22px;
  padding: 32px 28px;
  transition: all 0.25s;
  cursor: default;
}

.ai-feature-item:hover {
  background: rgba(255,180,0,0.1);
  border-color: rgba(255,180,0,0.4);
  transform: translateY(-4px);
}

.ai-feat-icon {
  width: 50px;
  height: 50px;
  background: rgba(255,180,0,0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.ai-feat-icon svg { width: 24px; height: 24px; fill: var(--primary); }

.ai-feature-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.ai-feature-item p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}

/* ── SERVICES ──────────────────────────────────────── */
.services-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.services-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
}

.services-cta-box {
  background: var(--gradient-dark-card);
  border-radius: 24px;
  padding: 48px 40px 40px;
  margin-top: 40px;
  position: relative;
}

.services-cta-box::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 40px;
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.services-cta-box h4 {
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.services-cta-box h3 {
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 28px;
  line-height: 1.4;
}

.services-list { display: flex; flex-direction: column; gap: 2px; }

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 20px;
  border-radius: 14px;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.service-item:hover {
  background: var(--light-bg);
  border-color: var(--border);
}

.service-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-item-icon svg { width: 22px; height: 22px; }

.service-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.service-item p {
  font-size: 0.87rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ── PRICING ───────────────────────────────────────── */
.pricing-section {
  background: var(--white);
  padding: 90px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 56px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  background: var(--white);
  border-radius: 28px;
  padding: 52px 44px;
  border: 2px solid var(--border);
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(26,26,46,0.12);
}

.pricing-card.featured {
  border-color: var(--primary);
  background: var(--secondary);
  color: var(--white);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-cta);
  color: var(--white);
  padding: 5px 18px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.pricing-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.pricing-icon svg { width: 28px; height: 28px; }

.pi-orange { background: var(--secondary); }
.pi-white { background: rgba(255,255,255,0.1); }

.pricing-plan-name {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  color: var(--primary);
}

.pricing-card.featured .pricing-plan-name { color: var(--primary); }

.pricing-price {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin-bottom: 6px;
}

.price-amount {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  color: var(--text-dark);
}

.pricing-card.featured .price-amount { color: var(--white); }

.price-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-mid);
  margin-bottom: 6px;
}

.pricing-card.featured .price-currency { color: rgba(255,255,255,0.7); }

.price-period {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

.pricing-card.featured .price-period { color: rgba(255,255,255,0.55); }

.pricing-description {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 28px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.pricing-card.featured .pricing-description {
  color: rgba(255,255,255,0.65);
  border-color: rgba(255,255,255,0.1);
}

.pricing-features { margin-bottom: 36px; }

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-mid);
}

.pricing-card.featured .pricing-feature-item { color: rgba(255,255,255,0.75); }

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.check-icon svg { width: 10px; height: 10px; stroke: var(--primary); fill: none; stroke-width: 2.5; }

.pricing-card.featured .check-icon { background: rgba(255,180,0,0.95); }
.pricing-card.featured .check-icon svg { stroke: var(--secondary); }

.btn-pricing {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  isolation: isolate;
}

.btn-pricing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.45) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
  z-index: -1;
}

.btn-pricing:hover::before { transform: translateX(120%); }

.btn-pricing:active {
  transform: translateY(0) scale(0.985);
  transition-duration: 0.1s;
}

.btn-pricing:focus-visible {
  outline: 3px solid rgba(255,180,0,0.55);
  outline-offset: 3px;
}

.btn-pricing-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-pricing-outline:hover {
  background: var(--primary);
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255,180,0,0.30);
}

.btn-pricing-solid {
  background: var(--gradient-cta);
  color: var(--text-dark);
  box-shadow: 0 8px 24px rgba(255,180,0,0.3);
}

.btn-pricing-solid:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(255,180,0,0.50);
  filter: brightness(1.04);
}

.pricing-plus {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,180,0,0.08);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 24px;
}

.pricing-plus svg { width: 20px; height: 20px; flex-shrink: 0; }

.pricing-plus p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.4;
}

.pricing-card.featured .pricing-plus { background: rgba(255,255,255,0.07); }
.pricing-card.featured .pricing-plus p { color: rgba(255,255,255,0.6); }

/* ── TESTIMONIALS ──────────────────────────────────── */
.testimonials-section {
  display: none;
  padding: 90px 0;
  background: var(--white);
}

/* Hide nav links that point to the hidden testimonials section */
.nav-links li:has(a[href="#testimonials"]),
.mobile-menu a[href="#testimonials"] {
  display: none;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.testimonial-card {
  background: var(--light-bg);
  border-radius: 22px;
  padding: 40px 36px;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26,26,46,0.08);
}

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
}

.star { color: var(--primary); font-size: 1.1rem; }

.testimonial-text {
  font-size: 1.02rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 28px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
}

.author-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-dark);
}

.author-role {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ── BRANDS / TRUST ────────────────────────────────── */
.trust-section {
  background: var(--secondary);
  padding: 48px 0;
}

.trust-label {
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 32px;
}

/* Auto-scrolling marquee of real client logos, white-tinted to read on dark bg */
.brand-logos {
  position: relative;
  overflow: hidden;
  /* Soft fade at both edges so logos don't pop in/out abruptly */
  mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.brand-logos-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: brandsMarquee 32s linear infinite;
}

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

.brand-logo-item {
  height: 80px;
  width: auto;
  min-width: 140px;
  max-width: 240px;
  object-fit: contain;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.97);
  padding: 8px 20px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  opacity: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.brand-logo-item:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 26px rgba(255, 180, 0, 0.25);
}

@keyframes brandsMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .brand-logos-track { animation: none; }
}

/* ── FAQ SECTION ───────────────────────────────────── */
.faq-section {
  background: var(--light-bg);
  padding: 90px 0;
}

/* Two-column FAQ layout — each column flows independently so expanding one
   item only shifts items below it within the same column (matching the
   reference site's `<div class="col-md-6">` structure). */
.faq-listing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 18px;
  margin-top: 48px;
}

.faq-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-item {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.faq-item[open] {
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 180, 0, 0.45);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  color: var(--text-dark);
  line-height: 1.5;
  user-select: none;
}

.faq-item summary::-webkit-details-marker,
.faq-item summary::marker { display: none; }

.faq-chevron {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: var(--text-light);
  transition: transform 0.3s ease, fill 0.25s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  fill: var(--primary);
}

/* Smooth open/close animation — JS sets explicit pixel heights during the
   transition, then snaps to auto on completion. The answer stays display:block
   even when [open] is absent so it can animate from height: 0. */
.faq-item > .faq-answer {
  display: block;
  height: 0;
  padding: 0 24px;
  overflow: hidden;
  opacity: 0;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              padding-top 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              padding-bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s ease;
}

.faq-item[open] > .faq-answer {
  padding-top: 4px;
  padding-bottom: 22px;
  opacity: 1;
}

.faq-answer p {
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0 0 12px;
  font-size: 0.96rem;
}

.faq-answer p:last-child { margin-bottom: 0; }

.faq-answer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-answer ul li {
  position: relative;
  padding-left: 22px;
  color: var(--text-mid);
  line-height: 1.6;
  font-size: 0.95rem;
}

.faq-answer ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 180, 0, 0.18);
}

.faq-answer ul li strong { color: var(--text-dark); font-weight: 700; }

@keyframes faqFade {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .faq-section { padding: 64px 0; }
  .faq-listing { grid-template-columns: 1fr; gap: 14px; margin-top: 36px; }
  .faq-col { gap: 14px; }
  .faq-item summary { padding: 18px 20px; font-size: 0.96rem; }
  .faq-item > .faq-answer { padding-left: 20px; padding-right: 20px; }
  .faq-item[open] > .faq-answer { padding-bottom: 20px; }
  .faq-answer p, .faq-answer ul li { font-size: 0.92rem; }
}

@media (prefers-reduced-motion: reduce) {
  .faq-item,
  .faq-chevron,
  .faq-item > .faq-answer { transition: none; animation: none; }
}

/* ── CTA MIDDLE ────────────────────────────────────── */
.cta-middle {
  background: var(--gradient-hero);
  padding: 48px 0;
  text-align: center;
}

.cta-middle h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.25;
  position: relative;
  display: inline-block;
}

.cta-middle h2::after {
  content: '';
  display: block;
  width: 64px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  margin: 18px auto 0;
}

.cta-middle p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.78);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

.cta-middle .btn-primary,
.cta-middle .btn-ghost {
  font-size: 1.1rem;
  min-height: 64px;
  min-width: 240px;
  justify-content: center;
  box-sizing: border-box;
}
.cta-middle .btn-primary { padding: 18px 46px; }
.cta-middle .btn-ghost   { padding: 16px 44px; }

/* ── HOW IT WORKS ──────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: #FFB400;
  z-index: 0;
}

.step-item {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-cta);
  color: var(--text-dark);
  font-weight: 900;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 6px 20px rgba(255,180,0,0.35);
}

.step-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.step-item p {
  font-size: 0.87rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ── FOOTER (minimal one-line, matches OnGraph LP variants) ── */
.footer-min {
  background: #F4F8FB;
  border-top: 1px solid #E4ECEC;
  padding: 18px 0;
  color: var(--text-mid);
  font-size: 0.88rem;
}

.footer-min .footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-copy {
  color: var(--text-dark);
  letter-spacing: 0.2px;
}
.footer-copy span {
  color: var(--accent);          /* OnGraph blue */
  font-weight: 600;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--text-dark);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-links .sep {
  color: #C7CFCF;
  user-select: none;
}

/* ── MEDIA QUERIES ─────────────────────────────────── */
/* Medium desktops (~1280–1500px): keep the phone inside the viewport
   by easing hero padding, removing the strict 100vh, and shrinking the mockup. */
@media (max-width: 1500px) {
  .hero {
    padding: 130px 0 100px;
    min-height: auto;
  }
  .hero h1 { font-size: clamp(2.4rem, 4.4vw, 3.5rem); }
  .hero-sub { font-size: 1.1rem; }
  .hero-features li { font-size: 1rem; }
  .hero .container { gap: 48px; }
  .hero-mockup { width: 300px; }
  .floating-card.card-1 { left: -40px; }
  .floating-card.card-2 { right: -40px; }
}

@media (max-width: 1280px) {
  .container { padding: 0 32px; }
  .ai-features-grid { grid-template-columns: repeat(3, 1fr); }
  .hero .container { gap: 36px; }
  .hero { padding: 120px 0 90px; }
  .hero-mockup { width: 280px; }
}

@media (max-width: 1024px) {
  .container { padding: 0 28px; }
  .ai-features-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .stats-grid { padding: 44px 28px; }
  .stat-number { font-size: 2.8rem; }
  .services-wrap { gap: 40px; }
}

/* Tablet — 900px breakpoint to avoid cramped 1024→768 jump */
@media (max-width: 900px) {
  .hero { padding: 140px 0 120px; min-height: auto; }
  .hero .container { flex-direction: column; gap: 56px; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-features {
    margin-left: auto;
    margin-right: auto;
    align-items: flex-start;
    max-width: 460px;
    text-align: left;
  }
  .hero-btns { justify-content: center; }
  .hero-mockup { width: 300px; }
  .floating-card.card-1 { left: -30px; }
  .floating-card.card-2 { right: -30px; }
  .section { padding: 80px 0; }
  .services-wrap { grid-template-columns: 1fr; gap: 36px; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid > :last-child { grid-column: 1 / -1; max-width: 560px; justify-self: center; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .hero { padding: 100px 0 110px; }
  /* On mobile, show the phone mockup first, then the hero text/buttons below */
  .hero .container { gap: 32px; flex-direction: column-reverse; }
  .hero-visual { width: 100%; padding-bottom: 0; }
  .hero-mockup { width: 240px; }
  .floating-card.card-1 { left: -10px; top: 8px; }
  /* Card-2 lifted above the phone's bottom CTA so it doesn't cover the "Next" button area */
  .floating-card.card-2 { right: -10px; bottom: 150px; }
  /* Dots now overlap the phone screen — keep visible but slightly smaller */
  .taxi-slider-dots { bottom: 14px; padding: 6px 12px; gap: 6px; }
  .ts-dot { width: 6px; height: 6px; }
  .ts-dot.is-active { width: 18px; height: 6px; border-radius: 4px; }
  .phone-notch { width: 90px; height: 18px; top: 14px; }
  .hero-stripe { height: 70px; bottom: -20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); padding: 40px 24px; gap: 28px 0; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 24px; }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; padding-bottom: 0; }
  .stat-item:nth-child(2n) { border-right: none; }
  .features-grid { grid-template-columns: 1fr; }
  .ai-features-grid { grid-template-columns: 1fr 1fr; }
  .services-wrap { grid-template-columns: 1fr; gap: 32px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-grid > :last-child { max-width: 100%; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-min .footer-row { flex-direction: column; gap: 12px; text-align: center; }
  .feature-card, .testimonial-card { padding: 32px 28px; }
  .cta-middle .btn-primary,
  .cta-middle .btn-ghost {
    font-size: 1rem;
    min-height: 56px;
    min-width: 220px;
    width: 100%;
    max-width: 320px;
  }
  .cta-middle .btn-primary { padding: 14px 32px; }
  .cta-middle .btn-ghost   { padding: 12px 30px; }
}

@media (max-width: 560px) {
  /* Floating cards begin to clip the phone — tuck them tighter and keep card-2 above the phone's bottom CTA */
  .floating-card { padding: 10px 12px; font-size: 0.74rem; }
  .floating-card.card-1 { left: 0; top: 0; }
  .floating-card.card-2 { right: 0; bottom: 130px; }
  .fc-icon { width: 30px; height: 30px; }
  .fc-icon svg { width: 14px; height: 14px; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .hero { padding: 100px 0 90px; }
  .hero h1 { font-size: 2rem; letter-spacing: -1px; }
  .hero-sub { font-size: 1.05rem; }
  .hero-features li { font-size: 0.98rem; gap: 12px; }
  .hero-feature-check { width: 24px; height: 24px; }
  .hero-feature-check svg { width: 12px; height: 12px; }
  .hero-stripe { height: 56px; bottom: -16px; }
  .section { padding: 64px 0; }
  .section-title { font-size: 1.8rem; }
  .stats-title { font-size: 1.2rem; margin-bottom: 32px; }
  .stats-section { padding: 60px 0; }
  .nav-cta { padding: 8px 8px 8px 16px; font-size: 0.88rem; gap: 8px; }
  .nav-cta::after { width: 26px; height: 26px; }
  .ai-features-grid { grid-template-columns: 1fr; }
  .ai-section { padding: 64px 0; }
  .hero-btns { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-btns .btn-primary,
  .hero-btns .btn-outline { justify-content: center; padding: 16px 24px; font-size: 1rem; }
  .brand-logos-track { gap: 28px; animation-duration: 26s; }
  .brand-logo-item {
    height: 70px;
    min-width: 110px;
    max-width: 200px;
    padding: 6px 16px;
    border-radius: 12px;
  }
  .pricing-card { padding: 40px 24px; }
  .pricing-section, .testimonials-section, .cta-middle { padding: 64px 0; }
  .stat-number { font-size: 2.4rem; }
  .floating-card { display: none; }
  .hero-visual { padding-bottom: 0; }
  .feature-card, .testimonial-card { padding: 28px 22px; }
  .feature-card h3 { font-size: 1.1rem; }
  .cta-middle h2 { font-size: 1.8rem; }
}

@media (max-width: 360px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 2rem; }
  .price-amount { font-size: 2.6rem; }
}

/* ── VIDEO DEMO MODAL ──────────────────────────────── */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.video-modal.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0s;
}

.video-modal-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 14, 20, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  appearance: none;
}

.video-modal-content {
  position: relative;
  width: 100%;
  max-width: 960px;
  transform: scale(0.9) translateY(24px);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.34, 1.36, 0.64, 1), opacity 0.3s ease;
}

.video-modal.is-open .video-modal-content {
  transform: scale(1) translateY(0);
  opacity: 1;
  animation: videoModalPop 0.5s cubic-bezier(0.34, 1.36, 0.64, 1);
}

@keyframes videoModalPop {
  0%   { transform: scale(0.9) translateY(24px); opacity: 0; }
  60%  { transform: scale(1.02) translateY(-4px); opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.video-modal-close {
  position: absolute;
  top: -52px;
  right: 0;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.25s ease, transform 0.3s ease, border-color 0.25s ease, color 0.25s ease;
  z-index: 2;
}

.video-modal-close:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #1A1A2E;
  transform: rotate(90deg) scale(1.05);
}

.video-modal-close:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.video-modal-close svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.video-modal-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.video-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-modal-loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #0B0E1B;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.video-modal-frame.is-loading .video-modal-loader {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0s;
}

.video-modal-spinner {
  width: 52px;
  height: 52px;
  border: 4px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: videoSpin 0.85s linear infinite;
}

.video-modal-loader-text {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  animation: videoLoaderPulse 1.4s ease-in-out infinite;
}

@keyframes videoSpin {
  to { transform: rotate(360deg); }
}

@keyframes videoLoaderPulse {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}

@media (max-width: 480px) {
  .video-modal-spinner { width: 42px; height: 42px; border-width: 3px; }
  .video-modal-loader-text { font-size: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  .video-modal-spinner { animation-duration: 2.5s; }
  .video-modal-loader-text { animation: none; }
}

body.video-modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .video-modal { padding: 16px; }
  .video-modal-close {
    top: -46px;
    width: 38px;
    height: 38px;
  }
  .video-modal-close svg { width: 18px; height: 18px; }
  .video-modal-frame { border-radius: 12px; }
}

@media (max-width: 480px) {
  .video-modal { padding: 12px; }
  .video-modal-close { top: -42px; width: 34px; height: 34px; }
  .video-modal-close svg { width: 16px; height: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .video-modal,
  .video-modal-content,
  .video-modal.is-open .video-modal-content,
  .video-modal-close { transition: none; animation: none; }
}

/* ── ONGRAPH HEADER LOGO OVERRIDE ──────────────────── */
.logo { text-decoration: none; }
.logo-img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 200px;
}
@media (max-width: 480px) {
  .logo-img { height: 36px; }
}

/* ── LEAD FORM MODAL ───────────────────────────────── */
.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: flex-start;          /* was center — center via margin:auto on dialog so tall content can scroll */
  justify-content: center;
  padding: 24px;
  overflow-y: auto;                 /* let the modal itself scroll */
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;/* momentum scroll on iOS */
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0s linear 0.28s;
}
.lead-modal.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.28s ease, visibility 0s;
}

.lead-modal-backdrop {
  position: fixed;                  /* fixed so it covers viewport even while modal scrolls */
  inset: 0;
  background: rgba(10, 14, 20, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}

.lead-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 880px;
  margin: auto;                     /* centers vertically when content fits, collapses to 0 when content overflows */
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  transform: translateY(16px) scale(0.97);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.36, 0.64, 1), opacity 0.25s ease;
}
.lead-modal.is-open .lead-modal-dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.lead-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #F4F8FB;
  color: #45524E;
  border: 1px solid #E4ECEC;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(15, 26, 26, 0.08);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.25s, box-shadow 0.2s;
}
.lead-modal-close:hover {
  background: var(--text-dark);
  color: var(--white);
  border-color: var(--text-dark);
  transform: rotate(90deg);
  box-shadow: 0 6px 16px rgba(15, 26, 26, 0.22);
}
.lead-modal-close:focus-visible {
  outline: 3px solid rgba(255,180,0,0.55);
  outline-offset: 2px;
}

.lead-popup {
  display: flex;
  min-height: 460px;
}

.lead-popup-left {
  position: relative;
  width: 40%;
  background-color: #0E1129;
  background-image: url('../../common-img/popup-bg-frame.png');
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: auto;
  color: #fff;
  padding: 36px 34px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.lead-popup-logo img {
  display: block;
  height: 56px;
  width: auto;
}
.lead-popup-text {
  margin-top: 56px;
  position: relative;
  z-index: 2;
}
.lead-popup-text h3 {
  font-size: 1.75rem;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 14px;
}
.lead-popup-text p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #C9C9C9;
}
.lead-popup-blob { display: none; } /* superseded by background-image pattern */

.lead-popup-right {
  width: 60%;
  padding: 40px 36px;
  background: #fff;
  display: flex;
  align-items: center;
}
.lead-form { width: 100%; }
.lead-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.lead-field { margin-bottom: 12px; }
.lead-field input,
.lead-field textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-dark);
  background: #fff;
  border: 1px solid #D6DCDC;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lead-field textarea {
  resize: vertical;
  min-height: 96px;
}
.lead-field input:focus,
.lead-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 52, 96, 0.12);
}
.lead-field input::placeholder,
.lead-field textarea::placeholder {
  color: #8B9590;
}

/* intl-tel-input host needs full width inside the field */
.lead-field.number-box .iti { width: 100%; display: block; }
.lead-field.number-box .iti input { padding-left: 92px; }

/* Submit button — inherits .btn-primary visuals (yellow + arrow chip),
   overridden here to span the form full-width with centered content. */
.lead-submit {
  display: flex;
  width: 100%;
  margin-top: 6px;
  justify-content: center;
}
.lead-submit:disabled {
  cursor: default;
  opacity: 0.85;
  transform: none;
}
.lead-submit:disabled:hover {
  transform: none;
  filter: none;
  box-shadow: 0 8px 24px rgba(255,180,0,0.35);
}

/* Schedule-a-meeting nav link */
.nav-link-meet {
  color: var(--text-dark) !important;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 14px;
  border: 1.5px solid var(--text-dark);
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.nav-link-meet:hover {
  background: var(--text-dark);
  color: var(--white) !important;
}

@media (max-width: 768px) {
  .lead-modal { padding: 14px; }
  .lead-popup { flex-direction: column; min-height: 0; }
  .lead-popup-left,
  .lead-popup-right { width: 100%; }
  .lead-popup-left { padding: 26px 24px; }
  .lead-popup-text { margin-top: 24px; }
  .lead-popup-text h3 { font-size: 1.4rem; }
  .lead-popup-right { padding: 28px 22px; }
  .lead-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .lead-modal,
  .lead-modal-dialog,
  .lead-modal-close { transition: none; }
}
