/* ═══════════════════════════════════════════════════════════════
   AI TRIP COST ESTIMATOR – style.css
   Theme: Navy #0F1B2D | Coral #FF6B6B | Gold #FFD700
═══════════════════════════════════════════════════════════════ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #F8F9FF;
  color: #1A2A3A;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── CSS Variables ── */
:root {
  /* ── Essential HSL Palette ── */
  --coral-h: 360;
  --coral-s: 71%;
  --coral-l: 66%;
  --coral: hsl(var(--coral-h), var(--coral-s), var(--coral-l)); /* #FF6B6B */
  --coral-light: hsl(var(--coral-h), var(--coral-s), 75%);
  --coral-dark: hsl(var(--coral-h), var(--coral-s), 55%);

  --navy-h: 222;
  --navy: hsl(var(--navy-h), 47%, 11%); /* #0F172A */
  --navy-mid: hsl(var(--navy-h), 47%, 18%);
  --navy-light: hsl(var(--navy-h), 47%, 25%);

  --gold: #FFD700;
  --teal: #4ECDC4;
  --slate: #94A3B8;

  /* ── Refined Neutrals ── */
  --bg: #F8FAFC;
  --bg-card: #FFFFFF;
  --surface: #F1F5F9;
  --border: #E2E8F0;
  --text-main: #1E293B;
  --text-muted: #64748B;
  --white: #FFFFFF;

  /* ── Spacing & Layout ── */
  --space-xs: 0.5rem;   /* 8px */
  --space-sm: 1rem;     /* 16px */
  --space-md: 1.5rem;   /* 24px */
  --space-lg: 2rem;     /* 32px */
  --space-xl: 3rem;     /* 48px */
  --space-2xl: 4rem;    /* 64px */

  /* ── Effects ── */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 12px -2px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  
  /* ── Glass Morph ── */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-blur: blur(12px);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Utility ── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: var(--space-sm);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: var(--space-sm);
}

.gradient-text {
  background: linear-gradient(135deg, var(--coral) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ════════════════════════════════════════
   NAVBAR
════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1200px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  z-index: 1000;
  padding: 0 32px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}

.nav-inner {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  font-size: 1.5rem;
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}

.logo-text.white {
  color: #fff;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: #fff;
}

.nav-cta {
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  color: #fff;
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 107, 0.5);
}

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(15, 27, 45, 0.85) 0%, rgba(15, 27, 45, 0.6) 40%, rgba(15, 27, 45, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
  padding: 0 24px;
  animation: fadeUp 0.9s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.25);
  color: var(--coral);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 10px var(--coral);
  animation: pulse 1.5s infinite;
}

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

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: var(--space-sm);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-xl);
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--coral), #FF8E53);
  color: #fff;
  border: none;
  padding: 15px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(255, 107, 107, 0.5);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 15px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-icon {
  width: 18px;
  height: 18px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  padding: 20px 48px;
  border-radius: 60px;
  gap: 40px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold);
}

.stat-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.scroll-indicator {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 2px;
  animation: scrollBounce 1.6s infinite;
}

@keyframes scrollBounce {

  0%,
  100% {
    top: 6px;
    opacity: 1;
  }

  70% {
    top: 18px;
    opacity: 0.2;
  }
}

/* ════════════════════════════════════════
   SECTION COMMONS
════════════════════════════════════════ */
.planner-section {
  padding: 100px 0 80px;
  position: relative;
  transition: background var(--transition);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transition: background-image 0.5s ease;
}

.planner-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(248, 250, 252, 0.85); /* Default light overlay */
  z-index: 0;
  transition: background var(--transition);
}

.planner-section.has-bg {
  /* Removed filters to keep images natural and clear */
}

.planner-section.has-bg::before {
  background: rgba(10, 15, 30, 0.2); /* Very light overlay for maximum brightness */
}

.planner-section > .container {
  position: relative;
  z-index: 1;
}

.destinations-section {
  padding: 80px 0;
  background: var(--navy);
}

.how-section {
  padding: 80px 0;
}

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

.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.12), rgba(255, 215, 0, 0.12));
  border: 1px solid rgba(255, 107, 107, 0.25);
  color: var(--coral);
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -1px;
  margin-bottom: 12px;
  line-height: 1.2;
}

.destinations-section .section-title {
  color: #fff;
}

.how-section .section-title {
  color: var(--navy);
}

.dest-flair {
  margin-top: 20px;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  padding: 12px 24px;
  border-radius: 50px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  animation: slideDown 0.5s ease forwards;
}

.flair-quote {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--coral);
  font-style: italic;
}

.flair-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.destinations-section .section-sub {
  color: rgba(255, 255, 255, 0.6);
}

/* ════════════════════════════════════════
   PLANNER CARD
════════════════════════════════════════ */
.planner-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-xl);
  padding: var(--space-lg) var(--space-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--glass-border);
  max-width: 820px;
  margin: 0 auto var(--space-2xl);
  position: relative;
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

