/* ==========================================================================
   WEENPAN OFFICIAL DESIGN SYSTEM & STYLESHEET
   Brand Identity: Official WeenPan Shield Logo (Cobalt Blue #1756A3, Road Gold #DCE160, White)
   Typography:
     - Latin: 'Plus Jakarta Sans', 'Outfit', sans-serif
     - Arabic: 'IBM Plex Sans Arabic', 'Cairo', sans-serif (inspired by MyCash.sa)
   Full Multilingual: FR, AR (True RTL), EN
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Official Brand Palette from Logo */
  --wp-blue: #1756A3;
  --wp-blue-light: #206CD4;
  --wp-blue-dark: #0D3E7B;
  --wp-blue-glow: rgba(23, 86, 163, 0.4);
  --wp-blue-gradient: linear-gradient(135deg, #1756A3 0%, #206CD4 100%);

  /* Road Marking Yellow / Gold Accent from WP Shield */
  --wp-gold: #DCE160;
  --wp-gold-bright: #F5EE38;
  --wp-gold-glow: rgba(220, 225, 96, 0.35);

  /* Emergency SOS & Action Accent */
  --wp-emergency: #FF5A1F;
  --wp-emergency-glow: rgba(255, 90, 31, 0.4);

  /* Dark Midnight Technology Palette */
  --bg-midnight: #070E1A;
  --bg-card: #0D1A2E;
  --bg-card-hover: #13243D;
  --bg-glass: rgba(13, 26, 46, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-blue: rgba(23, 86, 163, 0.35);
  --border-glow: rgba(220, 225, 96, 0.3);

  /* Typography Colors */
  --text-pure: #FFFFFF;
  --text-main: #F1F5F9;
  --text-body: #94A3B8;
  --text-muted: #64748B;

  /* Font Families */
  --font-latin: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-arabic: 'IBM Plex Sans Arabic', 'Cairo', system-ui, -apple-system, sans-serif;

  /* Geometry & Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  /* Elevation & Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 12px 36px -10px rgba(0, 0, 0, 0.6);
  --shadow-blue-glow: 0 10px 40px -10px rgba(23, 86, 163, 0.45);
  --shadow-gold-glow: 0 0 35px -8px rgba(220, 225, 96, 0.4);

  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme Variables */
[data-theme="light"] {
  --bg-midnight: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F1F5F9;
  --bg-glass: rgba(255, 255, 255, 0.94);
  --border-subtle: rgba(15, 23, 42, 0.09);
  --border-blue: rgba(23, 86, 163, 0.25);
  --border-glow: rgba(220, 225, 96, 0.55);

  --text-pure: #0B1626;
  --text-main: #1E293B;
  --text-body: #475569;
  --text-muted: #64748B;

  --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 36px -10px rgba(15, 23, 42, 0.1);
  --shadow-blue-glow: 0 10px 40px -10px rgba(23, 86, 163, 0.18);
  --shadow-gold-glow: 0 0 35px -8px rgba(197, 202, 48, 0.3);
}

[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: #E2E8F0;
}

[data-theme="light"] .top-bar {
  background: #F1F5F9;
  border-bottom-color: #E2E8F0;
}

[data-theme="light"] .nav-link {
  color: #334155;
}
[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
  color: #1756A3;
}

[data-theme="light"] .lang-btn,
[data-theme="light"] .theme-toggle {
  background: #FFFFFF;
  border-color: #CBD5E1;
  color: #1E293B;
}

[data-theme="light"] .lang-dropdown {
  background: #FFFFFF;
  border-color: #E2E8F0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .lang-option {
  color: #1E293B;
}
[data-theme="light"] .lang-option:hover {
  background: #F1F5F9;
}

[data-theme="light"] .modal-container {
  background: #FFFFFF;
  border-color: #E2E8F0;
}

[data-theme="light"] .form-input,
[data-theme="light"] .form-select,
[data-theme="light"] .form-textarea {
  background: #F8FAFC;
  border-color: #CBD5E1;
  color: #0F172A;
}

[data-theme="light"] .site-footer {
  background: #F1F5F9;
  border-top-color: #E2E8F0;
}

[data-theme="light"] .social-btn,
[data-theme="light"] .top-social-link {
  background: #FFFFFF;
  border-color: #CBD5E1;
  color: #475569;
}

[data-theme="light"] .quick-pill {
  background: #FFFFFF;
  border-color: #E2E8F0;
  color: #1E293B;
}

[data-theme="light"] .hero-float-card {
  background: rgba(255, 255, 255, 0.96);
  border-color: #E2E8F0;
  color: #0F172A;
}

[data-theme="light"] .nav-links {
  background: #FFFFFF;
}

/* Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-midnight);
  color: var(--text-main);
}

body {
  font-family: var(--font-latin);
  background-color: var(--bg-midnight);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   ARABIC TYPOGRAPHY & RTL SUPPORT (Inspired by MyCash.sa)
   ========================================================================== */
html[lang="ar"],
body[dir="rtl"],
.rtl-mode {
  direction: rtl;
  text-align: right;
  font-family: var(--font-arabic) !important;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] h5,
html[lang="ar"] h6 {
  font-family: var(--font-arabic) !important;
  letter-spacing: 0 !important;
  line-height: 1.4 !important;
}

/* Mirroring for RTL */
html[lang="ar"] .nav-links {
  margin: 0 auto;
}

html[lang="ar"] .hero-buttons,
html[lang="ar"] .top-bar-content,
html[lang="ar"] .quick-card-header,
html[lang="ar"] .footer-contact-info,
html[lang="ar"] .contact-row {
  flex-direction: row;
}

html[lang="ar"] .hero-float-top {
  right: auto;
  left: -1rem;
}

html[lang="ar"] .hero-float-bottom {
  left: auto;
  right: -1rem;
}

html[lang="ar"] .service-features li i,
html[lang="ar"] .meta-list li i {
  margin-right: 0;
  margin-left: 0.6rem;
}

html[lang="ar"] .form-select {
  background-position: left 1rem center;
}

html[lang="ar"] .footer-links a:hover {
  padding-left: 0;
  padding-right: 6px;
}

/* Containers & Utilities */
.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-pure);
  font-weight: 700;
  line-height: 1.25;
}

.text-gradient-blue {
  background: var(--wp-blue-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #F5EE38 0%, #DCE160 50%, #EAB308 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==========================================================================
   TOP EMERGENCY & DISPATCH BAR
   ========================================================================== */
.top-bar {
  background: linear-gradient(90deg, #091322 0%, #0D1F38 50%, #091322 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.55rem 0;
  font-size: 0.85rem;
  font-weight: 500;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--wp-gold);
  font-weight: 600;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--wp-gold);
  box-shadow: 0 0 12px var(--wp-gold);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220, 225, 96, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(220, 225, 96, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220, 225, 96, 0); }
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-bar-link {
  color: var(--text-body);
  transition: var(--transition-fast);
}

.top-bar-link:hover {
  color: var(--text-pure);
}

.top-bar-hotline {
  color: var(--wp-emergency);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.top-bar-hotline:hover {
  filter: brightness(1.2);
}

.top-social-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.top-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 0.75rem;
  transition: var(--transition-fast);
}

.top-social-link:hover {
  background: var(--wp-blue);
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* ==========================================================================
   NAVIGATION HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-normal);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-pure);
  flex-shrink: 0;
  text-decoration: none;
}

.brand-shield {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(23, 86, 163, 0.5));
  transition: transform 0.3s ease;
}

.brand:hover .brand-shield {
  transform: rotate(-3deg) scale(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.45rem, 1.1vw, 1.25rem);
  list-style: none;
  margin: 0 auto;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-body);
  position: relative;
  padding: 0.35rem 0.2rem;
  white-space: nowrap !important;
  transition: var(--transition-fast);
  text-decoration: none;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-pure);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--wp-blue-light);
  box-shadow: 0 0 8px var(--wp-blue-light);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

/* Theme Toggle Button */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 0.95rem;
}

.theme-toggle:hover {
  background: rgba(23, 86, 163, 0.2);
  border-color: var(--wp-blue);
  color: var(--wp-gold);
}

[data-theme="light"] .theme-icon-sun {
  display: none !important;
}
[data-theme="light"] .theme-icon-moon {
  display: inline-block !important;
  color: #1756A3;
}

[data-theme="dark"] .theme-icon-sun,
:root:not([data-theme="light"]) .theme-icon-sun {
  display: inline-block !important;
  color: #DCE160;
}
[data-theme="dark"] .theme-icon-moon,
:root:not([data-theme="light"]) .theme-icon-moon {
  display: none !important;
}

/* Language Switcher Dropdown */
.lang-switcher-wrap {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-blue);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #0B1626;
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-sm);
  min-width: 120px;
  box-shadow: var(--shadow-md);
  padding: 0.4rem 0;
  display: none;
  flex-direction: column;
  z-index: 100;
}

html[lang="ar"] .lang-dropdown {
  right: auto;
  left: 0;
}

.lang-dropdown.active {
  display: flex;
}

