/* ============================================================
   TripRouter — AI Seyahat Planlayıcı
   Holiday & Vacation Theme — Full Redesign
   ============================================================ */

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

:root {
  /* === Vacation Color Palette === */
  --sunset-1: #ff6b35;
  --sunset-2: #f7931e;
  --sunset-3: #ffd700;
  --ocean-1: #0891b2;
  --ocean-2: #06b6d4;
  --ocean-3: #67e8f9;
  --tropical-1: #10b981;
  --tropical-2: #34d399;
  --night-1: #0f172a;
  --night-2: #1e293b;
  --night-3: #334155;

  /* App colors */
  --color-bg: #070d1a;
  --color-surface: rgba(255,255,255,0.05);
  --color-surface-hover: rgba(255,255,255,0.08);
  --color-border: rgba(255,255,255,0.09);
  --color-border-hover: rgba(255,255,255,0.2);

  --color-primary: #f97316;
  --color-primary-light: #fb923c;
  --color-secondary: #06b6d4;
  --color-accent: #ec4899;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-error: #ef4444;

  --color-text: #f8fafc;
  --color-text-muted: #94a3b8;
  --color-text-dim: #475569;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #f97316, #ec4899);
  --grad-ocean: linear-gradient(135deg, #0891b2, #06b6d4, #67e8f9);
  --grad-sunset: linear-gradient(135deg, #f97316, #fbbf24, #fb923c);
  --grad-tropical: linear-gradient(135deg, #10b981, #06b6d4);
  --grad-hero: linear-gradient(135deg, #f97316 0%, #ec4899 50%, #8b5cf6 100%);
  --grad-card: linear-gradient(135deg, rgba(249,115,22,0.06), rgba(236,72,153,0.03));

  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px;
  --radius-xl: 24px; --radius-2xl: 32px; --radius-full: 9999px;

  --shadow-card: 0 8px 40px rgba(0,0,0,0.5), 0 1px 0 rgba(255,255,255,0.06) inset;
  --shadow-btn: 0 4px 20px rgba(249,115,22,0.45);
  --shadow-glow: 0 0 40px rgba(249,115,22,0.2);

  --transition-fast: 150ms cubic-bezier(0.4,0,0.2,1);
  --transition-base: 280ms cubic-bezier(0.4,0,0.2,1);
  --transition-slow: 500ms cubic-bezier(0.4,0,0.2,1);
  --transition-bounce: 400ms cubic-bezier(0.34,1.56,0.64,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================================================
   ANIMATED VACATION SCENE BACKGROUND
   ============================================================ */

.scene-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Sky layers */
.sky-layer {
  position: absolute;
  inset: 0;
}

.sky-1 {
  background: linear-gradient(
    180deg,
    #0a0f1e 0%,
    #0d1b3e 20%,
    #1a1040 40%,
    #2d1b5e 55%,
    #6b2d6b 70%,
    #c2510c 82%,
    #e8892a 90%,
    #f7c24a 100%
  );
}

.sky-2 {
  background: radial-gradient(ellipse 60% 30% at 50% 85%, rgba(255,120,50,0.25) 0%, transparent 70%);
}

/* Sun */
.sun-wrapper {
  position: absolute;
  bottom: 18%;
  left: 50%;
  transform: translateX(-50%);
}

.sun {
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, #fffde7 0%, #ffd54f 40%, #ff8f00 80%, transparent 100%);
  border-radius: 50%;
  box-shadow:
    0 0 0 20px rgba(255,213,79,0.08),
    0 0 0 40px rgba(255,160,0,0.05),
    0 0 0 80px rgba(255,111,0,0.04),
    0 0 80px rgba(255,200,0,0.6);
  animation: sunPulse 6s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

@keyframes sunPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 20px rgba(255,213,79,0.08), 0 0 0 40px rgba(255,160,0,0.05), 0 0 80px rgba(255,200,0,0.6); }
  50%       { transform: scale(1.06); box-shadow: 0 0 0 30px rgba(255,213,79,0.12), 0 0 0 60px rgba(255,160,0,0.07), 0 0 120px rgba(255,200,0,0.8); }
}

.sun-rays {
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg, rgba(255,220,100,0.15) 10deg,
    transparent 20deg, rgba(255,220,100,0.1) 30deg,
    transparent 40deg, rgba(255,220,100,0.15) 50deg,
    transparent 60deg, rgba(255,220,100,0.1) 70deg,
    transparent 80deg, rgba(255,220,100,0.15) 90deg,
    transparent 100deg, rgba(255,220,100,0.1) 110deg,
    transparent 120deg, rgba(255,220,100,0.15) 130deg,
    transparent 140deg, rgba(255,220,100,0.1) 150deg,
    transparent 160deg, rgba(255,220,100,0.15) 170deg,
    transparent 180deg, rgba(255,220,100,0.1) 190deg,
    transparent 200deg, rgba(255,220,100,0.15) 210deg,
    transparent 220deg, rgba(255,220,100,0.1) 230deg,
    transparent 240deg, rgba(255,220,100,0.15) 250deg,
    transparent 260deg, rgba(255,220,100,0.1) 270deg,
    transparent 280deg, rgba(255,220,100,0.15) 290deg,
    transparent 300deg, rgba(255,220,100,0.1) 310deg,
    transparent 320deg, rgba(255,220,100,0.15) 330deg,
    transparent 340deg, rgba(255,220,100,0.1) 350deg,
    transparent 360deg
  );
  animation: raysRotate 20s linear infinite;
}

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

/* Stars */
.stars {
  position: absolute;
  inset: 0;
  top: 0;
  height: 55%;
}

.star {
  position: absolute;
  background: white;
  border-radius: 50%;
  animation: starTwinkle var(--dur, 3s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

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

/* Clouds */
.cloud {
  position: absolute;
  font-size: 2.5rem;
  opacity: 0.55;
  filter: blur(0.5px);
  animation: cloudDrift linear infinite;
}

.cloud-1 { top: 12%; animation-duration: 60s; animation-delay: 0s;   font-size: 3rem; }
.cloud-2 { top: 18%; animation-duration: 80s; animation-delay: -20s; font-size: 2rem; opacity: 0.4; }
.cloud-3 { top: 8%;  animation-duration: 50s; animation-delay: -35s; font-size: 2.5rem; }
.cloud-4 { top: 25%; animation-duration: 90s; animation-delay: -10s; font-size: 1.8rem; opacity: 0.35; }

@keyframes cloudDrift {
  from { transform: translateX(-150px); }
  to   { transform: translateX(calc(100vw + 150px)); }
}

/* Floating travel elements */
.float-elem {
  position: absolute;
  animation: floatElem linear infinite;
  opacity: 0.7;
}

.plane   { font-size: 1.8rem; top: 22%; animation-duration: 25s; animation-delay: -5s; }
.balloon { font-size: 2rem;   top: 35%; animation-duration: 35s; animation-delay: -12s; opacity: 0.5; }
.compass { font-size: 1.4rem; top: 42%; animation-duration: 45s; animation-delay: -20s; opacity: 0.4; }
.map     { font-size: 1.3rem; top: 28%; animation-duration: 55s; animation-delay: -30s; opacity: 0.35; }
.camera  { font-size: 1.2rem; top: 48%; animation-duration: 40s; animation-delay: -8s;  opacity: 0.4; }
.palm    { font-size: 3rem;   bottom: 17%; left: 5%;  animation: palmSway 5s ease-in-out infinite; }

@keyframes floatElem {
  from { transform: translateX(-80px) rotate(-5deg); }
  to   { transform: translateX(calc(100vw + 80px)) rotate(5deg); }
}

@keyframes palmSway {
  0%, 100% { transform: rotate(-5deg) translateY(0); }
  50%       { transform: rotate(5deg) translateY(-8px); }
}

/* Second palm on right */
.float-elem.palm:last-of-type {
  left: auto; right: 4%;
  animation-delay: -2.5s;
  transform: scaleX(-1);
}

/* Ocean / Waves */
.ocean {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 20%;
}

.wave {
  position: absolute;
  bottom: 0;
  left: -10%;
  width: 120%;
  border-radius: 50% 50% 0 0;
}

.wave-1 {
  height: 80px;
  background: linear-gradient(180deg, rgba(6,182,212,0.35) 0%, rgba(8,145,178,0.6) 100%);
  animation: wavePush 8s ease-in-out infinite;
}
.wave-2 {
  height: 60px;
  background: linear-gradient(180deg, rgba(6,182,212,0.2) 0%, rgba(8,145,178,0.45) 100%);
  animation: wavePush 10s ease-in-out infinite reverse;
  animation-delay: -3s;
}
.wave-3 {
  height: 40px;
  background: linear-gradient(180deg, rgba(6,182,212,0.1) 0%, rgba(8,145,178,0.3) 100%);
  animation: wavePush 12s ease-in-out infinite;
  animation-delay: -6s;
}

@keyframes wavePush {
  0%, 100% { transform: translateX(0) scaleY(1); }
  25%       { transform: translateX(3%) scaleY(1.05); }
  50%       { transform: translateX(-2%) scaleY(0.95); }
  75%       { transform: translateX(2%) scaleY(1.03); }
}

/* ============================================================
   HEADER
   ============================================================ */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  background: rgba(7, 13, 26, 0.75);
  border-bottom: 1px solid rgba(249,115,22,0.15);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon {
  width: 38px; height: 38px;
  filter: drop-shadow(0 0 12px rgba(249,115,22,0.6));
}

.logo-icon svg { width: 100%; height: 100%; }

.logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  background: var(--grad-sunset);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.logo-badge {
  background: var(--grad-primary);
  color: white;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  letter-spacing: 0.08em;
  box-shadow: 0 0 10px rgba(249,115,22,0.5);
}

.header-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.nav-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  font-family: inherit;
}

.nav-btn:hover {
  color: var(--color-text);
  background: rgba(249,115,22,0.1);
  border-color: rgba(249,115,22,0.2);
}

.nav-btn.active {
  color: white;
  background: rgba(249,115,22,0.15);
  border-color: rgba(249,115,22,0.35);
  box-shadow: 0 0 12px rgba(249,115,22,0.15);
}

.header-weather {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */

.main-content {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px 80px;
}

.section { display: none; }
.section.active { display: block; }

/* ============================================================
   HERO
   ============================================================ */

.hero {
  text-align: center;
  padding: 72px 0 48px;
  position: relative;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249,115,22,0.12);
  border: 1px solid rgba(249,115,22,0.3);
  color: #fb923c;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  letter-spacing: 0.04em;
  animation: fadeDown 0.6s ease both;
}

.tag-dot {
  width: 7px; height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: dotPulse 2s ease-in-out infinite;
}

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

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  animation: fadeDown 0.6s ease 0.1s both;
}

.gradient-text {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  position: relative;
}

.gradient-text::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 3px;
  background: var(--grad-hero);
  border-radius: 2px;
  animation: underlineGrow 0.8s ease 0.5s both;
  transform-origin: left;
}

@keyframes underlineGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.75;
  animation: fadeDown 0.6s ease 0.2s both;
}

/* Hero stats */
.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-full);
  padding: 10px 24px;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  animation: fadeDown 0.6s ease 0.3s both;
  flex-wrap: wrap;
  justify-content: center;
}

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

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

