/* =============================================
   AMULEX DELIVERY - Main Stylesheet
   Modern, Fast, Algerian-Focused Design
   ============================================= */

/* === VARIABLES === */
:root {
  --primary: #E63946;
  --primary-dark: #C0392B;
  --primary-light: #FF6B6B;
  --secondary: #457B9D;
  --dark: #0A1628;
  --dark2: #0D1F3C;
  --dark3: #1A2C4A;
  --dark4: #1E3A5F;
  --text: #E8EDF5;
  --text-muted: #8DA0B3;
  --white: #FFFFFF;
  --grey: #F0F4F8;
  --grey2: #C5D3E0;
  --green: #2ECC71;
  --gold: #FFD700;
  --orange: #F39C12;
  --purple: #9B59B6;
  --card-bg: rgba(255,255,255,0.05);
  --card-border: rgba(255,255,255,0.08);
  --shadow: 0 8px 32px rgba(0,0,0,0.3);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.4);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-arabic: 'Cairo', 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

/* RTL Support */
body.rtl {
  font-family: var(--font-arabic);
  direction: rtl;
}

body.rtl .nav-links { flex-direction: row-reverse; }
body.rtl .hero-content { flex-direction: row-reverse; }
body.rtl .user-panel-content { flex-direction: row-reverse; }
body.rtl .feature-list li { flex-direction: row-reverse; }
body.rtl .step { text-align: right; }
body.rtl .cash-flow-diagram .cf-step { align-items: flex-end; }
body.rtl .footer-top { flex-direction: row-reverse; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

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

.section {
  padding: 100px 0;
  position: relative;
}

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

/* === BUTTONS === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(230,57,70,0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.btn-outline:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10,22,40,0.95);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
  border-bottom: 1px solid var(--card-border);
}

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

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

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
  box-shadow: 0 4px 15px rgba(230,57,70,0.4);
}

.logo-text {
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 2px;
}

.logo-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 3px;
  margin-left: 2px;
}

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

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

.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: var(--card-bg);
}

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

.lang-switcher {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border-radius: 50px;
  padding: 3px;
  gap: 2px;
  border: 1px solid var(--card-border);
}

.lang-btn {
  padding: 5px 12px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 50px;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.lang-btn.active {
  background: var(--primary);
  color: white;
}

.btn-nav {
  padding: 10px 20px;
  background: var(--primary);
  color: white;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.btn-nav:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(230,57,70,0.4);
}

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

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

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(230,57,70,0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(69,123,157,0.15) 0%, transparent 50%),
              linear-gradient(180deg, var(--dark) 0%, var(--dark2) 100%);
}

.hero-map-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(69,123,157,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69,123,157,0.05) 1px, transparent 1px);
  background-size: 50px 50px;
}

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

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.6;
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0% { transform: translateY(100vh) translateX(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-100px) translateX(100px); opacity: 0; }
}

.hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 60px 0 40px;
}

.hero-text {
  flex: 1;
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(230,57,70,0.15);
  border: 1px solid rgba(230,57,70,0.3);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 24px;
  animation: fade-in-up 0.6s ease forwards;
}

.hero-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
  animation: fade-in-up 0.7s ease 0.1s both;
}

.hero-title-highlight {
  background: linear-gradient(135deg, var(--primary) 0%, #FF6B6B 50%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
  animation: fade-in-up 0.8s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  animation: fade-in-up 0.9s ease 0.3s both;
}

.hero-btn {
  font-size: 16px;
  padding: 16px 32px;
}

.hero-downloads {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: fade-in-up 1s ease 0.4s both;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.btn-store i { font-size: 22px; }

.btn-store div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.btn-store small {
  font-size: 10px;
  color: var(--text-muted);
}

.btn-store strong {
  font-size: 14px;
}

.btn-store:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

/* Phone Mockup */
.hero-visual {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fade-in-up 0.8s ease 0.2s both;
}

.phone-mockup {
  position: relative;
}

.phone-frame {
  width: 300px;
  height: 600px;
  background: linear-gradient(145deg, #1a2a3a, #0d1928);
  border-radius: 40px;
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow: 0 40px 100px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
  overflow: hidden;
  position: relative;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 30px;
  background: var(--dark);
  border-radius: 0 0 20px 20px;
  z-index: 10;
}

.phone-screen {
  position: absolute;
  inset: 0;
  padding: 35px 12px 12px;
  overflow: hidden;
}

.app-preview {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
}

.app-logo-mini {
  font-size: 12px;
  font-weight: 800;
  color: var(--primary);
}

.app-notif {
  width: 28px;
  height: 28px;
  background: rgba(230,57,70,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--primary);
}

.app-map {
  flex: 1;
  background: linear-gradient(135deg, #0D1F3C 0%, #1A2C4A 100%);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  min-height: 180px;
}

.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(77,182,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77,182,255,0.08) 1px, transparent 1px);
  background-size: 25px 25px;
}

.map-pin {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: none;
}

.map-pin.customer {
  bottom: 30%;
  left: 30%;
  color: var(--primary);
  font-size: 18px;
}

.map-pin.driver {
  color: var(--green);
  font-size: 18px;
}

.animated-driver {
  top: 20%;
  right: 25%;
  animation: driver-move 3s ease-in-out infinite alternate;
}

@keyframes driver-move {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-30px, 20px); }
}

