/* ============================================
   KARMAWINGS — style.css
   KarmaWings is a trading name of Cleopargan LLC
   ============================================ */

:root {
  --bg: #06111F;
  --card: #0C1E35;
  --panel: #112840;
  --orange: #FF6B35;
  --cyan: #00C9FF;
  --gold: #FFD166;
  --violet: #7B2FBE;
  --text: #F0F4FF;
  --muted: #6b7a9a;
  --border: #1a3050;
  --success: #00E676;
  --warning: #FF9F1C;
  --error: #FF4D6D;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { opacity: .8; }

/* ============ COOKIE BANNER ============ */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--panel);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: .85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  z-index: 9999;
  max-width: 680px;
  width: calc(100% - 2rem);
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
}
.cookie-banner p { font-size: 12px; color: var(--muted); flex: 1; }
.cookie-btns { display: flex; gap: .5rem; flex-shrink: 0; }
.btn-accept {
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: .4rem .9rem;
  font-size: 12px;
  font-family: var(--font-body);
  cursor: pointer;
  font-weight: 500;
}
.btn-decline {
  background: transparent;
  color: var(--muted);
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: .4rem .9rem;
  font-size: 12px;
  font-family: var(--font-body);
  cursor: pointer;
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(6,17,31,.96);
  backdrop-filter: blur(12px);
  border-bottom: 0.5px solid rgba(0,201,255,.1);
  height: 56px;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-bar {
  width: 3px;
  height: 20px;
  background: var(--orange);
  border-radius: 2px;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .5px;
}
.logo-accent {
  font-family: var(--font-display);
  font-size: 12px;
  font-style: italic;
  color: var(--cyan);
  opacity: .9;
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  flex: 1;
}
.nav-links a {
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: .3px;
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; gap: .75rem; margin-left: auto; }
.btn-passport {
  display: flex;
  align-items: center;
  gap: .4rem;
  background: transparent;
  border: 0.5px solid rgba(255,209,102,.4);
  border-radius: 20px;
  padding: .35rem .85rem;
  color: var(--gold);
  font-size: 11px;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all .2s;
}
.btn-passport:hover { background: rgba(255,209,102,.08); }
.passport-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.currency-selector {
  position: relative;
  display: flex;
  align-items: center;
  gap: .3rem;
  background: transparent;
  border: 0.5px solid var(--border);
  border-radius: 20px;
  padding: .35rem .85rem;
  color: var(--text);
  font-size: 11px;
  font-family: var(--font-mono);
  cursor: pointer;
  transition: all .2s;
  user-select: none;
}
.currency-selector:hover { border-color: var(--cyan); color: var(--cyan); }
.currency-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--panel);
  border: 0.5px solid var(--border);
  border-radius: 10px;
  padding: .4rem 0;
  min-width: 200px;
  z-index: 2000;
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
}
.currency-dropdown div {
  padding: .5rem 1rem;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  transition: all .15s;
  font-family: var(--font-body);
}
.currency-dropdown div:hover { background: var(--card); color: var(--cyan); }

.btn-signin {
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: .4rem 1rem;
  font-size: 11px;
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  transition: opacity .2s;
}
.btn-signin:hover { opacity: .85; }
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  margin-left: auto;
}

/* ============ TICKER ============ */
.ticker-wrap {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  z-index: 999;
  background: #040e1a;
  height: 26px;
  display: flex;
  align-items: center;
  border-bottom: 0.5px solid rgba(0,201,255,.08);
  overflow: hidden;
}
.ticker-label {
  background: var(--orange);
  color: #fff;
  font-size: 9px;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 1px;
  padding: 0 .75rem;
  height: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.ticker-track { flex: 1; overflow: hidden; }
.ticker-content {
  display: inline-block;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--cyan);
  opacity: .8;
  animation: ticker 40s linear infinite;
  padding-left: 100%;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  padding: 140px 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.star {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  animation: twinkle var(--d,3s) ease-in-out infinite;
}
@keyframes twinkle {
  0%,100% { opacity: var(--o,.6); }
  50% { opacity: .15; }
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}
.hero-glow-1 { width: 400px; height: 400px; top: -100px; left: -100px; background: rgba(123,47,190,.12); }
.hero-glow-2 { width: 500px; height: 400px; top: 50%; right: -150px; background: rgba(0,24,48,.4); }
.hero-glow-3 { width: 300px; height: 300px; bottom: 0; left: 40%; background: rgba(0,201,255,.05); }
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 820px;
  text-align: center;
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--orange);
  font-family: var(--font-body);
  font-weight: 500;
  margin-bottom: 1rem;
  opacity: .9;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 400;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: .75rem;
}
.hero-sub {
  font-size: 15px;
  color: var(--muted);
  font-weight: 300;
  letter-spacing: .3px;
  margin-bottom: 2rem;
}

