/* ============================================
   BPR GARAGE — Premium Detailing
   Design System & Styles
   ============================================ */

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

/* ── Variables ── */
:root {
  --bg-primary: #070b14;
  --bg-secondary: #0d1425;
  --bg-card: #111827;
  --bg-card-hover: #1a2234;
  --bg-glass: rgba(255,255,255,0.04);

  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-600: #2563eb;
  --gold-400: #fbbf24;
  --gold-500: #f59e0b;

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #475569;

  --border: rgba(255,255,255,0.07);
  --border-blue: rgba(59,130,246,0.3);

  --gradient-blue: linear-gradient(135deg, #3b82f6, #1d4ed8);
  --gradient-gold: linear-gradient(135deg, #fbbf24, #f59e0b);
  --gradient-hero: linear-gradient(135deg, #070b14 0%, #0d1b3e 50%, #0a1628 100%);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.5);
  --shadow-blue: 0 0 40px rgba(59,130,246,0.2);
  --shadow-gold: 0 0 30px rgba(251,191,36,0.3);

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

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

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

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--blue-600); border-radius: 3px; }

/* ── Utilities ── */
.hidden { display: none !important; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.gradient-text {
  background: linear-gradient(135deg, var(--blue-400), var(--gold-400));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ─────────────────────────────────
   NAVBAR
───────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(7,11,20,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
  padding: 12px 0;
}

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

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

.logo-icon {
  font-size: 24px;
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.logo-text {
  font-size: 20px; font-weight: 800; letter-spacing: -0.5px;
  color: var(--text-primary);
}

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

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

.nav-link {
  padding: 8px 14px; border-radius: var(--radius-sm);
  color: var(--text-secondary); text-decoration: none;
  font-size: 14px; font-weight: 500;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: var(--bg-glass);
}

.nav-cta {
  background: var(--gradient-blue);
  color: white; border: none; cursor: pointer;
  padding: 10px 20px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; font-family: inherit;
  transition: var(--transition); flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(59,130,246,0.3);
}

.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(59,130,246,0.4); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}

.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-primary); border-radius: 2px;
  transition: var(--transition);
}

/* ─────────────────────────────────
   HERO
───────────────────────────────── */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex; align-items: center;
  overflow: hidden;
  padding: 100px 24px 60px;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: var(--gradient-hero);
}

.hero-gradient {
  position: absolute; inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(59,130,246,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(251,191,36,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(29,78,216,0.15) 0%, transparent 50%);
}

.hero-particles {
  position: absolute; inset: 0;
}

.particle {
  position: absolute;
  width: 2px; height: 2px;
  background: var(--blue-400);
  border-radius: 50%;
  animation: float linear infinite;
  opacity: 0;
}

@keyframes float {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

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

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.25);
  border-radius: 100px; padding: 6px 16px;
  font-size: 13px; color: var(--blue-400); font-weight: 500;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease both;
}

.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue-400);
  animation: pulse 2s ease infinite;
}

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

.hero-title {
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 900; line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-secondary);
  max-width: 520px; line-height: 1.7;
  margin-bottom: 36px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-bottom: 60px;
  animation: fadeInUp 0.6s ease 0.3s both;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gradient-blue);
  color: white; border: none; cursor: pointer;
  padding: 14px 28px; border-radius: var(--radius-md);
  font-size: 16px; font-weight: 600; font-family: inherit;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(59,130,246,0.35);
  white-space: nowrap;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px); 
  box-shadow: 0 8px 30px rgba(59,130,246,0.5);
}

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

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text-secondary);
  border: 1px solid var(--border); cursor: pointer;
  padding: 14px 28px; border-radius: var(--radius-md);
  font-size: 16px; font-weight: 500; font-family: inherit;
  transition: var(--transition);
}

.btn-ghost:hover {
  color: var(--text-primary); border-color: rgba(255,255,255,0.2);
  background: var(--bg-glass);
}

.full-btn { width: 100%; justify-content: center; margin-top: 24px; }

