/* ==========================================================================
   CAB Jordan — Landing Page Stylesheet
   Brand: Icon Purple #5E1278 | Accent Purple #7D39EB | Cyan #28D7E0 | Yellow #FFDA00
   ========================================================================== */

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

:root {
  /* Brand Palette — sourced from real CAB icon */
  --cyan:          #28D7E0;
  --cyan-dark:     #1ab8c0;
  --cyan-glow:     rgba(40, 215, 224, 0.18);
  --purple:        #7D39EB;           /* accent purple for glows & gradients */
  --purple-dark:   #6228c8;
  --purple-icon:   #5E1278;           /* exact deep purple from CAB icon background */
  --purple-icon-2: #6A1585;           /* slightly lighter variant */
  --purple-glow:   rgba(94, 18, 120, 0.22);
  --yellow:        #FFDA00;           /* road-stripe yellow from the A in logo */
  --yellow-glow:   rgba(255, 218, 0, 0.15);

  --black:      #000000;
  --bg:         #080808;
  --bg-card:    #111111;
  --bg-card-2:  #181818;
  --border:     rgba(255,255,255,0.07);
  --border-bright: rgba(255,255,255,0.14);

  --white:      #FFFFFF;
  --neutral-200:#DBDBDB;
  --neutral-400:#A0A0A0;
  --neutral-600:#555555;

  /* Gradients — brand purple anchored to icon's deep violet */
  --grad-brand:     linear-gradient(135deg, #5E1278 0%, #7D39EB 50%, #28D7E0 100%);
  --grad-brand-rev: linear-gradient(135deg, #28D7E0 0%, #7D39EB 50%, #5E1278 100%);
  --grad-brand-short: linear-gradient(135deg, #7D39EB 0%, #28D7E0 100%);
  --grad-subtle:    linear-gradient(135deg, rgba(94,18,120,0.15) 0%, rgba(40,215,224,0.10) 100%);
  --grad-hero-bg:   radial-gradient(ellipse 80% 60% at 70% 40%, rgba(94,18,120,0.30) 0%, transparent 65%),
                    radial-gradient(ellipse 50% 40% at 20% 70%, rgba(40,215,224,0.12) 0%, transparent 60%);

  /* Typography */
  --font-display: 'Space Grotesk', 'DM Sans', sans-serif;
  --font-body:    'Inter', 'Manrope', sans-serif;

  /* Spacing */
  --sp-xs:  8px;
  --sp-sm:  12px;
  --sp-md:  24px;
  --sp-lg:  48px;
  --sp-xl:  80px;
  --sp-2xl: 120px;

  /* Border Radius */
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-pill: 9999px;

  /* Shadows */
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.5);
  --shadow-md:   0 4px 20px rgba(0,0,0,0.6);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.7);
  --shadow-cyan: 0 4px 24px rgba(40,215,224,0.25);
  --shadow-purple: 0 4px 24px rgba(125,57,235,0.3);

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  background: none;
}

/* --------------------------------------------------------------------------
   2. LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--sp-xl) 0;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

.section-tag::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--neutral-400);
  line-height: 1.7;
  max-width: 560px;
  margin-top: 16px;
}

.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Scroll-reveal utility */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* --------------------------------------------------------------------------
   3. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--grad-brand);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(94, 18, 120, 0.35);
}

.btn-primary:hover {
  opacity: 0.92;
  box-shadow: 0 6px 28px rgba(94, 18, 120, 0.5);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--border-bright);
}

.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-1px);
}

.btn-cyan {
  background: var(--cyan);
  color: var(--black);
  box-shadow: var(--shadow-cyan);
}

.btn-cyan:hover {
  background: var(--cyan-dark);
  box-shadow: 0 6px 28px rgba(40,215,224,0.35);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
  border-radius: 14px;
}

/* Store buttons */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: var(--r-md);
  padding: 12px 20px;
  color: var(--white);
  transition: all 0.25s var(--ease);
  backdrop-filter: blur(8px);
}