.map-route {
  position: absolute;
  top: 30%;
  left: 28%;
  width: 90px;
  height: 60px;
  border: 2px dashed rgba(255,215,0,0.5);
  border-right: none;
  border-top: none;
  border-radius: 0 0 0 10px;
}

.app-order-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.order-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
}

.status-dot.pulse {
  animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46,204,113,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(46,204,113,0); }
}

.order-eta {
  font-size: 11px;
  color: var(--text-muted);
}

.order-price {
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-tag {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}

.cash-badge {
  font-size: 10px;
  background: rgba(46,204,113,0.2);
  color: var(--green);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.app-actions-mini {
  display: flex;
  gap: 6px;
  padding: 4px 0;
}

.app-actions-mini button {
  flex: 1;
  padding: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 11px;
  cursor: pointer;
  font-family: inherit;
}

.app-actions-mini button.primary-mini {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  font-weight: 600;
}

/* Floating Cards */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(10,22,40,0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  animation: float-bob ease-in-out infinite;
}

.float-1 { top: 10%; left: -90px; animation-duration: 4s; animation-delay: 0s; }
.float-2 { top: 30%; right: -80px; animation-duration: 4.5s; animation-delay: 0.5s; }
.float-3 { bottom: 30%; left: -100px; animation-duration: 3.8s; animation-delay: 1s; }
.float-4 { bottom: 10%; right: -90px; animation-duration: 4.2s; animation-delay: 1.5s; }

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

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 28px 40px;
  margin-top: 20px;
  animation: fade-in-up 1s ease 0.5s both;
}

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

.stat-number {
  font-size: 36px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
}

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

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(255,255,255,0.3);
  border-bottom: 2px solid rgba(255,255,255,0.3);
  transform: rotate(45deg);
  animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 1; }
  50% { transform: rotate(45deg) translateY(6px); opacity: 0.5; }
}

/* === SECTION HEADERS === */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(230,57,70,0.15);
  border: 1px solid rgba(230,57,70,0.3);
  color: var(--primary-light);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

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

/* === SERVICES === */
.services {
  background: linear-gradient(180deg, var(--dark2) 0%, var(--dark) 100%);
}

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

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(230,57,70,0) 0%, rgba(230,57,70,0.05) 100%);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(230,57,70,0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.service-card:hover::before { opacity: 1; }

.service-card.featured {
  border-color: var(--primary);
  background: rgba(230,57,70,0.08);
}

.service-badge-featured {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
}

body.rtl .service-badge-featured { right: auto; left: 16px; }

.service-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
}

.food-icon { background: rgba(230,57,70,0.15); color: var(--primary); }
.grocery-icon { background: rgba(46,204,113,0.15); color: var(--green); }
.package-icon { background: rgba(69,123,157,0.15); color: var(--secondary); }
.custom-icon { background: rgba(243,156,18,0.15); color: var(--orange); }

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}

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

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  padding: 4px 12px;
  border-radius: 50px;
}

/* === HOW IT WORKS === */
.how-it-works {
  background: var(--dark);
}

.steps-container {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  padding: 40px 0;
}

.steps-line {
  position: absolute;
  top: 80px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--green));
  opacity: 0.3;
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
}

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
}

.step-icon {
  width: 80px;
  height: 80px;
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--primary);
  margin: 0 auto 20px;
  transition: var(--transition);
}

.step:hover .step-icon {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: scale(1.1);
}

