/* ============================================================
   WASL Marketing Website — style.css
   Design system: Plus Jakarta Sans, #1A56DB primary
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Cairo:wght@400;600;700;800&display=swap');

/* ── Reset & base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:       #1A56DB;
  --primary-hover: #1448C0;
  --active-bg:     #EEF3FF;
  --page-bg:       #F2F4F7;
  --card-bg:       #FFFFFF;
  --text:          #0D0F14;
  --secondary:     #6B7280;
  --muted:         #9CA3AF;
  --border:        rgba(0,0,0,0.06);
  --success:       #12A150;
  --error:         #E02D3C;
  --input-bg:      #F3F4F6;
  --label-color:   #B0B4BC;

  --r-card:        18px;
  --r-item:        14px;
  --r-input:       12px;
  --r-btn-sm:      10px;
  --r-btn:         12px;

  --shadow-card:   0 1px 3px rgba(0,0,0,0.05), 0 6px 24px rgba(0,0,0,0.06);
  --shadow-nav:    0 1px 0 rgba(0,0,0,0.06);

  --font: 'Plus Jakarta Sans', sans-serif;
  --font-ar: 'Cairo', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--page-bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* RTL Arabic override */
body.rtl {
  font-family: var(--font-ar);
  direction: rtl;
  text-align: right;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Typography ───────────────────────────────────────────── */
.section-label {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--label-color);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.15;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.15rem; font-weight: 700; }

p { color: var(--secondary); line-height: 1.7; }

/* ── Layout helpers ───────────────────────────────────────── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.section--sm { padding: 64px 0; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--r-btn);
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.18s, box-shadow 0.18s, transform 0.12s;
  white-space: nowrap;
  text-decoration: none;
}

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

.btn--primary {
  background: var(--primary);
  color: #fff;
}
.btn--primary:hover { background: var(--primary-hover); box-shadow: 0 4px 16px rgba(26,86,219,0.30); }

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn--outline:hover { background: var(--active-bg); }

.btn--ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn--ghost:hover { background: rgba(255,255,255,0.20); }

.btn--lg { padding: 16px 32px; font-size: 1rem; border-radius: 14px; }
.btn--sm { padding: 9px 16px; font-size: 0.85rem; border-radius: var(--r-btn-sm); }

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--card-bg);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  padding: 28px;
}

/* ── NAVBAR ───────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-nav);
}

.navbar__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}

.navbar__logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.navbar__logo span.arabic { font-family: var(--font-ar); font-size: 1.4rem; }

.navbar__links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  flex: 1;
}

.navbar__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--secondary);
  transition: color 0.15s;
}
.navbar__links a:hover { color: var(--text); }

.navbar__ctas {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Hide "Télécharger" on desktop when JS can detect mobile */
.navbar__mobile-cta-label { display: none; }

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.navbar__hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.2s;
}

/* Mobile nav drawer */
.navbar__drawer {
  display: none;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 16px 24px 24px;
}
.navbar__drawer.open { display: flex; }
.navbar__drawer a {
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.navbar__drawer a:last-child { border-bottom: none; }
.navbar__drawer .btn { margin-top: 12px; justify-content: center; }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  background: var(--card-bg);
  padding: 80px 0 72px;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--active-bg);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero__headline { margin-bottom: 20px; }

.hero__subline {
  font-size: 1.05rem;
  color: var(--secondary);
  max-width: 480px;
  margin-bottom: 36px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero__sublink {
  font-size: 0.875rem;
  color: var(--secondary);
  margin-bottom: 36px;
  display: block;
}
.hero__sublink a {
  color: var(--primary);
  font-weight: 600;
}
.hero__sublink a:hover { text-decoration: underline; }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--secondary);
}

.hero__trust-item::before {
  content: '✓';
  color: var(--success);
  font-weight: 800;
  font-size: 0.9rem;
}

/* Mockup visual area */
.hero__visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  min-height: 420px;
}