.hero-stats {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.stat { text-align: center; }
.stat-number { display: block; font-size: 28px; font-weight: 800; color: var(--blue-400); }
.stat-label { font-size: 13px; color: var(--text-muted); }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

.hero-car {
  position: absolute; right: 0; bottom: 0;
  width: 55%; max-width: 780px; z-index: 1;
  animation: fadeInRight 0.8s ease 0.3s both;
  pointer-events: none;
}

.car-glow {
  position: absolute; bottom: 20%; left: 50%; transform: translateX(-50%);
  width: 60%; height: 40%;
  background: radial-gradient(ellipse, rgba(59,130,246,0.25) 0%, transparent 70%);
  filter: blur(30px);
}

.car-illustration svg { width: 100%; height: auto; }

.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 2; animation: fadeIn 1s ease 1s both;
}

.scroll-dot {
  width: 28px; height: 48px; border: 2px solid rgba(255,255,255,0.2);
  border-radius: 14px; position: relative;
}

.scroll-dot::after {
  content: ''; position: absolute;
  top: 6px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px;
  background: var(--blue-400); border-radius: 2px;
  animation: scrollDot 2s ease infinite;
}

@keyframes scrollDot {
  0%, 100% { top: 6px; opacity: 1; }
  80% { top: 24px; opacity: 0; }
}

/* ─────────────────────────────────
   SECTIONS
───────────────────────────────── */
.section {
  padding: 100px 0;
  position: relative;
}

.section-dark {
  background: var(--bg-secondary);
}

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

.section-tag {
  display: inline-block;
  background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.25);
  border-radius: 100px; padding: 5px 16px;
  font-size: 13px; color: var(--blue-400); font-weight: 600;
  letter-spacing: 0.5px; text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -1px; margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px; color: var(--text-secondary);
  max-width: 500px; margin: 0 auto; line-height: 1.7;
}

/* ─────────────────────────────────
   SERVICES GRID
───────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  position: relative; overflow: hidden;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient-blue);
  transform: scaleX(0); transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-blue);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card.featured {
  border-color: rgba(59,130,246,0.4);
  background: linear-gradient(135deg, #111827, #0d1b3e);
  box-shadow: var(--shadow-blue);
}

.service-card.featured::before { transform: scaleX(1); }

.service-card.premium {
  border-color: rgba(251,191,36,0.35);
  background: linear-gradient(135deg, #111827, #1a1200);
}

.service-card.premium::before {
  background: var(--gradient-gold);
  transform: scaleX(1);
}

.featured-badge {
  display: inline-block;
  background: var(--gradient-blue);
  color: white; font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: 100px;
  margin-bottom: 16px; letter-spacing: 0.5px;
}

.premium-badge {
  background: var(--gradient-gold) !important;
  color: #0a0a0a !important;
}

.service-icon {
  font-size: 36px; margin-bottom: 16px;
  display: block; line-height: 1;
}

.service-name {
  font-size: 20px; font-weight: 700;
  margin-bottom: 8px; letter-spacing: -0.3px;
}

.service-desc {
  font-size: 14px; color: var(--text-secondary);
  line-height: 1.6; margin-bottom: 16px;
}

.service-details {
  display: flex; gap: 16px; margin-bottom: 20px;
}

.service-duration {
  font-size: 13px; color: var(--text-muted);
}

.service-price {
  font-size: 28px; font-weight: 800;
  color: var(--text-primary); letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.service-btn {
  width: 100%;
  background: rgba(59,130,246,0.1);
  color: var(--blue-400); border: 1px solid var(--border-blue);
  padding: 12px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; font-family: inherit;
  cursor: pointer; transition: var(--transition);
}

.service-btn:hover {
  background: var(--gradient-blue);
  color: white; border-color: transparent;
  box-shadow: 0 4px 15px rgba(59,130,246,0.3);
}

/* ─────────────────────────────────
   BOOKING
───────────────────────────────── */
.booking-wrapper {
  max-width: 800px; margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

/* Stepper */
.stepper {
  display: flex; align-items: center; margin-bottom: 40px;
}

.step {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; flex: 1;
}

.step-circle {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px;
  background: rgba(255,255,255,0.06);
  border: 2px solid var(--border);
  color: var(--text-muted);
  transition: var(--transition);
}

.step.active .step-circle {
  background: var(--gradient-blue);
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 15px rgba(59,130,246,0.4);
}

.step.completed .step-circle {
  background: rgba(59,130,246,0.15);
  border-color: var(--blue-500);
  color: var(--blue-400);
}

.step.completed .step-circle::after { content: '✓'; }
.step.completed .step-circle span { display: none; }

.step span:last-child {
  font-size: 12px; color: var(--text-muted); font-weight: 500;
  text-align: center;
}

.step.active span:last-child { color: var(--blue-400); }

.step-line {
  flex: 1; height: 2px;
  background: var(--border);
  max-width: 80px; margin-top: -20px;
  transition: var(--transition);
}

.step-line.active { background: var(--blue-500); }

/* Form */
.booking-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-bottom: 8px;
}

