/* ═══════════════════════════════════════════════════════════════════════
   متجرك.شوب — أنماط صفحة البيع
   ═══════════════════════════════════════════════════════════════════════
   بدون Tailwind CDN وبدون مكتبة AOS: كانت الصفحة تحمّل ~350 كيلوبايت من
   السكربتات قبل أن تظهر بشكل صحيح. ملاحظة: .form-input في النسخة السابقة
   كانت تستعمل @apply داخل <style> عادي — لا يعمل مع CDN، فكانت حقول
   نموذج الطلب بلا تنسيق إطلاقاً.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
    --p: #ff385c;
    --p-rgb: 255 56 92;
    --bg: #ffffff;
    --bg-2: #f7f7f8;
    --surface: #ffffff;
    --line: #e8e8ec;
    --line-strong: #d6d6dc;
    --text: #0c0c0f;
    --text-2: #3b3b44;
    --muted: #6e6e7a;
    --ok: #16a34a;
    --wa: #25d366;
    --r: 20px;
    --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 32px -16px rgba(0, 0, 0, .16);
    --shadow-lg: 0 40px 100px -30px rgba(0, 0, 0, .35);
}
.dark {
    --bg: #07070a;
    --bg-2: #0e0e12;
    --surface: #121217;
    --line: #23232b;
    --line-strong: #32323c;
    --text: #fafafa;
    --text-2: #d4d4dc;
    --muted: #9c9ca8;
    --ok: #4ade80;
    --shadow: 0 0 0 1px rgba(255, 255, 255, .03);
    --shadow-lg: 0 40px 100px -30px rgba(0, 0, 0, .9);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: 'Cairo', system-ui, sans-serif; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
html[lang="en"] body { font-family: 'Inter', 'Cairo', system-ui, sans-serif; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--p); color: #fff; }
:focus-visible { outline: 2px solid var(--p); outline-offset: 3px; border-radius: 6px; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.hidden { display: none !important; }
.num { font-variant-numeric: tabular-nums; }
.accent { color: var(--p); }
.muted { color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 14px; font-weight: 800; font-size: 15px; white-space: nowrap; border: 1px solid var(--line-strong); background: var(--surface); transition: transform .15s, filter .15s, border-color .15s, background .15s; }
.btn:hover { border-color: var(--text-2); }
.btn:active { transform: scale(.98); }
.btn-lg { height: 58px; padding: 0 30px; font-size: 17px; border-radius: 16px; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 11px; }
.btn-p { background: var(--p); border-color: transparent; color: #fff; box-shadow: 0 10px 30px -10px rgb(var(--p-rgb) / .7); }
.btn-p:hover { filter: brightness(.94); border-color: transparent; }
.btn-dark { background: var(--text); color: var(--bg); border-color: transparent; }
.btn-dark:hover { filter: brightness(1.15); border-color: transparent; }
.btn-wa { background: var(--wa); color: #fff; border-color: transparent; }
.btn-block { width: 100%; }
.icon-btn { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); color: var(--text-2); transition: background .15s; }
.icon-btn:hover { background: var(--bg-2); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 800; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgb(22 163 74 / .18); }

/* ─── الشريط العلوي والرأس ─────────────────────────────────────────── */
.offer { background: var(--text); color: var(--bg); text-align: center; font-size: 14px; font-weight: 700; padding: 9px 44px; position: relative; }
.offer b { color: var(--p); }
.offer s { opacity: .55; }
.offer a { text-decoration: underline; text-underline-offset: 3px; margin-inline-start: 8px; }
.offer .x { position: absolute; top: 50%; transform: translateY(-50%); inset-inline-end: 12px; opacity: .6; width: 28px; height: 28px; }
.header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.scrolled { border-bottom-color: var(--line); }
.header-in { height: 84px; display: flex; align-items: center; gap: 16px; }
.brand img { height: 60px; width: auto; }
.nav { display: flex; gap: 4px; margin-inline-start: 24px; }
.nav a { padding: 8px 14px; border-radius: 10px; font-weight: 700; font-size: 15px; color: var(--text-2); }
.nav a:hover { background: var(--bg-2); color: var(--text); }
.header-actions { margin-inline-start: auto; display: flex; gap: 8px; align-items: center; }
.lang-btn { font-weight: 900; font-size: 13px; width: auto; padding: 0 12px; gap: 6px; }
@media (max-width: 960px) { .nav { display: none; } .brand img { height: 48px; } .header-actions .btn { padding: 0 14px; height: 42px; font-size: 14px; } }