/* SEARCH TABS */
.search-tabs {
  display: flex;
  background: var(--card);
  border-radius: 28px;
  padding: 3px;
  gap: 2px;
  margin-bottom: 1rem;
  border: 0.5px solid var(--border);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.tab {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 11px;
  font-family: var(--font-body);
  padding: .5rem 1rem;
  border-radius: 24px;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.tab:hover { color: var(--text); }
.tab.active {
  background: var(--orange);
  color: #fff;
  font-weight: 500;
}
.tab-luxury { color: var(--gold) !important; }
.tab-luxury.active { background: var(--gold); color: #2A1800 !important; }

/* SEARCH BAR */
.search-bar {
  display: flex;
  align-items: center;
  background: var(--card);
  border: 0.5px solid var(--cyan);
  border-radius: 14px;
  padding: 0;
  gap: 0;
  margin-bottom: 1.25rem;
  overflow: hidden;
  position: relative;
}
.search-field {
  flex: 1;
  padding: .85rem 1rem;
  text-align: left;
}
.search-field label {
  display: block;
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--cyan);
  font-family: var(--font-body);
  font-weight: 500;
  margin-bottom: .2rem;
  opacity: .8;
}
.search-field input {
  background: none;
  border: none;
  color: var(--text);
  font-size: 15px;
  font-family: var(--font-body);
  width: 100%;
  outline: none;
  padding: 0;
}
.search-field input::placeholder { color: var(--muted); font-size: 14px; }
.search-field input:focus { color: var(--text); }
.search-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}
.swap-btn {
  background: var(--panel);
  border: 0.5px solid var(--border);
  color: var(--muted);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 13px;
  cursor: pointer;
  flex-shrink: 0;
  margin: 0 .25rem;
  transition: all .2s;
}
.swap-btn:hover { color: var(--cyan); border-color: var(--cyan); }
.search-btn {
  background: var(--orange);
  border: none;
  color: #fff;
  font-size: 22px;
  width: 52px;
  height: 100%;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity .2s;
  min-height: 58px;
}
.search-btn:hover { opacity: .85; }

/* INPUT MODES */
.input-modes { margin-top: .25rem; }
.modes-label {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: .75rem;
  letter-spacing: .3px;
}
.modes-row {
  display: flex;
  gap: .5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.mode-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .15rem;
  background: var(--card);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: .6rem 1.1rem;
  color: var(--muted);
  font-size: 11px;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all .2s;
  line-height: 1.3;
}
.mode-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.mode-icon { font-size: 16px; }
.mode-sub { font-size: 9px; opacity: .6; }
.mode-voice { border-color: rgba(0,201,255,.3); color: var(--cyan); }
.mode-surprise { border-color: rgba(123,47,190,.4); color: #a060ff; background: rgba(123,47,190,.08); }
.mode-surprise:hover { border-color: var(--violet); color: #b080ff; }

/* VOICE STATUS */
.voice-status {
  display: flex;
  align-items: center;
  gap: .75rem;
  justify-content: center;
  margin-top: 1rem;
  padding: .75rem 1.25rem;
  background: rgba(0,201,255,.06);
  border: 0.5px solid rgba(0,201,255,.2);
  border-radius: 10px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.voice-pulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 1s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: .5; }
}
#voice-text { font-size: 13px; color: var(--cyan); }

/* TRUST STRIP */
.trust-strip {
  position: relative;
  z-index: 1;
  display: flex;
  gap: .75rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
  font-size: 11px;
  color: #1a3550;
  letter-spacing: .5px;
}

/* ============ MAP SECTION ============ */
.map-section {
  padding: 0 1.5rem 0;
  max-width: 1200px;
  margin: 0 auto;
}
.map-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-top: 3rem;
}
.section-eyebrow {
  font-size: 10px;
  letter-spacing: 2.5px;
  color: var(--orange);
  font-family: var(--font-body);
  font-weight: 500;
  margin-bottom: .4rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  color: var(--text);
}
.section-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: .25rem;
}
.live-counter {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
.map-container {
  height: 480px;
  border-radius: 16px;
  overflow: hidden;
  border: 0.5px solid var(--border);
}
.leaflet-container { background: #e8e0d8 !important; }

/* ============ PANEL PHOTO ============ */
.panel-photo {
  width: 100%;
  height: 160px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  animation: kenburns 8s ease-in-out infinite alternate;
  flex-shrink: 0;
}
@keyframes kenburns {
  from { background-size: 100%; }
  to { background-size: 115%; }
}

/* Map custom popup */
.kw-popup .leaflet-popup-content-wrapper {
  background: var(--card);
  border: 0.5px solid var(--orange);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font-body);
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
}
.kw-popup .leaflet-popup-tip { background: var(--card); }
.popup-content { min-width: 240px; }
.popup-photo-wrap { position: relative; height: 130px; overflow: hidden; border-radius: 8px 8px 0 0; }
.popup-photo { width: 100%; height: 100%; object-fit: cover; animation: kenburns 8s ease-in-out infinite alternate; }
.popup-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 60%);
  display: flex; align-items: flex-end; padding: .6rem;
  gap: .4rem;
}
.popup-flag { font-size: 20px; }
.popup-photo-name { font-family: var(--font-display); font-size: 18px; color: #fff; font-weight: 600; }
.popup-body { padding: .6rem .75rem .25rem; }
.popup-city { font-family: var(--font-display); font-size: 16px; color: var(--text); }
.popup-country { font-size: 10px; color: var(--muted); }
.popup-row { display: flex; justify-content: space-between; font-size: 11px; padding: .2rem 0; }
.popup-label { color: var(--muted); }
.popup-val { color: var(--text); font-weight: 500; }
.popup-val.good { color: var(--success); }
.popup-val.gold { color: var(--gold); }
.popup-cta {
  width: 100%;
  background: var(--orange);
  border: none;
  color: #fff;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  padding: .6rem;
  border-radius: 8px;
  cursor: pointer;
  margin-top: .75rem;
  transition: opacity .2s;
}
.popup-cta:hover { opacity: .85; }

/* ============ TRIP PANEL ============ */
.panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1100;
  display: none;
  backdrop-filter: blur(4px);
}
.panel-overlay.open { display: block; }
.trip-panel {
  position: fixed;
  top: 0;
  right: -480px;
  width: 440px;
  height: 100vh;
  background: var(--panel);
  border-left: 0.5px solid var(--border);
  z-index: 1200;
  overflow-y: auto;
  transition: right .35s cubic-bezier(.4,0,.2,1);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.trip-panel.open { right: 0; }
.panel-header { display: flex; align-items: center; justify-content: space-between; }
.panel-destination { display: flex; align-items: center; gap: .75rem; }
.panel-destination h3 { font-family: var(--font-display); font-size: 20px; color: var(--text); }
.panel-destination p { font-size: 11px; color: var(--muted); }
#panel-flag { font-size: 28px; }
.panel-close {
  background: var(--card);
  border: 0.5px solid var(--border);
  color: var(--muted);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 14px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all .2s;
}
.panel-close:hover { border-color: var(--error); color: var(--error); }

/* XP BAR */
.xp-bar-wrap { }
.xp-bar-label { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); margin-bottom: .3rem; }
.xp-bar-track { height: 4px; background: var(--card); border-radius: 2px; }
.xp-bar-fill { height: 100%; background: linear-gradient(90deg, var(--orange), var(--gold)); border-radius: 2px; transition: width .4s; }

