/* ==========================================================================
   متجر سهم — SAHM STORE
   Sahm Flow Design System — v1
   هوية: بنفسجي كهربائي × أوف وايت × برتقالي
   Mobile-first / RTL
   ========================================================================== */

:root {
  /* الألوان */
  --bg: #0d0718;
  --bg-2: #140b26;
  --bg-3: #1b1033;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.08);
  --stroke: rgba(255, 255, 255, 0.1);
  --stroke-2: rgba(139, 92, 246, 0.35);

  --violet: #8b5cf6;
  --violet-deep: #6d28d9;
  --violet-soft: #a78bfa;
  --accent: #ff7a29;
  --accent-soft: #ffb37a;
  --cyan: #4adeff;

  --text: #f6f2fc;
  --muted: #ab9ec9;
  --muted-2: #7f719c;

  --ok: #34d399;
  --warn: #fbbf24;

  /* القياسات */
  --radius-s: 12px;
  --radius-m: 18px;
  --radius-l: 26px;
  --radius-xl: 34px;

  --head-h: 64px;
  --dock-h: 66px;

  --font: "Alexandria", "Segoe UI", system-ui, sans-serif;

  /* الحركة */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-snap: cubic-bezier(0.34, 1.4, 0.44, 1);
  --t-fast: 0.22s;
  --t-med: 0.45s;
  --t-slow: 0.8s;

  --grad-brand: linear-gradient(135deg, var(--violet) 0%, var(--violet-deep) 55%, var(--accent) 130%);
  --grad-text: linear-gradient(120deg, #fff 20%, var(--violet-soft) 60%, var(--accent-soft) 100%);
}

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

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
  min-height: 100vh;
  padding-bottom: calc(var(--dock-h) + 34px);
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font-family: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--violet); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* خلفية الموقع: توهجات خفيفة */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(640px 420px at 85% -5%, rgba(139, 92, 246, 0.16), transparent 65%),
    radial-gradient(560px 420px at 8% 30%, rgba(255, 122, 41, 0.07), transparent 60%),
    radial-gradient(700px 500px at 50% 105%, rgba(109, 40, 217, 0.14), transparent 65%),
    var(--bg);
}

.container {
  width: min(1140px, 100% - 40px);
  margin-inline: auto;
}

/* ---------- ظهور العناصر عند التمرير ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease);
  transition-delay: var(--rd, 0s);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   1) شاشة البداية — Intro
   ========================================================================== */
.intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: radial-gradient(600px 500px at 50% 40%, #1d0f38 0%, var(--bg) 70%);
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.intro.done { opacity: 0; visibility: hidden; pointer-events: none; }

.intro__stage { position: relative; display: grid; place-items: center; text-align: center; }

.intro__paths {
  position: absolute;
  width: 320px;
  height: 320px;
  opacity: 0.9;
}
.intro__paths path {
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: draw 1.5s var(--ease) forwards;
}
.intro__paths .p1 { stroke: var(--violet); animation-delay: 0.15s; }
.intro__paths .p2 { stroke: var(--accent); animation-delay: 0.35s; opacity: 0.85; }
.intro__paths .p3 { stroke: var(--cyan); animation-delay: 0.55s; opacity: 0.5; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.intro__logo {
  width: 92px;
  height: 92px;
  border-radius: 26px;
  box-shadow: 0 18px 60px rgba(139, 92, 246, 0.45);
  animation: introPop 0.7s var(--ease-snap) both;
}
@keyframes introPop {
  from { transform: scale(0.4) rotate(-8deg); opacity: 0; }
  to { transform: scale(1) rotate(0); opacity: 1; }
}

.intro__word {
  margin-top: 22px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--violet-soft);
  animation: fadeUp 0.7s var(--ease) 0.5s both;
}
.intro__tag {
  margin-top: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: fadeUp 0.8s var(--ease) 0.85s both;
}
@keyframes fadeUp {
  from { transform: translateY(16px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.intro__skip {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  color: var(--muted);
  padding: 8px 18px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.intro__skip:hover { color: var(--text); border-color: var(--stroke-2); }

/* ==========================================================================
   2) الهيدر العائم
   ========================================================================== */
.head {
  position: fixed;
  top: 14px;
  inset-inline: 0;
  z-index: 90;
  display: flex;
  justify-content: center;
  pointer-events: none;
  transition: top var(--t-med) var(--ease);
}

.head__bar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(1140px, calc(100% - 28px));
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(20, 11, 38, 0.55);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 34px rgba(5, 2, 12, 0.45);
  transition: background var(--t-med), border-color var(--t-med), box-shadow var(--t-med), width var(--t-med) var(--ease), padding var(--t-med) var(--ease);
}
.head.scrolled .head__bar {
  background: rgba(16, 9, 31, 0.88);
  border-color: var(--stroke-2);
  width: min(980px, calc(100% - 28px));
  padding: 7px 12px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark { width: 38px; height: 38px; border-radius: 12px; }
.brand__name { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name b { font-size: 0.95rem; font-weight: 800; }
.brand__name span { font-size: 0.62rem; letter-spacing: 0.28em; color: var(--muted); font-weight: 500; }

.head__nav { display: none; align-items: center; gap: 4px; }
.head__nav a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 999px;
  transition: color var(--t-fast), background var(--t-fast);
}
.head__nav a:hover, .head__nav a.active { color: var(--text); background: var(--surface-2); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border-radius: 999px;
  transition: transform var(--t-fast) var(--ease-snap), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.btn:active { transform: scale(0.96); }

.btn--primary {
  background: var(--grad-brand);
  color: #fff;
  padding: 11px 22px;
  font-size: 0.88rem;
  box-shadow: 0 8px 26px rgba(139, 92, 246, 0.4);
}
.btn--primary:hover { box-shadow: 0 10px 34px rgba(255, 122, 41, 0.35); transform: translateY(-2px); }

.btn--ghost {
  border: 1px solid var(--stroke);
  color: var(--text);
  padding: 11px 22px;
  font-size: 0.88rem;
  background: var(--surface);
}
.btn--ghost:hover { border-color: var(--stroke-2); background: var(--surface-2); }

.btn--big { padding: 15px 32px; font-size: 1rem; }

.head__cta { display: none; }
.head__menu {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--stroke);
  background: var(--surface);
  transition: background var(--t-fast), border-color var(--t-fast);
}
.head__menu:hover { background: var(--surface-2); border-color: var(--stroke-2); }
.head__menu svg { width: 20px; height: 20px; }

/* قائمة الجوال */
.mnav {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  background: rgba(13, 7, 24, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-med) var(--ease), visibility var(--t-med);
}
.mnav.open { opacity: 1; visibility: visible; }

.mnav__top { display: flex; align-items: center; justify-content: space-between; }
.mnav__close {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--stroke);
  background: var(--surface);
}
.mnav__close svg { width: 20px; height: 20px; }

.mnav__links { margin-top: 44px; display: flex; flex-direction: column; gap: 6px; }
.mnav__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-radius: var(--radius-m);
  font-size: 1.15rem;
  font-weight: 700;
  background: var(--surface);
  border: 1px solid transparent;
  transform: translateY(18px);
  opacity: 0;
  transition: transform var(--t-med) var(--ease), opacity var(--t-med) var(--ease), border-color var(--t-fast), background var(--t-fast);
  transition-delay: var(--d, 0s);
}
.mnav.open .mnav__links a { transform: none; opacity: 1; transition-delay: calc(0.06s + var(--d, 0s)); }
.mnav__links a:hover { border-color: var(--stroke-2); background: var(--surface-2); }
.mnav__links a small { font-size: 0.7rem; color: var(--muted); font-weight: 500; }
.mnav__links a .n { color: var(--violet-soft); font-size: 0.75rem; font-weight: 600; margin-inline-end: 10px; }

.mnav__foot { margin-top: auto; display: flex; flex-direction: column; gap: 14px; }
.mnav__social { display: flex; gap: 10px; justify-content: center; }
.mnav__social a {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--stroke);
  background: var(--surface);
  color: var(--muted);
  transition: color var(--t-fast), border-color var(--t-fast), transform var(--t-fast) var(--ease-snap);
}
.mnav__social a:hover { color: var(--text); border-color: var(--stroke-2); transform: translateY(-3px); }
.mnav__social svg { width: 20px; height: 20px; }

/* ==========================================================================
   3) Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: 130px 0 70px;
  overflow: hidden;
}

.hero__grid { display: grid; gap: 44px; align-items: center; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--violet-soft);
  border: 1px solid var(--stroke-2);
  background: rgba(139, 92, 246, 0.09);
  padding: 7px 14px;
  border-radius: 999px;
}
.hero__badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255, 122, 41, 0.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 122, 41, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(255, 122, 41, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 122, 41, 0); }
}

.hero h1 {
  margin-top: 18px;
  font-size: clamp(2.3rem, 8.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.01em;
}
.hero h1 .hl {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 .w { display: inline-block; }

.hero__sub {
  margin-top: 16px;
  max-width: 46ch;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero__ctas { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero__mini {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero__mini span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.76rem;
  color: var(--muted);
  border: 1px solid var(--stroke);
  background: var(--surface);
  padding: 7px 13px;
  border-radius: 999px;
}
.hero__mini svg { width: 14px; height: 14px; color: var(--ok); }

/* مسار الرحلة البصري */
.flow {
  position: relative;
  border: 1px solid var(--stroke);
  background: linear-gradient(160deg, var(--surface) 0%, rgba(139, 92, 246, 0.05) 100%);
  border-radius: var(--radius-xl);
  padding: 26px 22px 22px;
  overflow: hidden;
}
.flow::before {
  content: "";
  position: absolute;
  inset: -40% -30%;
  background: conic-gradient(from 0deg, transparent 70%, rgba(139, 92, 246, 0.14), transparent 88%);
  animation: spin 9s linear infinite;
  pointer-events: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

.flow__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 20px;
}
.flow__title .live { color: var(--ok); display: inline-flex; align-items: center; gap: 6px; }
.flow__title .live::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok);
}