.hero-stat-divider {
  width: 1px; height: 16px;
  background: rgba(255,255,255,0.12);
  margin: 0 8px;
}

/* Trending destinations */
.trending-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  animation: fadeDown 0.6s ease 0.4s both;
}

.trending-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.trending-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.trend-chip {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--color-text-muted);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-bounce);
  font-family: inherit;
  white-space: nowrap;
}

.trend-chip:hover {
  background: rgba(249,115,22,0.15);
  border-color: rgba(249,115,22,0.4);
  color: #fb923c;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(249,115,22,0.2);
}

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

/* ============================================================
   GLASS CARD
   ============================================================ */

.glass-card {
  background: rgba(15, 20, 40, 0.7);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(249,115,22,0.12);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-card);
  pointer-events: none;
}

/* ============================================================
   PLANNER FORM
   ============================================================ */

.planner-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.planner-card { padding: 32px; }

.form-section {
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  animation: fadeDown 0.4s ease both;
}

.form-section:last-child { border-bottom: none; padding-bottom: 0; }
.form-section:first-child { padding-top: 0; }

.section-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.step-badge {
  width: 36px; height: 36px;
  background: var(--grad-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(249,115,22,0.5);
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
}

.section-desc {
  font-size: 0.83rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* ============================================================
   FORM ELEMENTS
   ============================================================ */

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  font-size: 1rem;
  pointer-events: none;
  z-index: 1;
}

.form-input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: 0.95rem;
  font-family: inherit;
  padding: 12px 16px;
  transition: all var(--transition-base);
  outline: none;
  -webkit-appearance: none;
}