/* PRICE COMPARE */
.price-compare { background: var(--card); border-radius: 10px; padding: .85rem; }
.price-label { font-size: 10px; color: var(--muted); letter-spacing: .5px; margin-bottom: .5rem; }
.price-options { display: flex; flex-direction: column; gap: .3rem; }
.price-opt {
  display: flex;
  align-items: center;
  padding: .5rem .65rem;
  background: var(--panel);
  border-radius: 8px;
  border: 0.5px solid var(--border);
  text-decoration: none;
  transition: border-color .2s;
  gap: .5rem;
}
.price-opt:hover { border-color: var(--orange); }
.price-provider { font-size: 11px; color: var(--muted); flex: 1; }
.price-amount { font-size: 12px; font-weight: 500; color: var(--success); font-family: var(--font-mono); }
.price-arrow { color: var(--orange); font-size: 13px; margin-left: auto; }
.price-disclosure { font-size: 9px; color: var(--muted); margin-top: .5rem; opacity: .7; }

/* INTEL GRID */
.intel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.intel-card {
  background: var(--card);
  border: 0.5px solid var(--border);
  border-radius: 10px;
  padding: .7rem .85rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.intel-icon { font-size: 18px; flex-shrink: 0; }
.intel-label { font-size: 9px; color: var(--muted); letter-spacing: .5px; margin-bottom: .1rem; }
.intel-value { font-size: 12px; color: var(--text); font-weight: 500; }
.intel-buy { color: var(--success); }

/* PANEL FORM */
.panel-form { display: flex; flex-direction: column; gap: .85rem; }
.form-group { }
.form-label {
  display: block;
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--cyan);
  font-family: var(--font-body);
  font-weight: 500;
  margin-bottom: .4rem;
  opacity: .8;
}
.form-input {
  width: 100%;
  background: var(--card);
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: .6rem .85rem;
  color: var(--text);
  font-size: 13px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color .2s;
}
.form-input:focus { border-color: var(--cyan); }
.traveller-counter {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--card);
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: .5rem .85rem;
  width: fit-content;
}
.traveller-counter button {
  background: var(--panel);
  border: 0.5px solid var(--border);
  color: var(--text);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  transition: all .2s;
}
.traveller-counter button:hover { border-color: var(--orange); color: var(--orange); }
#traveller-count { font-size: 18px; font-family: var(--font-display); min-width: 24px; text-align: center; }
.budget-slider {
  width: 100%;
  accent-color: var(--orange);
  height: 4px;
  cursor: pointer;
}
.budget-breakdown {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: .5rem;
}
.budget-breakdown span {
  font-size: 10px;
  color: var(--muted);
  background: var(--card);
  padding: .15rem .45rem;
  border-radius: 6px;
  border: 0.5px solid var(--border);
}
.vibe-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.vibe-chip {
  background: var(--card);
  border: 0.5px solid var(--border);
  border-radius: 20px;
  padding: .35rem .75rem;
  font-size: 11px;
  color: var(--muted);
  font-family: var(--font-body);
  cursor: pointer;
  transition: all .2s;
}
.vibe-chip:hover { border-color: var(--cyan); color: var(--cyan); }
.vibe-chip.active { background: rgba(255,107,53,.12); border-color: var(--orange); color: var(--orange); }
.form-textarea {
  width: 100%;
  background: var(--card);
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: .6rem .85rem;
  color: var(--text);
  font-size: 12px;
  font-family: var(--font-body);
  outline: none;
  resize: vertical;
  min-height: 80px;
  transition: border-color .2s;
}
.form-textarea:focus { border-color: var(--cyan); }
.voice-panel-btn {
  width: 100%;
  background: rgba(0,201,255,.06);
  border: 0.5px solid rgba(0,201,255,.25);
  border-radius: 10px;
  padding: .75rem;
  color: var(--cyan);
  font-size: 13px;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}