.flow__track { position: relative; z-index: 1; }
.flow__svg { width: 100%; height: auto; }
.flow__svg .rail {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 2;
  stroke-dasharray: 3 7;
  stroke-linecap: round;
}
.flow__svg .beam {
  fill: none;
  stroke: url(#beamGrad);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 60 340;
  animation: beam 3.4s linear infinite;
}
@keyframes beam { to { stroke-dashoffset: -400; } }

.flow__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.flow__step { text-align: center; }
.flow__step .num {
  width: 40px; height: 40px;
  margin-inline: auto;
  display: grid; place-items: center;
  border-radius: 14px;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--violet-soft);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid var(--stroke-2);
  transition: transform var(--t-fast) var(--ease-snap), background var(--t-fast), color var(--t-fast);
}
.flow__step:hover .num { transform: translateY(-4px); background: var(--violet); color: #fff; }
.flow__step p { margin-top: 8px; font-size: 0.68rem; color: var(--muted); line-height: 1.5; }

/* عناصر طافية حول الـflow */
.float-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(20, 11, 38, 0.85);
  border: 1px solid var(--stroke-2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 26px rgba(5, 2, 12, 0.5);
  animation: bob 5s ease-in-out infinite;
}
.float-chip svg { width: 14px; height: 14px; color: var(--accent); }
.float-chip--a { top: -14px; inset-inline-start: 14px; animation-delay: 0.6s; }
.float-chip--b { bottom: 38%; inset-inline-end: 6px; animation-delay: 1.4s; max-width: 58%; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ==========================================================================
   4) عناوين الأقسام
   ========================================================================== */
.section { padding: 74px 0; position: relative; }

.sec-head { margin-bottom: 38px; }
.sec-head .kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.sec-head .kicker::before {
  content: "";
  width: 26px; height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
}
.sec-head h2 {
  margin-top: 10px;
  font-size: clamp(1.6rem, 5.4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.35;
}
.sec-head p { margin-top: 10px; color: var(--muted); max-width: 56ch; font-size: 0.95rem; }

/* ==========================================================================
   5) الباقات
   ========================================================================== */
.pkgs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(84vw, 330px);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 20px 22px;
  margin-inline: -20px;
  scrollbar-width: none;
}
.pkgs::-webkit-scrollbar { display: none; }
.pkgs > * { scroll-snap-align: center; }

.pkg {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-l);
  border: 1px solid var(--stroke);
  background: linear-gradient(165deg, var(--surface-2) 0%, var(--surface) 45%, transparent 100%);
  padding: 24px 22px;
  overflow: hidden;
  transition: transform var(--t-med) var(--ease), border-color var(--t-med), box-shadow var(--t-med);
}
.pkg:hover { transform: translateY(-6px); border-color: var(--stroke-2); box-shadow: 0 22px 50px rgba(5, 2, 12, 0.5); }
.pkg::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity var(--t-med);
}
.pkg:hover::after, .pkg.selected::after { opacity: 1; }
.pkg.selected { border-color: var(--violet); box-shadow: 0 0 0 1px var(--violet), 0 22px 55px rgba(139, 92, 246, 0.28); }

.pkg--vip { background: linear-gradient(165deg, rgba(255, 122, 41, 0.1) 0%, var(--surface) 55%); }
.pkg--vip::before {
  content: "VIP";
  position: absolute;
  top: 18px;
  inset-inline-end: -34px;
  transform: rotate(45deg);
  background: var(--grad-brand);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  padding: 5px 40px;
}

.pkg__name { font-size: 0.85rem; color: var(--muted); font-weight: 600; }

.pkg__price { margin-top: 10px; display: flex; align-items: baseline; gap: 8px; }
.pkg__price b {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pkg__price span { font-size: 0.8rem; color: var(--muted); }

.pkg__rows { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.pkg__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.82rem;
  padding: 10px 14px;
  border-radius: var(--radius-s);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--stroke);
}
.pkg__row .k { color: var(--muted); display: inline-flex; align-items: center; gap: 7px; }
.pkg__row .k svg { width: 15px; height: 15px; color: var(--violet-soft); }
.pkg__row .v { font-weight: 700; }
.pkg__row .v.green { color: var(--ok); }

.pkg__pays { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.pkg__pays .badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--stroke-2);
  color: var(--violet-soft);
  background: rgba(139, 92, 246, 0.08);
}
.pkg__pays .badge.off { color: var(--muted-2); border-color: var(--stroke); background: transparent; }

.pkg__btn { margin-top: 20px; width: 100%; }

.pkgs__dots { display: flex; justify-content: center; gap: 7px; margin-top: 4px; }
.pkgs__dots button {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--stroke);
  transition: width var(--t-med) var(--ease), background var(--t-med);
}
.pkgs__dots button.on { width: 22px; background: var(--violet); }

/* ==========================================================================
   6) كيف يعمل سهم — Timeline
   ========================================================================== */
.how { position: relative; }
.how__list { position: relative; max-width: 640px; margin-inline: auto; }

.how__line {
  position: absolute;
  top: 10px;
  bottom: 10px;
  inset-inline-start: 27px;
  width: 2px;
  background: var(--stroke);
  border-radius: 2px;
  overflow: hidden;
}
.how__line i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--grad-brand);
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 1.4s var(--ease);
}
.how__list.in .how__line i { transform: scaleY(1); }

