/* =========================================================================
   زيارة — الصفحة الرئيسية
   اتجاه: أزرق طبي + أبيض + نبيتي (للتأكيد) + رمادي. فاتح افتراضيًا ومعه وضع داكن كحلي.
   «El Messiri» للعناوين، «IBM Plex Sans Arabic» للنص.
   كل القواعد مُبادَأة بـ lp- أو مقيَّدة بـ body.page-landing لتجنّب التعارض مع باقى الموقع.
   ========================================================================= */
body.page-landing {
  --teal-950: #0b1d3f; --teal-900: #12306b; --teal-800: #1b4fa8; --teal-600: #1d5fd0; --teal-300: #8fb4f2;
  --gold: #7a1f3d; --gold-ink: #7a1f3d; --coral: #9e2850;
  --blue: #1d5fd0; --blue-d: #154aa6;
  --paper: #f5f7fa; --paper-2: #eaeff6; --surface: #ffffff;
  --ink: #1b2433; --ink-2: #5b6676; --line: rgba(27, 36, 51, .12); --line-solid: #d9e0ea;
  --hero-a: #ffffff; --hero-b: #e9f0fb; --nav-bg: rgba(255, 255, 255, .92);
  --arc-1: #1d5fd0; --arc-2: #7a1f3d; --arc-3: #9aa5b4;
  --f-display: 'El Messiri', 'Cairo', 'Noto Sans Arabic', sans-serif;
  --f-body: 'IBM Plex Sans Arabic', 'Noto Sans Arabic', 'Segoe UI', system-ui, sans-serif;
  --wrap: 1200px;
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: 17px; line-height: 1.8;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
html[data-theme="dark"] body.page-landing {
  background: var(--paper); color: var(--ink);
  --paper: #0f1724; --paper-2: #131d2e; --surface: #172234;
  --ink: #eef2f7; --ink-2: #9aa8ba; --line: rgba(238, 242, 247, .14); --line-solid: #26344a;
  --gold: #d6798f; --gold-ink: #d6798f; --coral: #e58aa3;
  --blue: #5b97f0; --blue-d: #7aaaf3;
  --hero-a: #101a2b; --hero-b: #0f1724; --nav-bg: rgba(15, 23, 36, .92);
  --arc-1: #5b97f0; --arc-2: #d6798f; --arc-3: #aab4c3;
}
body.page-landing *, body.page-landing *::before, body.page-landing *::after { box-sizing: border-box; }
html:has(body.page-landing) { scroll-behavior: smooth; }
:where(body.page-landing) a { color: inherit; text-decoration: none; }
body.page-landing :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.lp-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.lp-h { font-family: var(--f-display); font-weight: 700; line-height: 1.45; text-wrap: balance; margin: 0; letter-spacing: 0; }
.lp-section { padding: 120px 0; scroll-margin-top: 76px; }
.lp-section + .lp-section { border-top: 1px solid var(--line); }

/* ---------- أزرار ---------- */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 30px;
  border-radius: 999px; font: 600 16px/1 var(--f-body); border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.lp-btn:active { transform: translateY(1px); }
.lp-btn-ivory { background: #f4f7f6; color: var(--teal-950); }
.lp-btn-ivory:hover { background: #fff; }
.lp-hero .lp-btn-ivory, .lp-nav .lp-btn-ivory { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -12px var(--blue); }
.lp-hero .lp-btn-ivory:hover, .lp-nav .lp-btn-ivory:hover { background: var(--blue-d); }
html[data-theme="dark"] .lp-hero .lp-btn-ivory, html[data-theme="dark"] .lp-nav .lp-btn-ivory { color: #0b1d3f; }
.lp-btn-ink { background: var(--teal-900); color: #fff; }
.lp-btn-ink:hover { background: var(--teal-800); }
html[data-theme="dark"] .lp-btn-ink { background: #f4f7f6; color: var(--teal-950); }
html[data-theme="dark"] .lp-btn-ink:hover { background: #fff; }
.lp-btn-ghost { color: #f4f7f6; border-color: rgba(244, 247, 246, .38); }
.lp-btn-ghost:hover { border-color: var(--gold); color: #fff; }
.lp-btn-sm { min-height: 42px; padding: 0 22px; font-size: 14.5px; }

/* ---------- الشريط العلوى ---------- */
.lp-nav { position: fixed; inset: 0 0 auto 0; z-index: 60; transition: background-color .3s, box-shadow .3s; }
.lp-nav.is-scrolled { background: var(--nav-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line-solid); }
.lp-nav-in { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; height: 76px; display: flex; align-items: center; gap: 36px; }
body.page-landing .lp-nav-in { padding-left: 120px; }
.lp-brand { display: flex; align-items: center; gap: 12px; color: var(--ink); flex-shrink: 0; }
.lp-brand img { width: 44px; height: 44px; border-radius: 50%; display: block; }
.lp-brand span { font: 700 23px/1 var(--f-display); }
.lp-links { display: flex; gap: 6px; margin-inline-end: auto; }
.lp-links a { color: var(--ink-2); font-size: 15px; font-weight: 500; padding: 8px 14px; border-radius: 999px; transition: color .2s, background-color .2s; }
.lp-links a:hover { color: var(--blue); background: rgba(29, 95, 208, .08); }
.lp-nav-act { display: flex; align-items: center; gap: 8px; }
.lp-login { color: var(--ink); font-size: 15px; font-weight: 500; padding: 8px 14px; }
.lp-login:hover { color: var(--blue); }

/* ---------- الهيرو ---------- */
.lp-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--hero-a), var(--hero-b)); color: var(--ink); }
.lp-hero::before { content: ''; position: absolute; width: 1500px; height: 1500px; border-radius: 50%;
  inset-inline-start: -520px; top: 50%; transform: translateY(-50%);
  border: 1px solid rgba(29, 95, 208, .09); pointer-events: none; }
.lp-hero::after { content: ''; position: absolute; width: 1100px; height: 1100px; border-radius: 50%;
  inset-inline-start: -320px; top: 50%; transform: translateY(-50%); border: 1px solid rgba(29, 95, 208, .10); pointer-events: none; }
.lp-hero-grid { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto; padding: 160px 28px 120px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 56px; align-items: center; }
.lp-hero h1 { font-family: var(--f-display); font-weight: 700; font-size: clamp(36px, 4.1vw, 58px); line-height: 1.4; margin: 0 0 28px; text-wrap: balance; }
.lp-lede { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.95; color: var(--ink-2); max-width: 33em; margin: 0 0 32px; }
.lp-hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-bottom: 44px; }
.lp-textlink { font-size: 16px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--gold); padding-bottom: 3px; transition: border-color .2s; }
.lp-textlink:hover { border-color: var(--ink); }
.lp-assure { display: flex; flex-wrap: wrap; gap: 8px 0; margin: 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--ink-2); }
.lp-assure li { padding-inline: 20px; border-inline-end: 1px solid var(--line-solid); }
.lp-assure li:first-child { padding-inline-start: 0; }
.lp-assure li:last-child { border-inline-end: 0; }

/* القرص */
.lp-dial { width: 100%; max-width: 560px; margin-inline: auto; }
.lp-dial svg { width: 100%; height: auto; display: block; overflow: visible; }
.lp-dial .d-rim { fill: none; stroke: var(--line-solid); stroke-width: 1.5; }
.lp-dial .d-tick { stroke: var(--ink-2); stroke-opacity: .4; stroke-width: 1.2; }
.lp-dial .d-tick-major { stroke: var(--gold); stroke-width: 2; }
.lp-dial .d-label { fill: var(--ink-2); font: 500 15px var(--f-body); letter-spacing: .04em; }
.lp-dial .d-track { fill: none; stroke: var(--ink); stroke-opacity: .07; stroke-width: 11; }
.lp-dial .d-arc { fill: none; stroke-width: 11; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; opacity: .95; }
.lp-dial .d-bead { fill: #0b1d3f; }
.lp-dial .d-bead-past { fill: #0b1d3f; fill-opacity: .4; }
.lp-dial .d-plate { fill: none; stroke: var(--gold); stroke-opacity: .55; stroke-width: 1; }
.lp-dial .d-plate-in { fill: var(--surface); stroke: var(--line-solid); }
.lp-dial .d-cap { fill: var(--ink-2); font: 500 15px var(--f-body); }
.lp-dial .d-num { fill: var(--ink); font: 700 92px var(--f-display); }
.lp-dial .d-sub { fill: var(--gold); font: 500 15px var(--f-body); }
.lp-dial .d-hand line { stroke: var(--coral); stroke-width: 2.2; stroke-linecap: round; }
.lp-dial .d-hand-dot { fill: var(--coral); }
.lp-dial .d-hand-halo { fill: var(--coral); opacity: .22; }
.lp-dial-key { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 30px; list-style: none; margin: 26px 0 0; padding: 0; }
.lp-dial-key li { display: flex; align-items: center; gap: 9px; font-size: 14.5px; }
.lp-dial-key i { width: 18px; height: 4px; border-radius: 2px; display: block; }
.lp-dial-key b { font-weight: 600; }
.lp-dial-key span { color: var(--ink-2); }
.lp-dial-note { text-align: center; font-size: 13px; color: var(--ink-2); margin: 12px 0 0; }

@media (prefers-reduced-motion: no-preference) {
  .lp-dial .d-arc { animation: lp-draw 1.15s cubic-bezier(.45, .05, .25, 1) var(--d, 0s) both; }
  .lp-dial .d-beads { animation: lp-fade .7s ease var(--d, 1s) both; }
  .lp-dial .d-hand { transform-origin: 320px 320px; animation: lp-sweep 1.7s cubic-bezier(.2, .75, .2, 1) 1.2s both; }
  .lp-dial .d-num, .lp-dial .d-cap, .lp-dial .d-sub { animation: lp-fade .8s ease .6s both; }
}
@keyframes lp-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes lp-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lp-sweep { from { transform: rotate(-40deg); } to { transform: rotate(0); } }

/* ---------- المزايا ---------- */
.lp-feat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: start; }
.lp-feat-head { position: sticky; top: 120px; }
.lp-feat-head h2, .lp-sec-head h2 { font-size: clamp(30px, 3.3vw, 44px); }
.lp-feat-head p, .lp-sec-head p { color: var(--ink-2); max-width: 28em; margin: 22px 0 0; }
.lp-flist { list-style: none; margin: 0; padding: 0; }
.lp-flist li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 24px; padding: 34px 0; border-top: 1px solid var(--line); }
.lp-flist li:first-child { border-top: 0; padding-top: 6px; }
.lp-ico { width: 52px; height: 52px; color: var(--gold-ink); }
.lp-ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; }
.lp-flist h3 { font: 700 23px/1.5 var(--f-display); margin: 0 0 6px; }
.lp-flist p { margin: 0; color: var(--ink-2); font-size: 16.5px; max-width: 34em; }
.lp-flist code { direction: ltr; unicode-bidi: embed; font-family: var(--f-body); font-size: .92em; background: var(--paper-2); padding: 2px 10px; border-radius: 6px; border: 1px solid var(--line); }

/* ---------- الأدوار ---------- */
.lp-alt { background: var(--paper-2); }
.lp-sec-head { text-align: center; max-width: 780px; margin: 0 auto 64px; }
.lp-sec-head p { margin-inline: auto; }
.lp-roles { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.lp-tabs { display: flex; flex-direction: column; gap: 4px; border-inline-start: 1px solid var(--line); }
.lp-tab { appearance: none; background: none; border: 0; text-align: start; cursor: pointer; color: var(--ink-2); font: 600 19px/1.5 var(--f-body);
  padding: 15px 28px; margin-inline-start: -1px; border-inline-start: 3px solid transparent; transition: color .2s, border-color .2s, background-color .2s; }
.lp-tab:hover { color: var(--ink); }
.lp-tab[aria-selected="true"] { color: var(--ink); border-inline-start-color: var(--gold); background: rgba(122, 31, 61, .12); }
.lp-panel[hidden] { display: none; }
.lp-panel-head h3 { font: 700 27px/1.5 var(--f-display); margin: 0 0 8px; }
.lp-panel-head p { color: var(--ink-2); margin: 0 0 26px; max-width: 32em; font-size: 16.5px; }
.lp-screen { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: 0 30px 60px -36px rgba(11, 29, 63, .35); animation: lp-rise .45s ease both; }
@keyframes lp-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.lp-screen-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; font-size: 15px; margin-bottom: 18px; }
.lp-live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.lp-live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(158, 40, 80, .2); }
.lp-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.lp-kpi { background: var(--paper); border-radius: 12px; padding: 14px 16px; }
.lp-kpi small { display: block; color: var(--ink-2); font-size: 12.5px; line-height: 1.5; }
.lp-kpi b { font: 700 26px/1.4 var(--f-display); }
.lp-rows { display: flex; flex-direction: column; }
.lp-row { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 12px 2px; border-top: 1px solid var(--line); font-size: 15px; }
.lp-row small { color: var(--ink-2); font-size: 13px; }
.lp-tag { font-size: 12.5px; font-weight: 600; padding: 3px 12px; border-radius: 999px; background: rgba(29, 95, 208, .12); color: var(--teal-600); }
html[data-theme="dark"] .lp-tag { color: var(--teal-300); }
.lp-tag.warn { background: rgba(158, 40, 80, .14); color: #9e2850; }
html[data-theme="dark"] .lp-tag.warn { color: #e58aa3; }
.lp-ticket { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font: 700 18px var(--f-display); border: 1.5px solid var(--gold); }
.lp-ticket.now { background: var(--teal-900); color: #fff; border-color: var(--teal-900); }
html[data-theme="dark"] .lp-ticket.now { background: var(--gold); color: var(--teal-950); border-color: var(--gold); }
.lp-mini-btn { font: 600 13.5px var(--f-body); padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line-solid); background: none; color: var(--ink); }
.lp-field { margin-bottom: 14px; }
.lp-field small { display: block; color: var(--ink-2); font-size: 12.5px; margin-bottom: 4px; }
.lp-field div { background: var(--paper); border-radius: 10px; padding: 11px 14px; font-size: 15px; }
.lp-pt { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.lp-pt b { display: block; font-size: 16px; line-height: 1.5; }
.lp-pt small { color: var(--ink-2); font-size: 13px; }
.lp-actions { display: flex; gap: 10px; margin-top: 18px; }
.lp-actions .lp-mini-btn:first-child { background: var(--teal-900); color: #fff; border-color: var(--teal-900); }
html[data-theme="dark"] .lp-actions .lp-mini-btn:first-child { background: var(--gold); color: var(--teal-950); border-color: var(--gold); }
.lp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 18px; }
.lp-chip { font-size: 14px; padding: 6px 16px; border-radius: 999px; border: 1px solid var(--line-solid); }
.lp-chip.on { background: var(--teal-900); color: #fff; border-color: var(--teal-900); }
html[data-theme="dark"] .lp-chip.on { background: var(--gold); color: var(--teal-950); border-color: var(--gold); }
.lp-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.lp-slot { text-align: center; padding: 9px 0; border-radius: 10px; font-size: 14.5px; border: 1px solid var(--line-solid); font-variant-numeric: tabular-nums; }
.lp-slot.off { color: var(--ink-2); opacity: .45; text-decoration: line-through; }
.lp-slot.on { background: var(--gold); border-color: var(--gold); color: #fff; font-weight: 600; }
html[data-theme="dark"] .lp-slot.on { color: var(--teal-950); }
.lp-caption { text-align: center; color: var(--ink-2); font-size: 13px; margin: 18px 0 0; }

/* ---------- الخطوات ---------- */
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; counter-reset: s; }
.lp-step { padding: 0 40px 0 0; position: relative; }
.lp-step + .lp-step { padding-inline-start: 40px; padding-inline-end: 0; border-inline-start: 1px solid var(--line); }
.lp-step-n { font: 600 76px/1 var(--f-display); color: var(--gold-ink); opacity: .9; margin-bottom: 18px; }
.lp-step h3 { font: 700 24px/1.5 var(--f-display); margin: 0 0 10px; }
.lp-step p { color: var(--ink-2); margin: 0; font-size: 16.5px; }

/* ---------- الأسعار ---------- */
.lp-price-frame { max-width: 1120px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; overflow: hidden;
  box-shadow: 0 40px 80px -50px rgba(11, 29, 63, .4); }
.lp-pricing .pb-top { display: none; }
.lp-pricing .pb-wrap { --paper: #ffffff; --paper-line: #d9e0ea; --surface: #f5f7fa; --ink: #1b2433; --ink-soft: #5b6676; --ink-faint: #7a8493;
  --gold: #7a1f3d; --gold-ink: #7a1f3d; --gold-soft: rgba(122, 31, 61, .12);
  --emerald: #1d5fd0; --emerald-ink: #154aa6; --emerald-soft: rgba(29, 95, 208, .1);
  --stamp: #9e2850; --stamp-soft: rgba(158, 40, 80, .12);
  --font-display: 'El Messiri', 'Cairo', sans-serif; --font-body: 'IBM Plex Sans Arabic', 'Noto Sans Arabic', sans-serif; --font-mono: 'IBM Plex Sans Arabic', 'Noto Sans Arabic', sans-serif;
  --shadow-card: none; background: transparent; padding: 8px 0 0; }
html[data-theme="dark"] .lp-pricing .pb-wrap { --paper: #172234; --paper-line: #26344a; --surface: #0f1724; --ink: #eef2f7; --ink-soft: #9aa8ba; --ink-faint: #8591a3;
  --gold-ink: #d6798f; --emerald: #5b97f0; --emerald-ink: #8fb4f2; --emerald-soft: rgba(91, 151, 240, .14); --stamp: #e58aa3; }
.lp-pricing .pb-wrap .feature-row:hover, .lp-pricing .pb-wrap .feature-row.is-fixed { background: var(--paper-2); }
.lp-pricing .pb-wrap .feature-row.is-active { background: rgba(29, 95, 208, .09); }
.lp-pricing .pb-wrap .receipt-brand { font-weight: 700; font-size: 26px; }
.lp-pricing .pb-wrap [data-role="total"], .lp-pricing .pb-wrap .rl-amount, .lp-pricing .pb-wrap .feature-unit-price { font-variant-numeric: tabular-nums; }
html[data-theme="dark"] .lp-pricing .pb-wrap .duration-btn.is-active { background: var(--gold); color: var(--teal-950); }

/* ---------- الأسئلة ---------- */
.lp-faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 80px; align-items: start; }
.lp-faq-list { border-top: 1px solid var(--line); }
.lp-faq details { border-bottom: 1px solid var(--line); }
.lp-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 0; font: 600 20px/1.7 var(--f-display); }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: ''; flex: 0 0 14px; height: 14px; background:
  linear-gradient(var(--gold), var(--gold)) center / 100% 1.5px no-repeat, linear-gradient(var(--gold), var(--gold)) center / 1.5px 100% no-repeat; transition: transform .25s; }
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq .lp-ans { padding: 0 0 28px; color: var(--ink-2); max-width: 38em; font-size: 16.5px; margin: 0; }

/* ---------- الدعوة الختامية ---------- */
.lp-cta { position: relative; overflow: hidden; background: var(--teal-900); color: #f4f7f6; text-align: center; padding: 130px 0; border-top: 0 !important; }
.lp-cta::before, .lp-cta::after { content: ''; position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); transform: translate(-50%, -50%); pointer-events: none; }
.lp-cta::before { width: 760px; height: 760px; }
.lp-cta::after { width: 1100px; height: 1100px; border-color: rgba(255, 255, 255, .07); }
.lp-cta .lp-wrap { position: relative; z-index: 1; }
.lp-cta h2 { font-size: clamp(32px, 4vw, 52px); margin: 0 0 20px; }
.lp-cta p { color: rgba(244, 247, 246, .75); max-width: 30em; margin: 0 auto 38px; font-size: 18px; }
.lp-instapay { margin-top: 26px; font-size: 14px; color: rgba(244, 247, 246, .65); }

/* ---------- التذييل ---------- */
.lp-foot { background: var(--teal-950); color: rgba(244, 247, 246, .7); padding: 64px 0 36px; }
.lp-foot-in { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; padding-bottom: 40px; border-bottom: 1px solid rgba(143, 180, 242, .22); }
.lp-foot-logo { width: 112px; height: 112px; border-radius: 50%; background-color: #fff; background-repeat: no-repeat; background-position: 50.5% 49%; background-size: 188% auto; }
.lp-foot-tag { max-width: 26em; font-size: 15.5px; line-height: 1.9; }
.lp-foot nav { display: flex; gap: 26px; flex-wrap: wrap; font-size: 15px; }
.lp-foot nav a:hover { color: #fff; }
.lp-foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 26px; font-size: 13.5px; color: rgba(244, 247, 246, .5); }
.lp-foot-base bdi { font-family: var(--f-display); font-size: 15px; color: #8fb4f2; letter-spacing: .02em; }

/* ---------- استجابة ---------- */
@media (max-width: 1080px) {
  .lp-links { display: none; }
  .lp-nav-act { margin-inline-start: auto; }
  .lp-hero-grid { grid-template-columns: 1fr; gap: 56px; padding: 136px 28px 90px; text-align: center; }
  .lp-lede { margin-inline: auto; }
  .lp-hero-cta, .lp-assure { justify-content: center; }
  .lp-dial { max-width: 500px; order: 2; }
  .lp-feat, .lp-faq, .lp-roles { grid-template-columns: 1fr; gap: 48px; }
  .lp-feat-head { position: static; }
  .lp-tabs { flex-direction: row; flex-wrap: wrap; border-inline-start: 0; border-bottom: 1px solid var(--line); gap: 0; }
  .lp-tab { border-inline-start: 0; border-bottom: 3px solid transparent; margin: 0 0 -1px; padding: 12px 20px; font-size: 17px; }
  .lp-tab[aria-selected="true"] { border-bottom-color: var(--gold); background: none; }
}
@media (max-width: 760px) {
  .lp-section { padding: 84px 0; }
  .lp-wrap, .lp-nav-in { padding-inline: 20px; }
  body.page-landing .lp-nav-in { padding-left: 64px; }
  .lp-brand span { font-size: 22px; }
  .lp-login { display: none; }
  .lp-steps { grid-template-columns: 1fr; gap: 40px; }
  .lp-step, .lp-step + .lp-step { padding: 0; border: 0; }
  .lp-step-n { font-size: 64px; margin-bottom: 8px; }
  .lp-flist li { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 28px 0; }
  .lp-ico { width: 42px; height: 42px; }
  .lp-flist h3 { font-size: 24px; }
  .lp-kpis { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .lp-kpi { padding: 10px 12px; } .lp-kpi b { font-size: 22px; }
  .lp-foot-in { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .lp-foot-base { justify-content: center; text-align: center; }
  .lp-assure li { padding-inline: 12px; }
  .lp-assure { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(body.page-landing) { scroll-behavior: auto; }
  .lp-screen { animation: none; }
}

/* ---------- توحيد جزء اختيار الدولة داخل الحاسبة مع لوحة الصفحة ---------- */
.lp-pricing .rs-wrap { --rs-ink: var(--ink); --rs-soft: var(--ink-2); }
.lp-pricing .rs-track { background: var(--paper-2); border-color: var(--line-solid); box-shadow: none; }
.lp-pricing .rs-thumb { background: var(--teal-900); box-shadow: 0 10px 22px -12px rgba(11, 29, 63, .6); }
.lp-pricing .rs-flag { background: var(--surface); box-shadow: none; }
.lp-pricing .rs-cur { background: var(--paper); color: var(--ink); }
html[data-theme="dark"] .lp-pricing .rs-thumb { background: var(--teal-800); box-shadow: inset 0 0 0 1px rgba(122, 31, 61, .45); }
html[data-theme="dark"] .lp-pricing .rs-opt.is-on .rs-flag, html[data-theme="dark"] .lp-pricing .rs-opt.is-on .rs-cur { background: rgba(255, 255, 255, .14); color: #fff; }

/* =========================================================================
   توزيع الألوان: أزرق + نبيتي + رمادي (لون لكل ميزة، ولون لكل دور، وأشرطة داكنة)
   ========================================================================= */
body.page-landing {
  --blue-tint: #e8f0fd; --wine-tint: #f6e8ed; --slate-tint: #eceff3; --sky-tint: #e6f2fb;
  --wine-900: #4d1229; --sand: #eef2f7;
  --rc: #1d5fd0; --rc-ink: #154aa6; --rc-soft: rgba(29, 95, 208, .12); --rc-tint: var(--blue-tint);
}
html[data-theme="dark"] body.page-landing {
  --blue-tint: #13203a; --wine-tint: #2a1620; --slate-tint: #182234; --sky-tint: #12263a; --sand: #131d2e;
}

/* علامة تحت العناوين */
.lp-feat-head h2::after, .lp-sec-head h2::after, .lp-faq .lp-feat-head h2::after {
  content: ''; display: block; width: 72px; height: 3px; border-radius: 3px; margin: 20px 0 0;
  background: linear-gradient(to left, var(--blue), var(--gold));
}
.lp-sec-head h2::after { margin-inline: auto; }
.lp-steps-sec .lp-sec-head h2::after { background: linear-gradient(to left, var(--teal-300), #e58aa3); }

/* المزايا: لون لكل ميزة */
.lp-flist li:nth-child(1) { --ic: #1d5fd0; --ic-t: var(--blue-tint); }
.lp-flist li:nth-child(2) { --ic: #7a1f3d; --ic-t: var(--wine-tint); }
.lp-flist li:nth-child(3) { --ic: #4a5a73; --ic-t: var(--slate-tint); }
.lp-flist li:nth-child(4) { --ic: #2f80c4; --ic-t: var(--sky-tint); }
.lp-flist li:nth-child(5) { --ic: #9e2850; --ic-t: var(--wine-tint); }
.lp-flist li:nth-child(6) { --ic: #6b7a90; --ic-t: var(--slate-tint); }
html[data-theme="dark"] .lp-flist li:nth-child(1) { --ic: #5b97f0; }
html[data-theme="dark"] .lp-flist li:nth-child(2) { --ic: #d6798f; }
html[data-theme="dark"] .lp-flist li:nth-child(3) { --ic: #aab4c3; }
html[data-theme="dark"] .lp-flist li:nth-child(4) { --ic: #6bb2ea; }
html[data-theme="dark"] .lp-flist li:nth-child(5) { --ic: #e58aa3; }
html[data-theme="dark"] .lp-flist li:nth-child(6) { --ic: #9aa8ba; }
.lp-flist li { grid-template-columns: 60px minmax(0, 1fr); }
.lp-ico { width: 60px; height: 60px; padding: 14px; border-radius: 18px; background: var(--ic-t); color: var(--ic); }

/* الأدوار: لون القسم كله يتبع الدور المحدد */
.lp-roles-sec { background: var(--rc-tint); transition: background-color .5s ease; border-top-color: transparent !important; }
.lp-roles-sec[data-role="doctor"]    { --rc: #7a1f3d; --rc-ink: #5a1530; --rc-soft: rgba(122, 31, 61, .12); --rc-tint: var(--wine-tint); }
.lp-roles-sec[data-role="secretary"] { --rc: #4a5a73; --rc-ink: #2f3b4f; --rc-soft: rgba(74, 90, 115, .14); --rc-tint: var(--slate-tint); }
.lp-roles-sec[data-role="patient"]   { --rc: #2f80c4; --rc-ink: #1c5a91; --rc-soft: rgba(47, 128, 196, .14); --rc-tint: var(--sky-tint); }
html[data-theme="dark"] .lp-roles-sec { --rc: #5b97f0; --rc-ink: #9bbff7; --rc-soft: rgba(91, 151, 240, .2); }
html[data-theme="dark"] .lp-roles-sec[data-role="doctor"]    { --rc: #d6798f; --rc-ink: #efb0c0; --rc-soft: rgba(214, 121, 143, .2); }
html[data-theme="dark"] .lp-roles-sec[data-role="secretary"] { --rc: #aab4c3; --rc-ink: #d3dae5; --rc-soft: rgba(170, 180, 195, .2); }
html[data-theme="dark"] .lp-roles-sec[data-role="patient"]   { --rc: #6bb2ea; --rc-ink: #a5d2f4; --rc-soft: rgba(107, 178, 234, .2); }
.lp-tab[aria-selected="true"], html[data-theme="dark"] .lp-tab[aria-selected="true"] { border-inline-start-color: var(--rc); background: var(--rc-soft); color: var(--rc-ink); }
.lp-panel-head h3 { color: var(--rc-ink); }
.lp-kpi b { color: var(--rc-ink); }
.lp-tag, html[data-theme="dark"] .lp-tag { background: var(--rc-soft); color: var(--rc-ink); }
.lp-ticket { border-color: var(--rc); color: var(--rc-ink); }
.lp-ticket.now, html[data-theme="dark"] .lp-ticket.now { background: var(--rc); border-color: var(--rc); color: #fff; }
.lp-actions .lp-mini-btn:first-child, html[data-theme="dark"] .lp-actions .lp-mini-btn:first-child { background: var(--rc); border-color: var(--rc); color: #fff; }
.lp-chip.on, html[data-theme="dark"] .lp-chip.on { background: var(--rc); border-color: var(--rc); color: #fff; }
.lp-slot.on { background: var(--rc); border-color: var(--rc); color: #fff; }
.lp-screen { box-shadow: 0 30px 60px -36px var(--rc); border-color: var(--rc-soft); transition: box-shadow .5s, border-color .5s; }
.lp-tab:hover { color: var(--rc-ink); }

/* الخطوات: شريط أزرق داكن */
.lp-steps-sec { background: var(--teal-900); color: #f4f7f6; border-top: 0 !important; }
.lp-steps-sec .lp-sec-head h2, .lp-steps-sec .lp-step h3 { color: #fff; }
.lp-steps-sec .lp-step p { color: rgba(244, 247, 246, .74); }
.lp-steps-sec .lp-step + .lp-step { border-inline-start-color: rgba(143, 180, 242, .3); }
.lp-steps-sec .lp-step-n { opacity: 1; }
.lp-steps-sec .lp-step:nth-child(1) .lp-step-n { color: #8fb4f2; }
.lp-steps-sec .lp-step:nth-child(2) .lp-step-n { color: #e58aa3; }
.lp-steps-sec .lp-step:nth-child(3) .lp-step-n { color: #c9d2e0; }

/* الأسعار: خلفية رمادية فاتحة */
.lp-sand { background: var(--sand); }

/* الدعوة الختامية: نبيتي عميق، والتذييل كحلي */
.lp-cta { background: var(--wine-900); }
.lp-foot { background: var(--teal-950); }

/* الأسئلة */
.lp-faq summary:hover { color: var(--gold); }

/* ---------- حقل التحقق من رابط العيادة (الهيرو) ---------- */
.lp-claim { max-width: 560px; margin: 0 0 30px; padding: 18px 18px 14px; background: var(--surface); border: 1px solid var(--line-solid); border-radius: 20px;
  box-shadow: 0 24px 50px -32px rgba(29, 95, 208, .45); cursor: text; }
.lp-claim-t { display: block; font-weight: 600; font-size: 15.5px; margin-bottom: 10px; color: var(--ink); cursor: text; }
.lp-claim-box { display: flex; align-items: center; border: 1.5px solid var(--line-solid); border-radius: 14px; background: var(--paper); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.lp-claim-box:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29, 95, 208, .16); }
.lp-claim-box.is-ok { border-color: #1e8e5a; }
.lp-claim-box.is-bad { border-color: var(--gold); }
.lp-claim-pre { padding: 0 2px 0 16px; color: var(--ink-2); font: 600 17px ui-monospace, Menlo, Consolas, monospace; white-space: nowrap; user-select: none; }
.lp-claim-box input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: 600 17px ui-monospace, Menlo, Consolas, monospace; padding: 15px 4px; outline: 0; }
.lp-claim-btn { align-self: stretch; border: 0; background: var(--blue); color: #fff; font: 600 15px var(--f-body); padding: 0 22px; cursor: pointer; transition: background-color .2s; }
.lp-claim-btn:hover { background: var(--blue-d); }
html[data-theme="dark"] .lp-claim-btn { color: #0b1d3f; }
.lp-claim-msg { min-height: 28px; margin-top: 10px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); line-height: 1.6; }
.lp-claim-msg.is-ok { color: #1e8e5a; }
html[data-theme="dark"] .lp-claim-msg.is-ok { color: #4cc38a; }
.lp-claim-msg.is-bad { color: var(--gold); }
.lp-claim-sugg { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-claim-sugg button { border: 1px solid var(--line-solid); background: var(--paper-2); color: var(--blue); border-radius: 999px; padding: 4px 14px;
  font: 600 13px ui-monospace, Menlo, Consolas, monospace; cursor: pointer; }
.lp-claim-sugg button:hover { border-color: var(--blue); }
@media (max-width: 1080px) { .lp-claim { margin-inline: auto; text-align: start; } }
@media (max-width: 520px) { .lp-claim-pre, .lp-claim-box input { font-size: 15px; } .lp-claim-btn { padding: 0 14px; } }

/* ===== موبايل (تعديل إضافى فوق آخر نسخة) ===== */
/* موبايل إضافى: الهيرو والدعوة الختامية والشاشات التوضيحية كانت بمسافات سطح المكتب */
@media (max-width: 760px) {
  .lp-nav-in { gap: 12px; }
  .lp-hero-grid { padding: 112px 20px 64px; gap: 44px; }
  .lp-hero h1 { font-size: clamp(30px, 8.6vw, 38px); margin-bottom: 20px; }
  .lp-lede { margin-bottom: 30px; }
  .lp-hero-cta { margin-bottom: 32px; }
  .lp-cta { padding: 84px 0; }
  .lp-cta p { font-size: 16.5px; margin-bottom: 30px; }
  .lp-screen { padding: 18px; border-radius: 16px; }
  .lp-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lp-kpi small { font-size: 11.5px; }
  .lp-row { grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; font-size: 14px; }
  .lp-slots { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lp-slot { padding: 11px 0; font-size: 14px; }
  .lp-tab { padding: 12px 16px; font-size: 16px; }
  .lp-faq summary { font-size: 18px; padding: 20px 0; }
  .lp-price-frame { border-radius: 18px; }
}
@media (max-width: 480px) {
  .lp-hero-cta { flex-direction: column; align-items: stretch; gap: 16px; }
  .lp-hero-cta .lp-btn { width: 100%; }
  .lp-hero-cta .lp-textlink { align-self: center; }
  .lp-cta .lp-btn { width: 100%; max-width: 360px; }
  .lp-dial-key { gap: 8px 18px; }
  .lp-actions { flex-wrap: wrap; }
  .lp-actions .lp-mini-btn { flex: 1 1 auto; min-height: 42px; }
}
/* حقل التحقق من رابط العيادة (lp-claim) على الموبايل */
@media (max-width: 760px) {
  .lp-claim { max-width: 100%; }
  .lp-claim-box { max-width: 100%; min-height: 52px; }
  .lp-claim-box input { font-size: 16px !important; min-width: 0; flex: 1 1 0; }  /* 16px يمنع تكبير iOS */
  .lp-claim-pre { font-size: 14px; flex-shrink: 0; }
  .lp-claim-btn { min-height: 44px; flex-shrink: 0; }
  .lp-claim-msg, .lp-claim-sugg { overflow-wrap: anywhere; }
}
@media (max-width: 380px) {
  .lp-claim-pre { font-size: 12.5px; }
  .lp-claim-btn { padding-inline: 14px; }
}

/* حقل الرابط: الإطار الخارجى (:focus-within) كافى — نلغى outline الإدخال العام (كان بيتقصّ بـ overflow:hidden فيظهر كخط نبيتى) */
body.page-landing .lp-claim-box input:focus,
body.page-landing .lp-claim-box input:focus-visible { outline: 0; box-shadow: none; }