.form-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.btn-text-toggle {
  background: none;
  border: none;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--coral);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-text-toggle:hover {
  background: rgba(255, 107, 107, 0.1);
}

.label-icon {
  width: 15px;
  height: 15px;
  color: var(--coral);
}

.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: '▾';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  font-size: 0.9rem;
}

.form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text-main);
  background: var(--bg);
  appearance: none;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-select:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.12);
}

/* ── Slider ── */
.days-input-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.slider {
  appearance: none;
  -webkit-appearance: none;
  flex: 1;
  height: 5px;
  border-radius: 5px;
  background: linear-gradient(to right, var(--coral) 0%, var(--coral) var(--val, 17%), var(--border) var(--val, 17%));
  outline: none;
  cursor: pointer;
  transition: background var(--transition);
}

.slider::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--coral);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
  cursor: pointer;
  transition: transform var(--transition);
}

.slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.days-unit {
  font-size: 0.8rem;
  font-weight: 600;
}

/* ── Trip Style Group ── */
.trip-style-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.style-option {
  cursor: pointer;
  position: relative;
}

.style-option input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.style-box {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 12px 8px;
  text-align: center;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 2px;
  height: 100%;
}

.style-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

.style-desc {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.style-option input:checked + .style-box {
  border-color: var(--coral);
  background: rgba(255, 107, 107, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.15);
}

.style-option:hover .style-box {
  border-color: var(--coral-light);
}

/* ── Stepper ── */
.stepper {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: fit-content;
}

.stepper-btn {
  background: var(--bg);
  border: none;
  width: 42px;
  height: 46px;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--coral);
  cursor: pointer;
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stepper-btn:hover {
  background: rgba(255, 107, 107, 0.08);
}

.stepper-value {
  min-width: 44px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  border-left: 1.5px solid var(--border);
  border-right: 1.5px solid var(--border);
  padding: 0 4px;
  line-height: 46px;
}

/* ── Demographics & Duration ── */
.demographics-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.total-travelers-row {
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border);
  margin-bottom: 4px;
}

.total-stepper {
  background: rgba(255, 107, 107, 0.03);
  border-color: rgba(255, 107, 107, 0.3);
}

.demographics-wrap {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.stepper-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stepper-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* ── Meal toggle ── */
.meal-toggle-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.meal-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  user-select: none;
  background: var(--white);
}

.meal-toggle.active {
  border-color: var(--coral);
  background: rgba(255, 107, 107, 0.05);
  color: var(--coral);
  transform: scale(1.05);
  box-shadow: var(--shadow-sm);
}

.meal-icon {
  font-size: 1rem;
}

.meal-check {
  display: none;
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--coral);
}

.meal-toggle.active .meal-check {
  display: block;
}

/* ── Meal checkbox ── */

/* ── Compare toggle ── */
.compare-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  margin-bottom: 28px;
  border: 1.5px solid var(--border);
}

.toggle-switch-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-track {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 13px;
  cursor: pointer;
  transition: background var(--transition);
}

.toggle-switch input:checked+.toggle-track {
  background: var(--coral);
}

.toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--transition);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.toggle-switch input:checked+.toggle-track .toggle-thumb {
  transform: translateX(22px);
}

/* ── Estimate Button ── */
.btn-estimate {
  width: 100%;
  padding: 17px;
  background: linear-gradient(135deg, var(--coral), #FF8E53);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 6px 24px rgba(255, 107, 107, 0.4);
}

.btn-estimate:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(255, 107, 107, 0.5);
}

.btn-estimate:active {
  transform: translateY(0);
}

.btn-estimate .btn-icon {
  width: 20px;
  height: 20px;
}

/* ════════════════════════════════════════
   OUTPUT SECTION
════════════════════════════════════════ */
.output-section {
  max-width: 1100px;
  margin: 0 auto;
  display: none;
}

.output-section.visible {
  display: block;
  animation: fadeUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Loading ── */
.loading-state {
  text-align: center;
  padding: 60px 0;
  display: none;
}

.loading-state.active {
  display: block;
}

.loader-ring {
  width: 56px;
  height: 56px;
  border: 4px solid var(--border);
  border-top-color: var(--coral);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 20px;
}

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

.loading-text {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 1rem;
}

/* ── Results Grid ── */
.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  display: none;
}

.results-grid.visible {
  display: grid;
}

.result-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.result-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ── Total Cost Card ── */
.total-cost-card {
  grid-column: 1 / -1;
  background: radial-gradient(circle at 0% 0%, var(--navy) 0%, var(--navy-mid) 100%);
  border-color: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.total-cost-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 107, 107, 0.2), transparent 70%);
  filter: blur(40px);
}

