/* ═══════════════════════════════════════════════════════════
   VuelaJet — AI-Native Dark Theme
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg-base:       #080c18;
  --bg-surface:    #0e1525;
  --bg-elevated:   #141c30;
  --bg-card:       #1a2440;
  --border:        rgba(99, 179, 237, 0.12);
  --border-glow:   rgba(99, 179, 237, 0.3);

  --cyan:          #22d3ee;
  --cyan-dim:      rgba(34, 211, 238, 0.15);
  --cyan-border:   rgba(34, 211, 238, 0.3);
  --purple:        #a78bfa;
  --purple-dim:    rgba(167, 139, 250, 0.15);
  --blue:          #3b82f6;
  --blue-dim:      rgba(59, 130, 246, 0.15);

  --text-primary:  #f0f4ff;
  --text-secondary:#94a3b8;
  --text-dim:      #4a5568;

  --radius-sm:     8px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-xl:     28px;

  --shadow-card:   0 4px 32px rgba(0,0,0,0.4);
  --shadow-glow:   0 0 40px rgba(34, 211, 238, 0.08);
}

/* ── Base ──────────────────────────────────────────────────── */
body.dark-theme {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, sans-serif;
}

body.dark-theme * { box-sizing: border-box; }

/* ── Header ────────────────────────────────────────────────── */
body.dark-theme .header {
  background: rgba(8, 12, 24, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: none;
}

body.dark-theme .nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
}

.logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: #fff;
}

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

.logo-badge {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #080c18;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  margin-left: 2px;
}

body.dark-theme .nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

body.dark-theme .nav-link:hover { color: var(--text-primary); }
body.dark-theme .nav-link-highlight { color: var(--cyan) !important; }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }

.btn-ai-chat {
  display: flex; align-items: center; gap: 0.5rem;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #080c18;
  border: none; cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.2s;
}

.btn-ai-chat:hover { opacity: 0.9; transform: translateY(-1px); }

body.dark-theme .nav-menu {
  display: flex; gap: 2rem;
  list-style: none;
  align-items: center;
}

body.dark-theme .bar { background: var(--text-secondary); }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--bg-base);
  padding: 6rem 0 4rem;
}

.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(34,211,238,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,211,238,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-particles {
  position: absolute; inset: 0; pointer-events: none;
}

.particle {
  position: absolute;
  background: var(--cyan);
  border-radius: 50%;
  opacity: 0.4;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% { transform: translateY(0) scale(1); opacity: 0.4; }
  50% { opacity: 0.8; }
  100% { transform: translateY(-80px) scale(0.5); opacity: 0; }
}

.hero-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* AI Agent Banner */
.ai-agent-banner {
  display: flex; align-items: center; gap: 1rem;
  background: linear-gradient(135deg, rgba(34,211,238,0.08), rgba(167,139,250,0.08));
  border: 1px solid var(--cyan-border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  margin-bottom: 3rem;
  backdrop-filter: blur(8px);
  animation: borderGlow 3s infinite;
}

@keyframes borderGlow {
  0%, 100% { border-color: var(--cyan-border); }
  50% { border-color: rgba(167,139,250,0.5); }
}

.agent-banner-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--cyan-dim);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
  font-size: 1.1rem;
}