.input-wrapper .form-input { padding-left: 44px; }

.form-input::placeholder { color: var(--color-text-dim); }

.form-input:hover {
  border-color: rgba(249,115,22,0.25);
  background: rgba(255,255,255,0.07);
}

.form-input:focus {
  border-color: rgba(249,115,22,0.5);
  background: rgba(249,115,22,0.05);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.1);
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  color-scheme: dark;
}

.form-textarea { resize: vertical; min-height: 80px; line-height: 1.6; }

input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1) opacity(0.5);
  cursor: pointer;
}

/* Duration badge */
.duration-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.25);
  color: #34d399;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 12px;
  animation: fadeDown 0.3s ease both;
}

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

.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* ============================================================
   DESTINATIONS
   ============================================================ */

.destination-input-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.destination-input-row .input-wrapper { flex: 1; }

.destinations-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.destination-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249,115,22,0.12);
  border: 1px solid rgba(249,115,22,0.3);
  color: #fb923c;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  animation: chipBounce 0.3s cubic-bezier(0.34,1.56,0.64,1) both;
  transition: all var(--transition-fast);
}

@keyframes chipBounce {
  from { opacity: 0; transform: scale(0.6) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.destination-chip:hover {
  background: rgba(239,68,68,0.12);
  border-color: rgba(239,68,68,0.3);
  color: #fca5a5;
}

.chip-remove {
  background: none; border: none; cursor: pointer;
  color: inherit; font-size: 0.9rem;
  opacity: 0.7; transition: opacity var(--transition-fast);
  line-height: 1; padding: 0;
  display: flex; align-items: center;
}

.chip-remove:hover { opacity: 1; }

.empty-destinations {
  text-align: center;
  padding: 24px;
  color: var(--color-text-dim);
  font-size: 0.9rem;
}

.empty-icon-anim {
  font-size: 2.5rem;
  margin-bottom: 8px;
  animation: globeSpin 8s linear infinite;
  display: inline-block;
}

@keyframes globeSpin {
  0%, 100% { transform: rotate(-8deg) scale(1); }
  25%       { transform: rotate(0deg) scale(1.1); }
  50%       { transform: rotate(8deg) scale(1); }
  75%       { transform: rotate(0deg) scale(0.95); }
}

/* ============================================================
   DETAILS GRID
   ============================================================ */

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

/* ============================================================
   COUNTER
   ============================================================ */

.counter-input {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  width: fit-content;
  min-width: 120px;
  justify-content: space-between;
}

.counter-btn {
  width: 30px; height: 30px;
  background: rgba(249,115,22,0.15);
  border: 1px solid rgba(249,115,22,0.3);
  border-radius: 50%;
  color: #fb923c;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-bounce);
  line-height: 1;
}

.counter-btn:hover {
  background: rgba(249,115,22,0.3);
  transform: scale(1.15);
}

.counter-value {
  font-size: 1.15rem;
  font-weight: 800;
  min-width: 28px;
  text-align: center;
  color: white;
}

/* ============================================================
   BUDGET
   ============================================================ */

.budget-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.budget-option {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 16px 10px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.budget-option::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.budget-option:hover {
  border-color: rgba(249,115,22,0.35);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(249,115,22,0.15);
}

.budget-option.active {
  border-color: rgba(249,115,22,0.6);
  background: rgba(249,115,22,0.1);
  box-shadow: 0 0 20px rgba(249,115,22,0.2);
}

.budget-icon { font-size: 1.6rem; margin-bottom: 6px; }
.budget-label { font-size: 0.85rem; font-weight: 700; color: white; }
.budget-desc  { font-size: 0.72rem; color: var(--color-text-muted); margin-top: 2px; }
.budget-range { font-size: 0.68rem; color: rgba(249,115,22,0.8); font-weight: 600; margin-top: 4px; }

/* ============================================================
   SERVICES
   ============================================================ */

.services-section { margin-top: 16px; }

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.service-toggle { cursor: pointer; }
.service-toggle input { display: none; }

.service-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  color: var(--color-text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  transition: all var(--transition-bounce);
  user-select: none;
}

.service-toggle input:checked + .service-chip {
  background: rgba(249,115,22,0.12);
  border-color: rgba(249,115,22,0.35);
  color: #fb923c;
  box-shadow: 0 0 12px rgba(249,115,22,0.12);
}

.service-chip:hover {
  border-color: rgba(249,115,22,0.25);
  color: var(--color-text);
  transform: translateY(-1px);
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  border-radius: var(--radius-md);
  transition: all var(--transition-bounce);
  text-decoration: none;
  outline: none;
  white-space: nowrap;
}

.btn:active { transform: scale(0.96); }

.btn-add {
  background: var(--grad-primary);
  color: white;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-btn);
  flex-shrink: 0;
}

.btn-add:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(249,115,22,0.55);
}

.generate-section {
  padding-top: 28px;
  text-align: center;
}

.btn-generate {
  width: 100%;
  background: var(--grad-primary);
  color: white;
  padding: 20px 40px;
  border-radius: var(--radius-xl);
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: 0 4px 30px rgba(249,115,22,0.5), 0 0 0 1px rgba(255,255,255,0.08) inset;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}

.btn-generate::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transition: left 0.5s;
}

