/* ============================================================
   BusMate Landing Page — Design System & Styles
   ============================================================ */

/* ─── CSS Custom Properties ─────────────────────────────────── */
:root {
  /* Brand Colors */
  --primary: #EC8340;
  --primary-hover: #D4722F;
  --primary-light: #FFF5EE;
  --primary-glow: rgba(236, 131, 64, 0.25);

  /* Neutrals */
  --white: #FFFFFF;
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F7;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  /* Dark Section */
  --dark: #0F1117;
  --dark-card: #1A1D27;
  --dark-card-border: rgba(255, 255, 255, 0.06);
  --dark-card-hover: #222536;

  /* Layout */
  --max-width: 1200px;
  --section-padding: 100px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.3s;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  outline: none;
}

ul {
  list-style: none;
}

/* ─── Utility ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: 560px;
  line-height: 1.7;
  margin-top: 16px;
}

/* Scroll reveal - removed for performance */

/* ============================================================
   1. NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--duration) var(--ease);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 12px 0;
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.05);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

.nav-logo svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.nav-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 6px;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  padding: 8px 16px;
  border-radius: 8px;
  transition: all var(--duration) var(--ease);
}

.nav-links a:hover {
  color: var(--gray-900);
  background: var(--gray-100);
}

.nav-cta, .navbar__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: var(--white) !important;
  font-weight: 700 !important;
  padding: 12px 28px !important;
  border-radius: 14px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 6px 16px -4px rgba(236, 131, 64, 0.4);
  border: none;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -6px rgba(236, 131, 64, 0.5) !important;
}

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}

.nav-hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav menu */
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration) var(--ease);
}

.nav-mobile-menu.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.nav-mobile-menu a {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-800);
  padding: 12px 32px;
  border-radius: 12px;
  transition: all var(--duration) var(--ease);
}

.nav-mobile-menu a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

/* ============================================================
   2. HERO SECTION
   ============================================================ */
.hero {
  padding-top: 140px;
  padding-bottom: 80px;
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
  position: relative;
  overflow: hidden;
}

/* Subtle background decoration */
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  max-width: 680px;
  text-align: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  border: 1px solid rgba(236, 131, 64, 0.15);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

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

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--gray-500);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 36px;
}

/* Trust badges */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-600);
}

.trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

/* Search Widget */
.search-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
}

/* Trip Type Toggle */
.widget-trip-toggle {
  display: flex;
  gap: 4px;
  background: var(--gray-100);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 16px;
}

.trip-toggle-btn {
  flex: 1;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-500);
  background: none;
  border-radius: 8px;
  transition: all var(--duration) var(--ease);
}

.trip-toggle-btn.active {
  background: var(--white);
  color: var(--gray-900);
  box-shadow: var(--shadow-sm);
}

.widget-row {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.widget-input-group {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 14px 16px;
  transition: all var(--duration) var(--ease);
}

.widget-input-group:focus-within {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.widget-input-group svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

.widget-input-group select,
.widget-input-group input {
  flex: 1;
  border: none;
  background: none;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-800);
  outline: none;
}

.widget-input-group select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.widget-input-group .select-arrow {
  width: 16px;
  height: 16px;
  color: var(--gray-400);
  flex-shrink: 0;
}

/* Swap button */
.widget-swap {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all var(--duration) var(--ease);
  box-shadow: var(--shadow-sm);
}

.widget-swap:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.widget-swap svg {
  width: 18px;
  height: 18px;
  color: var(--gray-500);
  transition: transform 0.4s var(--ease);
}

.widget-swap:hover svg {
  color: var(--primary);
}

.widget-swap.rotated svg {
  transform: rotate(180deg);
}

/* Date row */
.widget-date-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.widget-date-row.two-dates {
  grid-template-columns: 1fr 1fr;
}

/* Search button */
.widget-search-btn {
  width: 100%;
  padding: 16px;
  background: var(--primary);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--duration) var(--ease);
  box-shadow: 0 4px 16px var(--primary-glow);
}

.widget-search-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--primary-glow);
}

.widget-search-btn svg {
  width: 20px;
  height: 20px;
}

.widget-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--gray-400);
}



/* ============================================================
   3. HOW IT WORKS
   ============================================================ */
.how-it-works {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.how-it-works .section-header {
  text-align: center;
  margin-bottom: 64px;
}

.how-it-works .section-header .section-label {
  justify-content: center;
}

.how-it-works .section-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

/* Connecting line */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 44px;
  left: calc(16.66% + 32px);
  right: calc(16.66% + 32px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary));
  opacity: 0.3;
}

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 16px var(--primary-glow);
}

.step-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.step-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}

/* ============================================================
   4. FEATURES (Dark Section)
   ============================================================ */
