/* =========================================================
   باي — Landing Page Styles
   ألوان العلامة: #2563EB
   ========================================================= */

/* ---------- المتغيرات ---------- */
:root {
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --primary-light: #3B82F6;
  --primary-50: #EFF6FF;
  --primary-100: #DBEAFE;
  --primary-200: #BFDBFE;

  --navy: #0F172A;
  --navy-800: #1E293B;
  --slate-700: #334155;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;

  --success: #10B981;
  --warning: #F59E0B;

  --font-head: 'Cairo', system-ui, sans-serif;
  --font-body: 'Tajawal', system-ui, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow-md: 0 10px 30px -10px rgba(15, 23, 42, .15);
  --shadow-lg: 0 25px 60px -15px rgba(15, 23, 42, .25);
  --shadow-primary: 0 12px 30px -8px rgba(37, 99, 235, .45);

  --container: 1200px;
  --nav-h: 76px;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- إعادة تعيين ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--slate-700);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.3;
  font-weight: 800;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.text-gradient {
  background: linear-gradient(120deg, var(--primary) 0%, var(--primary-light) 50%, #60A5FA 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- الأزرار ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; }
.btn:active { transform: scale(.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  color: #fff;
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px rgba(37, 99, 235, .55); }

.btn-sm { padding: 10px 22px; font-size: .95rem; }

.btn-white {
  background: #fff;
  color: var(--navy);
  box-shadow: var(--shadow-md);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* أزرار المتاجر */
.store-buttons { display: flex; flex-wrap: wrap; gap: 14px; }

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px 10px 24px;
  background: var(--navy);
  color: #fff;
  border-radius: 14px;
  min-width: 170px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  box-shadow: var(--shadow-sm);
}
.store-btn svg { width: 28px; height: 28px; flex-shrink: 0; }
.store-btn .store-text { display: flex; flex-direction: column; line-height: 1.2; text-align: start; }
.store-btn small { font-size: .72rem; opacity: .8; }
.store-btn strong { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; direction: ltr; }
.store-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); background: #000; }

.store-btn.light { background: #fff; color: var(--navy); }
.store-btn.light:hover { background: var(--primary-50); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--primary-50);
  color: var(--primary);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  border: 1px solid var(--primary-100);
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, .6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .6); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* =========================================================
   شريط التنقل
   ========================================================= */
.navbar {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background .3s, box-shadow .3s, height .3s, backdrop-filter .3s;
}
.navbar.scrolled {
  height: 66px;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(15, 23, 42, .06), var(--shadow-sm);
}

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

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { width: 42px; height: 42px; flex-shrink: 0; }
.brand-logo svg, .brand-logo img { width: 100%; height: 100%; border-radius: 12px; }
.brand-name { font-family: var(--font-head); font-weight: 900; font-size: 1.5rem; color: var(--navy); }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links > a:not(.btn) {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--slate-700);
  position: relative;
  padding: 6px 0;
  transition: color .25s;
}
.nav-links > a:not(.btn)::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transition: width .3s var(--ease);
}
.nav-links > a:not(.btn):hover, .nav-links > a.active { color: var(--primary); }
.nav-links > a:not(.btn):hover::after, .nav-links > a.active::after { width: 100%; }