.cash-step {
  background: rgba(46,204,113,0.1) !important;
  border-color: rgba(46,204,113,0.3) !important;
  color: var(--green) !important;
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

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

/* === USERS SECTION === */
.users {
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark2) 100%);
}

.user-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 6px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.user-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  border-radius: 14px;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.user-tab.active {
  background: var(--primary);
  color: white;
}

.user-panel {
  display: none;
}

.user-panel.active {
  display: block;
}

.user-panel-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.user-panel-info {
  flex: 1;
}

.user-panel-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.customer-icon { background: rgba(230,57,70,0.15); color: var(--primary); }
.merchant-icon { background: rgba(243,156,18,0.15); color: var(--orange); }
.driver-icon { background: rgba(46,204,113,0.15); color: var(--green); }

.user-panel-info h3 {
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
}

.feature-list li i {
  color: var(--green);
  font-size: 16px;
  flex-shrink: 0;
}

/* User Screens */
.user-panel-visual { flex: 1; }

.user-screen {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--card-border);
  background: var(--dark2);
  box-shadow: var(--shadow-lg);
}

.screen-header {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: white;
}

.red-header { background: linear-gradient(135deg, var(--primary), #c0392b); }
.orange-header { background: linear-gradient(135deg, #f39c12, #e67e22); }
.blue-header { background: linear-gradient(135deg, var(--secondary), #2c5f7a); }

.screen-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Customer Screen */
.mini-map {
  height: 140px;
  background: linear-gradient(135deg, #0D1F3C, #1A2C4A);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.map-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(77,182,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77,182,255,0.08) 1px, transparent 1px);
  background-size: 20px 20px;
}

.customer-dot, .driver-dot {
  position: absolute;
  border-radius: 50%;
}

.customer-dot {
  width: 14px; height: 14px;
  background: var(--primary);
  bottom: 30%; left: 25%;
}

.pulse-dot { animation: pulse-ring 2s ease-in-out infinite; }

@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230,57,70,0.5); }
  50% { box-shadow: 0 0 0 10px rgba(230,57,70,0); }
}

.driver-dot {
  color: var(--green);
  font-size: 18px;
  top: 20%; right: 25%;
  animation: driver-move-screen 3s ease-in-out infinite alternate;
}

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

.eta-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0,0,0,0.7);
  color: white;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
}

.order-type-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.type-btn {
  aspect-ratio: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-muted);
}

.type-btn.active-type {
  background: rgba(230,57,70,0.2);
  border-color: var(--primary);
  color: var(--primary);
}

.bids-section {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 10px;
}

.bid-title {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 600;
}

.bid-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 8px;
  border-radius: 6px;
  margin-bottom: 4px;
  font-size: 12px;
}

.bid-item.selected {
  background: rgba(230,57,70,0.15);
  border: 1px solid rgba(230,57,70,0.3);
}

.bid-driver { color: var(--text); }
.bid-price { font-weight: 700; color: var(--white); }

.loyalty-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  background: rgba(255,215,0,0.08);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,215,0,0.2);
}

/* Merchant Screen */
.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mini-stat {
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
}

.mini-stat-val {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.mini-stat-lbl {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 2px;
}

.mini-stat.green .mini-stat-val { color: var(--green); }
.mini-stat.gold .mini-stat-val { color: var(--gold); }

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

.top-products {
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  padding: 8px;
}

.top-prod-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.top-prod-item {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.prod-count {
  color: var(--primary);
  font-weight: 600;
}

.promo-badge {
  background: rgba(243,156,18,0.12);
  border: 1px solid rgba(243,156,18,0.3);
  color: var(--orange);
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 600;
}

/* Driver Screen */
.level-badge {
  background: linear-gradient(135deg, rgba(69,123,157,0.2), rgba(69,123,157,0.05));
  border: 1px solid rgba(69,123,157,0.3);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}

.level-star {
  font-size: 14px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 2px;
}

.level-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.level-bar {
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 4px;
}

.level-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary), var(--green));
  border-radius: 3px;
}

.level-xp {
  font-size: 10px;
  color: var(--text-muted);
}

.earnings-mini {
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 10px;
}

.earn-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 4px 0;
}

.earn-row.total {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 4px;
  padding-top: 8px;
  font-weight: 700;
}

.earn-green { color: var(--green); font-weight: 600; }
.earn-red { color: var(--primary); font-weight: 600; }

