/* ════════════════════════════════════════════════════════════
   موَّرد — الصفحة التعريفية · الإصدار 2
   الاتجاه: فاتح ونظيف وفخم. أبيض هادئ، والتدرّج للشعار والأزرار
   واللمسات فقط، مع هالة لونية ناعمة خلف الموبايلات.
   ════════════════════════════════════════════════════════════ */

:root {
  --bg:        #FFFFFF;
  --bg-soft:   #F6F8FB;
  --bg-tint:   #EEF3FF;
  --ink:       #0E1726;
  --ink-2:     #4B5565;
  --ink-3:     #6B7485;
  --line:      #E7EBF1;
  --blue:      #1F4FD1;
  --teal:      #13A89A;
  --teal-deep: #0B7F74;

  --grad: linear-gradient(135deg, #1F4FD1 0%, #1777C9 52%, #13A89A 100%);

  --r-lg: 28px;
  --r:    20px;
  --r-sm: 14px;
  --shadow-sm: 0 1px 2px rgba(14, 23, 38, .05), 0 4px 14px -6px rgba(14, 23, 38, .08);
  --shadow:    0 2px 6px rgba(14, 23, 38, .04), 0 26px 50px -22px rgba(14, 30, 70, .22);
  --shadow-ph: 0 60px 110px -40px rgba(14, 30, 80, .42), 0 30px 60px -34px rgba(14, 30, 80, .34);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --f: "Alexandria", "Segoe UI", Tahoma, sans-serif;

  /* أيقونات خطية سوداء تُستعمل كأقنعة، فتأخذ لون التدرّج أو أي لون */
  --i-check:    url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12.5l4.5 4.5L19 7.5'/></svg>");
  --i-lock:     url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='5' y='10.5' width='14' height='10' rx='2.6'/><path d='M8.2 10.5V7.8a3.8 3.8 0 0 1 7.6 0v2.7'/><path d='M12 14.6v2.2'/></svg>");
  --i-badge:    url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2.8l2.3 1.7 2.9-.1.9 2.7 2.3 1.7-.9 2.7.9 2.7-2.3 1.7-.9 2.7-2.9-.1L12 19.2l-2.3-1.7-2.9.1-.9-2.7-2.3-1.7.9-2.7-.9-2.7 2.3-1.7.9-2.7 2.9.1z'/><path d='M8.6 11.2l2.3 2.3 4.5-4.6'/></svg>");
  --i-shield:   url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3l7.5 3v5.6c0 4.4-3.1 8-7.5 9.4-4.4-1.4-7.5-5-7.5-9.4V6z'/><path d='M8.7 12.1l2.3 2.3 4.4-4.5'/></svg>");
  --i-swap:     url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 8.5h15.5M15.5 4.5l4 4-4 4'/><path d='M20 15.5H4.5M8.5 11.5l-4 4 4 4'/></svg>");
  --i-factory:  url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'><path d='M3 20.5V10l5.2 3.2V10l5.2 3.2V6.5l7.6 3.8v10.2z'/><path d='M7 17h2M11.5 17h2M16 17h2' stroke-linecap='round'/></svg>");
  --i-shop:     url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3.5 9.2l1.8-5.2h13.4l1.8 5.2'/><path d='M3.5 9.2c0 1.7 1.3 3 3 3s2.8-1.3 2.8-3c0 1.7 1.2 3 2.7 3s2.7-1.3 2.7-3c0 1.7 1.3 3 2.8 3s3-1.3 3-3'/><path d='M5 12v8.5h14V12'/><path d='M10 20.5v-5h4v5'/></svg>");
  --i-spool:    url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 3.5h12M6 20.5h12'/><path d='M8 3.5v17M16 3.5v17'/><path d='M8 8l8 2.5M8 12l8 2.5M8 16l8 2.5'/></svg>");
  --i-search:   url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'><circle cx='10.5' cy='10.5' r='6.2'/><path d='M15.3 15.3L20 20'/></svg>");
  --i-bell:     url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 16.5V11a6 6 0 0 1 12 0v5.5l1.5 1.5h-15z'/><path d='M10 20.5a2.2 2.2 0 0 0 4 0'/></svg>");
  --i-filter:   url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'><path d='M4 7h16M7 12h10M10 17h4'/></svg>");
  --i-heart:    url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linejoin='round'><path d='M12 20s-7.5-4.6-7.5-10.2A4.3 4.3 0 0 1 12 7.3a4.3 4.3 0 0 1 7.5 2.5C19.5 15.4 12 20 12 20z'/></svg>");
  --i-back:     url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M9.5 5.5L16 12l-6.5 6.5'/></svg>");
  --i-home:     url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'><path d='M4 11l8-7 8 7v8.5a1 1 0 0 1-1 1h-4.5v-6h-5v6H5a1 1 0 0 1-1-1z'/></svg>");
  --i-grid:     url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><rect x='4' y='4' width='7' height='7' rx='1.8'/><rect x='13' y='4' width='7' height='7' rx='1.8'/><rect x='4' y='13' width='7' height='7' rx='1.8'/><rect x='13' y='13' width='7' height='7' rx='1.8'/></svg>");
  --i-tag:      url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'><path d='M3.5 12.2V4.5a1 1 0 0 1 1-1h7.7l8.3 8.3-8.7 8.7z'/><circle cx='8' cy='8' r='1.6'/></svg>");
  --i-user:     url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><circle cx='12' cy='8.2' r='4'/><path d='M4.5 20c1.4-3.4 4.3-5 7.5-5s6.1 1.6 7.5 5'/></svg>");
  --i-dress:    url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linejoin='round'><path d='M9 3h6l-1.4 5.2L18.5 21h-13l4.9-12.8z'/></svg>");
  --i-shirt:    url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linejoin='round'><path d='M8.5 3.5L12 5l3.5-1.5L20.5 7 18 10.2l-2-1.3v11.6H8V8.9l-2 1.3L3.5 7z'/></svg>");
  --i-star:     url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linejoin='round'><path d='M12 3.5l2.6 5.3 5.9.9-4.3 4.1 1 5.8L12 16.8l-5.2 2.8 1-5.8-4.3-4.1 5.9-.9z'/></svg>");
  --i-shoe:     url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linejoin='round' stroke-linecap='round'><path d='M3 17V10.5l4 1.2 3-3.7 3.4 4.8 7.6 2.1V17z'/><path d='M3 17h18'/></svg>");
  --i-lipstick: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linejoin='round'><path d='M10 8.5V4.2l4-1.2v5.5'/><path d='M8.8 8.5h6.4v12.5H8.8z'/></svg>");
  --i-chat:     url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'><path d='M5 4.5h14a2 2 0 0 1 2 2v8.5a2 2 0 0 1-2 2h-7.5L7 20.5V17H5a2 2 0 0 1-2-2V6.5a2 2 0 0 1 2-2z'/></svg>");
  --i-truck:    url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'><path d='M3 6h11v10H3zM14 9.5h4l3 3.5v3h-7z'/><circle cx='7' cy='17.5' r='1.8'/><circle cx='17.5' cy='17.5' r='1.8'/></svg>");
  --i-globe:    url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='12' cy='12' r='8.8'/><path d='M3.3 12h17.4M12 3.2c2.4 2.5 3.6 5.4 3.6 8.8s-1.2 6.3-3.6 8.8c-2.4-2.5-3.6-5.4-3.6-8.8s1.2-6.3 3.6-8.8z'/></svg>");
  --i-plus:     url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'><path d='M12 5v14M5 12h14'/></svg>");
  --i-phone:    url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'><path d='M6.6 3.5h3l1.5 4.3-2.2 1.5a12 12 0 0 0 5.8 5.8l1.5-2.2 4.3 1.5v3a2 2 0 0 1-2.2 2A16.5 16.5 0 0 1 4.6 5.7a2 2 0 0 1 2-2.2z'/></svg>");
  /* شعار واتساب (Simple Icons, CC0) */
  --i-wa:       url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 0 1-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 0 1-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 0 1 2.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0 0 12.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 0 0 5.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 0 0-3.48-8.413z'/></svg>");
}

/* ─────────────── الأساس ─────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; overflow-x: hidden;
  font-family: var(--f); font-size: 17px; line-height: 1.8;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.28; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 55%, transparent); outline-offset: 3px; border-radius: 10px; }
.skip { position: absolute; z-index: 100; top: -80px; inset-inline-start: 12px; padding: 10px 18px; border-radius: 10px; background: var(--ink); color: #fff; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }

/* الشعار: كلمة «موَّرد» كقناع يُملأ بالتدرّج */
.wordmark {
  display: block; aspect-ratio: 738 / 412; background: var(--grad);
  -webkit-mask: url(../img/wordmark.webp) center / contain no-repeat;
          mask: url(../img/wordmark.webp) center / contain no-repeat;
}
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* أيقونة بتدرّج داخل مربع فاتح */
.ic { position: relative; display: block; flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--bg-tint); }
.ic::after { content: ""; position: absolute; inset: 0; background: var(--grad); -webkit-mask: var(--ic) center / 24px no-repeat; mask: var(--ic) center / 24px no-repeat; }
.ic-lg { width: 58px; height: 58px; border-radius: 17px; }
.ic-lg::after { -webkit-mask-size: 28px; mask-size: 28px; }

