/* ============================================================
   نيبوكود للمراسلة — أنماط الصفحة العامة (/)
   - تُحمَّل فقط في الصفحة العامة (عبر HeadContent في Landing.razor) فوق app.css
   - كل الأصناف تبدأ بـ lp- (الصفحة) أو mk- (النماذج المرسومة للشاشات) حتى لا تتعارض مع المنصة
   - اتجاه الصفحة من اليمين لليسار: نستخدم الخصائص المنطقية (inline-start = اليمين)
   ============================================================ */

.lp {
  --lp-ink: #0F1D36;
  --lp-ink-2: #3B4964;
  --lp-ink-3: #69768F;
  --lp-line: #E3E8F0;
  --lp-line-2: #D3DAE5;
  --lp-paper: #FFFFFF;
  --lp-mist: #F4F6FA;
  --lp-sand: #FAF7F0;
  --lp-navy: #101E3C;
  --lp-navy-2: #1B2F5E;
  --lp-cobalt: #2443C9;
  --lp-cobalt-2: #1B35A6;
  --lp-cobalt-soft: #E9EDFC;
  --lp-saffron: #F2B33D;
  --lp-saffron-soft: #FDF3DC;
  --lp-green: #1E9E6A;
  --lp-green-2: #178257;
  --lp-green-soft: #E3F5EC;
  --lp-rose: #D6456B;
  --lp-rose-soft: #FCE8EE;
  --lp-red: #D64545;
  --lp-red-soft: #FBE7E7;
  --lp-wa-bg: #EFE7DD;
  --lp-wa-out: #D9FDD3;
  --lp-r: 18px;
  --lp-shadow: 0 1px 2px rgba(15, 29, 54, .05), 0 8px 24px rgba(15, 29, 54, .07);
  --lp-shadow-lg: 0 2px 4px rgba(15, 29, 54, .04), 0 24px 60px rgba(15, 29, 54, .16);
  --lp-header-h: 72px;
  --lp-ease: cubic-bezier(.2, .7, .2, 1);
  --lp-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Crect width='4' height='4' fill='%23101E3C' fill-opacity='.06'/%3E%3C/svg%3E");
  --lp-pattern-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Crect width='4' height='4' fill='%23FFFFFF' fill-opacity='.07'/%3E%3C/svg%3E");
  --lp-check-green: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E9E6A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  --lp-check-saffron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F2B33D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  --lp-check-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  --lp-x-red: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D64545' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M18 6L6 18M6 6l12 12'/%3E%3C/svg%3E");
  --lp-minus-amber: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B57A00' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E");
  color: var(--lp-ink);
  background: var(--lp-paper);
  font-size: 1.0667rem;
  line-height: 1.7;
}
body:has(.lp) { background: #fff; }
.lp a { text-decoration: none; }
.lp a:hover { text-decoration: none; }
.lp p { margin: 0; }
.lp :focus-visible { outline: 3px solid rgba(36, 67, 201, .35); outline-offset: 2px; }
/* Blazor يضع التركيز على العنوان الرئيسي عند فتح الصفحة (لقارئات الشاشة) — بدون إطار ظاهر */
.lp h1:focus, .lp h1:focus-visible, .lp [tabindex="-1"]:focus-visible { outline: none; }
.lp img { display: inline-block; }

.lp-wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.lp-main { display: block; overflow-x: clip; }
.lp-main:focus, .lp section[tabindex="-1"]:focus { outline: none; }
.lp section[id], .lp [id="calculator"] { scroll-margin-top: calc(var(--lp-header-h) + 16px); }
.lp-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* رابط «تخطّ إلى المحتوى» (في LandingLayout) يظهر فقط عند التنقل بلوحة المفاتيح */
.lp-skip { position: fixed; top: 10px; inset-inline-start: 10px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: #101E3C; color: #fff !important; font-weight: 600; transform: translateY(-160%); transition: transform .15s; text-decoration: none !important; }
.lp-skip:focus { transform: none; }

/* ---------------- الأزرار ---------------- */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; font-size: .98rem; line-height: 1; white-space: nowrap; cursor: pointer;
  text-decoration: none !important; font-family: inherit;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .08s;
}
.lp-btn:active { transform: translateY(1px); }
.lp-btn-lg { height: 54px; padding: 0 26px; font-size: 1.06rem; border-radius: 14px; }
.lp-btn-block { width: 100%; }
.lp-btn-primary { background: var(--lp-cobalt); color: #fff !important; box-shadow: 0 6px 16px rgba(36, 67, 201, .24); }
.lp-btn-primary:hover { background: var(--lp-cobalt-2); }
.lp-btn-ghost { background: #fff; color: var(--lp-ink) !important; border-color: var(--lp-line-2); }
.lp-btn-ghost:hover { border-color: #A8B3C6; background: var(--lp-mist); }
.lp-btn-quiet { background: transparent; color: var(--lp-ink) !important; }
.lp-btn-quiet:hover { background: var(--lp-mist); }
.lp-btn-saffron { background: var(--lp-saffron); color: #2B1D00 !important; box-shadow: 0 8px 20px rgba(242, 179, 61, .28); }
.lp-btn-saffron:hover { background: #F6C35C; }
.lp-btn-green { background: var(--lp-green); color: #fff !important; box-shadow: 0 6px 16px rgba(30, 158, 106, .22); }
.lp-btn-green:hover { background: var(--lp-green-2); }
.lp-btn-ondark { background: rgba(255, 255, 255, .08); color: #fff !important; border-color: rgba(255, 255, 255, .3); }
.lp-btn-ondark:hover { background: rgba(255, 255, 255, .16); }
.lp-btn.is-done { border-color: var(--lp-green); color: var(--lp-green-2) !important; background: var(--lp-green-soft); }
.lp-linkbtn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--lp-cobalt); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.lp-linkbtn[hidden] { display: none; }

/* ---------------- الشريط العلوي ---------------- */
.lp-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.lp-header.is-scrolled { border-bottom-color: var(--lp-line); box-shadow: 0 6px 24px rgba(15, 29, 54, .06); background: rgba(255, 255, 255, .95); }
.lp-header-in { height: var(--lp-header-h); display: flex; align-items: center; gap: 24px; }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--lp-ink) !important; flex-shrink: 0; }
.lp-brand img { border-radius: 10px; }
.lp-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.lp-brand-text b { font-family: var(--font-display); font-weight: 700; font-size: 1.34rem; letter-spacing: .2px; }
.lp-brand-text small { font-size: .76rem; color: var(--lp-ink-3); font-weight: 500; }
.lp-nav { display: flex; align-items: center; gap: 2px; }
.lp-nav > a { padding: 8px 12px; border-radius: 10px; color: var(--lp-ink-2); font-weight: 500; font-size: .98rem; transition: color .15s, background .15s; }
.lp-nav > a:hover { color: var(--lp-ink); background: var(--lp-mist); }
.lp-nav > a.is-current { color: var(--lp-cobalt); background: var(--lp-cobalt-soft); }
.lp-nav-cta { display: none; }
.lp-header-cta { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.lp-menu-btn { display: none; }

/* ---------------- البطل ---------------- */
.lp-hero {
  position: relative; padding: 56px 0 100px;
  background:
    radial-gradient(760px 460px at 18% 12%, rgba(36, 67, 201, .11), transparent 62%),
    radial-gradient(620px 380px at 96% 96%, rgba(242, 179, 61, .16), transparent 62%),
    linear-gradient(180deg, #FBFAF6 0%, #FFFFFF 100%);
}
.lp-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--lp-pattern);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.lp-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 52px; align-items: center; }
.lp-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px !important;
  padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--lp-line);
  color: var(--lp-ink-2); font-size: .9rem; font-weight: 500; box-shadow: 0 2px 8px rgba(15, 29, 54, .05);
}
.lp-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--lp-green); flex-shrink: 0; animation: lp-pulse 2.2s infinite; }
@keyframes lp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(30, 158, 106, .45); }
  70% { box-shadow: 0 0 0 9px rgba(30, 158, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(30, 158, 106, 0); }
}
.lp-hero h1 {
  font-family: var(--font-display); font-weight: 700; color: var(--lp-ink);
  font-size: clamp(2.25rem, 1.25rem + 3.2vw, 3.95rem); line-height: 1.25; margin: 0 0 22px;
}
.lp-mark {
  color: var(--lp-cobalt); padding: 0 .06em;
  background: linear-gradient(transparent 54%, rgba(242, 179, 61, .36) 54%, rgba(242, 179, 61, .36) 80%, transparent 80%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.lp-lead { font-size: clamp(1.07rem, 1rem + .35vw, 1.24rem); color: var(--lp-ink-2); line-height: 1.9; max-width: 36em; margin: 0 0 30px !important; }
.lp-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.lp-hero-notes { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--lp-ink-2); font-size: .96rem; }
.lp-hero-notes li { display: inline-flex; align-items: center; gap: 6px; }
.lp-hero-notes .icon { color: var(--lp-green); }
.lp-hero-login { font-size: .93rem; color: var(--lp-ink-3); line-height: 1.8; }
.lp-hero-login .icon { margin-inline-end: 4px; vertical-align: -3px; }
.lp-hero-login a { font-weight: 700; color: var(--lp-cobalt); }
.lp-hero-login a:hover { text-decoration: underline; text-underline-offset: 3px; }
.lp-hero-art { position: relative; min-width: 0; }

/* ============================================================
   النماذج المرسومة (mk-) — كل المقاسات بـ em حتى يتصغر النموذج كاملاً بتغيير font-size
   ============================================================ */
.mk-stage { position: relative; padding: 26px 0 150px; padding-inline-start: 84px; }
.mk-window {
  position: relative; background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: var(--lp-shadow-lg), 0 0 0 1px rgba(15, 29, 54, .06);
  font-size: 12px; line-height: 1.5; color: var(--lp-ink); text-align: start;
}
.mk-titlebar { position: relative; height: 2.9em; display: flex; align-items: center; justify-content: center; background: #F3F5F9; border-bottom: 1px solid #E6EAF1; }
.mk-lights { position: absolute; inset-inline-end: 1.1em; top: 50%; translate: 0 -50%; display: flex; gap: .45em; }
.mk-lights i { width: .82em; height: .82em; border-radius: 50%; background: #F26B5B; }
.mk-lights i:nth-child(2) { background: #F6BE4F; }
.mk-lights i:nth-child(3) { background: #5BC868; }
.mk-url { display: inline-flex; align-items: center; gap: .45em; padding: .25em 1.1em; border-radius: 999px; background: #fff; border: 1px solid #E3E8F0; color: #69768F; font-size: .92em; direction: ltr; }
.mk-url .icon { width: 1em; height: 1em; color: #1E9E6A; }
.mk-app { display: grid; grid-template-columns: 3.6em 15.6em minmax(0, 1fr); height: 30.5em; }

.mk-rail { background: var(--lp-navy); display: flex; flex-direction: column; align-items: center; gap: .85em; padding: .9em 0; }
.mk-rail img { width: 2.1em; height: 2.1em; border-radius: .55em; margin-bottom: .35em; }
.mk-rail i { width: 2.4em; height: 2.4em; display: grid; place-items: center; border-radius: .7em; color: rgba(255, 255, 255, .5); }
.mk-rail i.on { background: rgba(255, 255, 255, .13); color: #fff; }
.mk-rail .icon { width: 1.25em; height: 1.25em; }

.mk-list { background: #fff; border-inline-end: 1px solid #E6EAF1; padding: .8em .65em; display: flex; flex-direction: column; gap: .3em; overflow: hidden; }
.mk-search { display: flex; align-items: center; gap: .45em; height: 2.45em; padding: 0 .8em; border-radius: .7em; background: #F3F5F9; color: #8B96AA; font-size: .94em; flex-shrink: 0; }
.mk-search .icon { width: 1em; height: 1em; }
.mk-chips { display: flex; gap: .35em; margin: .3em 0 .35em; flex-shrink: 0; }
.mk-chips span { padding: .2em .65em; border-radius: 999px; background: #F3F5F9; color: #3B4964; font-size: .86em; white-space: nowrap; font-weight: 600; }
.mk-chips span.on { background: var(--lp-navy); color: #fff; }
.mk-chips em { font-style: normal; opacity: .65; margin-inline-start: .15em; }
.mk-conv { display: grid; grid-template-columns: 2.6em minmax(0, 1fr) auto; gap: .6em; align-items: center; padding: .55em .5em; border-radius: .8em; flex-shrink: 0; }
.mk-conv.is-active { background: var(--lp-cobalt-soft); }
.mk-av {
  width: 2.6em; height: 2.6em; border-radius: 50%; flex-shrink: 0;
  display: inline-grid; place-items: center; font-weight: 700; font-size: 1em; line-height: 1;
  color: hsl(var(--h, 222) 52% 30%); background: hsl(var(--h, 222) 72% 91%);
}
.mk-av.sq { border-radius: .7em; background: var(--lp-cobalt); color: #fff; }
.mk-av.xs { width: 1.95em; height: 1.95em; font-size: .86em; }
.mk-conv-main { min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.mk-conv-main b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-conv-main small { color: #69768F; font-size: .9em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-mini-chip { align-self: flex-start; margin-top: .25em; font-size: .76em; padding: .05em .55em; border-radius: 999px; background: var(--lp-saffron-soft); color: #8A5A00; font-weight: 600; }
.mk-conv-side { display: flex; flex-direction: column; align-items: flex-end; gap: .3em; color: #8B96AA; font-size: .8em; }
.mk-conv-side em { font-style: normal; min-width: 1.75em; height: 1.75em; padding: 0 .45em; display: grid; place-items: center; border-radius: 999px; background: var(--lp-green); color: #fff; font-weight: 700; }

.mk-chat { display: flex; flex-direction: column; min-width: 0; background-color: var(--lp-wa-bg); background-image: var(--lp-pattern); }
.mk-chat-head { display: flex; align-items: center; gap: .6em; padding: .6em .9em; background: #fff; border-bottom: 1px solid #E6EAF1; }
.mk-chat-who { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.3; }
.mk-chat-who b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-chat-who small { color: #69768F; font-size: .85em; }
.mk-assign { display: inline-flex; align-items: center; gap: .3em; padding: .22em .65em; border-radius: 999px; background: var(--lp-cobalt-soft); color: var(--lp-cobalt); font-size: .84em; font-weight: 700; white-space: nowrap; }
.mk-assign .icon { width: 1em; height: 1em; }
.mk-status { padding: .22em .65em; border-radius: 999px; background: var(--lp-green-soft); color: #176B48; font-size: .84em; font-weight: 700; white-space: nowrap; }
.mk-thread { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: .55em; padding: .9em 1em; overflow: hidden; }
.mk-day { align-self: center; padding: .15em .85em; border-radius: .6em; background: rgba(255, 255, 255, .88); color: #69768F; font-size: .8em; box-shadow: 0 1px 1px rgba(15, 29, 54, .05); }
.mk-b { position: relative; max-width: 80%; padding: .55em .8em .4em; border-radius: .9em; background: #fff; box-shadow: 0 1px 1px rgba(15, 29, 54, .08); font-size: .98em; line-height: 1.55; }
.mk-b time { display: flex; align-items: center; justify-content: flex-end; gap: .3em; margin-top: .15em; font-size: .78em; color: #8B96AA; }
.mk-b time .icon { width: 1.15em; height: 1.15em; color: #3A8DDE; }
.mk-b.in { align-self: flex-start; border-start-start-radius: .25em; }
.mk-b.out { align-self: flex-end; background: var(--lp-wa-out); border-start-end-radius: .25em; }
.mk-b.note { align-self: center; max-width: 90%; background: #FFF6DB; border: 1px dashed #EDC36A; color: #6B4E00; box-shadow: none; }
.mk-b.note b { display: block; font-size: .82em; color: #8A5A00; margin-bottom: .1em; }
.mk-by { color: var(--lp-cobalt); font-weight: 700; margin-inline-end: .2em; }
.mk-typing { display: inline-flex; gap: .3em; padding: .8em .95em; }
.mk-typing i { width: .45em; height: .45em; border-radius: 50%; background: #9AA5B8; animation: mk-dot 1.2s infinite ease-in-out; }
.mk-typing i:nth-child(2) { animation-delay: .15s; }
.mk-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes mk-dot { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-.32em); opacity: 1; } }
.mk-composer { display: flex; align-items: center; gap: .6em; margin: 0 .8em .8em; padding: .4em; padding-inline-start: 1em; background: #fff; border-radius: 999px; color: #8B96AA; font-size: .94em; box-shadow: 0 1px 2px rgba(15, 29, 54, .07); }
.mk-composer span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-composer b { width: 2.35em; height: 2.35em; border-radius: 50%; display: grid; place-items: center; background: var(--lp-cobalt); color: #fff; flex-shrink: 0; }
.mk-composer b .icon { width: 1.05em; height: 1.05em; }

/* جوال العميل */
.mk-phone { width: 15.6em; font-size: 12px; line-height: 1.5; color: var(--lp-ink); background: var(--lp-navy); border-radius: 2.3em; padding: .55em; box-shadow: var(--lp-shadow-lg), 0 0 0 1px rgba(255, 255, 255, .05) inset; text-align: start; }
.mk-phone-hero { position: absolute; inset-inline-start: 0; bottom: 0; z-index: 2; width: 14.6em; }
.mk-phone-top { display: flex; align-items: center; gap: .6em; padding: 1.25em .9em .7em; background: #F7F8FA; border-radius: 1.8em 1.8em 0 0; }
.mk-phone-top > span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.mk-phone-top b { font-weight: 700; }
.mk-phone-top small { font-size: .8em; color: #69768F; }
.mk-phone-top .mk-av { width: 2.4em; height: 2.4em; }
.mk-phone-body { display: flex; flex-direction: column; gap: .45em; padding: .8em .65em 1.1em; background-color: var(--lp-wa-bg); background-image: var(--lp-pattern); border-radius: 0 0 1.8em 1.8em; min-height: 19em; }
.mk-pb { max-width: 86%; padding: .5em .7em .35em; border-radius: .9em; background: #fff; font-size: .96em; line-height: 1.55; box-shadow: 0 1px 1px rgba(15, 29, 54, .08); }
.mk-pb.in { align-self: flex-start; border-start-start-radius: .25em; }
.mk-pb.out { align-self: flex-end; background: var(--lp-wa-out); border-start-end-radius: .25em; }
.mk-pb time { display: block; text-align: end; font-size: .76em; color: #8B96AA; margin-top: .1em; }
.mk-tplwrap { align-self: flex-start; width: 92%; display: flex; flex-direction: column; gap: .25em; }
.mk-tpl { max-width: none; padding: .35em; }
.mk-tpl-media {
  position: relative; overflow: hidden; height: 7.2em; border-radius: .7em; margin-bottom: .5em;
  display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff;
  background: radial-gradient(120% 90% at 85% 0%, rgba(242, 179, 61, .55), transparent 55%), linear-gradient(135deg, #2443C9, #101E3C);
}
.mk-tpl-media::after { content: ""; position: absolute; inset: 0; background-image: var(--lp-pattern-light); }
.mk-tpl-media b { position: relative; font-family: var(--font-display); font-size: 1.95em; line-height: 1.1; }
.mk-tpl-media small { position: relative; opacity: .85; font-size: .82em; }
.mk-tpl p { margin: 0 .3em .3em; }
.mk-tpl-foot { display: block; margin: 0 .3em; color: #8B96AA; font-size: .8em; }
.mk-tpl time { margin-inline-end: .3em; }
.mk-tpl-btns { display: flex; flex-direction: column; gap: .25em; }
.mk-tpl-btns span { display: flex; align-items: center; justify-content: center; gap: .35em; padding: .55em; background: #fff; border-radius: .7em; color: #1F8BD6; font-weight: 700; font-size: .9em; box-shadow: 0 1px 1px rgba(15, 29, 54, .08); }
.mk-tpl-btns .icon { width: 1em; height: 1em; }

.mk-float {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: .55em;
  padding: .75em 1.05em; background: #fff; border-radius: 1em; white-space: nowrap;
  box-shadow: var(--lp-shadow-lg), 0 0 0 1px rgba(15, 29, 54, .05);
  font-size: 12.5px; font-weight: 700; color: var(--lp-ink);
  animation: mk-float 6s ease-in-out infinite;
}
.mk-float-a { top: 62%; inset-inline-end: -20px; color: #176B48; }
.mk-float-a .icon { color: var(--lp-green); }
.mk-float-b { top: 0; inset-inline-end: 12%; animation-delay: -3s; }
@keyframes mk-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------------- شريط القيمة ---------------- */
.lp-strip { border-block: 1px solid var(--lp-line); background: #fff; }
.lp-strip-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lp-strip-grid > div { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 24px 22px; border-inline-start: 1px solid var(--lp-line); }
.lp-strip-grid > div:first-child { border-inline-start: 0; padding-inline-start: 0; }
.lp-strip-grid span { grid-row: span 2; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--lp-cobalt-soft); color: var(--lp-cobalt); }
.lp-strip-grid b { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
.lp-strip-grid small { color: var(--lp-ink-3); font-size: .9rem; line-height: 1.5; }

/* ---------------- الأقسام العامة ---------------- */
.lp-section { padding: 104px 0; }
.lp-head { max-width: 780px; margin: 0 auto 56px; text-align: center; }
.lp-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px !important; color: var(--lp-cobalt); font-weight: 700; font-size: .92rem; letter-spacing: .2px; }
.lp-head .lp-kicker::before { content: ""; width: 9px; height: 9px; background: var(--lp-saffron); flex-shrink: 0; }
.lp-kicker.light { color: var(--lp-saffron); }
.lp-head h2, .lp-dd-copy h2, .lp-branches h2 {
  font-family: var(--font-display); font-weight: 700; color: var(--lp-ink);
  font-size: clamp(1.75rem, 1.15rem + 1.8vw, 2.6rem); line-height: 1.32; margin: 0 0 14px;
}
.lp-head > p:last-child { color: var(--lp-ink-2); font-size: 1.1rem; line-height: 1.85; }
.lp-head > p:last-child a { color: var(--lp-cobalt); font-weight: 700; }

/* الظهور التدريجي عند التمرير (يُفعّله app.js بإضافة lp-anim — بدون JS كل شيء ظاهر) */
.lp-reveal { transition: opacity .7s var(--lp-ease) var(--lp-d, 0ms), translate .7s var(--lp-ease) var(--lp-d, 0ms); }
.lp-anim .lp-reveal:not(.is-in) { opacity: 0; translate: 0 22px; }

.lp-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.lp-checks li { position: relative; padding-inline-start: 34px; line-height: 1.75; color: var(--lp-ink); }
.lp-checks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .18em; width: 23px; height: 23px; border-radius: 7px; background: var(--lp-green-soft) var(--lp-check-green) center / 14px no-repeat; }
.lp-checks.light li { color: rgba(255, 255, 255, .9); }
.lp-checks.light li::before { background-color: rgba(255, 255, 255, .1); background-image: var(--lp-check-saffron); }

/* ---------------- قبل / بعد ---------------- */
.lp-pain { background: var(--lp-sand); }
.lp-vs { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 22px; align-items: stretch; max-width: 1060px; margin: 0 auto; }
.lp-vs-col { border-radius: 22px; padding: 32px 30px 28px; }
.lp-vs-before { background: #fff; border: 1px solid #ECE4D2; }
.lp-vs-after { background: var(--lp-navy); color: #fff; box-shadow: 0 26px 60px rgba(16, 30, 60, .25); position: relative; overflow: hidden; }
.lp-vs-after::after { content: ""; position: absolute; inset: 0; background-image: var(--lp-pattern-light); pointer-events: none; }
.lp-vs-col h3 { position: relative; display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.32rem; margin: 0 0 20px; }
.lp-vs-col h3 span { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; }
.lp-vs-before h3 span { background: var(--lp-red-soft); color: var(--lp-red); }
.lp-vs-after h3 { color: #fff; }
.lp-vs-after h3 span { background: rgba(30, 158, 106, .22); color: #74E3B3; }
.lp-vs-col ul { position: relative; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 15px; }
.lp-vs-col li { position: relative; padding-inline-start: 22px; line-height: 1.75; }
.lp-vs-col li::before { content: ""; position: absolute; inset-inline-start: 0; top: .7em; width: 8px; height: 8px; border-radius: 2px; }
.lp-vs-before li { color: var(--lp-ink-2); }
.lp-vs-before li::before { background: #E9A9A9; }
.lp-vs-after li { color: rgba(255, 255, 255, .9); }
.lp-vs-after li::before { background: var(--lp-saffron); }
.lp-vs-arrow { align-self: center; width: 54px; height: 54px; border-radius: 50%; background: #fff; border: 1px solid #ECE4D2; display: grid; place-items: center; color: var(--lp-cobalt); box-shadow: var(--lp-shadow); }

/* ---------------- المزايا ---------------- */
.lp-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.lp-feature {
  background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-r); padding: 26px 22px 24px;
  transition: opacity .7s var(--lp-ease) var(--lp-d, 0ms), translate .7s var(--lp-ease) var(--lp-d, 0ms), transform .2s, box-shadow .2s, border-color .2s;
}
.lp-feature:hover { transform: translateY(-3px); box-shadow: var(--lp-shadow); border-color: var(--lp-line-2); }
.lp-ficon { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 18px; }
.lp-ficon.tone-cobalt { background: var(--lp-cobalt-soft); color: var(--lp-cobalt); }
.lp-ficon.tone-green { background: var(--lp-green-soft); color: var(--lp-green); }
.lp-ficon.tone-saffron { background: var(--lp-saffron-soft); color: #B57A00; }
.lp-ficon.tone-rose { background: var(--lp-rose-soft); color: var(--lp-rose); }
.lp-ficon.tone-navy { background: var(--lp-navy); color: #fff; }
.lp-feature h3 { font-family: var(--font-display); font-size: 1.14rem; margin: 0 0 8px; }
.lp-feature p { color: var(--lp-ink-2); font-size: .97rem; line-height: 1.8; }

/* ---------------- الجولة (أقسام متناوبة) ---------------- */
.lp-tour { background: linear-gradient(180deg, #fff 0%, var(--lp-mist) 100%); padding-top: 24px; }
.lp-dd { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 64px; align-items: center; padding: 56px 0; }
.lp-dd.is-flip .lp-dd-copy { order: 2; }
.lp-dd-copy .lp-kicker { padding: 6px 13px; border-radius: 999px; background: var(--lp-cobalt-soft); }
.lp-dd-copy > p:not(.lp-kicker) { color: var(--lp-ink-2); font-size: 1.08rem; line-height: 1.9; margin: 0 0 22px; }
.lp-dd-art { min-width: 0; }
.lp-mock-note { text-align: center; color: var(--lp-ink-3); font-size: .85rem; padding-top: 8px; }

.mk-panel {
  position: relative; border-radius: 28px; padding: 36px; min-height: 420px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; gap: 16px;
  font-size: 13px; line-height: 1.5; color: var(--lp-ink);
}
.mk-panel::before { content: ""; position: absolute; inset: 0; background-image: var(--lp-pattern); pointer-events: none; }
.mk-panel > * { position: relative; }
.mk-panel.tone-cobalt { background: linear-gradient(150deg, #E5EAFC 0%, #F5F7FF 100%); }
.mk-panel.tone-green { background: linear-gradient(150deg, #DDF3E8 0%, #F3FBF7 100%); }
.mk-panel.tone-saffron { background: linear-gradient(150deg, #FCEFD2 0%, #FFFAF0 100%); }
.mk-panel.tone-navy { background: linear-gradient(150deg, #101E3C 0%, #1B2F5E 100%); }
.mk-panel.tone-navy::before { background-image: var(--lp-pattern-light); }
.mk-card { background: #fff; border-radius: 16px; padding: 1.2em 1.3em; box-shadow: 0 1px 2px rgba(15, 29, 54, .06), 0 12px 32px rgba(15, 29, 54, .09); }
.mk-card-head { display: flex; flex-direction: column; margin-bottom: .8em; line-height: 1.4; }
.mk-card-head b { font-size: 1.05em; }
.mk-card-head small { color: #69768F; }

/* 1) صندوق المحادثات */
.mk-assign-card { width: min(100%, 23em); align-self: flex-start; }
.mk-pick { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .3em; }
.mk-pick li { display: flex; align-items: center; gap: .6em; padding: .55em .65em; border-radius: .7em; font-weight: 600; }
.mk-pick li small { color: #8B96AA; font-weight: 500; margin-inline-start: auto; }
.mk-pick li.on { background: var(--lp-cobalt-soft); color: var(--lp-cobalt); }
.mk-pick li .icon { color: var(--lp-cobalt); }
.mk-state-card { width: min(100%, 21em); align-self: flex-end; display: flex; flex-direction: column; gap: .85em; margin-top: -.4em; }
.mk-seg { display: inline-flex; align-self: flex-start; padding: .25em; gap: .2em; background: #F3F5F9; border-radius: .8em; }
.mk-seg b { padding: .4em .9em; border-radius: .6em; font-weight: 600; color: #3B4964; font-size: .95em; }
.mk-seg b.on { background: #fff; color: #176B48; box-shadow: 0 1px 2px rgba(15, 29, 54, .12); }
.mk-tags { display: flex; flex-wrap: wrap; gap: .4em; }
.mk-tags span { padding: .25em .75em; border-radius: 999px; font-weight: 700; font-size: .9em; color: var(--lc); background: #F3F5F9; background: color-mix(in srgb, var(--lc) 12%, white); }
.mk-quick { width: min(100%, 25em); align-self: flex-start; margin-inline-start: 1.6em; }
.mk-quick-in { display: flex; align-items: center; gap: .15em; padding: .55em .85em; border: 1.5px solid var(--lp-cobalt); border-radius: .8em; margin-bottom: .6em; font-weight: 600; box-shadow: 0 0 0 3px var(--lp-cobalt-soft); }
.mk-quick-in span { color: var(--lp-cobalt); }
.mk-quick-in i { width: 1.5px; height: 1.15em; background: var(--lp-cobalt); margin-inline-start: .1em; animation: mk-caret 1s steps(1) infinite; }
@keyframes mk-caret { 50% { opacity: 0; } }
.mk-quick ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .15em; }
.mk-quick li { padding: .5em .65em; border-radius: .6em; color: #3B4964; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-quick li:first-child { background: #F3F5F9; }
.mk-quick li b { color: var(--lp-cobalt); margin-inline-end: .45em; }

/* 2) الأتمتة */
.mk-panel-bot { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 22px; }
.mk-phone-bot { width: 17em; font-size: 12.5px; }
.mk-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.mk-listbtn { display: flex; align-items: center; justify-content: center; gap: .35em; margin: .5em -.7em -.35em; padding: .55em; border-top: 1px solid #EEF1F5; color: #1F8BD6; font-weight: 700; }
.mk-listbtn .icon, .mk-sel .icon { width: 1em; height: 1em; }
.mk-sel { display: inline-flex; align-items: center; gap: .35em; font-weight: 600; }
.mk-sheet { display: flex; flex-direction: column; gap: .1em; }
.mk-sheet b { margin-bottom: .4em; font-size: 1.02em; }
.mk-sheet span { display: flex; align-items: center; justify-content: space-between; gap: .8em; padding: .5em .2em; border-bottom: 1px solid #F0F2F6; color: #3B4964; }
.mk-sheet span:last-child { border-bottom: 0; }
.mk-sheet span i { width: 1.05em; height: 1.05em; border-radius: 50%; border: 2px solid #C5CDDA; flex-shrink: 0; }
.mk-sheet span.on { color: var(--lp-ink); font-weight: 700; }
.mk-sheet span.on i { border-color: var(--lp-green); background: radial-gradient(circle, var(--lp-green) 45%, transparent 50%); }
.mk-away { display: flex; align-items: center; gap: .8em; }
.mk-away-ico { width: 2.5em; height: 2.5em; border-radius: .8em; display: grid; place-items: center; background: var(--lp-saffron-soft); color: #B57A00; flex-shrink: 0; }
.mk-away div { display: flex; flex-direction: column; line-height: 1.45; min-width: 0; }
.mk-away small { color: #69768F; }
.mk-handoff { display: inline-flex; align-items: center; gap: .5em; align-self: flex-start; padding: .7em 1em; border-radius: 999px; font-weight: 700; color: #8A5A00; background: #FFF6DB; box-shadow: 0 1px 2px rgba(15, 29, 54, .06); }

/* 3) الحملات */
.mk-wizard { display: flex; justify-content: space-between; gap: .3em; padding: 1em 1.1em; }
.mk-wizard span { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: .35em; font-size: .88em; color: #69768F; font-weight: 600; }
.mk-wizard span:not(:first-child)::before { content: ""; position: absolute; top: 1.05em; inset-inline-start: -50%; width: 100%; height: 2px; background: var(--lp-green); }
.mk-wizard span.cur::before { background: linear-gradient(90deg, #D3DAE5, var(--lp-green)); }
.mk-wizard i { position: relative; z-index: 1; width: 2.15em; height: 2.15em; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; background: #F3F5F9; color: #69768F; }
.mk-wizard .done i { background: var(--lp-green); color: #fff; }
.mk-wizard .cur { color: var(--lp-cobalt); }
.mk-wizard .cur i { background: var(--lp-cobalt); color: #fff; box-shadow: 0 0 0 .32em var(--lp-cobalt-soft); }
.mk-camp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1em; margin-bottom: .55em; }
.mk-camp-head > span:first-child { display: flex; flex-direction: column; line-height: 1.4; min-width: 0; }
.mk-camp-head b { font-size: 1.12em; }
.mk-camp-head small { color: #69768F; }
.mk-pill { display: inline-flex; align-items: center; padding: .25em .75em; border-radius: 999px; font-size: .85em; font-weight: 700; white-space: nowrap; }
.mk-pill.run { background: var(--lp-cobalt-soft); color: var(--lp-cobalt); }
.mk-pill.run::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: var(--lp-cobalt); margin-inline-end: .4em; animation: mk-blink 1.4s infinite; }
@keyframes mk-blink { 50% { opacity: .25; } }
.mk-camp-meta { display: flex; flex-wrap: wrap; gap: .4em 1.2em; color: #69768F; font-size: .9em; margin-bottom: 1.05em; }
.mk-camp-meta span { display: inline-flex; align-items: center; gap: .35em; }
.mk-camp-meta .icon { width: 1.05em; height: 1.05em; }
.mk-bars { display: flex; flex-direction: column; gap: .75em; }
.mk-bars div { display: grid; grid-template-columns: 4.4em minmax(0, 1fr) 3.6em; align-items: center; gap: .8em; }
.mk-bars span { color: #3B4964; font-weight: 600; font-size: .92em; }
.mk-bars i { position: relative; height: .72em; border-radius: 999px; background: #EEF1F6; overflow: hidden; }
.mk-bars i::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--w); border-radius: inherit; background: linear-gradient(270deg, var(--lp-cobalt), #5B78F2); transition: width 1.3s var(--lp-ease) .25s; }
.mk-bars div.bad i::after { background: var(--lp-red); }
.mk-bars b { text-align: end; font-variant-numeric: tabular-nums; }
.lp-anim .lp-reveal:not(.is-in) .mk-bars i::after { width: 0; }
.mk-camp-foot { display: flex; align-items: center; flex-wrap: wrap; gap: .5em; margin-top: 1.15em; padding-top: .9em; border-top: 1px solid #EEF1F6; color: #69768F; font-size: .88em; }
.mk-camp-foot > span:first-child { margin-inline-end: auto; }
.mk-btnlike { display: inline-flex; align-items: center; gap: .3em; padding: .35em .75em; border-radius: .6em; border: 1px solid #D3DAE5; color: var(--lp-ink); font-weight: 600; }
.mk-btnlike .icon { width: 1em; height: 1em; }

/* 4) التقارير */
.mk-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6em; padding: 1em; }
.mk-kpis div { display: flex; flex-direction: column; gap: .15em; padding: .6em .7em; border-radius: .8em; background: #F6F8FB; min-width: 0; }
.mk-kpis small { color: #69768F; font-size: .8em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-kpis b { font-family: var(--font-display); font-size: 1.38em; color: var(--lp-ink); white-space: nowrap; }
.mk-chart-head { display: flex; justify-content: space-between; align-items: baseline; gap: .8em; margin-bottom: .8em; }
.mk-chart-head small { color: #8B96AA; }
.mk-chart-bars { display: flex; align-items: flex-end; gap: .45em; height: 7.6em; }
.mk-chart-bars i { flex: 1; height: var(--v); border-radius: .35em .35em .15em .15em; background: linear-gradient(180deg, #5B78F2, var(--lp-cobalt)); transform-origin: bottom; transition: transform .9s var(--lp-ease) .2s; }
.mk-chart-bars i:nth-last-child(-n+3) { background: linear-gradient(180deg, #F6C35C, var(--lp-saffron)); }
.lp-anim .lp-reveal:not(.is-in) .mk-chart-bars i { transform: scaleY(.08); }
.mk-heat-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: .3em; }
.mk-heat-grid i { aspect-ratio: 1; border-radius: .35em; display: grid; place-items: center; font-style: normal; font-size: .74em; font-weight: 600; color: #3B4964; background: rgba(36, 67, 201, var(--a)); }
.mk-heat-grid i.hi { color: #fff; }

/* ---------------- الفروع ---------------- */
.lp-branches { position: relative; overflow: hidden; background: var(--lp-navy); color: #fff; }
.lp-branches::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 360px at 85% 0%, rgba(36, 67, 201, .55), transparent 65%), radial-gradient(520px 320px at 0% 100%, rgba(242, 179, 61, .16), transparent 60%), var(--lp-pattern-light);
}
.lp-branches-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 60px; align-items: center; }
.lp-branches h2 { color: #fff; }
.lp-branches-copy > p:not(.lp-kicker) { color: rgba(255, 255, 255, .8); font-size: 1.08rem; line-height: 1.9; margin: 0 0 22px; }
.lp-branches-art { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, .9fr); align-items: center; }
.mk-cities { display: flex; flex-direction: column; gap: 10px; }
.mk-city { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); font-size: .92rem; line-height: 1.35; }
.mk-city-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(242, 179, 61, .16); color: var(--lp-saffron); }
.mk-city b { display: block; font-weight: 700; }
.mk-city small { color: rgba(255, 255, 255, .6); font-size: .82rem; }
.mk-city em { font-style: normal; font-size: .78rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: rgba(30, 158, 106, .22); color: #7BE3B5; white-space: nowrap; }
.mk-merge { align-self: stretch; padding-block: 8px; }
.mk-merge svg { display: block; width: 100%; height: 100%; overflow: visible; }
.mk-merge path { fill: none; stroke: rgba(242, 179, 61, .65); stroke-width: 2; stroke-dasharray: 5 6; vector-effect: non-scaling-stroke; animation: mk-flow 1.6s linear infinite; }
@keyframes mk-flow { to { stroke-dashoffset: -22; } }
.mk-one { display: flex; align-items: center; gap: 12px; padding: 18px 16px; border-radius: 18px; background: #fff; color: var(--lp-ink); box-shadow: 0 24px 50px rgba(0, 0, 0, .32); }
.mk-one img { border-radius: 9px; flex-shrink: 0; }
.mk-one span { display: flex; flex-direction: column; line-height: 1.4; min-width: 0; }
.mk-one b { font-weight: 700; }
.mk-one small { color: var(--lp-ink-3); font-size: .85rem; }

/* ---------------- كيف تبدأ ---------------- */
.lp-steps { position: relative; list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.lp-steps::before { content: ""; position: absolute; top: 49px; inset-inline: 48px; height: 2px; background: repeating-linear-gradient(90deg, #C9D3E6 0 6px, transparent 6px 12px); }
.lp-step { position: relative; background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-r); padding: 26px 22px 22px; display: flex; flex-direction: column; }
.lp-step-n { position: absolute; top: 14px; inset-inline-end: 18px; font-family: var(--font-display); font-size: 2.9rem; font-weight: 700; line-height: 1; color: var(--lp-cobalt-soft); }
.lp-step-ico { position: relative; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--lp-navy); color: #fff; margin-bottom: 18px; box-shadow: 0 0 0 6px #fff; }
.lp-step h3 { font-family: var(--font-display); font-size: 1.16rem; margin: 0 0 8px; }
.lp-step p { color: var(--lp-ink-2); font-size: .97rem; line-height: 1.8; margin: 0 0 16px; flex: 1; }
.lp-step-time { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 4px 11px; border-radius: 999px; background: var(--lp-green-soft); color: #176B48; font-weight: 700; font-size: .84rem; }

.lp-needs { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 32px; align-items: start; padding: 32px; border-radius: 24px; background: var(--lp-sand); border: 1px solid #EFE6D3; }
.lp-needs-head h3 { font-family: var(--font-display); font-size: 1.45rem; margin: 0 0 8px; }
.lp-needs-head p { color: var(--lp-ink-2); }
.lp-needs ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 26px; }
.lp-needs li { display: flex; gap: 12px; align-items: flex-start; }
.lp-needs li > span { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: #B57A00; border: 1px solid #F0E2C2; flex-shrink: 0; }
.lp-needs li b { display: block; margin-bottom: 2px; }
.lp-needs li small { color: var(--lp-ink-2); font-size: .92rem; line-height: 1.75; }

/* ---------------- من وين أدخل؟ ---------------- */
.lp-access { background: var(--lp-mist); }
.lp-loginbox { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; max-width: 940px; margin: 0 auto 32px; padding: 18px 20px; background: #fff; border: 1px solid var(--lp-line); border-radius: 20px; box-shadow: var(--lp-shadow); }
.lp-loginbox-ico { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--lp-cobalt); color: #fff; flex-shrink: 0; }
.lp-loginbox-text { flex: 1; min-width: 200px; display: flex; flex-direction: column; line-height: 1.45; }
.lp-loginbox-text small { color: var(--lp-ink-3); font-weight: 700; font-size: .85rem; }
.lp-loginbox-text code { align-self: flex-start; background: none; padding: 0; font-family: var(--mono); font-size: 1.12rem; font-weight: 700; color: var(--lp-ink); overflow-wrap: anywhere; }
.lp-loginbox-act { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; margin-bottom: 40px; }
.lp-role { position: relative; overflow: hidden; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--lp-line); border-radius: 22px; padding: 30px 26px 24px; --rc: var(--lp-cobalt); --rs: var(--lp-cobalt-soft); }
.lp-role::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 5px; background: var(--rc); }
.lp-role.is-agent { --rc: var(--lp-green); --rs: var(--lp-green-soft); }
.lp-role.is-dev { --rc: var(--lp-navy); --rs: #E7EAF2; }
.lp-role-ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--rs); color: var(--rc); margin-bottom: 16px; }
.lp-role-badge { margin: 0 0 4px !important; font-size: .85rem; font-weight: 700; color: var(--rc); }
.lp-role h3 { font-family: var(--font-display); font-size: 1.3rem; margin: 0 0 18px; }
.lp-role ol { list-style: none; margin: 0 0 24px; padding: 0; counter-reset: lp-st; display: flex; flex-direction: column; gap: 13px; flex: 1; }
.lp-role ol li { counter-increment: lp-st; position: relative; padding-inline-start: 38px; line-height: 1.75; color: var(--lp-ink-2); font-size: .98rem; }
.lp-role ol li::before { content: counter(lp-st); position: absolute; inset-inline-start: 0; top: .1em; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--rs); color: var(--rc); font-weight: 700; font-size: .86rem; line-height: 1; }
.lp-role ol li b { color: var(--lp-ink); }
.lp-role-cta { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-role-cta .lp-btn { flex: 1 1 140px; }

.lp-perm { background: #fff; border: 1px solid var(--lp-line); border-radius: 22px; padding: 28px; }
.lp-perm-head { margin-bottom: 18px; }
.lp-perm-head h3 { font-family: var(--font-display); font-size: 1.35rem; margin: 0 0 4px; }
.lp-perm-head p { color: var(--lp-ink-2); }

/* ---------------- الجداول ---------------- */
.lp-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.lp-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .97rem; }
.lp-table th, .lp-table td { padding: 14px 16px; text-align: start; vertical-align: middle; border-bottom: 1px solid var(--lp-line); }
.lp-table thead th { font-size: .88rem; color: var(--lp-ink-3); font-weight: 700; background: var(--lp-mist); border-bottom: 0; white-space: nowrap; }
.lp-table thead th:first-child { border-start-start-radius: 12px; border-end-start-radius: 12px; }
.lp-table thead th:last-child { border-start-end-radius: 12px; border-end-end-radius: 12px; }
.lp-table tbody tr:last-child > * { border-bottom: 0; }
.lp-table tbody th { font-weight: 600; color: var(--lp-ink); }
.lp-perm-table thead th:not(:first-child), .lp-perm-table td { text-align: center; width: 110px; }
.lp-yes { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--lp-green-soft); color: var(--lp-green); }
.lp-no { color: #B7C0CF; font-weight: 700; }

/* ---------------- القطاعات ---------------- */
.lp-ind-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.lp-ind {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-r); padding: 22px;
  transition: opacity .7s var(--lp-ease) var(--lp-d, 0ms), translate .7s var(--lp-ease) var(--lp-d, 0ms), transform .2s, box-shadow .2s;
}
.lp-ind:hover { transform: translateY(-3px); box-shadow: var(--lp-shadow); }
.lp-ind-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.lp-ind-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--lp-saffron-soft); color: #B57A00; flex-shrink: 0; }
.lp-ind h3 { font-family: var(--font-display); font-size: 1.1rem; margin: 0; }
.lp-ind p { color: var(--lp-ink-2); font-size: .95rem; line-height: 1.75; margin: 0 0 16px; flex: 1; }
.lp-ind-msg { align-self: flex-end; max-width: 100%; display: flex; align-items: flex-end; gap: 6px; padding: 10px 12px; border-radius: 12px; border-start-end-radius: 4px; background: var(--lp-wa-out); color: #1E3326; font-size: .9rem; line-height: 1.6; box-shadow: 0 1px 1px rgba(15, 29, 54, .06); }
.lp-ind-msg .icon { color: #3A8DDE; flex-shrink: 0; margin-bottom: .2em; }

/* ---------------- الأسعار ---------------- */
.lp-pricing { background: linear-gradient(180deg, #fff 0%, var(--lp-sand) 100%); }
.lp-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; align-items: stretch; max-width: 1100px; margin: 0 auto 28px; padding-top: 14px; }
.lp-plan {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--lp-line); border-radius: 24px; padding: 32px 28px 26px;
  transition: opacity .7s var(--lp-ease) var(--lp-d, 0ms), translate .7s var(--lp-ease) var(--lp-d, 0ms), box-shadow .2s;
}
.lp-plan:hover { box-shadow: var(--lp-shadow); }
.lp-plan.is-featured { background: var(--lp-navy); color: #fff; border-color: var(--lp-navy); box-shadow: 0 30px 60px rgba(16, 30, 60, .28); }
.lp-plan-ribbon { position: absolute; top: -14px; inset-inline-start: 24px; padding: 6px 14px; border-radius: 999px; background: var(--lp-saffron); color: #2B1D00; font-weight: 700; font-size: .85rem; line-height: 1.3; box-shadow: 0 6px 16px rgba(242, 179, 61, .35); }
.lp-plan h3 { font-family: var(--font-display); font-size: 1.5rem; margin: 0 0 6px; }
.lp-plan.is-featured h3 { color: #fff; }
.lp-plan-desc { color: var(--lp-ink-2); font-size: .97rem; line-height: 1.7; margin: 0 0 22px !important; min-height: 3.4em; }
.lp-plan.is-featured .lp-plan-desc { color: rgba(255, 255, 255, .75); }
.lp-plan-price { display: flex; align-items: flex-end; gap: 10px; margin-bottom: 8px; }
.lp-plan-price b { font-family: var(--font-display); font-size: 3.4rem; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; }
.lp-plan-price span { display: flex; flex-direction: column; padding-bottom: 4px; font-weight: 700; font-size: 1.05rem; line-height: 1.35; }
.lp-plan-price small { font-weight: 500; font-size: .85rem; color: var(--lp-ink-3); }
.lp-plan.is-featured .lp-plan-price small { color: rgba(255, 255, 255, .65); }
.lp-plan-eg { margin: 0 0 22px !important; padding-bottom: 20px; border-bottom: 1px dashed var(--lp-line-2); font-size: .9rem; color: var(--lp-ink-3); }
.lp-plan.is-featured .lp-plan-eg { color: rgba(255, 255, 255, .65); border-color: rgba(255, 255, 255, .2); }
/* خصم الدفع السنوي على بطاقة الباقة (يظهر فقط إذا ضُبط الخصم من الإدارة) */
.lp-plan-save { margin: -10px 0 18px !important; font-size: .86rem; font-weight: 600; color: var(--lp-green-2); }
.lp-plan.is-featured .lp-plan-save { color: #8FE3BC; }
.lp-plan-feats { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.lp-plan-feats li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.6; font-size: .97rem; }
.lp-plan-feats .icon { color: var(--lp-cobalt); margin-top: .22em; }
.lp-plan.is-featured .lp-plan-feats .icon { color: var(--lp-saffron); }
.lp-plan-feats li.is-off { color: var(--lp-ink-3); }
.lp-plan-feats li.is-off .icon { color: #B7C0CF; }
.lp-plan-note { display: block; min-height: 3.2em; margin-top: 12px; text-align: center; color: var(--lp-ink-3); font-size: .84rem; line-height: 1.6; }
.lp-plan.is-featured .lp-plan-note { color: rgba(255, 255, 255, .65); }
.lp-plans-empty { max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--lp-line); }
.lp-plans-empty > .icon { color: var(--lp-cobalt); }
.lp-plans-empty > div { flex: 1; min-width: 220px; }
.lp-plans-empty p { color: var(--lp-ink-2); }

.lp-included { max-width: 1100px; margin: 0 auto 28px; display: flex; align-items: center; gap: 24px; padding: 24px 28px; border-radius: 20px; background: #fff; border: 1px solid var(--lp-line); }
.lp-included h3 { font-family: var(--font-display); font-size: 1.12rem; margin: 0; white-space: nowrap; }
.lp-included ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lp-included li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--lp-mist); color: var(--lp-ink-2); font-size: .9rem; }
.lp-included li .icon { color: var(--lp-green); }

.lp-billing { max-width: 1100px; margin: 0 auto 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 36px; align-items: center; padding: 30px; border-radius: 24px; background: #fff; border: 1px solid var(--lp-line); }
.lp-billing-flow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.lp-bf-node { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 14px; font-weight: 700; white-space: nowrap; }
.lp-bf-node img { border-radius: 6px; }
.lp-bf-node.you { background: var(--lp-navy); color: #fff; }
.lp-bf-node.nb { background: var(--lp-cobalt-soft); color: var(--lp-cobalt); }
.lp-bf-node.meta { background: var(--lp-green-soft); color: #176B48; }
.lp-bf-ends { display: flex; flex-direction: column; gap: 24px; }
.lp-bf-lines { display: flex; flex-direction: column; gap: 40px; }
.lp-bf-lines span { position: relative; display: block; text-align: center; font-size: .8rem; font-weight: 700; color: var(--lp-ink-2); line-height: 1.4; padding-bottom: 8px; border-bottom: 2px dashed; }
.lp-bf-lines span::after { content: ""; position: absolute; inset-inline-end: -1px; bottom: -6px; width: 9px; height: 9px; border-top: 2px solid; border-inline-end: 2px solid; transform: rotate(45deg); }
.lp-bf-lines .to-nb { border-color: #A9B8F2; color: var(--lp-cobalt); }
.lp-bf-lines .to-nb::after { border-color: #A9B8F2; }
.lp-bf-lines .to-meta { border-color: #9ED9BE; color: #176B48; }
.lp-bf-lines .to-meta::after { border-color: #9ED9BE; }
.lp-billing-text h3 { font-family: var(--font-display); font-size: 1.35rem; margin: 0 0 12px; }
.lp-billing-text p { color: var(--lp-ink-2); line-height: 1.85; margin: 0 0 10px; }
.lp-billing-text p:last-child { margin: 0; }
.lp-billing-text b { color: var(--lp-ink); }

.lp-fees { max-width: 1100px; margin: 0 auto 28px; padding: 30px; border-radius: 24px; background: #fff; border: 1px solid var(--lp-line); }
.lp-fees-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 16px; }
.lp-fees-head h3 { font-family: var(--font-display); font-size: 1.35rem; margin: 0; }
.lp-fees-head p { color: var(--lp-ink-3); font-size: .92rem; }
.lp-fees-table { min-width: 640px; }
.lp-fees-table td { color: var(--lp-ink-2); }
.lp-fees-table td:last-child { color: var(--lp-ink); }
.lp-fees-table td b { font-family: var(--font-display); font-size: 1.12rem; }
.lp-fees-table tbody th { white-space: nowrap; }
.lp-dotc { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-inline-end: 6px; flex-shrink: 0; }
.lp-dotc.mk { background: var(--lp-rose); }
.lp-dotc.ut { background: var(--lp-cobalt); }
.lp-dotc.au { background: #7A5AF0; }
.lp-dotc.sv { background: var(--lp-green); }
.lp-dotc.fr { background: #B7C0CF; }
.lp-fine { margin-top: 14px !important; color: var(--lp-ink-3); font-size: .86rem; line-height: 1.85; }

/* حاسبة التكلفة */
.lp-calc { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); border-radius: 26px; overflow: hidden; border: 1px solid var(--lp-line); background: #fff; box-shadow: var(--lp-shadow-lg); }
.lp-calc-form { padding: 32px; }
.lp-calc-form h3 { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.4rem; margin: 0 0 22px; }
.lp-calc-form h3 .icon { color: var(--lp-cobalt); }
.lp-calc-plans { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lp-calc-plans legend { float: right; width: 100%; padding: 0; margin-bottom: 8px; font-weight: 700; font-size: .9rem; color: var(--lp-ink-2); }
.lp-radio { position: relative; cursor: pointer; }
.lp-radio input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.lp-radio span { display: flex; flex-direction: column; padding: 10px 16px; border-radius: 14px; border: 1.5px solid var(--lp-line-2); background: #fff; font-weight: 700; line-height: 1.35; transition: border-color .15s, background .15s, box-shadow .15s, color .15s; }
.lp-radio small { font-weight: 500; color: var(--lp-ink-3); font-size: .8rem; }
.lp-radio:hover span { border-color: #A8B3C6; }
.lp-radio input:checked + span { border-color: var(--lp-cobalt); background: var(--lp-cobalt-soft); color: var(--lp-cobalt); box-shadow: 0 0 0 3px rgba(36, 67, 201, .12); }
.lp-radio input:focus-visible + span { outline: 3px solid rgba(36, 67, 201, .35); outline-offset: 2px; }
.lp-calc-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lp-field { display: flex; flex-direction: column; gap: 6px; margin: 0; min-width: 0; }
.lp-field > :first-child { display: flex; flex-direction: column; font-weight: 600; font-size: .93rem; color: var(--lp-ink); line-height: 1.4; cursor: default; }
.lp-field > :first-child small { font-weight: 500; color: var(--lp-ink-3); font-size: .8rem; }
.lp .lp-calc .lp-field input[type="number"] { height: 46px; padding: 0 .8rem; border-radius: 12px; font-size: 1.05rem; font-weight: 700; direction: ltr; text-align: center; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.lp .lp-calc .lp-field input[type="number"]::-webkit-inner-spin-button, .lp .lp-calc .lp-field input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.lp-stepper { display: flex; align-items: stretch; height: 46px; border: 1px solid var(--line-2, #D3DAE5); border-radius: 12px; overflow: hidden; background: #fff; transition: border-color .15s, box-shadow .15s; }
.lp .lp-calc .lp-stepper input[type="number"] { flex: 1; min-width: 0; height: 100%; border: 0; border-radius: 0; box-shadow: none; }
.lp-stepper button { width: 46px; flex-shrink: 0; border: 0; background: var(--lp-mist); color: var(--lp-ink); font-size: 1.3rem; font-weight: 700; line-height: 1; cursor: pointer; transition: background .15s, color .15s; }
.lp-stepper button:hover { background: var(--lp-cobalt-soft); color: var(--lp-cobalt); }
.lp-stepper:focus-within { border-color: var(--lp-cobalt); box-shadow: 0 0 0 3px var(--lp-cobalt-soft); }
.lp-calc-warn { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 16px !important; padding: 10px 14px; border-radius: 12px; background: var(--lp-saffron-soft); color: #7A5200; font-size: .92rem; line-height: 1.6; }
.lp-calc-warn[hidden] { display: none; }
.lp-calc-out { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 32px; background: var(--lp-navy); color: #fff; }
.lp-calc-out::before { content: ""; position: absolute; inset: 0; background-image: var(--lp-pattern-light); pointer-events: none; }
.lp-calc-out > * { position: relative; }
.lp-calc-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.lp-calc-row > span { display: flex; flex-direction: column; font-weight: 600; line-height: 1.45; }
.lp-calc-row > span small { color: rgba(255, 255, 255, .6); font-weight: 500; font-size: .82rem; }
.lp-calc-row b { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lp-calc-row b small, .lp-calc-total b small { font-family: var(--font); font-size: .8rem; color: rgba(255, 255, 255, .65); }
.lp-calc-break { list-style: none; margin: -4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 7px; font-size: .88rem; color: rgba(255, 255, 255, .75); }
.lp-calc-break li { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.lp-calc-break li > span { margin-inline-start: auto; color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.lp-calc-break li small { width: 100%; text-align: end; color: rgba(255, 255, 255, .55); font-size: .78rem; }
.lp-calc-total { margin-top: 4px; display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.lp-calc-total > span { color: rgba(255, 255, 255, .75); font-weight: 600; }
.lp-calc-total b { font-family: var(--font-display); font-size: 2.6rem; line-height: 1.1; color: var(--lp-saffron); font-variant-numeric: tabular-nums; }
.lp-calc-fine { color: rgba(255, 255, 255, .55); font-size: .8rem; line-height: 1.75; }

/* ---------------- المقارنة ---------------- */
.lp-compare { background: #fff; }
.lp-compare .lp-table-wrap { max-width: 1060px; margin: 0 auto; border: 1px solid var(--lp-line); border-radius: 22px; padding: 10px; background: #fff; }
.lp-cmp { min-width: 700px; }
.lp-cmp thead th { color: var(--lp-ink); font-size: .95rem; }
.lp-cmp thead th.is-us { background: var(--lp-navy); color: #fff; }
.lp-cmp thead th.is-us img { vertical-align: -5px; margin-inline-end: 6px; border-radius: 5px; }
.lp-cmp td.is-us { background: rgba(36, 67, 201, .045); }
.lp-cmp tbody th { width: 26%; }
.lp-cmp-v { display: inline-flex; align-items: flex-start; gap: 9px; line-height: 1.6; }
.lp-cmp-v::before { content: ""; flex-shrink: 0; width: 21px; height: 21px; margin-top: .12em; border-radius: 50%; background: center / 12px no-repeat; }
.lp-cmp-v.tone-no { color: var(--lp-ink-3); }
.lp-cmp-v.tone-no::before { background-color: var(--lp-red-soft); background-image: var(--lp-x-red); }
.lp-cmp-v.tone-part::before { background-color: var(--lp-saffron-soft); background-image: var(--lp-minus-amber); }
.lp-cmp-v.tone-free::before { background-color: var(--lp-green-soft); background-image: var(--lp-check-green); }
.lp-cmp-v.tone-yes { color: var(--lp-ink); font-weight: 600; }
.lp-cmp-v.tone-yes::before { background-color: var(--lp-cobalt); background-image: var(--lp-check-white); }
.lp-honest { max-width: 1060px; margin: 24px auto 0 !important; display: flex; align-items: flex-start; gap: 12px; padding: 18px 22px; border-radius: 16px; background: var(--lp-saffron-soft); color: #5E4300; line-height: 1.85; }
.lp-honest .icon { flex-shrink: 0; margin-top: .3em; color: #B57A00; }

/* ---------------- الأمان ---------------- */
.lp-security { background: var(--lp-mist); }
.lp-sec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.lp-sec {
  display: flex; gap: 16px; padding: 24px; border-radius: var(--lp-r); background: #fff; border: 1px solid var(--lp-line);
  transition: opacity .7s var(--lp-ease) var(--lp-d, 0ms), translate .7s var(--lp-ease) var(--lp-d, 0ms), box-shadow .2s;
}
.lp-sec:hover { box-shadow: var(--lp-shadow); }
.lp-sec-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--lp-navy); color: var(--lp-saffron); flex-shrink: 0; }
.lp-sec h3 { font-family: var(--font-display); font-size: 1.12rem; margin: 2px 0 6px; }
.lp-sec p { color: var(--lp-ink-2); font-size: .96rem; line-height: 1.8; }

/* ---------------- الأسئلة الشائعة ---------------- */
.lp-faq-sec { background: var(--lp-sand); }
.lp-faq-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.6fr); gap: 56px; align-items: start; }
.lp-faq-head { text-align: start; margin: 0; position: sticky; top: calc(var(--lp-header-h) + 28px); }
.lp-faq { display: flex; flex-direction: column; gap: 10px; }
.lp-q { background: #fff; border: 1px solid #EDE5D3; border-radius: 16px; transition: box-shadow .2s, border-color .2s; }
.lp-q[open] { border-color: var(--lp-line-2); box-shadow: var(--lp-shadow); }
.lp-q summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 700; font-size: 1.03rem; line-height: 1.6; border-radius: 16px; }
.lp-q summary::-webkit-details-marker { display: none; }
.lp-q summary::marker { content: ""; }
.lp-q summary:hover span { color: var(--lp-cobalt); }
.lp-q summary i { position: relative; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--lp-mist); transition: background .2s; }
.lp-q summary i::before, .lp-q summary i::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; border-radius: 2px; background: var(--lp-ink); transform: translate(-50%, -50%); transition: transform .25s, background .2s; }
.lp-q summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.lp-q[open] summary i { background: var(--lp-cobalt); }
.lp-q[open] summary i::before, .lp-q[open] summary i::after { background: #fff; }
.lp-q[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.lp-q p { padding: 0 22px 20px; color: var(--lp-ink-2); line-height: 1.95; }

/* ---------------- الدعوة الأخيرة ---------------- */
.lp-final { padding: 0 0 104px; background: var(--lp-sand); }
.lp-final-in {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 56px; border-radius: 32px; color: #fff;
  background: radial-gradient(620px 320px at 8% 0%, rgba(242, 179, 61, .26), transparent 62%), linear-gradient(135deg, #101E3C 0%, #1B35A6 100%);
  box-shadow: 0 30px 70px rgba(16, 30, 60, .25);
}
.lp-final-in::after { content: ""; position: absolute; inset: 0; background-image: var(--lp-pattern-light); pointer-events: none; }
.lp-final-in > * { position: relative; z-index: 1; }
.lp-final h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.6rem); line-height: 1.3; color: #fff; margin: 0 0 10px; }
.lp-final p { color: rgba(255, 255, 255, .82); font-size: 1.08rem; line-height: 1.85; max-width: 40em; }
.lp-final-cta { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }

/* ---------------- التذييل ---------------- */
.lp-footer { background: #fff; border-top: 1px solid var(--lp-line); padding: 56px 0 28px; }
.lp-footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.lp-footer-brand p { color: var(--lp-ink-2); line-height: 1.85; margin: 14px 0 !important; max-width: 30em; }
.lp-footer-mail { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--lp-cobalt) !important; }
.lp-footer nav { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.lp-footer nav h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; margin: 0 0 6px; color: var(--lp-ink); }
.lp-footer nav a { color: var(--lp-ink-2); }
.lp-footer nav a:hover { color: var(--lp-cobalt); }
.lp-footer-legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--lp-line); display: flex; flex-direction: column; gap: 6px; color: var(--lp-ink-3); font-size: .85rem; line-height: 1.8; }

/* ============================================================
   الشاشات المتوسطة والصغيرة
   ============================================================ */
@media (max-width: 1140px) {
  .lp-hero-grid { gap: 36px; }
  .mk-window, .mk-phone-hero { font-size: 11px; }
  .lp-features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lp-ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-dd { gap: 44px; }
}

@media (max-width: 980px) {
  :root { --lp-header-h: 64px; }
  .lp { --lp-header-h: 64px; }
  .lp-menu-btn {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 12px; flex-shrink: 0;
    border: 1px solid var(--lp-line); border-radius: 12px; background: #fff; cursor: pointer;
  }
  .lp-menu-btn span { display: block; height: 2px; border-radius: 2px; background: var(--lp-ink); transition: transform .2s, opacity .2s; }
  .lp-header.is-open .lp-menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .lp-header.is-open .lp-menu-btn span:nth-child(2) { opacity: 0; }
  .lp-header.is-open .lp-menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .lp-nav {
    position: absolute; top: 100%; inset-inline: 0; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 16px 20px; background: #fff; border-bottom: 1px solid var(--lp-line); box-shadow: 0 24px 40px rgba(15, 29, 54, .12);
    max-height: calc(100vh - var(--lp-header-h)); overflow-y: auto;
    opacity: 0; transform: translateY(-8px); visibility: hidden; pointer-events: none;
    transition: opacity .18s, transform .18s, visibility 0s linear .18s;
  }
  .lp-header.is-open .lp-nav { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition: opacity .18s, transform .18s; }
  .lp-nav > a { padding: 12px 14px; font-size: 1.05rem; }
  .lp-nav-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
  .lp-header-cta { gap: 6px; }
  html.lp-menu-open { overflow: hidden; }

  .lp-hero { padding: 40px 0 72px; }
  .lp-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .lp-hero-art { max-width: 700px; width: 100%; margin-inline: auto; }
  .mk-window, .mk-phone-hero { font-size: 11.5px; }

  .lp-strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-strip-grid > div { border-inline-start: 0; padding-inline: 0; }
  .lp-strip-grid > div:nth-child(even) { border-inline-start: 1px solid var(--lp-line); padding-inline-start: 18px; }
  .lp-strip-grid > div:nth-child(n+3) { border-top: 1px solid var(--lp-line); }

  .lp-section { padding: 84px 0; }
  .lp-dd { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 40px 0; }
  .lp-dd.is-flip .lp-dd-copy { order: 0; }
  .lp-branches-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .lp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-steps::before { display: none; }
  .lp-needs { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .lp-billing { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .lp-calc { grid-template-columns: minmax(0, 1fr); }
  .lp-sec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-faq-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .lp-faq-head { position: static; text-align: center; margin: 0 auto; }
  .lp-final-in { flex-direction: column; align-items: flex-start; padding: 44px 36px; }
  .lp-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .lp-vs { grid-template-columns: minmax(0, 1fr); }
  .lp-vs-arrow { justify-self: center; transform: rotate(-90deg); }
  .lp-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .lp-wrap { padding-inline: 16px; }
  .lp-hide-sm { display: none !important; }
  .lp-header-in { gap: 10px; }
  .lp-brand-text small { display: none; }
  .lp-section { padding: 68px 0; }
  .lp-head { margin-bottom: 36px; }
  .lp-head > p:last-child { font-size: 1.02rem; }
  .lp-hero { padding: 28px 0 56px; }
  .lp-hero-cta .lp-btn { flex: 1 1 100%; }
  .lp-eyebrow { font-size: .82rem; }

  /* النموذج على الجوال: نخفي قائمة المحادثات ونصغّر الجوال */
  .mk-stage { padding: 30px 0 190px; padding-inline-start: 0; }
  .mk-window { font-size: 10px; }
  .mk-app { grid-template-columns: 3.4em minmax(0, 1fr); height: 31em; }
  .mk-list { display: none; }
  .mk-phone-hero { font-size: 9.5px; inset-inline-start: 6px; }
  .mk-phone-bot { font-size: 11px; }
  .mk-float { font-size: 11px; padding: .65em .9em; }
  .mk-float-a { inset-inline-end: 4px; top: auto; bottom: 120px; }
  .mk-float-b { inset-inline-end: 4%; top: 0; }

  .lp-strip-grid > div { padding: 18px 0; grid-template-columns: minmax(0, 1fr); row-gap: 6px; }
  .lp-strip-grid span { grid-row: auto; width: 40px; height: 40px; }
  .lp-features { grid-template-columns: minmax(0, 1fr); }
  .lp-vs-col { padding: 26px 22px 22px; }
  .mk-panel { padding: 22px 16px; min-height: 0; border-radius: 22px; font-size: 11.5px; }
  .mk-panel-bot { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .mk-side { width: 100%; }
  .mk-quick { margin-inline-start: 0; }
  .mk-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-branches-art { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .mk-cities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-city { grid-template-columns: auto minmax(0, 1fr); }
  .mk-city em { grid-column: 1 / -1; justify-self: start; }
  .mk-merge { display: none; }
  .lp-steps { grid-template-columns: minmax(0, 1fr); }
  .lp-needs { padding: 22px 18px; }
  .lp-needs ul { grid-template-columns: minmax(0, 1fr); }
  .lp-loginbox { padding: 16px; }
  .lp-loginbox-act { width: 100%; }
  .lp-loginbox-act .lp-btn { flex: 1 1 140px; }
  .lp-roles { grid-template-columns: minmax(0, 1fr); }
  .lp-perm { padding: 20px 14px; }
  .lp-table { font-size: .9rem; }
  .lp-table th, .lp-table td { padding: 12px 10px; }
  .lp-perm-table thead, .lp-cmp thead, .lp-fees-table thead { display: none; }
  .lp-perm-table, .lp-perm-table tbody, .lp-cmp, .lp-cmp tbody, .lp-fees-table, .lp-fees-table tbody { display: block; min-width: 0; width: 100%; }
  .lp-perm-table tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 12px 0; border-bottom: 1px solid var(--lp-line); }
  .lp-perm-table tbody tr:last-child { border-bottom: 0; }
  .lp-perm-table tr > * { border: 0 !important; }
  .lp-perm-table th[scope="row"] { grid-column: 1 / -1; padding: 0 2px 4px; text-align: start; }
  .lp-perm-table td { width: auto; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 6px 4px; border-radius: 10px; background: var(--lp-mist); font-size: .8rem; }
  .lp-perm-table td::before { content: attr(data-role); color: var(--lp-ink-2); font-weight: 600; }
  .lp-perm-table .lp-yes { width: 22px; height: 22px; }
  .lp-perm-table .lp-yes .icon { width: 13px; height: 13px; }
  .lp-compare .lp-table-wrap { padding: 4px 14px; }
  .lp-cmp tr, .lp-fees-table tr { display: flex; flex-direction: column; gap: 6px; padding: 14px 0; border-bottom: 1px solid var(--lp-line); }
  .lp-cmp tbody tr:last-child, .lp-fees-table tbody tr:last-child { border-bottom: 0; }
  .lp-cmp tr > *, .lp-fees-table tr > * { display: block; width: auto !important; padding: 0; border: 0 !important; background: none; }
  .lp-cmp td::before, .lp-fees-table td::before { content: attr(data-col); display: block; margin-bottom: 2px; color: var(--lp-ink-3); font-size: .76rem; font-weight: 700; }
  .lp-fees-table td::before { content: attr(data-label); }
  .lp-cmp td.is-us { padding: 8px 10px; border-radius: 10px; background: rgba(36, 67, 201, .06); }
  .lp-fees-table tbody th { white-space: normal; }
  .lp-ind-grid { grid-template-columns: minmax(0, 1fr); }
  .lp-plans { grid-template-columns: minmax(0, 1fr); }
  .lp-plan { padding: 28px 22px 22px; }
  .lp-included { flex-direction: column; align-items: flex-start; padding: 20px; gap: 14px; }
  .lp-billing, .lp-fees { padding: 22px 18px; }
  .lp-billing-flow { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 10px; }
  .lp-bf-lines { flex-direction: row; gap: 10px; width: 100%; }
  .lp-bf-lines span { flex: 1; border-bottom: 0; padding: 8px; border-radius: 10px; border: 2px dashed; }
  .lp-bf-lines span::after { display: none; }
  .lp-bf-ends { flex-direction: row; gap: 10px; }
  .lp-calc-form, .lp-calc-out { padding: 22px 18px; }
  .lp-calc-fields { grid-template-columns: minmax(0, 1fr); }
  .lp-calc-total b { font-size: 2.2rem; }
  .lp-sec-grid { grid-template-columns: minmax(0, 1fr); }
  .lp-q summary { padding: 16px 18px; font-size: 1rem; }
  .lp-q p { padding: 0 18px 18px; }
  .lp-final { padding-bottom: 68px; }
  .lp-final-in { padding: 36px 22px; border-radius: 24px; }
  .lp-final-cta, .lp-final-cta .lp-btn { width: 100%; }
  .lp-footer-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
}

/* أصغر الجوالات (320px): الشعار وحده، ويبقى زر «تسجيل الدخول» ظاهراً دائماً */
@media (max-width: 350px) {
  .lp-header .lp-brand-text { display: none; }
}
@media (max-width: 380px) {
  .lp-brand-text b { font-size: 1.15rem; }
  .lp-header-cta .lp-btn-quiet { padding: 0 10px; }
  .mk-window { font-size: 9px; }
  .mk-phone-hero { font-size: 8.5px; }
}

/* الطباعة: كل المحتوى ظاهر حتى لو لم يُمرَّر إليه، والشريط العلوي لا يتكرر */
@media print {
  .lp-anim .lp-reveal { opacity: 1 !important; translate: none !important; }
  .lp-header { position: static; box-shadow: none; }
  .lp-menu-btn, .mk-float { display: none !important; }
}

/* احترام تفضيل «تقليل الحركة» في نظام الجهاز */
@media (prefers-reduced-motion: reduce) {
  .lp *, .lp *::before, .lp *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
}
