/* =============================================================
   s.soft — ملف ستايل واحد يخدم كل اللغات والاتجاهين ووضعين للألوان.
   الاتجاه يأتي من <html dir>، والوضع من <html data-theme> أو من الجهاز.
   ============================================================= */

/* ---------- الوضع الفاتح (الافتراضي) ---------- */
:root,
:root[data-theme='light'] {
  --bg: #ffffff;
  --bg-soft: #f5f8fd;
  --surface: #ffffff;
  --surface-2: #f8fafe;
  --ink: #0a1020;
  --ink-2: #3d4b63;
  --muted: #6b7892;
  --line: #e5eaf4;
  --line-2: #d3dcec;
  --brand: #1f4fe0;
  --brand-ink: #1740b8;
  --brand-soft: rgba(31, 79, 224, .09);
  --brand-dot: #1f4fe0;
  --accent: #0ea68d;
  --wa: #1fa855;
  --wa-ink: #15803d;
  --shadow-s: 0 1px 2px rgba(10, 16, 32, .05);
  --shadow-m: 0 2px 6px rgba(10, 16, 32, .05), 0 12px 28px rgba(10, 16, 32, .07);
  --shadow-l: 0 8px 20px rgba(10, 16, 32, .08), 0 30px 60px rgba(10, 16, 32, .10);
  --glow-1: rgba(31, 79, 224, .16);
  --glow-2: rgba(14, 166, 141, .13);
  --grid: rgba(10, 16, 32, .045);
}

/* ---------- الوضع الداكن ---------- */
/* الكتلة مكرّرة عمدًا: مرة لاختيار المستخدم ومرة لإعداد الجهاز. */
:root[data-theme='dark'] {
  --bg: #070c16;
  --bg-soft: #0b1322;
  --surface: #0e1829;
  --surface-2: #121e32;
  --ink: #e9eef9;
  --ink-2: #b6c3d9;
  --muted: #8695ad;
  --line: #1d2a40;
  --line-2: #2a3a55;
  --brand: #6d97ff;
  --brand-ink: #a9c4ff;
  --brand-soft: rgba(109, 151, 255, .14);
  --brand-dot: #6d97ff;
  --accent: #2fd9bd;
  --wa: #25b35f;
  --wa-ink: #34d07a;
  --shadow-s: 0 1px 2px rgba(0, 0, 0, .5);
  --shadow-m: 0 2px 8px rgba(0, 0, 0, .45), 0 14px 34px rgba(0, 0, 0, .40);
  --shadow-l: 0 10px 26px rgba(0, 0, 0, .5), 0 36px 70px rgba(0, 0, 0, .45);
  --glow-1: rgba(109, 151, 255, .20);
  --glow-2: rgba(47, 217, 189, .13);
  --grid: rgba(255, 255, 255, .05);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #070c16;
    --bg-soft: #0b1322;
    --surface: #0e1829;
    --surface-2: #121e32;
    --ink: #e9eef9;
    --ink-2: #b6c3d9;
    --muted: #8695ad;
    --line: #1d2a40;
    --line-2: #2a3a55;
    --brand: #6d97ff;
    --brand-ink: #a9c4ff;
    --brand-soft: rgba(109, 151, 255, .14);
    --brand-dot: #6d97ff;
    --accent: #2fd9bd;
    --wa: #25b35f;
    --wa-ink: #34d07a;
    --shadow-s: 0 1px 2px rgba(0, 0, 0, .5);
    --shadow-m: 0 2px 8px rgba(0, 0, 0, .45), 0 14px 34px rgba(0, 0, 0, .40);
    --shadow-l: 0 10px 26px rgba(0, 0, 0, .5), 0 36px 70px rgba(0, 0, 0, .45);
    --glow-1: rgba(109, 151, 255, .20);
    --glow-2: rgba(47, 217, 189, .13);
    --grid: rgba(255, 255, 255, .05);
  }
}