/* ─────────────── الأزرار ─────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .9em 1.6em; border-radius: 999px; border: 1px solid transparent;
  font: 600 1rem/1.2 var(--f); text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s, background-color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 26px -12px rgba(31, 79, 209, .6); }
.btn-primary:hover { box-shadow: 0 18px 32px -12px rgba(31, 79, 209, .7); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: #D3DAE4; }
.btn-sm { padding: .62em 1.2em; font-size: .92rem; }

/* ─────────────── الترويسة ─────────────── */
.site-header {
  position: fixed; top: 0; inset-inline: 0; z-index: 50;
  background: rgba(255, 255, 255, .78); backdrop-filter: blur(18px) saturate(1.6);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px -22px rgba(14, 23, 38, .35); }
.bar { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { flex: none; display: block; }
.brand .wordmark { width: 78px; }
.nav { display: flex; gap: 30px; margin-inline-start: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: .95rem; font-weight: 500; transition: color .2s; }
.nav a:hover { color: var(--ink); }
.nav a { position: relative; }
.nav a.active { color: var(--ink); }
.nav a.active::after { content: ""; position: absolute; inset-inline: 0; bottom: -7px; height: 2px; border-radius: 2px; background: var(--grad); }
.head-cta { flex: none; }
.menu-btn {
  display: none; flex: none; width: 46px; height: 46px; border-radius: 14px; cursor: pointer;
  align-items: center; justify-content: center; border: 1px solid var(--line); background: #fff; color: var(--ink);
}
.menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 19px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), background-color .2s; }
.menu-lines { position: relative; }
.menu-lines::before, .menu-lines::after { content: ""; position: absolute; inset-inline-start: 0; }
.menu-lines::before { top: -6px; }
.menu-lines::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-lines { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-lines::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-lines::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 880px) {
  .nav {
    position: absolute; top: 74px; inset-inline: 12px; flex-direction: column; gap: 0; padding: 8px;
    border-radius: 20px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility 0s linear .25s;
  }
  .nav.open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
  .nav a { padding: 13px 16px; border-radius: 12px; }
  .nav a:hover, .nav a.active { background: var(--bg-soft); }
  .nav a.active::after { display: none; }
  .head-cta { margin-inline-start: auto; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 420px) { .head-cta { display: none; } .menu-btn { margin-inline-start: auto; } }

/* ─────────────── الواجهة ─────────────── */
.hero { position: relative; overflow: hidden; padding-block: 150px 96px; }
.halo { position: absolute; inset: 0; pointer-events: none; }
.halo::before, .halo::after { content: ""; position: absolute; border-radius: 50%; filter: blur(30px); }
.halo::before { width: 680px; height: 680px; left: 2%; top: 60px; background: radial-gradient(circle, rgba(31, 79, 209, .22), transparent 66%); animation: drift 22s ease-in-out infinite alternate; }
.halo::after  { width: 520px; height: 520px; left: 22%; top: 330px; background: radial-gradient(circle, rgba(19, 168, 154, .2), transparent 66%); animation: drift 26s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { translate: 40px -30px; } }

.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.02fr; gap: 48px; align-items: center; }
.hero-copy > * { animation: rise .9s var(--ease) both; }
.hero-copy > .pill  { animation-delay: .05s; }
.hero-copy > h1     { animation-delay: .75s; }
.hero-copy > .lead  { animation-delay: .9s; }
.hero-copy > .cta   { animation-delay: 1.05s; }
.hero-copy > .trust { animation-delay: 1.2s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  color: var(--ink-2); font-size: .88rem; font-weight: 500;
}
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(19, 168, 154, .15); }