.how__item {
  position: relative;
  display: flex;
  gap: 20px;
  padding: 22px 0;
}
.how__num {
  flex: none;
  position: relative;
  z-index: 1;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 18px;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--violet-soft);
  background: var(--bg-3);
  border: 1px solid var(--stroke-2);
  transition: transform var(--t-fast) var(--ease-snap), background var(--t-fast), color var(--t-fast);
}
.how__item:hover .how__num { transform: scale(1.08) rotate(-4deg); background: var(--violet); color: #fff; }
.how__body h3 { font-size: 1.08rem; font-weight: 800; }
.how__body p { margin-top: 5px; color: var(--muted); font-size: 0.9rem; }

/* ==========================================================================
   7) الثقة — كل التفاصيل قدامك
   ========================================================================== */
.trust__grid { display: grid; gap: 14px; }

.trust__card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border-radius: var(--radius-m);
  border: 1px solid var(--stroke);
  background: var(--surface);
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast) var(--ease);
}
.trust__card:hover { border-color: var(--stroke-2); background: var(--surface-2); transform: translateY(-3px); }

.trust__check {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.3);
}
.trust__check svg { width: 22px; height: 22px; }
.trust__check svg path {
  stroke: var(--ok);
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
}
.in .trust__check svg path { animation: check 0.7s var(--ease) forwards; animation-delay: var(--cd, 0.2s); }
@keyframes check { to { stroke-dashoffset: 0; } }

.trust__card h3 { font-size: 0.98rem; font-weight: 800; }
.trust__card p { margin-top: 4px; font-size: 0.85rem; color: var(--muted); }

/* ==========================================================================
   8) طرق الدفع
   ========================================================================== */
.pays__grid { display: grid; gap: 16px; }

.pay-card {
  position: relative;
  border-radius: var(--radius-l);
  border: 1px solid var(--stroke);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  padding: 28px 24px;
  overflow: hidden;
  transition: transform var(--t-med) var(--ease), border-color var(--t-med);
}
.pay-card:hover { transform: translateY(-5px); border-color: var(--stroke-2); }

.pay-card__logo {
  display: inline-grid;
  place-items: center;
  min-width: 92px;
  height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}
.pay-card--tabby .pay-card__logo { background: #3effc3; color: #06281d; }
.pay-card--tamara .pay-card__logo { background: #1f1b4d; color: #ffd88a; border: 1px solid rgba(255, 216, 138, 0.35); }

.pay-card h3 { margin-top: 16px; font-size: 1.15rem; font-weight: 800; }
.pay-card > p { margin-top: 6px; color: var(--muted); font-size: 0.88rem; }

.pay-card__chips { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.pay-card__chips span {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}
.pay-card__note {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: var(--muted);
}
.pay-card__note svg { width: 15px; height: 15px; color: var(--accent); flex: none; }

/* ==========================================================================
   9) الشركاء
   ========================================================================== */
.partners__strip {
  display: grid;
  gap: 14px;
}
.partner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border-radius: var(--radius-m);
  border: 1px dashed var(--stroke-2);
  background: rgba(139, 92, 246, 0.05);
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast) var(--ease);
}
.partner:hover { background: rgba(139, 92, 246, 0.1); transform: translateX(-4px); }
.partner__badge {
  flex: none;
  display: grid;
  place-items: center;
  min-width: 84px;
  height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1rem;
}
.partner--tabby .partner__badge { background: #3effc3; color: #06281d; }
.partner--tamara .partner__badge { background: #1f1b4d; color: #ffd88a; border: 1px solid rgba(255, 216, 138, 0.35); }
.partner h3 { font-size: 0.95rem; font-weight: 800; }
.partner p { font-size: 0.8rem; color: var(--muted); margin-top: 2px; }

/* ==========================================================================
   10) الأسئلة الشائعة
   ========================================================================== */
.faq { max-width: 780px; margin-inline: auto; }

.faq__item {
  position: relative;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-m);
  background: var(--surface);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.faq__item.open { border-color: var(--stroke-2); background: var(--surface-2); }

.faq__item::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--grad-brand);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--t-med) var(--ease);
}
.faq__item.open::before { transform: scaleY(1); }

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  text-align: start;
}
.faq__q .no {
  font-size: 1.3rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px var(--violet-soft);
  flex: none;
  transition: color var(--t-fast);
}
.faq__item.open .faq__q .no { color: var(--violet-soft); -webkit-text-stroke: 0; }
.faq__q h3 { flex: 1; font-size: 0.98rem; font-weight: 700; }
.faq__q .ico {
  flex: none;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--stroke);
  transition: transform var(--t-med) var(--ease), background var(--t-fast), border-color var(--t-fast);
}
.faq__q .ico svg { width: 15px; height: 15px; }
.faq__item.open .faq__q .ico { transform: rotate(45deg); background: var(--violet); border-color: var(--violet); }

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-med) var(--ease);
}
.faq__a p {
  padding: 0 22px 22px;
  padding-inline-start: 70px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ==========================================================================
   11) CTA النهائي
   ========================================================================== */