.hero__phone-mockup {
  width: 180px;
  height: 360px;
  background: #E5E7EB;
  border-radius: 28px;
  border: 6px solid #D1D5DB;
  box-shadow: 0 24px 64px rgba(0,0,0,0.18), 0 4px 16px rgba(0,0,0,0.12);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

.hero__phone-mockup::before {
  content: '';
  position: absolute;
  top: 10px;
  width: 60px;
  height: 5px;
  background: #9CA3AF;
  border-radius: 10px;
}

.hero__phone-screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 32px 14px 14px;
  gap: 8px;
}

.mock-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.mock-topbar__title { font-size: 10px; font-weight: 700; color: #0D0F14; }
.mock-topbar__badge {
  background: var(--success);
  color: #fff;
  font-size: 7px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 20px;
}

.mock-stat-row {
  display: flex;
  gap: 6px;
}
.mock-stat {
  flex: 1;
  background: rgba(0,0,0,0.05);
  border-radius: 8px;
  padding: 8px 6px;
  text-align: center;
}
.mock-stat__num { font-size: 11px; font-weight: 800; color: #0D0F14; }
.mock-stat__label { font-size: 7px; color: #9CA3AF; margin-top: 1px; }

.mock-item {
  background: rgba(0,0,0,0.04);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mock-item__dot {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--primary);
  flex-shrink: 0;
}
.mock-item__lines { flex: 1; }
.mock-item__line {
  height: 5px;
  border-radius: 3px;
  background: rgba(0,0,0,0.15);
  margin-bottom: 3px;
}
.mock-item__line:last-child { width: 60%; margin-bottom: 0; }

.hero__laptop-mockup {
  width: 260px;
  flex-shrink: 0;
  margin-bottom: 32px;
}

.laptop-screen-wrap {
  width: 100%;
  background: #E5E7EB;
  border-radius: 10px 10px 0 0;
  padding: 10px;
  border: 4px solid #D1D5DB;
  border-bottom: none;
}

.laptop-screen-inner {
  background: #F2F4F7;
  border-radius: 6px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.laptop-topbar {
  display: flex;
  gap: 4px;
  margin-bottom: 4px;
}
.laptop-topbar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.laptop-topbar span:nth-child(1) { background: #FF5F56; }
.laptop-topbar span:nth-child(2) { background: #FFBD2E; }
.laptop-topbar span:nth-child(3) { background: #27C93F; }

.laptop-sidebar {
  display: flex;
  gap: 6px;
}
.laptop-nav {
  width: 36px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.laptop-nav-item {
  height: 6px;
  border-radius: 3px;
  background: rgba(0,0,0,0.12);
}
.laptop-nav-item.active { background: var(--primary); }

.laptop-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.laptop-header {
  height: 8px;
  width: 55%;
  border-radius: 4px;
  background: rgba(0,0,0,0.15);
  margin-bottom: 4px;
}
.laptop-stat-row { display: flex; gap: 4px; }
.laptop-stat {
  flex: 1;
  height: 28px;
  background: rgba(26,86,219,0.25);
  border-radius: 5px;
  border: 1px solid rgba(26,86,219,0.3);
}
.laptop-row {
  height: 5px;
  border-radius: 3px;
  background: rgba(0,0,0,0.1);
  margin-top: 4px;
}
.laptop-row.w70 { width: 70%; }
.laptop-row.w50 { width: 50%; }

.laptop-base {
  background: #D1D5DB;
  height: 8px;
  border-radius: 0 0 4px 4px;
  width: 100%;
}
.laptop-stand {
  width: 40%;
  height: 5px;
  background: #C4C9D0;
  margin: 0 auto;
  border-radius: 0 0 6px 6px;
}
.laptop-foot {
  width: 55%;
  height: 3px;
  background: #B8BCC3;
  margin: 0 auto;
  border-radius: 0 0 4px 4px;
}

/* ── PROBLEM SECTION (light) ──────────────────────────────── */
.section--dark {
  background: #EEF3FF;
}
.section--dark .section-label { color: #6B7280; }
.section--dark h2 { color: #0D0F14; }
.section--dark p { color: #6B7280; }

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

.problem__card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 28px;
}

.problem__card-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}

.problem__card h3 {
  color: #0D0F14;
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.problem__card p {
  font-size: 0.9rem;
  color: #6B7280;
  line-height: 1.65;
}

/* ── SOLUTION SECTION ─────────────────────────────────────── */
.solution__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.solution__card {
  background: var(--card-bg);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  padding: 32px 28px;
}

.solution__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--active-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.solution__card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.solution__card p {
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ── B2B SECTION ──────────────────────────────────────────── */
.section--surface {
  background: var(--page-bg);
}

.b2b__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.b2b__bullets {
  list-style: none;
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.b2b__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--secondary);
  font-weight: 500;
}

.b2b__bullets li::before {
  content: '✓';
  color: var(--success);
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.b2b__visual {
  background: var(--card-bg);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.b2b__visual-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--label-color);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.b2b__supplier-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--page-bg);
  border-radius: var(--r-item);
  border: 1px solid var(--border);
}

.b2b__supplier-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), #4A7EE8);
  flex-shrink: 0;
}

.b2b__supplier-info { flex: 1; }
.b2b__supplier-name { font-size: 0.85rem; font-weight: 700; color: var(--text); }
.b2b__supplier-sub { font-size: 0.75rem; color: var(--muted); margin-top: 1px; }

.b2b__supplier-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--success);
  background: rgba(18,161,80,0.1);
  padding: 3px 8px;
  border-radius: 20px;
}

/* ── HOW IT WORKS ─────────────────────────────────────────── */
.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.step__card {
  text-align: center;
  padding: 36px 24px;
  position: relative;
}

.step__number {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--primary);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(26,86,219,0.28);
}

.step__card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.step__card p { font-size: 0.9rem; }

/* Connector lines between steps */
.steps__grid .step__card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 62px;
  right: -12px;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--border), var(--primary));
  opacity: 0.4;
}

/* ── PRICING ──────────────────────────────────────────────── */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  align-items: start;
}