.orders-queue { display: flex; flex-direction: column; gap: 8px; }

.queue-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
}

.queue-item.new-order {
  background: rgba(230,57,70,0.12);
  border: 1px solid rgba(230,57,70,0.3);
  animation: new-order-pulse 2s ease-in-out infinite;
}

@keyframes new-order-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230,57,70,0.3); }
  50% { box-shadow: 0 0 0 6px rgba(230,57,70,0); }
}

.queue-icon {
  width: 32px;
  height: 32px;
  background: rgba(230,57,70,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 14px;
  flex-shrink: 0;
}

.queue-info {
  flex: 1;
  font-size: 12px;
  color: var(--text);
}

.queue-info small {
  color: var(--text-muted);
  font-size: 10px;
}

.queue-actions { display: flex; gap: 6px; }

.q-accept, .q-reject {
  width: 28px; height: 28px;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.q-accept { background: rgba(46,204,113,0.2); color: var(--green); }
.q-reject { background: rgba(230,57,70,0.2); color: var(--primary); }

/* === PRICING === */
.pricing {
  background: var(--dark2);
}

.pricing-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.price-main-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 16px;
}

.price-main-header {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.price-main-value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 24px;
}

.price-big {
  font-size: 56px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.price-currency {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}

.price-per {
  font-size: 14px;
  color: var(--text-muted);
}

.price-divider-line {
  height: 1px;
  background: var(--card-border);
  margin-bottom: 20px;
}

.price-splits {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

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

.split-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.driver-split .split-icon { background: rgba(46,204,113,0.15); color: var(--green); }
.platform-split .split-icon { background: rgba(69,123,157,0.15); color: var(--secondary); }

.split-info {
  display: flex;
  flex-direction: column;
}

.split-info span { font-size: 12px; color: var(--text-muted); }
.split-info strong { font-size: 15px; color: var(--white); font-weight: 700; }

.split-bar {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
}

.driver-fill { background: var(--green); }
.platform-fill { background: var(--secondary); }
.split-fill { height: 100%; border-radius: 3px; }

.split-pct { font-size: 12px; font-weight: 700; color: var(--text-muted); text-align: right; }

.merchant-fee-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(243,156,18,0.1);
  border: 1px solid rgba(243,156,18,0.2);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--orange);
}

.cash-note-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(46,204,113,0.1);
  border: 1px solid rgba(46,204,113,0.2);
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 14px;
  color: var(--green);
  font-weight: 600;
}

/* Cash Flow */
.cash-section-title { margin-bottom: 24px; }
.cash-section-title h3 { font-size: 24px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.cash-section-title p { font-size: 14px; color: var(--text-muted); }

.cash-flow-diagram {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 24px;
}

.cf-step {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 4px;
  padding: 10px 0;
}

.cf-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 4px;
}

.cf-customer { background: rgba(230,57,70,0.15); color: var(--primary); }
.cf-driver { background: rgba(46,204,113,0.15); color: var(--green); }
.cf-platform { background: rgba(69,123,157,0.15); color: var(--secondary); }
.cf-settle { background: rgba(243,156,18,0.15); color: var(--orange); }

.cf-label { font-size: 13px; color: var(--text); text-align: center; }

.cf-arrow { color: var(--text-muted); font-size: 14px; margin: 4px 0; }

.cash-rules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cash-rule-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
}

.limit-card {
  background: rgba(230,57,70,0.1);
  border: 1px solid rgba(230,57,70,0.2);
}

.settle-card {
  background: rgba(46,204,113,0.1);
  border: 1px solid rgba(46,204,113,0.2);
}

.rule-icon { font-size: 20px; flex-shrink: 0; }
.limit-card .rule-icon { color: var(--primary); }
.settle-card .rule-icon { color: var(--green); }

.rule-info { display: flex; flex-direction: column; gap: 2px; }
.rule-info span { font-size: 11px; color: var(--text-muted); font-weight: 600; }
.rule-info strong { font-size: 15px; color: var(--white); }
.rule-info small { font-size: 11px; color: var(--text-muted); }

/* Earnings Example */
.earnings-example {
  margin-top: 60px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.example-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
}

.example-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.ex-item {
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  border: 1px solid var(--card-border);
}

.ex-item i { font-size: 20px; margin-bottom: 8px; display: block; }

.total i { color: var(--secondary); }
.collected i { color: var(--orange); }
.driver-earn i { color: var(--green); }
.platform-earn i { color: var(--primary); }