.cta-band {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: 54px 26px;
  text-align: center;
  background: var(--grad-brand);
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(340px 240px at 80% 10%, rgba(255, 255, 255, 0.22), transparent 60%),
    radial-gradient(300px 260px at 10% 90%, rgba(13, 7, 24, 0.4), transparent 60%);
}
.cta-band h2 { font-size: clamp(1.6rem, 6vw, 2.6rem); font-weight: 800; color: #fff; }
.cta-band p { margin: 12px auto 26px; max-width: 46ch; color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; }
.cta-band .btn--primary {
  background: #fff;
  color: var(--violet-deep);
  box-shadow: 0 12px 34px rgba(13, 7, 24, 0.35);
}

/* ==========================================================================
   12) الفوتر
   ========================================================================== */
.footer {
  margin-top: 60px;
  border-top: 1px solid var(--stroke);
  background:
    radial-gradient(500px 260px at 50% 0%, rgba(139, 92, 246, 0.1), transparent 65%),
    var(--bg-2);
  padding: 56px 0 30px;
}

.footer__grid { display: grid; gap: 34px; }

.footer__brand p { margin-top: 14px; color: var(--muted); font-size: 0.86rem; max-width: 34ch; }
.footer__social { margin-top: 18px; display: flex; gap: 10px; }
.footer__social a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 13px;
  border: 1px solid var(--stroke);
  background: var(--surface);
  color: var(--muted);
  transition: color var(--t-fast), border-color var(--t-fast), transform var(--t-fast) var(--ease-snap), background var(--t-fast);
}
.footer__social a:hover { color: #fff; border-color: var(--stroke-2); background: var(--violet); transform: translateY(-3px) rotate(-4deg); }
.footer__social svg { width: 18px; height: 18px; }

.footer__col h4 {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--violet-soft);
  margin-bottom: 16px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a, .footer__col li {
  font-size: 0.87rem;
  color: var(--muted);
  transition: color var(--t-fast), transform var(--t-fast) var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer__col a:hover { color: var(--text); transform: translateX(-4px); }
.footer__col a svg { width: 13px; height: 13px; color: var(--accent); }

.footer__paybadges { display: flex; gap: 10px; flex-wrap: wrap; }
.footer__paybadges span {
  display: inline-grid;
  place-items: center;
  min-width: 74px;
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 800;
}
.footer__paybadges .tabby { background: #3effc3; color: #06281d; }
.footer__paybadges .tamara { background: #1f1b4d; color: #ffd88a; border: 1px solid rgba(255, 216, 138, 0.35); }

.footer__bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--stroke);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--muted-2);
}
.footer__bottom .policies { display: flex; gap: 18px; }
.footer__bottom a:hover { color: var(--text); }

/* ==========================================================================
   13) زر واتساب العائم
   ========================================================================== */
.wa-float {
  position: fixed;
  z-index: 80;
  bottom: calc(var(--dock-h) + 26px);
  inset-inline-end: 16px;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(140deg, #25d366, #128c7e);
  color: #fff;
  box-shadow: 0 12px 30px rgba(18, 140, 126, 0.45);
  transition: transform var(--t-fast) var(--ease-snap), box-shadow var(--t-fast);
}
.wa-float:hover { transform: scale(1.1) rotate(-6deg); }
.wa-float svg { width: 26px; height: 26px; }
.wa-float::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: waRing 2.4s var(--ease) infinite;
}
@keyframes waRing {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* ==========================================================================
   14) شريط التنقل السفلي — Floating Dock
   ========================================================================== */
.dock {
  position: fixed;
  z-index: 85;
  bottom: 14px;
  inset-inline: 0;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.dock__bar {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 7px;
  border-radius: 999px;
  background: rgba(20, 11, 38, 0.78);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(5, 2, 12, 0.55);
}

.dock__pill {
  position: absolute;
  top: 7px;
  bottom: 7px;
  border-radius: 999px;
  background: var(--grad-brand);
  opacity: 0;
  transition: inset-inline-start var(--t-med) var(--ease-snap), width var(--t-med) var(--ease-snap), opacity var(--t-fast);
  z-index: 0;
}
.dock__pill.on { opacity: 1; }

.dock__item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 66px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 700;
  transition: color var(--t-fast);
  -webkit-tap-highlight-color: transparent;
}
.dock__item svg { width: 20px; height: 20px; transition: transform var(--t-fast) var(--ease-snap); }
.dock__item.on { color: #fff; }
.dock__item.on svg { transform: translateY(-1px) scale(1.08); }

/* ==========================================================================
   15) نافذة الطلب — Order Sheet
   ========================================================================== */
.sheet-wrap {
  position: fixed;
  inset: 0;
  z-index: 130;
  visibility: hidden;
}
.sheet-wrap.open { visibility: visible; }

.sheet-wrap__scrim {
  position: absolute;
  inset: 0;
  background: rgba(8, 4, 16, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity var(--t-med) var(--ease);
}
.sheet-wrap.open .sheet-wrap__scrim { opacity: 1; }

.sheet {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  max-height: 92dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--stroke-2);
  border-bottom: 0;
  border-radius: 30px 30px 0 0;
  transform: translateY(105%);
  transition: transform var(--t-med) var(--ease);
  overflow: hidden;
}
.sheet-wrap.open .sheet { transform: translateY(0); }

.sheet__grip {
  flex: none;
  padding: 12px 0 6px;
  display: grid;
  place-items: center;
}
.sheet__grip i { width: 44px; height: 5px; border-radius: 999px; background: var(--stroke); display: block; }

.sheet__head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 20px 14px;
}
.sheet__head h3 { font-size: 1.05rem; font-weight: 800; }
.sheet__close {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--stroke);
  background: var(--surface);
  transition: transform var(--t-fast) var(--ease-snap), background var(--t-fast);
}
.sheet__close:hover { transform: rotate(90deg); background: var(--surface-2); }
.sheet__close svg { width: 16px; height: 16px; }