.agent-banner-text {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.agent-banner-text strong { color: var(--text-primary); }

.agent-banner-cta {
  flex-shrink: 0;
  background: var(--cyan-dim);
  color: var(--cyan);
  border: 1px solid var(--cyan-border);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s;
}

.agent-banner-cta:hover { background: var(--cyan); color: #080c18; }

/* Hero split layout */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.hero-eyebrow {
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.eyebrow-dot {
  width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.hero-title-accent {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title-dim { color: var(--text-secondary); }

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-stats {
  display: flex; gap: 2rem;
  margin-bottom: 2.5rem;
}

.stat-item { display: flex; flex-direction: column; }

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.stat-plus { color: var(--cyan); font-size: 1.2rem; }
.stat-label { font-size: 0.8rem; color: var(--text-dim); margin-top: 0.25rem; }

.hero-cta-group { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary-hero {
  display: flex; align-items: center; gap: 0.5rem;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #080c18;
  border: none; cursor: pointer;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 700;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary-hero:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(34,211,238,0.3); }

.btn-ghost-hero {
  display: flex; align-items: center; gap: 0.5rem;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.2s;
  text-decoration: none;
  cursor: pointer;
}

.btn-ghost-hero:hover { border-color: var(--text-secondary); color: var(--text-primary); }

/* ── Search Container ──────────────────────────────────────── */
body.dark-theme .search-container {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.search-header {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1rem;
}

.search-ai-badge {
  margin-left: auto;
  background: var(--cyan-dim);
  color: var(--cyan);
  border: 1px solid var(--cyan-border);
  padding: 0.25rem 0.625rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

body.dark-theme .trip-type-selector {
  display: flex; gap: 0.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

body.dark-theme .radio-option {
  display: flex; align-items: center; gap: 0.4rem;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 0.875rem;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all 0.2s;
}

body.dark-theme .radio-option:hover { color: var(--text-primary); border-color: var(--border); }

body.dark-theme .radio-option input { display: none; }

body.dark-theme .radio-option:has(input:checked) {
  background: var(--cyan-dim);
  color: var(--cyan);
  border-color: var(--cyan-border);
}

body.dark-theme .form-group label {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

body.dark-theme .form-group input,
body.dark-theme .form-group select {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}

body.dark-theme .form-group input:focus,
body.dark-theme .form-group select:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-dim); }

body.dark-theme .form-group input::placeholder { color: var(--text-dim); }
body.dark-theme .form-group select option { background: var(--bg-elevated); }

body.dark-theme .swap-button {
  width: 36px; height: 36px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}

body.dark-theme .swap-button:hover { border-color: var(--cyan); color: var(--cyan); }

body.dark-theme .search-button {
  width: 100%;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #080c18;
  border: none; cursor: pointer;
  padding: 1rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  margin-top: 1rem;
  transition: all 0.2s;
  position: relative; overflow: hidden;
}

body.dark-theme .search-button:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(34,211,238,0.25); }

body.dark-theme .button-content { display: flex; align-items: center; justify-content: center; gap: 0.5rem; }

body.dark-theme .place-suggestions {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 100;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: none;
}

body.dark-theme .suggestion-item {
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: all 0.15s;
}

body.dark-theme .suggestion-item:hover { background: var(--bg-card); color: var(--text-primary); }

/* ── Trust Bar ─────────────────────────────────────────────── */
.trust-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

.trust-bar .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trust-item {
  display: flex; align-items: center; gap: 1rem;
}

.trust-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--cyan-dim);
  border: 1px solid var(--cyan-border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
}

.trust-content h4 { font-size: 0.875rem; font-weight: 600; color: var(--text-primary); }
.trust-content p { font-size: 0.75rem; color: var(--text-secondary); margin-top: 0.125rem; }

/* ── AI Section ────────────────────────────────────────────── */
.ai-section {
  padding: 5rem 0;
  background: var(--bg-base);
}

.ai-section .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.ai-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  background: var(--cyan-dim);
  padding: 0.375rem 0.875rem;
  border-radius: 20px;
  border: 1px solid var(--cyan-border);
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.ai-modes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.ai-mode-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.ai-mode-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--cyan-dim), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.ai-mode-card:hover { border-color: var(--cyan-border); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(34,211,238,0.1); }
.ai-mode-card:hover::before { opacity: 1; }

.guided-card::before { background: linear-gradient(135deg, var(--purple-dim), transparent); }
.guided-card:hover { border-color: rgba(167,139,250,0.4); box-shadow: 0 12px 40px rgba(167,139,250,0.1); }

.mode-card-header {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.25rem;
}

.mode-card-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}

.auto-icon { background: var(--cyan-dim); color: var(--cyan); border: 1px solid var(--cyan-border); }
.guided-icon { background: var(--purple-dim); color: var(--purple); border: 1px solid rgba(167,139,250,0.3); }

.mode-card-tag {
  background: var(--bg-surface);
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
}

.ai-mode-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  position: relative;
}

.ai-mode-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  position: relative;
}

.mode-card-steps {
  display: flex; flex-direction: column; gap: 0.4rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.mode-card-steps span {
  font-size: 0.825rem;
  color: var(--text-dim);
}

.mode-card-cta {
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--cyan);
  font-size: 0.875rem;
  font-weight: 600;
  position: relative;
}

.guided-card .mode-card-cta { color: var(--purple); }

/* ── Agency Section ────────────────────────────────────────── */
.agency-section {
  padding: 5rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.agency-section .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.agency-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.agency-text .section-eyebrow { display: inline-flex; margin-bottom: 1.5rem; }

.agency-text h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.accent-text {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.agency-text > p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.75rem;
}

.agency-features {
  list-style: none;
  display: flex; flex-direction: column; gap: 0.625rem;
  margin-bottom: 2rem;
}

.agency-features li {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.agency-features li i { color: var(--cyan); font-size: 0.8rem; }

.agency-cta-group { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-agency-primary {
  display: flex; align-items: center; gap: 0.5rem;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #080c18;
  text-decoration: none;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.2s;
}

.btn-agency-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(34,211,238,0.25); }

.btn-agency-ghost {
  display: flex; align-items: center; gap: 0.5rem;
  background: transparent;
  color: var(--text-secondary);
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
}

.btn-agency-ghost:hover { border-color: var(--text-secondary); color: var(--text-primary); }

/* Code Panel */
.agency-code-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  font-family: 'Fira Code', 'Courier New', monospace;
  box-shadow: var(--shadow-card), 0 0 60px rgba(34,211,238,0.04);
}

.code-panel-header {
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--bg-card);
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.code-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}

.code-dot.red { background: #ff5f57; }
.code-dot.yellow { background: #febc2e; }
.code-dot.green { background: #28c840; }

.code-title {
  margin-left: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  font-family: 'Inter', sans-serif;
}

.code-panel-body {
  padding: 1.5rem;
  font-size: 0.85rem;
  line-height: 1.8;
  min-height: 200px;
}

.code-comment { color: #4a5568; }
.code-line { color: var(--text-secondary); padding-left: 0.5rem; }
.code-cmd { color: var(--cyan); }
.code-var { color: var(--purple); }
.code-spacer { height: 0.5rem; }
.code-prompt { color: var(--text-primary); }
.code-output { color: #28c840; font-weight: 600; }
.code-link { text-decoration: underline; cursor: pointer; }

.code-panel-footer {
  background: rgba(34,211,238,0.04);
  border-top: 1px solid var(--border);
  padding: 1rem 1.25rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  display: flex; gap: 0.5rem;
}

.code-panel-footer i { color: var(--cyan); flex-shrink: 0; margin-top: 0.1rem; }

/* ── Destinations ──────────────────────────────────────────── */
body.dark-theme .popular-destinations {
  padding: 5rem 0;
  background: var(--bg-base);
}

body.dark-theme .popular-destinations .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

body.dark-theme .destinations-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

body.dark-theme .destinations-header .section-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-top: 0.5rem;
}

body.dark-theme .destinations-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
}

body.dark-theme .destination-card.featured {
  grid-row: span 2;
}

body.dark-theme .destination-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
}

body.dark-theme .destination-card:hover { transform: translateY(-4px); border-color: var(--border-glow); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }

body.dark-theme .destination-image {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
}

body.dark-theme .destination-card.featured .destination-image { height: 280px; }

body.dark-theme .destination-badge {
  position: absolute; top: 0.75rem; left: 0.75rem;
  background: var(--cyan);
  color: #080c18;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.625rem;
  border-radius: 20px;
}

body.dark-theme .destination-info {
  padding: 1rem;
}

body.dark-theme .destination-info h3 {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

body.dark-theme .destination-description {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

body.dark-theme .destination-price {
  display: flex; align-items: baseline; gap: 0.25rem;
}

body.dark-theme .price-from { font-size: 0.75rem; color: var(--text-dim); }
body.dark-theme .price-amount { font-size: 1.1rem; font-weight: 700; color: var(--cyan); }

body.dark-theme .destination-stats {
  display: flex; gap: 1rem;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* ── Footer ────────────────────────────────────────────────── */
body.dark-theme .footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: 'Space Grotesk', sans-serif;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.social-links { display: flex; gap: 0.75rem; }

.social-links a {
  width: 36px; height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.social-links a:hover { border-color: var(--cyan); color: var(--cyan); }

body.dark-theme .footer-section h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

body.dark-theme .footer-section ul {
  list-style: none;
  display: flex; flex-direction: column; gap: 0.5rem;
}

body.dark-theme .footer-section ul a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

body.dark-theme .footer-section ul a:hover { color: var(--text-primary); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 20px 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p { font-size: 0.8rem; color: var(--text-dim); }
.footer-tagline { color: var(--cyan) !important; font-style: italic; }

/* ── WhatsApp Float ────────────────────────────────────────── */
body.dark-theme .whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 999;
  width: 52px; height: 52px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: transform 0.2s;
}

body.dark-theme .whatsapp-float:hover { transform: scale(1.1); }

/* ── AI Chat Widget ─────────────────────────────────────────── */
#chat-widget {
  position: fixed;
  bottom: 90px; right: 24px;
  z-index: 9999;
  font-family: 'Inter', sans-serif;
}

#chat-toggle-btn {
  display: flex; align-items: center; gap: 0.5rem;
  width: auto;
  padding: 0.625rem 1.125rem;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #080c18;
  border: none; cursor: pointer;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(34,211,238,0.35);
  transition: all 0.2s;
}

#chat-toggle-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(34,211,238,0.45); }

#chat-pulse {
  position: absolute; top: 0; right: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  animation: chatPulse 2s infinite;
  pointer-events: none;
}

@keyframes chatPulse {
  0% { transform: scale(1); opacity: 0.7; }
  70% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

#chat-panel {
  display: none;
  flex-direction: column;
  position: absolute; bottom: 70px; right: 0;
  width: 380px;
  max-height: 600px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: 0 16px 60px rgba(0,0,0,0.5), 0 0 40px rgba(34,211,238,0.06);
  overflow: hidden;
}

#chat-header {
  display: flex; align-items: center; gap: 0.875rem;
  background: linear-gradient(135deg, #0e2040, #0a1830);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem;
  flex-shrink: 0;
}

.chat-avatar {
  position: relative;
  width: 38px; height: 38px;
  background: var(--cyan-dim);
  border: 1px solid var(--cyan-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
  font-size: 1rem;
  flex-shrink: 0;
}

.chat-status-dot {
  position: absolute; bottom: 1px; right: 1px;
  width: 10px; height: 10px;
  background: #28c840;
  border-radius: 50%;
  border: 2px solid var(--bg-elevated);
}

.chat-header-info { flex: 1; }
.chat-name {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex; align-items: center; gap: 0.4rem;
}

.ai-tag {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #080c18;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 20px;
}

.chat-subtitle { color: var(--text-secondary); font-size: 0.75rem; }

.chat-header-actions { display: flex; gap: 0.5rem; }

.chat-header-actions button {
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.08);
  border: none;
  border-radius: 50%;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  transition: all 0.2s;
}

.chat-header-actions button:hover { background: rgba(255,255,255,0.15); color: var(--text-primary); }

#chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--bg-base);
  min-height: 150px;
  max-height: 300px;
}

#chat-messages::-webkit-scrollbar { width: 4px; }
#chat-messages::-webkit-scrollbar-track { background: transparent; }
#chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.chat-msg { max-width: 88%; font-size: 0.875rem; line-height: 1.6; }

.chat-msg-bot {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px 12px 12px 3px;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  align-self: flex-start;
}

.chat-msg-user {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #080c18;
  border-radius: 12px 12px 3px 12px;
  padding: 0.75rem 1rem;
  align-self: flex-end;
  margin-left: auto;
  font-weight: 500;
}

.chat-thinking .thinking-dots {
  display: flex; gap: 4px; align-items: center; height: 20px;
}

.thinking-dots span {
  width: 7px; height: 7px;
  background: var(--text-dim);
  border-radius: 50%;
  animation: dotBounce 1.2s infinite;
}

.thinking-dots span:nth-child(2) { animation-delay: 0.2s; }
.thinking-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotBounce {
  0%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-7px); }
}

.chat-searching .searching-inner {
  display: flex; align-items: center; gap: 0.75rem;
  color: var(--cyan);
  font-size: 0.85rem;
}

.flight-select-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #080c18;
  text-decoration: none;
  padding: 0.4rem 0.875rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 0.5rem;
  transition: all 0.2s;
}

.flight-select-btn:hover { opacity: 0.9; }

/* Mode Selector */
#chat-mode-selector {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem;
  background: var(--bg-base);
}