.pricing__card {
  background: var(--card-bg);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  padding: 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing__card--featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary), var(--shadow-card);
  transform: translateY(-8px);
}

.pricing__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.pricing__plan-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pricing__price {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}

.pricing__price span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

.pricing__trial {
  font-size: 0.78rem;
  color: var(--success);
  font-weight: 600;
  margin-bottom: 20px;
  min-height: 18px;
}

.pricing__divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 20px 0;
}

.pricing__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
  margin-bottom: 28px;
}

.pricing__features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--secondary);
  line-height: 1.45;
}

.pricing__features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing__cta { display: block; text-align: center; }

.pricing__note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.875rem;
  color: var(--secondary);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  padding: 16px 20px;
  background: var(--active-bg);
  border-radius: var(--r-item);
  font-weight: 500;
}

/* ── CUSTOMERS SECTION (dark) ─────────────────────────────── */
.customers__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.customers__stats {
  display: flex;
  gap: 32px;
  margin: 28px 0 32px;
}

.customers__stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0D0F14;
  letter-spacing: -0.03em;
  line-height: 1;
}

.customers__stat-label {
  font-size: 0.82rem;
  color: #6B7280;
  margin-top: 4px;
}

.customers__visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.customer-card-mock {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-item);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.customer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #4A7EE8, var(--primary));
  flex-shrink: 0;
}
.customer-avatar.green { background: linear-gradient(135deg, #12A150, #0D8040); }
.customer-avatar.orange { background: linear-gradient(135deg, #F59E0B, #D97706); }

.customer-info { flex: 1; }
.customer-name { font-size: 0.85rem; font-weight: 700; color: var(--text); }
.customer-sub { font-size: 0.75rem; color: var(--muted); margin-top: 2px; }

.customer-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 20px;
}
.customer-badge.delivered {
  background: rgba(18,161,80,0.15);
  color: #12A150;
}
.customer-badge.transit {
  background: rgba(26,86,219,0.15);
  color: #4A7EE8;
}

/* ── FINAL CTA ────────────────────────────────────────────── */
.section--cta {
  background: var(--primary);
  text-align: center;
}

.section--cta .section-label { color: rgba(255,255,255,0.35); }
.section--cta h2 { color: #fff; max-width: 600px; margin: 0 auto 16px; }
.section--cta p { color: rgba(255,255,255,0.85); max-width: 480px; margin: 0 auto 36px; font-size: 1rem; }

.cta__buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  background: #F2F4F7;
  padding: 64px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.footer__logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0D0F14;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer__logo .arabic { font-family: var(--font-ar); font-size: 1.4rem; }

.footer__desc {
  font-size: 0.875rem;
  color: #6B7280;
  line-height: 1.65;
  max-width: 260px;
}

.footer__col-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #B0B4BC;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.875rem;
  color: #6B7280;
  transition: color 0.15s;
}
.footer__links a:hover { color: var(--primary); }

.footer__contact-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}

.footer__contact-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #9CA3AF;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}

.footer__contact-value {
  font-size: 0.875rem;
  color: #6B7280;
}
.footer__contact-value a {
  color: #6B7280;
  transition: color 0.15s;
}
.footer__contact-value a:hover { color: var(--text); }

.footer__bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__bottom p {
  font-size: 0.78rem;
  color: #9CA3AF;
  line-height: 1.55;
}

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

.footer__bottom-links a {
  font-size: 0.78rem;
  color: #9CA3AF;
  transition: color 0.15s;
}
.footer__bottom-links a:hover { color: var(--secondary); }

/* ── LEGAL PAGES ──────────────────────────────────────────── */
.legal-hero {
  background: var(--card-bg);
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--border);
}

.legal-hero h1 { margin-bottom: 8px; }

.legal-hero .meta {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 6px;
}

.legal-body {
  padding: 56px 0;
}

.legal-content {
  max-width: 760px;
}

.legal-content h2 {
  font-size: 1.25rem;
  margin: 40px 0 14px;
  padding-top: 8px;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p {
  font-size: 0.9375rem;
  margin-bottom: 12px;
  color: var(--secondary);
}

.legal-content ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
  padding-left: 4px;
}

.legal-content ul li {
  font-size: 0.9375rem;
  color: var(--secondary);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.legal-content ul li::before {
  content: '–';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.legal-content strong { color: var(--text); font-weight: 700; }

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 0.875rem;
}

.legal-content th {
  background: var(--page-bg);
  font-weight: 700;
  color: var(--text);
  padding: 10px 14px;
  text-align: left;
  border-bottom: 2px solid var(--border);
}

.legal-content td {
  padding: 10px 14px;
  color: var(--secondary);
  border-bottom: 1px solid var(--border);
}

.legal-content tr:last-child td { border-bottom: none; }

.legal-note {
  background: var(--active-bg);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--r-input) var(--r-input) 0;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 0.875rem;
  color: var(--text);
  font-weight: 500;
}

/* ── CONTACT PAGE ─────────────────────────────────────────── */
.contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.contact__card {
  background: var(--card-bg);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  padding: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--active-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.contact__card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.contact__card .contact-sub {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.contact__card .contact-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.contact__card .contact-hours {
  font-size: 0.8rem;
  color: var(--muted);
}

.contact__note {
  margin-top: 40px;
  text-align: center;
  padding: 20px;
  background: var(--card-bg);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--secondary);
}

/* ── LANGUAGE TOGGLE ──────────────────────────────────────── */
.btn--lang {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--active-bg);
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
}
.btn--lang:hover { background: rgba(26,86,219,0.15); }

/* ── RTL OVERRIDES ────────────────────────────────────────── */
[dir="rtl"] body { font-family: 'Cairo', sans-serif; }
[dir="rtl"] .navbar__links { flex-direction: row-reverse; }
[dir="rtl"] .hero__inner { direction: rtl; }
[dir="rtl"] .hero__text { text-align: right; }
[dir="rtl"] .hero__trust { direction: rtl; }
[dir="rtl"] .b2b__inner { direction: rtl; }
[dir="rtl"] .customers__inner { direction: rtl; }
[dir="rtl"] .role-switch { text-align: left; }
[dir="rtl"] .footer__grid { direction: rtl; }
[dir="rtl"] .footer__bottom { flex-direction: row-reverse; }
[dir="rtl"] .footer__bottom-links { flex-direction: row-reverse; }
[dir="rtl"] .steps__grid .step__card::after { right: auto; left: -12px; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .problem__grid,
  .solution__grid,
  .steps__grid,
  .pricing__grid { grid-template-columns: 1fr 1fr; }

  .pricing__card--featured { transform: none; }

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

@media (max-width: 768px) {
  .navbar__links { display: none; }
  .navbar__ctas { display: none; }
  .navbar__hamburger { display: flex; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { min-height: 280px; }
  .hero__phone-mockup { width: 140px; height: 280px; }
  .hero__laptop-mockup { width: 200px; }

  .problem__grid,
  .solution__grid,
  .steps__grid,
  .pricing__grid,
  .contact__grid { grid-template-columns: 1fr; }

  .b2b__inner,
  .customers__inner { grid-template-columns: 1fr; }

  .pricing__card--featured { transform: none; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; gap: 16px; }
  .footer__bottom-links { flex-direction: row; justify-content: center; }
}

/* ── CUSTOMER PAGE ────────────────────────────────────── */

/* Customer hero layout (centered, no split) */
.customer-hero { text-align: center; }
.customer-hero__inner { max-width: 680px; margin: 0 auto; }
.customer-hero__headline { font-size: clamp(1.6rem, 4vw, 2.5rem); }
.customer-hero__sub { max-width: 560px; margin: 16px auto 0; }

/* Search bar */
.customer-search { margin-top: 28px; max-width: 520px; margin-left: auto; margin-right: auto; }
.customer-search__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  box-shadow: var(--shadow-card);
}
.customer-search__icon { font-size: 1.1rem; }
.customer-search__input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.95rem;
  color: var(--text);
  cursor: pointer;
}
.customer-search__badge {
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--primary);
  color: #fff;
  padding: 3px 8px;
  border-radius: 20px;
  white-space: nowrap;
}
.customer-search__hint {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 8px;
  text-align: center;
}