/* مؤشر التقدم */
.osteps {
  flex: none;
  display: flex;
  gap: 6px;
  padding: 0 20px 16px;
}
.osteps__seg { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.osteps__seg i {
  height: 4px;
  border-radius: 999px;
  background: var(--stroke);
  overflow: hidden;
  display: block;
  position: relative;
}
.osteps__seg i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-med) var(--ease);
}
.osteps__seg.done i::after, .osteps__seg.now i::after { transform: scaleX(1); }
.osteps__seg span {
  font-size: 0.62rem;
  color: var(--muted-2);
  font-weight: 600;
  text-align: center;
  transition: color var(--t-fast);
}
.osteps__seg.now span { color: var(--text); }
.osteps__seg.done span { color: var(--violet-soft); }

/* جسم النافذة */
.sheet__body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 4px 20px 20px;
  overscroll-behavior: contain;
}

.ostep { display: none; }
.ostep.active { display: block; animation: stepIn var(--t-med) var(--ease); }
.ostep.leave { animation: stepOut 0.25s var(--ease); }
@keyframes stepIn {
  from { opacity: 0; transform: translateX(-26px); }
  to { opacity: 1; transform: none; }
}
@keyframes stepOut {
  from { opacity: 1; transform: none; }
  to { opacity: 0; transform: translateX(26px); }
}

.ostep h4 { font-size: 1rem; font-weight: 800; margin-bottom: 4px; }
.ostep .hint { font-size: 0.8rem; color: var(--muted); margin-bottom: 18px; }

/* بطاقة الباقة داخل الطلب */
.osel-pkg {
  border: 1px solid var(--stroke-2);
  background: linear-gradient(150deg, rgba(139, 92, 246, 0.12), var(--surface));
  border-radius: var(--radius-m);
  padding: 18px;
  display: grid;
  gap: 12px;
}
.osel-pkg__top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.osel-pkg__top b { font-size: 0.9rem; color: var(--muted); font-weight: 600; }
.osel-pkg__top .p {
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.osel-pkg__rows { display: grid; gap: 8px; }
.osel-pkg__rows div {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  padding: 9px 13px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--stroke);
}
.osel-pkg__rows .k { color: var(--muted); }
.osel-pkg__rows .v { font-weight: 700; }

.opkg-switch { margin-top: 14px; }
.opkg-switch summary {
  cursor: pointer;
  font-size: 0.78rem;
  color: var(--violet-soft);
  font-weight: 700;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.opkg-switch summary::-webkit-details-marker { display: none; }
.opkg-switch__list { margin-top: 10px; display: grid; gap: 8px; }
.opkg-switch__list button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: var(--surface);
  font-size: 0.8rem;
  font-weight: 600;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.opkg-switch__list button:hover { border-color: var(--stroke-2); background: var(--surface-2); }
.opkg-switch__list button.now { border-color: var(--violet); }
.opkg-switch__list button .p { font-weight: 800; color: var(--violet-soft); }

/* بلاطات الدفع */
.pay-tiles { display: grid; gap: 12px; }

.pay-tile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-align: start;
  padding: 18px;
  border-radius: var(--radius-m);
  border: 1.5px solid var(--stroke);
  background: var(--surface);
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast) var(--ease), box-shadow var(--t-fast), opacity var(--t-fast);
}
.pay-tile:not(:disabled):hover { border-color: var(--stroke-2); background: var(--surface-2); transform: translateY(-2px); }
.pay-tile:disabled { opacity: 0.55; cursor: not-allowed; }

.pay-tile.on {
  border-color: var(--violet);
  background: rgba(139, 92, 246, 0.1);
  box-shadow: 0 0 0 1px var(--violet), 0 12px 34px rgba(139, 92, 246, 0.25);
  animation: glowPulse 2.2s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 0 1px var(--violet), 0 12px 30px rgba(139, 92, 246, 0.22); }
  50% { box-shadow: 0 0 0 1px var(--violet-soft), 0 12px 44px rgba(139, 92, 246, 0.42); }
}

