/* ===== ANM HOLDING - Design System ===== */
:root {
  --primary: #C8102E;        /* Rouge ANM */
  --primary-dark: #8B0A1F;
  --primary-light: #E63946;
  --black: #0A0A0A;
  --dark: #1A1A1A;
  --gray-900: #212121;
  --gray-800: #2D2D2D;
  --gray-700: #4A4A4A;
  --gray-500: #757575;
  --gray-300: #BDBDBD;
  --gray-100: #F5F5F5;
  --white: #FFFFFF;
  --accent: #FFD700;
  --success: #10B981;
  --warning: #F59E0B;
  --info: #3B82F6;

  --font-display: 'Inter', 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', 'Cairo', sans-serif;
  --font-arabic: 'Cairo', 'Tajawal', sans-serif;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
  --shadow-red: 0 12px 30px rgba(200, 16, 46, 0.35);

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

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

body[dir="rtl"] { font-family: var(--font-arabic); }

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

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

/* ===== TOPBAR ===== */
.topbar {
  background: var(--black);
  color: var(--white);
  font-size: 13px;
  padding: 10px 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.topbar-info { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 6px; opacity: 0.85; }
.topbar-info svg { width: 14px; height: 14px; }
.lang-switcher { display: flex; gap: 4px; }
.lang-btn {
  color: var(--white);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  opacity: 0.6;
  transition: var(--transition);
}
.lang-btn.active, .lang-btn:hover { opacity: 1; background: var(--primary); }

/* ===== NAVBAR ===== */
.navbar {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.5px;
}
.logo-mark {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 900;
  font-size: 20px;
  box-shadow: var(--shadow-red);
  position: relative;
  overflow: hidden;
}
.logo-mark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text small { font-size: 10px; font-weight: 500; color: var(--gray-500); letter-spacing: 2px; margin-top: 2px; }

.nav-menu {
  display: flex;
  gap: 4px;
  align-items: center;
  list-style: none;
}
.nav-menu a {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 15px;
  color: var(--gray-800);
  transition: var(--transition);
  position: relative;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--primary); background: rgba(200, 16, 46, 0.05); }

/* Dropdown menus */
.nav-menu li.has-dropdown { position: relative; }
.nav-menu li.has-dropdown > a { display: inline-flex; align-items: center; gap: 4px; }
.nav-menu .caret { font-size: 10px; opacity: 0.6; transition: var(--transition); }
.nav-menu li.has-dropdown:hover .caret { transform: rotate(180deg); }
.nav-menu .dropdown {
  position: absolute;
  top: 100%; left: 0;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  min-width: 240px;
  padding: 8px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  z-index: 200;
  border: 1px solid var(--gray-300);
}
.nav-menu li.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-menu .dropdown li { display: block; }
.nav-menu .dropdown a {
  display: block;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--gray-800);
  border-radius: var(--radius-sm);
  background: transparent;
}
.nav-menu .dropdown a:hover { background: var(--gray-100); color: var(--primary); }

/* Logo image */
.logo-img {
  display: block;
  transition: var(--transition);
}
.logo:hover .logo-img { transform: scale(1.05); }

