/* ============================================
   INCHEON AIRPORT MY TAXI ??Minimalist CRO Design
   Responsive · Minimal · Conversion-Optimized
   ============================================ */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --color-primary: #0f172a;
  --color-primary-light: #1e293b;
  --color-primary-dark: #020617;
  --color-accent: #2563eb;
  --color-accent-light: #3b82f6;
  --color-accent-dark: #1d4ed8;
  --color-success: #10b981;
  --color-success-light: #d1fae5;
  --color-warning: #f59e0b;
  --color-warning-light: #fef3c7;
  --color-danger: #ef4444;
  --color-danger-light: #fee2e2;
  --color-info: #3b82f6;
  --color-info-light: #dbeafe;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --surface-primary: #ffffff;
  --surface-secondary: #f8fafc;
  --surface-tertiary: #f1f5f9;
  --surface-glass: rgba(255,255,255,0.8);
  --surface-glass-strong: rgba(255,255,255,0.92);
  --font-primary: 'Pretendard Variable', 'Pretendard', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Inter', 'Pretendard Variable', sans-serif;
  --text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.75rem);
  --text-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.875rem);
  --text-base: clamp(0.875rem, 0.83rem + 0.25vw, 1rem);
  --text-lg: clamp(1rem, 0.93rem + 0.35vw, 1.125rem);
  --text-xl: clamp(1.125rem, 1rem + 0.5vw, 1.25rem);
  --text-2xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-3xl: clamp(1.5rem, 1.25rem + 1.25vw, 1.875rem);
  --text-4xl: clamp(1.875rem, 1.5rem + 1.5vw, 2.25rem);
  --text-5xl: clamp(2.25rem, 1.75rem + 2vw, 3rem);
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem;
  --space-4: 1rem; --space-5: 1.25rem; --space-6: 1.5rem;
  --space-8: 2rem; --space-10: 2.5rem; --space-12: 3rem;
  --space-16: 4rem; --space-20: 5rem;
  --space-section: clamp(2rem, 1.5rem + 2vw, 4rem);
  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px;
  --radius-xl: 20px; --radius-full: 9999px;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-xl: 0 16px 40px rgba(0,0,0,0.1);
  --shadow-2xl: 0 24px 48px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 24px rgba(37,99,235,0.15);
  --shadow-card-hover: 0 12px 32px rgba(0,0,0,0.08);
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
  --z-dropdown: 100; --z-sticky: 200; --z-overlay: 300;
  --z-modal: 400; --z-toast: 500;
  --container-max: 720px;
  --container-narrow: 440px;
  --nav-height: 56px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--font-primary); font-size: var(--text-base); line-height: 1.6; color: var(--gray-800); background: #ffffff; min-height: 100vh; overflow-x: hidden; }
body.modal-open { position: fixed; width: 100%; overflow: hidden; }

/* In-app Browser Optimization: Hide bars during modal active */
body.modal-open .nav-bar, 
body.modal-open .footer, 
body.modal-open .sticky-bottom-bar { 
    display: none !important; 
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.text-center { text-align: center; }
.text-muted { color: var(--gray-500); }

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes checkmark { 0% { transform: scale(0); opacity: 0; } 60% { transform: scale(1.15); } 100% { transform: scale(1); opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

.animate-fade-in-up { animation: fadeInUp 0.5s ease both; }
.animate-fade-in { animation: fadeIn 0.4s ease both; }

/* ---- Navigation ---- */
.nav-bar {
  position: sticky; top: 0; z-index: var(--z-sticky);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  height: var(--nav-height);
  transition: box-shadow var(--transition-base);
  border-bottom: 1px solid transparent;
}
.nav-bar.scrolled { box-shadow: 0 1px 0 rgba(0,0,0,0.06); border-bottom-color: rgba(0,0,0,0.04); }
.nav-inner {
  max-width: var(--container-max); margin: 0 auto;
  padding: 0 var(--space-5); display: flex;
  align-items: center; justify-content: space-between; height: 100%;
}
.nav-logo {
  display: flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--text-base); color: var(--gray-900);
  letter-spacing: -0.03em; transition: opacity var(--transition-fast);
}
.nav-logo:hover { opacity: 0.7; }
.nav-logo-icon { display: none; }
.nav-links { display: flex; align-items: center; gap: var(--space-1); }
.nav-link {
  display: inline-flex; align-items: center; gap: var(--space-1);
  padding: 6px 14px; font-size: 13px; font-weight: 500;
  color: var(--gray-500); border-radius: var(--radius-full);
  transition: all var(--transition-fast); white-space: nowrap;
}
.nav-link:hover { color: var(--gray-900); }
.nav-link--accent {
  color: #fff; background: var(--gray-900);
  font-weight: 600; padding: 6px 16px;
}
.nav-link--accent:hover { background: var(--gray-800); color: #fff; }

.nav-toggle { display: none; background: none; border: none; padding: var(--space-2); cursor: pointer; color: var(--gray-700); }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: currentColor; border-radius: 2px; transition: all var(--transition-fast); }
.nav-toggle span + span { margin-top: 5px; }

/* ---- Container ---- */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: var(--space-section) var(--space-5); }
.container--reserve { padding-top: var(--space-5); }
.container--narrow { max-width: var(--container-narrow); }

/* ---- Cards ---- */
.card {
  background: var(--surface-primary); border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200); padding: var(--space-6);
  transition: all var(--transition-base); position: relative; overflow: hidden;
}
.card:hover { border-color: var(--gray-300); }
.card--interactive { cursor: pointer; }
.card--interactive:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); border-color: var(--color-accent); }
.card--glow { border-color: rgba(37,99,235,0.2); }
.card--glow::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--color-accent); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-family: var(--font-primary); font-weight: 600; font-size: var(--text-sm);
  padding: 10px 20px; border-radius: var(--radius-md);
  border: none; cursor: pointer; transition: all var(--transition-base);
  text-decoration: none; white-space: nowrap; line-height: 1.4;
  position: relative; overflow: hidden;
}
.btn::after { content: none; }
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--gray-900); color: white; }
.btn--primary:hover { background: var(--gray-800); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--accent { background: var(--color-accent); color: white; }
.btn--accent:hover { background: var(--color-accent-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(37,99,235,0.25); }
.btn--success { background: var(--color-success); color: white; }
.btn--success:hover { background: #059669; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--gray-600); border: 1px solid var(--gray-200); }
.btn--ghost:hover { background: var(--gray-50); border-color: var(--gray-300); color: var(--gray-800); }
.btn--block { display: flex; width: 100%; }
.btn--lg { padding: 14px 28px; font-size: var(--text-base); border-radius: var(--radius-lg); }
.btn--xl { padding: 16px 32px; font-size: var(--text-lg); border-radius: var(--radius-lg); }
.btn:disabled, .btn[disabled] { opacity: 0.4; cursor: not-allowed; pointer-events: none; }

/* ---- Form Elements ---- */
.form-group { margin-bottom: var(--space-4); }
.form-label { display: block; font-size: var(--text-sm); font-weight: 600; color: var(--gray-700); margin-bottom: var(--space-2); letter-spacing: -0.01em; }
.form-label .required { color: var(--color-danger); margin-left: 2px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 10px 14px; font-size: var(--text-base);
  color: var(--gray-800); background: var(--surface-primary);
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-md);
  transition: all var(--transition-fast); outline: none;
  appearance: none; -webkit-appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--gray-400); }
.form-input:hover, .form-select:hover, .form-textarea:hover { border-color: var(--gray-300); }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(37,99,235,0.08); }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2394a3b8'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 40px;
}
.form-textarea { resize: vertical; min-height: 80px; }
.form-input[readonly] { background: var(--gray-50); color: var(--gray-500); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--space-4); row-gap: 0; }
.input-with-icon { position: relative; display: flex; align-items: center; }
.input-with-icon .form-input { padding-right: 44px; cursor: pointer; }
.input-icon { position: absolute; right: 14px; font-size: 18px; pointer-events: none; opacity: 0.5; }
.form-row--3 { grid-template-columns: 1fr 1fr 1fr; }
.form-row--4 { grid-template-columns: repeat(4, 1fr); }
.form-hint { font-size: var(--text-xs); color: var(--gray-400); margin-top: var(--space-1); }
.form-error { color: var(--color-danger); background: var(--color-danger-light); padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); font-size: var(--text-sm); font-weight: 500; margin-bottom: var(--space-4); border-left: 3px solid var(--color-danger); }