.btn-generate:hover::before { left: 100%; }

.btn-generate:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(249,115,22,0.65), 0 0 0 1px rgba(255,255,255,0.08) inset;
}

.btn-generate:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.btn-icon { font-size: 1.15rem; }

.btn-sparkle {
  font-size: 1rem;
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { transform: rotate(0deg) scale(1); }
  25%       { transform: rotate(20deg) scale(1.3); }
  75%       { transform: rotate(-20deg) scale(0.8); }
}

.generate-hint {
  font-size: 0.78rem;
  color: var(--color-text-dim);
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.free-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.3);
  color: #34d399;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--grad-primary);
  color: white;
  padding: 12px 24px;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(249,115,22,0.5);
}

.btn-secondary {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--color-text);
  padding: 12px 24px;
}

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

/* ============================================================
   RESPONSE AREA
   ============================================================ */

.response-card { padding: 32px; }

/* Loading */
.loading-state { text-align: center; padding: 48px 0; }

.loading-scene {
  position: relative;
  margin: 0 auto 24px;
  width: 200px;
  height: 60px;
}

.loading-plane-track {
  width: 200px;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(249,115,22,0.4), transparent);
  border-radius: 2px;
  position: relative;
  top: 28px;
}

.loading-plane-emoji {
  position: absolute;
  font-size: 2rem;
  top: -18px;
  animation: planeFly 2s ease-in-out infinite;
}

