/* صفحة هبوط نبض — عربية RTL، فاتح/داكن حسب النظام، كل الأيقونات SVG مضمّنة */
:root {
  --bg: #fbfbfc; --surface: #fff; --surface-2: #f3f4f7; --line: #e5e7eb; --line-2: #d4d8df;
  --ink: #0f1115; --ink-2: #3f4652; --ink-3: #6b7280;
  --p: #e11d48; --p-ink: #be123c; --p-soft: #ffe4ea; --on-p: #fff;
  --ok: #047857; --ok-soft: #d1fae5;
  --r: 16px; --r-sm: 10px;
  --sh: 0 1px 2px rgba(16, 24, 40, .05), 0 2px 6px rgba(16, 24, 40, .06);
  --sh-lg: 0 30px 70px -20px rgba(16, 24, 40, .35);
  --head: 'Alexandria', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --body: 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0d12; --surface: #12151c; --surface-2: #181c25; --line: #252a35; --line-2: #333a48;
    --ink: #f1f3f7; --ink-2: #b9c0cc; --ink-3: #8a93a3;
    --p: #fb4d75; --p-ink: #ff6b8c; --p-soft: #3b1420; --on-p: #1a0810;
    --ok: #34d399; --ok-soft: #0c2e23;
    --sh: 0 1px 2px rgba(0, 0, 0, .5); --sh-lg: 0 30px 70px -20px rgba(0, 0, 0, .8);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.75 var(--body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--head); font-weight: 800; line-height: 1.25; margin: 0; }
h1 { font-size: clamp(34px, 6vw, 64px); letter-spacing: -.01em; }
h2 { font-size: clamp(24px, 3.6vw, 40px); }
h3 { font-size: 19px; font-weight: 600; }
p { margin: 0; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 860px; }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }
[hidden] { display: none !important; }

/* ---------- أزرار ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--ink); font: 600 15px/1 var(--body); cursor: pointer; white-space: nowrap; transition: transform .15s, background .15s, border-color .15s, box-shadow .15s; }
.btn:hover { background: var(--surface-2); transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--p); outline-offset: 2px; }
.btn--primary { background: var(--p); border-color: var(--p); color: var(--on-p); box-shadow: 0 8px 24px -8px color-mix(in srgb, var(--p) 70%, transparent); }
.btn--primary:hover { background: var(--p-ink); border-color: var(--p-ink); }
.btn--ghost { background: transparent; border-color: transparent; }
.btn--lg { min-height: 52px; padding: 0 26px; font-size: 16px; }

/* ---------- الهيدر ---------- */
.nav { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.nav__in { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--p); color: #fff; }
.brand__mark svg { width: 20px; height: 20px; stroke-width: 2.4; }
.brand__txt b { display: block; font-family: var(--head); font-size: 20px; line-height: 1.1; }
.brand__txt small { display: block; color: var(--ink-3); font-size: 12px; }
.nav__links { display: flex; gap: 4px; margin-inline-start: auto; }
.nav__links a { padding: 8px 12px; border-radius: 10px; font-weight: 500; font-size: 15px; color: var(--ink-2); }
.nav__links a:hover { background: var(--surface-2); color: var(--ink); }
.nav__cta { display: flex; gap: 8px; align-items: center; }
.nav__toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); color: var(--ink); cursor: pointer; place-items: center; }

/* ---------- البطل ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 0; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto; height: 70%; background: radial-gradient(60% 60% at 80% 30%, color-mix(in srgb, var(--p) 16%, transparent), transparent 70%); pointer-events: none; }
.hero__in { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--p-soft); color: var(--p-ink); font-weight: 600; font-size: 14px; margin-bottom: 20px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--p); box-shadow: 0 0 0 4px color-mix(in srgb, var(--p) 25%, transparent); }
.lead { margin-top: 20px; font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-2); max-width: 58ch; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__facts { list-style: none; margin: 38px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hero__facts li { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); box-shadow: var(--sh); }
.hero__facts b { display: block; font-family: var(--head); font-size: 28px; line-height: 1.1; color: var(--p); }
.hero__facts span { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-3); line-height: 1.4; }
.hero__art { position: relative; min-height: 520px; }
.frame { margin: 0; border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--sh-lg); }
.frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.frame--desk { aspect-ratio: 1440 / 1000; }
.frame--mob { aspect-ratio: 412 / 820; border-radius: 26px; border-width: 6px; border-color: #0f1115; background: #0f1115; }
.frame--mob img { border-radius: 20px; }
.hero__art .frame--a { position: absolute; inset-inline-end: 0; top: 0; width: 88%; transform: rotate(-1.5deg); }
.hero__art .frame--b { position: absolute; inset-inline-start: 0; bottom: 0; width: 34%; transform: rotate(2deg); }

/* ---------- شريط الثقة ---------- */
.strip { margin-top: clamp(40px, 6vw, 80px); border-block: 1px solid var(--line); background: var(--surface); }
.strip__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 20px; }
.strip__in > div { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }
.strip__in svg { color: var(--p); margin-top: 2px; }

/* ---------- أقسام ---------- */
.sec { padding: clamp(56px, 8vw, 110px) 0; }
.sec--alt { background: var(--surface); border-block: 1px solid var(--line); }
.sec__head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.kicker { display: inline-block; color: var(--p); font-weight: 700; font-size: 14px; letter-spacing: .02em; margin-bottom: 12px; }
.sub { margin-top: 14px; color: var(--ink-2); font-size: 17px; }