/* Radio Group */
.radio-group { display: flex; gap: 4px; padding: 3px; background: var(--gray-100); border-radius: var(--radius-md); margin-bottom: var(--space-5); }
.radio-group label { flex: 1; display: flex; align-items: center; justify-content: center; gap: var(--space-2); padding: 10px 16px; border-radius: 9px; font-weight: 600; font-size: var(--text-sm); color: var(--gray-400); cursor: pointer; transition: all var(--transition-fast); text-align: center; }
.radio-group label:has(input:checked) { background: white; color: var(--gray-900); box-shadow: var(--shadow-sm); }
.radio-group input[type="radio"] { display: none; }

/* Checkbox Styles */
.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 12px;
    user-select: none;
    line-height: 1.5;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 16px;
    width: 16px;
    background-color: white;
    border: 1.5px solid var(--gray-200);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.checkbox-container:hover input ~ .checkmark {
    border-color: var(--gray-400);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--gray-900);
    border-color: var(--gray-900);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 4.5px;
    top: 1.5px;
    width: 3.5px;
    height: 7.5px;
    border: solid white;
    border-width: 0 1.8px 1.8px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-text {
    color: var(--gray-600);
    font-weight: 500;
}

.link--underline {
    color: var(--gray-900);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
}
.link--underline:hover {
    color: var(--color-accent);
}
/* ---- Hero Section ---- */
.hero { position: relative; min-height: 85vh; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-top: calc(-1 * var(--nav-height)); padding-top: var(--nav-height); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,26,48,0.5), rgba(15,26,48,0.85)); z-index: 1; }
.hero-content { position: relative; z-index: 2; text-align: center; padding: var(--space-8) var(--space-5); max-width: 720px; animation: fadeInUp 0.8s ease both; }
.hero-badge { display: inline-flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-4); background: rgba(37,99,235,0.1); border: 1px solid rgba(37,99,235,0.2); border-radius: var(--radius-full); font-size: var(--text-xs); font-weight: 600; color: var(--color-accent-light); margin-bottom: var(--space-6); }
.hero-title { font-family: var(--font-display); font-size: var(--text-5xl); font-weight: 800; color: white; line-height: 1.15; margin-bottom: var(--space-4); letter-spacing: -0.03em; }
.hero-title span { color: var(--color-accent-light); }
.hero-subtitle { font-size: var(--text-lg); color: rgba(255,255,255,0.7); margin-bottom: var(--space-10); line-height: 1.7; font-weight: 300; }
.hero-actions { display: flex; gap: var(--space-4); justify-content: center; flex-wrap: wrap; }
.hero-btn { padding: 14px 32px; font-size: var(--text-base); font-weight: 600; border-radius: var(--radius-lg); border: none; cursor: pointer; transition: all var(--transition-base); display: inline-flex; align-items: center; gap: var(--space-2); text-decoration: none; min-width: 180px; justify-content: center; }
.hero-btn--departure { background: white; color: var(--gray-900); }
.hero-btn--departure:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.hero-btn--arrival { background: rgba(255,255,255,0.1); color: white; border: 1.5px solid rgba(255,255,255,0.25); }
.hero-btn--arrival:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }
.hero-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); margin-top: var(--space-12); }
.hero-feature { padding: var(--space-4); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-lg); }
.hero-feature-icon { font-size: 1.5rem; margin-bottom: var(--space-2); }
.hero-feature-title { font-size: var(--text-sm); font-weight: 600; color: white; margin-bottom: var(--space-1); }
.hero-feature-desc { font-size: var(--text-xs); color: rgba(255,255,255,0.5); }

/* ---- Page Headers ---- */
.page-header { margin-bottom: var(--space-6); }
.page-title { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 700; color: var(--gray-900); letter-spacing: -0.03em; line-height: 1.2; }
.page-subtitle { font-size: var(--text-sm); color: var(--gray-400); margin-top: var(--space-2); }

/* ---- Leg Card ---- */
.leg-card { background: white; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: var(--space-5); margin-bottom: var(--space-4); position: relative; animation: fadeInUp 0.35s ease both; }
.leg-card h3 { font-size: var(--text-lg); font-weight: 700; color: var(--gray-900); margin-bottom: var(--space-4); padding-bottom: var(--space-3); border-bottom: 1px solid var(--gray-100); }

/* ---- Options Entry Card ---- */
.options-entry-card { display: flex; align-items: center; gap: var(--space-4); background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-md); padding: var(--space-4) var(--space-5); margin-top: var(--space-3); cursor: pointer; transition: all var(--transition-base); }
.options-entry-card:hover { border-color: var(--gray-300); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.options-entry-card.selected { background: rgba(37,99,235,0.03); border-color: var(--color-accent); }
.options-entry-card.selected .entry-icon { background: var(--color-accent); color: white; }
.options-entry-card.selected .entry-arrow::after { content: '\2713'; color: var(--color-success); font-weight: 700; margin-left: 8px; }
.entry-icon { font-size: 22px; width: 40px; height: 40px; background: white; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-xs); }
.entry-content { flex: 1; }
.entry-title { font-weight: 600; color: var(--gray-800); font-size: var(--text-sm); }
.entry-desc { font-size: var(--text-xs); color: var(--gray-400); margin-top: 2px; }
.entry-arrow { color: var(--gray-300); font-size: 18px; }

/* ---- Options Modal ---- */
.options-modal-overlay { position: fixed; inset: 0; z-index: var(--z-modal); background: rgba(0,0,0,0.3); backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; padding: var(--space-5); transform: translate3d(0,0,0); backface-visibility: hidden; }
.options-modal-overlay.active { display: flex; animation: fadeIn 0.2s ease; }
.options-modal { width: 100%; max-width: 440px; background: white; border-radius: var(--radius-xl); box-shadow: var(--shadow-2xl); overflow: hidden; display: flex; flex-direction: column; transform: translate3d(0,0,0); backface-visibility: hidden; }
.options-modal-header { padding: var(--space-5); background: var(--gray-900); color: white; display: flex; justify-content: space-between; align-items: center; }
.options-modal-body { padding: var(--space-6); max-height: 80vh; overflow-y: auto; }
.options-modal-footer { padding: var(--space-5); border-top: 1px solid var(--gray-100); background: var(--gray-50); display: flex; gap: var(--space-3); }