.features {
  padding: var(--section-padding) 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

/* Glow decoration */
.features::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(236, 131, 64, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.features .section-header {
  text-align: center;
  margin-bottom: 64px;
}

.features .section-title {
  color: var(--gray-900);
}

.features .section-subtitle {
  color: var(--gray-600);
  margin-left: auto;
  margin-right: auto;
}

.features .section-header .section-label {
  justify-content: center;
}

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

.feature-card {
  background: var(--primary);
  border: 1px solid var(--primary-hover);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(236, 131, 64, 0.15);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(236, 131, 64, 0.25);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
  color: var(--white);
}

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

.feature-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

/* ============================================================
   5. POPULAR ROUTES
   ============================================================ */
.popular-routes {
  padding: var(--section-padding) 0;
  background: var(--gray-50);
}

.popular-routes .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.popular-routes .section-header .section-label {
  justify-content: center;
}

.popular-routes .section-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.routes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 20px;
}

.route-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--duration) var(--ease);
  cursor: pointer;
  height: 100%;
}

.route-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px var(--primary-glow);
  transform: translateY(-2px);
}

.route-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.route-cities {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.route-city {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
}

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

.route-details {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.route-detail {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--gray-500);
  background: var(--gray-50);
  padding: 6px 12px;
  border-radius: 8px;
}

.route-detail svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
}

.route-price {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 12px;
  border-radius: 8px;
}

/* ============================================================
   6. WAITLIST CTA
   ============================================================ */
.waitlist {
  padding: var(--section-padding) 0;
  background: linear-gradient(135deg, #EC8340 0%, #E06B20 50%, #D45A10 100%);
  position: relative;
  overflow: hidden;
}

/* Pattern decoration */
.waitlist::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.waitlist::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.waitlist .container {
  text-align: center;
  position: relative;
  z-index: 2;
}

.waitlist-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.waitlist-icon svg {
  width: 28px;
  height: 28px;
  color: var(--white);
}

.waitlist h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.waitlist p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.waitlist-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto 24px;
}

.waitlist-form input {
  flex: 1;
  padding: 16px 20px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem;
  color: var(--white);
  outline: none;
  transition: all var(--duration) var(--ease);
}

.waitlist-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.waitlist-form input:focus {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.18);
}

.waitlist-form button {
  padding: 16px 32px;
  background: var(--white);
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: all var(--duration) var(--ease);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.waitlist-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.waitlist-social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.waitlist-avatars {
  display: flex;
}

.waitlist-avatars span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  margin-left: -8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
}

.waitlist-avatars span:first-child {
  margin-left: 0;
}

.waitlist-or {
  margin: 16px auto 0;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 500px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.waitlist-or::before,
.waitlist-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.waitlist-form-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 28px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--duration) var(--ease);
  background: rgba(255, 255, 255, 0.05);
}

.waitlist-form-link:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.waitlist-form-link svg {
  width: 18px;
  height: 18px;
}

/* ============================================================
   7. FOOTER
   ============================================================ */
.footer {
  background: var(--white);
  padding: 60px 0 32px;
  border-top: 1px solid var(--gray-200);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--gray-200);
}

.footer-brand .nav-logo {
  color: var(--gray-900);
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-900);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  color: var(--gray-600);
  font-size: 0.9rem;
  padding: 6px 0;
  transition: color var(--duration) var(--ease);
}

.footer-col a:hover {
  color: var(--primary);
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: var(--gray-600);
  font-size: 0.85rem;
}

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

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--gray-100);
  color: var(--gray-600);
  transition: all var(--duration) var(--ease);
}

.social-link:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================================
   MODAL (Waitlist popup from search widget)
   ============================================================ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration) var(--ease);
  padding: 24px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s var(--ease);
  box-shadow: var(--shadow-xl);
}

.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}

.modal-icon {
  width: 72px;
  height: 72px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  border: 2px solid rgba(236, 131, 64, 0.15);
}

.modal-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.modal h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.modal p {
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 28px;
}

.modal-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius);
  transition: all var(--duration) var(--ease);
  box-shadow: 0 4px 16px var(--primary-glow);
  width: 100%;
  justify-content: center;
}

.modal-cta:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--primary-glow);
}

.modal-dismiss {
  display: block;
  margin-top: 16px;
  color: var(--gray-400);
  font-size: 0.9rem;
  background: none;
  cursor: pointer;
  transition: color var(--duration) var(--ease);
}

.modal-dismiss:hover {
  color: var(--gray-600);
}

.modal-email-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.modal-email-input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem;
  color: var(--gray-900);
  outline: none;
  transition: border-color var(--duration) var(--ease);
  box-sizing: border-box;
}

.modal-email-input:focus {
  border-color: var(--primary);
}

.modal-email-input::placeholder {
  color: var(--gray-400);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  transition: all var(--duration) var(--ease);
}

.modal-close:hover {
  background: var(--gray-200);
  color: var(--gray-700);
}