/* الشعار يُكتب من اليمين إلى اليسار */
.hero-mark { width: clamp(150px, 15vw, 196px); margin-block: 28px 18px; animation: pen 1.3s cubic-bezier(.65, 0, .35, 1) .2s both !important; }
@keyframes pen { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }

.hero h1 { font-size: clamp(2.25rem, 4.4vw, 3.75rem); font-weight: 800; line-height: 1.24; }
.lead { max-width: 31em; margin-top: 20px; color: var(--ink-2); font-size: 1.12rem; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; color: var(--ink-2); font-size: .92rem; }
.trust li { position: relative; padding-inline-start: 28px; }
.trust li::before { content: ""; position: absolute; inset-inline-start: 0; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; background: var(--bg-tint); }
.trust li::after { content: ""; position: absolute; inset-inline-start: 0; top: 50%; width: 20px; height: 20px; margin-top: -10px; background: var(--grad); -webkit-mask: var(--i-check) center / 11px no-repeat; mask: var(--i-check) center / 11px no-repeat; }

/* ─────────────── الموبايلات ─────────────── */
.hero-phones { position: relative; height: 650px; }
.phone {
  position: absolute; width: 292px; aspect-ratio: 292 / 606; padding: 9px; border-radius: 50px;
  background: #0F1522; box-shadow: var(--shadow-ph), inset 0 0 0 1.5px #283247;
}
.phone-front { right: 6%; top: 46px; z-index: 2; animation: phoneIn 1s var(--ease) .35s both; }
.phone-back  { right: 45%; top: 0; z-index: 1; rotate: -7deg; scale: .9; animation: phoneIn 1.1s var(--ease) .15s both; }
@keyframes phoneIn { from { opacity: 0; translate: 0 60px; } to { opacity: 1; translate: 0 0; } }