.lang-option {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lang-option:hover, .lang-option.current {
  background: rgba(23, 86, 163, 0.25);
  color: var(--text-pure);
}

/* ==========================================================================
   BUTTONS & CTAS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.72rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--wp-blue-gradient);
  color: #FFFFFF;
  box-shadow: 0 4px 18px var(--wp-blue-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #206CD4 0%, #1756A3 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--wp-blue-glow);
  color: #FFFFFF;
}

.btn-gold {
  background: linear-gradient(135deg, #F5EE38 0%, #DCE160 100%);
  color: #070E1A;
  font-weight: 700;
  box-shadow: 0 4px 18px var(--wp-gold-glow);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--wp-gold-glow);
  filter: brightness(1.05);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border-color: var(--border-subtle);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-pure);
  border-color: var(--border-blue);
  transform: translateY(-2px);
}

.btn-emergency {
  background: linear-gradient(135deg, #FF5A1F 0%, #E04006 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 18px var(--wp-emergency-glow);
  animation: pulse-sos 2.5s infinite;
}

.btn-emergency:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 90, 31, 0.6);
  color: #FFFFFF;
}

@keyframes pulse-sos {
  0% { box-shadow: 0 0 0 0 rgba(255, 90, 31, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(255, 90, 31, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 90, 31, 0); }
}

.btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 1.85rem;
  font-size: 1.05rem;
  font-weight: 700;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-pure);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.4rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 4.5rem 0 5rem;
  overflow: hidden;
  background: radial-gradient(ellipse at 85% 15%, rgba(23, 86, 163, 0.25) 0%, transparent 60%),
              radial-gradient(ellipse at 15% 85%, rgba(220, 225, 96, 0.12) 0%, transparent 50%),
              var(--bg-midnight);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  background: rgba(23, 86, 163, 0.18);
  border: 1px solid var(--border-blue);
  color: #38BDF8;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.hero-description {
  font-size: 1.12rem;
  color: var(--text-body);
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* Hero Quick Interactive Vehicle / Issue Selector */
.hero-quick-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.quick-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.quick-card-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-pure);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quick-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.quick-service-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--text-body);
}

.quick-service-pill:hover, .quick-service-pill.active {
  background: rgba(23, 86, 163, 0.2);
  border-color: var(--wp-blue-light);
  color: var(--text-pure);
  transform: translateY(-2px);
}

.quick-service-pill i {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
  display: block;
  color: var(--wp-gold);
}

.quick-service-pill span {
  font-size: 0.78rem;
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Hero Visual */
.hero-visual {
  position: relative;
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-blue);
  box-shadow: var(--shadow-md), var(--shadow-blue-glow);
}

.hero-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.hero-image-wrap:hover img {
  transform: scale(1.03);
}

.hero-float-card {
  position: absolute;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
  animation: float-anim 4s ease-in-out infinite alternate;
}

.hero-float-top {
  top: 1.5rem;
  right: -1rem;
}

.hero-float-bottom {
  bottom: 2rem;
  left: -1rem;
  animation-delay: -2s;
}

@keyframes float-anim {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.float-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.float-icon.blue {
  background: rgba(23, 86, 163, 0.25);
  color: #38BDF8;
}

.float-icon.gold {
  background: rgba(220, 225, 96, 0.2);
  color: var(--wp-gold);
}

.float-text h5 {
  font-size: 0.85rem;
  margin-bottom: 0.15rem;
}

.float-text p {
  font-size: 0.75rem;
  color: var(--text-body);
}

/* ==========================================================================
   VALUE PROPOSITION PILLARS RIBBON
   ========================================================================== */
.pillars-ribbon {
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 2.5rem 0;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(23, 86, 163, 0.15);
  border: 1px solid var(--border-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--wp-gold);
  flex-shrink: 0;
}

.pillar-content h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.pillar-content p {
  font-size: 0.84rem;
  color: var(--text-body);
  line-height: 1.5;
}

/* ==========================================================================
   SECTIONS GLOBAL
   ========================================================================== */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-alt {
  background: #091322;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  background: rgba(23, 86, 163, 0.15);
  border: 1px solid var(--border-blue);
  color: #38BDF8;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-body);
}

/* ==========================================================================
   HOW IT WORKS (5 STEPS)
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.3rem;
  position: relative;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-blue);
  box-shadow: var(--shadow-blue-glow);
}

.step-num {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.06);
}

html[lang="ar"] .step-num {
  right: auto;
  left: 1.2rem;
}

.step-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(23, 86, 163, 0.15);
  border: 1px solid var(--border-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--wp-gold);
  margin-bottom: 1.25rem;
}

.step-title {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.step-desc {
  font-size: 0.86rem;
  color: var(--text-body);
  line-height: 1.55;
}

/* ==========================================================================
   SERVICES GRID (CARS, HEAVY DUTY, BREAKDOWN, ACCIDENTS)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-blue);
  box-shadow: var(--shadow-md);
}

.service-card:hover::before {
  background: var(--wp-blue-gradient);
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(23, 86, 163, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  color: var(--wp-gold);
  margin-bottom: 1.4rem;
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--text-body);
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-features li {
  font-size: 0.86rem;
  color: var(--text-main);
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
}

.service-features li i {
  color: var(--wp-gold);
  margin-right: 0.6rem;
  font-size: 0.8rem;
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   B2B SECTION: ASSURANCES & FLOTTES D'ENTREPRISES
   ========================================================================== */
/* ==========================================================================
   B2B & ENTERPRISE FLEET SECTION (Matches Master Spec Image 2)
   ========================================================================== */
.b2b-section {
  position: relative;
  padding: 5rem 0;
  background: var(--bg-page);
  transition: background-color 0.3s ease;
}

.b2b-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.b2b-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  border-radius: 9999px;
  background: rgba(23, 86, 163, 0.18);
  border: 1px solid rgba(23, 86, 163, 0.45);
  color: #38BDF8;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
}

.b2b-tag i {
  color: var(--wp-gold);
}

.b2b-title {
  font-size: clamp(1.8rem, 2.6vw, 2.45rem);
  font-weight: 800;
  line-height: 1.3;
  color: #F8FAFC;
  margin-bottom: 2rem;
  letter-spacing: -0.015em;
}

.b2b-highlight {
  color: #38BDF8;
  font-weight: 800;
}

.b2b-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.b2b-feature-card,
.b2b-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  padding: 1.15rem 1.25rem;
  border-radius: 16px;
  background: #0D1E38;
  border: 1px solid rgba(23, 86, 163, 0.35);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.b2b-feature-card:hover,
.b2b-feature-item:hover {
  background: #112444;
  border-color: #206CD4;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(23, 86, 163, 0.25);
}

.b2b-icon-circle {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.b2b-feature-card:hover .b2b-icon-circle,
.b2b-feature-item:hover .b2b-icon-circle {
  transform: scale(1.08);
}

.b2b-icon-blue {
  background: rgba(23, 86, 163, 0.3);
  border: 1px solid rgba(32, 108, 212, 0.5);
  color: #38BDF8;
}

.b2b-icon-yellow {
  background: rgba(220, 225, 96, 0.2);
  border: 1px solid rgba(220, 225, 96, 0.5);
  color: #DCE160;
}

.b2b-card-text,
.b2b-feature-item > div {
  flex: 1;
}

.b2b-card-text h5,
.b2b-feature-item h5 {
  font-size: 0.96rem;
  font-weight: 700;
  color: #F8FAFC;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.b2b-card-text p,
.b2b-feature-item p {
  font-size: 0.84rem;
  color: #94A3B8;
  line-height: 1.45;
  margin: 0;
}

.b2b-visual-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(23, 86, 163, 0.4);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45);
  transition: all 0.3s ease;
}

.b2b-visual-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.b2b-visual-wrap:hover img {
  transform: scale(1.02);
}

/* ==========================================================================
   LIGHT MODE OVERRIDES FOR B2B & ENTERPRISE (Matches Spec Image 2 Top Half)
   ========================================================================== */
[data-theme="light"] .b2b-section {
  background: #F4F9FD !important;
}

[data-theme="light"] .b2b-tag {
  background: rgba(23, 86, 163, 0.08) !important;
  border-color: rgba(23, 86, 163, 0.25) !important;
  color: #1756A3 !important;
}

[data-theme="light"] .b2b-tag i {
  color: #1756A3 !important;
}

[data-theme="light"] .b2b-title {
  color: #0F172A !important;
}

[data-theme="light"] .b2b-highlight {
  color: #1756A3 !important;
}

[data-theme="light"] .b2b-feature-card,
[data-theme="light"] .b2b-feature-item {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05) !important;
}

[data-theme="light"] .b2b-feature-card:hover,
[data-theme="light"] .b2b-feature-item:hover {
  background: #FFFFFF !important;
  border-color: #1756A3 !important;
  box-shadow: 0 10px 28px rgba(23, 86, 163, 0.12) !important;
  transform: translateY(-2px);
}

[data-theme="light"] .b2b-card-text h5,
[data-theme="light"] .b2b-feature-item h5 {
  color: #0F172A !important;
  font-weight: 700 !important;
}

[data-theme="light"] .b2b-card-text p,
[data-theme="light"] .b2b-feature-item p {
  color: #475569 !important;
  font-weight: 400 !important;
}