.store-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: var(--shadow-cyan);
}

.store-btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.store-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  fill: var(--white);
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-label {
  font-size: 0.68rem;
  color: var(--neutral-400);
  letter-spacing: 0.04em;
  line-height: 1;
}

.store-name {
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-display);
  line-height: 1.3;
}

/* --------------------------------------------------------------------------
   4. NAVBAR
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), padding 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

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

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.navbar-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.navbar-logo:hover { opacity: 0.85; }

/* Real CAB logo image — used in navbar and footer */
.logo-img {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  object-fit: contain;
  /* subtle shadow echoing the icon's purple */
  box-shadow: 0 2px 12px rgba(94, 18, 120, 0.35);
  transition: box-shadow 0.25s, transform 0.2s;
}

.navbar-logo:hover .logo-img,
.footer-logo:hover .logo-img {
  box-shadow: 0 4px 20px rgba(94, 18, 120, 0.55);
  transform: translateY(-1px);
}

/* Nav links */
.navbar-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  display: block;
  padding: 7px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--neutral-400);
  border-radius: var(--r-pill);
  transition: all 0.2s var(--ease);
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.05);
}

.nav-link.active {
  color: var(--cyan);
}

/* Navbar actions */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border-bright);
  transition: border-color 0.2s;
}

.hamburger:hover { border-color: var(--cyan); }

.hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: rgba(8,8,8,0.98);
  backdrop-filter: blur(24px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}

.mobile-nav.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--neutral-400);
  padding: 12px 32px;
  border-radius: var(--r-md);
  transition: all 0.2s;
}

.mobile-nav-link:hover { color: var(--cyan); }

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--neutral-400);
  transition: all 0.2s;
}
.mobile-nav-close:hover { color: var(--white); border-color: var(--cyan); }

.mobile-nav-cta {
  margin-top: 16px;
}

/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 90px;
}

/* Animated background mesh */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbFloat 8s ease-in-out infinite alternate;
}

.hero-bg-orb-1 {
  width: 600px;
  height: 600px;
  /* Uses the icon's actual deep purple */
  background: radial-gradient(circle, rgba(94,18,120,0.38) 0%, rgba(125,57,235,0.15) 50%, transparent 70%);
  right: -100px;
  top: -80px;
  animation-duration: 10s;
}

.hero-bg-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(40,215,224,0.18) 0%, transparent 70%);
  left: -60px;
  bottom: 80px;
  animation-duration: 7s;
  animation-delay: -3s;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

@keyframes orbFloat {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -40px) scale(1.08); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 80px;
}

/* Hero content */
.hero-content {}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(40,215,224,0.1);
  border: 1px solid rgba(40,215,224,0.25);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 28px;
  letter-spacing: 0.03em;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-subheadline {
  font-size: 1.1rem;
  color: var(--neutral-400);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.stat-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--neutral-600);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border-bright);
}

/* Hero visual / phone mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 580px;
}

.phone-frame {
  position: relative;
  width: 260px;
  height: 520px;
  background: #0e0e0e;
  border-radius: 36px;
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    var(--shadow-lg),
    0 0 80px rgba(94,18,120,0.30);
  overflow: hidden;
  animation: phoneBob 5s ease-in-out infinite;
}

@keyframes phoneBob {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%       { transform: translateY(-14px) rotate(1deg); }
}

/* Phone notch */
.phone-frame::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #000;
  border-radius: 12px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #0a0a14;
  overflow: hidden;
}

.app-preview {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.app-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 14px 10px;
  flex-shrink: 0;
}

.app-greeting {
  font-size: 0.65rem;
  color: #666;
  font-family: var(--font-display);
}

.app-logo-sm {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.app-avatar {
  width: 28px;
  height: 28px;
  background: var(--grad-brand);
  border-radius: 50%;
}

.app-map {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #0d1117;
}

.map-roads {
  position: absolute;
  inset: 0;
}

.map-roads svg {
  width: 100%;
  height: 100%;
}

.map-car-marker {
  position: absolute;
  top: 35%;
  left: 45%;
  font-size: 20px;
  animation: carMove 4s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 8px rgba(40,215,224,0.6));
}