/* ---- Tooltip ---- */
.tooltip { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; background: var(--gray-100); color: var(--gray-400); border-radius: 50%; font-size: 10px; font-weight: 700; cursor: help; margin-left: var(--space-2); transition: all var(--transition-base); }
.tooltip:hover { background: var(--gray-900); color: white; }
.tooltip-content { position: absolute; bottom: 160%; left: 50%; transform: translateX(-50%) translateY(8px); padding: var(--space-3) var(--space-4); background: white; color: var(--gray-700); border: 1px solid var(--gray-100); border-radius: var(--radius-lg); width: 200px; text-align: left; opacity: 0; pointer-events: none; transition: all 0.2s ease; box-shadow: var(--shadow-xl); z-index: 1000; display: flex; flex-direction: column; gap: var(--space-1); }
.tooltip-title { display: block; font-weight: 700; color: var(--gray-900); font-size: var(--text-xs); line-height: 1.4; }
.tooltip-desc { display: block; font-size: 11px; line-height: 1.6; color: var(--gray-500); }
.tooltip::before { content: ''; position: absolute; bottom: 135%; left: 50%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: white; opacity: 0; transition: all 0.2s ease; z-index: 1000; pointer-events: none; }
.tooltip:hover .tooltip-content, .tooltip:hover::before { opacity: 1; transform: translateX(-50%) translateY(0); }

.search-results li { padding: var(--space-3) var(--space-4); cursor: pointer; border-bottom: 1px solid var(--gray-50); transition: background var(--transition-fast); font-size: var(--text-sm); }
.search-results li:last-child { border-bottom: none; }
.search-results li:hover { background: var(--color-info-light); }
.search-results li strong { color: var(--gray-900); }
.search-results li small { color: var(--gray-400); }
.input-wrapper { position: relative; }

/* ---- Vehicle Cards ---- */
.vehicle-grid { display: grid; gap: var(--space-3); }
.vehicle-card { border: 1.5px solid var(--gray-200); padding: var(--space-5); border-radius: var(--radius-lg); cursor: pointer; transition: all var(--transition-base); background: white; position: relative; }
.vehicle-card:hover { border-color: var(--gray-300); box-shadow: var(--shadow-sm); }
.vehicle-card.selected-card { border-color: var(--gray-900); background: rgba(0,0,0,0.02); box-shadow: 0 0 0 1px var(--gray-900); }
.vehicle-card.selected-card::after { content: '\2713'; position: absolute; top: var(--space-3); right: var(--space-3); width: 24px; height: 24px; background: var(--gray-900); color: white; border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; }
.v-title { font-size: var(--text-base); font-weight: 600; color: var(--gray-900); margin-bottom: var(--space-1); }
.v-price { font-size: var(--text-lg); font-weight: 700; color: var(--gray-900); margin-top: var(--space-3); }
.v-note { font-size: var(--text-xs); color: var(--gray-400); margin-top: var(--space-2); }

/* ---- Vehicle Info Button ---- */
.v-info-btn {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--gray-200);
  background: white;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  z-index: 5;
  padding: 0;
}
.v-info-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(37,99,235,0.04);
  transform: scale(1.08);
  box-shadow: 0 2px 8px rgba(37,99,235,0.12);
}
.v-info-btn:active { transform: scale(0.95); }

.vehicle-card.selected-card .v-info-btn {
  top: var(--space-3);
  right: calc(var(--space-3) + 32px);
}

/* ---- Vehicle Info Modal ---- */
.vi-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  transform: translate3d(0,0,0);
  backface-visibility: hidden;
}
.vi-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.vi-modal {
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translate3d(0, 24px, 0) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s ease;
  opacity: 0;
  backface-visibility: hidden;
}
.vi-modal-overlay.active .vi-modal {
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
}

.vi-modal-header {
  padding: var(--space-4) var(--space-5);
  background: var(--gray-900);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}
.vi-modal-title {
  font-weight: 700;
  font-size: var(--text-base);
  letter-spacing: -0.01em;
}
.vi-modal-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 24px;
  cursor: pointer;
  padding: var(--space-1);
  transition: color var(--transition-fast);
  line-height: 1;
}
.vi-modal-close:hover { color: white; }

.vi-modal-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.vi-modal-footer {
  padding: var(--space-4) var(--space-5);
  border-top: 1px solid var(--gray-100);
  background: var(--gray-50);
  flex-shrink: 0;
}

/* Disclaimer Banner */
.vi-disclaimer {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: var(--color-warning-light);
  border-bottom: 1px solid rgba(245,158,11,0.15);
  font-size: var(--text-xs);
  color: #92400E;
  line-height: 1.5;
}
.vi-disclaimer-icon { font-size: 16px; flex-shrink: 0; }

/* Image Carousel */
.vi-carousel {
  position: relative;
  overflow: hidden;
  background: var(--gray-50);
}
.vi-carousel-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
  will-change: transform;
}
.vi-carousel-slide {
  min-width: 100%;
  flex-shrink: 0;
}
.vi-carousel-slide img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: contain;
  background: var(--gray-50);
  display: block;
}
.vi-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-3) 0;
  background: white;
  border-bottom: 1px solid var(--gray-100);
}
.vi-carousel-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--gray-200);
  background: white;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  transition: all var(--transition-fast);
  padding: 0;
}
.vi-carousel-btn:hover {
  border-color: var(--gray-900);
  color: var(--gray-900);
  background: var(--gray-50);
}
.vi-carousel-btn:active { transform: scale(0.92); }
.vi-carousel-dots { display: flex; gap: 6px; align-items: center; }
.vi-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--gray-200);
  transition: all 0.3s ease;
  cursor: pointer;
}
.vi-dot.active {
  background: var(--gray-900);
  width: 20px;
  border-radius: 4px;
}

/* Info Section */
.vi-info-section { padding: var(--space-5); }

.vi-specs {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.vi-spec {
  flex: 1;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
}
.vi-spec-icon { font-size: 18px; flex-shrink: 0; }
.vi-spec-text { font-size: var(--text-xs); font-weight: 600; color: var(--gray-700); }

.vi-desc {
  margin-bottom: var(--space-5);
}
.vi-desc h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-2);
}
.vi-desc p {
  font-size: var(--text-sm);
  color: var(--gray-500);
  line-height: 1.7;
}

/* Pros & Cons */
.vi-pros-cons {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.vi-list h4 { margin-bottom: var(--space-3); }
.vi-list-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.vi-list-badge--pro {
  background: var(--color-success-light);
  color: #065F46;
}
.vi-list-badge--con {
  background: var(--color-danger-light);
  color: #991B1B;
}
.vi-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.vi-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--gray-600);
  line-height: 1.5;
}
.vi-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  margin-top: 2px;
}
.vi-icon--pro {
  background: var(--color-success-light);
  color: #065F46;
}
.vi-icon--con {
  background: var(--color-danger-light);
  color: #991B1B;
}