:root {
  --radius: 18px;
  --radius-s: 12px;
  --radius-xs: 9px;
  --wrap: 1140px;
  --font: 'Segoe UI', 'Noto Sans Arabic', 'Noto Naskh Arabic', Tahoma, system-ui, -apple-system, sans-serif;
  --mono: 'Cascadia Mono', Consolas, ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[dir='rtl'] body { line-height: 1.95; }

img, svg { max-width: 100%; }
a { color: var(--brand-ink); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 1.15rem + 3.4vw, 3.5rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.1rem); letter-spacing: -.02em; }
h3 { font-size: 1.14rem; }
p { margin: 0 0 1em; }
html[dir='rtl'] h1, html[dir='rtl'] h2 { letter-spacing: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.section { padding-block: clamp(54px, 7vw, 96px); }
.narrow { max-width: 840px; }
.center { text-align: center; }
.center-text { margin-inline: auto; max-width: 62ch; }
.muted { color: var(--muted); }

.skip {
  position: absolute; inset-inline-start: -9999px; top: 0; z-index: 60;
  background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 0 0 var(--radius-xs) 0;
}
.skip:focus { inset-inline-start: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 8px; }

/* ---------- ظهور تدريجي عند التمرير ---------- */
[data-reveal] { opacity: 0; transform: translateY(16px); }
[data-reveal].is-in { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s cubic-bezier(.22, .8, .3, 1); }
.no-motion [data-reveal] { opacity: 1; transform: none; }

/* =============================================================
   الهيدر
   ============================================================= */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  border-block-end: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.site-head.is-stuck { border-block-end-color: var(--line); background: color-mix(in srgb, var(--bg) 92%, transparent); }
.head-row { display: flex; align-items: center; gap: 14px; min-height: 68px; position: relative; }

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-weight: 700; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 34px; height: 34px; flex: none; color: var(--ink); display: block; }
.brand:hover .brand-mark { color: var(--brand-ink); }
.brand-name { font-size: 1.2rem; letter-spacing: -.025em; direction: ltr; unicode-bidi: isolate; }
.dot { color: var(--brand-dot); }

.nav { margin-inline-start: auto; }
.nav-links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
/* روابط لاتينية بحروف صغيرة، على نسق الاسم s.soft. لا أثر لها على العربية. */
.nav-links a {
  display: block; color: var(--ink-2); font-size: .97rem; font-weight: 500; text-transform: lowercase;
  padding: 7px 13px; border-radius: 999px; transition: background .15s ease, color .15s ease;
}
.nav-links a:hover { text-decoration: none; background: var(--surface-2); color: var(--ink); }
.nav-links a[aria-current='page'] { color: var(--brand-ink); background: var(--brand-soft); font-weight: 600; }

.head-tools { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 38px; height: 38px; padding: 0 10px;
  background: transparent; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 10px;
  font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.icon-btn:hover { border-color: var(--line-2); color: var(--ink); background: var(--surface-2); }
.icon-btn .ico { width: 18px; height: 18px; }

/* مبدّل الوضع */
.theme-btn .ico-moon { display: none; }
:root[data-theme='dark'] .theme-btn .ico-moon { display: block; }
:root[data-theme='dark'] .theme-btn .ico-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .theme-btn .ico-moon { display: block; }
  :root:not([data-theme='light']) .theme-btn .ico-sun { display: none; }
}

/* قائمة اللغات */
.lang-wrap { position: relative; }
.lang-code { text-transform: uppercase; letter-spacing: .03em; }
.lang-menu {
  position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 50;
  min-width: 170px; margin: 0; padding: 6px; list-style: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s);
  box-shadow: var(--shadow-l);
}
.lang-menu[hidden] { display: none; }
.lang-menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 9px 12px; border-radius: 8px; color: var(--ink-2); font-size: .95rem;
}
.lang-menu a:hover { text-decoration: none; background: var(--surface-2); color: var(--ink); }
.lang-menu a[aria-current='true'] { color: var(--brand-ink); font-weight: 600; background: var(--brand-soft); }
.lang-menu .tick { opacity: 0; }
.lang-menu a[aria-current='true'] .tick { opacity: 1; }