.pay-tile__logo {
  flex: none;
  display: grid;
  place-items: center;
  min-width: 74px;
  height: 42px;
  padding: 0 13px;
  border-radius: 11px;
  font-weight: 800;
  font-size: 0.95rem;
}
.pay-tile--tabby .pay-tile__logo { background: #3effc3; color: #06281d; }
.pay-tile--tamara .pay-tile__logo { background: #1f1b4d; color: #ffd88a; border: 1px solid rgba(255, 216, 138, 0.35); }

.pay-tile__body { flex: 1; min-width: 0; }
.pay-tile__body b { display: block; font-size: 0.92rem; font-weight: 800; }
.pay-tile__body small { display: block; font-size: 0.72rem; color: var(--muted); margin-top: 2px; }

.pay-tile__check {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid var(--stroke);
  display: grid; place-items: center;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast) var(--ease-snap);
}
.pay-tile__check svg { width: 13px; height: 13px; opacity: 0; transform: scale(0.4); transition: opacity var(--t-fast), transform var(--t-fast) var(--ease-snap); }
.pay-tile.on .pay-tile__check { background: var(--violet); border-color: var(--violet); transform: scale(1.1); }
.pay-tile.on .pay-tile__check svg { opacity: 1; transform: scale(1); }

.pay-tile__lock {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  color: var(--muted-2);
}
.pay-tile__lock svg { width: 16px; height: 16px; }
.pay-tile__why {
  flex-basis: 100%;
  font-size: 0.7rem;
  color: var(--warn);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: -4px;
}
.pay-tile__why svg { width: 13px; height: 13px; flex: none; }

/* شرائح الدفعات */
.inst-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }

.inst {
  position: relative;
  padding: 16px 14px;
  border-radius: var(--radius-s);
  border: 1.5px solid var(--stroke);
  background: var(--surface);
  text-align: center;
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast) var(--ease-snap), box-shadow var(--t-fast);
}
.inst:hover { border-color: var(--stroke-2); transform: translateY(-2px); }
.inst.on {
  border-color: var(--accent);
  background: rgba(255, 122, 41, 0.09);
  box-shadow: 0 0 0 1px var(--accent), 0 10px 26px rgba(255, 122, 41, 0.2);
}
.inst .n { font-size: 1.4rem; font-weight: 800; line-height: 1.2; }
.inst .l { font-size: 0.66rem; color: var(--muted); }
.inst .per {
  margin-top: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--violet-soft);
}
.inst.on .per { color: var(--accent-soft); }

.inst__first {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  color: var(--muted);
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px dashed var(--stroke-2);
  background: rgba(139, 92, 246, 0.06);
}
.inst__first svg { width: 16px; height: 16px; color: var(--violet-soft); flex: none; }

/* الملخص */
.sum {
  border-radius: var(--radius-m);
  border: 1px solid var(--stroke-2);
  background: linear-gradient(160deg, rgba(139, 92, 246, 0.1), var(--surface));
  padding: 20px;
  display: grid;
  gap: 12px;
}
.sum__title { font-size: 0.95rem; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.sum__title svg { width: 17px; height: 17px; color: var(--accent); }
.sum__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 0.84rem;
  animation: sumIn var(--t-med) var(--ease);
}
@keyframes sumIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.sum__row .k { color: var(--muted); }
.sum__row .v { font-weight: 700; }
.sum__row--total {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px dashed var(--stroke-2);
}
.sum__row--total .v {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sheet__foot {
  flex: none;
  display: flex;
  gap: 10px;
  padding: 14px 20px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--stroke);
  background: var(--bg-2);
}
.sheet__foot .btn { flex: 1; padding: 14px 18px; font-size: 0.92rem; }
.sheet__foot .btn--back { flex: 0 0 auto; width: 52px; padding: 0; border: 1px solid var(--stroke); background: var(--surface); }
.sheet__foot .btn--back svg { width: 18px; height: 18px; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none !important; box-shadow: none; }

/* ==========================================================================
   16) أنيميشن تأكيد الطلب
   ========================================================================== */
.confirm {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  background: rgba(8, 4, 16, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-med) var(--ease), visibility var(--t-med);
}
.confirm.show { opacity: 1; visibility: visible; }