.voice-panel-btn:hover { background: rgba(0,201,255,.12); }

/* PANEL CTA */
.panel-cta {
  width: 100%;
  background: var(--orange);
  border: none;
  color: #fff;
  font-size: 15px;
  font-family: var(--font-body);
  font-weight: 500;
  padding: 1rem;
  border-radius: 12px;
  cursor: pointer;
  transition: opacity .2s;
  letter-spacing: .3px;
}
.panel-cta:hover { opacity: .88; }
.save-trip-btn {
  width: 100%;
  background: transparent;
  border: 0.5px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  font-family: var(--font-body);
  padding: .65rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all .2s;
}
.save-trip-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.panel-disclosure { font-size: 10px; color: var(--muted); text-align: center; line-height: 1.5; opacity: .7; }

/* ============ DESTINATIONS ============ */
.destinations-section {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.see-all { font-size: 12px; color: var(--cyan); white-space: nowrap; }
.destinations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.dest-card {
  border: 0.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--card);
  cursor: pointer;
  transition: transform .25s, border-color .25s;
}
.dest-card:hover { transform: translateY(-4px); border-color: rgba(255,107,53,.3); }
.dest-card-bg {
  height: 200px;
  position: relative;
  overflow: hidden;
}
.dest-dubai {
  background: linear-gradient(135deg, #1a0e05 0%, #2a1505 40%, #0a0c1a 100%);
}
.dest-maldives {
  background: linear-gradient(135deg, #021820 0%, #003848 50%, #021820 100%);
}
.dest-tokyo {
  background: linear-gradient(135deg, #08060f 0%, #0a0318 50%, #060810 100%);
}
.dest-badge {
  position: absolute;
  top: .75rem;
  right: .75rem;
  font-size: 10px;
  padding: .25rem .6rem;
  border-radius: 20px;
  font-weight: 500;
  z-index: 2;
}
.dest-badge-hot { background: var(--orange); color: #fff; }
.dest-badge-luxury { background: var(--gold); color: #2A1800; }
.dest-badge-violet { background: var(--violet); color: #fff; }
.dest-flag {
  position: absolute;
  bottom: .75rem;
  left: .75rem;
  font-size: 28px;
  z-index: 2;
}
.dest-overlay {
  position: absolute;
  top: .75rem;
  left: .75rem;
}
.dest-drop { font-size: 10px; color: var(--success); font-weight: 500; }
.dest-info { padding: 1rem; }
.dest-name-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: .2rem; }
.dest-name { font-family: var(--font-display); font-size: 20px; color: var(--text); }
.dest-price { font-size: 14px; font-weight: 500; color: var(--orange); font-family: var(--font-display); }
.dest-price-cyan { color: var(--cyan); }
.dest-country { font-size: 11px; color: var(--muted); margin-bottom: .6rem; }
.dest-stats { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: .6rem; }
.dest-stat {
  font-size: 10px;
  color: var(--muted);
  background: var(--panel);
  padding: .15rem .45rem;
  border-radius: 6px;
  border: 0.5px solid var(--border);
}
.stat-good { color: var(--success); border-color: rgba(0,230,118,.2); }
.stat-warn { color: var(--gold); border-color: rgba(255,209,102,.2); }
.dest-vibe { font-size: 11px; color: var(--muted); font-style: italic; margin-bottom: .75rem; line-height: 1.4; }
.dest-cta {
  background: transparent;
  border: 0.5px solid var(--orange);
  color: var(--orange);
  font-size: 11px;
  font-family: var(--font-body);
  padding: .4rem .85rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s;
  width: 100%;
}
.dest-cta:hover { background: rgba(255,107,53,.1); }

/* ============ PASSPORT ============ */
.passport-section {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}
.passport-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .75rem;
  margin-bottom: 1.5rem;
}
.stamp {
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: .85rem .5rem;
  text-align: center;
  background: var(--card);
  transition: all .2s;
}
.stamp.earned { border-color: var(--gold); background: rgba(255,209,102,.04); }
.stamp.locked { opacity: .4; }
.stamp-flag { font-size: 24px; margin-bottom: .25rem; }
.stamp-name { font-size: 10px; color: var(--text); font-family: var(--font-display); }
.stamp-date { font-size: 9px; color: var(--muted); }
.stamp-mystery { font-size: 20px; color: var(--border); }
.gold-progress { background: var(--card); border-radius: 12px; padding: 1rem 1.25rem; border: 0.5px solid rgba(255,209,102,.2); }
.gold-progress-header { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-bottom: .5rem; }
#gold-count { color: var(--gold); font-weight: 500; }
.gold-track { height: 5px; background: var(--panel); border-radius: 3px; margin-bottom: .75rem; }
.gold-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--orange)); border-radius: 3px; transition: width .5s; }
.gold-perks { display: flex; gap: 1rem; flex-wrap: wrap; }
.gold-perks span { font-size: 10px; color: var(--muted); }

/* ============ CONFIRMATION MODAL ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  padding: 1rem;
}
.confirm-modal {
  background: var(--card);
  border: 0.5px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.confetti-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.confetti-piece {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  animation: confetti-fall var(--d,2s) ease-in var(--delay,0s) forwards;
  top: -10px;
}
@keyframes confetti-fall {
  to { transform: translateY(500px) rotate(720deg); opacity: 0; }
}
.confirm-plane { font-size: 48px; margin-bottom: .75rem; }
.confirm-headline {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--text);
  line-height: 1.1;
}
.confirm-headline-orange { color: var(--orange); font-style: italic; margin-bottom: .5rem; }
.confirm-sub { font-size: 13px; color: var(--muted); margin-bottom: 1.25rem; }
.confirm-stats {
  display: flex;
  gap: 1rem;
  justify-content: center;
  background: var(--panel);
  border-radius: 12px;
  padding: .85rem;
  margin-bottom: 1rem;
}
.confirm-stat { text-align: center; flex: 1; }
.confirm-stat-val { display: block; font-family: var(--font-display); font-size: 24px; color: var(--text); }
.confirm-stat-gold { color: var(--gold); }
.confirm-stat-label { font-size: 10px; color: var(--muted); letter-spacing: .5px; }
.confirm-countdown {
  font-size: 11px;
  color: var(--orange);
  background: rgba(255,107,53,.08);
  border: 0.5px solid rgba(255,107,53,.2);
  border-radius: 8px;
  padding: .5rem;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
}
.confirm-btns { display: flex; gap: .75rem; margin-bottom: 1rem; }
.confirm-btn-primary {
  flex: 1;
  background: var(--orange);
  border: none;
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  padding: .75rem;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity .2s;
}
.confirm-btn-primary:hover { opacity: .85; }
.confirm-btn-secondary {
  flex: 1;
  background: transparent;
  border: 0.5px solid var(--border);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 13px;
  padding: .75rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all .2s;
}
.confirm-btn-secondary:hover { border-color: var(--cyan); color: var(--cyan); }
.confirm-badge {
  font-size: 11px;
  color: var(--gold);
  background: rgba(255,209,102,.08);
  border: 0.5px solid rgba(255,209,102,.2);
  border-radius: 8px;
  padding: .4rem;
}

/* SAVE MODAL */
.save-modal {
  background: var(--card);
  border: 0.5px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  max-width: 380px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.save-modal h3 { font-family: var(--font-display); font-size: 24px; color: var(--text); }
.save-modal p { font-size: 13px; color: var(--muted); }
.save-email-input {
  width: 100%;
  background: var(--panel);
  border: 0.5px solid var(--border);
  border-radius: 10px;
  padding: .75rem 1rem;
  color: var(--text);
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
}
.save-email-input:focus { border-color: var(--cyan); }

/* ============ AI CHAT MODAL ============ */
.ai-modal {
  background: var(--card);
  border: 0.5px solid var(--violet);
  border-radius: 20px;
  width: 100%;
  max-width: 520px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.ai-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 0.5px solid var(--border);
  background: var(--panel);
}
.ai-header-info { display: flex; align-items: center; gap: .75rem; }
.ai-avatar { font-size: 28px; }
.ai-modal-header h3 { font-family: var(--font-display); font-size: 18px; color: var(--text); }
.ai-modal-header p { font-size: 11px; color: #a060ff; }
.ai-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  min-height: 200px;
}
.ai-message {
  max-width: 85%;
  padding: .75rem 1rem;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-wrap;
}
.ai-message-bot {
  background: var(--panel);
  border: 0.5px solid rgba(123,47,190,.3);
  color: var(--text);
  align-self: flex-start;
  border-radius: 4px 12px 12px 12px;
}
.ai-message-user {
  background: rgba(255,107,53,.12);
  border: 0.5px solid rgba(255,107,53,.3);
  color: var(--text);
  align-self: flex-end;
  border-radius: 12px 4px 12px 12px;
}
.ai-typing {
  display: flex;
  gap: 4px;
  align-items: center;
}
.ai-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet);
  animation: typing-dot .8s ease-in-out infinite;
}
.ai-typing span:nth-child(2) { animation-delay: .15s; }
.ai-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing-dot {
  0%,100% { opacity: .3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-3px); }
}
.ai-input-row {
  display: flex;
  gap: .5rem;
  padding: 1rem 1.25rem;
  border-top: 0.5px solid var(--border);
  background: var(--panel);
}
.ai-input {
  flex: 1;
  background: var(--card);
  border: 0.5px solid var(--border);
  border-radius: 10px;
  padding: .65rem 1rem;
  color: var(--text);
  font-size: 13px;
  font-family: var(--font-body);
  outline: none;
}
.ai-input:focus { border-color: var(--violet); }
.ai-send-btn {
  background: var(--violet);
  border: none;
  color: #fff;
  font-size: 18px;
  width: 42px;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity .2s;
  flex-shrink: 0;
}
.ai-send-btn:hover { opacity: .85; }

