/* ═══════════════════════════════════════════════════════════════
   CheapyTrip — Premium Homepage Stylesheet
   Design: Deep Navy + Electric Blue + Glassmorphism
   ═══════════════════════════════════════════════════════════════ */

/* ── Google Fonts ─────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

/* ── CSS Custom Properties (Design Tokens) ────────────────────── */
:root {
  /* Colors */
  --navy-900: #0a1628;
  --navy-800: #0f1f3d;
  --navy-700: #152952;
  --navy-600: #1e3a6e;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-300: #93c5fd;
  --cyan-500: #06b6d4;
  --cyan-400: #22d3ee;
  --gold-500: #f59e0b;
  --gold-400: #fbbf24;
  --gold-300: #fcd34d;
  --emerald-500: #10b981;
  --rose-500: #f43f5e;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, rgba(10,22,40,0.85) 0%, rgba(21,41,82,0.7) 50%, rgba(6,182,212,0.3) 100%);
  --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
  --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  --gradient-dark: linear-gradient(180deg, #0a1628 0%, #152952 100%);
  --gradient-card: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  --gradient-cta: linear-gradient(135deg, #0f1f3d 0%, #1e3a6e 50%, #3b82f6 100%);

  /* Glass */
  --glass-bg: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.15);
  --glass-bg-light: rgba(255,255,255,0.85);
  --glass-border-light: rgba(255,255,255,0.5);

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

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;
  --container-padding: 0 24px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.15);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.2);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.3);
  --shadow-glow-blue: 0 0 30px rgba(59,130,246,0.3);
  --shadow-glow-cyan: 0 0 30px rgba(6,182,212,0.3);
  --shadow-glow-gold: 0 0 30px rgba(245,158,11,0.3);

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.2s var(--ease-out-expo);
  --transition-normal: 0.4s var(--ease-out-expo);
  --transition-slow: 0.8s var(--ease-out-expo);

  /* Border radius */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-full: 4px;
}

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

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

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

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
ul { list-style: none; }

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

/* ── Section Title ────────────────────────────────────────────── */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--cyan-500);
  margin-bottom: 12px;
}
.section-eyebrow::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 600px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .section-subtitle {
  margin: 0 auto;
}

/* ══════════════════════════════════════════════════════════════
   1. NAVBAR
   ══════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s var(--ease-out-expo);
}
.navbar.scrolled {
  padding: 12px 0;
  background: rgba(10,22,40,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-normal);
  border-radius: 2px;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-nav-login {
  color: rgba(255,255,255,0.9) !important;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.2);
  transition: all var(--transition-fast);
}
.btn-nav-login:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.4);
}

.btn-nav-register {
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: var(--white);
  transition: all var(--transition-fast);
  box-shadow: 0 4px 15px rgba(59,130,246,0.4);
}
.btn-nav-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(59,130,246,0.5);
}

/* Mobile menu toggle */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-fast);
}
.nav-mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-mobile-toggle.active span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(10,22,40,0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.nav-mobile-menu.active {
  display: flex;
}
.nav-mobile-menu a {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 600;
}

/* ══════════════════════════════════════════════════════════════
   2. HERO SECTION
   ══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-900);
}

/* Carousel Background */
.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
}
.hero-slide.active {
  opacity: 1;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenBurns 20s ease infinite alternate;
}

@keyframes kenBurns {
  0%   { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.15) translate(-2%, -1%); }
}

.hero-slide:nth-child(2) img { animation-delay: -7s; animation-direction: alternate-reverse; }
.hero-slide:nth-child(3) img { animation-delay: -14s; }

/* Overlay gradient */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--gradient-hero);
}
.hero-overlay::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to top, var(--gray-50) 0%, transparent 100%);
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 140px 0 120px;
}
.hero-content .container {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}

.hero-text { max-width: 640px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(245,158,11,0.15);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-400);
  margin-bottom: 24px;
  animation: pulse-badge 2s ease infinite;
}
@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,158,11,0.3); }
  50%      { box-shadow: 0 0 0 8px rgba(245,158,11,0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 8px;
}
.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--cyan-400) 0%, var(--blue-400) 50%, var(--gold-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-typewriter {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  min-height: 2em;
}
.hero-typewriter .typed-cursor {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background: var(--cyan-400);
  margin-left: 2px;
  animation: blink 0.8s step-end infinite;
  vertical-align: text-bottom;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-stats-row {
  display: flex;
  gap: 36px;
  margin-bottom: 36px;
}
.hero-stat {
  text-align: left;
}
.hero-stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
}
.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Search Card (Glass) */
.hero-search-card {
  background: var(--glass-bg-light);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  box-shadow: var(--shadow-xl);
  animation: float-card 6s ease-in-out infinite;
}
@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.search-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.search-card-title .icon { font-size: 1.4rem; }

.form-group-search {
  margin-bottom: 14px;
}
.form-group-search label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  display: block;
}
.form-group-search input,
.form-group-search select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  color: var(--navy-900);
  background: var(--white);
  transition: all var(--transition-fast);
  outline: none;
}
.form-group-search input:focus,
.form-group-search select:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(59,130,246,0.1);
}
.form-group-search input::placeholder {
  color: var(--gray-400);
}