@keyframes planeFly {
  0%   { left: -20px; transform: rotate(-5deg); }
  50%  { left: calc(100% - 30px); transform: rotate(5deg); }
  51%  { opacity: 0; left: calc(100%); }
  52%  { left: -20px; opacity: 0; }
  53%  { opacity: 1; }
  100% { left: -20px; transform: rotate(-5deg); }
}

.loading-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 32px;
}

.loading-dots span {
  width: 8px; height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: dotBounce 1.2s ease-in-out infinite;
}

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

@keyframes dotBounce {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50%       { transform: translateY(-10px); opacity: 1; }
}

.loading-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.loading-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 340px;
  margin: 0 auto;
  text-align: left;
}

.loading-step {
  font-size: 0.85rem;
  color: var(--color-text-dim);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  border: 1px solid transparent;
}

.loading-step.active {
  color: #fb923c;
  background: rgba(249,115,22,0.1);
  border-color: rgba(249,115,22,0.2);
}

.loading-step.done {
  color: var(--color-success);
  background: rgba(16,185,129,0.08);
  border-color: rgba(16,185,129,0.15);
}

/* Result */
.result-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.result-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249,115,22,0.12);
  border: 1px solid rgba(249,115,22,0.3);
  color: #fb923c;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
}

.result-actions { display: flex; gap: 8px; }

