/* =============================================
   PesanTiket.com – Main Stylesheet
   ============================================= */

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;
  --secondary: #0ea5e9;
  --accent: #06b6d4;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --dark: #0f172a;
  --dark-2: #1e293b;
  --dark-3: #334155;
  --gray: #64748b;
  --gray-light: #94a3b8;
  --border: #e2e8f0;
  --bg: #f8fafc;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #2563eb 0%, #0ea5e9 50%, #06b6d4 100%);
  --gradient-hero: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 40%, #0284c7 80%, #0891b2 100%);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.06);
  --shadow-xl: 0 32px 80px rgba(37,99,235,0.18), 0 12px 32px rgba(0,0,0,0.08);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  padding: 12px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--white);
  transition: var(--transition);
}

.navbar.scrolled .nav-logo { color: var(--dark); }

.logo-icon {
  font-size: 1.5rem;
  display: inline-block;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.logo-dot { color: var(--accent); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  margin-left: auto;
}

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

.navbar.scrolled .nav-links a { color: var(--gray); }
.nav-links a:hover { color: var(--white); }
.navbar.scrolled .nav-links a:hover { color: var(--primary); }

.btn-nav {
  background: rgba(255,255,255,0.2);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-nav:hover {
  background: var(--white);
  color: var(--primary);
}

.navbar.scrolled .btn-nav {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.navbar.scrolled .btn-nav:hover {
  background: var(--primary-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar.scrolled .nav-toggle span { background: var(--dark); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.cloud {
  position: absolute;
  background: rgba(255,255,255,0.06);
  border-radius: 50px;
}

.cloud-1 { width: 300px; height: 80px; top: 20%; left: -50px; animation: drift 20s linear infinite; }
.cloud-2 { width: 200px; height: 60px; top: 50%; right: -30px; animation: drift 28s linear infinite reverse; }
.cloud-3 { width: 250px; height: 70px; bottom: 30%; left: 20%; animation: drift 24s linear infinite; }

@keyframes drift {
  0% { transform: translateX(0); }
  50% { transform: translateX(40px); }
  100% { transform: translateX(0); }
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, #93c5fd, #67e8f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 40px;
}

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

.stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}

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

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--primary);
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  transition: var(--transition);
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
  color: var(--primary-dark);
}

.hero-plane {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
  opacity: 0.15;
  pointer-events: none;
}

.plane-wrapper { width: 400px; height: 400px; animation: float 6s ease-in-out infinite; }
.plane-svg { width: 100%; height: 100%; }

/* ===== SECTION COMMON ===== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--gray);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== BOOKING SECTION ===== */
.booking-section {
  padding: 80px 0;
  background: var(--bg);
}

.booking-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid rgba(37,99,235,0.08);
}

/* Flight Tabs */
.flight-tabs {
  display: flex;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 16px 32px 0;
  gap: 4px;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius) var(--radius) 0 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray);
  transition: var(--transition);
  border: 1px solid transparent;
  border-bottom: none;
  position: relative;
  bottom: -1px;
}

.tab-btn:hover { color: var(--primary); background: rgba(37,99,235,0.05); }

.tab-btn.active {
  background: var(--white);
  color: var(--primary);
  border-color: var(--border);
  border-bottom-color: var(--white);
}

/* Form */
#bookingForm { padding: 32px; }

.form-row { margin-bottom: 24px; }

.two-col {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: start;
}

.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.one-col { display: grid; grid-template-columns: 1fr; }

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

.form-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-3);
}

.optional-label {
  font-weight: 400;
  color: var(--gray-light);
  font-size: 0.8rem;
}

.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%;
  padding: 12px 16px 12px 44px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--bg);
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-input:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.08);
}

.form-input.error { border-color: var(--danger); }
.form-input.error:focus { box-shadow: 0 0 0 4px rgba(239,68,68,0.08); }

.form-select { cursor: pointer; }
.select-wrapper::after {
  content: '▾';
  position: absolute;
  right: 14px;
  color: var(--gray);
  pointer-events: none;
  font-size: 0.8rem;
}

.form-textarea {
  padding: 12px 16px;
  resize: vertical;
  min-height: 90px;
}

.input-wrapper:has(.form-textarea) { align-items: flex-start; }
.input-wrapper:has(.form-textarea) .input-icon { display: none; }
.form-textarea { padding-left: 16px; }

/* Swap Button */
.swap-btn-wrapper {
  display: flex;
  align-items: flex-end;
  padding-bottom: 8px;
}

.swap-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.swap-btn:hover {
  background: var(--primary);
  color: var(--white);
  transform: rotate(180deg);
}

/* Counter Input */
.counter-input {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  transition: var(--transition);
}

.counter-input:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.08);
}

.counter-btn {
  width: 40px;
  height: 44px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  background: transparent;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.counter-btn:hover { background: var(--primary-light); }

.counter-value {
  flex: 1;
  text-align: center;
  border: none;
  background: transparent;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  outline: none;
  padding: 0;
  -moz-appearance: textfield;
}

.counter-value::-webkit-outer-spin-button,
.counter-value::-webkit-inner-spin-button { -webkit-appearance: none; }

/* Divider */
.form-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.form-divider::before, .form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.form-divider span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* Checkbox */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] { display: none; }

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  transition: var(--transition);
}

.checkbox-label input:checked + .checkmark {
  background: var(--primary);
  border-color: var(--primary);
}

.checkbox-label input:checked + .checkmark::after {
  content: '✓';
  color: white;
  font-size: 12px;
  font-weight: 700;
}

.link { color: var(--primary); font-weight: 600; }
.link:hover { text-decoration: underline; }

/* Error Messages */
.error-msg {
  font-size: 0.78rem;
  color: var(--danger);
  font-weight: 500;
  display: none;
}