.nav-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: var(--shadow-red);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(200, 16, 46, 0.5); }
.btn-outline { border: 2px solid var(--black); color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-ghost { color: var(--gray-800); }
.btn-ghost:hover { background: var(--gray-100); }
.btn-lg { padding: 16px 32px; font-size: 16px; }

.menu-toggle { display: none; }

/* ===== HERO ===== */
.hero {
  background: var(--black);
  color: var(--white);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.4) 0%, transparent 60%);
  filter: blur(80px);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.2) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(200, 16, 46, 0.15);
  border: 1px solid rgba(200, 16, 46, 0.4);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--primary-light);
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.hero h1 {
  font-size: clamp(38px, 5.5vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 36px;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-stat .num {
  font-size: 36px;
  font-weight: 900;
  color: var(--primary-light);
  line-height: 1;
}
.hero-stat .lbl {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 6px;
  letter-spacing: 0.5px;
}

/* Hero card / track */
.hero-visual {
  position: relative;
}
.track-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.track-card h3 { font-size: 20px; margin-bottom: 4px; font-weight: 700; }
.track-card p.muted { color: rgba(255,255,255,0.6); font-size: 14px; margin-bottom: 24px; }
.track-input-group {
  display: flex;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 4px;
  margin-bottom: 24px;
}
.track-input-group input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 16px;
  font-size: 15px;
  border-radius: var(--radius-sm);
  color: var(--dark);
}
.track-input-group button {
  background: var(--primary);
  color: var(--white);
  padding: 0 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.track-input-group button:hover { background: var(--primary-dark); }

.track-suggestions { display: flex; gap: 8px; flex-wrap: wrap; }
.track-tag {
  padding: 6px 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition);
  color: rgba(255,255,255,0.8);
}
.track-tag:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

.floating-card {
  position: absolute;
  background: var(--white);
  color: var(--dark);
  padding: 14px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  animation: float 6s ease-in-out infinite;
}
.floating-card.fc-1 { top: -20px; right: -30px; animation-delay: 0s; }
.floating-card.fc-2 { bottom: -30px; left: -40px; animation-delay: 2s; }
.fc-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.fc-icon.green { background: var(--success); }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ===== SECTIONS ===== */
section { padding: 100px 0; }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(200, 16, 46, 0.08);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: 999px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.section-head h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.section-head p {
  font-size: 17px;
  color: var(--gray-700);
}

/* ===== SERVICES ===== */
.services { background: var(--gray-100); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid transparent;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 120px; height: 120px;
  background: linear-gradient(135deg, var(--primary), transparent);
  opacity: 0.04;
  border-radius: 50%;
  transform: translate(40px, -40px);
  transition: var(--transition);
}
.service-card:hover::before { opacity: 0.1; transform: translate(20px, -20px) scale(1.5); }
.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: var(--shadow-red);
}
.service-icon svg { width: 32px; height: 32px; }
.service-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.service-card p { color: var(--gray-700); font-size: 14px; margin-bottom: 20px; }
.service-features { list-style: none; }
.service-features li {
  padding: 6px 0;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-700);
}
.service-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== ABOUT / WHY US ===== */
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--black), var(--gray-900));
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(200, 16, 46, 0.4), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(200, 16, 46, 0.3), transparent 50%);
}
.truck-illustration {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}
.truck-illustration .big-num {
  font-size: 120px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--white), var(--gray-300));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.truck-illustration p { font-size: 18px; opacity: 0.8; margin-top: 12px; }

.feature-list { display: flex; flex-direction: column; gap: 28px; margin-top: 32px; }
.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.feature-num {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
}
.feature-item h4 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.feature-item p { color: var(--gray-700); font-size: 14px; }

/* ===== PROCESS ===== */
.process { background: var(--black); color: var(--white); }
.process .section-head h2 { color: var(--white); }
.process .section-head p { color: rgba(255,255,255,0.7); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process-step {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 32px 24px;
  border-radius: var(--radius);
  position: relative;
  transition: var(--transition);
}
.process-step:hover { background: rgba(200, 16, 46, 0.1); border-color: var(--primary); transform: translateY(-4px); }
.process-step .step-num {
  font-size: 48px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.5;
}
.process-step h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.process-step p { font-size: 14px; opacity: 0.7; }

/* ===== COVERAGE / MAP ===== */
.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.cities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.city-chip {
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}
.city-chip:hover { border-color: var(--primary); background: rgba(200, 16, 46, 0.05); color: var(--primary); }
.city-chip .dot { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; }

.map-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}

/* ===== STATS ===== */
.stats {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 80px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-big {
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
}
.stat-lbl {
  font-size: 14px;
  margin-top: 8px;
  opacity: 0.85;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
}
.testimonial:hover { box-shadow: var(--shadow-lg); border-color: var(--primary); }
.stars { color: var(--accent); margin-bottom: 16px; font-size: 18px; }
.testimonial-text {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.testimonial-author h5 { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.testimonial-author p { font-size: 12px; color: var(--gray-500); }

/* ===== CTA ===== */
.cta-section {
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(200, 16, 46, 0.4), transparent 60%);
}
.cta-inner {
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 60px 0;
}
.cta-inner h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  margin-bottom: 16px;
}
.cta-inner p {
  font-size: 17px;
  opacity: 0.8;
  margin-bottom: 32px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-col h5 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(255,255,255,0.6); font-size: 14px; transition: var(--transition); }
.footer-col a:hover { color: var(--primary-light); }
.footer-about { color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.7; margin: 16px 0; }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.social-links a:hover { background: var(--primary); }
.social-links svg { width: 18px; height: 18px; }
.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== TRACKING PAGE ===== */
.page-header {
  background: linear-gradient(135deg, var(--black), var(--gray-900));
  color: var(--white);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(200, 16, 46, 0.3), transparent 50%);
}
.page-header-inner { position: relative; z-index: 2; }
.breadcrumb { font-size: 13px; opacity: 0.6; margin-bottom: 16px; }
.breadcrumb a { color: var(--primary-light); }
.page-header h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  margin-bottom: 12px;
}
.page-header p { font-size: 17px; opacity: 0.8; max-width: 600px; }