.ex-val {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}

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

/* === FEATURES === */
.features {
  background: var(--dark);
}

.features-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  grid-auto-rows: auto;
}

.feat-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
  cursor: pointer;
}

.feat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(230,57,70,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.feat-card.large {
  grid-column: span 2;
}

.feat-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}

.bidding-icon { background: rgba(230,57,70,0.15); color: var(--primary); }
.gps-icon { background: rgba(46,204,113,0.15); color: var(--green); }
.ai-icon { background: rgba(155,89,182,0.15); color: var(--purple); }
.game-icon { background: rgba(255,215,0,0.15); color: var(--gold); }
.otp-icon { background: rgba(69,123,157,0.15); color: var(--secondary); }
.chat-icon { background: rgba(52,152,219,0.15); color: #3498DB; }
.multi-icon { background: rgba(243,156,18,0.15); color: var(--orange); }
.sched-icon { background: rgba(46,204,113,0.15); color: var(--green); }
.gift-icon { background: rgba(230,57,70,0.15); color: var(--primary); }
.fraud-icon { background: rgba(231,76,60,0.15); color: #E74C3C; }

.feat-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.feat-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* Bidding demo inside feat card */
.feat-demo {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bid-demo-item {
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.bid-demo-item.winner {
  background: rgba(230,57,70,0.15);
  color: var(--primary-light);
  border: 1px solid rgba(230,57,70,0.3);
  font-weight: 600;
}

/* Levels demo */
.levels-demo {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.level-demo-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.level-demo-item.active-level {
  background: rgba(255,215,0,0.12);
  color: var(--gold);
  border: 1px solid rgba(255,215,0,0.25);
}

.level-demo-item span {
  font-size: 11px;
  opacity: 0.7;
}

/* === DRIVER DASHBOARD === */
.driver-dashboard {
  background: var(--dark2);
}

.dashboard-demo {
  display: flex;
  gap: 24px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 600px;
}

.dash-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.03);
  border-right: 1px solid var(--card-border);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dash-profile {
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--card-border);
}

.dash-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 12px;
}

.dash-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.dash-level {
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
}

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

.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  color: var(--text-muted);
  transition: var(--transition);
}

.dash-nav-item:hover { background: var(--card-bg); color: var(--white); }
.dash-nav-item.active {
  background: rgba(230,57,70,0.15);
  color: var(--primary-light);
  border: 1px solid rgba(230,57,70,0.2);
}

.dash-debt-alert {
  margin-top: auto;
  background: rgba(230,57,70,0.1);
  border: 1px solid rgba(230,57,70,0.2);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dash-debt-alert > i { color: var(--primary); font-size: 16px; }
.dash-debt-alert > div { font-size: 11px; color: var(--text-muted); }
.dash-debt-alert strong { font-size: 16px; color: var(--primary); font-weight: 700; }
.dash-debt-alert small { font-size: 10px; color: var(--text-muted); }

.debt-progress {
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}

.debt-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 2px;
}

.dash-main {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

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

.kpi-card:hover {
  border-color: rgba(230,57,70,0.3);
  transform: translateY(-2px);
}

.kpi-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.orders-kpi { background: rgba(69,123,157,0.15); color: var(--secondary); }
.collected-kpi { background: rgba(243,156,18,0.15); color: var(--orange); }
.earnings-kpi { background: rgba(46,204,113,0.15); color: var(--green); }
.commission-kpi { background: rgba(230,57,70,0.15); color: var(--primary); }

.kpi-info { flex: 1; }

.kpi-val {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
}

.kpi-lbl { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

.kpi-trend {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 6px;
}

.kpi-trend.up { background: rgba(46,204,113,0.15); color: var(--green); }
.kpi-trend.neutral { background: rgba(255,255,255,0.07); color: var(--text-muted); }

.charts-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}

.chart-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 16px;
}

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

.chart-header h4 { font-size: 13px; font-weight: 600; color: var(--white); }

.chart-legend {
  display: flex;
  gap: 12px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--text-muted);
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.green-dot { background: var(--green); }
.red-dot { background: var(--primary); }

.split-legend {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

/* Settlement */
.settlement-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 20px;
}

.settle-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.settle-header i { color: var(--green); font-size: 18px; }
.settle-header h4 { font-size: 15px; font-weight: 600; color: var(--white); flex: 1; }

.settle-badge {
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}

.active-badge {
  background: rgba(46,204,113,0.15);
  color: var(--green);
  border: 1px solid rgba(46,204,113,0.3);
}

.blocked-badge {
  background: rgba(230,57,70,0.15);
  color: var(--primary);
  border: 1px solid rgba(230,57,70,0.3);
}

.settle-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

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

.settle-item span { font-size: 11px; color: var(--text-muted); }
.settle-val { font-size: 16px; font-weight: 700; color: var(--white); }
.red-val { color: var(--primary) !important; }

.settle-progress-bar {
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
  margin: 8px 0 4px;
}

.settle-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--orange));
  border-radius: 4px;
}

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