.confirm__box { width: min(340px, calc(100vw - 48px)); text-align: center; }
.confirm__ring {
  width: 84px; height: 84px;
  margin-inline: auto;
  border-radius: 26px;
  display: grid; place-items: center;
  background: var(--grad-brand);
  box-shadow: 0 18px 55px rgba(139, 92, 246, 0.5);
  animation: introPop 0.55s var(--ease-snap) both;
}
.confirm__ring svg { width: 40px; height: 40px; color: #fff; }

.confirm__lines { margin-top: 26px; display: grid; gap: 10px; }
.confirm__lines li {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  font-size: 0.88rem;
  color: var(--muted-2);
  opacity: 0.35;
  transform: translateY(6px);
  transition: opacity var(--t-med), transform var(--t-med) var(--ease), color var(--t-med);
}
.confirm__lines li.on { opacity: 1; transform: none; color: var(--text); }
.confirm__lines li .c {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid var(--stroke);
  display: grid; place-items: center;
  flex: none;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.confirm__lines li .c svg { width: 10px; height: 10px; opacity: 0; }
.confirm__lines li.on .c { background: var(--ok); border-color: var(--ok); }
.confirm__lines li.on .c svg { opacity: 1; color: #06281d; }

.confirm__bar {
  margin-top: 24px;
  height: 5px;
  border-radius: 999px;
  background: var(--stroke);
  overflow: hidden;
}
.confirm__bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--grad-brand);
  transition: width 0.5s var(--ease);
}

/* ==========================================================================
   17) الصفحات الداخلية
   ========================================================================== */
.page-hero {
  position: relative;
  padding: 150px 0 60px;
  overflow: hidden;
}
.page-hero__no {
  position: absolute;
  top: 90px;
  inset-inline-end: -10px;
  font-size: clamp(6rem, 22vw, 13rem);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(139, 92, 246, 0.22);
  pointer-events: none;
  user-select: none;
}
.page-hero h1 {
  margin-top: 14px;
  font-size: clamp(2rem, 7.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.3;
}
.page-hero h1 .hl {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-hero p { margin-top: 14px; color: var(--muted); max-width: 52ch; font-size: 0.98rem; }

.prose { display: grid; gap: 16px; max-width: 760px; }
.prose p { color: var(--muted); font-size: 0.94rem; }
.prose b { color: var(--text); }

.info-card {
  border: 1px solid var(--stroke);
  border-radius: var(--radius-m);
  background: var(--surface);
  padding: 24px;
}
.info-card h3 { font-size: 1.02rem; font-weight: 800; margin-bottom: 8px; }
.info-card p { color: var(--muted); font-size: 0.88rem; }

/* جدول الدفعات في صفحة طرق الدفع */
.ptable { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
.ptable th, .ptable td { padding: 11px 12px; text-align: start; border-bottom: 1px solid var(--stroke); }
.ptable th { color: var(--violet-soft); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.06em; }
.ptable td b { color: var(--text); }
.ptable tr:last-child td { border-bottom: 0; }
.ptable .off { color: var(--muted-2); }
.table-scroll { overflow-x: auto; border: 1px solid var(--stroke); border-radius: var(--radius-m); background: var(--surface); }

/* ==========================================================================
   18) استجابة الشاشات الكبيرة
   ========================================================================== */
@media (min-width: 720px) {
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .pays__grid { grid-template-columns: repeat(2, 1fr); }
  .partners__strip { grid-template-columns: repeat(2, 1fr); }
  .inst-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 960px) {
  body { padding-bottom: 40px; }

  .head__nav { display: flex; }
  .head__cta { display: inline-flex; }
  .head__menu { display: none; }

  .hero { padding: 170px 0 90px; }
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 60px; }

  /* شبكة الباقات المختلفة على الكمبيوتر */
  .pkgs {
    grid-auto-flow: row;
    grid-auto-columns: unset;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    scroll-snap-type: none;
    padding: 6px 0 10px;
    margin-inline: 0;
  }
  .pkg:first-child { grid-column: span 2; flex-direction: row; align-items: center; gap: 34px; }
  .pkg:first-child .pkg__main { flex: 1; }
  .pkg:first-child .pkg__rows { flex: 1; margin-top: 0; }
  .pkg:first-child .pkg__btn { width: auto; margin-top: 16px; padding-inline: 34px; }
  .pkgs__dots { display: none; }

  .how__list { max-width: 720px; }

  .dock { display: none; }
  .wa-float { bottom: 26px; inset-inline-end: 26px; width: 58px; height: 58px; }

  /* النافذة على الكمبيوتر: Side Panel */
  .sheet {
    inset-inline-start: auto;
    inset-inline-end: 0;
    top: 0;
    bottom: 0;
    width: min(460px, 100vw);
    max-height: none;
    border-radius: 30px 0 0 30px;
    border: 1px solid var(--stroke-2);
    border-inline-end: 0;
    transform: translateX(-105%);
  }
  [dir="rtl"] .sheet { transform: translateX(-105%); }
  .sheet-wrap.open .sheet { transform: translateX(0); }
  .sheet__grip { display: none; }
  .sheet__head { padding-top: 20px; }

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

@media (min-width: 1200px) {
  .pkg:first-child { grid-column: span 2; }
}

/* ==========================================================================
   20) كتل محتوى السيولة والتقسيط (SEO)
   ========================================================================== */
.seo-blocks { display: grid; gap: 16px; }
.seo-block {
  border: 1px solid var(--stroke);
  border-radius: var(--radius-m);
  background: var(--surface);
  padding: 26px 24px;
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast) var(--ease);
}
.seo-block:hover { border-color: var(--stroke-2); background: var(--surface-2); transform: translateY(-3px); }
.seo-block h2 { font-size: 1.12rem; font-weight: 800; margin-bottom: 8px; }
.seo-block p { color: var(--muted); font-size: 0.9rem; }
.seo-block b { color: var(--text); }
.seo-block a {
  color: var(--violet-soft);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color var(--t-fast);
}
.seo-block a:hover { color: var(--accent-soft); }

@media (min-width: 960px) {
  .seo-blocks { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   21) تقليل الحركة
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .intro { display: none; }
}