.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }

.form-label {
  font-size: 13px; font-weight: 600;
  color: var(--text-secondary); letter-spacing: 0.3px;
}

.form-input, .form-select {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary); font-family: inherit; font-size: 15px;
  padding: 12px 16px; width: 100%;
  transition: var(--transition);
  outline: none; appearance: none;
}

.form-input:focus, .form-select:focus {
  border-color: var(--blue-500);
  background: rgba(59,130,246,0.05);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}

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

.form-select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 40px; }

.form-select option { background: var(--bg-card); color: var(--text-primary); }

/* Calendar */
.booking-step { display: none; }
.booking-step.active { display: block; }

.calendar-section {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 24px;
  margin-bottom: 20px;
}

.calendar-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}

.cal-title {
  font-size: 17px; font-weight: 700;
  color: var(--text-primary);
}

.cal-nav {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-glass); border: 1px solid var(--border);
  color: var(--text-secondary); font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}

.cal-nav:hover {
  background: rgba(59,130,246,0.15);
  color: var(--blue-400); border-color: var(--border-blue);
}

.calendar-weekdays {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 4px; margin-bottom: 8px;
}

.calendar-weekdays span {
  text-align: center; font-size: 12px;
  font-weight: 600; color: var(--text-muted);
  padding: 4px;
}

.calendar-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px;
}

.cal-day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); font-size: 14px; font-weight: 500;
  cursor: pointer; transition: var(--transition);
  color: var(--text-primary);
  border: 1px solid transparent;
}

.cal-day:hover:not(.disabled):not(.empty) {
  background: rgba(59,130,246,0.15);
  border-color: var(--border-blue);
}

.cal-day.today {
  border-color: var(--blue-500);
  color: var(--blue-400);
}

.cal-day.selected {
  background: var(--gradient-blue) !important;
  border-color: transparent !important;
  color: white !important;
  box-shadow: 0 4px 12px rgba(59,130,246,0.4);
}

.cal-day.disabled {
  color: var(--text-muted); cursor: not-allowed; opacity: 0.4;
}

.cal-day.empty { cursor: default; }

/* Slots */
.slots-section {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 24px;
  margin-bottom: 24px;
  min-height: 180px;
}

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

.slots-title {
  font-size: 15px; font-weight: 600; color: var(--text-secondary);
}

.loading-spinner { display: flex; }
.spinner {
  width: 20px; height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--blue-400);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.slots-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 10px;
}

.slots-placeholder {
  grid-column: 1 / -1;
  text-align: center; color: var(--text-muted);
  padding: 24px; display: flex; flex-direction: column;
  align-items: center; gap: 8px;
}

.slots-placeholder span { font-size: 32px; }

.time-slot {
  padding: 12px 8px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-primary); font-size: 15px; font-weight: 600;
  cursor: pointer; transition: var(--transition); text-align: center;
}

.time-slot:hover {
  background: rgba(59,130,246,0.15);
  border-color: var(--border-blue);
  color: var(--blue-400);
}

.time-slot.selected {
  background: var(--gradient-blue);
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 12px rgba(59,130,246,0.35);
}

.no-slots {
  grid-column: 1 / -1;
  text-align: center; color: var(--text-muted);
  padding: 16px; font-size: 14px;
}

.step-actions {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 8px;
}

/* Confirm */
.confirm-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 28px;
  margin-bottom: 24px;
}

.confirm-header {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 24px;
}

.confirm-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(59,130,246,0.15);
  border: 2px solid var(--blue-500);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--blue-400);
}

.confirm-header h3 { font-size: 20px; font-weight: 700; }

