@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --orange: #FF9800;
  --orange-dark: #FF5722;
  --orange-light: rgba(255, 152, 0, 0.12);
  --gradient: linear-gradient(135deg, #FF9800 0%, #FF5722 100%);
  --gradient-hover: linear-gradient(135deg, #FFA726 0%, #F4511E 100%);
  --gradient-soft: linear-gradient(135deg, rgba(255, 152, 0, 0.08) 0%, rgba(255, 87, 34, 0.05) 100%);
  
  /* Modern Dark Navy Neutrals */
  --white: #ffffff;
  --black: #0f172a;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-800: #1e293b;
  
  --green: #10b981;
  --blue: #3b82f6;
  
  /* Refined Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 12px 32px -4px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 64px -8px rgba(0, 0, 0, 0.12);
  --shadow-orange: 0 12px 32px -4px rgba(255, 106, 0, 0.35);
  --shadow-orange-hover: 0 16px 40px -4px rgba(255, 106, 0, 0.5);
  
  /* Radii */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { 
  font-family: 'Inter', sans-serif; 
  color: var(--gray-800); 
  background: var(--gray-50); 
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 { font-family: 'Outfit', sans-serif; line-height: 1.15; letter-spacing: -0.02em; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; font-family: 'Outfit', sans-serif; }
input, select, textarea { font-family: 'Inter', sans-serif; }
img { max-width: 100%; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 14px 28px; border-radius: var(--radius-full);
  font-weight: 600; font-size: 0.98rem; transition: var(--transition);
  border: none; cursor: pointer; white-space: nowrap; position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.5s;
}
.btn:hover::after { left: 100%; }

.btn-primary { background: var(--gradient); color: #fff; box-shadow: var(--shadow-orange); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-orange-hover); background: var(--gradient-hover); }

.btn-secondary { background: #fff; color: var(--orange); border: 2px solid var(--gray-100); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-ghost { background: rgba(255, 255, 255, 0.08); color: #fff; backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.15); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.15); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.2); }

.btn-outline-orange { border: 2px solid var(--orange-light); color: var(--orange); background: transparent; }
.btn-outline-orange:hover { background: var(--orange-light); color: var(--orange-dark); border-color: var(--orange); transform: translateY(-2px); }

.btn-sm { padding: 10px 22px; font-size: 0.9rem; }
.btn-lg { padding: 18px 40px; font-size: 1.1rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ── TEXT GRADIENT ── */
.text-gradient { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ── INPUTS ── */
.input-group { display: flex; flex-direction: column; gap: 8px; }
.input-group label { font-weight: 500; font-size: 0.9rem; color: var(--gray-600); }
.input {
  width: 100%; padding: 16px 18px; border-radius: var(--radius-sm);
  border: 2px solid var(--gray-200); font-size: 1rem;
  transition: var(--transition-fast); outline: none; background: #fff; color: var(--gray-800);
}
.input:hover { border-color: var(--gray-400); }
.input:focus { border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-light); transform: translateY(-1px); }
.input-icon-wrap { position: relative; }
.input-icon-wrap .ico { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--gray-400); font-size: 1.2rem; pointer-events: none; transition: var(--transition); }
.input:focus + .ico, .input-icon-wrap:focus-within .ico { color: var(--orange); transform: translateY(-50%) scale(1.1); }
.input-icon-wrap .input { padding-left: 48px; }

/* ── BADGES ── */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 16px; border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; }
.badge-orange { background: var(--orange-light); color: var(--orange-dark); border: 1px solid rgba(255, 106, 0, 0.2); }
.badge-green { background: rgba(16, 185, 129, 0.1); color: var(--green); }

/* ── CARDS ── */
.card { background: #fff; border-radius: var(--radius-lg); padding: 32px; transition: var(--transition); border: 1px solid rgba(255,255,255,0.8); }
.card-shadow { box-shadow: var(--shadow-md); }
.card-hover:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--orange-light); }
.card-glass { background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(24px); border: 1px solid rgba(255, 255, 255, 0.6); box-shadow: var(--shadow-lg); }

/* ── NAVBAR ── */
.navbar {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  padding: 0 40px; height: 76px;
  display: flex; align-items: center; justify-content: space-between;
  transition: var(--transition);
}
.navbar:hover { background: rgba(255, 255, 255, 0.98); }
.navbar-brand { display: flex; align-items: center; gap: 12px; }
.navbar-brand img { height: 40px; width: 40px; border-radius: 12px; object-fit: cover; box-shadow: var(--shadow-sm); }
.navbar-brand .brand-name { font-family: 'Outfit', sans-serif; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; }
.navbar-links { display: flex; align-items: center; gap: 36px; }
.navbar-links a { font-weight: 500; color: var(--gray-600); transition: var(--transition); font-size: 0.95rem; position: relative; }
.navbar-links a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -4px; left: 0; background: var(--gradient); transition: var(--transition); border-radius: 2px; }
.navbar-links a:hover { color: var(--orange); }
.navbar-links a:hover::after { width: 100%; }
.navbar-actions { display: flex; align-items: center; gap: 16px; }

.navbar-toggle { display: none; flex-direction: column; gap: 6px; cursor: pointer; padding: 8px; }
.navbar-toggle span { display: block; width: 28px; height: 2px; background: var(--gray-800); border-radius: 2px; transition: var(--transition); }

.mobile-menu { display: none; position: fixed; top: 76px; left: 0; right: 0; background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); border-bottom: 1px solid var(--gray-200); padding: 24px 32px; z-index: 199; flex-direction: column; gap: 18px; box-shadow: var(--shadow-lg); }
.mobile-menu.open { display: flex; animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.mobile-menu a { font-weight: 600; font-size: 1.1rem; color: var(--gray-700); padding: 12px 0; border-bottom: 1px solid var(--gray-100); transition: var(--transition); }
.mobile-menu a:hover { color: var(--orange); padding-left: 8px; }

/* ── PARTICLES ── */
.particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.particle { position: absolute; border-radius: 50%; animation: particleFloat linear infinite; opacity: 0; filter: blur(1px); }
@keyframes particleFloat { 0%{transform:translateY(110vh) scale(0);opacity:0} 20%{opacity:0.8} 80%{opacity:0.6} 100%{transform:translateY(-10vh) scale(2);opacity:0} }

/* ── SECTION ── */
.section { padding: 120px 32px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 72px; }
.section-header .badge { margin-bottom: 20px; }
.section-header h2 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; margin-bottom: 20px; }
.section-header p { color: var(--gray-500); max-width: 540px; margin: 0 auto; font-size: 1.1rem; }

/* ── GRIDS ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }

/* ── OTP INPUT ── */
.otp-inputs { display: flex; gap: 12px; justify-content: center; }
.otp-box { width: 56px; height: 64px; border: 2px solid var(--gray-200); border-radius: var(--radius-sm); font-size: 1.6rem; font-weight: 700; text-align: center; color: var(--gray-800); outline: none; transition: var(--transition); background: #fff; box-shadow: var(--shadow-sm); }
.otp-box:focus { border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-light), var(--shadow-md); transform: translateY(-2px); }
.otp-box.filled { border-color: var(--orange); background: rgba(255, 106, 0, 0.04); }

/* ── TOAST ── */
.toast-container { position: fixed; top: 96px; right: 24px; z-index: 999; display: flex; flex-direction: column; gap: 12px; }
.toast { padding: 16px 24px; border-radius: var(--radius-md); font-weight: 600; font-size: 0.95rem; max-width: 360px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; animation: toastIn 0.4s cubic-bezier(0.16, 1, 0.3, 1); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.2); }
.toast-success { background: rgba(16, 185, 129, 0.9); color: #fff; }
.toast-error { background: rgba(239, 68, 68, 0.9); color: #fff; }
.toast-info { background: rgba(255, 106, 0, 0.9); color: #fff; }
@keyframes toastIn { from{transform:translateX(100px) scale(0.9);opacity:0} to{transform:translateX(0) scale(1);opacity:1} }

/* ── FOOTER ── */
.footer { background: var(--black); color: #fff; padding: 80px 32px 32px; position: relative; overflow: hidden; }
.footer::before { content:''; position:absolute; top:0; left:50%; transform:translateX(-50%); width:100%; height:1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 64px; position: relative; z-index: 2; }
.footer-brand .brand-name { font-family: 'Outfit', sans-serif; font-size: 1.6rem; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; }
.footer-brand p { color: rgba(255, 255, 255, 0.6); font-size: 0.95rem; line-height: 1.8; max-width: 280px; }
.footer-col h4 { font-family: 'Outfit', sans-serif; font-weight: 700; margin-bottom: 24px; font-size: 1.05rem; letter-spacing: 0.02em; text-transform: uppercase; color: rgba(255,255,255,0.9); }
.footer-col a { display: block; color: rgba(255, 255, 255, 0.5); font-size: 0.95rem; margin-bottom: 14px; transition: var(--transition); }
.footer-col a:hover { color: var(--orange); transform: translateX(4px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 32px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; position: relative; z-index: 2; }
.footer-bottom p { color: rgba(255, 255, 255, 0.4); font-size: 0.9rem; }
.social-links { display: flex; gap: 16px; }
.social-link { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.06); display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: var(--transition); color: #fff; border: 1px solid rgba(255,255,255,0.05); }
.social-link:hover { background: var(--gradient); transform: translateY(-4px) scale(1.1); box-shadow: 0 10px 24px rgba(255, 106, 0, 0.3); border-color: transparent; }

/* ── LOADING OVERLAY ── */
.loading-overlay { position: fixed; inset: 0; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px); z-index: 500; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; transition: var(--transition); }
.spinner { width: 56px; height: 56px; border: 4px solid var(--gray-100); border-top-color: var(--orange); border-radius: 50%; animation: spin 0.8s cubic-bezier(0.6, 0.2, 0.4, 0.8) infinite; box-shadow: 0 0 20px rgba(255,106,0,0.2); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── DRIVER CARD ── */
.driver-card { display: flex; align-items: center; gap: 18px; padding: 20px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-md); border: 1px solid var(--gray-100); transition: var(--transition); }
.driver-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--orange-light); }
.driver-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--gradient); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; flex-shrink: 0; box-shadow: var(--shadow-orange); border: 2px solid #fff; }
.driver-info h4 { font-weight: 700; font-size: 1.1rem; }
.driver-info .rating { color: #f59e0b; font-size: 0.9rem; font-weight: 600; margin-top: 2px; }
.driver-info .vehicle { color: var(--gray-500); font-size: 0.85rem; margin-top: 4px; background: var(--gray-50); padding: 4px 8px; border-radius: 6px; display: inline-block; }

/* ── MAP BOX ── */
#map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-200); box-shadow: var(--shadow-md); transition: var(--transition); }
#map:hover { box-shadow: var(--shadow-lg); border-color: var(--orange-light); }

/* ── VEHICLE SELECT ── */
.vehicle-option { padding: 20px; border: 2px solid var(--gray-100); border-radius: var(--radius-lg); cursor: pointer; transition: var(--transition); display: flex; align-items: center; gap: 16px; background: #fff; position: relative; overflow: hidden; }
.vehicle-option:hover { border-color: var(--orange-light); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.vehicle-option.selected { border-color: var(--orange); background: var(--gradient-soft); box-shadow: var(--shadow-md); }
.vehicle-option.selected::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--gradient); }
.vehicle-option .v-icon { font-size: 2.2rem; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1)); transition: var(--transition); }
.vehicle-option.selected .v-icon { transform: scale(1.15); filter: drop-shadow(0 8px 16px rgba(255,106,0,0.2)); }
.vehicle-option .v-info { flex: 1; }
.vehicle-option .v-info h4 { font-weight: 700; font-size: 1.05rem; }
.vehicle-option .v-info p { color: var(--gray-500); font-size: 0.85rem; margin-top: 2px; }
.vehicle-option .v-price { font-weight: 800; color: var(--orange); font-size: 1.25rem; text-align: right; font-family: 'Outfit', sans-serif; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
  .navbar-links { display: none; }
  .navbar-actions .btn { padding: 8px 16px; font-size: 0.85rem; }
  .navbar-actions .btn-secondary { display: none; } /* Only show primary on small screens to save space */
  .navbar-toggle { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 80px 20px; }
  .navbar { padding: 0 24px; height: 68px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .otp-box { width: 48px; height: 56px; font-size: 1.4rem; }
  .section-header h2 { font-size: 2rem; }
}

/* -- LUCIDE ICONS -- */
[data-lucide], .lucide { width: 1em; height: 1em; display: inline-block; vertical-align: text-bottom; stroke-width: 2; }