.action-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1rem;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.action-btn:hover {
  background: rgba(249,115,22,0.15);
  border-color: rgba(249,115,22,0.3);
  transform: translateY(-1px);
}

/* Result content markdown */
.result-content {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text);
}

.result-content h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fb923c;
  margin: 24px 0 14px;
  letter-spacing: -0.02em;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(249,115,22,0.2);
}

.result-content h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin: 20px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.result-content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 16px 0 8px;
}

.result-content p { margin-bottom: 14px; }
.result-content strong { color: white; font-weight: 700; }
.result-content em { color: #fb923c; font-style: normal; }

.result-content ul, .result-content ol {
  padding-left: 24px;
  margin-bottom: 14px;
}

.result-content li { margin-bottom: 6px; }

.result-content code {
  background: rgba(249,115,22,0.12);
  border: 1px solid rgba(249,115,22,0.2);
  color: #fb923c;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.result-content blockquote {
  border-left: 3px solid #f97316;
  background: rgba(249,115,22,0.07);
  padding: 14px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 14px 0;
  color: var(--color-text-muted);
  font-style: italic;
}

.result-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 0.875rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.result-content th {
  background: rgba(249,115,22,0.15);
  border: 1px solid rgba(249,115,22,0.2);
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
  color: #fb923c;
}

.result-content td {
  border: 1px solid rgba(255,255,255,0.06);
  padding: 10px 14px;
  color: var(--color-text-muted);
}

.result-content tr:nth-child(even) td {
  background: rgba(255,255,255,0.02);
}

.result-content tr:hover td {
  background: rgba(249,115,22,0.04);
}

.result-content hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin: 20px 0;
}

.result-footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 20px;
}

/* Error state */
.error-state {
  text-align: center;
  padding: 48px 0;
  color: var(--color-text-muted);
}

.error-icon { font-size: 3rem; margin-bottom: 14px; }
.error-state h3 { font-size: 1.2rem; font-weight: 700; color: var(--color-error); margin-bottom: 8px; }
.error-state p  { margin-bottom: 20px; font-size: 0.9rem; }

/* ============================================================
   EXPLORE SECTION
   ============================================================ */

.explore-header {
  padding: 64px 0 40px;
  text-align: center;
}

.section-page-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.section-page-desc {
  color: var(--color-text-muted);
  font-size: 1rem;
}

.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.explore-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  height: 200px;
  transition: all var(--transition-bounce);
  border: 1px solid rgba(255,255,255,0.08);
}

.explore-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  border-color: rgba(255,255,255,0.2);
}

.explore-card-bg {
  position: absolute;
  inset: 0;
  opacity: 0.7;
  transition: opacity var(--transition-base);
}

.explore-card:hover .explore-card-bg { opacity: 0.9; }

.explore-card-content {
  position: relative;
  z-index: 1;
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
}

.explore-emoji {
  font-size: 2.8rem;
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
  transition: transform var(--transition-bounce);
}

.explore-card:hover .explore-emoji { transform: scale(1.2) rotate(-5deg); }

.explore-card-content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: white;
  margin-bottom: 2px;
}

.explore-card-content p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 10px;
}

.explore-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.explore-tags span {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
}

/* ============================================================
   MY TRIPS
   ============================================================ */

.trips-header {
  padding: 64px 0 40px;
  text-align: center;
}

.trips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.trip-card {
  background: rgba(15,20,40,0.7);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-bounce);
  animation: fadeDown 0.3s ease both;
}

.trip-card:hover {
  transform: translateY(-5px);
  border-color: rgba(249,115,22,0.35);
  box-shadow: 0 16px 50px rgba(249,115,22,0.15);
}

.trip-card-header {
  background: var(--grad-primary);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.trip-card-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 60%);
}