.confirm-details { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }

.confirm-row {
  display: flex; flex-direction: column; gap: 4px;
}

.confirm-row-label {
  font-size: 12px; color: var(--text-muted); font-weight: 600;
  letter-spacing: 0.5px; text-transform: uppercase;
}

.confirm-row-value {
  font-size: 16px; font-weight: 600; color: var(--text-primary);
}

.confirm-note {
  display: flex; align-items: center; gap: 10px;
  padding: 14px; border-radius: var(--radius-sm);
  background: rgba(59,130,246,0.07);
  border: 1px solid rgba(59,130,246,0.15);
}

.confirm-note p { font-size: 13px; color: var(--text-secondary); }

/* Success */
.success-animation {
  text-align: center; padding: 32px 0;
}

.success-circle {
  width: 100px; height: 100px;
  margin: 0 auto 24px;
}

.checkmark { width: 100px; height: 100px; }

.checkmark-circle {
  stroke: var(--blue-400); stroke-dasharray: 166;
  stroke-dashoffset: 166; stroke-width: 2;
  animation: strokeDash 0.6s cubic-bezier(0.65, 0, 0.45, 1) 0.2s forwards;
}

.checkmark-check {
  stroke: var(--blue-400); stroke-dasharray: 48;
  stroke-dashoffset: 48; stroke-width: 3;
  animation: strokeDash 0.4s cubic-bezier(0.65, 0, 0.45, 1) 0.7s forwards;
}

@keyframes strokeDash { to { stroke-dashoffset: 0; } }

.success-title {
  font-size: 28px; font-weight: 800;
  margin-bottom: 12px; letter-spacing: -0.5px;
}

.success-msg {
  color: var(--text-secondary); font-size: 15px;
  margin-bottom: 28px; line-height: 1.6;
}

.success-actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}

/* ─────────────────────────────────
   MY BOOKINGS
───────────────────────────────── */
.search-bar {
  display: flex; gap: 12px; max-width: 560px; margin: 0 auto 40px;
}

.search-input-wrap {
  flex: 1; position: relative;
}

.search-input-wrap svg {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); pointer-events: none;
}

.search-input {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary); font-family: inherit; font-size: 15px;
  width: 100%; padding: 14px 16px 14px 44px;
  outline: none; transition: var(--transition);
}

.search-input:focus {
  border-color: var(--blue-500);
  background: rgba(59,130,246,0.05);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}

.empty-state {
  text-align: center; padding: 48px;
  color: var(--text-muted);
}

.empty-icon { font-size: 48px; margin-bottom: 12px; }
.empty-state p { font-size: 15px; }

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

.booking-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 20px;
  transition: var(--transition);
  position: relative; overflow: hidden;
}

.booking-card:hover {
  border-color: var(--border-blue);
  box-shadow: var(--shadow-blue);
}

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

.booking-service-name {
  font-size: 16px; font-weight: 700;
}

.status-badge {
  padding: 4px 10px; border-radius: 100px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase;
}

.status-confirmed { background: rgba(34,197,94,0.15); color: #4ade80; }
.status-pending { background: rgba(251,191,36,0.15); color: #fbbf24; }
.status-completed { background: rgba(59,130,246,0.15); color: #60a5fa; }
.status-cancelled { background: rgba(239,68,68,0.15); color: #f87171; }

.booking-card-details {
  display: flex; flex-direction: column; gap: 8px;
}

.booking-detail {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--text-secondary);
}

.booking-detail-icon { font-size: 16px; flex-shrink: 0; }

.booking-card-footer {
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}

.booking-id { font-size: 12px; color: var(--text-muted); }

/* ─────────────────────────────────
   ADMIN DASHBOARD
───────────────────────────────── */
.admin-login {
  display: flex; justify-content: center;
}

.login-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
  max-width: 380px; width: 100%;
  text-align: center; display: flex;
  flex-direction: column; gap: 20px;
}

.login-icon { font-size: 48px; }
.login-card h3 { font-size: 22px; font-weight: 700; }

/* KPIs */
.kpi-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-bottom: 32px;
}

.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 20px;
  display: flex; align-items: center; gap: 16px;
  transition: var(--transition);
}