.nav-toggle {
  display: none; width: 40px; height: 38px; flex-direction: column; justify-content: center; gap: 4px;
  padding: 0 9px; background: transparent; border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: flex; order: 3; }
  .head-tools { margin-inline-start: auto; order: 2; }
  .nav {
    order: 4; width: 100%; margin: 0;
    display: none; padding-block: 6px 16px;
  }
  .nav.open { display: block; }
  .head-row { flex-wrap: wrap; }
  .nav-links { flex-direction: column; gap: 2px; }
  .nav-links a { padding: 12px 14px; border-radius: var(--radius-xs); font-size: 1.02rem; }
}

/* =============================================================
   الأزرار
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 1rem; cursor: pointer; white-space: nowrap;
  transition: transform .14s cubic-bezier(.22,.8,.3,1), box-shadow .14s ease, background .14s ease, border-color .14s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 9px 16px; font-size: .92rem; }
.btn.block { width: 100%; margin-block-end: 9px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 2px 10px var(--glow-1); }
.btn-primary:hover { background: var(--brand-ink); color: #fff; box-shadow: 0 8px 22px var(--glow-1); }
:root[data-theme='dark'] .btn-primary { color: #06101f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .btn-primary { color: #06101f; } }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink-2); background: var(--surface-2); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 2px 10px rgba(31, 168, 85, .25); }
.btn-wa:hover { background: var(--wa-ink); color: #fff; box-shadow: 0 8px 22px rgba(31, 168, 85, .3); }
.cta-row { display: flex; flex-wrap: wrap; gap: 13px; align-items: center; }
.center .cta-row { justify-content: center; }

.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico.sm { width: 16px; height: 16px; }
.btn-wa .ico, .ico-wa { fill: currentColor; stroke: none; }

/* =============================================================
   الهيرو
   ============================================================= */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 110px); background: var(--bg-soft); }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 440px at 78% -12%, var(--glow-1), transparent 62%),
    radial-gradient(620px 380px at 8% 108%, var(--glow-2), transparent 66%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(760px 420px at 50% 20%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(760px 420px at 50% 20%, #000, transparent 78%);
}
.hero > .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: clamp(32px, 5vw, 56px); grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { display: none; } }

.kicker {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px;
  font-size: .87rem; font-weight: 600; color: var(--brand-ink);
  background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
  padding: 6px 15px; border-radius: 999px;
}
.kicker .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.hero h1 { max-width: 16ch; margin-block-end: .35em; }
.lede { font-size: 1.1rem; color: var(--ink-2); max-width: 60ch; }
.hero .cta-row { margin-block: 28px 0; }

.trust { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; margin: 30px 0 0; padding: 0; }
.trust li { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: .94rem; font-weight: 600; }
.trust .ico { color: var(--accent); stroke-width: 2.6; }

/* لوحة زخرفية: نافذة مجرّدة فيها المنصّات */
.hero-visual { position: relative; }
.win {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-l); overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
}
html[dir='rtl'] .win { transform: perspective(1400px) rotateY(6deg) rotateX(2deg); }
.win-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-block-end: 1px solid var(--line); background: var(--surface-2); }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); display: block; }
.win-body { padding: 20px; display: grid; gap: 14px; }
.sk { height: 10px; border-radius: 999px; background: var(--line); }
.sk.w70 { width: 70%; } .sk.w45 { width: 45%; } .sk.w90 { width: 90%; }
.sk.brand { background: linear-gradient(90deg, var(--brand), var(--accent)); opacity: .85; }
.bars { display: flex; align-items: flex-end; gap: 9px; height: 84px; margin-block-start: 4px; }
.bars span { flex: 1; border-radius: 6px 6px 3px 3px; background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); }
.bars span:nth-child(2) { background: var(--brand); border-color: var(--brand); }
.bars span:nth-child(4) { background: color-mix(in srgb, var(--accent) 70%, transparent); border-color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 20px; }
.chips span {
  font-size: .82rem; font-weight: 600; color: var(--ink-2);
  background: var(--surface-2); border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px;
}