.modal {
  position: relative;
}

/* ============================================================
   SUCCESS TOAST
   ============================================================ */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--gray-900);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 0.95rem;
  box-shadow: var(--shadow-lg);
  transform: translateY(120%);
  transition: transform 0.4s var(--ease);
  z-index: 3000;
}

.toast.show {
  transform: translateY(0);
}

.toast svg {
  width: 22px;
  height: 22px;
  color: #34D399;
  flex-shrink: 0;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .hero .container {
    max-width: 100%;
  }

  .hero-content {
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .search-widget {
    margin: 0 auto;
  }

  .hero-trust {
    justify-content: center;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --section-padding: 64px;
  }

  .container {
    padding: 0 20px;
  }

  /* Navbar */
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  /* Hero */
  .hero {
    padding-top: 110px;
    padding-bottom: 48px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .search-widget {
    padding: 20px;
  }

  .hero-trust {
    flex-direction: column;
    gap: 12px;
  }



  /* Steps */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .steps-grid::before {
    display: none;
  }

  .step-card {
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
  }

  .step-number {
    margin: 0;
    flex-shrink: 0;
  }

  .step-icon {
    margin: 0;
  }

  .step-card p {
    margin: 0;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 28px;
  }

  /* Routes */
  .routes-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Waitlist */
  .waitlist-form {
    flex-direction: column;
  }

  .waitlist-form button {
    width: 100%;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Modal */
  .modal {
    padding: 32px 24px;
  }
}

/* Small Mobile */
@media (max-width: 400px) {
  .hero-title {
    font-size: 1.85rem;
  }

  .hero-badge {
    font-size: 0.7rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   WAITLIST DIALOG (PREMIUM REDESIGN)
   ═══════════════════════════════════════════════════════════════════ */
.wl-dialog {
  margin: auto;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 32px;
  padding: 0;
  max-width: 560px;
  width: calc(100% - 32px);
  max-height: 90vh;
  overflow: visible;
  background: var(--white);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0,0,0,0.05);
  opacity: 0;
  transform: scale(0.95) translateY(20px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font);
}

.wl-dialog[open] {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.wl-dialog::backdrop {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.wl-dialog[open]::backdrop {
  opacity: 1;
}

.wl-dialog__inner {
  position: relative;
  padding: 48px 40px 40px;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--gray-300) transparent;
}

.wl-dialog__inner::-webkit-scrollbar { width: 6px; }
.wl-dialog__inner::-webkit-scrollbar-track { background: transparent; }
.wl-dialog__inner::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 3px; }

/* Close button */
.wl-dialog__close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 10;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gray-50);
  color: var(--gray-500);
  border: 1px solid var(--gray-200);
  transition: all 0.2s ease;
  cursor: pointer;
}

.wl-dialog__close-btn:hover {
  background: var(--gray-100);
  color: var(--gray-900);
  transform: scale(1.05);
}

/* ── Dialog Header ──────────────────────────────────────────────── */
.wl-dialog__header {
  text-align: center;
  margin-bottom: 36px;
}

.wl-dialog__emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: var(--primary-light);
  border-radius: 24px;
  font-size: 36px;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(236, 131, 64, 0.15);
}

.wl-dialog__title {
  font-size: 28px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  line-height: 1.2;
}

.wl-dialog__subtitle {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.5;
  max-width: 400px;
  margin: 0 auto;
}

/* ── Form Layout ────────────────────────────────────────────────── */
.wl-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.wl-form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wl-form__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
}

.wl-form__req {
  color: var(--primary);
}

/* Inputs & Selects */
.wl-form__input,
.wl-form__select {
  width: 100%;
  padding: 16px;
  background: var(--gray-50);
  border: 2px solid transparent;
  border-radius: 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--gray-900);
  transition: all 0.2s ease;
  box-shadow: inset 0 0 0 1px var(--gray-200);
}

.wl-form__input:hover,
.wl-form__select:hover {
  background: white;
  box-shadow: inset 0 0 0 1px var(--gray-300);
}

.wl-form__input:focus,
.wl-form__select:focus {
  outline: none;
  background: white;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}

.wl-form__input::placeholder {
  color: var(--gray-400);
}

/* Select wrapper */
.wl-form__select-wrap {
  position: relative;
}
.wl-form__select {
  appearance: none;
  padding-right: 48px;
  cursor: pointer;
}
.wl-form__select-chevron {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--gray-500);
}

/* Error States */
.wl-form__input--error,
.wl-form__select--error {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}
.wl-form__error {
  color: #ef4444;
  font-size: 13px;
  font-weight: 500;
  margin-top: 4px;
}

/* ── Radios & Checkboxes (Pill/Card Style) ──────────────────────── */
.wl-form__radio-group,
.wl-form__checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.wl-form__radio,
.wl-form__checkbox {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--gray-50);
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 1px var(--gray-200);
  border-radius: 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  transition: all 0.2s ease;
}