@keyframes carMove {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(20px, -15px); }
}

.map-dest-pin {
  position: absolute;
  top: 20%;
  right: 25%;
  width: 18px;
  height: 18px;
  background: var(--cyan);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 0 12px var(--cyan);
}

.map-origin-pin {
  position: absolute;
  bottom: 25%;
  left: 28%;
  width: 12px;
  height: 12px;
  background: var(--white);
  border-radius: 50%;
  border: 3px solid var(--purple);
  box-shadow: 0 0 10px var(--purple);
}

.map-route-line {
  position: absolute;
  inset: 0;
}

.app-bottom-sheet {
  background: #111118;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 12px 14px 14px;
  flex-shrink: 0;
}

.sheet-handle {
  width: 30px;
  height: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  margin: 0 auto 12px;
}

.app-where-input {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 9px 12px;
  margin-bottom: 10px;
}

.input-dot {
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  flex-shrink: 0;
}

.input-text {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-body);
}

.app-ride-chips {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.ride-chip {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 6px 4px;
  text-align: center;
  font-size: 0.6rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-display);
}

.ride-chip.active {
  background: rgba(40,215,224,0.12);
  border-color: rgba(40,215,224,0.35);
  color: var(--cyan);
}

.app-cta-btn {
  width: 100%;
  background: var(--grad-brand);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--white);
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

/* Floating cards */
.float-card {
  position: absolute;
  background: rgba(17,17,17,0.9);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-bright);
  border-radius: var(--r-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}

.float-card-1 {
  top: 60px;
  right: -20px;
  animation: floatCard1 5s ease-in-out infinite;
}

.float-card-2 {
  bottom: 90px;
  left: -30px;
  animation: floatCard2 6s ease-in-out infinite;
}

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

@keyframes floatCard2 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(10px); }
}

.float-emoji {
  font-size: 1.4rem;
  width: 36px;
  height: 36px;
  background: rgba(40,215,224,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.float-title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
}

.float-sub {
  font-size: 0.72rem;
  color: var(--neutral-400);
  margin-top: 1px;
}

/* --------------------------------------------------------------------------
   6. ABOUT SECTION
   -------------------------------------------------------------------------- */
.about {
  background: var(--bg);
  padding: var(--sp-xl) 0;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-visual-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}

.about-visual-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(125,57,235,0.25) 0%, transparent 70%);
  border-radius: 50%;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.about-stat-item {
  text-align: center;
  padding: 24px 16px;
  background: var(--bg-card-2);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
}

.about-stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}

.about-stat-label {
  font-size: 0.82rem;
  color: var(--neutral-400);
  font-weight: 500;
}

.about-content {}

.about-text {
  font-size: 1.05rem;
  color: var(--neutral-400);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--neutral-200);
  font-weight: 500;
}

.feature-check {
  width: 22px;
  height: 22px;
  background: rgba(40,215,224,0.12);
  border: 1px solid rgba(40,215,224,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--cyan);
  font-size: 0.65rem;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   7. WHY CAB SECTION
   -------------------------------------------------------------------------- */
.why-cab {
  padding: var(--sp-xl) 0;
  background: linear-gradient(180deg, var(--bg) 0%, #0c0c0c 100%);
}

.why-cab-header {
  text-align: center;
  margin-bottom: 64px;
}

.why-cab-header .section-subtitle {
  margin: 16px auto 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease);
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.why-card:hover {
  border-color: rgba(40,215,224,0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

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

.why-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.icon-cyan  { background: rgba(40,215,224,0.12); }
.icon-purple{ background: rgba(125,57,235,0.12); }
.icon-yellow{ background: rgba(255,218,0,0.1); }

.why-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.why-card-desc {
  font-size: 0.9rem;
  color: var(--neutral-400);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   8. RIDERS SECTION
   -------------------------------------------------------------------------- */
.riders {
  padding: var(--sp-xl) 0;
  background: var(--bg);
}

.riders-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 40px;
  position: relative;
}

.steps-list::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 40px;
  width: 1px;
  background: linear-gradient(180deg, var(--cyan), var(--purple));
}

.step {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1.5px solid var(--border-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cyan);
  flex-shrink: 0;
  transition: all 0.3s;
}

.step:hover .step-num {
  background: rgba(40,215,224,0.12);
  border-color: var(--cyan);
  box-shadow: var(--shadow-cyan);
}

.step-body {}

.step-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--neutral-400);
  line-height: 1.65;
}

/* Riders visual */
.riders-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.riders-card-stack {
  position: relative;
  width: 300px;
}

.rider-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  margin-bottom: 16px;
}