/* =============================================================
   الأقسام والبطاقات
   ============================================================= */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .86rem; font-weight: 700; letter-spacing: .01em; text-transform: lowercase;
  color: var(--brand-ink); margin: 0 0 10px;
}
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-dot); flex: none; }
html[dir='rtl'] .eyebrow { letter-spacing: 0; text-transform: none; font-size: .9rem; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-block-end: 8px; }
.section-head h2 { margin-block-end: .2em; }
.more { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .95rem; }
.more .ico { transition: transform .15s ease; }
html[dir='rtl'] .more .ico { transform: scaleX(-1); }
.more:hover .ico { transform: translateX(3px); }
html[dir='rtl'] .more:hover .ico { transform: scaleX(-1) translateX(3px); }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); margin-block-start: 26px; }
/* بطاقة واحدة لا تُمدّ على عرض الصفحة */
.grid:has(> :only-child) { grid-template-columns: minmax(0, 440px); }

.card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column;
  transition: transform .18s cubic-bezier(.22,.8,.3,1), box-shadow .18s ease, border-color .18s ease;
}
.card::before {
  content: ''; position: absolute; inset-inline: 22px; top: -1px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent)); opacity: 0; transition: opacity .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: var(--line-2); }
.card:hover::before { opacity: 1; }
.card h3 { margin-block-end: .4em; }
.card h3 a { color: inherit; }
.card h3 a:hover { color: var(--brand-ink); text-decoration: none; }
.card p { color: var(--ink-2); font-size: .98rem; }
.card-top { display: flex; gap: 8px; flex-wrap: wrap; margin-block-end: 14px; }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: auto; padding-block-start: 18px; }

.service .ico-box {
  display: grid; place-items: center; width: 46px; height: 46px; margin-block-end: 16px;
  border-radius: 13px; background: var(--brand-soft); color: var(--brand-ink);
  border: 1px solid color-mix(in srgb, var(--brand) 18%, transparent);
}
.service:hover .ico-box { background: var(--brand); color: #fff; border-color: var(--brand); }

.tag { display: inline-block; font-size: .78rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--ink); color: var(--bg); letter-spacing: .01em; }
.tag-soft { background: transparent; color: var(--muted); border: 1px solid var(--line); font-weight: 600; }

.price { font-weight: 700; font-size: 1.08rem; margin-block: 8px 0; }
.price.big { font-size: 1.55rem; margin-block-end: 18px; }
.note { color: var(--muted); font-size: .9rem; margin-block-start: 20px; }

/* =============================================================
   الشريط والخطوات
   ============================================================= */
.band { background: var(--bg-soft); border-block: 1px solid var(--line); padding-block: clamp(50px, 6.5vw, 86px); }
.steps { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); list-style: none; margin: 28px 0 0; padding: 0; }
.steps li { position: relative; padding-block-start: 16px; border-block-start: 2px solid var(--line); }
.steps li::before {
  content: ''; position: absolute; inset-inline-start: 0; top: -7px;
  width: 12px; height: 12px; border-radius: 50%; background: var(--brand-dot);
  box-shadow: 0 0 0 4px var(--bg);
}
.step-n {
  display: inline-grid; place-items: center; width: 28px; height: 28px; margin-block-end: 10px;
  border-radius: 9px; background: var(--brand-soft); color: var(--brand-ink); font-weight: 700; font-size: .9rem;
}
.steps h3 { margin-block-end: .25em; font-size: 1.05rem; }
.steps p { color: var(--ink-2); font-size: .95rem; margin: 0; }

/* =============================================================
   صفحة البرنامج
   ============================================================= */