/* Mobile Vehicle Info Modal */
@media (max-width: 600px) {
  .vi-modal-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .vi-modal {
    max-width: none;
    max-height: 92vh;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    transform: translateY(100%);
  }
  .vi-modal-overlay.active .vi-modal {
    transform: translateY(0);
  }
  .vi-info-section { padding: var(--space-4); }
  .vi-specs { flex-direction: column; gap: var(--space-2); }
}

/* ---- Status Badges ---- */
.status-badge { display: inline-flex; align-items: center; gap: var(--space-1); padding: 3px 10px; border-radius: var(--radius-full); font-size: 11px; font-weight: 600; }
.status-badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; }
.status-badge.received { background: var(--color-warning-light); color: #92400E; }
.status-badge.received::before { background: var(--color-warning); }
.status-badge.confirmed { background: var(--color-success-light); color: #065F46; }
.status-badge.confirmed::before { background: var(--color-success); }
.status-badge.canceled { background: var(--color-danger-light); color: #991B1B; }
.status-badge.canceled::before { background: var(--color-danger); }
.status-badge.completed { background: var(--color-info-light); color: #1E40AF; }
.status-badge.completed::before { background: var(--color-info); }

/* ---- Info Row ---- */
.info-row { display: flex; align-items: flex-start; padding: var(--space-3) 0; border-bottom: 1px solid var(--gray-50); gap: var(--space-3); }
.info-row:last-child { border-bottom: none; }
.info-row .label { min-width: 100px; flex-shrink: 0; color: var(--gray-400); font-size: var(--text-sm); font-weight: 500; }
.info-row .val { flex: 1; font-size: var(--text-sm); color: var(--gray-800); font-weight: 500; word-break: keep-all; }

/* ---- Fare Summary ---- */
.fare-summary { background: var(--gray-900); padding: var(--space-6); border-radius: var(--radius-lg); text-align: center; margin-bottom: var(--space-6); color: white; position: relative; overflow: hidden; }
.fare-summary::before { content: ''; position: absolute; top: -50%; right: -50%; width: 100%; height: 100%; background: radial-gradient(circle, rgba(37,99,235,0.1), transparent 70%); }
.fare-summary h3 { color: white; font-size: var(--text-2xl); font-weight: 700; margin: 0; position: relative; }
.fare-summary h3 small { display: block; font-size: var(--text-xs); color: rgba(255,255,255,0.5); font-weight: 400; margin-top: var(--space-2); }
.fare-amount { color: var(--color-accent-light); }

/* ---- Options Box ---- */
.options-box { background: var(--gray-50); border-radius: var(--radius-md); padding: var(--space-4); margin-top: var(--space-3); }
.options-box-title { font-weight: 600; font-size: var(--text-sm); color: var(--gray-700); margin-bottom: var(--space-2); }

/* ---- Reservation Card ---- */
.reservation-card { background: white; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: var(--space-5); margin-bottom: var(--space-3); cursor: pointer; transition: all var(--transition-base); display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.reservation-card:hover { border-color: var(--gray-300); box-shadow: var(--shadow-sm); }
.reservation-card-left { display: flex; align-items: center; gap: var(--space-4); flex: 1; min-width: 0; }
.reservation-card-id { font-size: var(--text-base); font-weight: 700; color: var(--gray-900); white-space: nowrap; }
.reservation-card-info { flex: 1; min-width: 0; }
.reservation-card-info .legs { font-size: var(--text-sm); font-weight: 500; color: var(--gray-600); }
.reservation-card-info .date { font-size: var(--text-xs); color: var(--gray-400); margin-top: 2px; }
.reservation-card-arrow { color: var(--gray-300); font-size: 1.2em; flex-shrink: 0; }

/* ---- Success Page ---- */
.success-container { text-align: center; padding: var(--space-16) var(--space-5); }
.success-icon { width: 72px; height: 72px; background: var(--color-success); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto var(--space-6); font-size: 2rem; color: white; animation: checkmark 0.5s ease both; }
.success-title { font-size: var(--text-2xl); font-weight: 700; color: var(--gray-900); margin-bottom: var(--space-3); }
.success-sub { font-size: var(--text-base); color: var(--gray-400); margin-bottom: var(--space-8); }
.success-leg-info { background: var(--gray-50); border-radius: var(--radius-md); padding: var(--space-4); margin-bottom: var(--space-3); font-size: var(--text-sm); color: var(--gray-600); text-align: left; border-left: 2px solid var(--color-accent); }

/* ---- Login Page ---- */
.login-container { min-height: calc(100vh - var(--nav-height) - 80px); display: flex; align-items: center; justify-content: center; padding: var(--space-8) var(--space-5); }
.login-card { width: 100%; max-width: 400px; background: white; border-radius: var(--radius-xl); padding: var(--space-10); box-shadow: var(--shadow-lg); border: 1px solid var(--gray-100); }
.login-header { text-align: center; margin-bottom: var(--space-8); }
.login-icon { width: 48px; height: 48px; background: var(--gray-900); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin: 0 auto var(--space-4); font-size: 22px; }
.login-title { font-size: var(--text-xl); font-weight: 700; color: var(--gray-900); }
.login-subtitle { font-size: var(--text-sm); color: var(--gray-400); margin-top: var(--space-2); }
.phone-row { display: flex; gap: var(--space-2); }
.phone-row .form-input { flex: 1; }
.verify-area { background: var(--gray-50); padding: var(--space-4); border-radius: var(--radius-md); margin-bottom: var(--space-5); border: 1px solid var(--gray-100); animation: slideDown 0.3s ease; }
.verify-row { display: flex; gap: var(--space-2); }

/* ---- Fare Inquiry ---- */
.fare-result { margin-top: var(--space-6); animation: fadeInUp 0.4s ease both; }
.fare-result-card { background: var(--gray-900); padding: var(--space-8); border-radius: var(--radius-lg); text-align: center; color: white; }
.fare-result-label { font-size: var(--text-sm); color: rgba(255,255,255,0.6); margin-bottom: var(--space-2); }
.fare-result-price { font-size: var(--text-4xl); font-weight: 800; color: var(--color-accent-light); }
.fare-result-meta { font-size: var(--text-sm); color: rgba(255,255,255,0.5); margin-top: var(--space-3); }
.fare-result-disclaimer { font-size: var(--text-xs); color: var(--gray-400); margin-top: var(--space-4); padding: var(--space-3); background: var(--gray-50); border-radius: var(--radius-md); }

/* ---- Loading / Empty ---- */
.loading-state { text-align: center; padding: var(--space-12); color: var(--gray-500); font-weight: 500; }
.loading-spinner { width: 36px; height: 36px; border: 2px solid var(--gray-200); border-top-color: var(--color-accent); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto var(--space-4); }
.empty-state { text-align: center; padding: var(--space-16) var(--space-5); }
.empty-icon { font-size: 2.5rem; margin-bottom: var(--space-4); opacity: 0.4; }
.empty-title { font-size: var(--text-lg); font-weight: 600; color: var(--gray-600); margin-bottom: var(--space-2); }
.empty-desc { font-size: var(--text-sm); color: var(--gray-400); margin-bottom: var(--space-6); }

/* ---- Footer ---- */
.footer { border-top: 1px solid var(--gray-100); padding: var(--space-8) var(--space-5); text-align: center; background: white; margin-top: auto; }
.footer-inner { max-width: var(--container-max); margin: 0 auto; }
.footer-text { font-size: var(--text-xs); color: var(--gray-300); }

/* Footer Business Info */
.footer-business {
    margin-top: 24px;
    text-align: center;
}
.footer-business-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-500);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.footer-business-details {
    font-size: 11px;
    color: var(--gray-400);
    line-height: 1.8;
}
.footer-business-details .divider {
    margin: 0 6px;
    color: var(--gray-200);
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.footer-link { font-size: var(--text-xs); color: var(--gray-400); transition: color var(--transition-fast); }
.footer-link:hover { color: var(--gray-800); }
/* ---- Stepper UI ---- */
.step-container { display: block; }
.step-header { text-align: center; margin-bottom: var(--space-8); }
.step-title { font-size: var(--text-xl); font-weight: 700; color: var(--gray-900); }
.step-subtitle { font-size: var(--text-sm); color: var(--gray-400); margin-top: var(--space-2); }
.step-actions { display: flex; gap: var(--space-3); margin-top: var(--space-8); }
.step-actions .btn { flex: 1; }

.stepper-container { position: relative; display: flex; align-items: center; }
.stepper-container .form-input { padding-right: 30px; text-align: center; }
.stepper-buttons { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 2px; height: calc(100% - 8px); width: 24px; }
.stepper-btn { flex: 1; display: flex; align-items: center; justify-content: center; background: var(--gray-100); border: 1px solid var(--gray-200); border-radius: 3px; color: var(--gray-600); cursor: pointer; font-size: 8px; transition: all var(--transition-fast); padding: 0; line-height: 1; }
.stepper-btn:hover { background: var(--gray-200); color: var(--gray-900); }
.stepper-btn:active { background: var(--gray-300); }
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type="number"] { -moz-appearance: textfield; appearance: none; }

/* ---- Sticky Bottom Bar ---- */
.sticky-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(0,0,0,0.06);
    padding: 16px 20px;
    display: flex;
    justify-content: center;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.08);
}

.sticky-bottom-inner {
    width: 100%;
    max-width: 600px;
    position: relative;
}

.kakao-consult-btn {
    position: absolute;
    top: -68px; /* Lifted up to be completely above the bottom bar */
    right: 0;
    z-index: 101;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #FEE500;
    color: #191919;
    padding: 8px 16px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.kakao-consult-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.kakao-consult-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .kakao-consult-btn {
        top: -60px; /* Lifted up for mobile too */
        right: 0;
    }
}

/* PC Version: Remove fixed positioning for the bottom bar ONLY on the reserve page */
@media (min-width: 1025px) {
    .container--reserve .sticky-bottom-bar {
        position: relative;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-top: none;
        padding: 32px 0 0;
        box-shadow: none;
        animation: none;
        z-index: 1;
    }
    
    body:has(.container--reserve) {
        padding-bottom: 0 !important;
    }
}


.sticky-bottom-bar .tesla-btn {
    width: 100%;
    height: 52px;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    border-radius: 12px;
    background: var(--gray-900);
    color: white;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background 0.2s;
}

.sticky-bottom-bar .tesla-btn:hover {
    background: #000;
    transform: translateY(-2px);
}

.tesla-fade-in-up {
    animation: teslaFadeInUp 0.8s cubic-bezier(0.16,1,0.3,1) both;
}

body:has(.sticky-bottom-bar) {
    padding-bottom: 84px; /* Space for the fixed bar */
}

/* ---- Date Picker ---- */
.dtpicker-overlay { position: fixed; inset: 0; z-index: var(--z-modal); background: rgba(0,0,0,0.3); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: var(--space-5); opacity: 0; pointer-events: none; transition: opacity var(--transition-base); transform: translate3d(0,0,0); backface-visibility: hidden; }
.dtpicker-overlay.active { opacity: 1; pointer-events: auto; }
.dtpicker-modal { width: 100%; max-width: 380px; background: white; border-radius: var(--radius-xl); box-shadow: var(--shadow-2xl); overflow: hidden; transform: translateY(16px); transition: transform var(--transition-spring), opacity var(--transition-base); display: flex; flex-direction: column; transform: translate3d(0, 16px, 0); backface-visibility: hidden; }
.dtpicker-overlay.active .dtpicker-modal { transform: translate3d(0, 0, 0); }
.dtpicker-header { padding: var(--space-5); background: var(--gray-900); color: white; display: flex; justify-content: space-between; align-items: center; }
.dtpicker-title { font-weight: 600; font-size: var(--text-base); }
.dtpicker-close { background: none; border: none; color: rgba(255,255,255,0.5); font-size: 22px; cursor: pointer; padding: var(--space-1); transition: color var(--transition-fast); }
.dtpicker-close:hover { color: white; }
.dtpicker-body { padding: var(--space-4); max-height: 70vh; overflow-y: auto; }
.dtpicker-calendar { margin-bottom: var(--space-5); }
.calendar-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-4); }
.calendar-month { font-weight: 600; color: var(--gray-800); }
.calendar-btn { background: var(--gray-50); border: none; width: 32px; height: 32px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--gray-500); }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.calendar-day-name { text-align: center; font-size: var(--text-xs); font-weight: 600; color: var(--gray-300); padding: var(--space-2) 0; }
.calendar-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: var(--text-sm); border-radius: var(--radius-md); cursor: pointer; transition: all var(--transition-fast); color: var(--gray-700); }
.calendar-day:hover:not(.disabled) { background: var(--gray-50); }
.calendar-day.selected { background: var(--gray-900) !important; color: white !important; font-weight: 700; }
.calendar-day.today { color: var(--color-accent); font-weight: 600; position: relative; }
.calendar-day.today::after { content: ''; position: absolute; bottom: 3px; width: 4px; height: 4px; background: currentColor; border-radius: 50%; }
.calendar-day.disabled { color: var(--gray-200); cursor: not-allowed; pointer-events: none; }
.dtpicker-time { border-top: 1px solid var(--gray-100); padding-top: var(--space-5); }
.time-label { font-size: var(--text-sm); font-weight: 600; color: var(--gray-800); margin-bottom: var(--space-3); display: block; }
.time-selectors { display: flex; gap: var(--space-3); align-items: center; justify-content: center; position: relative; }
.time-select-group { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); position: relative; }
.time-wheel { height: 120px; width: 66px; overflow-y: auto; scrollbar-width: none; -ms-overflow-style: none; background: var(--gray-50); border-radius: var(--radius-md); border: 1px solid var(--gray-100); scroll-snap-type: y mandatory; padding: 40px 0; position: relative; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.time-wheel::-webkit-scrollbar { display: none; }
.time-item { height: 40px; display: flex; align-items: center; justify-content: center; font-size: var(--text-lg); font-weight: 500; color: var(--gray-300); scroll-snap-align: center; scroll-snap-stop: always; cursor: pointer; transition: all var(--transition-fast); position: relative; z-index: 2; }
.time-item.selected { color: var(--gray-900); font-weight: 700; font-size: 1.15rem; }
.time-select-group::after { content: ''; position: absolute; top: 40px; left: 0; right: 0; height: 41px; background: rgba(37,99,235,0.06); border-top: 1px solid rgba(37,99,235,0.1); border-bottom: 1px solid rgba(37,99,235,0.1); pointer-events: none; z-index: 10; border-radius: 4px; }
.time-separator { font-size: var(--text-2xl); font-weight: 600; color: var(--gray-200); padding-bottom: 20px; }
.dtpicker-footer { padding: var(--space-5); border-top: 1px solid var(--gray-100); display: grid; grid-template-columns: 1fr 2fr; gap: var(--space-3); }

/* Legacy compat */
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); font-family: var(--font-primary); font-weight: 600; font-size: var(--text-sm); padding: 10px 20px; border-radius: var(--radius-md); border: none; cursor: pointer; transition: all var(--transition-base); text-decoration: none; white-space: nowrap; background: var(--gray-900); color: white; }
.btn-primary:hover { background: var(--gray-800); transform: translateY(-1px); }
.btn-primary:active { transform: scale(0.97); }
.btn-block { display: flex; width: 100%; justify-content: center; }