/* ============ FOOTER ============ */
.footer {
  border-top: 0.5px solid var(--border);
  padding: 3rem 1.5rem 2rem;
  margin-top: 4rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}
.footer-tagline { font-family: var(--font-display); font-size: 16px; font-style: italic; color: var(--muted); margin: .5rem 0 .25rem; }
.footer-entity { font-size: 11px; color: var(--muted); opacity: .6; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.footer-col { display: flex; flex-direction: column; gap: .4rem; }
.footer-col h4 { font-size: 11px; color: var(--text); font-weight: 500; letter-spacing: .5px; margin-bottom: .2rem; }
.footer-col a { font-size: 12px; color: var(--muted); text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 0.5px solid var(--border);
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.disclosure { font-size: 11px; color: var(--muted); opacity: .7; }
.copyright { font-size: 11px; color: var(--muted); opacity: .4; }

/* ============ MOBILE RESPONSIVE ============ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .nav-hamburger { display: block; }

  .hero { padding: 120px 1rem 3rem; }
  .hero-headline { font-size: 32px; }

  .search-tabs { flex-wrap: wrap; width: 100%; justify-content: center; }
  .search-bar { flex-direction: column; border-radius: 16px; }
  .search-field { width: 100%; border-bottom: 0.5px solid var(--border); }
  .search-field:last-of-type { border-bottom: none; }
  .search-divider { display: none; }
  .swap-btn { display: none; }
  .search-btn { width: 100%; min-height: 52px; border-radius: 0 0 14px 14px; font-size: 18px; }

  .modes-row { flex-direction: column; align-items: stretch; }
  .mode-btn { flex-direction: row; justify-content: center; }

  /* MOBILE BOTTOM SHEET instead of side panel */
  .trip-panel {
    top: auto;
    right: 0;
    bottom: -100vh;
    left: 0;
    width: 100%;
    height: 85vh;
    border-left: none;
    border-top: 0.5px solid var(--border);
    border-radius: 20px 20px 0 0;
    transition: bottom .35s cubic-bezier(.4,0,.2,1);
  }
  .trip-panel.open { bottom: 0; right: 0; }

  .map-container { height: 320px; }
  .map-header { flex-direction: column; align-items: flex-start; gap: .5rem; }

  .destinations-grid { grid-template-columns: 1fr; }
  .passport-grid { grid-template-columns: repeat(3, 1fr); }

  .section-header { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }

  .cookie-banner { flex-direction: column; gap: .75rem; text-align: center; }
  .cookie-btns { width: 100%; }
  .btn-accept, .btn-decline { flex: 1; }
}

@media (max-width: 480px) {
  .passport-grid { grid-template-columns: repeat(2, 1fr); }
  .confirm-stats { flex-direction: column; gap: .5rem; }
  .search-tabs { gap: .2rem; }
  .tab { padding: .4rem .65rem; font-size: 10px; }
}