.tracking-section { padding: 60px 0; background: var(--gray-100); min-height: 80vh; }

.tracking-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.tracking-form input {
  flex: 1;
  min-width: 250px;
  padding: 18px 20px;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 16px;
  transition: var(--transition);
}
.tracking-form input:focus { outline: none; border-color: var(--primary); }

.tracking-result {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.tracking-header {
  background: linear-gradient(135deg, var(--black), var(--gray-900));
  color: var(--white);
  padding: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.tracking-id { font-size: 13px; opacity: 0.6; }
.tracking-num { font-size: 24px; font-weight: 800; }
.status-badge {
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  background: var(--success);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.status-badge.warn { background: var(--warning); }
.status-badge.info { background: var(--info); }

.tracking-progress {
  padding: 40px;
  border-bottom: 1px solid var(--gray-300);
}
.progress-track {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 32px;
}
.progress-track::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 5%;
  right: 5%;
  height: 4px;
  background: var(--gray-300);
  z-index: 0;
}
.progress-line {
  position: absolute;
  top: 24px;
  left: 5%;
  height: 4px;
  background: var(--primary);
  z-index: 1;
  transition: width 1s ease;
  border-radius: 2px;
}
.progress-step {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
}
.progress-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--gray-300);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--gray-500);
  transition: var(--transition);
}
.progress-step.done .progress-circle { background: var(--primary); border-color: var(--primary); color: var(--white); }
.progress-step.active .progress-circle {
  background: var(--white);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 0 6px rgba(200, 16, 46, 0.2);
  animation: pulse-ring 2s infinite;
}
@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 0 0 6px rgba(200, 16, 46, 0.2); }
  50% { box-shadow: 0 0 0 12px rgba(200, 16, 46, 0.05); }
}
.progress-step span { font-size: 13px; font-weight: 600; }
.progress-step.done span, .progress-step.active span { color: var(--dark); }

.tracking-details {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0;
}
.tracking-events { padding: 32px; }
.tracking-events h3 { font-size: 18px; font-weight: 700; margin-bottom: 24px; }
.event-list { list-style: none; }
.event-item {
  display: flex;
  gap: 16px;
  padding-bottom: 24px;
  position: relative;
}
.event-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 28px;
  bottom: 0;
  width: 2px;
  background: var(--gray-300);
}
.event-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gray-300);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.event-item.done .event-dot { background: var(--primary); box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.2); }
.event-content h5 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.event-content p { font-size: 13px; color: var(--gray-700); margin-bottom: 4px; }
.event-content time { font-size: 12px; color: var(--gray-500); }

.tracking-info {
  background: var(--gray-100);
  padding: 32px;
}
.info-block { margin-bottom: 24px; }
.info-block h6 { font-size: 11px; color: var(--gray-500); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.info-block p { font-size: 14px; font-weight: 600; }

/* ===== DEVIS / CALCULATOR ===== */
.devis-section { padding: 60px 0; background: var(--gray-100); }
.devis-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}
.devis-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.devis-form h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.devis-form p.muted { color: var(--gray-700); font-size: 14px; margin-bottom: 28px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: var(--gray-800); }
.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 15px;
  transition: var(--transition);
  background: var(--white);
}
.form-control:focus { outline: none; border-color: var(--primary); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.service-toggle {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.toggle-option {
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-sm);
  padding: 16px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  background: var(--white);
}
.toggle-option:hover { border-color: var(--primary); }
.toggle-option.active {
  border-color: var(--primary);
  background: rgba(200, 16, 46, 0.05);
  color: var(--primary);
}
.toggle-option svg { width: 28px; height: 28px; margin: 0 auto 8px; display: block; }

.devis-result {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: sticky;
  top: 100px;
  overflow: hidden;
}
.devis-result::before {
  content: '';
  position: absolute;
  top: -50%; right: -50%;
  width: 100%; height: 100%;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.3), transparent 60%);
}
.devis-result-inner { position: relative; z-index: 2; }
.devis-result h4 { font-size: 14px; opacity: 0.7; margin-bottom: 8px; letter-spacing: 1px; text-transform: uppercase; }
.devis-price {
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--white), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.devis-price small { font-size: 24px; opacity: 0.6; font-weight: 600; }
.devis-meta { font-size: 13px; opacity: 0.6; margin-bottom: 24px; }
.devis-breakdown {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
}
.devis-breakdown ul { list-style: none; }
.devis-breakdown li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.devis-breakdown li span:first-child { opacity: 0.7; }
.devis-breakdown li span:last-child { font-weight: 700; }