/* ============================================
   TESLA LANDING ??Minimalist Redesign
   ============================================ */
.tesla-landing { margin-top: calc(-1 * var(--nav-height)); background: #ffffff; overflow-x: hidden; }

.tesla-section { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 80px 24px 64px; overflow: hidden; opacity: 1; transform: none; }
.tesla-section.tesla-visible { opacity: 1; transform: translateY(0); }

/* Hero */
.tesla-section--hero { min-height: 100vh; min-height: 100dvh; padding: 20vh 24px 12vh; justify-content: space-between; background: #ffffff; opacity: 1; transform: none; }
.tesla-hero-bg { position: absolute; inset: 0; background: none; pointer-events: none; }

/* Services */
.tesla-section--services { background: #fafafa; padding: 120px 24px 80px; gap: 32px; }

/* Fleet */
.tesla-section--fleet { background: var(--gray-900); color: white; padding: 56px 24px 48px; justify-content: center; gap: 20px; }

/* CTA */
.tesla-section--cta { background: #ffffff; padding: 80px 24px 64px; gap: 32px; }

.tesla-section-intro { margin-bottom: 8px; }

.tesla-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
.tesla-bg img { width: 100%; height: 100%; object-fit: cover; }
.tesla-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.05); z-index: 0; }

.tesla-header-content { position: relative; z-index: 10; animation: teslaFadeInDown 0.8s cubic-bezier(0.16,1,0.3,1) both; }

.tesla-badge { font-family: var(--font-display); font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gray-400); margin-bottom: 16px; }

.tesla-title { font-family: var(--font-display); font-size: clamp(2rem, 6vw, 3rem); font-weight: 700; color: var(--gray-900); letter-spacing: -0.03em; margin-bottom: 8px; line-height: 1.15; }

.tesla-subtitle { font-family: var(--font-primary); font-size: var(--text-sm); color: var(--gray-400); font-weight: 400; line-height: 1.7; }
.tesla-subtitle a { color: var(--gray-500); text-decoration: underline; text-underline-offset: 4px; transition: color 0.2s; }
.tesla-subtitle a:hover { color: var(--gray-900); }

.tesla-actions { display: flex; gap: 12px; width: 100%; max-width: 480px; padding: 0; z-index: 10; animation: teslaFadeInUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.2s both; }

.tesla-btn { flex: 1; display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 8px; font-size: 14px; font-weight: 600; text-decoration: none; transition: all 0.2s ease; border: none; cursor: pointer; letter-spacing: -0.01em; }
.tesla-btn--primary { background: var(--gray-900); color: #ffffff; }
.tesla-btn--primary:hover { background: var(--gray-800); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.12); }
.tesla-btn--secondary { background: var(--gray-100); color: var(--gray-700); }
.tesla-btn--secondary:hover { background: var(--gray-200); transform: translateY(-1px); }
.tesla-btn--card { flex: none; display: inline-flex; width: auto; padding: 0 24px; margin-top: 16px; height: 36px; font-size: 13px; border-radius: 8px; background: var(--gray-100); color: var(--gray-700); border: none; }
.tesla-btn--card:hover { background: var(--gray-200); }

.tesla-scroll-indicator { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); animation: teslaBounce 2s infinite; z-index: 10; color: var(--gray-300); cursor: pointer; opacity: 0.6; transition: opacity 0.3s; }
.tesla-scroll-indicator:hover { opacity: 1; }