.error-msg.show { display: block; }

/* Submit Button */
.form-submit { margin-top: 8px; }

.btn-submit {
  width: 100%;
  padding: 16px 32px;
  background: var(--gradient);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(37,99,235,0.35);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37,99,235,0.45);
}

.btn-submit:active { transform: translateY(0); }
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.btn-text, .btn-loading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.spinner { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== RESPONSE PANEL ===== */
.response-panel {
  margin-top: 32px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid rgba(37,99,235,0.08);
  animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.response-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 32px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
}

.response-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.response-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.response-subtitle { font-size: 0.8rem; opacity: 0.8; }

.response-status {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(255,255,255,0.15);
  padding: 6px 14px;
  border-radius: 50px;
  white-space: nowrap;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse 2s ease-in-out infinite;
}

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

.response-body {
  padding: 24px 32px;
  min-height: 120px;
  background: #ECE5DD;
}

.loading-dots {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 12px 16px;
  background: var(--white);
  border-radius: 16px 16px 16px 4px;
  width: fit-content;
}

.loading-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-light);
  animation: bounce 1.4s 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 bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-8px); }
}

.response-messages { display: flex; flex-direction: column; gap: 12px; }

.message-bubble {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.6;
  animation: popIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.message-bubble.sent {
  background: #DCF8C6;
  border-radius: 16px 16px 4px 16px;
  align-self: flex-end;
  color: var(--dark);
}

.message-bubble.received {
  background: var(--white);
  border-radius: 16px 16px 16px 4px;
  align-self: flex-start;
  color: var(--dark);
  box-shadow: var(--shadow-sm);
}

.message-time {
  font-size: 0.7rem;
  color: var(--gray-light);
  margin-top: 4px;
  text-align: right;
}

.response-footer {
  padding: 20px 32px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.response-footer p { font-size: 0.8rem; color: var(--gray); }

.btn-new-order {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-new-order:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 80px 0;
  background: var(--white);
}

.steps-grid {
  display: flex;
  align-items: center;
  gap: 16px;
}

.step-card {
  flex: 1;
  text-align: center;
  padding: 40px 32px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.step-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}

.step-icon { font-size: 2.5rem; margin-bottom: 16px; }

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

.step-desc { font-size: 0.875rem; color: var(--gray); line-height: 1.7; }

.step-arrow {
  font-size: 1.5rem;
  color: var(--gray-light);
  flex-shrink: 0;
}

/* ===== FEATURES ===== */
.features {
  padding: 80px 0;
  background: var(--bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

.feature-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.feature-card p { font-size: 0.875rem; color: var(--gray); line-height: 1.7; }

/* ===== AIRLINES ===== */
.airlines {
  padding: 48px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.airlines-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.airlines-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.airline-item {
  padding: 10px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray);
  transition: var(--transition);
}

.airline-item:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}

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

.footer-logo .logo-text { color: var(--white); }
.footer-logo .logo-dot { color: var(--accent); }

.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-top: 16px;
  margin-bottom: 24px;
}

.footer-social { display: flex; gap: 10px; }

.social-btn {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}

.social-btn:hover { background: var(--primary); transform: translateY(-2px); }

.footer-links h4, .footer-contact h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-links a:hover { color: var(--white); padding-left: 4px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  margin-bottom: 12px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p { font-size: 0.8rem; }

.footer-legal { display: flex; gap: 24px; }

.footer-legal a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}

.footer-legal a:hover { color: var(--white); }

/* ===== NOTIFICATION TOAST ===== */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  background: var(--dark);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 360px;
}

.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }

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

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  padding: 4px;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.navbar.scrolled .lang-switcher {
  background: var(--bg);
  border-color: var(--border);
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.lang-btn:hover {
  color: var(--white);
  background: rgba(255,255,255,0.15);
}

.lang-btn.active {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.navbar.scrolled .lang-btn {
  color: var(--gray);
}

.navbar.scrolled .lang-btn:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.navbar.scrolled .lang-btn.active {
  background: var(--primary);
  color: var(--white);
}

.lang-flag {
  font-size: 1rem;
  line-height: 1;
}

.lang-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links, .btn-nav { display: none; }
  .nav-toggle { display: flex; }
  .lang-switcher { order: -1; margin-right: auto; }
  .lang-label { display: none; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0;
    background: var(--dark);
    padding: 80px 24px 32px;
    gap: 16px;
    z-index: 999;
  }

  .lang-switcher {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.25);
  }

  .navbar.scrolled .lang-switcher {
    background: var(--bg);
    border-color: var(--border);
  }

  .nav-links.open a { color: rgba(255,255,255,0.85); font-size: 1.1rem; }

  .hero { padding: 100px 24px 60px; }
  .hero-plane { display: none; }
  .hero-stats { gap: 20px; }
  .stat-num { font-size: 1.4rem; }

  .two-col { grid-template-columns: 1fr; }
  .swap-btn-wrapper { display: none; }
  .three-col { grid-template-columns: 1fr 1fr; }

  #bookingForm { padding: 24px 20px; }
  .flight-tabs { padding: 12px 20px 0; }
  .tab-btn { padding: 8px 14px; font-size: 0.8rem; }

  .steps-grid { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }

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

  .response-header { flex-wrap: wrap; }
  .response-status { margin-left: 0; }
  .response-footer { flex-direction: column; align-items: flex-start; }

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

  .toast { bottom: 16px; right: 16px; left: 16px; max-width: none; }
}

@media (max-width: 480px) {
  .three-col { grid-template-columns: 1fr; }
  .hero-title { font-size: 2rem; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .stat-divider { display: none; }
  .booking-card { border-radius: var(--radius-lg); }
  .response-panel { border-radius: var(--radius-lg); }
}