/* ===== DASHBOARD ===== */
body.dashboard { background: var(--gray-100); }
.dash-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}
.dash-sidebar {
  background: var(--black);
  color: var(--white);
  padding: 24px 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.dash-sidebar .logo { padding: 0 24px 28px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 20px; }
.dash-nav { list-style: none; padding: 0 12px; }
.dash-nav li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  margin-bottom: 4px;
  transition: var(--transition);
}
.dash-nav li a:hover { background: rgba(255,255,255,0.05); color: var(--white); }
.dash-nav li a.active { background: var(--primary); color: var(--white); }
.dash-nav li a svg { width: 18px; height: 18px; }
.dash-section-title { font-size: 11px; opacity: 0.4; padding: 16px 16px 8px; letter-spacing: 1px; text-transform: uppercase; }

.dash-main { padding: 24px 32px; overflow-x: hidden; }
.dash-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.dash-search {
  flex: 1;
  max-width: 400px;
  position: relative;
}
.dash-search input {
  width: 100%;
  padding: 10px 14px 10px 40px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 14px;
}
.dash-search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--gray-500);
}
.dash-actions { display: flex; gap: 8px; align-items: center; }
.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}
.icon-btn:hover { background: var(--gray-300); }
.notification-dot {
  position: absolute;
  top: 8px; right: 8px;
  width: 10px; height: 10px;
  background: var(--primary);
  border-radius: 50%;
  border: 2px solid var(--white);
}
.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: var(--gray-100);
  font-size: 14px;
  font-weight: 600;
}
.user-chip .user-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.dash-h1 { font-size: 28px; font-weight: 800; margin-bottom: 4px; }
.dash-h1 + p { color: var(--gray-700); margin-bottom: 24px; font-size: 14px; }

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.kpi-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.kpi-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.kpi-icon.red { background: rgba(200, 16, 46, 0.1); color: var(--primary); }
.kpi-icon.green { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.kpi-icon.blue { background: rgba(59, 130, 246, 0.1); color: var(--info); }
.kpi-icon.yellow { background: rgba(245, 158, 11, 0.1); color: var(--warning); }
.kpi-card .lbl { font-size: 12px; color: var(--gray-500); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.kpi-card .val { font-size: 28px; font-weight: 800; line-height: 1; }
.kpi-card .delta { font-size: 12px; margin-top: 8px; display: flex; align-items: center; gap: 4px; font-weight: 600; }
.kpi-card .delta.up { color: var(--success); }
.kpi-card .delta.down { color: var(--primary); }

.dash-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.dash-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.dash-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.dash-card-head h3 { font-size: 16px; font-weight: 700; }
.dash-card-head .filter-tabs {
  display: flex;
  gap: 4px;
  background: var(--gray-100);
  padding: 4px;
  border-radius: var(--radius-sm);
  font-size: 12px;
}
.dash-card-head .filter-tabs button {
  padding: 6px 14px;
  border-radius: 4px;
  font-weight: 600;
  color: var(--gray-700);
  font-size: 12px;
}
.dash-card-head .filter-tabs button.active { background: var(--white); color: var(--dark); box-shadow: var(--shadow-sm); }

.chart-container { height: 280px; position: relative; }

.activity-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.activity-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.activity-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.activity-icon.red { background: rgba(200, 16, 46, 0.1); color: var(--primary); }
.activity-icon.green { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.activity-icon.blue { background: rgba(59, 130, 246, 0.1); color: var(--info); }
.activity-content h5 { font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.activity-content p { font-size: 12px; color: var(--gray-700); }
.activity-content time { font-size: 11px; color: var(--gray-500); }

.table-wrap { overflow-x: auto; }
.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.dash-table th {
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray-500);
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-300);
  background: var(--gray-100);
}
.dash-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--gray-300);
}
.dash-table tr:hover td { background: var(--gray-100); }
.dash-table .order-id { font-weight: 700; color: var(--primary); }
.status-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.status-pill.delivered { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.status-pill.transit { background: rgba(59, 130, 246, 0.1); color: var(--info); }
.status-pill.pending { background: rgba(245, 158, 11, 0.1); color: var(--warning); }
.status-pill.cancelled { background: rgba(200, 16, 46, 0.1); color: var(--primary); }

.driver-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
}
.driver-card:hover { background: var(--gray-100); }
.driver-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
  position: relative;
}
.driver-avatar::after {
  content: '';
  position: absolute;
  bottom: -2px; right: -2px;
  width: 12px; height: 12px;
  background: var(--success);
  border-radius: 50%;
  border: 2px solid var(--white);
}
.driver-avatar.offline::after { background: var(--gray-500); }
.driver-info h5 { font-size: 13px; font-weight: 700; }
.driver-info p { font-size: 11px; color: var(--gray-500); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid, .why-us-grid, .coverage-grid, .devis-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dash-layout { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-grid { grid-template-columns: 1fr; }
  .tracking-details { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-cta .btn-outline, .topbar-info { display: none; }
  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 280px;
    max-width: 80vw;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 20px 20px;
    box-shadow: var(--shadow-lg);
    transition: right 0.3s ease;
    z-index: 99;
    overflow-y: auto;
  }
  .nav-menu.open { right: 0; }
  .nav-menu li { width: 100%; }
  .nav-menu a { width: 100%; }
  .nav-menu .dropdown {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    background: var(--gray-100);
    margin: 4px 0 8px;
    padding: 4px;
  }
  .menu-toggle {
    display: flex;
    width: 44px; height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--gray-100);
  }
  section { padding: 60px 0; }
  .hero { padding: 60px 0 80px; }
  .hero h1 { font-size: 36px; }
  .stat-big { font-size: 42px; }
  .floating-card { display: none; }
  .progress-track { flex-wrap: wrap; gap: 16px; }
  .progress-track::before, .progress-line { display: none; }
  .progress-step { flex: 0 0 calc(50% - 8px); }
}

