/* ZM Leasing — Premium Vehicle Rental Platform
   Theme: Dark luxury (noir/blanc/rouge)
   Fonts: Playfair Display (headings) + DM Sans (body) */

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

:root {
  --bg-primary: #0a0a0a;
  --bg-card: #111111;
  --bg-card-hover: #1a1a1a;
  --bg-surface: #161616;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-muted: #666666;
  --accent: #e63946;
  --accent-hover: #ff4757;
  --accent-glow: rgba(230, 57, 70, 0.15);
  --border: #222222;
  --border-light: #333333;
  --success: #2ecc71;
  --warning: #f1c40f;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-card: 0 2px 20px rgba(0,0,0,0.4);
  --shadow-hover: 0 8px 40px rgba(0,0,0,0.6);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--text-primary);
  line-height: 1.2;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

img { max-width: 100%; height: auto; display: block; }

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

/* ============ NAVIGATION ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--text-primary); }

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: all var(--transition);
}

.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px var(--accent-glow);
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(230, 57, 70, 0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 100%, rgba(230, 57, 70, 0.04) 0%, transparent 40%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid var(--accent);
  border-radius: 50px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero h1 .accent { color: var(--accent); }

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--accent-glow);
}

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

.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-lg { padding: 18px 40px; font-size: 16px; }

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* ============ SECTION ============ */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 16px;
  color: var(--text-secondary);
}

.section-label {
  display: inline-block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ============ VEHICLE GRID ============ */
.vehicles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

.vehicle-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.vehicle-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-light);
}

.vehicle-card-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.vehicle-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.vehicle-card:hover .vehicle-card-image img {
  transform: scale(1.05);
}

.vehicle-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: #fff;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}

.vehicle-card-body {
  padding: 24px;
}

.vehicle-card-body h3 {
  font-size: 20px;
  margin-bottom: 4px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
}

.vehicle-card-specs {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

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

.vehicle-card-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}

.vehicle-card-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
}

.vehicle-card-deposit {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============ VEHICLE DETAIL ============ */
.vehicle-detail {
  padding-top: 100px;
}

.vehicle-hero {
  position: relative;
  height: 500px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
}

.vehicle-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vehicle-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.vehicle-detail-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: start;
}

.vehicle-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.spec-item {
  background: var(--bg-surface);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.spec-item label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 4px;
}

.spec-item span {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

/* ============ BOOKING PANEL ============ */
.booking-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: sticky;
  top: 100px;
}

.booking-panel h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  margin-bottom: 24px;
}

.booking-price-display {
  text-align: center;
  padding: 20px;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.booking-price-display .price {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
}

.booking-price-display .unit {
  font-size: 16px;
  color: var(--text-muted);
}

/* ============ CALENDAR ============ */
.calendar-container {
  margin-bottom: 24px;
}

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

.calendar-nav button {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all var(--transition);
}

.calendar-nav button:hover {
  background: var(--border-light);
}

.calendar-nav .month-title {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
}

.calendar-months {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.calendar-month { }

.calendar-month .month-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 12px;
}

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

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

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

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  color: var(--text-secondary);
}

.calendar-day:hover:not(.disabled):not(.booked) {
  background: var(--border-light);
  color: var(--text-primary);
}

.calendar-day.today {
  border: 1px solid var(--accent);
}

.calendar-day.selected {
  background: var(--accent);
  color: #fff;
}

.calendar-day.in-range {
  background: var(--accent-glow);
  color: var(--text-primary);
  border-radius: 0;
}

.calendar-day.range-start {
  border-radius: 50% 0 0 50%;
  background: var(--accent);
  color: #fff;
}

.calendar-day.range-end {
  border-radius: 0 50% 50% 0;
  background: var(--accent);
  color: #fff;
}

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

.calendar-day.booked {
  color: var(--text-muted);
  opacity: 0.3;
  cursor: not-allowed;
  text-decoration: line-through;
}

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

/* ============ FORM ELEMENTS ============ */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group input[type="file"] {
  padding: 10px;
}

.form-group input[type="file"]::file-selector-button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  cursor: pointer;
  margin-right: 12px;
}

/* Checkbox / Toggle */
.checkbox-group {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--transition);
}

.checkbox-group:hover {
  border-color: var(--border-light);
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
  cursor: pointer;
}

.checkbox-group label {
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}

/* ============ PRICE BREAKDOWN ============ */
.price-breakdown {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 20px 0;
}