.nav-mobile-cta { display: none; }
.nav-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--slate-100);
  padding: 10px;
}
.nav-toggle span {
  display: block; height: 2.5px; border-radius: 2px;
  background: var(--navy);
  transition: transform .3s var(--ease), opacity .3s, width .3s;
}
.nav-toggle span:nth-child(2) { width: 70%; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 80px;
  overflow: hidden;
  background: linear-gradient(180deg, #F8FBFF 0%, #FFFFFF 100%);
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .5;
  animation: drift 14s ease-in-out infinite alternate;
}
.blob-1 { width: 560px; height: 560px; background: radial-gradient(circle, #93C5FD, transparent 70%); top: -180px; inset-inline-end: -140px; }
.blob-2 { width: 480px; height: 480px; background: radial-gradient(circle, #C7D2FE, transparent 70%); bottom: -200px; inset-inline-start: -160px; animation-delay: -6s; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-40px, 40px) scale(1.08); }
}
.grid-pattern {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, .06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 60px;
}

.hero-content { max-width: 600px; }
.hero-title {
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  font-weight: 900;
  line-height: 1.2;
  margin: 24px 0 20px;
  letter-spacing: -.01em;
}
.hero-desc {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--slate-500);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--slate-200);
}
.stat { display: flex; flex-direction: column; }
.stat strong {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}
.stat span:not(.counter) { font-size: .9rem; color: var(--slate-500); margin-top: 4px; }

/* محاكاة الهاتف */
.hero-visual { display: flex; justify-content: center; }
.phone-wrap { position: relative; animation: float 6s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.phone {
  position: relative;
  width: 300px;
  aspect-ratio: 9 / 19.2;
  background: linear-gradient(160deg, #1E293B, #0F172A);
  border-radius: 46px;
  padding: 12px;
  box-shadow:
    0 0 0 2px #334155,
    0 40px 80px -20px rgba(15, 23, 42, .45),
    inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.phone-notch {
  position: absolute;
  top: 22px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 28px;
  background: #0F172A;
  border-radius: 20px;
  z-index: 3;
}
.phone-screen {
  width: 100%; height: 100%;
  background: #F8FAFC;
  border-radius: 36px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 58px 14px 14px;
  gap: 12px;
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }

.app-header { display: flex; align-items: center; gap: 10px; }
.app-avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, #93C5FD, #2563EB); flex-shrink: 0; }
.app-greet { display: flex; flex-direction: column; flex: 1; line-height: 1.3; }
.app-greet small { font-size: .7rem; color: var(--slate-500); }
.app-greet strong { font-family: var(--font-head); font-size: .9rem; color: var(--navy); }
.app-bell { width: 34px; height: 34px; border-radius: 10px; background: #fff; box-shadow: var(--shadow-sm); position: relative; }
.app-bell::after { content: ''; position: absolute; top: 8px; inset-inline-end: 8px; width: 7px; height: 7px; border-radius: 50%; background: #EF4444; }

.app-search { height: 42px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-sm); display: flex; align-items: center; padding: 0 14px; }
.app-search span { width: 55%; height: 8px; border-radius: 4px; background: var(--slate-200); }

.app-map {
  flex: 1;
  border-radius: 16px;
  background:
    radial-gradient(circle at 30% 30%, rgba(37, 99, 235, .08), transparent 40%),
    linear-gradient(#E2E8F0 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, #E2E8F0 1px, transparent 1px) 0 0 / 22px 22px,
    #EEF2F7;
  overflow: hidden;
  position: relative;
}
.app-map svg { width: 100%; height: 100%; }
.app-map .route {
  fill: none;
  stroke: var(--primary);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 8 8;
  animation: dash 1.2s linear infinite;
}
@keyframes dash { to { stroke-dashoffset: -32; } }
.app-map .rider { animation: ride 6s ease-in-out infinite; offset-path: path('M30 130 C 60 100, 90 120, 120 80 S 170 40, 195 30'); }
@keyframes ride {
  0% { offset-distance: 0%; }
  50% { offset-distance: 100%; }
  100% { offset-distance: 0%; }
}

.app-card {
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.app-card-head { display: flex; justify-content: space-between; align-items: center; }
.app-card-head strong { font-family: var(--font-head); font-size: .85rem; color: var(--navy); }
.app-status {
  font-size: .68rem;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--primary-50);
  color: var(--primary);
  font-weight: 700;
  transition: background .3s, color .3s;
}
.app-status.done { background: #D1FAE5; color: #047857; }
.app-progress { height: 6px; border-radius: 3px; background: var(--slate-100); overflow: hidden; }
.app-progress span { display: block; height: 100%; width: 65%; border-radius: 3px; background: linear-gradient(90deg, var(--primary-light), var(--primary)); transition: width 1s var(--ease); }
.app-row { display: flex; align-items: center; gap: 10px; }
.app-row > div:nth-child(2) { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.app-row strong { font-size: .8rem; color: var(--navy); font-family: var(--font-head); }
.app-row small { font-size: .7rem; color: var(--slate-500); }
.app-driver { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #FDE68A, #F59E0B); }
.app-call { width: 32px; height: 32px; border-radius: 50%; background: var(--success); position: relative; }
.app-call::after { content: ''; position: absolute; inset: 9px; border: 2.5px solid #fff; border-radius: 50%; border-color: #fff transparent transparent #fff; transform: rotate(-45deg); }

/* الشارات العائمة */
.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 10px 16px;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
  z-index: 5;
}
.float-badge div { display: flex; flex-direction: column; line-height: 1.3; }
.float-badge strong { font-family: var(--font-head); font-size: .9rem; color: var(--navy); }
.float-badge small { font-size: .72rem; color: var(--slate-500); }
.badge-icon {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  font-weight: 900; color: #fff; font-size: 1rem;
}
.badge-icon.check { background: var(--success); }
.badge-icon.star { background: var(--warning); }
.badge-1 { top: 18%; inset-inline-end: -70px; animation: float 5s ease-in-out infinite reverse; }
.badge-2 { bottom: 16%; inset-inline-start: -70px; animation: float 7s ease-in-out infinite; }

/* مؤشر التمرير */
.scroll-hint {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid var(--slate-400);
  border-radius: 20px;
  display: flex; justify-content: center;
  padding-top: 6px;
  opacity: .6;
}
.scroll-hint span {
  width: 4px; height: 8px; border-radius: 2px;
  background: var(--primary);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* =========================================================
   الأقسام العامة
   ========================================================= */
.section { padding: 110px 0; position: relative; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin: 18px 0 14px; }
.section-head p { color: var(--slate-500); font-size: 1.1rem; }

/* ---------- المميزات ---------- */
.features { background: var(--bg); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(37, 99, 235, .08), transparent 60%);
  opacity: 0;
  transition: opacity .35s;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--primary-100); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  color: var(--primary);
  margin-bottom: 22px;
  transition: transform .35s var(--ease), background .35s, color .35s;
}
.feature-icon svg { width: 30px; height: 30px; }
.feature-card:hover .feature-icon {
  transform: rotate(-6deg) scale(1.05);
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  color: #fff;
}
.feature-card h3 { font-size: 1.25rem; margin-bottom: 10px; position: relative; }
.feature-card p { color: var(--slate-500); font-size: .98rem; position: relative; }

/* ---------- كيف يعمل ---------- */
.how { background: var(--bg-soft); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 60px;
  inset-inline: 16%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--primary-200) 0 10px, transparent 10px 20px);
}
.step { text-align: center; position: relative; padding: 0 12px; }
.step-num {
  position: absolute;
  top: -8px;
  inset-inline-start: calc(50% + 34px);
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .95rem;
  display: grid; place-items: center;
  box-shadow: var(--shadow-primary);
  z-index: 2;
}
.step-icon {
  width: 120px; height: 120px;
  margin: 0 auto 26px;
  border-radius: 36px;
  background: #fff;
  border: 1px solid var(--slate-200);
  display: grid; place-items: center;
  color: var(--primary);
  box-shadow: var(--shadow-md);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  position: relative;
  z-index: 1;
}
.step-icon svg { width: 48px; height: 48px; }
.step:hover .step-icon { transform: translateY(-8px) scale(1.04); box-shadow: var(--shadow-lg); }
.step h3 { font-size: 1.5rem; margin-bottom: 10px; }
.step p { color: var(--slate-500); max-width: 300px; margin: 0 auto; }

/* ---------- لقطات التطبيق ---------- */
.screens { background: var(--bg); overflow: hidden; }
.screens-wrap { position: relative; }
.screens-track {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px calc((100vw - var(--container)) / 2 + 20px) 40px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.screens-track::-webkit-scrollbar { display: none; }
.screen-item { flex: 0 0 auto; scroll-snap-align: center; text-align: center; }
.screen-item p { margin-top: 18px; font-family: var(--font-head); font-weight: 700; color: var(--navy); }

.mini-phone {
  width: 230px;
  aspect-ratio: 9 / 19.2;
  background: linear-gradient(160deg, #1E293B, #0F172A);
  border-radius: 36px;
  padding: 10px;
  box-shadow: 0 0 0 2px #334155, var(--shadow-lg);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.screen-item:hover .mini-phone { transform: translateY(-10px) scale(1.02); }
.mini-phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; }

.screen-placeholder {
  width: 100%; height: 100%;
  border-radius: 28px;
  background:
    linear-gradient(135deg, var(--primary-50), #fff 60%);
  border: 2px dashed var(--primary-200);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--primary);
}
.screen-placeholder span { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; }
.screen-placeholder small { color: var(--slate-500); font-size: .85rem; }

.screens-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  box-shadow: var(--shadow-lg);
  display: grid; place-items: center;
  z-index: 3;
  transition: background .25s, color .25s, transform .25s;
}
.screens-arrow svg { width: 22px; height: 22px; }
.screens-arrow:hover { background: var(--primary); color: #fff; transform: translateY(-50%) scale(1.06); }
.screens-arrow.prev { inset-inline-start: 24px; }
.screens-arrow.next { inset-inline-end: 24px; }

/* ---------- انضم إلينا ---------- */
.join { background: var(--bg-soft); }
.join-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.join-card {
  position: relative;
  padding: 44px 40px;
  border-radius: var(--radius-xl);
  color: #fff;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.join-card::after {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  bottom: -140px;
  inset-inline-start: -120px;
  background: rgba(255, 255, 255, .08);
  transition: transform .5s var(--ease);
}
.join-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.join-card:hover::after { transform: scale(1.25); }
.join-store { background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%); box-shadow: var(--shadow-primary); }
.join-driver { background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy) 100%); box-shadow: var(--shadow-md); }

.join-icon {
  width: 68px; height: 68px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(6px);
  display: grid; place-items: center;
  margin-bottom: 4px;
}
.join-icon svg { width: 34px; height: 34px; }
.join-card h3 { color: #fff; font-size: 1.75rem; }
.join-card p { opacity: .9; font-size: 1.05rem; }
.join-card ul { display: flex; flex-direction: column; gap: 10px; margin: 6px 0 12px; }
.join-card li { display: flex; align-items: center; gap: 10px; font-size: .98rem; }
.join-card li::before {
  content: '✓';
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  display: grid; place-items: center;
  font-size: .75rem; font-weight: 900;
  flex-shrink: 0;
}
.join-card .btn { align-self: flex-start; position: relative; z-index: 1; }
.join-card .btn svg { color: #25D366; }

/* ---------- شريط التحميل ---------- */
.cta-band {
  padding: 40px 0 110px;
  background: var(--bg-soft);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 56px 60px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, .18), transparent 40%),
    linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: var(--shadow-primary);
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 80%);
}
.cta-text { position: relative; }
.cta-text h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 8px; }
.cta-text p { opacity: .92; font-size: 1.1rem; }
.cta-inner .store-buttons { position: relative; }

/* =========================================================
   التذييل
   ========================================================= */
.footer {
  background: var(--navy);
  color: var(--slate-400);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.footer .brand-name { color: #fff; }
.footer-brand p { margin: 20px 0 24px; max-width: 340px; line-height: 1.8; }

.socials { display: flex; gap: 12px; }
.socials a {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  transition: background .25s, transform .25s var(--ease);
}
.socials a svg { width: 20px; height: 20px; }
.socials a:hover { background: var(--primary); transform: translateY(-3px); }

.footer-col h4 { color: #fff; font-size: 1.1rem; margin-bottom: 22px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { transition: color .25s, padding .25s; }
.footer-col a:hover { color: #fff; padding-inline-start: 6px; }

.contact-list a, .contact-static { display: inline-flex; align-items: center; gap: 10px; }
.contact-list svg { width: 18px; height: 18px; color: var(--primary-light); flex-shrink: 0; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 28px;
  font-size: .92rem;
}

.legal-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.legal-links a { transition: color .25s; }
.legal-links a:hover { color: #fff; }

/* ---------- العودة للأعلى ---------- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  inset-inline-start: 28px;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
  display: grid; place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .3s, transform .3s var(--ease), visibility .3s, background .25s;
  z-index: 90;
}
.back-to-top svg { width: 22px; height: 22px; }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); }

/* =========================================================
   أنيميشن الظهور عند التمرير
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal-scale {
  opacity: 0;
  transform: scale(.92) translateY(20px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.visible, .reveal-scale.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }
.delay-3 { transition-delay: .36s; }
.delay-4 { transition-delay: .48s; }

/* =========================================================
   التجاوب
   ========================================================= */
@media (max-width: 1100px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .badge-1 { inset-inline-end: -30px; }
  .badge-2 { inset-inline-start: -30px; }
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 0;
    inset-inline-end: 0;
    height: 100vh;
    width: min(320px, 85vw);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    padding: 100px 32px 40px;
    background: #fff;
    box-shadow: -20px 0 60px rgba(15, 23, 42, .15);
    transform: translateX(-110%);
    transition: transform .4s var(--ease);
    z-index: 95;
  }
  [dir="rtl"] .nav-links { transform: translateX(110%); }
  .nav-links.open { transform: translateX(0) !important; }
  .nav-links > a:not(.btn) { font-size: 1.15rem; padding: 12px 0; width: 100%; border-bottom: 1px solid var(--slate-100); }
  .nav-links > a:not(.btn)::after { display: none; }
  .nav-mobile-cta { display: inline-flex; margin-top: 20px; width: 100%; }
  .nav-desktop-cta { display: none; }
  .nav-toggle { display: flex; position: relative; z-index: 99; }

  body.menu-open { overflow: hidden; }
  body.menu-open::before {
    content: '';
    position: fixed; inset: 0;
    background: rgba(15, 23, 42, .4);
    backdrop-filter: blur(3px);
    z-index: 94;
  }

  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 24px); padding-bottom: 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; text-align: center; }
  .hero-content { max-width: 100%; margin: 0 auto; }
  .hero-desc { margin-inline: auto; }
  .store-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { order: 2; }
  .scroll-hint { display: none; }

  .steps { grid-template-columns: 1fr; gap: 56px; max-width: 420px; margin: 0 auto; }
  .steps::before { display: none; }

  .join-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; padding: 44px 28px; }
  .cta-inner .store-buttons { justify-content: center; }
}

@media (max-width: 600px) {
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 44px; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .stat strong { font-size: 1.6rem; }
  .phone { width: 260px; }
  .float-badge { padding: 8px 12px; }
  .badge-1 { inset-inline-end: -14px; top: 14%; }
  .badge-2 { inset-inline-start: -14px; bottom: 12%; }
  .store-btn { min-width: 0; flex: 1; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .screens-arrow { display: none; }
  .screens-track { padding-inline: 20px; gap: 20px; }
  .mini-phone { width: 200px; }
  .join-card { padding: 36px 26px; }
  .join-card .btn { align-self: stretch; }
  .back-to-top { width: 44px; height: 44px; bottom: 20px; inset-inline-start: 20px; }
}

/* تقليل الحركة لمن يفضّل ذلك */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal, .reveal-scale { opacity: 1; transform: none; }
}