.detail { display: grid; gap: 36px; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); align-items: start; }
@media (max-width: 900px) { .detail { grid-template-columns: 1fr; } .buy { position: static; } }

.back { display: inline-flex; align-items: center; gap: 6px; font-size: .95rem; font-weight: 600; }
.checks { list-style: none; margin: 0 0 1.6em; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink-2); }
.checks .ico { color: var(--accent); stroke-width: 2.6; margin-block-start: 6px; }

.callout {
  background: var(--surface-2); border: 1px solid var(--line); border-inline-start: 3px solid var(--muted);
  border-radius: var(--radius-s); padding: 20px 24px;
}
.callout h2 { font-size: 1.05rem; margin-block-end: .4em; }
.callout p { margin: 0; color: var(--ink-2); font-size: .97rem; }

.buy {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; position: sticky; top: 92px; box-shadow: var(--shadow-m);
}
.meta { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0 0 20px; font-size: .94rem; }
.meta dt { color: var(--muted); }
.meta dd { margin: 0; font-weight: 600; }
.buy .note { margin-block-start: 12px; }

/* =============================================================
   وسوم، صفوف، نموذج
   ============================================================= */
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 16px 0 0; padding: 0; }
.tags li { text-transform: lowercase; font-size: .82rem; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line); padding: 4px 12px; border-radius: 999px; }
.big-tags { margin-block-end: 2.2em; }
.big-tags li { font-size: .92rem; padding: 6px 15px; }
.row-item { padding-block: 24px; border-block-start: 1px solid var(--line); }
.row-item p { color: var(--ink-2); }

.channels { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
.channels li { display: flex; align-items: center; gap: 11px; font-weight: 600; }
.channels .ico { color: var(--wa-ink); }

.order-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-block-start: 12px; box-shadow: var(--shadow-m); }
.order-form h2 { margin-block-end: .2em; }
.order-form label { display: block; font-weight: 600; font-size: .93rem; margin-block: 18px 7px; }
.order-form input, .order-form textarea {
  width: 100%; padding: 12px 15px; font: inherit; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius-xs);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.order-form input:focus, .order-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.order-form textarea { resize: vertical; }
.order-form .cta-row { margin-block-start: 22px; }
.form-msg { min-height: 1.4em; margin: 14px 0 0; font-size: .93rem; color: #d92d20; }
:root[data-theme='dark'] .form-msg { color: #ff8577; }

/* =============================================================
   الفوتر
   ============================================================= */
.site-foot { border-block-start: 1px solid var(--line); background: var(--bg-soft); padding-block: 44px 34px; }
.foot-row { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); align-items: start; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; direction: ltr; }
.foot-mark { width: 28px; height: 28px; flex: none; color: var(--ink); display: block; }
.foot-row strong { font-size: 1.15rem; letter-spacing: -.025em; direction: ltr; unicode-bidi: isolate; }
.foot-row p { margin: 6px 0 0; font-size: .91rem; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-links a { color: var(--ink-2); font-size: .95rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
  .win { transform: none; }
}

/* ---- payment methods ----------------------------------------------------- */
.pay { padding-block-start: 0; }
.pay-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.pay-item {
  display: flex; gap: 15px; align-items: flex-start;
  padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-s);
  background: var(--surface);
}
.pay-ico {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--brand-soft); color: var(--brand-ink);
}
.pay-body { min-width: 0; }
.pay-body h3 { margin: 0 0 .3em; font-size: 1.05rem; }
.pay-body p { margin: 0 0 .25em; font-size: .95rem; }
.pay-num { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .02em; }
.pay-num span[dir='ltr'] { unicode-bidi: isolate; }
.copy-btn {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  font: inherit; font-size: .82rem; font-weight: 600;
  padding: 4px 11px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--surface-2); color: var(--ink-2);
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.copy-btn:hover { color: var(--ink); border-color: var(--ink-2); }
.copy-btn.is-done { color: var(--brand-ink); border-color: var(--brand); background: var(--brand-soft); }