/* ===== RTL SUPPORT ===== */
body[dir="rtl"] .hero-grid { direction: rtl; }
body[dir="rtl"] .floating-card.fc-1 { right: auto; left: -30px; }
body[dir="rtl"] .floating-card.fc-2 { left: auto; right: -40px; }
body[dir="rtl"] .footer-grid { direction: rtl; }

/* ===== ANIMATIONS ===== */
.fade-in { animation: fadeIn 0.6s ease forwards; opacity: 0; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
[data-animate] { opacity: 0; transform: translateY(30px); transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1); }
[data-animate].in-view { opacity: 1; transform: translateY(0); }

/* ===== HERO ENTRY ANIMATIONS ===== */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 16, 46, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(200, 16, 46, 0); }
}

/* Hero content stagger */
.hero-badge { animation: slideInLeft 0.7s ease-out 0.1s both; }
.hero-content h1 { animation: slideInLeft 0.8s ease-out 0.3s both; }
.hero-sub { animation: slideInLeft 0.8s ease-out 0.5s both; }
.hero-actions { animation: slideInUp 0.8s ease-out 0.7s both; }
.hero-actions .btn-primary { animation: pulseGlow 2.5s ease-in-out 1.5s infinite, slideInUp 0.8s ease-out 0.7s both; }
.hero-stats { animation: slideInUp 0.8s ease-out 0.9s both; }
.hero-visual .track-card { animation: slideInRight 0.9s ease-out 0.5s both; }
.hero-visual .floating-card.fc-1 { animation: fadeInScale 0.7s ease-out 1.1s both, float 3s ease-in-out 1.8s infinite; }
.hero-visual .floating-card.fc-2 { animation: fadeInScale 0.7s ease-out 1.3s both, float 3.5s ease-in-out 2s infinite; }

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