/* ---------- المجالات ---------- */
.tabs { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; padding: 6px; border-radius: 999px; background: var(--surface-2); width: max-content; max-width: 100%; margin: 0 auto 36px; }
.tabs button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: 600 15px var(--body); cursor: pointer; transition: background .15s, color .15s; }
.tabs button svg { width: 18px; height: 18px; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--p-ink); box-shadow: var(--sh); }
.niche { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
.niche__txt h3 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; }
.niche__txt > p { margin-top: 14px; color: var(--ink-2); font-size: 16.5px; }
.checks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-inline-start: 30px; color: var(--ink-2); }
.checks li::before { content: ''; position: absolute; inset-inline-start: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%; background: var(--ok-soft); }
.checks li::after { content: ''; position: absolute; inset-inline-start: 6px; top: 11px; width: 5px; height: 9px; border: solid var(--ok); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.checks--big li { font-size: 16px; color: var(--ink); }
.niche__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.niche__art { position: relative; min-height: 420px; }
.niche__art .frame--desk { width: 90%; margin-inline-start: auto; cursor: zoom-in; }
.niche__art .frame--mob { position: absolute; inset-inline-start: 0; bottom: -20px; width: 30%; cursor: zoom-in; }
.note { text-align: center; margin-top: 36px; color: var(--ink-3); font-size: 14px; }

/* ---------- المميزات ---------- */
.grid { display: grid; gap: 18px; }
.feats { grid-template-columns: repeat(3, 1fr); }
.feat { padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); transition: transform .2s, box-shadow .2s; }
.feat:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); }
.feat svg { width: 26px; height: 26px; color: var(--p); }
.feat h3 { margin-top: 14px; }
.feat p { margin-top: 8px; color: var(--ink-2); font-size: 15px; line-height: 1.7; }

/* ---------- كيف يعمل ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { position: relative; padding: 26px 22px 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); box-shadow: var(--sh); }
.steps__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--p); color: #fff; font: 800 18px var(--head); margin-bottom: 14px; }
.steps p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.callout { display: flex; gap: 14px; align-items: flex-start; margin-top: 28px; padding: 18px 20px; border-radius: var(--r); background: var(--p-soft); color: var(--ink); border: 1px solid color-mix(in srgb, var(--p) 20%, transparent); }
.callout svg { color: var(--p); margin-top: 3px; }
.callout p { color: var(--ink-2); }

/* ---------- الإضافة ---------- */
.tabsdoc { grid-template-columns: repeat(2, 1fr); }
.tdoc { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); }
.tdoc h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.tdoc h3 svg { color: var(--p); width: 20px; height: 20px; }
.tdoc h3 small { font-weight: 500; color: var(--ink-3); font-size: 13px; }
.tdoc p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.panelrow { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.panelrow > div { padding: 22px; border-radius: var(--r); background: linear-gradient(135deg, color-mix(in srgb, var(--p) 10%, var(--bg)), var(--bg)); border: 1px solid var(--line); }
.panelrow p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }

/* ---------- السعر ---------- */
.pricing { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.price { padding: 34px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-lg); }
.price__num { margin-top: 18px; font: 800 clamp(30px, 4vw, 44px)/1.1 var(--head); color: var(--p); }
.price__note { margin-top: 8px; font-size: 15px; }
.price__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.price .small { margin-top: 12px; }
.activate { padding: 28px; border-radius: 22px; background: var(--surface-2); border: 1px solid var(--line); }
.activate ol { margin: 14px 0 0; padding-inline-start: 22px; display: grid; gap: 10px; color: var(--ink-2); }
.activate .small { margin-top: 16px; line-height: 1.7; }

/* ---------- الأسئلة ---------- */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg); padding: 0 18px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 10px; height: 10px; border: solid var(--ink-3); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; flex: none; margin-inline-end: 4px; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { padding: 0 0 18px; color: var(--ink-2); }

/* ---------- الفوتر ---------- */
.foot { border-top: 1px solid var(--line); background: var(--surface); padding: 34px 0; }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-inline-start: auto; color: var(--ink-2); font-size: 15px; }
.foot__links a:hover { color: var(--p); }
.foot .small { flex-basis: 100%; }

/* ---------- معاينة مكبّرة ---------- */
.zoom { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1400px); max-height: 94vh; }
.zoom::backdrop { background: rgba(8, 10, 14, .82); backdrop-filter: blur(6px); }
.zoom img { max-width: 96vw; max-height: 94vh; width: auto; height: auto; border-radius: 14px; box-shadow: var(--sh-lg); object-fit: contain; }
.zoom__close { position: fixed; top: 16px; inset-inline-start: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; cursor: pointer; z-index: 2; }

/* ---------- الجوال ---------- */
@media (max-width: 1000px) {
  .hero__in { grid-template-columns: 1fr; }
  .hero__art { min-height: 0; margin-top: 10px; height: 420px; }
  .feats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .strip__in { grid-template-columns: repeat(2, 1fr); }
  .niche { grid-template-columns: 1fr; }
  .niche__art { min-height: 0; margin-top: 10px; }
  .niche__art .frame--desk { width: 92%; }
  .pricing { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 15.5px; }
  .nav__links { display: none; position: absolute; inset-inline: 0; top: 100%; flex-direction: column; padding: 10px 14px 14px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--sh-lg); }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px; font-size: 16px; }
  .nav__cta .btn--ghost { display: none; }
  .nav__toggle { display: grid; }
  .hero__facts { grid-template-columns: repeat(2, 1fr); }
  .hero__art { height: 360px; }
  .strip__in, .feats, .steps, .tabsdoc, .panelrow { grid-template-columns: 1fr; }
  .tabs { width: 100%; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; border-radius: 16px; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex: none; }
  .niche__art .frame--mob { width: 34%; bottom: -10px; }
  .price, .activate { padding: 24px 20px; }
  .zoom__close { top: 10px; inset-inline-start: 10px; }
}