.mode-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 0.25rem;
}

.mode-btn {
  display: flex; align-items: center; gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
  width: 100%;
}

.mode-btn:hover { border-color: var(--cyan-border); background: rgba(34,211,238,0.04); }
.mode-guided:hover { border-color: rgba(167,139,250,0.4); background: rgba(167,139,250,0.04); }

.mode-btn .mode-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}

.mode-auto .mode-icon { background: var(--cyan-dim); color: var(--cyan); border: 1px solid var(--cyan-border); }
.mode-guided .mode-icon { background: var(--purple-dim); color: var(--purple); border: 1px solid rgba(167,139,250,0.3); }

.mode-info { flex: 1; }
.mode-name { font-weight: 600; color: var(--text-primary); font-size: 0.875rem; }
.mode-desc { font-size: 0.75rem; color: var(--text-dim); margin-top: 0.125rem; }
.mode-arrow { color: var(--text-dim); font-size: 0.75rem; }

/* Chat Input Area */
#chat-input-area {
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  flex-shrink: 0;
}

#chat-quick-btns {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
}

.quick-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 0.375rem 0.75rem;
  border-radius: 20px;
  font-size: 0.775rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}

.quick-btn:hover { border-color: var(--cyan-border); color: var(--cyan); background: var(--cyan-dim); }