/* ─── الهيرو ────────────────────────────────────────────────────────── */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -30% -10% auto; height: 900px; background: radial-gradient(closest-side, rgb(var(--p-rgb) / .16), transparent 70%); pointer-events: none; }
.hero::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 70%); opacity: .5; pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; text-align: center; } .hero-ctas, .hero-proof { justify-content: center; } .hero .pill { margin-inline: auto; } }
.hero h1 { font-size: clamp(36px, 5.6vw, 68px); font-weight: 900; line-height: 1.15; letter-spacing: -.02em; margin: 20px 0; }
.hero h1 .grad { background: linear-gradient(90deg, var(--p), #ff7a59); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: clamp(17px, 1.8vw, 20px); color: var(--muted); max-width: 600px; }
@media (max-width: 980px) { .hero-lead { margin-inline: auto; } }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 32px 0 24px; }
.hero-proof { display: flex; gap: 10px 22px; flex-wrap: wrap; font-size: 14px; font-weight: 700; color: var(--text-2); }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof i { color: var(--ok); }

/* مجسم الهاتف */
.device-stage { position: relative; height: 580px; }
@media (max-width: 980px) { .device-stage { height: 520px; max-width: 420px; margin: 0 auto; } }
.phone { position: absolute; inset-inline-start: 50%; top: 0; transform: translateX(50%); width: 280px; height: 570px; border-radius: 44px; background: #0b0b0e; padding: 12px; box-shadow: var(--shadow-lg), inset 0 0 0 2px #26262e; }
html[dir="ltr"] .phone { transform: translateX(-50%); }
.phone::before { content: ''; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 90px; height: 24px; border-radius: 14px; background: #000; z-index: 3; }
.screen { height: 100%; border-radius: 34px; overflow: hidden; background: #fff; color: #111; display: flex; flex-direction: column; font-size: 11px; }
.dark .screen { background: #fff; }
.scr-head { padding: 44px 14px 10px; display: flex; justify-content: space-between; align-items: center; font-weight: 900; font-size: 13px; }
.scr-head i { color: var(--p); }
.scr-hero { margin: 0 12px; border-radius: 16px; padding: 14px; background: linear-gradient(135deg, var(--p), #ff7a59); color: #fff; }
.scr-hero b { font-size: 15px; display: block; line-height: 1.3; }
.scr-hero span { font-size: 10px; opacity: .9; }
.scr-chips { display: flex; gap: 6px; padding: 10px 12px; overflow: hidden; }
.scr-chips span { padding: 3px 10px; border-radius: 999px; background: #f2f2f4; font-weight: 700; font-size: 10px; white-space: nowrap; }
.scr-chips span:first-child { background: #111; color: #fff; }
.scr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 12px; }
.scr-card { border: 1px solid #eee; border-radius: 12px; overflow: hidden; }
.scr-card .ph { aspect-ratio: 1; display: grid; place-items: center; font-size: 26px; }
.scr-card .t { padding: 6px 8px; font-weight: 800; font-size: 10px; display: flex; justify-content: space-between; }
.scr-card .t b { color: var(--p); }
.scr-cta { margin: auto 12px 14px; background: #111; color: #fff; border-radius: 12px; padding: 10px; text-align: center; font-weight: 900; font-size: 12px; }
.float { position: absolute; z-index: 4; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px; box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center; font-size: 13px; animation: bob 6s ease-in-out infinite; width: max-content; max-width: 260px; text-align: start; }
.float i.ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 18px; flex-shrink: 0; }
.float b { display: block; font-size: 14px; }
.float small { color: var(--muted); font-size: 12px; display: block; line-height: 1.5; }
.float.wa { top: 70px; inset-inline-end: -10px; }
.float.sheet { bottom: 110px; inset-inline-start: -20px; animation-delay: -2s; }
.float.money { bottom: 20px; inset-inline-end: 10px; animation-delay: -4s; }
@media (max-width: 520px) { .device-stage { height: 500px; } .float.wa { inset-inline-end: 0; top: 30px; } .float.sheet { inset-inline-start: 0; bottom: 60px; } .float.money { display: none; } .float { max-width: 200px; padding: 10px; font-size: 12px; } .float i.ic { width: 34px; height: 34px; font-size: 15px; } }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* ─── شريط المزايا المتحرك ──────────────────────────────────────────── */
.marquee { border-block: 1px solid var(--line); background: var(--bg-2); padding: 18px 0; overflow: hidden; }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: scroll 40s linear infinite; }
html[dir="ltr"] .marquee-track { animation-name: scroll-ltr; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 800; font-size: 15px; white-space: nowrap; }
.marquee-track i { color: var(--p); }
@keyframes scroll { to { transform: translateX(50%); } }
@keyframes scroll-ltr { to { transform: translateX(-50%); } }

/* ─── الأقسام ───────────────────────────────────────────────────────── */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
@media (max-width: 720px) { .section { padding: 64px 0; } }
.head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.eyebrow { display: inline-block; font-weight: 900; font-size: 14px; color: var(--p); margin-bottom: 10px; letter-spacing: .02em; }
.h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 900; line-height: 1.25; letter-spacing: -.015em; }
.head p { color: var(--muted); font-size: 18px; margin-top: 12px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }

.pv { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 820px) { .pv { grid-template-columns: 1fr; } }
.pv .card h3 { font-size: 22px; font-weight: 900; margin: 14px 0 16px; }
.pv .card li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; color: var(--text-2); }
.pv .card li i { margin-top: 6px; }
.pv .bad i { color: #ef4444; }
.pv .good { border-color: rgb(var(--p-rgb) / .4); box-shadow: 0 30px 60px -40px rgb(var(--p-rgb) / .6); }
.pv .good i { color: var(--p); }
.badge-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 22px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 980px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }
.feature { transition: transform .2s, border-color .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-3px); border-color: rgb(var(--p-rgb) / .35); box-shadow: var(--shadow); }
.feature .fi { width: 52px; height: 52px; border-radius: 16px; background: rgb(var(--p-rgb) / .1); color: var(--p); display: grid; place-items: center; font-size: 22px; margin-bottom: 18px; }
.feature h3 { font-size: 19px; font-weight: 900; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }

/* العرض المباشر */
.demo-tabs { display: inline-flex; padding: 5px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); margin-bottom: 18px; }
.demo-tabs button { padding: 9px 18px; border-radius: 10px; font-weight: 800; font-size: 14px; color: var(--muted); }
.demo-tabs button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.browser { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-lg); }
.browser-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.browser-bar .dots { display: flex; gap: 6px; }
.browser-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); }
.browser-bar .url { flex: 1; height: 30px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; color: var(--muted); display: flex; align-items: center; padding: 0 12px; direction: ltr; font-family: ui-monospace, Menlo, monospace; }
.browser iframe { width: 100%; height: 640px; border: 0; display: block; background: var(--bg); }
@media (max-width: 720px) { .browser iframe { height: 560px; } }
.demo-login { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; margin-top: 18px; font-size: 14px; }
.demo-login code { direction: ltr; padding: 6px 12px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); font-weight: 700; cursor: pointer; }