.total-cost-card::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(78, 205, 196, 0.15), transparent 70%);
  filter: blur(30px);
}

.total-cost-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.result-tag {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.6);
}

.currency-badge {
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: var(--gold);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
}

.total-amount {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 8px;
}

.cost-range {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}

.cost-meta {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ── Compare Cards ── */
.compare-cards {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.compare-cards.visible {
  display: grid;
}

.compare-item {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.budget-compare {
  background: rgba(78, 205, 196, 0.12);
  border: 1px solid rgba(78, 205, 196, 0.25);
}

.luxury-compare {
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.25);
}

.compare-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 6px;
}

.compare-price {
  font-size: 1.4rem;
  font-weight: 800;
}

.budget-compare .compare-price {
  color: var(--teal);
}

.luxury-compare .compare-price {
  color: #A78BFA;
}

/* ── Chart Card ── */
.chart-card {
  display: flex;
  flex-direction: column;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.card-icon {
  width: 18px;
  height: 18px;
  color: var(--coral);
}

.card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.chart-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 220px;
}

.chart-container canvas {
  max-height: 200px !important;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Insights ── */
.insights-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.insight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  line-height: 1.5;
  font-weight: 500;
}

.insight-item.tip {
  background: rgba(16, 185, 129, 0.07);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #047857;
}

.insight-item.warn {
  background: rgba(255, 107, 107, 0.07);
  border: 1px solid rgba(255, 107, 107, 0.2);
  color: #B91C1C;
}

.insight-item.info {
  background: rgba(78, 205, 196, 0.07);
  border: 1px solid rgba(78, 205, 196, 0.2);
  color: #0F766E;
}

.insight-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Suggestions ── */
.suggestions-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.suggestion-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  gap: 12px;
  cursor: pointer;
  transition: all var(--transition);
}

.suggestion-item:hover {
  border-color: var(--coral);
  background: rgba(255, 107, 107, 0.04);
  transform: translateX(4px);
}

.sugg-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
}

.sugg-save {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green);
  background: rgba(16, 185, 129, 0.1);
  padding: 3px 10px;
  border-radius: 50px;
  white-space: nowrap;
}

/* ── Breakdown Table ── */
.breakdown-table-card {
  grid-column: 1 / -1;
}

.breakdown-table {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.breakdown-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.breakdown-row:last-child {
  border-bottom: none;
}

.br-icon {
  font-size: 1.2rem;
}

.br-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.br-bar-wrap {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.br-bar {
  height: 100%;
  border-radius: 3px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.br-amount {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: right;
  white-space: nowrap;
}

.br-pct {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: right;
  min-width: 36px;
}

/* ════════════════════════════════════════
   DESTINATIONS
════════════════════════════════════════ */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.dest-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.dest-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.dest-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.dest-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.dest-card:hover .dest-img {
  transform: scale(1.07);
}

.dest-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 27, 45, 0.7), transparent 60%);
}

.dest-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--coral);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.dest-badge.adventure {
  background: #F59E0B;
}

.dest-badge.serene {
  background: var(--teal);
  color: var(--navy);
}

.dest-body {
  padding: 20px 22px 24px;
}

.dest-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.dest-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 16px;
  line-height: 1.5;
}

.dest-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.dest-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.meta-icon {
  font-size: 0.85rem;
}

.meta-text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

.meta-text strong {
  color: var(--gold);
}

.dest-activities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.activity-tag {
  font-size: 0.72rem;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.7);
}

.dest-plan-btn {
  width: 100%;
  padding: 11px;
  background: transparent;
  border: 1.5px solid rgba(255, 107, 107, 0.5);
  border-radius: var(--radius-sm);
  color: var(--coral);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.dest-plan-btn:hover {
  background: var(--coral);
  color: #fff;
}

/* ════════════════════════════════════════
   HOW IT WORKS
════════════════════════════════════════ */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 16px;
}

.step-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.step-number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(135deg, var(--coral), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.step-icon-wrap {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(255, 215, 0, 0.1));
  border: 1px solid rgba(255, 107, 107, 0.2);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

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

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

.step-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 48px;
}

.connector-arrow {
  width: 28px;
  height: 28px;
  color: var(--border);
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.footer {
  background: var(--navy);
  padding: 64px 0 0;
}

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

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
  max-width: 320px;
}

.footer-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-link:hover {
  color: var(--coral);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 900px) {
  .planner-card {
    padding: 28px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .total-cost-card,
  .breakdown-table-card {
    grid-column: 1 / -1;
  }

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

  .step-connector {
    transform: rotate(90deg);
    padding: 0;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .hero-stats {
    flex-direction: column;
    gap: 12px;
    padding: 20px 32px;
    border-radius: 24px;
  }

  .stat-divider {
    width: 80px;
    height: 1px;
  }

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

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

  .compare-cards {
    grid-template-columns: 1fr;
  }
}