.kpi-card:hover {
  border-color: var(--border-blue);
  box-shadow: var(--shadow-blue);
}

.kpi-icon { font-size: 32px; }
.kpi-info { display: flex; flex-direction: column; gap: 4px; }
.kpi-label { font-size: 12px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.kpi-value { font-size: 26px; font-weight: 800; color: var(--text-primary); }

/* Filters */
.dashboard-filters {
  display: flex; gap: 12px; margin-bottom: 28px; align-items: center;
  flex-wrap: wrap;
}

.filter-date, .filter-select { max-width: 200px; }

/* Schedule Timeline */
.schedule-view {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 24px;
  margin-bottom: 28px;
}

.schedule-title, .table-title {
  font-size: 18px; font-weight: 700;
  margin-bottom: 20px; letter-spacing: -0.3px;
}

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

.timeline-slot {
  display: flex; gap: 16px; align-items: stretch;
}

.timeline-time {
  width: 56px; flex-shrink: 0;
  font-size: 13px; font-weight: 700;
  color: var(--text-muted); padding-top: 14px;
  text-align: right;
}

.timeline-line {
  width: 2px; background: var(--border); flex-shrink: 0;
  position: relative;
}

.timeline-line::before {
  content: ''; position: absolute;
  top: 18px; left: 50%; transform: translateX(-50%);
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border); border: 2px solid var(--bg-card);
}

.timeline-line.active::before { background: var(--blue-400); }
.timeline-line.occupied::before { background: #4ade80; }

.timeline-content {
  flex: 1; padding-bottom: 8px;
}

.timeline-booking {
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: var(--radius-sm); padding: 12px 16px;
}

.timeline-empty {
  padding: 12px;
  color: var(--text-muted); font-size: 13px;
}

.timeline-booking-name { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.timeline-booking-details { font-size: 13px; color: var(--text-secondary); }

.loading-state {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; padding: 32px; color: var(--text-muted);
}

/* Table */
.table-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 24px;
}

.table-wrapper { overflow-x: auto; }

.bookings-table {
  width: 100%; border-collapse: collapse;
  font-size: 14px;
}

.bookings-table th {
  text-align: left; padding: 12px 16px;
  font-size: 12px; font-weight: 700;
  color: var(--text-muted); letter-spacing: 0.5px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}

.bookings-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--text-secondary);
  vertical-align: middle;
}

.bookings-table tr:hover td {
  background: rgba(255,255,255,0.02);
  color: var(--text-primary);
}

.table-loading {
  text-align: center; padding: 32px !important;
  color: var(--text-muted);
}

.service-tag {
  background: rgba(59,130,246,0.1);
  color: var(--blue-400); font-size: 12px; font-weight: 600;
  padding: 4px 10px; border-radius: 100px;
  white-space: nowrap;
}

.action-btn {
  padding: 6px 12px; border-radius: var(--radius-sm);
  font-size: 12px; font-weight: 600; cursor: pointer;
  border: 1px solid; font-family: inherit; transition: var(--transition);
}

.btn-complete {
  background: rgba(34,197,94,0.1); color: #4ade80;
  border-color: rgba(34,197,94,0.3);
}

.btn-complete:hover { background: rgba(34,197,94,0.2); }

.btn-cancel-action {
  background: rgba(239,68,68,0.1); color: #f87171;
  border-color: rgba(239,68,68,0.3);
}

.btn-cancel-action:hover { background: rgba(239,68,68,0.2); }

/* ─────────────────────────────────
   FOOTER
───────────────────────────────── */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}

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

.footer-brand p {
  color: var(--text-muted); font-size: 14px;
  line-height: 1.7; margin: 16px 0 20px;
  max-width: 280px;
}

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

.social-btn {
  padding: 8px 16px; border-radius: var(--radius-sm);
  background: var(--bg-glass); border: 1px solid var(--border);
  color: var(--text-secondary); font-size: 13px; font-weight: 500;
  text-decoration: none; transition: var(--transition);
}

.social-btn:hover {
  color: var(--text-primary); border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
}

.footer-links h4 {
  font-size: 13px; font-weight: 700; color: var(--text-secondary);
  letter-spacing: 0.5px; text-transform: uppercase;
  margin-bottom: 16px;
}

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