/* المقارنة */
.compare { border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; background: var(--surface); }
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 18px 20px; text-align: start; border-bottom: 1px solid var(--line); font-size: 15px; }
.compare tr:last-child td { border-bottom: 0; }
.compare th { font-size: 14px; color: var(--muted); font-weight: 800; background: var(--bg-2); }
.compare td:first-child { font-weight: 800; }
.compare .us { background: rgb(var(--p-rgb) / .06); font-weight: 800; color: var(--text); }
.compare th.us { color: var(--p); }
.compare .them { color: var(--muted); }
.compare td i { margin-inline-end: 8px; }
@media (max-width: 640px) { .compare th, .compare td { padding: 12px 10px; font-size: 13px; } }

/* الخطوات */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; }
.step::before { counter-increment: s; content: counter(s); width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-weight: 900; font-size: 20px; background: var(--text); color: var(--bg); margin-bottom: 18px; }
.step:first-child::before { background: var(--p); color: #fff; }
.step h3 { font-size: 20px; font-weight: 900; margin-bottom: 6px; }
.step p { color: var(--muted); }

/* الأسعار */
.guarantee { display: flex; gap: 18px; align-items: center; max-width: 820px; margin: 0 auto 40px; padding: 20px 24px; border-radius: var(--r); border: 1px solid rgb(22 163 74 / .35); background: rgb(22 163 74 / .07); }
.guarantee i { font-size: 28px; color: var(--ok); }
.guarantee b { display: block; font-size: 17px; }
.guarantee p { color: var(--text-2); font-size: 15px; }
@media (max-width: 600px) { .guarantee { flex-direction: column; text-align: center; } }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 900px; margin: 0 auto; align-items: stretch; }
@media (max-width: 820px) { .plans { grid-template-columns: 1fr; } }
.plan { display: flex; flex-direction: column; gap: 18px; position: relative; }
.plan.featured { border: 2px solid var(--p); box-shadow: 0 40px 80px -40px rgb(var(--p-rgb) / .55); }
.plan .ribbon { position: absolute; top: -14px; inset-inline-start: 50%; transform: translateX(50%); background: var(--p); color: #fff; font-weight: 900; font-size: 13px; padding: 4px 14px; border-radius: 999px; white-space: nowrap; }
html[dir="ltr"] .plan .ribbon { transform: translateX(-50%); }
.plan h3 { font-size: 22px; font-weight: 900; }
.plan .tag { color: var(--muted); font-size: 15px; }
.plan .price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.plan .price b { font-size: 50px; font-weight: 900; line-height: 1; letter-spacing: -.02em; }
.plan .price span { color: var(--muted); font-weight: 700; }
.plan .price s { color: var(--muted); font-size: 18px; }
.plan .save { display: inline-flex; font-size: 13px; font-weight: 900; color: var(--ok); background: rgb(22 163 74 / .1); padding: 3px 10px; border-radius: 999px; width: fit-content; }
.plan ul { display: grid; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); font-size: 15px; }
.plan li i { color: var(--ok); margin-top: 6px; }
.plan li.strong { font-weight: 900; color: var(--text); }
.plan .meta { font-size: 13px; color: var(--muted); display: grid; gap: 4px; }
.plan-wide { max-width: 900px; margin: 20px auto 0; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
@media (max-width: 720px) { .plan-wide { grid-template-columns: 1fr; text-align: center; } .plan-wide ul { justify-content: center; } }
.plan-wide ul { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; }
.plan-wide li { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--text-2); }
.plan-wide li i { color: var(--ok); }
.addon { max-width: 900px; margin: 20px auto 0; border-style: dashed; display: flex; gap: 20px; align-items: center; }
@media (max-width: 720px) { .addon { flex-direction: column; text-align: center; } }