[data-theme="light"] .b2b-icon-blue {
  background: #1756A3 !important;
  border: none !important;
  color: #FFFFFF !important;
}

[data-theme="light"] .b2b-icon-yellow {
  background: #EAB308 !important;
  border: none !important;
  color: #0F172A !important;
}

[data-theme="light"] .b2b-visual-wrap {
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08) !important;
}


.partner-section {
  background: #0B1728;
}

.partner-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}

.partner-perks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.8rem;
  margin-bottom: 2rem;
}

.partner-perk-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.2rem;
}

.partner-perk-card i {
  font-size: 1.4rem;
  color: var(--wp-gold);
  margin-bottom: 0.75rem;
  display: block;
}

.partner-perk-card h5 {
  font-size: 0.98rem;
  margin-bottom: 0.35rem;
}

.partner-perk-card p {
  font-size: 0.84rem;
  color: var(--text-body);
  line-height: 1.5;
}

/* ==========================================================================
   APP DOWNLOADS & OFFICIAL BADGES
   ========================================================================== */
.app-section {
  background: radial-gradient(ellipse at 50% 50%, rgba(23, 86, 163, 0.12) 0%, transparent 60%),
              var(--bg-midnight);
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.app-mockup-wrap {
  position: relative;
  text-align: center;
}

.app-mockup-wrap img {
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), var(--shadow-blue-glow);
  border: 1px solid var(--border-blue);
  max-width: 520px;
  margin: 0 auto;
}

.download-badges-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.75rem 0;
}

/* Official Badges */
.store-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 0.55rem 1.15rem;
  color: #FFFFFF;
  transition: var(--transition-fast);
  min-width: 175px;
}