.form-row-search {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stepper-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 4px;
}
.stepper-mini button {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  color: var(--navy-900);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}
.stepper-mini button:hover {
  background: var(--blue-500);
  color: var(--white);
}
.stepper-mini .stepper-val {
  flex: 1;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy-900);
}

.btn-search {
  width: 100%;
  padding: 14px;
  margin-top: 8px;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  border: none;
}
.btn-search::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.btn-search:hover::before { transform: translateX(100%); }
.btn-search:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59,130,246,0.4);
}

.search-hint {
  text-align: center;
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* Hero scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: bounce-scroll 2s ease infinite;
}
.hero-scroll-indicator span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
}
.scroll-mouse {
  width: 24px;
  height: 36px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 12px;
  position: relative;
}
.scroll-mouse::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
  animation: scroll-dot 2s ease infinite;
}
@keyframes scroll-dot {
  0%, 100% { opacity: 1; top: 6px; }
  50%      { opacity: 0.3; top: 18px; }
}
@keyframes bounce-scroll {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(10px); }
}

/* ══════════════════════════════════════════════════════════════
   3. OFFERS / PITCH SECTION
   ══════════════════════════════════════════════════════════════ */
.offers-section {
  padding: var(--section-padding);
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.offers-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.offer-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  cursor: pointer;
}
.offer-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.offer-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}
.offer-badge.flash {
  background: var(--rose-500);
  color: var(--white);
  animation: flash-pulse 1.5s ease infinite;
}
.offer-badge.hot {
  background: var(--gold-500);
  color: var(--navy-900);
}
.offer-badge.limited {
  background: var(--gradient-primary);
  color: var(--white);
}
@keyframes flash-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); box-shadow: 0 0 15px rgba(244,63,94,0.4); }
}

.offer-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}
.offer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.offer-card:hover .offer-image img {
  transform: scale(1.1);
}
.offer-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px 16px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}
.offer-location {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.offer-body {
  padding: 20px;
}
.offer-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 6px;
}
.offer-desc {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 14px;
  line-height: 1.5;
}
.offer-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.offer-price-old {
  font-size: 0.9rem;
  color: var(--gray-400);
  text-decoration: line-through;
}
.offer-price-new {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue-500);
}
.offer-price-new small {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gray-400);
}
.offer-save {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: rgba(16,185,129,0.1);
  color: var(--emerald-500);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
}

.offer-countdown {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  font-size: 0.78rem;
  color: var(--gray-500);
}
.offer-countdown .countdown-timer {
  font-weight: 800;
  color: var(--rose-500);
  font-variant-numeric: tabular-nums;
}

/* Savings banner */
.savings-banner {
  background: var(--gradient-dark);
  border-radius: var(--radius-xl);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.savings-text {
  color: var(--white);
}
.savings-text h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.savings-text p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}
.savings-amount {
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

/* ══════════════════════════════════════════════════════════════
   4. DESTINATIONS SECTION
   ══════════════════════════════════════════════════════════════ */
.destinations-section {
  padding: var(--section-padding);
  background: var(--gray-50);
}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}
/* First two cards span 2 columns each on first row */
.dest-card:nth-child(1),
.dest-card:nth-child(2) {
  grid-column: span 2;
}
.dest-card:nth-child(1) .dest-img,
.dest-card:nth-child(2) .dest-img { height: 300px; }

.dest-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  group: true;
}
.dest-img {
  height: 240px;
  overflow: hidden;
}
.dest-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}
.dest-card:hover .dest-img img {
  transform: scale(1.1);
}

.dest-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: background var(--transition-normal);
}
.dest-card:hover .dest-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, rgba(59,130,246,0.1) 100%);
}

.dest-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.dest-country {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 10px;
}
.dest-price {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  transition: all var(--transition-fast);
}
.dest-card:hover .dest-price {
  background: var(--blue-500);
  border-color: var(--blue-500);
}

/* ══════════════════════════════════════════════════════════════
   5. HOW IT WORKS
   ══════════════════════════════════════════════════════════════ */
.howto-section {
  padding: var(--section-padding);
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.howto-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
/* Connecting line */
.howto-steps::before {
  content: '';
  position: absolute;
  top: 52px;
  left: 12.5%;
  width: 75%;
  height: 3px;
  background: var(--gray-200);
  border-radius: 2px;
  z-index: 0;
}
.howto-steps::after {
  content: '';
  position: absolute;
  top: 52px;
  left: 12.5%;
  width: 0%;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
  z-index: 1;
  transition: width 1.5s var(--ease-out-expo);
}
.howto-steps.animated::after {
  width: 75%;
}

.howto-step {
  text-align: center;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s var(--ease-out-expo);
}
.howto-step.visible {
  opacity: 1;
  transform: translateY(0);
}

.howto-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: var(--shadow-glow-blue);
  position: relative;
}
.howto-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(59,130,246,0.2);
  animation: icon-ring-pulse 3s ease infinite;
}
@keyframes icon-ring-pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50%      { transform: scale(1.15); opacity: 0; }
}