.price-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
}

.price-row.discount {
  color: var(--success);
}

.price-row.total {
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

/* ============ PREORDER SECTION ============ */
.preorder-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 60px;
}

.preorder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.preorder-info h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.preorder-info p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
}

/* ============ FOOTER ============ */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border);
  margin-top: 80px;
}

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

.footer-brand img {
  height: 40px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 300px;
}

.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* ============ DISCOUNT TIERS ============ */
.discount-tiers {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 16px 0;
}

.discount-tier {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
  transition: all var(--transition);
}

.discount-tier.active {
  border-color: var(--accent);
  background: var(--accent-glow);
}

.discount-tier .days {
  font-size: 12px;
  color: var(--text-muted);
  display: block;
}

.discount-tier .pct {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

/* ============ FEATURES / HOW IT WORKS ============ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.step-card {
  text-align: center;
  padding: 32px 20px;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 20px;
}

.step-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ============ STATS BAR ============ */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.stat-item .number {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'Playfair Display', serif;
}

.stat-item .label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============ ADMIN DASHBOARD ============ */
.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  padding: 24px 0;
  position: fixed;
  width: 240px;
  height: 100vh;
  overflow-y: auto;
}

.admin-sidebar .logo {
  padding: 0 20px 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.admin-sidebar .logo img {
  height: 36px;
}

.admin-sidebar nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
}

.admin-sidebar nav a:hover,
.admin-sidebar nav a.active {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-right: 2px solid var(--accent);
}

.admin-content {
  margin-left: 240px;
  padding: 32px;
}

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

.admin-header h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: 24px;
}

/* Admin stat cards */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.admin-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.admin-stat-card .label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.admin-stat-card .value {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 8px;
}

.admin-stat-card .change {
  font-size: 13px;
  color: var(--success);
  margin-top: 4px;
}

/* Admin table */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

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

.admin-table td {
  padding: 14px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table tr:hover td {
  background: var(--bg-surface);
}

/* Status badges */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}

.badge-confirmed { background: rgba(46, 204, 113, 0.15); color: var(--success); }
.badge-pending { background: rgba(241, 196, 15, 0.15); color: var(--warning); }
.badge-cancelled { background: rgba(230, 57, 70, 0.15); color: var(--accent); }
.badge-paid { background: rgba(46, 204, 113, 0.15); color: var(--success); }
.badge-new { background: rgba(52, 152, 219, 0.15); color: #3498db; }

/* ============ ADMIN LOGIN ============ */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  width: 100%;
  max-width: 420px;
}

.login-card h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: 24px;
  text-align: center;
  margin-bottom: 8px;
}

.login-card p {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* ============ CONFIRMATION PAGE ============ */
.confirmation-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.confirmation-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 600px;
  text-align: center;
}

.confirmation-icon {
  width: 64px;
  height: 64px;
  background: rgba(46, 204, 113, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 32px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .vehicle-detail-grid { grid-template-columns: 1fr; }
  .booking-panel { position: static; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .admin-content { margin-left: 0; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .calendar-months { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .hero { min-height: auto; padding: 120px 24px 60px; }
  .vehicles-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar { flex-wrap: wrap; gap: 24px; }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .preorder-grid { grid-template-columns: 1fr; }
  .preorder-section { padding: 32px; }
  .discount-tiers { grid-template-columns: repeat(3, 1fr); }
  .admin-stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .vehicle-hero { height: 300px; }
  .vehicle-specs-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .discount-tiers { grid-template-columns: repeat(2, 1fr); }
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.fade-in-up-delay-1 { animation-delay: 0.1s; opacity: 0; }
.fade-in-up-delay-2 { animation-delay: 0.2s; opacity: 0; }
.fade-in-up-delay-3 { animation-delay: 0.3s; opacity: 0; }

/* Loading spinner */
.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 20px auto;
}

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

/* Toast / Alert */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  color: var(--text-primary);
  font-size: 14px;
  box-shadow: var(--shadow-hover);
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.error { border-color: var(--accent); }
.toast.success { border-color: var(--success); }

/* Alert box */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 14px;
}

.alert-error {
  background: rgba(230, 57, 70, 0.1);
  border: 1px solid var(--accent);
  color: var(--accent);
}

.alert-success {
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid var(--success);
  color: var(--success);
}

/* ============ MISC ============ */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.gap-1 { gap: 8px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.w-full { width: 100%; }
.hidden { display: none; }