.trip-card-emoji { font-size: 2.5rem; margin-bottom: 8px; }
.trip-card-title { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.1rem; color: white; }
.trip-card-subtitle { font-size: 0.78rem; color: rgba(255,255,255,0.75); margin-top: 4px; }

.trip-card-body { padding: 16px; }

.trip-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.trip-meta-chip {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.73rem;
  color: var(--color-text-muted);
}

.trip-card-actions { display: flex; gap: 8px; }

.trip-action-btn {
  flex: 1;
  padding: 9px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.trip-action-btn:hover {
  background: rgba(249,115,22,0.12);
  border-color: rgba(249,115,22,0.3);
  color: #fb923c;
}

.trip-action-btn.danger:hover {
  background: rgba(239,68,68,0.12);
  border-color: rgba(239,68,68,0.3);
  color: #fca5a5;
}

.empty-trips {
  display: none;
  text-align: center;
  padding: 80px 0;
  color: var(--color-text-muted);
}

.empty-trips.visible { display: block; }

.empty-illustration {
  font-size: 5rem;
  margin-bottom: 16px;
  animation: globeSpin 8s ease-in-out infinite;
  display: inline-block;
}

.empty-trips h3 { font-family: 'Outfit', sans-serif; font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; color: white; }
.empty-trips p   { margin-bottom: 24px; }

/* ============================================================
   TOAST
   ============================================================ */

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(10, 15, 30, 0.95);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  padding: 12px 18px;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  animation: toastIn 0.3s cubic-bezier(0.34,1.56,0.64,1) both;
  max-width: 300px;
}

.toast.success { border-color: rgba(16,185,129,0.3); }
.toast.error   { border-color: rgba(239,68,68,0.3); }
.toast.info    { border-color: rgba(249,115,22,0.3); }

@keyframes toastIn  { from { opacity: 0; transform: translateX(24px) scale(0.9); } to { opacity: 1; transform: translateX(0) scale(1); } }
@keyframes toastOut { to   { opacity: 0; transform: translateX(24px) scale(0.9); } }

/* ============================================================
   MODAL
   ============================================================ */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(10px);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.open { display: flex; }

.modal-card {
  width: 100%;
  max-width: 820px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  animation: modalIn 0.3s cubic-bezier(0.34,1.56,0.64,1) both;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.88) translateY(24px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
  position: sticky;
  float: right;
  top: 0;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--color-text-muted);
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close:hover { background: rgba(239,68,68,0.2); color: #fca5a5; }

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

@media (max-width: 900px) {
  .budget-options { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header-inner { padding: 0 16px; }
  .main-content { padding: 0 16px 60px; }
  .hero { padding: 48px 0 32px; }
  .hero-title { font-size: 1.9rem; }
  .hero-subtitle { font-size: 0.9rem; }
  .hero-stats { gap: 2px; padding: 8px 16px; }
  .hero-stat-divider { display: none; }
  .hero-stat { padding: 4px 8px; }
  .planner-card { padding: 20px; }
  .two-col-grid { grid-template-columns: 1fr; }
  .details-grid { grid-template-columns: 1fr 1fr; }
  .destination-input-row { flex-direction: column; align-items: stretch; }
  .result-footer { flex-direction: column; }
  .result-title-row { flex-direction: column; align-items: flex-start; }
  .trips-grid { grid-template-columns: 1fr; }
  .explore-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .nav-btn { padding: 6px 10px; font-size: 0.78rem; }
  .sun { width: 60px; height: 60px; }
  .cloud { font-size: 1.8rem !important; }
  .float-elem { font-size: 1.2rem !important; }
}

@media (max-width: 480px) {
  .budget-options { grid-template-columns: repeat(2, 1fr); }
  .details-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 1.6rem; }
  .explore-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SCROLLBAR
   ============================================================ */

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(249,115,22,0.3); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: rgba(249,115,22,0.5); }

::selection { background: rgba(249,115,22,0.35); color: white; }

/* ============================================================
   PRINT
   ============================================================ */

@media print {
  .scene-bg, .header, .generate-section, .result-footer,
  .result-actions, .hero, .toast-container { display: none !important; }
  body { background: white; color: black; }
  .glass-card { background: white; border: 1px solid #eee; box-shadow: none; }
  .result-content { color: black; }
}