.chat-input-row {
  display: flex; gap: 0.5rem; align-items: center;
}

#chat-input {
  flex: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.625rem 1rem;
  color: var(--text-primary);
  font-size: 0.875rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}

#chat-input:focus { border-color: var(--cyan); }
#chat-input::placeholder { color: var(--text-dim); }

#chat-send-btn {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #080c18;
  border: none; cursor: pointer;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem;
  flex-shrink: 0;
  transition: all 0.2s;
}

#chat-send-btn:hover { transform: scale(1.08); }

/* ── Toast Notifications ───────────────────────────────────── */
.toast {
  position: fixed; top: 80px; right: 24px; z-index: 10000;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  box-shadow: var(--shadow-card);
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s;
  max-width: 320px;
}

.toast.show { opacity: 1; transform: translateY(0); }
.toast-success { border-color: rgba(40,200,64,0.4); }
.toast-error { border-color: rgba(255,80,80,0.4); }

/* ── Modal ─────────────────────────────────────────────────── */
body.dark-theme .modal {
  display: none;
  position: fixed; inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  align-items: center; justify-content: center;
}

body.dark-theme .modal.active,
body.dark-theme .modal[style*="block"] { display: flex; }

body.dark-theme .modal-content {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  width: 90%;
  max-width: 440px;
  overflow: hidden;
}