.footer-links li { font-size: 14px; color: var(--text-muted); }
.footer-links a { color: var(--text-muted); text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: var(--text-primary); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--border);
  flex-wrap: wrap; gap: 8px;
}

.footer-bottom p { font-size: 13px; color: var(--text-muted); }
.footer-tech { color: var(--text-muted) !important; font-family: 'Space Grotesk', monospace; }

/* ─────────────────────────────────
   TOAST
───────────────────────────────── */
.toast-container {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 9999; display: flex; flex-direction: column; gap: 10px;
  pointer-events: none;
}

.toast {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 14px 20px;
  box-shadow: var(--shadow-lg); font-size: 14px; font-weight: 500;
  pointer-events: all; max-width: 340px;
  animation: toastIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.toast.hide { animation: toastOut 0.3s ease forwards; }

.toast-success { border-left: 3px solid #4ade80; }
.toast-error { border-left: 3px solid #f87171; }
.toast-info { border-left: 3px solid var(--blue-400); }

@keyframes toastIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes toastOut {
  to { transform: translateX(120%); opacity: 0; }
}

/* ─────────────────────────────────
   ANIMATIONS
───────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────────────────────────
   RESPONSIVE
───────────────────────────────── */
@media (max-width: 1024px) {
  .hero-car { display: none; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-content { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 70px; left: 0; right: 0;
    background: rgba(7,11,20,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px; gap: 8px;
    border-bottom: 1px solid var(--border);
    z-index: 999;
  }

  .hero-title { letter-spacing: -1px; }
  .hero-stats { gap: 20px; }
  .stat-divider { display: none; }

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

  .booking-wrapper { padding: 24px; }
  .booking-grid { grid-template-columns: 1fr; }

  .stepper .step span:last-child { display: none; }

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

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

  .dashboard-filters { flex-direction: column; }
  .filter-date, .filter-select { max-width: 100%; }

  .confirm-details { grid-template-columns: 1fr; }

  .search-bar { flex-direction: column; }
}

@media (max-width: 480px) {
  .section { padding: 64px 0; }
  .booking-wrapper { padding: 16px; }
  .kpi-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
}

/* ===================== LEGAL MODALS ===================== */
.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  margin: 0.5rem 0;
}
.footer-legal-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  transition: color 0.2s;
  text-decoration: none;
  display: inline;
}
.footer-legal-btn:hover { color: #60a5fa; text-decoration: underline; }
.footer-legal-sep { color: rgba(255,255,255,0.3); font-size: 0.82rem; }

.legal-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.legal-modal-overlay.open { display: flex; }

.legal-modal {
  background: #0f172a;
  border: 1px solid rgba(96,165,250,0.2);
  border-radius: 1rem;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0,0,0,0.6);
  animation: modalIn 0.25s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.legal-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(96,165,250,0.15);
  flex-shrink: 0;
}
.legal-modal-header h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0;
}
.legal-modal-close {
  background: rgba(255,255,255,0.07);
  border: none;
  color: #94a3b8;
  font-size: 1rem;
  cursor: pointer;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.legal-modal-close:hover { background: rgba(239,68,68,0.2); color: #ef4444; }

.legal-modal-body {
  overflow-y: auto;
  padding: 1.5rem;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.7;
  scrollbar-width: thin;
  scrollbar-color: rgba(96,165,250,0.3) transparent;
}
.legal-modal-body h3 {
  color: #60a5fa;
  font-size: 0.95rem;
  font-weight: 600;
  margin: 1.4rem 0 0.4rem;
  border-left: 3px solid #3b82f6;
  padding-left: 0.6rem;
}
.legal-modal-body p { margin: 0.4rem 0; }
.legal-modal-body ul {
  padding-left: 1.2rem;
  margin: 0.4rem 0;
}
.legal-modal-body ul li { margin-bottom: 0.3rem; }
.legal-modal-body strong { color: #cbd5e1; }
.legal-modal-body a { color: #60a5fa; }
.legal-meta {
  font-size: 0.78rem;
  color: #64748b;
  background: rgba(255,255,255,0.04);
  border-radius: 0.4rem;
  padding: 0.4rem 0.75rem;
  margin-bottom: 0.75rem !important;
  display: inline-block;
}