.wl-form__radio:hover,
.wl-form__checkbox:hover {
  background: white;
  box-shadow: inset 0 0 0 1px var(--gray-300);
}

.wl-form__radio input,
.wl-form__checkbox input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Custom Radio Indicator */
.wl-form__radio-custom {
  width: 20px;
  height: 20px;
  border: 2px solid var(--gray-300);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s ease;
  background: white;
}
.wl-form__radio-custom::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Custom Checkbox Indicator */
.wl-form__checkbox-custom {
  width: 20px;
  height: 20px;
  border: 2px solid var(--gray-300);
  border-radius: 6px;
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s ease;
  background: white;
}
.wl-form__checkbox-custom::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 6px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Checked States */
.wl-form__radio input:checked ~ .wl-form__radio-custom,
.wl-form__checkbox input:checked ~ .wl-form__checkbox-custom {
  border-color: var(--primary);
  background: var(--primary);
}

.wl-form__radio input:checked ~ .wl-form__radio-custom::after {
  transform: translate(-50%, -50%) scale(1);
}
.wl-form__checkbox input:checked ~ .wl-form__checkbox-custom::after {
  transform: rotate(45deg) scale(1);
}

/* Highlight the whole card when checked */
.wl-form__radio:has(input:checked),
.wl-form__checkbox:has(input:checked) {
  background: var(--primary-light);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(236, 131, 64, 0.15);
  color: var(--primary-hover);
}

/* ── Submit Button ──────────────────────────────────────────────── */
.wl-form__submit {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: white;
  font-size: 16px;
  font-weight: 700;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 12px 24px -8px rgba(236, 131, 64, 0.5);
  border: none;
  cursor: pointer;
}

.wl-form__submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -8px rgba(236, 131, 64, 0.6);
}

.wl-form__submit:active:not(:disabled) {
  transform: translateY(0);
}

.wl-form__submit:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
  box-shadow: none;
}

.wl-form__submit-loading {
  display: none;
  align-items: center;
  gap: 8px;
}

.wl-form__submit.is-loading .wl-form__submit-text { display: none; }
.wl-form__submit.is-loading .wl-form__submit-loading { display: flex; }
.wl-spinner { animation: wlSpin 1s linear infinite; }
@keyframes wlSpin { to { transform: rotate(360deg); } }


/* ── Animation (Cascade effect) ─────────────────────────────────── */
.wl-form__anim {
  opacity: 0;
  transform: translateY(12px);
  animation: wlFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--anim-i) * 0.05s + 0.1s);
}
@keyframes wlFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Success/Error States ───────────────────────────────────────── */
.wl-success,
.wl-duplicate,
.wl-error {
  text-align: center;
  padding: 40px 0 20px;
}

.wl-success__icon-wrap,
.wl-duplicate__icon-wrap,
.wl-error__icon-wrap {
  width: 96px;
  height: 96px;
  margin: 0 auto 24px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: wlIconPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 12px 32px rgba(236, 131, 64, 0.2);
}

@keyframes wlIconPop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

.wl-success__icon,
.wl-duplicate__icon,
.wl-error__icon {
  font-size: 48px;
  line-height: 1;
}

.wl-success__title,
.wl-duplicate__title,
.wl-error__title {
  font-size: 28px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.wl-success__desc,
.wl-duplicate__desc,
.wl-error__desc {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 12px;
}

.wl-success__subdesc {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.6;
  margin-bottom: 32px;
}

.wl-success__btn,
.wl-duplicate__btn,
.wl-error__btn {
  padding: 16px 32px;
  background: var(--primary);
  color: white;
  font-size: 16px;
  font-weight: 700;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(236, 131, 64, 0.3);
}

.wl-success__btn:hover,
.wl-duplicate__btn:hover,
.wl-error__btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(236, 131, 64, 0.4);
}

.wl-confetti {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 10;
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN FOR MODAL
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .wl-dialog {
    width: calc(100% - 24px);
    max-height: 95vh;
    border-radius: 24px;
    margin: auto;
    inset: 0;
  }
  
  .wl-dialog__inner {
    padding: 32px 24px;
  }

  .wl-dialog__emoji {
    width: 64px;
    height: 64px;
    font-size: 32px;
  }
  
  .wl-dialog__title {
    font-size: 24px;
  }
  
  .wl-form__radio-group,
  .wl-form__checkbox-group {
    grid-template-columns: 1fr;
  }
}



/* Waitlist section button variant */
.waitlist__cta-wrap {
  text-align: center;
  margin-bottom: 32px;
}

.waitlist__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
  border-radius: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  padding: 18px 48px;
  font-size: 18px;
  font-family: inherit;
}

.waitlist__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.3);
  background: var(--gray-50);
}