body.dark-theme .modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

body.dark-theme .modal-header h2 { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); }
body.dark-theme .modal-header .close { color: var(--text-dim); cursor: pointer; font-size: 1.25rem; }
body.dark-theme .modal-header .close:hover { color: var(--text-primary); }

body.dark-theme .modal-body { padding: 1.5rem; }

body.dark-theme .modal-body .form-group { margin-bottom: 1rem; }
body.dark-theme .modal-body label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

body.dark-theme .modal-body input {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}

body.dark-theme .modal-body input:focus { border-color: var(--cyan); }

body.dark-theme .btn-primary {
  display: flex; align-items: center; gap: 0.5rem;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #080c18;
  border: none; cursor: pointer;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 700;
  width: 100%;
  justify-content: center;
  transition: all 0.2s;
  margin-top: 0.5rem;
}

body.dark-theme .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(34,211,238,0.25); }

/* ── Form grid (search) ────────────────────────────────────── */
body.dark-theme .form-grid { display: flex; flex-direction: column; gap: 1rem; }

body.dark-theme .form-row {
  display: grid;
  gap: 0.75rem;
}

body.dark-theme .form-row.destinations { grid-template-columns: 1fr auto 1fr; align-items: end; }
body.dark-theme .form-row.dates { grid-template-columns: 1fr 1fr; }
body.dark-theme .form-row.passengers { grid-template-columns: 1fr 1fr 1fr; }
body.dark-theme .form-row.options { grid-template-columns: 1fr 1fr; }