/* === MAP SECTION === */
.map-section {
  background: var(--dark);
}

.map-demo {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.map-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--card-border);
}

.algeria-map-svg {
  width: 100%;
  height: auto;
  display: block;
}

.heatzone {
  animation: heat-pulse 3s ease-in-out infinite;
}

@keyframes heat-pulse {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1.2; transform: scale(1.05); }
}

.pulse-circle {
  animation: pulse-svg 2s ease-in-out infinite;
}

@keyframes pulse-svg {
  0%, 100% { r: 18; opacity: 0.3; }
  50% { r: 25; opacity: 0; }
}

.moving-1 { animation: map-move-1 4s ease-in-out infinite alternate; }
.moving-2 { animation: map-move-2 5s ease-in-out infinite alternate; }
.moving-3 { animation: map-move-3 3.5s ease-in-out infinite alternate; }

@keyframes map-move-1 { 0% { transform: translate(0,0); } 100% { transform: translate(30px,-20px); } }
@keyframes map-move-2 { 0% { transform: translate(0,0); } 100% { transform: translate(-25px,15px); } }
@keyframes map-move-3 { 0% { transform: translate(0,0); } 100% { transform: translate(20px,-25px); } }

.route-line { animation: route-dash 1.5s linear infinite; }

@keyframes route-dash {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -20; }
}

.map-legend {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(10,22,40,0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

body.rtl .map-legend { right: auto; left: 16px; }

.legend-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text);
}

.legend-pin {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.red-pin { background: var(--primary); }
.green-pin { background: var(--green); }
.orange-pin { background: var(--orange); }
.legend-heat {
  width: 14px;
  height: 10px;
  border-radius: 50%;
  background: rgba(230,57,70,0.5);
}

.map-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.map-stat-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: var(--transition);
}

.map-stat-card:hover { transform: translateY(-4px); border-color: rgba(230,57,70,0.3); }
.map-stat-card i { font-size: 24px; display: block; margin-bottom: 8px; }
.map-stat-val { font-size: 22px; font-weight: 800; color: var(--white); margin-bottom: 4px; }
.map-stat-lbl { font-size: 12px; color: var(--text-muted); }

/* === ADMIN SECTION === */
.admin-section {
  background: var(--dark2);
}

.admin-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.admin-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0 32px;
}

.admin-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
}

.admin-features li i {
  color: var(--primary);
  width: 20px;
}

.admin-screen {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-lg);
}

.admin-screen-header {
  background: linear-gradient(135deg, #1A2C4A, #0D1F3C);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--card-border);
}

.admin-dots { display: flex; gap: 6px; }
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: var(--primary); }
.dot.yellow { background: var(--gold); }
.dot.green { background: var(--green); }

.admin-screen-body {
  background: var(--dark2);
  padding: 20px;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.admin-stat-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}

.admin-stat-icon { font-size: 20px; margin-bottom: 6px; }
.admin-stat-val { font-size: 18px; font-weight: 700; color: var(--white); }
.admin-stat-lbl { font-size: 10px; color: var(--text-muted); margin-top: 2px; }

.admin-pending {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 12px;
}

.pending-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pending-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 13px;
}

.pending-user {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}

.tag-merchant {
  font-size: 10px;
  background: rgba(243,156,18,0.15);
  color: var(--orange);
  padding: 2px 6px;
  border-radius: 4px;
}

.tag-driver {
  font-size: 10px;
  background: rgba(46,204,113,0.15);
  color: var(--green);
  padding: 2px 6px;
  border-radius: 4px;
}

.pending-actions { display: flex; gap: 6px; }

.approve-btn, .reject-btn {
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  font-size: 12px;
}