/* الشهادات */
.testis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 980px) { .testis { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .testis { grid-template-columns: 1fr; } }
.testi { display: flex; flex-direction: column; gap: 16px; }
.testi .stars { color: #f59e0b; font-size: 14px; display: flex; gap: 3px; }
.testi p { color: var(--text-2); flex: 1; }
.testi .by { display: flex; gap: 12px; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); }
.testi .av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; background: rgb(var(--p-rgb) / .12); color: var(--p); }
.testi .by b { display: block; font-size: 15px; }
.testi .by span { font-size: 13px; color: var(--muted); }

/* نموذج الطلب */
.order { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .order { grid-template-columns: 1fr; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field span { display: block; font-size: 14px; font-weight: 800; margin-bottom: 6px; color: var(--text-2); }
.input { width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--bg); font-size: 16px; transition: border-color .15s, box-shadow .15s; }
textarea.input { height: auto; padding: 14px 16px; resize: vertical; }
.input:focus { outline: none; border-color: var(--p); box-shadow: 0 0 0 4px rgb(var(--p-rgb) / .15); }
.input.invalid { border-color: #ef4444; }
.err { color: #ef4444; font-size: 13px; font-weight: 700; margin-top: 4px; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 600px) { .choice-grid { grid-template-columns: 1fr; } }
.choice { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 16px; border: 2px solid var(--line); cursor: pointer; transition: border-color .15s, background .15s; }
.choice:hover { border-color: var(--line-strong); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice b { font-size: 16px; font-weight: 900; }
.choice small { color: var(--muted); font-size: 13px; }
.choice .pr { color: var(--p); font-weight: 900; font-size: 20px; margin-top: 4px; }
.choice .tick { position: absolute; top: 12px; inset-inline-end: 12px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-strong); display: grid; place-items: center; color: transparent; font-size: 11px; }
.choice:has(input:checked) { border-color: var(--p); background: rgb(var(--p-rgb) / .06); }
.choice:has(input:checked) .tick { background: var(--p); border-color: var(--p); color: #fff; }
.check-row { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 16px; border: 2px dashed var(--line-strong); cursor: pointer; }
.check-row input { width: 22px; height: 22px; accent-color: var(--p); flex-shrink: 0; }
.check-row:has(input:checked) { border-color: var(--p); border-style: solid; background: rgb(var(--p-rgb) / .05); }
.summary { position: sticky; top: 100px; display: grid; gap: 14px; }
.summary .row { display: flex; justify-content: space-between; gap: 12px; color: var(--text-2); font-size: 15px; }
.summary .total { font-size: 20px; font-weight: 900; color: var(--text); padding-top: 14px; border-top: 1px dashed var(--line-strong); }
.summary .dep { font-size: 14px; padding: 12px 14px; border-radius: 12px; background: rgb(22 163 74 / .08); color: var(--text-2); }
.summary .dep b { color: var(--ok); }
.done { text-align: center; display: grid; gap: 14px; justify-items: center; padding: 20px 0; }
.done .ok { width: 80px; height: 80px; border-radius: 50%; background: rgb(22 163 74 / .12); color: var(--ok); display: grid; place-items: center; font-size: 36px; }

/* الأسئلة */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 800; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { color: var(--p); transition: transform .25s; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details div { padding: 0 22px 20px; color: var(--text-2); }

/* الختام والتذييل */
.cta-final { text-align: center; border-radius: 32px; padding: clamp(40px, 6vw, 72px) 24px; background: radial-gradient(circle at 50% 0%, rgb(var(--p-rgb) / .35), transparent 60%), var(--text); color: var(--bg); }
.cta-final .h2 { color: var(--bg); }
.cta-final p { opacity: .75; margin: 14px auto 28px; max-width: 560px; font-size: 18px; }
.footer { border-top: 1px solid var(--line); padding: 48px 0 32px; }
.footer-in { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.footer img { height: 62px; width: auto; margin-bottom: 12px; }
.footer p { color: var(--muted); font-size: 14px; max-width: 360px; }
.footer .links { display: grid; gap: 8px; font-size: 15px; color: var(--text-2); }
.footer .links a:hover { color: var(--p); }
.footer .socials { display: flex; gap: 8px; margin-top: 16px; }
.footer .bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }

.wa-fab { position: fixed; z-index: 60; bottom: 22px; inset-inline-end: 22px; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; font-size: 30px; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7); transition: transform .2s; }
.wa-fab:hover { transform: scale(1.07); }
.mobile-cta { position: fixed; z-index: 55; inset-inline: 0; bottom: 0; display: none; gap: 10px; align-items: center; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(14px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s; }
.mobile-cta.show { transform: none; }
.mobile-cta div { flex: 1; font-size: 13px; line-height: 1.4; }
.mobile-cta b { display: block; font-size: 15px; }
@media (max-width: 820px) { .mobile-cta { display: flex; } .wa-fab { bottom: 88px; } }

.toast { position: fixed; z-index: 100; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--text); color: var(--bg); padding: 12px 20px; border-radius: 14px; font-weight: 800; box-shadow: var(--shadow-lg); animation: tin .25s ease; }
@keyframes tin { from { opacity: 0; transform: translate(-50%, 10px); } }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } [data-reveal] { opacity: 1; transform: none; } html { scroll-behavior: auto; } }