.howto-number {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 26px;
  height: 26px;
  background: var(--gold-500);
  color: var(--navy-900);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--white);
}

.howto-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 8px;
}
.howto-desc {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════
   6. REVIEWS
   ══════════════════════════════════════════════════════════════ */
.reviews-section {
  padding: var(--section-padding);
  background: var(--gray-50);
  overflow: hidden;
}

.reviews-marquee {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.reviews-marquee:hover { animation-play-state: paused; }

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.review-card {
  flex-shrink: 0;
  width: 340px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition-normal);
}
.review-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--blue-300);
}

.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
  color: var(--gold-500);
  font-size: 1rem;
}

.review-text {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 18px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}
.review-name {
  font-weight: 700;
  color: var(--navy-900);
  font-size: 0.9rem;
}
.review-trip {
  font-size: 0.78rem;
  color: var(--gray-400);
}

/* ══════════════════════════════════════════════════════════════
   7. STATS COUNTER
   ══════════════════════════════════════════════════════════════ */
.stats-section {
  padding: 80px 0;
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
}

#particles-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
}
.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}
.stat-number .stat-suffix {
  font-size: 0.6em;
  color: var(--cyan-400);
}
.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ══════════════════════════════════════════════════════════════
   8. CTA SECTION
   ══════════════════════════════════════════════════════════════ */
.cta-section {
  padding: var(--section-padding);
  background: var(--white);
}

.cta-card {
  background: var(--gradient-cta);
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(59,130,246,0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 70%, rgba(6,182,212,0.1) 0%, transparent 50%);
  animation: rotate-bg 20s linear infinite;
}
@keyframes rotate-bg {
  100% { transform: rotate(360deg); }
}

.cta-content { position: relative; z-index: 1; }

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}
.cta-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  max-width: 550px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 40px;
  border-radius: var(--radius-full);
  background: var(--white);
  color: var(--navy-900);
  font-size: 1.05rem;
  font-weight: 700;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}
.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(255,255,255,0.2);
}
.btn-cta .arrow {
  transition: transform var(--transition-fast);
}
.btn-cta:hover .arrow { transform: translateX(4px); }

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  font-weight: 500;
}
.trust-badge .trust-icon {
  font-size: 1.2rem;
}

/* ══════════════════════════════════════════════════════════════
   9. FOOTER
   ══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--navy-900);
  padding: 60px 0 30px;
  color: rgba(255,255,255,0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-brand .footer-logo span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}
.footer-col ul li a:hover { color: var(--white); }

.footer-newsletter input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: var(--white);
  font-size: 0.9rem;
  outline: none;
  margin-bottom: 10px;
  font-family: var(--font-sans);
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,0.3); }
.footer-newsletter button {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  color: var(--white);
  font-weight: 700;
  font-size: 0.88rem;
  transition: all var(--transition-fast);
}
.footer-newsletter button:hover {
  box-shadow: var(--shadow-glow-blue);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p {
  font-size: 0.82rem;
}
.footer-socials {
  display: flex;
  gap: 16px;
}
.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}
.footer-socials a:hover {
  background: var(--blue-500);
  color: var(--white);
}

/* ══════════════════════════════════════════════════════════════
   SCROLL REVEAL
   ══════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s var(--ease-out-expo);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s var(--ease-out-expo);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s var(--ease-out-expo);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.2s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.3s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.4s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.5s; }

/* ══════════════════════════════════════════════════════════════
   BUTTONS (shared)
   ══════════════════════════════════════════════════════════════ */
.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 20px rgba(59,130,246,0.4);
}
.btn-primary-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(59,130,246,0.5);
}

.btn-outline-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}
.btn-outline-hero:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-content .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-search-card {
    max-width: 480px;
    margin: 0 auto;
  }
  .offers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .destinations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dest-card:nth-child(1),
  .dest-card:nth-child(2) {
    grid-column: span 1;
  }
  .dest-card:nth-child(1) .dest-img,
  .dest-card:nth-child(2) .dest-img { height: 240px; }
  .howto-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .howto-steps::before,
  .howto-steps::after { display: none; }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-mobile-toggle { display: flex; }

  .hero-content .container {
    grid-template-columns: 1fr;
    padding-top: 100px;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-stats-row {
    gap: 20px;
  }
  .hero-search-card {
    padding: 24px 20px;
  }
  .hero-cta-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-scroll-indicator { display: none; }

  .offers-grid {
    grid-template-columns: 1fr;
  }
  .destinations-grid {
    grid-template-columns: 1fr;
  }
  .howto-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  .savings-banner {
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
  }

  .cta-card {
    padding: 48px 24px;
  }
  .trust-badges {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .form-row-search {
    grid-template-columns: 1fr;
  }
  .hero-stats-row {
    flex-wrap: wrap;
  }
  .review-card {
    width: 280px;
  }
}