.approve-btn { background: rgba(46,204,113,0.2); color: var(--green); }
.reject-btn { background: rgba(230,57,70,0.2); color: var(--primary); }

/* === CONTACT/CTA === */
.contact-section {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(230,57,70,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-btn { font-size: 14px; padding: 13px 22px; }

/* Contact Form */
.contact-form-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.contact-form-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  color: var(--white);
  font-size: 14px;
  font-family: inherit;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary);
  background: rgba(230,57,70,0.05);
}

.form-group select option { background: var(--dark2); color: var(--text); }

.form-submit {
  width: 100%;
  justify-content: center;
  font-size: 15px;
  padding: 14px;
}

/* === FOOTER === */
.footer {
  background: var(--dark2);
  border-top: 1px solid var(--card-border);
  padding: 60px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--card-border);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.footer-social a {
  width: 36px;
  height: 36px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 15px;
  transition: var(--transition);
}

.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: white; }

.footer-links-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-links-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links-col li a {
  font-size: 13px;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-links-col li a:hover { color: var(--primary); }

.footer-contact-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-contact-item i { color: var(--primary); width: 16px; }

.footer-stores {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.btn-store-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  color: var(--text);
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
}

.btn-store-mini:hover { border-color: var(--primary); color: var(--primary); }

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

/* === MODAL === */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.modal-overlay.open { display: flex; }

.modal-box {
  background: var(--dark2);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 90%;
  max-width: 480px;
  position: relative;
  animation: modal-enter 0.3s ease;
}

@keyframes modal-enter {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: var(--card-bg);
  color: var(--text-muted);
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: var(--transition);
}

.modal-close:hover { background: var(--primary); color: white; }
body.rtl .modal-close { right: auto; left: 16px; }

/* === TOAST === */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--green);
  color: white;
  padding: 14px 22px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 25px rgba(46,204,113,0.4);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  z-index: 99999;
}

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

body.rtl .toast { right: auto; left: 30px; }

/* === SCROLL TO TOP === */
.scroll-top {
  position: fixed;
  bottom: 90px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(230,57,70,0.4);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 1000;
}

.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { transform: translateY(-3px); }
body.rtl .scroll-top { right: auto; left: 30px; }

/* === ANIMATIONS === */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="fade-left"] { transform: translateX(30px); }
[data-aos="zoom-in"] { transform: scale(0.9); }

[data-aos].aos-animate {
  opacity: 1;
  transform: none;
}

/* === RESPONSIVE === */
@media (max-width: 1200px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .features-masonry { grid-template-columns: repeat(3, 1fr); }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .pricing-content { grid-template-columns: 1fr; }
  .admin-content { grid-template-columns: 1fr; }
  .cta-content { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-content { flex-direction: column; text-align: center; }
  .hero-text { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-downloads { justify-content: center; }
  .float-card { display: none; }
  .phone-frame { width: 260px; height: 520px; }
  .dashboard-demo { flex-direction: column; }
  .dash-sidebar { width: 100%; }
  .user-panel-content { flex-direction: column; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }

  .nav-links { display: none; }
  .nav-links.mobile-open {
    display: flex;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10,22,40,0.98);
    backdrop-filter: blur(20px);
    padding: 20px 24px;
    border-bottom: 1px solid var(--card-border);
    gap: 8px;
    z-index: 999;
  }
  .hamburger { display: flex; }
  .btn-nav { display: none; }

  .hero-stats { flex-wrap: wrap; gap: 20px; padding: 20px; }
  .stat-divider { display: none; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .steps-container { flex-direction: column; }
  .steps-line { display: none; }
  .features-masonry { grid-template-columns: repeat(2, 1fr); }
  .feat-card.large { grid-column: span 1; }
  .example-grid { grid-template-columns: repeat(2, 1fr); }
  .cash-rules { grid-template-columns: 1fr; }
  .charts-row { grid-template-columns: 1fr; }
  .map-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .settle-details { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .features-masonry { grid-template-columns: 1fr; }
  .user-tabs { flex-direction: column; }
  .hero-title { font-size: 32px; }
  .hero-badge { font-size: 12px; }
  .mini-stats { grid-template-columns: 1fr; }
  .price-split { grid-template-columns: 36px 1fr 60px; }
  .split-pct { display: none; }
  .map-stats { grid-template-columns: 1fr 1fr; }
  .kpi-grid { grid-template-columns: 1fr; }
}