.screen {
  position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden;
  border-radius: 42px; background: #F5F6F9; color: var(--ink); font-size: 11px; line-height: 1.45;
}
.sb { display: flex; align-items: center; justify-content: space-between; direction: ltr; padding: 12px 24px 6px; font-size: 11px; font-weight: 600; }
.island { width: 86px; height: 25px; border-radius: 20px; background: #0F1522; }
.sb-ic { display: flex; align-items: flex-end; gap: 2px; height: 9px; }
.sb-ic i { width: 3px; border-radius: 1px; background: var(--ink); }
.sb-ic i:nth-child(1) { height: 5px; } .sb-ic i:nth-child(2) { height: 7px; } .sb-ic i:nth-child(3) { width: 16px; height: 8px; border-radius: 2.5px; margin-inline-start: 4px; }

/* قناع أيقونة داخل التطبيق */
.m { display: block; flex: none; background: currentColor; -webkit-mask: var(--mi) center / contain no-repeat; mask: var(--mi) center / contain no-repeat; }
.m-search { --mi: var(--i-search); width: 14px; height: 14px; color: var(--ink-3); }

.app-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 16px 2px; }
.app-mark { width: 56px; }
.head-act { display: flex; gap: 8px; }
.a-bell, .a-avatar { position: relative; width: 30px; height: 30px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); }
.a-bell::before { content: ""; position: absolute; inset: 0; background: var(--ink); -webkit-mask: var(--i-bell) center / 15px no-repeat; mask: var(--i-bell) center / 15px no-repeat; }
.a-bell::after { content: ""; position: absolute; top: 6px; inset-inline-start: 7px; width: 6px; height: 6px; border-radius: 50%; background: #E5484D; box-shadow: 0 0 0 1.5px #fff; }
.a-avatar { background: linear-gradient(135deg, #F4DDBB, #E3B282); }
.app-search { display: flex; align-items: center; gap: 8px; height: 38px; margin: 10px 14px 0; padding-inline: 12px 5px; border-radius: 12px; background: #fff; color: var(--ink-3); box-shadow: var(--shadow-sm); }
.app-search span { flex: 1; }
.a-filter { position: relative; width: 28px; height: 28px; border-radius: 9px; background: var(--grad); }
.a-filter::after { content: ""; position: absolute; inset: 0; background: #fff; -webkit-mask: var(--i-filter) center / 13px no-repeat; mask: var(--i-filter) center / 13px no-repeat; }

.app-banner {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between;
  min-height: 92px; margin: 12px 14px 0; padding: 12px 14px; border-radius: 16px; background: var(--grad); color: #fff;
}
.app-banner::before { content: ""; position: absolute; width: 140px; height: 140px; left: -30px; top: -40px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.app-banner small { display: block; font-size: 9.5px; opacity: .88; }
.app-banner b { display: block; margin-top: 2px; font-size: 15.5px; font-weight: 800; }
.app-banner span { display: inline-block; margin-top: 8px; padding: 4px 11px; border-radius: 999px; background: #fff; color: var(--blue); font-size: 9.5px; font-weight: 700; }
.banner-shot { position: relative; flex: none; width: 76px; height: 76px; border-radius: 14px; object-fit: cover; rotate: -6deg; margin-inline-end: 2px; box-shadow: 0 0 0 3px rgba(255, 255, 255, .9), 0 14px 22px -12px rgba(5, 15, 50, .6); }

.app-cats { display: flex; justify-content: space-between; padding: 12px 15px 2px; }
.app-cats span { display: grid; justify-items: center; gap: 5px; color: var(--ink-2); font-size: 9.5px; }
.ci { position: relative; display: block; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); }
.ci::after { content: ""; position: absolute; inset: 0; background: var(--ink-2); -webkit-mask: var(--ic) center / 19px no-repeat; mask: var(--ic) center / 19px no-repeat; }
.app-cats .on { color: var(--blue); font-weight: 700; }
.app-cats .on .ci { background: var(--bg-tint); box-shadow: inset 0 0 0 1.5px rgba(31, 79, 209, .25); }
.app-cats .on .ci::after { background: var(--grad); }

.app-sec { display: flex; align-items: baseline; justify-content: space-between; padding: 12px 16px 7px; }
.app-sec b { font-size: 12.5px; font-weight: 700; }
.app-sec small { color: var(--blue); font-size: 10px; font-weight: 600; }
.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-inline: 14px; }
.app-prod { display: grid; gap: 1px; padding: 6px 6px 9px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.app-prod b { padding-inline: 3px; font-size: 10.5px; font-weight: 600; }
.app-prod small { padding-inline: 3px; color: var(--ink-3); font-size: 9px; }
.app-prod strong { padding-inline: 3px; margin-top: 2px; font-size: 12.5px; font-weight: 800; }
.ph { position: relative; display: grid; place-items: center; aspect-ratio: 1; margin-bottom: 5px; overflow: hidden; border-radius: 10px; background: linear-gradient(180deg, #F1F2F5, #E6E8EE); }
.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fav { position: absolute; top: 6px; left: 6px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); }
.fav::after { content: ""; position: absolute; inset: 0; background: var(--ink-2); -webkit-mask: var(--i-heart) center / 11px no-repeat; mask: var(--i-heart) center / 11px no-repeat; }

.app-tabs { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: auto; padding: 9px 4px 18px; background: #fff; border-top: 1px solid var(--line); }
.app-tabs span { display: grid; justify-items: center; gap: 3px; color: var(--ink-3); font-size: 8.5px; }
.app-tabs i { display: block; width: 20px; height: 20px; background: var(--ink-3); -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.app-tabs .on { color: var(--blue); font-weight: 700; }
.app-tabs .on i { background: var(--grad); }

/* صفحة المنتج */
.det-img { position: relative; display: grid; place-items: center; height: 246px; overflow: hidden; background: linear-gradient(180deg, #F1F2F5, #E3E6EC); }
.det-img.tall { height: 300px; }
.det-img .shot { object-position: 50% 30%; }
.wm {
  --wm: "تاجر #1042 · 30/09";
  position: absolute; inset: -45%; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 16px;
  rotate: -27deg; white-space: nowrap; pointer-events: none; color: rgba(14, 23, 38, .16); font-size: 10px; font-weight: 600;
}
.wm span::before { content: var(--wm) "\2003\2003\2003" var(--wm); }
.wm-light { color: rgba(255, 255, 255, .2); }
.det-btn { position: absolute; top: 12px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-sm); }
.det-btn::after { content: ""; position: absolute; inset: 0; background: var(--ink); -webkit-mask: var(--mi) center / 14px no-repeat; mask: var(--mi) center / 14px no-repeat; }
.d-back { right: 14px; --mi: var(--i-back); }
.d-heart { left: 14px; --mi: var(--i-heart); }
.det-dots { position: absolute; bottom: 26px; left: 50%; translate: -50% 0; display: flex; gap: 4px; }
.det-dots i { width: 5px; height: 5px; border-radius: 3px; background: rgba(14, 23, 38, .22); }
.det-dots .on { width: 14px; background: var(--ink); }
.det-body { position: relative; flex: 1; display: flex; flex-direction: column; gap: 8px; margin-top: -18px; padding: 16px 16px 18px; border-radius: 22px 22px 0 0; background: #fff; }
.det-vendor { display: flex; align-items: center; gap: 6px; color: var(--teal-deep); font-size: 10px; font-weight: 600; }
.det-vendor i { width: 22px; height: 22px; border-radius: 50%; background: var(--grad); }
.det-vendor em { margin-inline-start: auto; color: var(--ink-2); font-style: normal; }
.det-title { font-size: 13.5px; font-weight: 700; line-height: 1.4; }
.det-label { color: var(--ink-3); font-size: 9.5px; }
.sizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; direction: ltr; }
.sizes span { display: grid; place-items: center; height: 36px; border-radius: 10px; border: 1px solid var(--line); font-size: 11px; font-weight: 700; line-height: 1.1; }
.sizes em { color: var(--ink-3); font-size: 8.5px; font-style: normal; font-weight: 500; }
.det-colors { display: flex; gap: 9px; margin-top: 2px; }
.det-colors i { width: 18px; height: 18px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--line); }
.det-colors .on { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--blue); }
.det-buy { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.det-buy strong { display: block; font-size: 17px; font-weight: 800; line-height: 1.2; }
.det-buy small { color: var(--ink-3); font-size: 9px; }
.buy { padding: 10px 16px; border-radius: 12px; background: var(--grad); color: #fff; font-size: 11px; font-weight: 700; }

.toast {
  position: absolute; z-index: 3; left: 3%; bottom: 58px; display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 12px; border-radius: 18px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
  box-shadow: var(--shadow); animation: rise .8s var(--ease) 1.5s both;
}
.toast img { width: 36px; height: 36px; border-radius: 10px; }
.toast b { display: block; font-size: .86rem; line-height: 1.3; }
.toast small { color: var(--ink-3); font-size: .78rem; }

@media (max-width: 1080px) {
  .phone-back { right: 42%; }
  .toast { left: 0; }
}
@media (max-width: 960px) {
  .hero { padding-block: 124px 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-mark, .lead { margin-inline: auto; }
  .cta, .trust { justify-content: center; }
  .hero-phones { width: min(560px, 100%); height: 620px; margin-inline: auto; }
  .halo::before { left: 10%; top: 480px; } .halo::after { left: 40%; top: 640px; }
}
@media (max-width: 560px) {
  .hero-phones { height: 560px; }
  .phone { width: 262px; }
  .phone-front { right: 50%; translate: 50% 0; animation-name: phoneInC; }
  .phone-back { display: none; }
  .toast { right: auto; left: 0; bottom: 60px; }
  @keyframes phoneInC { from { opacity: 0; translate: 50% 60px; } to { opacity: 1; translate: 50% 0; } }
}

/* ─────────────── الركائز ─────────────── */
.pillars { padding-block: 10px 30px; }
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-block: 44px; border-block: 1px solid var(--line); }
.pillar h3 { margin-block: 16px 4px; font-size: 1.1rem; }
.pillar p { color: var(--ink-2); font-size: .93rem; line-height: 1.7; }
@media (max-width: 960px) { .pillar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pillar-grid { grid-template-columns: 1fr; gap: 26px; } }

/* ─────────────── الأقسام العامة ─────────────── */
.section { padding-block: 116px; }
.section-tight { padding-block: 40px 96px; }
.sec-head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.eyebrow { display: inline-block; margin-bottom: 16px; padding: 5px 14px; border-radius: 999px; background: var(--bg-tint); color: var(--blue); font-size: .88rem; font-weight: 600; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); font-weight: 800; }
.sec-lead { margin-top: 14px; color: var(--ink-2); font-size: 1.08rem; }

.checks { display: grid; gap: 12px; margin-top: 22px; }
.checks li { position: relative; padding-inline-start: 32px; color: var(--ink-2); font-size: .98rem; line-height: 1.7; }
.checks li b { color: var(--ink); font-weight: 600; }
.checks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .3em; width: 21px; height: 21px; border-radius: 50%; background: var(--bg-tint); }
.checks li::after { content: ""; position: absolute; inset-inline-start: 0; top: .3em; width: 21px; height: 21px; background: var(--grad); -webkit-mask: var(--i-check) center / 11px no-repeat; mask: var(--i-check) center / 11px no-repeat; }

/* ─────────────── الأطراف ─────────────── */
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.role {
  position: relative; padding: 36px 30px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s;
}
.role:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.role h3 { margin-block: 20px 8px; font-size: 1.5rem; }
.role .who { color: var(--ink-2); font-size: .97rem; }
.role .checks { margin-top: 20px; gap: 10px; }
.role .checks li { color: var(--ink); font-size: .95rem; }
.role-feature { border: 1.5px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; box-shadow: var(--shadow); }
.badge-free { position: absolute; top: 26px; inset-inline-end: 26px; padding: 5px 13px; border-radius: 999px; background: #E3F6F3; color: var(--teal-deep); font-size: .82rem; font-weight: 700; }
@media (max-width: 960px) { .role-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* ─────────────── أقسام العرض المتناوبة ─────────────── */
.show { padding-block: 70px; }
.show-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 80px; align-items: center; }
.show-flip .show-visual { order: -1; }
.show-copy h2 { margin-top: 2px; }
.show-copy > p { margin-top: 16px; color: var(--ink-2); font-size: 1.06rem; }
.show-copy .note { margin-top: 22px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--bg-soft); color: var(--ink-2); font-size: .92rem; }
.stage {
  position: relative; display: grid; place-items: center; min-height: 500px; padding: 48px 32px;
  border-radius: 36px; background: var(--bg-soft); overflow: hidden; isolation: isolate;
}
.stage::before { content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(31, 79, 209, .14), transparent 68%); top: -10%; left: -10%; }
.stage::after  { content: ""; position: absolute; z-index: -1; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(19, 168, 154, .14), transparent 68%); bottom: -14%; right: -8%; }
@media (max-width: 960px) {
  .show { padding-block: 50px; }
  .show-grid { grid-template-columns: 1fr; gap: 36px; }
  .show-flip .show-visual { order: 0; }
  .stage { min-height: 440px; }
}

/* بطاقة وحدات البيع */
.ui-card { position: relative; border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.units-card { width: min(380px, 100%); padding: 22px; }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; border-radius: 13px; background: var(--bg-soft); }
.seg span { padding: 8px 0; border-radius: 10px; text-align: center; color: var(--ink-2); font-size: .86rem; font-weight: 500; }
.seg .on { background: #fff; color: var(--ink); font-weight: 700; box-shadow: var(--shadow-sm); }
.uc-row { display: flex; align-items: center; justify-content: space-between; padding-block: 13px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.uc-row:last-child { border-bottom: 0; padding-bottom: 2px; }
.uc-row b { font-weight: 600; }
.uc-row small { color: var(--ink-3); font-size: .84rem; }
.bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: end; height: 150px; padding-block: 12px 8px; direction: ltr; border-bottom: 1px solid var(--line); }
.bars span { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; height: 100%; }
.bars i { display: block; width: 100%; height: calc(var(--n) * 23px); border-radius: 9px; background: var(--grad); transform-origin: bottom; transition: transform 1s var(--ease); }
.bars span:nth-child(2) i { transition-delay: .08s; } .bars span:nth-child(3) i { transition-delay: .16s; } .bars span:nth-child(4) i { transition-delay: .24s; }
.bars em { color: var(--ink-2); font-size: .82rem; font-style: normal; font-weight: 700; }
.bars b { color: var(--ink-3); font-size: .78rem; font-weight: 600; }
.js .units-card .bars i { transform: scaleY(0); }
.js .units-card.in .bars i { transform: scaleY(1); }
.dots { display: flex; gap: 7px; }
.dots i { width: 18px; height: 18px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--line); }
.chip { padding: 4px 12px; border-radius: 999px; background: var(--bg-tint); color: var(--blue); font-size: .82rem; font-weight: 700; }
@media (min-width: 561px) { #units .stage { padding-bottom: 104px; } }
.mini-card { position: absolute; left: 5%; bottom: 26px; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px; rotate: 3deg; }
.mini-card small { display: block; color: var(--ink-3); font-size: .74rem; }
.mini-card b { display: block; font-size: .9rem; line-height: 1.35; }
.mini-card span { color: var(--blue); font-size: .88rem; font-weight: 800; }
.lip { flex: none; width: 52px; height: 52px; border-radius: 12px; border: 1px solid var(--line); object-fit: cover; }
@media (max-width: 560px) { .mini-card { position: relative; left: auto; bottom: auto; rotate: 0deg; margin-top: 16px; } .stage { gap: 0; } }

/* عرض الحماية */
.stage-demo { gap: 14px; align-content: center; }
.phone-demo { position: relative; width: 270px; }
.phone-demo::before { content: ""; position: absolute; top: 128px; right: -4px; width: 4px; height: 58px; border-radius: 3px; background: #1B2436; }
.demo-cap { display: grid; place-items: center; min-height: 36px; font-size: .92rem; font-weight: 600; }
.demo-cap span { grid-area: 1 / 1; padding: 6px 16px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); opacity: 0; white-space: nowrap; }
.demo-cap .c2 { color: var(--teal-deep); }
.shield-screen { position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; justify-items: center; gap: 10px; background: #000; color: #fff; text-align: center; opacity: 0; }
.lock { position: relative; width: 60px; height: 60px; border-radius: 18px; background: rgba(255, 255, 255, .1); }
.lock::after { content: ""; position: absolute; inset: 0; background: #fff; -webkit-mask: var(--i-lock) center / 28px no-repeat; mask: var(--i-lock) center / 28px no-repeat; }
.shield-screen b { font-size: 1.15rem; }
.shield-screen small { color: rgba(255, 255, 255, .6); font-size: .8rem; }
.flash { position: absolute; inset: 0; z-index: 4; background: #fff; opacity: 0; pointer-events: none; }
#protect .shield-screen, #protect .flash, #protect .c1, #protect .c2, #protect .phone-demo::before { animation: 6.6s infinite paused; }
#protect .shield-screen { animation-name: dShield; }
#protect .flash { animation-name: dFlash; }
#protect .c1 { animation-name: dCap1; }
#protect .c2 { animation-name: dCap2; }
#protect .phone-demo::before { animation-name: dPress; }
#protect.in .shield-screen, #protect.in .flash, #protect.in .c1, #protect.in .c2, #protect.in .phone-demo::before { animation-play-state: running; }
@keyframes dShield { 0%, 40% { opacity: 0; } 44%, 84% { opacity: 1; } 90%, 100% { opacity: 0; } }
@keyframes dFlash  { 0%, 40% { opacity: 0; } 41.5% { opacity: .95; } 45%, 100% { opacity: 0; } }
@keyframes dCap1   { 0%, 24% { opacity: 0; transform: translateY(6px); } 29%, 40% { opacity: 1; transform: none; } 44%, 100% { opacity: 0; } }
@keyframes dCap2   { 0%, 44% { opacity: 0; transform: translateY(6px); } 49%, 84% { opacity: 1; transform: none; } 89%, 100% { opacity: 0; } }
@keyframes dPress  { 0%, 37% { transform: none; } 39%, 42% { transform: translateX(-2px); } 44%, 100% { transform: none; } }

/* شاشة القفل والإشعارات */
.lockscreen { align-content: start; gap: 26px; padding-top: 46px; background: linear-gradient(165deg, #E1E9FF 0%, #E9F0FB 45%, #DDF4F0 100%); }
.lockscreen::before, .lockscreen::after { opacity: .9; }
.ls-time { text-align: center; }
.ls-time b { display: block; font-size: clamp(3.4rem, 7vw, 4.6rem); font-weight: 300; line-height: 1; color: var(--ink); letter-spacing: -.02em; }
.ls-time small { display: block; margin-top: 10px; color: var(--ink-2); font-size: .95rem; }
.notifs { display: grid; gap: 10px; width: min(400px, 100%); }
.notif {
  display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: start;
  padding: 13px 15px; border-radius: 20px; background: rgba(255, 255, 255, .74); backdrop-filter: blur(14px);
  box-shadow: 0 10px 28px -16px rgba(14, 23, 38, .35);
}
.notif img { width: 38px; height: 38px; border-radius: 10px; }
.notif b { display: block; font-size: .86rem; line-height: 1.3; }
.notif p { color: var(--ink-2); font-size: .84rem; line-height: 1.55; }
.notif time { color: var(--ink-3); font-size: .74rem; white-space: nowrap; }
.js .lockscreen .notif { opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .lockscreen.in .notif { opacity: 1; transform: none; }
.js .lockscreen.in .notif:nth-child(2) { transition-delay: .18s; }
.js .lockscreen.in .notif:nth-child(3) { transition-delay: .36s; }

/* ─────────────── مزايا إضافية ─────────────── */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feat { padding: 30px 26px; border-radius: 24px; background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feat h3 { margin-block: 18px 6px; font-size: 1.1rem; }
.feat p { color: var(--ink-2); font-size: .93rem; line-height: 1.7; }
.feat .langs { text-align: right; }
@media (max-width: 960px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .feat-grid { grid-template-columns: 1fr; } }

/* ─────────────── كيف يعمل ─────────────── */
.how { background: var(--bg-soft); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps::before { content: ""; position: absolute; top: 25px; inset-inline: 12.5%; height: 2px; background: linear-gradient(90deg, rgba(19, 168, 154, .35), rgba(31, 79, 209, .35)); }
.step { position: relative; text-align: center; padding-inline: 10px; }
.step-n { position: relative; display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 20px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 1.25rem; font-weight: 800; box-shadow: 0 0 0 8px var(--bg-soft), 0 12px 24px -10px rgba(31, 79, 209, .55); }
.step h3 { margin-bottom: 6px; font-size: 1.2rem; }
.step p { color: var(--ink-2); font-size: .94rem; line-height: 1.75; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 46px; } .steps::before { display: none; } }
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; row-gap: 30px; }
  .steps::before { display: block; top: 26px; bottom: 30px; inset-inline: 25px auto; width: 2px; height: auto; background: linear-gradient(180deg, rgba(31, 79, 209, .35), rgba(19, 168, 154, .35)); }
  .step { min-height: 52px; padding-inline: 74px 0; text-align: start; }
  .step-n { position: absolute; top: 0; inset-inline-start: 0; margin: 0; }
}

/* ─────────────── التحميل ─────────────── */
.download { padding-block: 110px; }
.dl-card {
  position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center;
  padding: 64px; border-radius: 40px; background: var(--grad); color: #fff;
}
.dl-card::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; left: -140px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .18), transparent 66%); }
.dl-card::after  { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: 30%; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .12), transparent 66%); }
.app-icon { width: 150px; height: 150px; border-radius: 36px; box-shadow: 0 28px 50px -22px rgba(5, 15, 50, .6), 0 0 0 1px rgba(255, 255, 255, .25); }
.dl-card h2 { color: #fff; }
.dl-card p { max-width: 34em; margin-top: 10px; color: rgba(255, 255, 255, .88); font-size: 1.06rem; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-light { margin-top: 18px; background: #fff; color: var(--blue); box-shadow: 0 14px 28px -16px rgba(5, 15, 50, .6); }
.store { display: grid; min-width: 150px; padding: 10px 20px; border-radius: 14px; background: #0E1726; cursor: default; }
.store small { color: rgba(255, 255, 255, .62); font-size: .74rem; }
.store b { direction: ltr; text-align: start; font: 700 1.04rem/1.35 var(--f); }
@media (max-width: 760px) {
  .dl-card { grid-template-columns: 1fr; justify-items: center; gap: 28px; padding: 44px 26px; text-align: center; border-radius: 32px; }
  .dl-card p { margin-inline: auto; }
  .stores { justify-content: center; }
  .app-icon { width: 120px; height: 120px; border-radius: 30px; }
}

/* ─────────────── الأسئلة الشائعة ─────────────── */
.faq { background: var(--bg-soft); }
.faq .sec-head { margin-bottom: 44px; }
.faq-list { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.faq-list details { border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: box-shadow .3s, border-color .3s; }
.faq-list details[open] { border-color: #D8DFEA; box-shadow: var(--shadow); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; cursor: pointer; list-style: none; font-size: 1.04rem; font-weight: 600; line-height: 1.5; border-radius: var(--r); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-ic { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--bg-tint); transition: rotate .3s var(--ease); }
.faq-ic::after { content: ""; position: absolute; inset: 0; background: var(--grad); -webkit-mask: var(--i-plus) center / 14px no-repeat; mask: var(--i-plus) center / 14px no-repeat; }
.faq-list details[open] .faq-ic { rotate: 45deg; }
.faq-list details p { padding: 0 24px 22px; color: var(--ink-2); font-size: .97rem; line-height: 1.85; }

/* ─────────────── التواصل ─────────────── */
.contact-card {
  position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  padding: 60px; border-radius: 40px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.contact-card::before { content: ""; position: absolute; z-index: -1; width: 520px; aspect-ratio: 1; left: -160px; bottom: -240px; border-radius: 50%; background: radial-gradient(circle, rgba(19, 168, 154, .12), transparent 66%); }
.contact-copy > p { margin-top: 14px; color: var(--ink-2); font-size: 1.06rem; }
.contact-lines { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 28px; }
.wa-line { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 1.2rem; font-weight: 700; text-decoration: none; }
.wa-line i { position: relative; width: 40px; height: 40px; border-radius: 50%; background: #E8F8EE; }
.wa-line i::after { content: ""; position: absolute; inset: 0; background: #1DA851; -webkit-mask: var(--i-wa) center / 20px no-repeat; mask: var(--i-wa) center / 20px no-repeat; }
.tel-line { position: relative; padding-inline-start: 24px; color: var(--ink-2); font-size: .95rem; text-decoration: none; }
.tel-line::before { content: ""; position: absolute; inset-inline-start: 0; top: 50%; width: 17px; height: 17px; margin-top: -8.5px; background: currentColor; -webkit-mask: var(--i-phone) center / contain no-repeat; mask: var(--i-phone) center / contain no-repeat; }
.wa-line:hover, .tel-line:hover { color: var(--blue); }
.contact-opts { display: grid; gap: 12px; }
.opt {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 20px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); text-decoration: none; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.opt:hover { transform: translateY(-2px); border-color: #D3DAE4; box-shadow: var(--shadow); }
.opt > span { flex: 1; }
.opt b { display: block; font-size: 1.05rem; line-height: 1.4; }
.opt small { color: var(--ink-2); font-size: .88rem; }
.opt-go { position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%; background: #E8F8EE; transition: background-color .3s; }
.opt-go::after { content: ""; position: absolute; inset: 0; background: #1DA851; -webkit-mask: var(--i-wa) center / 18px no-repeat; mask: var(--i-wa) center / 18px no-repeat; transition: background-color .3s; }
.opt:hover .opt-go { background: #25D366; }
.opt:hover .opt-go::after { background: #fff; }
@media (max-width: 960px) { .contact-card { grid-template-columns: 1fr; gap: 36px; padding: 44px 32px; } }
@media (max-width: 520px) { .contact-card { padding: 36px 20px; border-radius: 32px; } .opt { padding: 14px; gap: 12px; } }

/* زر واتساب العائم: يظهر بعد الواجهة ويختفي عند قسم التواصل */
.wa-fab {
  position: fixed; z-index: 45; inset-inline-end: 22px; bottom: max(22px, env(safe-area-inset-bottom));
  width: 58px; height: 58px; border-radius: 50%; background: #25D366;
  box-shadow: 0 16px 30px -12px rgba(18, 140, 70, .65), 0 2px 6px rgba(14, 23, 38, .12);
  opacity: 0; visibility: hidden; transform: translateY(18px) scale(.9);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
}
.wa-fab::after { content: ""; position: absolute; inset: 0; background: #fff; -webkit-mask: var(--i-wa) center / 28px no-repeat; mask: var(--i-wa) center / 28px no-repeat; }
.show-fab .wa-fab { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.show-fab .wa-fab:hover { transform: translateY(-2px); }
@media (max-width: 520px) { .wa-fab { inset-inline-end: 16px; width: 54px; height: 54px; } }

/* ─────────────── التذييل ─────────────── */
.site-footer { padding-block: 56px 28px; border-top: 1px solid var(--line); color: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; }
.foot-mark { width: 104px; }
.foot-note { max-width: 32em; margin-top: 14px; font-size: .9rem; }
.foot-nav { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 40px; }
.foot-nav a { color: var(--ink-2); font-size: .95rem; text-decoration: none; }
.foot-nav a:hover { color: var(--ink); }
.foot-base a { color: inherit; text-decoration: none; }
.foot-base a:hover { color: var(--ink); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .85rem; }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr; } }

/* ─────────────── الظهور عند التمرير ─────────────── */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ─────────────── تقليل الحركة ─────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .lockscreen .notif { opacity: 1; transform: none; }
  .js .units-card .bars i { transform: none; }
}