/* ===== ROAD WITH ANIMATED FORD TRANSIT TRUCK ===== */
.road-scene {
  position: relative;
  width: 100%;
  height: 140px;
  overflow: hidden;
  background: linear-gradient(180deg, transparent 0%, transparent 50%, #2c2c2c 50%, #1a1a1a 100%);
  margin-top: 40px;
}
.road-scene::before {
  content: '';
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  height: 4px;
  background-image: linear-gradient(90deg, #f5d800 0%, #f5d800 50%, transparent 50%, transparent 100%);
  background-size: 80px 4px;
  animation: roadLines 0.6s linear infinite;
}
@keyframes roadLines {
  from { background-position: 0 0; }
  to { background-position: -80px 0; }
}

.truck-driving {
  position: absolute;
  bottom: 28px;
  left: -200px;
  width: 180px;
  height: 90px;
  animation: driveTruck 18s linear infinite;
}
@keyframes driveTruck {
  0% { left: -200px; }
  100% { left: 100%; }
}

.truck-driving .truck-body {
  position: relative;
  width: 100%;
  height: 60px;
}
.truck-driving .cabin {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 8px 18px 0 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.truck-driving .cabin::before {
  content: '';
  position: absolute;
  top: 6px; left: 8px; right: 8px; height: 18px;
  background: linear-gradient(135deg, #87CEEB, #4682B4);
  border-radius: 4px 12px 0 0;
}
.truck-driving .cargo {
  position: absolute;
  left: 55px;
  bottom: 0;
  width: 115px;
  height: 60px;
  background: linear-gradient(135deg, #f8f8f8, #e0e0e0);
  border: 2px solid #C8102E;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 1px;
}
.truck-driving .cargo::before {
  content: 'ANM HOLDING';
}
.truck-driving .wheel {
  position: absolute;
  bottom: -8px;
  width: 24px;
  height: 24px;
  background: radial-gradient(circle, #444 30%, #1a1a1a 35%, #1a1a1a 60%, #555 65%);
  border-radius: 50%;
  border: 2px solid #2a2a2a;
  animation: spinWheel 0.4s linear infinite;
}
.truck-driving .wheel.front { left: 15px; }
.truck-driving .wheel.back-1 { left: 110px; }
.truck-driving .wheel.back-2 { left: 145px; }
.truck-driving .wheel::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 10px;
  height: 2px;
  background: #888;
  transform: translate(-50%, -50%);
}
.truck-driving .wheel::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 2px;
  height: 10px;
  background: #888;
  transform: translate(-50%, -50%);
}
@keyframes spinWheel {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Smoke from exhaust */
.truck-driving .smoke {
  position: absolute;
  bottom: 25px;
  left: -8px;
  width: 12px;
  height: 12px;
  background: rgba(180,180,180,0.6);
  border-radius: 50%;
  animation: smokeOut 1.2s ease-out infinite;
}
.truck-driving .smoke.s2 { animation-delay: 0.4s; left: -16px; }
.truck-driving .smoke.s3 { animation-delay: 0.8s; left: -24px; }
@keyframes smokeOut {
  0% { opacity: 0.7; transform: translate(0, 0) scale(0.6); }
  100% { opacity: 0; transform: translate(-30px, -20px) scale(2); }
}

/* Background buildings (parallax) */
.road-scene .buildings {
  position: absolute;
  bottom: 70px;
  left: 0;
  right: 0;
  height: 35px;
  background-image:
    linear-gradient(135deg, rgba(150,150,150,0.3) 25%, transparent 25%),
    linear-gradient(225deg, rgba(150,150,150,0.3) 25%, transparent 25%);
  background-size: 60px 35px;
  animation: scrollBg 30s linear infinite;
  opacity: 0.5;
}
@keyframes scrollBg {
  from { background-position: 0 0; }
  to { background-position: -300px 0; }
}

/* Hide on mobile to keep performance */
@media (max-width: 768px) {
  .road-scene { height: 100px; }
  .truck-driving { width: 140px; height: 70px; bottom: 22px; }
  .truck-driving .cabin { width: 45px; height: 38px; }
  .truck-driving .cargo { left: 42px; width: 88px; height: 46px; font-size: 8px; }
  .truck-driving .wheel { width: 18px; height: 18px; }
  .truck-driving .wheel.back-1 { left: 85px; }
  .truck-driving .wheel.back-2 { left: 110px; }
}

/* ===== PROMO BANNER ===== */
.promo-banner {
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 10px 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}
.promo-banner::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: shine 3s infinite;
}
@keyframes shine {
  100% { left: 100%; }
}
.promo-banner a { text-decoration: underline; font-weight: 700; }
.promo-banner .close-btn {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.promo-banner .close-btn:hover { background: rgba(255,255,255,0.3); }

/* ===== WHATSAPP FLOATING BUTTON ===== */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  cursor: pointer;
}
.wa-float::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: ripple 2s infinite;
}
@keyframes ripple {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 32px; height: 32px; }
.wa-tooltip {
  position: fixed;
  bottom: 95px;
  right: 24px;
  background: var(--white);
  padding: 12px 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  font-weight: 600;
  display: none;
  z-index: 999;
  max-width: 240px;
}
.wa-tooltip.show { display: block; animation: fadeIn 0.3s ease; }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: auto;
  max-width: 420px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  z-index: 998;
  transform: translateY(150%);
  transition: var(--transition);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.cookie-banner p { font-size: 13px; color: var(--gray-700); margin-bottom: 16px; line-height: 1.6; }
.cookie-actions { display: flex; gap: 8px; }
.cookie-actions .btn { padding: 10px 16px; font-size: 13px; flex: 1; justify-content: center; }

/* ===== NEWSLETTER POPUP ===== */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.popup-overlay.show { display: flex; animation: fadeIn 0.3s ease; }
.popup {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  overflow: hidden;
  position: relative;
}
.popup-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.popup-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -30%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.2), transparent);
  border-radius: 50%;
}
.popup-banner h3 { font-size: 24px; font-weight: 900; position: relative; z-index: 2; }
.popup-banner p { font-size: 14px; opacity: 0.9; position: relative; z-index: 2; margin-top: 8px; }
.popup-discount {
  font-size: 56px;
  font-weight: 900;
  margin: 16px 0;
  line-height: 1;
  position: relative;
  z-index: 2;
}
.popup-body { padding: 32px; }
.popup-body input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 15px;
  margin-bottom: 12px;
}
.popup-body button { width: 100%; justify-content: center; }
.popup-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  z-index: 3;
  transition: var(--transition);
}
.popup-close:hover { background: rgba(255,255,255,0.3); transform: rotate(90deg); }