.store-badge-btn:hover {
  border-color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.store-badge-btn svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

html[lang="ar"] .store-badge-text {
  text-align: right;
}

.store-badge-text .subtitle {
  font-size: 0.65rem;
  color: #A0AEC0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.store-badge-text .title {
  font-size: 0.95rem;
  font-weight: 700;
  font-family: system-ui, sans-serif;
  line-height: 1.2;
}

.hero-stores-container {
  margin-top: 1.5rem;
}

.hero-stores-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 640px) {
  .hero-stores-row {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-stores-row .store-badge-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Direct APK Box */
.apk-downloads-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.apk-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.apk-card h6 {
  font-size: 0.92rem;
  margin-bottom: 0.25rem;
  color: var(--text-pure);
}

.apk-card p {
  font-size: 0.78rem;
  color: var(--text-body);
  margin-bottom: 0.85rem;
}

/* ==========================================================================
   BLOG / SEO KNOWLEDGE HUB
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-blue);
  box-shadow: var(--shadow-md);
}

.blog-thumb {
  height: 190px;
  background: #112038;
  position: relative;
  overflow: hidden;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-thumb img {
  transform: scale(1.05);
}

.blog-category-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--wp-blue);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

html[lang="ar"] .blog-category-tag {
  left: auto;
  right: 1rem;
}

.blog-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.blog-title {
  font-size: 1.12rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  color: var(--text-pure);
}

.blog-excerpt {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.blog-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: #38BDF8;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.blog-link:hover {
  color: var(--wp-gold);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-blue);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.35rem 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-pure);
  cursor: pointer;
}

html[lang="ar"] .faq-question {
  text-align: right;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-body);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--wp-blue);
  color: #FFFFFF;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  transition: max-height 0.4s ease-in-out;
}

.faq-answer-inner {
  padding: 0 1.6rem 1.4rem;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* ==========================================================================
   MODAL WINDOWS & INQUIRY FORMS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: #0E1B2E;
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 540px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  animation: modal-pop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modal-pop {
  0% { transform: scale(0.95); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-header {
  padding: 1.5rem 1.8rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 1.25rem;
  color: var(--text-pure);
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-body);
  font-size: 1.3rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--text-pure);
}

.modal-body {
  padding: 1.8rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.45rem;
}

.form-control, .form-select {
  width: 100%;
  padding: 0.8rem 1rem;
  background: #070E1A;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-pure);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus, .form-select:focus {
  border-color: var(--wp-blue-light);
  box-shadow: 0 0 0 3px rgba(23, 86, 163, 0.25);
}

/* Toast Message */
.toast-msg {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #102644;
  border: 1px solid var(--wp-blue-light);
  color: #FFFFFF;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 3000;
  display: none;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
}

html[lang="ar"] .toast-msg {
  right: auto;
  left: 2rem;
}

.toast-msg.show {
  display: flex;
  animation: toast-in 0.3s ease;
}

@keyframes toast-in {
  0% { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
  background: #050B14;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.7;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-body);
  transition: var(--transition-fast);
}

.social-btn:hover {
  background: var(--wp-blue);
  color: #FFFFFF;
  border-color: var(--wp-blue);
  transform: translateY(-2px);
}

.footer-col h5 {
  font-size: 1.05rem;
  margin-bottom: 1.4rem;
  color: var(--text-pure);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.92rem;
  color: var(--text-body);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--wp-gold);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
}

.contact-row i {
  color: var(--wp-gold);
  margin-top: 0.2rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE, TABLET, DESKTOP)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-quick-card {
    max-width: 500px;
    margin: 0 auto 2rem;
  }

  .hero-float-top, .hero-float-bottom {
    display: none;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .b2b-grid, .partner-grid, .app-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1025px) and (max-width: 1240px) {
  .nav-links {
    gap: 0.65rem;
  }
  .nav-link {
    font-size: 0.87rem;
    padding: 0.35rem 0.15rem;
  }
  .nav-actions .btn-sm {
    padding: 0.4rem 0.75rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 1024px) {
  .nav-links {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-blue);
    flex-direction: column;
    padding: 2rem;
    gap: 1.4rem;
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
    z-index: 999;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .hero-buttons {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.85rem !important;
  }

  .hero-buttons .btn {
    width: 100% !important;
    justify-content: center !important;
    border-radius: 28px !important;
    padding: 0.95rem 1.5rem !important;
    font-size: 0.95rem !important;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .b2b-features-list, .partner-perks-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .apk-downloads-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   BREADCRUMBS (SEO & NAVIGATION)
   ========================================================================== */
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  padding: 0.5rem 0;
}

.breadcrumbs a {
  color: var(--text-body);
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.breadcrumbs a:hover {
  color: var(--wp-gold);
}

.breadcrumbs .sep {
  color: var(--text-muted);
  font-size: 0.75rem;
}

html[lang="ar"] .breadcrumbs .sep i {
  transform: rotate(180deg);
}

.breadcrumbs .current {
  color: var(--wp-gold);
  font-weight: 600;
}


/* ==========================================================================
   USER PROPOSAL: EXACT DESKTOP & MOBILE RESPONSIVE HEADER
   ========================================================================== */

/* --- Top Bar Styling --- */
.top-bar-proposal {
  background: #02142A;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 0;
  font-size: 0.85rem;
  color: #FFFFFF;
}

.top-bar-proposal .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.top-notice-yellow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #FFE600 !important;
  font-weight: 600;
  font-size: 0.86rem;
}

.top-notice-dot {
  color: #FFE600;
  font-size: 0.9rem;
  animation: pulse-dot-anim 2s infinite ease-in-out;
}

@keyframes pulse-dot-anim {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.top-right-group {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.top-social-icons {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.top-social-icon {
  color: #FFFFFF;
  opacity: 0.85;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.top-social-icon:hover {
  opacity: 1;
  color: #FFE600;
  transform: translateY(-1px);
}

.top-vdivider {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.8rem;
  user-select: none;
}

.top-assistance-text {
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.84rem;
}

.top-assistance-text i {
  color: #FFFFFF;
  font-size: 0.85rem;
}

.top-sos-link {
  color: #FF5A1F !important;
  font-weight: 700;
  font-size: 0.86rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  transition: filter 0.2s ease;
}

.top-sos-link:hover {
  filter: brightness(1.2);
}

.top-sos-link i {
  color: #FF5A1F;
}

/* Hide mobile SOS button on desktop */
.top-sos-btn-mobile {
  display: none;
}

/* Sleek Circular Glassmorphism Theme Toggle Button */
.theme-toggle-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 !important;
  margin: 0 !important;
  outline: none;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.theme-toggle-btn:hover {
  background: rgba(255, 230, 0, 0.16) !important;
  border-color: #FFE600 !important;
  transform: scale(1.08) rotate(12deg);
  box-shadow: 0 0 16px rgba(255, 230, 0, 0.35);
}

.theme-toggle-btn .icon-sun {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: #FFE600 !important;
  font-size: 1.1rem;
}

.theme-toggle-btn .icon-moon {
  display: none !important;
}

/* Light Theme Variables & Specifics */
[data-theme="light"] {
  --bg-midnight: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F1F5F9;
  --bg-glass: rgba(255, 255, 255, 0.95);
  --border-subtle: #E2E8F0;
  --border-blue: rgba(23, 86, 163, 0.25);
  --border-glow: rgba(23, 86, 163, 0.35);

  --text-pure: #0B1626;
  --text-main: #1E293B;
  --text-body: #475569;
  --text-muted: #64748B;
}

[data-theme="light"] body {
  background-color: #F8FAFC !important;
  color: #475569 !important;
}

[data-theme="light"] .theme-toggle-btn {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .theme-toggle-btn:hover {
  background: #F1F5F9 !important;
  border-color: #1756A3 !important;
  transform: scale(1.08) rotate(-12deg);
  box-shadow: 0 4px 14px rgba(23, 86, 163, 0.2) !important;
}

[data-theme="light"] .theme-toggle-btn .icon-sun {
  display: none !important;
}

[data-theme="light"] .theme-toggle-btn .icon-moon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: #1756A3 !important;
  font-size: 1.05rem;
}

/* Top bar light mode */
[data-theme="light"] .top-bar-proposal {
  background: #EDF2F7 !important;
  border-bottom: 1px solid #CBD5E1 !important;
}

[data-theme="light"] .top-notice-yellow {
  color: #0F172A !important;
}

[data-theme="light"] .top-social-icon {
  color: #334155 !important;
}

[data-theme="light"] .top-social-icon:hover {
  color: #1756A3 !important;
}

[data-theme="light"] .top-assistance-text {
  color: #334155 !important;
}

[data-theme="light"] .top-assistance-text i {
  color: #1756A3 !important;
}

[data-theme="light"] .top-vdivider {
  color: #CBD5E1 !important;
}

/* Navbar light mode */
[data-theme="light"] .site-header-proposal {
  background: rgba(255, 255, 255, 0.98) !important;
  border-bottom: 1px solid #E2E8F0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .brand-subtext {
  color: #0F172A !important;
}

[data-theme="light"] .nav-item-link {
  color: #1E293B !important;
}

[data-theme="light"] .nav-item-link:hover,
[data-theme="light"] .nav-item-link.active {
  color: #1756A3 !important;
  border-bottom-color: #1756A3 !important;
}

[data-theme="light"] .nav-vsep {
  color: #E2E8F0 !important;
}

[data-theme="light"] .lang-pill-btn {
  background: #F1F5F9 !important;
  border-color: #CBD5E1 !important;
  color: #1E293B !important;
}

[data-theme="light"] .lang-pill-btn:hover {
  background: #E2E8F0 !important;
}

[data-theme="light"] .lang-popup-card {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .lang-popup-row {
  color: #334155 !important;
}

[data-theme="light"] .lang-popup-row:hover {
  background: #F8FAFC !important;
  color: #1756A3 !important;
}

/* Hero Section in Light Mode */
[data-theme="light"] .hero-section {
  background: linear-gradient(180deg, #F1F5F9 0%, #FFFFFF 100%) !important;
}

[data-theme="light"] .hero-tag {
  background: rgba(23, 86, 163, 0.08) !important;
  border-color: rgba(23, 86, 163, 0.25) !important;
  color: #1756A3 !important;
}

[data-theme="light"] .hero-title {
  color: #0F172A !important;
}

[data-theme="light"] .hero-title .text-gold,
[data-theme="light"] .hero-title span[style*="#FFE600"],
[data-theme="light"] .hero-title span[style*="#DCE160"] {
  color: #D97706 !important;
}

[data-theme="light"] .hero-description {
  color: #475569 !important;
}

[data-theme="light"] .hero-quick-card {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .quick-card-title,
[data-theme="light"] .quick-selector-title {
  color: #0F172A !important;
}

[data-theme="light"] .quick-pill {
  background: #F8FAFC !important;
  border-color: #E2E8F0 !important;
  color: #1E293B !important;
}

[data-theme="light"] .quick-pill:hover,
[data-theme="light"] .quick-pill.active {
  background: #1756A3 !important;
  color: #FFFFFF !important;
  border-color: #1756A3 !important;
}

[data-theme="light"] .driver-near-card {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .driver-near-title {
  color: #0F172A !important;
}

[data-theme="light"] .driver-near-sub {
  color: #64748B !important;
}

/* Sections, Cards & Headings in Light Mode */
[data-theme="light"] .section-title,
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4 {
  color: #0F172A !important;
}

[data-theme="light"] .section-subtitle,
[data-theme="light"] p {
  color: #475569 !important;
}

[data-theme="light"] .service-card,
[data-theme="light"] .feature-card,
[data-theme="light"] .step-card,
[data-theme="light"] .faq-item,
[data-theme="light"] .partner-stat-card,
[data-theme="light"] .fleet-feature-card,
[data-theme="light"] .contact-card {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .service-card:hover,
[data-theme="light"] .feature-card:hover,
[data-theme="light"] .step-card:hover {
  border-color: #1756A3 !important;
  box-shadow: 0 12px 30px rgba(23, 86, 163, 0.1) !important;
}

[data-theme="light"] .service-title {
  color: #0F172A !important;
}

[data-theme="light"] .service-description {
  color: #475569 !important;
}

[data-theme="light"] .faq-question {
  color: #0F172A !important;
}

[data-theme="light"] .faq-answer {
  color: #475569 !important;
}

/* Drawer in Light Mode */
[data-theme="light"] .mobile-nav-toggle {
  color: #0F172A;
  background: #F1F5F9;
}

[data-theme="light"] .mobile-drawer-box {
  background: #FFFFFF;
  color: #0F172A;
}

[data-theme="light"] .drawer-top-header {
  border-bottom-color: #E2E8F0;
}

[data-theme="light"] .drawer-close-btn {
  color: #0F172A;
  background: #F1F5F9;
}

[data-theme="light"] .drawer-link-row {
  color: #1E293B;
  border-bottom-color: #F1F5F9;
}

[data-theme="light"] .drawer-sub-link {
  color: #475569;
}

[data-theme="light"] .drawer-btn-dark {
  background: #1756A3;
  color: #FFFFFF;
}

[data-theme="light"] .drawer-footer-info {
  background: #F8FAFC;
  border-top-color: #E2E8F0;
}

[data-theme="light"] .drawer-footer-info span {
  color: #334155 !important;
}

/* Drawer Language & Theme Row */
.drawer-lang-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .drawer-lang-row {
  border-bottom-color: #E2E8F0;
}


/* Weenpan Driver Download Showcase with QR Code */
.driver-download-card {
  background: linear-gradient(135deg, rgba(13, 26, 46, 0.95) 0%, rgba(20, 43, 68, 0.9) 100%);
  border: 1px solid rgba(23, 86, 163, 0.4);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 3.5vw, 3rem);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
}

[data-theme="light"] .driver-download-card {
  background: #FFFFFF;
  border-color: #E2E8F0;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

.driver-download-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 860px) {
  .driver-download-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .driver-qr-col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.driver-qr-box {
  background: #FFFFFF;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  text-align: center;
  max-width: 220px;
}

.driver-qr-box img {
  width: 190px;
  height: 190px;
  display: block;
  border-radius: 8px;
}

.driver-qr-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #1E293B;
  margin-top: 10px;
  line-height: 1.35;
}


/* --- Main Navigation Header (Desktop) --- */
.site-header-proposal {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: rgba(2, 22, 46, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header-proposal .container,
.top-bar-proposal .container {
  max-width: 1480px;
  width: 100%;
  padding: 0 clamp(0.75rem, 1.5vw, 1.5rem);
}

.navbar-proposal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  gap: clamp(0.4rem, 0.8vw, 0.9rem);
  width: 100%;
}

.brand-proposal {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
  gap: 2px;
  line-height: 1;
}

.brand-shield-img {
  height: clamp(32px, 2.2vw, 38px);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(23, 86, 163, 0.6));
  transition: transform 0.2s ease;
}

.brand-proposal:hover .brand-shield-img {
  transform: translateY(-1px);
}

.brand-name-text,
.brand-subtext {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #FFFFFF;
  line-height: 1;
  text-align: center;
}

[data-theme="light"] .brand-name-text,
[data-theme="light"] .brand-subtext {
  color: #0F172A;
}

/* Nav Links Container */
.nav-links-proposal {
  display: flex;
  align-items: center;
  gap: clamp(0.25rem, 0.5vw, 0.85rem);
  list-style: none;
  margin: 0 auto;
  padding: 0;
  flex-shrink: 1;
}

.nav-item-link {
  color: #FFFFFF;
  font-size: clamp(0.8rem, 0.82vw, 0.86rem);
  font-weight: 500;
  text-decoration: none;
  padding: 0.25rem clamp(0.15rem, 0.3vw, 0.45rem);
  transition: color 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.18;
}

.nav-item-link:hover {
  color: #FFE600;
}

/* Active Indicator: Bright Yellow Underline Bar */
.nav-item-link.active {
  color: #FFFFFF;
  font-weight: 700;
  border-bottom: 2.5px solid #FFE600;
  padding-bottom: 3px;
}

/* Multiline links */
.nav-item-link.multiline span {
  display: block;
}

/* Vertical Separator */
.nav-vsep {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.95rem;
  user-select: none;
  margin: 0 0.15rem;
}

/* Actions Right */
.nav-actions-proposal {
  display: flex;
  align-items: center;
  gap: clamp(0.35rem, 0.55vw, 0.65rem);
  flex-shrink: 0;
}

/* Language Pill Button */
.lang-pill-wrap {
  position: relative;
}

.lang-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(4, 25, 54, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 0.42rem clamp(0.55rem, 0.65vw, 0.85rem);
  color: #FFFFFF;
  font-size: clamp(0.78rem, 0.8vw, 0.84rem);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.lang-pill-btn:hover {
  background: rgba(14, 46, 92, 0.9);
  border-color: #38BDF8;
}

.lang-pill-btn i.fa-chevron-down {
  font-size: 0.68rem;
  opacity: 0.85;
  transition: transform 0.25s ease;
}

.lang-pill-btn.active i.fa-chevron-down,
.lang-pill-btn.open i.fa-chevron-down {
  transform: rotate(180deg);
}

/* Language Dropdown Popup */
.lang-popup-card {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #041B3B;
  border: 1px solid #1656A8;
  border-radius: 12px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65);
  padding: 0.5rem;
  min-width: 140px;
  z-index: 1250;
  display: none;
}

html[lang="ar"] .lang-popup-card {
  right: auto;
  left: 0;
}

.lang-popup-card.open {
  display: block;
  animation: popup-fade 0.2s ease;
}

@keyframes popup-fade {
  0% { transform: translateY(-6px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.lang-popup-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  color: #E2E8F0;
  font-size: 0.88rem;
  text-decoration: none;
  transition: background 0.15s ease;
}

.lang-popup-row:hover {
  background: rgba(23, 86, 163, 0.35);
  color: #FFFFFF;
}

.lang-popup-row.active {
  color: #FFE600;
  font-weight: 700;
}

.lang-flag {
  font-size: 1.05rem;
  margin-right: 0.45rem;
}

html[lang="ar"] .lang-flag {
  margin-right: 0;
  margin-left: 0.45rem;
}

/* CTA 1: Demander un remorquage (Dark outline blue) */
.btn-req-tow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #031B3A;
  border: 1px solid #1656A8;
  color: #FFFFFF;
  border-radius: 24px;
  padding: 0.44rem clamp(0.65rem, 0.85vw, 1.15rem);
  font-weight: 600;
  font-size: clamp(0.78rem, 0.82vw, 0.86rem);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-req-tow:hover {
  background: #062854;
  border-color: #38BDF8;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(22, 86, 168, 0.3);
}

.btn-req-tow i {
  color: #FFFFFF;
}

/* CTA 2: Devenir partenaire (Bright Yellow) */
.btn-join-partner {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #FFE600;
  border: none;
  color: #02142B;
  border-radius: 24px;
  padding: 0.44rem clamp(0.65rem, 0.85vw, 1.15rem);
  font-weight: 700;
  font-size: clamp(0.78rem, 0.82vw, 0.86rem);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-join-partner:hover {
  background: #FFF14D;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 230, 0, 0.4);
  color: #000000;
}

.btn-join-partner i {
  color: #02142B;
}

/* Hamburger Toggle Button */
.mobile-nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.1rem;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.mobile-nav-toggle:hover {
  background: rgba(23, 86, 163, 0.3);
  border-color: #38BDF8;
}

/* ==========================================================================
   MOBILE FULL SCREEN DRAWER
   ========================================================================== */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 14, 28, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-box {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #02152B;
  z-index: 2001;
  overflow-y: auto;
  padding: 1.25rem 1.5rem 5rem;
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.mobile-drawer-overlay.open .mobile-drawer-box {
  transform: translateY(0);
}

.drawer-top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.25rem;
}

.drawer-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
}

.drawer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.drawer-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0.5rem;
  color: #FFFFFF;
  font-size: 1.02rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: color 0.15s ease;
}

.drawer-link-row:hover {
  color: #FFE600;
}

.drawer-link-left {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.drawer-link-left i {
  width: 22px;
  text-align: center;
  color: #38BDF8;
  font-size: 1.05rem;
}

.drawer-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  margin-bottom: 0.25rem;
}

.drawer-accordion-content.open {
  max-height: 250px;
}

.drawer-sub-link {
  display: block;
  padding: 0.65rem 1rem 0.65rem 2.85rem;
  color: #B0C4D8;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.15s ease;
}

.drawer-sub-link:hover {
  color: #FFE600;
  padding-left: 3.1rem;
}

/* Drawer Language & CTAs */
.drawer-lang-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 1.25rem;
  position: relative;
}

.drawer-lang-row .lang-pill-wrap {
  position: relative;
}

.drawer-lang-row .lang-popup-card {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: auto;
  z-index: 2500;
}

.drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.drawer-btn-yellow {
  width: 100%;
  background: #FFE600;
  color: #02142B;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem;
  border-radius: 28px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  text-decoration: none;
  cursor: pointer;
}

.drawer-btn-dark {
  width: 100%;
  background: #041B3B;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  text-decoration: none;
  cursor: pointer;
}

.drawer-footer-info {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
}

.drawer-social-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.drawer-sos-line {
  color: #FF5A1F;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

/* ==========================================================================
   MOBILE BOTTOM BAR (Option: menu bottom)
   ========================================================================== */
.mobile-bottom-bar-proposal {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(3, 24, 51, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1050;
  align-items: center;
  justify-content: space-around;
  padding: 0 0.5rem;
}

.bottom-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #94A3B8;
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.15s ease;
}

.bottom-bar-item i {
  font-size: 1.15rem;
}

.bottom-bar-item.active, .bottom-bar-item:hover {
  color: #FFE600;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1200px) {
  .nav-links-proposal,
  .nav-vsep,
  .btn-req-tow,
  .btn-join-partner {
    display: none !important;
  }

  .mobile-nav-toggle {
    display: inline-flex;
  }

  /* Top Bar Mobile Layout (Matches User Proposal Screen 1) */
  .top-bar-proposal {
    padding: 0.5rem 0 0.65rem;
  }

  .top-bar-proposal .container {
    flex-direction: column;
    text-align: center;
    gap: 0.35rem;
  }

  .top-notice-yellow {
    font-size: 0.82rem;
    line-height: 1.3;
  }

  .top-right-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
  }

  /* On mobile, SOS hotline is rendered as prominent full-width button in row 3 */
  .top-right-group .top-sos-link,
  .top-right-group .top-vdivider:last-of-type {
    display: none !important;
  }

  .top-sos-btn-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background: #FF5A1F;
    color: #FFFFFF !important;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(255, 90, 31, 0.35);
    margin-top: 0.35rem;
    transition: transform 0.2s ease, filter 0.2s ease;
  }

  .top-sos-btn-mobile:hover {
    filter: brightness(1.1);
  }
}

@media (max-width: 768px) {
  .mobile-bottom-bar-proposal {
    display: flex;
  }

  /* Add padding to body so bottom bar does not overlap content */
  body {
    padding-bottom: 65px;
  }

  /* Mobile Hero: Title -> Subtitle -> 2 Stacked CTAs -> Tow Truck Photo (Matches User Proposal Screen 1) */
  .hero-content {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .hero-tag {
    margin: 0 auto 0.75rem;
    font-size: 0.75rem;
  }

  .hero-title {
    order: 1;
    font-size: 1.95rem !important;
    line-height: 1.25;
    margin-bottom: 0.65rem;
  }

  .hero-description {
    order: 2;
    font-size: 0.95rem !important;
    margin: 0 auto 1.35rem;
    max-width: 92%;
    line-height: 1.5;
  }

  .hero-buttons {
    order: 3;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.75rem !important;
    margin-bottom: 1.5rem !important;
  }

  .hero-buttons .btn {
    width: 100% !important;
    border-radius: 28px !important;
    padding: 0.85rem 1.25rem !important;
    font-size: 0.95rem !important;
    justify-content: center !important;
  }

  .hero-buttons .btn:nth-child(3) {
    display: none !important; /* SOS is already high priority in top bar */
  }

  .hero-visual {
    order: 4;
    width: 100%;
    margin: 0 auto 1.5rem;
  }

  .hero-quick-card {
    order: 5;
    width: 100%;
    margin-top: 0.5rem;
  }
}



/* ==========================================================================
   MASTER THEME ENGINE - WEENPAN LIGHT & DARK MODES
   Compliant with Antigravity UI/UX Master Specification & Visual Sample Image 2
   ========================================================================== */

/* --------------------------------------------------------------------------
   DARK THEME (Default)
   -------------------------------------------------------------------------- */
:root,
[data-theme="dark"] {
  --bg-page: #071529;
  --bg-secondary: #0A1B33;
  --bg-card: #0D1E38;
  --bg-card-hover: #12284A;
  --bg-glass: rgba(13, 30, 56, 0.92);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(23, 86, 163, 0.35);
  --border-card-hover: #206CD4;

  --text-pure: #FFFFFF;
  --text-title: #F8FAFC;
  --text-body: #94A3B8;
  --text-muted: #64748B;

  --shadow-card: 0 4px 18px rgba(0, 0, 0, 0.25);
  --shadow-card-hover: 0 10px 28px rgba(23, 86, 163, 0.25);
}

body,
[data-theme="dark"] body {
  background-color: var(--bg-page);
  color: var(--text-body);
}

/* Headings in Dark Mode */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] .section-title,
[data-theme="dark"] .hero-title,
[data-theme="dark"] .service-title {
  color: var(--text-title) !important;
}

[data-theme="dark"] p,
[data-theme="dark"] .section-subtitle,
[data-theme="dark"] .hero-description,
[data-theme="dark"] .service-description {
  color: var(--text-body) !important;
}

/* Cards in Dark Mode */
[data-theme="dark"] .service-card,
[data-theme="dark"] .step-card,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .partner-perk-card,
[data-theme="dark"] .partner-card,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .driver-near-card,
[data-theme="dark"] .hero-quick-card {
  background: var(--bg-card) !important;
  border-color: var(--border-card) !important;
  box-shadow: var(--shadow-card) !important;
  color: var(--text-body) !important;
}

[data-theme="dark"] .service-card:hover,
[data-theme="dark"] .step-card:hover,
[data-theme="dark"] .feature-card:hover,
[data-theme="dark"] .partner-perk-card:hover {
  background: var(--bg-card-hover) !important;
  border-color: var(--border-card-hover) !important;
  box-shadow: var(--shadow-card-hover) !important;
}

/* Quick Vehicle/Problem Selectors in Dark Mode */
[data-theme="dark"] .quick-pill {
  background: rgba(23, 86, 163, 0.16) !important;
  border-color: rgba(23, 86, 163, 0.35) !important;
  color: #F1F5F9 !important;
}

[data-theme="dark"] .quick-pill:hover,
[data-theme="dark"] .quick-pill.active {
  background: #1756A3 !important;
  border-color: #206CD4 !important;
  color: #FFFFFF !important;
}

/* Modals in Dark Mode */
[data-theme="dark"] .modal-container,
[data-theme="dark"] .modal-box {
  background: #0B1B33 !important;
  border-color: rgba(23, 86, 163, 0.45) !important;
  color: #F8FAFC !important;
}

[data-theme="dark"] .form-input,
[data-theme="dark"] .form-select,
[data-theme="dark"] .form-textarea {
  background: #071529 !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #FFFFFF !important;
}

/* --------------------------------------------------------------------------
   LIGHT THEME (Matches Master Spec Image 2 Top Half)
   -------------------------------------------------------------------------- */
[data-theme="light"] {
  --bg-page: #F8FAFC;
  --bg-secondary: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F1F5F9;
  --bg-glass: rgba(255, 255, 255, 0.98);
  --border-subtle: #E2E8F0;
  --border-card: #E2E8F0;
  --border-card-hover: #1756A3;

  --text-pure: #0B1E38;
  --text-title: #0F172A;
  --text-body: #475569;
  --text-muted: #64748B;

  --shadow-card: 0 4px 16px rgba(15, 23, 42, 0.05);
  --shadow-card-hover: 0 10px 28px rgba(23, 86, 163, 0.12);
}

[data-theme="light"] body {
  background-color: var(--bg-page) !important;
  color: var(--text-body) !important;
}

/* Sections in Light Mode */
[data-theme="light"] .hero-section {
  background: linear-gradient(180deg, #EDF2F7 0%, #F8FAFC 100%) !important;
}

[data-theme="light"] .services-hub-section,
[data-theme="light"] .how-it-works-section,
[data-theme="light"] .partner-section,
[data-theme="light"] .faq-section {
  background: #FFFFFF !important;
}

/* Headings in Light Mode */
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] .section-title,
[data-theme="light"] .hero-title,
[data-theme="light"] .service-title {
  color: var(--text-title) !important;
}

[data-theme="light"] .hero-title .text-gold,
[data-theme="light"] .hero-title span[style*="#FFE600"],
[data-theme="light"] .hero-title span[style*="#DCE160"] {
  color: #D97706 !important;
}

[data-theme="light"] p,
[data-theme="light"] .section-subtitle,
[data-theme="light"] .hero-description,
[data-theme="light"] .service-description {
  color: var(--text-body) !important;
}

/* Cards in Light Mode */
[data-theme="light"] .service-card,
[data-theme="light"] .step-card,
[data-theme="light"] .feature-card,
[data-theme="light"] .partner-perk-card,
[data-theme="light"] .partner-card,
[data-theme="light"] .faq-item,
[data-theme="light"] .driver-near-card,
[data-theme="light"] .hero-quick-card {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-card) !important;
  box-shadow: var(--shadow-card) !important;
  color: var(--text-body) !important;
}

[data-theme="light"] .service-card:hover,
[data-theme="light"] .step-card:hover,
[data-theme="light"] .feature-card:hover,
[data-theme="light"] .partner-perk-card:hover {
  background: var(--bg-card) !important;
  border-color: var(--border-card-hover) !important;
  box-shadow: var(--shadow-card-hover) !important;
  transform: translateY(-3px);
}

[data-theme="light"] .service-card h3,
[data-theme="light"] .service-card h4,
[data-theme="light"] .step-card h5,
[data-theme="light"] .partner-perk-card h5,
[data-theme="light"] .faq-question {
  color: var(--text-title) !important;
}

/* Quick Vehicle/Problem Selectors in Light Mode */
[data-theme="light"] .quick-pill {
  background: #F8FAFC !important;
  border-color: #E2E8F0 !important;
  color: #1E293B !important;
}

[data-theme="light"] .quick-pill:hover,
[data-theme="light"] .quick-pill.active {
  background: #1756A3 !important;
  border-color: #1756A3 !important;
  color: #FFFFFF !important;
}

/* Driver Download Card in Light Mode */
[data-theme="light"] .driver-download-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #F1F5F9 100%) !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .driver-download-card h2,
[data-theme="light"] .driver-download-card h3 {
  color: #0F172A !important;
}

[data-theme="light"] .driver-download-card p {
  color: #475569 !important;
}

/* Modals in Light Mode */
[data-theme="light"] .modal-container,
[data-theme="light"] .modal-box {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15) !important;
  color: #0F172A !important;
}

[data-theme="light"] .modal-title {
  color: #0F172A !important;
}

[data-theme="light"] .form-input,
[data-theme="light"] .form-select,
[data-theme="light"] .form-textarea {
  background: #F8FAFC !important;
  border: 1px solid #CBD5E1 !important;
  color: #0F172A !important;
}

[data-theme="light"] .form-input:focus,
[data-theme="light"] .form-select:focus,
[data-theme="light"] .form-textarea:focus {
  background: #FFFFFF !important;
  border-color: #1756A3 !important;
  box-shadow: 0 0 0 3px rgba(23, 86, 163, 0.15) !important;
}

/* Top Bar and Header in Light Mode */
[data-theme="light"] .top-bar-proposal {
  background: #EDF2F7 !important;
  border-bottom: 1px solid #CBD5E1 !important;
}

[data-theme="light"] .top-notice-yellow {
  color: #0F172A !important;
}

[data-theme="light"] .top-social-icon {
  color: #334155 !important;
}

[data-theme="light"] .top-social-icon:hover {
  color: #1756A3 !important;
}

[data-theme="light"] .top-assistance-text {
  color: #334155 !important;
}

[data-theme="light"] .top-assistance-text i {
  color: #1756A3 !important;
}

[data-theme="light"] .top-vdivider {
  color: #CBD5E1 !important;
}

[data-theme="light"] .site-header-proposal {
  background: rgba(255, 255, 255, 0.98) !important;
  border-bottom: 1px solid #E2E8F0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .brand-subtext {
  color: #0F172A !important;
}

[data-theme="light"] .nav-item-link {
  color: #1E293B !important;
}

[data-theme="light"] .nav-item-link:hover,
[data-theme="light"] .nav-item-link.active {
  color: #1756A3 !important;
  border-bottom-color: #1756A3 !important;
}

[data-theme="light"] .nav-vsep {
  color: #E2E8F0 !important;
}

[data-theme="light"] .lang-pill-btn {
  background: #F1F5F9 !important;
  border-color: #CBD5E1 !important;
  color: #1E293B !important;
}

[data-theme="light"] .lang-pill-btn:hover {
  background: #E2E8F0 !important;
}

[data-theme="light"] .lang-popup-card {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .lang-popup-row {
  color: #334155 !important;
}

[data-theme="light"] .lang-popup-row:hover {
  background: #F8FAFC !important;
  color: #1756A3 !important;
}

/* Top Bar Connexion Button */
.top-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.26rem 0.8rem;
  background: rgba(255, 230, 0, 0.12);
  border: 1px solid rgba(255, 230, 0, 0.4);
  color: #FFE600 !important;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.2px;
}

.top-login-btn:hover {
  background: #FFE600;
  color: #02142A !important;
  border-color: #FFE600;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 230, 0, 0.35);
}

.top-login-btn i {
  font-size: 0.9rem;
}

[data-theme="light"] .top-login-btn {
  background: rgba(23, 86, 163, 0.08);
  border-color: rgba(23, 86, 163, 0.35);
  color: #1756A3 !important;
}

[data-theme="light"] .top-login-btn:hover {
  background: #1756A3;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(23, 86, 163, 0.3);
}

/* ==========================================================================
   ULTRA-PREMIUM AUTH MODAL (Connexion & Inscription Unifiées)
   ========================================================================== */

.login-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(1, 10, 24, 0.82) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  z-index: 9999 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.login-modal-overlay.active {
  display: flex !important;
  opacity: 1 !important;
}

.login-modal-container {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  background: linear-gradient(155deg, #07172F 0%, #030F20 100%) !important;
  border: 1px solid rgba(255, 230, 0, 0.3) !important;
  box-shadow: 0 25px 70px -10px rgba(0, 0, 0, 0.85), 0 0 45px rgba(23, 86, 163, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  border-radius: 24px !important;
  padding: 2.2rem 2.2rem 2rem !important;
  animation: loginModalEntrance 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

/* Custom sleek scrollbar for modal */
.login-modal-container::-webkit-scrollbar {
  width: 6px;
}
.login-modal-container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}
.login-modal-container::-webkit-scrollbar-thumb {
  background: rgba(255, 230, 0, 0.3);
  border-radius: 10px;
}

@keyframes loginModalEntrance {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Ambient glow accents */
.login-modal-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(55px);
  opacity: 0.6;
}

.login-glow-1 {
  width: 190px;
  height: 190px;
  top: -45px;
  left: -45px;
  background: radial-gradient(circle, rgba(23, 86, 163, 0.65) 0%, transparent 70%);
}

.login-glow-2 {
  width: 170px;
  height: 170px;
  bottom: -35px;
  right: -35px;
  background: radial-gradient(circle, rgba(255, 230, 0, 0.4) 0%, transparent 70%);
}

/* Close button */
.login-close-btn {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #94A3B8 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 10;
  font-size: 0.95rem;
}

.login-close-btn:hover {
  background: rgba(239, 68, 68, 0.25) !important;
  border-color: rgba(239, 68, 68, 0.6) !important;
  color: #EF4444 !important;
  transform: rotate(90deg);
}

/* Modal Header */
.login-modal-header {
  text-align: center;
  position: relative;
  z-index: 2;
  margin-bottom: 1.35rem;
}

.login-logo-ring {
  width: 58px !important;
  height: 58px !important;
  max-width: 58px !important;
  max-height: 58px !important;
  margin: 0 auto 0.75rem !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, rgba(23, 86, 163, 0.4) 0%, rgba(255, 230, 0, 0.25) 100%) !important;
  border: 2px solid rgba(255, 230, 0, 0.5) !important;
  box-shadow: 0 0 25px rgba(255, 230, 0, 0.3), inset 0 0 15px rgba(23, 86, 163, 0.5) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 6px !important;
  box-sizing: border-box !important;
  animation: pulseLogoRing 3s infinite ease-in-out;
}

@keyframes pulseLogoRing {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(255, 230, 0, 0.3), inset 0 0 12px rgba(23, 86, 163, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 32px rgba(255, 230, 0, 0.55), inset 0 0 18px rgba(23, 86, 163, 0.65);
  }
}

.login-logo-img {
  width: 34px !important;
  height: 34px !important;
  max-width: 34px !important;
  max-height: 34px !important;
  object-fit: contain !important;
  display: block !important;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.login-modal-title {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF !important;
  margin: 0 0 0.25rem !important;
  letter-spacing: -0.3px;
}

.login-modal-subtitle {
  color: #94A3B8 !important;
  font-size: 0.86rem;
  margin: 0 !important;
  transition: all 0.2s ease;
}

/* 1. Mode Switcher (Connexion vs Inscription) */
.auth-mode-switcher {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(2, 10, 24, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 14px;
  padding: 4px;
  margin-bottom: 0.85rem;
  z-index: 2;
}

.auth-mode-btn {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.65rem 0.5rem;
  background: transparent !important;
  border: none !important;
  border-radius: 10px;
  color: #94A3B8 !important;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-mode-btn.active {
  color: #070E1A !important;
}

.auth-mode-btn:not(.active):hover {
  color: #FFFFFF !important;
}

.auth-mode-slider {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  background: linear-gradient(135deg, #FFE600 0%, #F59E0B 100%) !important;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1;
}

/* 2. Role Switcher (Client vs Remorqueur) */
.login-role-switcher {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(2, 10, 24, 0.55) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px;
  padding: 3px;
  margin-bottom: 1.1rem;
  z-index: 2;
}

.login-role-btn {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 0.5rem;
  background: transparent !important;
  border: none !important;
  border-radius: 9px;
  color: #94A3B8 !important;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.3s ease;
}

.login-role-btn.active {
  color: #FFFFFF !important;
}

.login-role-btn:not(.active):hover {
  color: #E2E8F0 !important;
}

.login-role-slider {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  background: rgba(23, 86, 163, 0.6) !important;
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 9px;
  box-shadow: 0 4px 14px rgba(23, 86, 163, 0.3);
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1;
}

/* Role indicator badge */
.login-role-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  transition: all 0.25s ease;
}

.login-role-indicator.role-user {
  background: rgba(23, 86, 163, 0.16) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  color: #38BDF8 !important;
}

.login-role-indicator.role-driver {
  background: rgba(245, 158, 11, 0.16) !important;
  border: 1px solid rgba(245, 158, 11, 0.45) !important;
  color: #FFE600 !important;
}

/* Driver Sub-Type Option Pills (Indépendant vs Société) */
.driver-type-toggle-group {
  margin-bottom: 1rem;
}

.driver-type-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #FFE600;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.driver-type-pill-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.driver-type-opt {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.4rem;
  background: rgba(2, 10, 24, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: #94A3B8;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.driver-type-opt input[type="radio"] {
  display: none;
}

.driver-type-opt.active {
  background: rgba(245, 158, 11, 0.2) !important;
  border-color: #FFE600 !important;
  color: #FFE600 !important;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
}

.login-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

/* Forms layout */
.auth-form-view {
  position: relative;
  z-index: 2;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.login-field {
  margin-bottom: 1rem;
  position: relative;
}

/* Modern Floating Label Inputs */
.login-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.login-field-icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748B !important;
  font-size: 0.95rem;
  transition: color 0.25s ease;
  z-index: 2;
  pointer-events: none;
}

.login-input {
  width: 100% !important;
  background: rgba(3, 17, 36, 0.75) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 12px !important;
  padding: 1.25rem 2.8rem 0.55rem 2.85rem !important;
  color: #FFFFFF !important;
  font-size: 0.92rem !important;
  font-weight: 500 !important;
  outline: none !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25) !important;
  box-sizing: border-box !important;
}

.login-input:focus {
  background: rgba(4, 25, 54, 0.95) !important;
  border-color: #FFE600 !important;
  box-shadow: 0 0 0 3px rgba(255, 230, 0, 0.18), inset 0 2px 4px rgba(0, 0, 0, 0.25) !important;
}

.login-input:focus ~ .login-field-icon {
  color: #FFE600 !important;
}

.login-input-label {
  position: absolute;
  left: 2.85rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.88rem;
  color: #94A3B8 !important;
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-input:focus ~ .login-input-label,
.login-input:not(:placeholder-shown) ~ .login-input-label {
  top: 0.72rem !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  color: #FFE600 !important;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.login-eye-btn {
  position: absolute;
  right: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent !important;
  border: none !important;
  color: #64748B !important;
  cursor: pointer;
  padding: 0.35rem;
  font-size: 0.95rem;
  transition: color 0.2s;
  z-index: 2;
}

.login-eye-btn:hover {
  color: #FFFFFF !important;
}

/* Options row (Remember me + Forgot link) */
.login-options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
}

.login-remember {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #94A3B8 !important;
  cursor: pointer;
  user-select: none;
}

.login-remember input[type="checkbox"] {
  display: none;
}

.login-check-custom {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: rgba(3, 17, 36, 0.8) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  position: relative;
}

.login-remember input[type="checkbox"]:checked ~ .login-check-custom {
  background: #FFE600 !important;
  border-color: #FFE600 !important;
}

.login-remember input[type="checkbox"]:checked ~ .login-check-custom::after {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free', 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.65rem;
  color: #070E1A;
}

.login-forgot-link {
  color: #FFE600 !important;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.login-forgot-link:hover {
  color: #FFF14D !important;
  text-decoration: underline;
}

/* Submit Button */
.login-submit-btn {
  width: 100% !important;
  padding: 0.88rem 1.4rem !important;
  background: linear-gradient(135deg, #FFE600 0%, #F59E0B 100%) !important;
  border: none !important;
  border-radius: 12px !important;
  color: #02142A !important;
  font-weight: 800 !important;
  font-size: 0.98rem !important;
  font-family: var(--font-heading, 'Outfit', sans-serif);
  letter-spacing: 0.3px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.65rem !important;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35) !important;
}

.login-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5) !important;
  filter: brightness(1.05);
}

.login-submit-btn:active {
  transform: translateY(0);
}

.login-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.login-btn-arrow {
  font-size: 0.92rem;
  transition: transform 0.2s ease;
}

.login-submit-btn:hover .login-btn-arrow {
  transform: translateX(4px);
}

/* Switch link prompt (Pas encore de compte ? Créer un compte) */
.auth-switch-prompt {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: #94A3B8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.auth-switch-link {
  background: transparent !important;
  border: none !important;
  color: #FFE600 !important;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.auth-switch-link:hover {
  color: #FFF14D !important;
}

/* Feedback alerts */
.login-feedback {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  margin-bottom: 1.1rem;
  font-size: 0.86rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  animation: fadeInFeedback 0.25s ease;
}

@keyframes fadeInFeedback {
  0% { opacity: 0; transform: translateY(-6px); }
  100% { opacity: 1; transform: translateY(0); }
}

.login-feedback.error {
  background: rgba(239, 68, 68, 0.16) !important;
  border: 1px solid rgba(239, 68, 68, 0.45) !important;
  color: #F87171 !important;
}

.login-feedback.success {
  background: rgba(16, 185, 129, 0.16) !important;
  border: 1px solid rgba(16, 185, 129, 0.45) !important;
  color: #34D399 !important;
}

/* Light Theme Overrides */
[data-theme="light"] .login-modal-overlay {
  background: rgba(15, 23, 42, 0.6) !important;
}

[data-theme="light"] .login-modal-container {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.2), 0 0 35px rgba(23, 86, 163, 0.12) !important;
}

[data-theme="light"] .login-close-btn {
  background: #F1F5F9 !important;
  border-color: #E2E8F0 !important;
  color: #64748B !important;
}

[data-theme="light"] .login-modal-title {
  color: #0F172A !important;
}

[data-theme="light"] .login-modal-subtitle {
  color: #64748B !important;
}

[data-theme="light"] .auth-mode-switcher,
[data-theme="light"] .login-role-switcher {
  background: #F1F5F9 !important;
  border-color: #E2E8F0 !important;
}

[data-theme="light"] .auth-mode-btn:not(.active):hover,
[data-theme="light"] .login-role-btn:not(.active):hover {
  color: #0F172A !important;
}

[data-theme="light"] .login-input {
  background: #F8FAFC !important;
  border-color: #CBD5E1 !important;
  color: #0F172A !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .login-input:focus {
  background: #FFFFFF !important;
  border-color: #1756A3 !important;
  box-shadow: 0 0 0 3px rgba(23, 86, 163, 0.15) !important;
}

[data-theme="light"] .login-input:focus ~ .login-field-icon {
  color: #1756A3 !important;
}

[data-theme="light"] .login-input:focus ~ .login-input-label,
[data-theme="light"] .login-input:not(:placeholder-shown) ~ .login-input-label {
  color: #1756A3 !important;
}

[data-theme="light"] .login-remember,
[data-theme="light"] .auth-switch-prompt {
  color: #64748B !important;
}

[data-theme="light"] .login-check-custom {
  background: #F8FAFC !important;
  border-color: #CBD5E1 !important;
}

[data-theme="light"] .auth-switch-link {
  color: #1756A3 !important;
}

/* ==========================================================================
   BIBINET TAXI DESIGN SYSTEM & CUSTOM COMPONENTS
   Brand: Tunisian Taxi Yellow (#FFD600), Alert Red (#D32F2F), Obsidian (#0A0B0E)
   ========================================================================== */

:root {
  --bibi-yellow: #FFD600;
  --bibi-yellow-glow: rgba(255, 214, 0, 0.45);
  --bibi-yellow-dark: #CCA800;
  --bibi-red: #D32F2F;
  --bibi-red-glow: rgba(211, 47, 47, 0.4);
  --bibi-green: #10B981;
  --bibi-green-glow: rgba(16, 185, 129, 0.4);
  --bibi-dark: #0A0B0E;
  --bibi-card: #12141A;
  --bibi-card-border: rgba(255, 214, 0, 0.18);
  --bibi-card-hover: #181B24;
}

/* Taxi Ribbon Header Banner */
.taxi-checker-ribbon {
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    #FFD600 0px,
    #FFD600 18px,
    #0A0B0E 18px,
    #0A0B0E 36px
  );
  width: 100%;
}

/* Bibinet Badges */
.bibi-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(255, 214, 0, 0.12);
  color: #FFD600;
  border: 1px solid rgba(255, 214, 0, 0.3);
}

.bibi-badge-red {
  background: rgba(211, 47, 47, 0.12);
  color: #EF4444;
  border-color: rgba(211, 47, 47, 0.3);
}

.bibi-badge-green {
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
  border-color: rgba(16, 185, 129, 0.3);
}

/* Pulsing Live Dot */
.pulsing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 10px #10B981;
  animation: bibiPulse 1.8s infinite;
}

@keyframes bibiPulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 15px #10B981; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

/* Shared Digital Taximeter Simulation Widget */
.taximeter-box {
  background: radial-gradient(circle at top left, #1E232E 0%, #0D0F14 100%);
  border: 1.5px solid rgba(255, 214, 0, 0.35);
  border-radius: 24px;
  padding: 2.2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 214, 0, 0.15);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.taximeter-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #D32F2F 0%, #FFD600 50%, #10B981 100%);
}

.taximeter-screen {
  background: #000000;
  border: 2px solid #232733;
  border-radius: 16px;
  padding: 1.6rem;
  margin-bottom: 1.8rem;
  position: relative;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.9);
}

.taximeter-top-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.8rem;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.meter-digits-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem 0;
}

.meter-digital-value {
  font-family: 'Outfit', monospace, sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: #FFD600;
  text-shadow: 0 0 25px rgba(255, 214, 0, 0.6), 0 0 5px #FFD600;
  line-height: 1;
}

.meter-currency {
  font-size: 1.8rem;
  font-weight: 700;
  color: #FFFFFF;
}

.meter-sync-banner {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 10px;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.84rem;
  color: #34D399;
  font-weight: 600;
}

/* Download APK Cards */
.apk-card {
  background: var(--bibi-card);
  border: 1.5px solid var(--bibi-card-border);
  border-radius: 24px;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.apk-card:hover {
  transform: translateY(-6px);
  border-color: #FFD600;
  box-shadow: 0 16px 40px -10px rgba(255, 214, 0, 0.25);
}

.apk-btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.8rem;
  background: #FFD600;
  color: #0A0B0E;
  font-weight: 800;
  font-size: 1.05rem;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 8px 24px -4px rgba(255, 214, 0, 0.5);
  transition: all 0.25s ease;
}

.apk-btn-download:hover {
  background: #FFFFFF;
  color: #0A0B0E;
  transform: scale(1.02);
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.35);
}

.apk-btn-driver {
  background: linear-gradient(135deg, #FFD600 0%, #FF9900 100%);
  color: #0A0B0E;
}

.apk-btn-driver:hover {
  background: #FFFFFF;
}

/* Tarifs Reglementes Table */
.tarifs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #101217;
}

.tarifs-table th {
  background: #181B23;
  color: #FFD600;
  font-weight: 700;
  padding: 1.1rem 1.4rem;
  text-align: left;
  border-bottom: 2px solid rgba(255, 214, 0, 0.3);
}

.tarifs-table td {
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #E2E8F0;
  font-size: 0.95rem;
}

.tarifs-table tr:last-child td {
  border-bottom: none;
}

.tarifs-table tr:hover td {
  background: rgba(255, 214, 0, 0.04);
}

/* ==========================================================================
   BIBINET MODERN VISUAL SUITE (MASCOT, GLASSMORPHISM, INTERACTIVE FAQ & QR)
   ========================================================================== */

.bibi-mascot-img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(255, 214, 0, 0.45);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bibi-mascot-img:hover {
  transform: scale(1.08) rotate(-3deg);
}

.bibi-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 214, 0, 0.08);
  border: 1px solid rgba(255, 214, 0, 0.28);
  border-radius: 9999px;
  backdrop-filter: blur(12px);
  color: #FFD600;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.bibi-gradient-text {
  background: linear-gradient(135deg, #FFD600 0%, #FFA000 55%, #FF4500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.glass-panel {
  background: rgba(18, 20, 26, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
  border-color: rgba(255, 214, 0, 0.45);
  box-shadow: 0 20px 45px -15px rgba(255, 214, 0, 0.2);
  transform: translateY(-4px);
}

.qr-preview-box {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.qr-preview-box img {
  width: 110px;
  height: 110px;
  display: block;
}

/* Accordion FAQ Modern */
.bibi-faq-item {
  background: #111319;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.bibi-faq-item.active {
  border-color: rgba(255, 214, 0, 0.4);
  background: #141722;
}

.bibi-faq-header {
  padding: 1.3rem 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  color: #FFFFFF;
}

.bibi-faq-body {
  padding: 0 1.6rem 1.4rem;
  color: #94A3B8;
  font-size: 0.95rem;
  line-height: 1.7;
  display: none;
}

.bibi-faq-item.active .bibi-faq-body {
  display: block;
}

.bibi-faq-icon {
  transition: transform 0.3s ease;
  color: #FFD600;
}

.bibi-faq-item.active .bibi-faq-icon {
  transform: rotate(180deg);
}

.glow-gold {
  box-shadow: 0 0 35px -5px rgba(255, 214, 0, 0.4);
}