/* Category grid */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.cat-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  cursor: pointer;
}
.cat-card--soon { opacity: 0.72; }
.cat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.cat-card__icon { font-size: 2rem; display: block; margin-bottom: 8px; }
.cat-card__name { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.cat-card__badge {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.68rem;
  font-weight: 600;
  background: var(--page-bg);
  color: var(--muted);
  padding: 2px 8px;
  border-radius: 20px;
}

/* Stats grid (social proof section) */
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.stat__item { text-align: center; }
.stat__number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat__label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Delivery info grid */
.delivery-info {
  margin-top: 40px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  padding: 24px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.delivery-info__title {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  text-align: center;
}
.delivery-info__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.delivery-info__item { text-align: center; }
.delivery-info__distance {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 4px;
}
.delivery-info__price {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

/* CTA section white button variant */
.btn--white {
  background: #fff;
  color: var(--primary);
  border: none;
}
.btn--white:hover { background: #F0F4FF; }

.btn--outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn--outline-white:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.8); }

/* Muted text helper */
.muted { color: var(--text-secondary); }

/* ── CUSTOMER PAGE RESPONSIVE ─────────────────────── */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .stats__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .delivery-info__grid { grid-template-columns: repeat(2, 1fr); }
  .delivery-info { padding: 16px; }
}

@media (max-width: 480px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: 1fr; }
}