/* ===== DARK MODE ===== */
body.dark-mode {
  background: #0f0f0f;
  color: #e5e5e5;
}
body.dark-mode .navbar { background: #1a1a1a; }
body.dark-mode .nav-menu a { color: #e5e5e5; }
body.dark-mode .services { background: #1a1a1a; }
body.dark-mode .service-card,
body.dark-mode .testimonial,
body.dark-mode .map-wrap,
body.dark-mode .city-chip,
body.dark-mode .devis-form,
body.dark-mode .tracking-form,
body.dark-mode .tracking-result,
body.dark-mode .dash-card,
body.dark-mode .dash-topbar,
body.dark-mode .kpi-card { background: #1a1a1a; color: #e5e5e5; border-color: #2d2d2d; }
body.dark-mode .form-control { background: #2d2d2d; border-color: #3d3d3d; color: #e5e5e5; }
body.dark-mode .toggle-option { background: #2d2d2d; border-color: #3d3d3d; }
body.dark-mode .footer-bottom { border-color: rgba(255,255,255,0.1); }
body.dark-mode .tracking-section,
body.dark-mode .devis-section,
body.dark-mode #contact { background: #0f0f0f !important; }
body.dark-mode .section-head h2,
body.dark-mode .feature-item h4,
body.dark-mode .service-card h3,
body.dark-mode .city-chip,
body.dark-mode .dash-h1 { color: #e5e5e5; }

/* ===== LIVE COUNTER ===== */
.live-counter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 999px;
  font-size: 13px;
  color: var(--success);
  font-weight: 600;
}
.live-counter .pulse-dot {
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* ===== PARTNERS SECTION ===== */
.partners-strip {
  padding: 60px 0;
  background: var(--white);
  border-top: 1px solid var(--gray-300);
  border-bottom: 1px solid var(--gray-300);
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
  align-items: center;
}
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  filter: grayscale(100%) opacity(0.5);
  transition: var(--transition);
  font-weight: 800;
  font-size: 18px;
  color: var(--gray-500);
}
.partner-logo:hover { filter: grayscale(0%) opacity(1); }

/* ===== AUTH PAGES ===== */
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--gray-100);
}
.auth-form-side {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}
.auth-visual-side {
  background: linear-gradient(135deg, var(--black), var(--gray-900));
  color: var(--white);
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.auth-visual-side::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 70%, rgba(200, 16, 46, 0.4), transparent 60%);
}
.auth-visual-content { position: relative; z-index: 2; max-width: 480px; }
.auth-form-side .logo { margin-bottom: 48px; }
.auth-form-side h1 { font-size: 32px; font-weight: 900; margin-bottom: 8px; }
.auth-form-side > p { color: var(--gray-700); margin-bottom: 32px; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  color: var(--gray-500);
  font-size: 12px;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-300);
}
.social-auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.social-auth button {
  padding: 12px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  background: white;
  transition: var(--transition);
}
.social-auth button:hover { background: var(--gray-100); }

/* ===== DRIVER APP ===== */
.driver-app {
  max-width: 420px;
  margin: 0 auto;
  background: var(--gray-100);
  min-height: 100vh;
}
.driver-header {
  background: var(--black);
  color: var(--white);
  padding: 20px 16px 24px;
}
.driver-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.driver-greeting { font-size: 14px; opacity: 0.7; }
.driver-name { font-size: 20px; font-weight: 800; }
.driver-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.1);
}
.driver-stat { text-align: center; }
.driver-stat .num { font-size: 24px; font-weight: 800; color: var(--primary-light); }
.driver-stat .lbl { font-size: 11px; opacity: 0.6; margin-top: 4px; }