body.dark-theme .input-with-icon { position: relative; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; gap: 2rem; }
  .ai-modes-grid { grid-template-columns: 1fr; }
  .agency-grid { grid-template-columns: 1fr; gap: 2rem; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  body.dark-theme .destinations-grid { grid-template-columns: 1fr 1fr; }
  body.dark-theme .destination-card.featured { grid-row: span 1; }
  .footer-container { grid-template-columns: 1fr 1fr; }
  .hero { padding: 4rem 0 3rem; }
  .ai-agent-banner { flex-direction: column; text-align: center; }
}

/* ── Agent Commission Program Section ──────────────────── */
.agent-program-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-surface) 100%);
}
.agent-program-header { text-align: center; margin-bottom: 3rem; }
.agent-program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.program-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.25s, transform 0.25s;
}
.program-card:hover { border-color: var(--cyan-border); transform: translateY(-4px); }
.program-card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--cyan-dim);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; color: var(--cyan);
  margin-bottom: 0.5rem;
}
.program-card h3 { font-size: 1rem; font-weight: 700; color: var(--text-primary); }
.program-card p  { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }
.program-card strong { color: var(--cyan); }
.program-example {
  margin-top: 0.75rem;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  padding: 0.875rem 1rem;
  font-size: 0.82rem;
}
.example-label { display: block; color: var(--text-dim); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 0.5rem; }
.example-row { display: flex; justify-content: space-between; color: var(--text-secondary); padding: 0.2rem 0; }
.example-row strong { color: var(--text-primary); }
.example-row.accent { color: var(--purple); }
.example-row.accent strong { color: var(--purple); }
.example-row.total strong { color: var(--cyan); font-size: 0.95rem; }
.program-pills { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; }
.pill { padding: 0.25rem 0.6rem; border-radius: 20px; font-size: 0.72rem; font-weight: 600; }
.pill-green  { background: rgba(16,185,129,0.15); color: #10b981; }
.pill-cyan   { background: var(--cyan-dim); color: var(--cyan); }
.pill-purple { background: var(--purple-dim); color: var(--purple); }
.program-api-snip { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.5rem; }
.program-api-snip code {
  display: block;
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.35rem 0.7rem;
  font-size: 0.72rem;
  color: var(--cyan);
  font-family: monospace;
}
/* Payment methods row */
.payment-methods-row {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}
.pm-title { font-weight: 700; color: var(--text-primary); margin-bottom: 1.5rem; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; }
.pm-grid { display: flex; justify-content: center; gap: 3rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.pm-item { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }
.pm-item span { font-weight: 600; color: var(--text-primary); font-size: 0.9rem; }
.pm-item small { color: var(--text-secondary); font-size: 0.78rem; }
.pm-note { color: var(--text-secondary); font-size: 0.83rem; }
.pm-note i { color: var(--cyan); margin-right: 0.3rem; }

@media (max-width: 900px) {
  .agent-program-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .agent-program-grid { grid-template-columns: 1fr; }
  .pm-grid { gap: 1.5rem; }
}

@media (max-width: 600px) {
  body.dark-theme .nav-menu { display: none; flex-direction: column; position: fixed; top: 60px; left: 0; right: 0; background: var(--bg-surface); padding: 1rem; gap: 0; border-bottom: 1px solid var(--border); }
  body.dark-theme .nav-menu.active { display: flex; }
  body.dark-theme .nav-menu li { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  body.dark-theme .destinations-grid { grid-template-columns: 1fr; }
  #chat-panel { width: calc(100vw - 32px); right: -12px; }
  body.dark-theme .form-row.destinations { grid-template-columns: 1fr; }
  body.dark-theme .form-row.passengers { grid-template-columns: 1fr 1fr; }
  .footer-container { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