.rider-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.rider-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.rider-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.rider-sub { font-size: 0.78rem; color: var(--neutral-400); margin-top: 2px; }

.rider-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
}

.meta-label { color: var(--neutral-600); }
.meta-value { color: var(--white); font-weight: 600; }

.eta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(40,215,224,0.1);
  border: 1px solid rgba(40,215,224,0.2);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  font-size: 0.82rem;
  color: var(--cyan);
  font-weight: 600;
  margin-top: 12px;
}

.eta-dot {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

/* --------------------------------------------------------------------------
   9. DRIVERS SECTION
   -------------------------------------------------------------------------- */
.drivers {
  padding: var(--sp-xl) 0;
  /* Deep purple section background echoing the CAB icon */
  background: linear-gradient(135deg, #0e0018 0%, #080810 50%, #000a10 100%);
  position: relative;
  overflow: hidden;
}

.drivers::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 50%, rgba(94,18,120,0.22) 0%, rgba(125,57,235,0.08) 50%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 50%, rgba(40,215,224,0.07) 0%, transparent 60%);
  pointer-events: none;
}

.drivers-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.driver-perks {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 36px;
}

.driver-perk {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: all 0.25s;
}

.driver-perk:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(125,57,235,0.3);
}

.perk-icon {
  width: 40px;
  height: 40px;
  background: rgba(125,57,235,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.perk-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.perk-desc {
  font-size: 0.85rem;
  color: var(--neutral-400);
  line-height: 1.6;
}

.drivers-cta-row {
  display: flex;
  gap: 14px;
  margin-top: 36px;
}

/* Driver visual */
.driver-visual-card {
  background: var(--bg-card);
  border: 1px solid rgba(125,57,235,0.2);
  border-radius: var(--r-xl);
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.driver-visual-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-brand);
}

.driver-big-icon {
  font-size: 4rem;
  margin-bottom: 24px;
}

.driver-earn-display {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.driver-earn-label {
  font-size: 0.9rem;
  color: var(--neutral-400);
  margin-bottom: 24px;
}

.driver-earn-chips {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.earn-chip {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-bright);
  border-radius: var(--r-pill);
  padding: 8px 16px;
  font-size: 0.82rem;
  color: var(--neutral-200);
}

/* --------------------------------------------------------------------------
   10. SAFETY SECTION
   -------------------------------------------------------------------------- */
.safety {
  padding: var(--sp-xl) 0;
  background: var(--bg);
}

.safety-header {
  text-align: center;
  margin-bottom: 64px;
}

.safety-header .section-subtitle { margin: 16px auto 0; }

.safety-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.safety-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.3s var(--ease);
}

.safety-card:hover {
  border-color: rgba(40,215,224,0.2);
  transform: translateY(-3px);
}

.safety-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: rgba(40,215,224,0.08);
  border: 1px solid rgba(40,215,224,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.safety-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.safety-card-desc {
  font-size: 0.88rem;
  color: var(--neutral-400);
  line-height: 1.7;
}

.safety-banner {
  background: var(--grad-subtle);
  border: 1px solid rgba(40,215,224,0.15);
  border-radius: var(--r-xl);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.safety-banner-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  max-width: 480px;
}

.safety-banner-text span { color: var(--cyan); }

/* --------------------------------------------------------------------------
   11. DOWNLOAD SECTION
   -------------------------------------------------------------------------- */
.download {
  padding: var(--sp-xl) 0;
  background: linear-gradient(180deg, var(--bg) 0%, #050508 100%);
  position: relative;
  overflow: hidden;
}

.download-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 70% at 50% 50%, rgba(125,57,235,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.download-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.download-emoji {
  font-size: 3rem;
  margin-bottom: 24px;
  display: block;
}

.download-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.download-sub {
  font-size: 1.05rem;
  color: var(--neutral-400);
  line-height: 1.7;
  margin-bottom: 48px;
}

.download-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.download-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  color: var(--black);
  border-radius: var(--r-lg);
  padding: 16px 28px;
  font-family: var(--font-display);
  transition: all 0.25s var(--ease);
  min-width: 200px;
}

.download-store-btn:hover {
  background: var(--neutral-200);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255,255,255,0.1);
}

.download-store-btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.download-store-btn .store-icon { fill: var(--black); }

.download-store-btn .store-label { color: #555; }
.download-store-btn .store-name  { font-size: 1.05rem; font-weight: 800; }

.qr-placeholder {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.qr-box {
  width: 100px;
  height: 100px;
  background: var(--white);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.qr-inner {
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    #000 0px, #000 6px,
    #fff 6px, #fff 10px
  ),
  repeating-linear-gradient(
    90deg,
    #000 0px, #000 6px,
    #fff 6px, #fff 10px
  );
  background-blend-mode: multiply;
  border-radius: 4px;
  opacity: 0.7;
}

.qr-label {
  font-size: 0.75rem;
  color: var(--neutral-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   12. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: #040404;
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

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

.footer-brand {}

.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  transition: opacity 0.2s;
}

.footer-logo:hover { opacity: 0.85; }

/* Footer logo image is slightly smaller than navbar */
.footer-logo .logo-img {
  width: 40px;
  height: 40px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--neutral-600);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 24px;
}

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

.social-link {
  width: 36px;
  height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-400);
  font-size: 0.85rem;
  transition: all 0.2s;
}

.social-link:hover {
  background: rgba(40,215,224,0.1);
  border-color: rgba(40,215,224,0.3);
  color: var(--cyan);
  transform: translateY(-2px);
}

.social-link:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--neutral-400);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 0.88rem;
  color: var(--neutral-600);
  transition: color 0.2s;
}

.footer-link:hover { color: var(--white); }

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

.footer-copy {
  font-size: 0.82rem;
  color: var(--neutral-600);
}

.footer-copy span { color: var(--cyan); }

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-link {
  font-size: 0.82rem;
  color: var(--neutral-600);
  transition: color 0.2s;
}

.footer-bottom-link:hover { color: var(--white); }

/* --------------------------------------------------------------------------
   13. RESPONSIVE — TABLET (≤900px)
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
    padding-top: 20px;
  }

  .hero-subheadline { margin: 0 auto 40px; }
  .hero-ctas { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { height: 440px; }

  .about-inner,
  .riders-inner,
  .drivers-inner { grid-template-columns: 1fr; gap: 48px; }

  .about-visual { order: -1; }
  .about-stats-grid { grid-template-columns: repeat(4, 1fr); }

  .why-grid { grid-template-columns: repeat(2, 1fr); }

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

  .safety-banner {
    flex-direction: column;
    text-align: center;
  }

  .footer-top { grid-template-columns: 1fr 1fr; }

  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom-links { flex-wrap: wrap; gap: 12px; }
}

/* --------------------------------------------------------------------------
   14. RESPONSIVE — MOBILE (≤640px)
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  :root {
    --sp-xl: 60px;
  }

  .navbar-nav { display: none; }
  .hamburger  { display: flex; }

  .btn-primary.navbar-cta { display: none; }

  .hero-visual { height: 380px; }
  .phone-frame { width: 210px; height: 420px; }
  .float-card-1 { right: -10px; top: 30px; }
  .float-card-2 { left: -10px; bottom: 50px; }

  .about-stats-grid { grid-template-columns: repeat(2, 1fr); }

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

  .footer-top { grid-template-columns: 1fr; }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .download-buttons { flex-direction: column; align-items: center; }

  .drivers-cta-row { flex-direction: column; }

  .safety-banner { padding: 28px 24px; }

  .steps-list::before { display: none; }
}

/* --------------------------------------------------------------------------
   15. MISC UTILITIES
   -------------------------------------------------------------------------- */
.text-cyan   { color: var(--cyan); }
.text-purple { color: var(--purple); }
.text-yellow { color: var(--yellow); }
.text-neutral{ color: var(--neutral-400); }

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: var(--border-bright);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--neutral-600); }