.tour-list { padding: 16px; }
.tour-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.tour-item.completed { opacity: 0.6; }
.tour-item.completed::after {
  content: '✓';
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  background: var(--success);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.tour-num {
  font-size: 11px;
  background: var(--primary);
  color: white;
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 8px;
}
.tour-recipient { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.tour-address { font-size: 13px; color: var(--gray-700); margin-bottom: 12px; display: flex; align-items: flex-start; gap: 6px; }
.tour-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--gray-700);
  padding-top: 12px;
  border-top: 1px solid var(--gray-300);
}
.tour-meta span { display: inline-flex; align-items: center; gap: 4px; }
.tour-actions { display: flex; gap: 8px; margin-top: 12px; }
.tour-actions button { flex: 1; padding: 10px; font-size: 12px; font-weight: 700; border-radius: var(--radius-sm); }

.driver-bottom-nav {
  position: fixed;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%; max-width: 420px;
  background: var(--white);
  border-top: 1px solid var(--gray-300);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px 0;
  z-index: 100;
}
.driver-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px;
  font-size: 11px;
  color: var(--gray-500);
  font-weight: 600;
}
.driver-bottom-nav a.active { color: var(--primary); }
.driver-bottom-nav svg { width: 22px; height: 22px; }

/* ===== FAQ ACCORDION ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--gray-300);
  transition: var(--transition);
}
.faq-item.open { border-color: var(--primary); box-shadow: var(--shadow); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  user-select: none;
}
.faq-q:hover { color: var(--primary); }
.faq-q .icon {
  width: 28px; height: 28px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  transition: var(--transition);
  flex-shrink: 0;
}
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-item.open .faq-a { max-height: 500px; }
.faq-a-inner {
  padding: 0 24px 24px;
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.7;
}

/* ===== BLOG GRID ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-image {
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--black));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-image svg { color: rgba(255,255,255,0.3); width: 80px; height: 80px; }
.blog-category {
  position: absolute;
  top: 16px; left: 16px;
  padding: 4px 12px;
  background: var(--white);
  color: var(--primary);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.blog-body { padding: 24px; }
.blog-meta { display: flex; gap: 12px; font-size: 12px; color: var(--gray-500); margin-bottom: 12px; }
.blog-card h3 { font-size: 18px; font-weight: 800; line-height: 1.4; margin-bottom: 12px; }
.blog-excerpt { font-size: 14px; color: var(--gray-700); line-height: 1.6; }

/* ===== JOB CARDS ===== */
.job-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  border: 1px solid var(--gray-300);
  transition: var(--transition);
  flex-wrap: wrap;
  gap: 16px;
}
.job-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.job-info h4 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.job-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--gray-700); }
.job-meta span { display: inline-flex; align-items: center; gap: 4px; }
.job-tag {
  padding: 4px 10px;
  background: rgba(200, 16, 46, 0.08);
  color: var(--primary);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

/* ===== INVOICE ===== */
.invoice-page { max-width: 850px; margin: 24px auto; background: white; padding: 40px; box-shadow: var(--shadow); }
@media print {
  .invoice-page { margin: 0; box-shadow: none; padding: 30px; }
  .no-print { display: none !important; }
  .navbar, .topbar, .footer, .promo-banner, .wa-float, .cookie-banner { display: none !important; }
}
.invoice-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 3px solid var(--primary);
  padding-bottom: 24px;
  margin-bottom: 32px;
}
.invoice-meta { text-align: right; }
.invoice-meta h1 { font-size: 32px; font-weight: 900; color: var(--primary); }
.invoice-section { margin-bottom: 32px; }
.invoice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.invoice-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.invoice-table th { background: var(--black); color: white; padding: 12px; text-align: left; font-size: 13px; }
.invoice-table td { padding: 12px; border-bottom: 1px solid var(--gray-300); font-size: 14px; }
.invoice-totals { margin-left: auto; max-width: 320px; }
.invoice-totals .row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--gray-300); }
.invoice-totals .row.total { font-size: 20px; font-weight: 900; color: var(--primary); border: none; padding: 16px 0; }

@media (max-width: 1024px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-visual-side { display: none; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .auth-form-side { padding: 32px 24px; }
  .cookie-banner { left: 16px; right: 16px; max-width: none; }
}