/* Fleet dark overrides */
.tesla-section--fleet .tesla-title, .tesla-section--fleet .tesla-badge { color: white; }
.tesla-section--fleet .tesla-subtitle { color: rgba(255,255,255,0.5); }
.tesla-carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--gray-200);
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    pointer-events: none;
}

.tesla-carousel:hover .tesla-carousel-nav-btn {
    opacity: 1;
    pointer-events: auto;
}

.tesla-carousel-nav-btn:hover {
    background: var(--gray-50);
    color: var(--gray-900);
    border-color: var(--gray-300);
    box-shadow: var(--shadow-md);
}

.tesla-carousel-nav-btn--prev { left: 16px; }
.tesla-carousel-nav-btn--next { right: 16px; }

@media (max-width: 600px) {
    .tesla-carousel-nav-btn { display: none; }
}

.tesla-section--fleet .tesla-btn--secondary { background: rgba(255,255,255,0.08); color: white; }
.tesla-section--fleet .tesla-btn--secondary:hover { background: rgba(255,255,255,0.15); }

/* Uber Guide Section */
.uber-guide-container { width: 100%; max-width: 600px; display: flex; flex-direction: column; align-items: stretch; }

.uber-guide-header { text-align: left; margin-bottom: 16px; }
.uber-guide-title { font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; color: #ffffff; letter-spacing: -0.03em; line-height: 1.2; margin-bottom: 8px; }
.uber-guide-subtitle { font-family: var(--font-primary); font-size: var(--text-sm); color: rgba(255,255,255,0.5); font-weight: 400; line-height: 1.7; }

/* Tabs */
.uber-guide-tabs { display: flex; gap: 0; align-items: center; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.uber-guide-tab { background: none; color: rgba(255,255,255,0.45); border: none; padding: 12px 20px; font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.25s ease; font-family: var(--font-primary); position: relative; letter-spacing: 0.01em; white-space: nowrap; }
.uber-guide-tab::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: transparent; transition: background 0.25s ease; }
.uber-guide-tab:hover { color: rgba(255,255,255,0.7); }
.uber-guide-tab.active { color: #ffffff; font-weight: 600; }
.uber-guide-tab.active::after { background: #ffffff; }

/* Card Frame */
.uber-guide-card { background: #ffffff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,0.15); }

/* Accordion Header */
.uber-guide-accordion { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 18px; background: var(--gray-50); border-bottom: 1px solid var(--gray-100); cursor: default; }
.uber-guide-accordion-icon { width: 32px; height: 32px; background: #ffffff; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--gray-700); box-shadow: var(--shadow-xs); flex-shrink: 0; }
.uber-guide-accordion-text { text-align: center; font-size: 14px; font-weight: 500; color: var(--gray-800); font-family: var(--font-primary); transition: color 0.25s ease; }
.uber-guide-accordion-chevron { color: var(--gray-400); flex-shrink: 0; transition: transform 0.3s ease; }

/* Carousel */
.uber-guide-carousel { overflow: hidden; position: relative; }
.uber-guide-side-btn {
    position: absolute;
    top: 35%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(4px);
    border: none;
    color: var(--gray-800);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    opacity: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.uber-guide-carousel:hover .uber-guide-side-btn { opacity: 1; }
.uber-guide-side-btn:hover { background: white; transform: translateY(-50%) scale(1.1); }
.uber-guide-side-btn--prev { left: 16px; }
.uber-guide-side-btn--next { right: 16px; }

@media (max-width: 600px) {
    .uber-guide-side-btn {
        display: flex;
        opacity: 0.8;
        width: 24px;
        height: 24px;
        pointer-events: auto;
        left: 6px;
    }
    .uber-guide-side-btn svg { width: 14px; height: 14px; }
    .uber-guide-side-btn--next { left: auto; right: 6px; }
}
.uber-guide-carousel-track { display: flex; transition: transform 0.5s cubic-bezier(0.16,1,0.3,1); will-change: transform; }
.uber-guide-slide { flex: 0 0 100%; width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; overflow: hidden; }

.uber-guide-image { width: 100%; aspect-ratio: 1.4/1; overflow: hidden; background: #f0f0f0; flex-shrink: 0; }
.uber-guide-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.uber-guide-body { padding: 40px 32px 48px; width: 100%; box-sizing: border-box; text-align: left; min-height: 200px; }
.uber-guide-body-title { font-family: var(--font-display); font-size: clamp(1.15rem, 2.5vw, 1.4rem); font-weight: 700; color: var(--gray-900); margin-bottom: 12px; letter-spacing: -0.02em; line-height: 1.3; }
.uber-guide-body-desc { font-family: var(--font-primary); font-size: var(--text-base); color: var(--gray-500); line-height: 1.8; overflow-wrap: break-word; }

/* Bottom Controls */
.uber-guide-controls { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px 14px; border-top: 1px solid var(--gray-100); }
.uber-guide-counter { font-size: 13px; color: var(--gray-400); font-weight: 400; font-family: var(--font-primary); }
.uber-guide-counter strong { color: var(--gray-800); font-weight: 600; }

.uber-guide-nav { display: flex; gap: 8px; }
.uber-guide-nav-btn { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--gray-200); background: transparent; color: var(--gray-500); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s ease; }
.uber-guide-nav-btn:hover { border-color: var(--gray-900); color: var(--gray-900); background: var(--gray-50); }
.uber-guide-nav-btn:active { transform: scale(0.93); }

/* Carousel */
.tesla-carousel-wrapper { width: 100%; max-width: 480px; position: relative; }
.tesla-carousel { overflow: hidden; border-radius: 12px; }
.tesla-carousel-track { display: flex; transition: transform 0.5s cubic-bezier(0.16,1,0.3,1); will-change: transform; }
.tesla-carousel-slide { min-width: 100%; flex-shrink: 0; padding: 0 4px; box-sizing: border-box; }

.tesla-service-card { background: white; border-radius: 12px; padding: 40px 28px 36px; display: flex; flex-direction: column; align-items: center; text-align: center; box-shadow: 0 1px 8px rgba(0,0,0,0.04); transition: box-shadow 0.3s; min-height: 440px; justify-content: center; }
.tesla-service-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.06); }

.tesla-service-icon { width: 140px; height: 140px; border-radius: 28px; background: #ffffff; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; transition: all 0.3s ease; position: relative; overflow: hidden; }
.tesla-service-slide:nth-child(1) .tesla-service-icon, 
.tesla-service-slide:nth-child(2) .tesla-service-icon { background: radial-gradient(circle at 50% 50%, #ffffff 0%, #f3f4f6 100%); border: 1.5px solid #e5e7eb; }
.tesla-service-icon img, .tesla-service-icon svg { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; border-radius: 28px; }
.tesla-service-slide:nth-child(1) .tesla-service-icon img,
.tesla-service-slide:nth-child(2) .tesla-service-icon img { mix-blend-mode: multiply; }
.tesla-service-slide:nth-child(2) .tesla-service-icon img { transform: scale(1.5); filter: grayscale(1) contrast(1.15) brightness(1.02); }
.tesla-service-card:hover .tesla-service-icon { transform: translateY(-4px); }
.tesla-service-slide:nth-child(1) .tesla-service-card:hover .tesla-service-icon,
.tesla-service-slide:nth-child(2) .tesla-service-card:hover .tesla-service-icon { border-color: var(--gray-300); background: #f1f5f9; }
.tesla-service-card:hover .tesla-service-icon img, .tesla-service-card:hover .tesla-service-icon svg { transform: scale(1.1); }
.tesla-service-slide:nth-child(2) .tesla-service-card:hover .tesla-service-icon img { transform: scale(1.65); filter: grayscale(1) contrast(1.25) brightness(1.05); }
.tesla-service-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--gray-900); margin-bottom: 12px; letter-spacing: -0.01em; }
.tesla-service-desc { font-family: var(--font-primary); font-size: var(--text-sm); color: var(--gray-400); line-height: 1.7; }

.tesla-carousel-controls { display: flex; align-items: center; justify-content: center; margin-top: 32px; }
.tesla-carousel-btn { display: none !important; }
.tesla-carousel-dots { display: flex; gap: 8px; align-items: center; }
.tesla-carousel-dot { width: 32px; height: 2px; border-radius: 2px; border: none; background: rgba(0,0,0,0.08); cursor: pointer; padding: 0; transition: all 0.4s ease; }
.tesla-carousel-dot.active { background: var(--gray-900); width: 40px; }

/* Legacy grid */
.tesla-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 16px; width: 100%; }
.tesla-grid-item { position: relative; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px; }

/* Animations */
@keyframes teslaFadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes teslaFadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes teslaBounce { 0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); } 40% { transform: translate(-50%, -8px); } 60% { transform: translate(-50%, -4px); } }

/* Navbar on landing */
body:has(.tesla-landing) .nav-bar { background: rgba(255,255,255,0.92); backdrop-filter: blur(20px); border-bottom: none; }
body:has(.tesla-landing) .nav-bar.scrolled { box-shadow: 0 1px 0 rgba(0,0,0,0.04); }
body:has(.tesla-landing) .nav-logo { color: var(--gray-900); }
body:has(.tesla-landing) .nav-link { color: var(--gray-500); }
body:has(.tesla-landing) .nav-link--accent { background: var(--gray-900); color: white; }
body:has(.tesla-landing) .footer { background: var(--gray-50); border-top: none; }
body:has(.tesla-landing) { padding-bottom: 0; }
html:has(.tesla-landing) { scroll-behavior: smooth; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 359px) {
  :root { --space-5: 1rem; --space-6: 1.25rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-btn { min-width: unset; }
  .hero-features { grid-template-columns: 1fr; }
  .form-row, .form-row--3, .form-row--4 { grid-template-columns: 1fr; gap: 0; }
  .phone-row { flex-direction: column; }
  .login-card { padding: var(--space-6); }
}

@media (max-width: 600px) {
  .nav-links { position: fixed; top: var(--nav-height); left: 0; right: 0; background: rgba(255,255,255,0.97); backdrop-filter: blur(20px); flex-direction: column; padding: var(--space-4); border-bottom: 1px solid var(--gray-100); transform: translateY(-100%); opacity: 0; pointer-events: none; visibility: hidden; transition: all var(--transition-base); z-index: calc(var(--z-sticky) - 1); }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; visibility: visible; }
  .nav-toggle { display: flex; flex-direction: column; position: relative; z-index: var(--z-sticky); }
  .nav-link { width: 100%; justify-content: center; padding: var(--space-3); }
  .hero { min-height: 90vh; }
  .hero-features { grid-template-columns: 1fr; gap: var(--space-3); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .container { padding-left: var(--space-4); padding-right: var(--space-4); }
  .hero-btn { min-width: unset; width: 100%; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-row--3 { grid-template-columns: 1fr; gap: 0; }
  .form-row--4 { grid-template-columns: 1fr 1fr; column-gap: var(--space-3); row-gap: 0; }
  .leg-card { padding: var(--space-4); }
  .info-row { flex-direction: column; gap: 2px; }
  .info-row .label { min-width: unset; font-weight: 600; color: var(--gray-500); }
  .reservation-card { flex-direction: column; align-items: flex-start; }
  .reservation-card-left { width: 100%; }
  .reservation-card-arrow { display: none; }
  .login-card { padding: var(--space-6); border-radius: var(--radius-lg); }

  .tesla-section--hero { padding: 16vh 20px 10vh; min-height: 92vh; min-height: 92dvh; }
  .tesla-section--services { padding: 56px 16px 44px; }
  .tesla-section--fleet { padding: 56px 20px 48px; min-height: auto; }
  .uber-guide-header { margin-bottom: 24px; }
  .uber-guide-title { margin-bottom: 10px; }
  .uber-guide-tabs { margin-bottom: 28px; }
  .uber-guide-image { aspect-ratio: 1.4/1; }
  .uber-guide-body { padding: 32px 24px 36px; text-align: left; width: 100%; box-sizing: border-box; min-height: 140px; }
  .uber-guide-body-title { font-size: 1.05rem; margin-bottom: 10px; overflow-wrap: break-word; }
  .uber-guide-body-desc { font-size: var(--text-sm); line-height: 1.7; color: var(--gray-500); overflow-wrap: break-word; }
  .uber-guide-tab { padding: 10px 14px; font-size: 13px; }
  .uber-guide-accordion { padding: 8px 14px; }
  .uber-guide-accordion-icon { width: 28px; height: 28px; }
  .uber-guide-accordion-text { font-size: 13px; }
  .uber-guide-controls { padding: 8px 14px 10px; }
  .uber-guide-nav-btn { width: 36px; height: 36px; }
  .tesla-section--cta { padding: 64px 20px 52px; }
  .tesla-service-card { padding: 32px 20px 28px; min-height: 380px; }
  .tesla-grid { grid-template-columns: 1fr; height: auto; }
  .tesla-grid-item { height: 360px; }

}

/* Vehicle selection buttons styling - Moved out of media query */
.btn--vehicle-prev, .btn--vehicle-next {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-md) !important;
  transition: all var(--transition-base);
  letter-spacing: -0.01em;
}

.btn--vehicle-prev {
  background: white;
  color: var(--gray-600);
  border: 1px solid var(--gray-200);
}

.btn--vehicle-prev:hover {
  background: var(--gray-50);
  border-color: var(--gray-300);
  color: var(--gray-900);
}

.btn--vehicle-next {
  background: var(--gray-900);
  color: white;
  border: 1px solid var(--gray-900);
}

.btn--vehicle-next:hover {
  background: #000;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

@media (min-width: 1025px) {
  .btn--vehicle-prev, .btn--vehicle-next {
    height: 56px;
    font-size: 16px;
    border-radius: var(--radius-lg) !important;
  }
}

@media (max-width: 600px) {
  .btn--vehicle-prev, .btn--vehicle-next {
    height: 48px;
    font-size: 15px;
  }
}

@media (min-width: 601px) and (max-width: 768px) {
  .hero-features { grid-template-columns: repeat(3, 1fr); }
  .form-row--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero-content { max-width: 600px; }
}

@media (min-width: 1025px) {
  .hero-content { max-width: 720px; }
  .vehicle-grid { grid-template-columns: repeat(2, 1fr); }
  
  /* Fix vehicle selection card sizing and loading alignment */
  #vehicleSelectionStep .card {
    min-height: 520px;
    padding: var(--space-5);
    display: flex;
    flex-direction: column;
  }
  #vehicleSelectionStep .step-header {
    flex-shrink: 0;
  }
  #vehicle_options_container {
    flex: 1;
    display: grid;
  }
  #vehicle_options_container .loading-state {
    grid-column: 1 / -1;
    margin: auto 0;
  }

  .tesla-carousel-wrapper { max-width: 600px; margin-top: 48px; }
  .tesla-btn { height: 56px; font-size: 16px; border-radius: 12px; }
  .tesla-service-card { width: 600px; height: 600px; min-height: unset; padding: 48px 40px; }
  .tesla-service-icon { width: 180px; height: 180px; border-radius: 36px; margin-bottom: 32px; }
  .tesla-service-icon img, .tesla-service-icon svg { border-radius: 36px; }
  .tesla-service-title { font-size: var(--text-2xl); margin-bottom: 16px; font-weight: 700; }
  .tesla-service-desc { font-size: var(--text-base); line-height: 1.7; max-width: 380px; margin: 0 auto; color: var(--gray-500); }
  .tesla-btn--card { height: 48px; font-size: 15px; margin-top: 64px; width: 320px; padding: 0; flex: none; display: flex; align-items: center; justify-content: center; }
  .tesla-section--cta { background: var(--gray-50); padding: 140px 24px; border-top: 1px solid var(--gray-100); }
  .tesla-section--cta .tesla-title { font-size: var(--text-4xl); font-weight: 800; margin-bottom: 16px; }
  .tesla-section--cta .tesla-subtitle { font-size: var(--text-lg); }
  .tesla-section--cta .tesla-actions { max-width: 600px; margin-top: 48px; }
}

@media (hover: none) and (pointer: coarse) {
  .btn { min-height: 48px; }
  .form-input, .form-select, .form-textarea { min-height: 48px; font-size: 16px; }
  .nav-link { min-height: 44px; }
  .search-results li { min-height: 48px; display: flex; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

@media print {
  .nav-bar, .footer, .btn, .hero-overlay { display: none; }
  body { background: white; color: black; }
  .card, .leg-card { border: 1px solid #ccc; box-shadow: none; }
}