/* ==========================================================================
   ARABIC / RTL SUPPORT
   Triggered by dir="rtl" on <html> (set by js/lang.js from localStorage)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Language toggle button — visible in navbar and legal navbars
   -------------------------------------------------------------------------- */
.lang-toggle {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.7);
  border-radius: 8px;
  padding: 5px 11px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  font-family: 'Cairo', 'Inter', sans-serif;
  line-height: 1.2;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.lang-toggle:hover {
  background: rgba(255,255,255,0.13);
  color: #fff;
  border-color: rgba(255,255,255,0.28);
}

/* --------------------------------------------------------------------------
   CSS-driven content show/hide for legal pages (no JS needed per-block)
   -------------------------------------------------------------------------- */
.lang-en { display: block; }
.lang-ar { display: none;  }
[dir="rtl"] .lang-en { display: none;  }
[dir="rtl"] .lang-ar { display: block; }

/* Inline text pairs */
.t-en { display: inline; }
.t-ar { display: none;   }
[dir="rtl"] .t-en { display: none;   }
[dir="rtl"] .t-ar { display: inline; }


/* --------------------------------------------------------------------------
   RTL body font + layout overrides (index.html)
   -------------------------------------------------------------------------- */
[dir="rtl"] body {
  font-family: 'Cairo', 'Inter', sans-serif;
}

[dir="rtl"] .hero-headline,
[dir="rtl"] .hero-subheadline,
[dir="rtl"] .section-title,
[dir="rtl"] .section-subtitle,
[dir="rtl"] .footer-tagline {
  font-family: 'Cairo', 'Space Grotesk', sans-serif;
  letter-spacing: 0;
  text-align: right;
}

[dir="rtl"] .hero-content { text-align: right; }

[dir="rtl"] .hero-badge {
  flex-direction: row-reverse;
  align-self: flex-end;
}

[dir="rtl"] .hero-actions {
  flex-direction: row-reverse;
  justify-content: flex-start;
}

[dir="rtl"] .navbar-actions { flex-direction: row-reverse; }

[dir="rtl"] .about-content  { text-align: right; }
[dir="rtl"] .about-features { text-align: right; }

[dir="rtl"] .riders-content  { text-align: right; }
[dir="rtl"] .drivers-content { text-align: right; }

[dir="rtl"] .why-cab-header   { text-align: right; }
[dir="rtl"] .why-card         { text-align: right; }

[dir="rtl"] .safety-header    { text-align: right; }
[dir="rtl"] .safety-feature   { text-align: right; }

[dir="rtl"] .download-inner   { text-align: right; }
[dir="rtl"] .store-badges     { flex-direction: row-reverse; }

[dir="rtl"] .footer-brand     { text-align: right; }
[dir="rtl"] .footer-col       { text-align: right; }
[dir="rtl"] .footer-bottom-links { flex-direction: row-reverse; }

[dir="rtl"] .rider-meta {
  direction: ltr;
  justify-content: flex-end;
}

@media (max-width: 640px) {
  [dir="rtl"] .hero-content,
  [dir="rtl"] .section-subtitle { text-align: center; }
  [dir="rtl"] .hero-badge { align-self: center; }
}
