/* ============ متابع — الموقع التعريفي ============ */
@font-face { font-family: Cairo; font-weight: 600; font-display: swap; src: url(fonts/cairo-arabic-600-normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E, U+2010-2011, U+204F, U+2E41; }
@font-face { font-family: Cairo; font-weight: 700; font-display: swap; src: url(fonts/cairo-arabic-700-normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E, U+2010-2011, U+204F, U+2E41; }
@font-face { font-family: Cairo; font-weight: 800; font-display: swap; src: url(fonts/cairo-arabic-800-normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E, U+2010-2011, U+204F, U+2E41; }
@font-face { font-family: Cairo; font-weight: 900; font-display: swap; src: url(fonts/cairo-arabic-900-normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E, U+2010-2011, U+204F, U+2E41; }
@font-face { font-family: Cairo; font-weight: 600; font-display: swap; src: url(fonts/cairo-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: Cairo; font-weight: 700; font-display: swap; src: url(fonts/cairo-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: Cairo; font-weight: 800; font-display: swap; src: url(fonts/cairo-latin-800-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: Cairo; font-weight: 900; font-display: swap; src: url(fonts/cairo-latin-900-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }

:root {
  --ink: #17153f; --muted: #4b4f6b; --bg: #f7f7fc; --card: #ffffff; --line: #e6e6f2;
  --night: #120f3a; --indigo: #4f46e5; --indigo-d: #3730a3; --soft: #c7d2fe; --soft2: #a5b4fc;
  --green: #10b981; --green-l: #34d399; --green-ink: #052e22;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Cairo, Tahoma, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; font-weight: 600; }
img, video { max-width: 100%; display: block; }
a { color: var(--indigo); text-decoration: none; }
a:hover { color: var(--indigo-d); }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 900; text-wrap: balance; line-height: 1.25; }
:focus-visible { outline: 3px solid var(--green-l); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dark { position: relative; overflow: hidden; background: var(--night); color: #fff; }
.dark::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(78deg, rgba(255,255,255,.04) 0 2px, transparent 2px 110px), repeating-linear-gradient(-12deg, rgba(255,255,255,.04) 0 2px, transparent 2px 110px); }
.dark > * { position: relative; }

/* أزرار */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 28px; border-radius: 16px; font-size: 18px; font-weight: 900; border: 0; cursor: pointer; font-family: inherit; transition: transform .15s, filter .15s; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-green { background: var(--green); color: var(--green-ink); }
.btn-green:hover { color: var(--green-ink); }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; font-weight: 800; }
.btn-ghost:hover { color: #fff; }
.btn-line { border: 1.5px solid rgba(255,255,255,.35); color: #fff; font-weight: 800; background: transparent; }
.btn-line:hover { color: #fff; }
.btn-sm { padding: 9px 18px; font-size: 16px; border-radius: 12px; }

.chip { align-self: flex-start; display: inline-block; padding: 5px 14px; border-radius: 999px; font-size: 15px; font-weight: 800; }
.chip-indigo { background: #e0e7ff; color: var(--indigo-d); }
.chip-amber { background: #fef3c7; color: #92400e; }
.chip-green { background: #d1fae5; color: #065f46; }
.chip-glow { background: rgba(52,211,153,.14); color: #6ee7b7; }

/* الجوال (إطار نحيف علشان ما يغطيش الشاشة) */
.phone { position: relative; border-radius: 18px; background: #0a0a0d; padding: 7px; border: 3px solid #a1a1aa; box-shadow: 0 30px 70px rgba(18,15,58,.3); height: fit-content; align-self: flex-start; }
.phone::before { content: ""; position: absolute; top: 15px; left: 50%; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; background: #000; box-shadow: 0 0 0 2px #26262b; z-index: 2; }
.phone::after { content: ""; position: absolute; right: -6px; top: 20%; width: 3px; height: 64px; border-radius: 2px; background: #a1a1aa; }
.phone img { width: 100%; aspect-ratio: 390 / 844; height: auto; border-radius: 11px; object-fit: cover; object-position: top; }

/* المتصفح */
.browser { border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 40px 90px rgba(0,0,0,.5); }
.browser .bar { height: 36px; background: #eceef3; display: flex; align-items: center; gap: 12px; padding-inline: 14px; direction: ltr; }
.browser .dots { display: flex; gap: 6px; }
.browser .dots span { width: 11px; height: 11px; border-radius: 50%; }
.browser .dots span:nth-child(1) { background: #f87171; } .browser .dots span:nth-child(2) { background: #fbbf24; } .browser .dots span:nth-child(3) { background: #34d399; }
.browser .url { flex: 1; height: 22px; border-radius: 11px; background: #fff; color: #374151; font-size: 13px; font-weight: 700; display: flex; align-items: center; padding-inline: 12px; }

/* الهيدر */
.top { padding-block: 18px 72px; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav .logo img { width: 150px; height: auto; }
.nav .links { display: flex; gap: 28px; font-size: 17px; font-weight: 700; }
.nav .links a { color: var(--soft); }
.nav .links a:hover { color: #fff; }
.nav .cta { display: flex; gap: 10px; }
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; margin-top: 48px; }
.hero-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-size: clamp(38px, 5.2vw, 60px); line-height: 1.2; }
.hero h1 span, .accent { color: var(--green-l); }
.hero p { font-size: clamp(18px, 1.8vw, 21px); color: var(--soft); max-width: 34em; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.ticks { display: flex; gap: 8px 22px; flex-wrap: wrap; font-size: 16px; font-weight: 700; color: var(--soft2); }
.hero-art { flex: 1 1 520px; min-width: 0; position: relative; height: 540px; }
.hero-art .browser { position: absolute; left: 0; top: 36px; width: 80%; }
.hero-art .browser img { width: 100%; aspect-ratio: 864 / 960; max-height: 470px; object-fit: cover; object-position: top; }
.hero-art .phone { position: absolute; right: 0; top: 0; width: 36%; max-width: 250px; box-shadow: 0 40px 90px rgba(0,0,0,.6); }

/* أقسام */
section { scroll-margin-top: 20px; }
.sec { padding-block: 84px; }
.sec-title { font-size: clamp(30px, 3.4vw, 40px); text-align: center; }
.stack { display: flex; flex-direction: column; gap: 36px; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { padding: 28px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.card b { font-size: 21px; font-weight: 900; }
.card span { font-size: 17px; color: var(--muted); }
.card.sm { padding: 24px; border-radius: 20px; gap: 4px; }
.card.sm b { font-size: 20px; }
.card.sm span { font-size: 16px; }

.video-box { width: 100%; border-radius: 24px; overflow: hidden; background: var(--night); box-shadow: 0 40px 90px rgba(18,15,58,.28); border: 1px solid var(--line); }
.video-box video { width: 100%; aspect-ratio: 16 / 9; height: auto; background: var(--night); }
.center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.lead { font-size: 19px; color: var(--muted); max-width: 36em; }

.feats { display: flex; flex-direction: column; gap: 110px; }
.feat { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.feat.rev { flex-wrap: wrap-reverse; }
.feat-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.feat-text h2 { font-size: clamp(30px, 3.4vw, 42px); }
.feat-text p { font-size: 19px; color: var(--muted); }
.list { display: flex; flex-direction: column; gap: 10px; font-size: 18px; font-weight: 700; padding: 0; margin: 0; list-style: none; }
.list li::before { content: "✓ "; color: var(--green); font-weight: 900; }
.feat-art { flex: 1 1 460px; min-width: 0; display: flex; justify-content: center; align-items: flex-start; gap: 22px; position: relative; }
.feat-art .phone.two { width: 46%; max-width: 270px; }
.feat-art .phone.two.down { margin-top: 50px; }
.feat-art .phone.one { width: 56%; max-width: 300px; }
.stat { position: absolute; right: 2%; bottom: 60px; padding: 16px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(18,15,58,.18); display: flex; flex-direction: column; }
.stat span { font-size: 15px; font-weight: 700; color: var(--muted); }
.stat b { font-size: 32px; font-weight: 900; color: #b45309; }
.bubble { padding: 18px 22px; border-radius: 20px 20px 20px 6px; background: #e7fbe9; border: 1px solid #bbf7d0; font-size: 17px; font-weight: 700; line-height: 1.7; max-width: 30em; }

.live { padding-block: 90px; }
.live .row { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.live h2 { font-size: clamp(32px, 3.8vw, 46px); line-height: 1.2; }
.live p { font-size: 19px; color: var(--soft); }
.live .list { color: #e0e7ff; }
.live .browser { flex: 1 1 520px; min-width: 0; border-radius: 20px; box-shadow: 0 40px 100px rgba(0,0,0,.55); }
.live .browser img { width: 100%; aspect-ratio: 864 / 960; height: auto; }

.card .step-n { width: 48px; height: 48px; border-radius: 14px; background: var(--indigo); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 900; }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; font-size: 16px; font-weight: 800; color: var(--indigo-d); padding: 0; margin: 0; list-style: none; }
.tags li { padding: 8px 18px; border-radius: 999px; background: #e0e7ff; }

/* نموذج التجربة */
.trial { border-radius: 32px; padding: 56px 32px; display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.trial-text { flex: 1 1 340px; display: flex; flex-direction: column; gap: 18px; }
.trial-text h2 { font-size: clamp(32px, 3.6vw, 44px); }
.trial-text p { font-size: 19px; color: var(--soft); }
.trial form { flex: 1 1 420px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 24px; padding: 24px; }
.trial label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 800; color: #e0e7ff; }
.trial .full { grid-column: 1 / -1; }
.trial input, .trial select { font: 700 17px Cairo, Tahoma, sans-serif; padding: 12px 14px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.2); background: #fff; color: var(--ink); width: 100%; }
.trial input:focus, .trial select:focus { outline: none; border-color: var(--green-l); box-shadow: 0 0 0 3px rgba(52,211,153,.35); }
.trial .note { font-size: 14px; color: var(--soft2); font-weight: 700; }
.trial .btn { width: 100%; }
.err { color: #fca5a5; font-size: 14px; font-weight: 800; min-height: 1em; }

/* الأسئلة */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
details { padding: 20px 24px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; font-size: 19px; font-weight: 900; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--indigo); font-size: 24px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin-top: 10px; font-size: 17px; color: var(--muted); }

footer { border-top: 1px solid var(--line); padding-block: 28px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--muted); }
footer nav { display: flex; gap: 20px; }

/* زر واتساب عائم */
.wa-float { position: fixed; left: 18px; bottom: 18px; z-index: 50; width: 58px; height: 58px; border-radius: 50%; background: #22c55e; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.wa-float svg { width: 30px; height: 30px; }

/* ظهور تدريجي */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .reveal { opacity: 1; transform: none; transition: none; } .btn { transition: none; } }

/* الشاشات الصغيرة */
@media (max-width: 900px) {
  .nav { flex-wrap: wrap; row-gap: 10px; }
  .nav .links { order: 3; width: 100%; gap: 20px; font-size: 15px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; padding-block: 4px; }
  .nav .links::-webkit-scrollbar { display: none; }
  .hero-art { height: auto; aspect-ratio: 520 / 540; width: 100%; flex-basis: 100%; }
  .feats { gap: 80px; }
  .feat { gap: 36px; }
}
@media (max-width: 560px) {
  .wrap { padding-inline: 16px; }
  .top { padding-block: 14px 56px; }
  .nav .logo img { width: 112px; }
  .nav .cta .btn-line { display: none; }
  .hero { margin-top: 28px; gap: 36px; }
  .hero .actions .btn { flex: 1 1 100%; }
  .sec { padding-block: 64px; }
  .feat-text, .feat-art, .hero-text, .live .browser { flex-basis: 100%; }
  .feat-art .phone.two.down { margin-top: 36px; }
  .stat { bottom: 24px; padding: 12px 16px; } .stat b { font-size: 26px; }
  .trial { padding: 36px 18px; border-radius: 24px; }
  .trial form { grid-template-columns: 1fr; padding: 18px; }
  .card { padding: 22px; }
}

/* مين ورا متابع */
.founder { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding: 48px; border-radius: 32px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(18,15,58,.08); }
.founder .avatar { flex: 0 1 300px; min-width: 220px; aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 60px rgba(18,15,58,.22); position: relative; }
.founder .avatar figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 18px 14px; background: linear-gradient(transparent, rgba(10,9,34,.85)); color: #fff; font-size: 17px; font-weight: 900; direction: ltr; text-align: left; }
.founder .avatar img { width: 100%; height: 100%; object-fit: cover; }
.founder-text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 16px; }
.founder-text h2 { font-size: clamp(28px, 3.2vw, 38px); }
.founder-text p { font-size: 19px; color: var(--muted); }
.founder-text .sign { font-size: 18px; font-weight: 900; color: var(--indigo-d); }
@media (max-width: 560px) { .founder { padding: 28px 20px; gap: 24px; justify-content: center; } .founder .avatar { flex-basis: 100%; max-width: 320px; } }

.creds { display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 0; list-style: none; }
.creds li { flex: 1 1 150px; padding: 14px 16px; border-radius: 18px; background: #f5f5ff; border: 1px solid #e0e7ff; display: flex; flex-direction: column; }
.creds b { font-size: 26px; font-weight: 900; color: var(--indigo); line-height: 1.3; }
.creds span { font-size: 15px; font-weight: 800; color: var(--muted); }

/* السوشيال */
.social { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.social a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 14px; font-size: 16px; font-weight: 900; color: #fff; transition: transform .15s, filter .15s; }
.social a:hover { color: #fff; transform: translateY(-1px); filter: brightness(1.08); }
.social svg { width: 20px; height: 20px; flex: none; }
.social .fb { background: #1877f2; }
.social .ig { background: linear-gradient(45deg, #f58529, #dd2a7b 55%, #8134af); }
.social .wa { background: #22c55e; }
footer .social a { padding: 0; width: 38px; height: 38px; justify-content: center; border-radius: 50%; }
footer .social svg { width: 18px; height: 18px; }
footer .ends { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
@media (max-width: 560px) { footer { padding-bottom: 96px; } }
.nav .cta { align-items: center; }
.lang svg { width: 18px; height: 18px; }
@media (max-width: 560px) { .lang span { font-size: 14px; } .nav .cta .btn-sm { padding: 8px 12px; } }
@media (max-width: 560px) { .nav .cta .btn-green { display: none; } }

/* ============ الصفحات الفرعية ============ */
.page-top { padding-bottom: 64px; }
.page-hero { margin-top: 44px; display: flex; flex-direction: column; gap: 12px; }
.page-hero h1 { font-size: clamp(36px, 4.6vw, 54px); }
.page-hero p { font-size: clamp(18px, 1.8vw, 21px); color: var(--soft); max-width: 36em; }
.nav .links a[aria-current="page"] { color: #fff; text-decoration: underline; text-decoration-color: var(--green-l); text-underline-offset: 8px; text-decoration-thickness: 3px; }
.btn-dark { background: var(--night); color: #fff; }
.btn-dark:hover { color: #fff; }

/* بطاقة المؤسس المختصرة في الرئيسية */
.teaser { display: flex; align-items: center; gap: 22px; padding: 18px 26px 18px 18px; border-radius: 24px; background: #fff; border: 1px solid var(--line); color: var(--ink); box-shadow: 0 20px 50px rgba(18,15,58,.07); flex-wrap: wrap; }
.teaser:hover { color: var(--ink); border-color: #c7d2fe; }
.teaser img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 5px #eef2ff; }
.teaser .tt { flex: 1 1 260px; display: flex; flex-direction: column; }
.teaser .tt b { font-size: 22px; font-weight: 900; }
.teaser .tt span { font-size: 17px; color: var(--muted); }
.teaser .more { font-size: 17px; font-weight: 900; color: var(--indigo); white-space: nowrap; }
.teaser .more i { font-style: normal; }

/* من نحن */
.contact-box { border-radius: 32px; padding: 52px 32px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.contact-box h2 { font-size: clamp(30px, 3.4vw, 40px); }
.contact-box p { font-size: 19px; color: var(--soft); }
.contact-box .social { justify-content: center; }

/* التحميل */
.dl-grid { display: grid; gap: 22px; grid-template-columns: 1.25fr 1fr 1fr; align-items: start; }
.dl-card { padding: 30px; border-radius: 26px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.dl-card.main { border: 2px solid var(--green-l); box-shadow: 0 30px 70px rgba(16,185,129,.14); }
.dl-card h2 { font-size: 28px; }
.dl-card .btn { width: 100%; }
.dl-ico { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; }
.dl-ico svg { width: 34px; height: 34px; }
.dl-ico.and { background: #dcfce7; color: #16a34a; }
.dl-ico.ios { background: #f1f5f9; color: #111827; }
.dl-ico.pc { background: #fef3c7; color: #b45309; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 10px; }
.steps li { counter-increment: s; display: flex; gap: 12px; font-size: 16px; font-weight: 700; color: var(--muted); }
.steps li::before { content: counter(s); flex: none; width: 28px; height: 28px; border-radius: 9px; background: #eef2ff; color: var(--indigo); display: grid; place-items: center; font-weight: 900; font-size: 15px; }
.dl-card .note { font-size: 14px; font-weight: 700; color: #92400e; background: #fffbeb; border: 1px solid #fde68a; padding: 10px 14px; border-radius: 12px; }
.after { padding: 34px; border-radius: 26px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.after h2 { font-size: clamp(24px, 2.6vw, 30px); }
.after .help { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line); font-size: 18px; }
@media (max-width: 980px) { .dl-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .teaser { padding: 16px; } .teaser .more { width: 100%; } .dl-card, .after { padding: 22px; } .contact-box { padding: 36px 18px; border-radius: 24px; } }
@media (max-width: 560px) { .nav .links a:nth-child(2), .nav .links a:nth-child(3) { display: none; } .nav .links { justify-content: space-between; } }

/* ============ الخريطة الحيّة في الواجهة ============ */
.hero-art .browser.lm { position: absolute; left: 0; top: 30px; width: 84%; }
.lm-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border-bottom: 1px solid #eef0f4; color: var(--ink); }
.lm-head b { font-size: 15px; font-weight: 900; }
.lm-head span { font-size: 13px; font-weight: 700; color: #047857; display: flex; align-items: center; gap: 8px; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 0 rgba(16,185,129,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }
.lm-map { width: 100%; height: auto; display: block; font-family: Cairo, Tahoma, sans-serif; }
.lm-list { list-style: none; margin: 0; padding: 8px 12px 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lm-list li { display: flex; flex-direction: column; padding: 8px 10px; border-radius: 12px; background: #f0fdf4; border: 1px solid #bbf7d0; color: var(--ink); }
.lm-list li:last-child { background: #fffbeb; border-color: #fde68a; }
.lm-list i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.lm-list b { font-size: 14px; font-weight: 900; }
.lm-list span { font-size: 12px; font-weight: 700; color: var(--muted); }
.hero-art { height: 600px; }
.hero-art .phone { top: 0; width: 32%; max-width: 220px; }

/* ============ جدول المقارنة ============ */
.cmp { display: flex; flex-direction: column; gap: 10px; max-width: 980px; margin: 0 auto; width: 100%; }
.cmp-head, .cmp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cmp-head span { text-align: center; font-size: 18px; font-weight: 900; padding: 10px; border-radius: 14px; }
.cmp-head .no { background: #fee2e2; color: #991b1b; }
.cmp-head .yes { background: #d1fae5; color: #065f46; }
.cmp-no, .cmp-yes { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 16px; font-size: 17px; font-weight: 700; }
.cmp-no { background: #fff; border: 1px solid var(--line); color: var(--muted); }
.cmp-yes { background: #fff; border: 1.5px solid #a7f3d0; color: var(--ink); font-weight: 800; }
.cmp-no svg, .cmp-yes svg { width: 26px; height: 26px; flex: none; padding: 4px; border-radius: 50%; }
.cmp-no svg { color: #dc2626; background: #fee2e2; }
.cmp-yes svg { color: #047857; background: #d1fae5; }

/* ============ لوحة المدير (رسوم) ============ */
.dash { background: linear-gradient(#f7f7fc, #eef0fb); }
.dgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.dcard { margin: 0; padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(18,15,58,.06); display: flex; flex-direction: column; gap: 16px; }
.dcard figcaption { font-size: 18px; font-weight: 900; }
.hbs { display: flex; flex-direction: column; gap: 14px; }
.hb, .tg { display: grid; grid-template-columns: 56px 1fr 64px; align-items: center; gap: 10px; outline: none; border-radius: 8px; }
.hb-l { font-size: 15px; font-weight: 800; color: var(--ink); }
.hb-v, .tg b { font-size: 15px; font-weight: 800; color: var(--muted); text-align: start; }
.hb-track, .tg-track { position: relative; height: 22px; background: #f1f2f8; border-radius: 6px; overflow: hidden; }
.hb-bar, .tg-bar { position: absolute; inset-block: 0; inset-inline-start: 0; width: 0; background: #4f46e5; border-radius: 4px; transition: width 1s cubic-bezier(.2,.7,.2,1); }
.tg-bar { background: #4f46e5; }
.reveal.in .hb-bar, .reveal.in .tg-bar { width: var(--w); }
.tg-goal { position: absolute; inset-block: -2px; inset-inline-start: calc(100% - 2px); width: 2px; background: #111827; opacity: .35; }
.hb:hover .hb-bar, .hb:focus .hb-bar, .tg:hover .tg-bar, .tg:focus .tg-bar { background: #3730a3; }
.lc { width: 100%; height: auto; font-family: Cairo, Tahoma, sans-serif; overflow: visible; }
.lc .gl { stroke: #eef0f4; stroke-width: 1; }
.lc .ax { font-size: 11px; font-weight: 700; fill: #6b7280; }
.lc .ln { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s ease; }
.reveal.in .lc .ln { stroke-dashoffset: 0; }
.lc .ln.s1 { stroke: #2a78d6; } .lc .ln.s2 { stroke: #eb6834; }
.lc .pt { stroke: #fff; stroke-width: 2; cursor: pointer; outline: none; } .lc .pt.s1 { fill: #2a78d6; } .lc .pt.s2 { fill: #eb6834; }
.lc .pt:hover, .lc .pt:focus { r: 6.5; }
.lc .dl { font-size: 12px; font-weight: 900; fill: #111827; }
.lg { display: flex; gap: 18px; font-size: 14px; font-weight: 800; color: var(--muted); }
.lg span { display: flex; align-items: center; gap: 6px; }
.lg i { width: 18px; height: 3px; border-radius: 2px; display: inline-block; }
.lg i.s1 { background: #2a78d6; } .lg i.s2 { background: #eb6834; }
.dn-wrap { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.dnc { width: 170px; height: 170px; flex: none; font-family: Cairo, Tahoma, sans-serif; }
.dn { fill: none; stroke-width: 22; stroke-dasharray: 0 var(--c); stroke-dashoffset: var(--off); transition: stroke-dasharray 1.2s ease; cursor: pointer; outline: none; }
.reveal.in .dn { stroke-dasharray: var(--len) var(--c); }
.dn:hover, .dn:focus { stroke-width: 26; }
.b0 { stroke: #fdd8a8; background: #fdd8a8; } .b1 { stroke: #f7a35c; background: #f7a35c; } .b2 { stroke: #e0691c; background: #e0691c; } .b3 { stroke: #9a3a0b; background: #9a3a0b; }
.dn-t { font-size: 11px; font-weight: 700; fill: #6b7280; } .dn-v { font-size: 20px; font-weight: 900; fill: #111827; }
.dn-lg { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; flex: 1 1 150px; }
.dn-lg li { display: grid; grid-template-columns: 14px 1fr auto; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--muted); }
.dn-lg i { width: 12px; height: 12px; border-radius: 3px; } .dn-lg b { color: var(--ink); font-weight: 900; }
.dnote { text-align: center; font-size: 14px; font-weight: 700; color: var(--muted); margin-top: -12px; }
.dtable { max-width: 980px; margin: -10px auto 0; width: 100%; background: transparent; border: 0; padding: 0; }
.dtable summary { justify-content: center; font-size: 15px; color: var(--indigo); }
.dtable summary::after { display: none; }
.tables { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 12px; }
.tables table { border-collapse: collapse; width: 100%; background: #fff; border-radius: 14px; overflow: hidden; font-size: 14px; }
.tables th, .tables td { padding: 8px 12px; border-bottom: 1px solid var(--line); text-align: start; }
.tables th { background: #f5f5ff; font-weight: 900; }
.tip { position: fixed; z-index: 60; pointer-events: none; background: #111827; color: #fff; font: 800 13px Cairo, Tahoma, sans-serif; padding: 6px 10px; border-radius: 8px; white-space: nowrap; transform: translate(-50%, calc(-100% - 12px)); opacity: 0; transition: opacity .12s; }
.tip.on { opacity: 1; }

/* ============ الحاسبة ============ */
.calc { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; border-radius: 32px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(18,15,58,.08); }
.calc-in { padding: 40px; display: flex; flex-direction: column; gap: 14px; }
.calc-in h2 { font-size: clamp(28px, 3vw, 38px); }
.calc-in p { font-size: 18px; color: var(--muted); }
#calc-form { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.rg { display: flex; flex-direction: column; gap: 6px; font-size: 16px; font-weight: 800; }
.rg-top { display: flex; justify-content: space-between; gap: 12px; }
.rg output { min-width: 44px; text-align: center; padding: 1px 10px; border-radius: 8px; background: #eef2ff; color: var(--indigo-d); font-weight: 900; }
.rg input[type=range] { width: 100%; accent-color: var(--indigo); height: 28px; }
.calc-out { padding: 40px; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.calc-out .big b { display: block; font-size: clamp(56px, 7vw, 84px); font-weight: 900; line-height: 1; color: var(--green-l); }
.calc-out .big span { font-size: 20px; font-weight: 800; color: #e0e7ff; }
.calc-out .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.calc-out .two div { padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.08); display: flex; flex-direction: column; }
.calc-out .two b { font-size: 30px; font-weight: 900; }
.calc-out .two span { font-size: 14px; font-weight: 700; color: var(--soft); }
.calc-out p { font-size: 13px; color: var(--soft2); font-weight: 700; }

@media (max-width: 900px) {
  .hero-art { height: auto; aspect-ratio: auto; }
  .hero-art .browser.lm { position: relative; top: 0; width: 88%; }
  .hero-art .phone { width: 30%; }
  .dgrid, .calc { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cmp-head { display: none; }
  .cmp-row { grid-template-columns: 1fr; gap: 6px; padding-bottom: 8px; }
  .cmp-no, .cmp-yes { padding: 12px 14px; font-size: 16px; }
  .dcard { padding: 18px; }
  .calc-in, .calc-out { padding: 24px 18px; }
  .lm-list { grid-template-columns: 1fr 1fr 1fr; gap: 6px; padding: 8px; }
  .lm-list span { font-size: 10px; }
  .hero-art .browser.lm { width: 100%; }
  .hero-art .phone { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hb-bar, .tg-bar, .lc .ln, .dn { transition: none; } .pulse { animation: none; } }
.hero-art .browser.lm { width: 100%; top: 10px; }
.hero-art { height: auto; }
.kpi { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: -6px; }
.kpi b { font-size: 32px; font-weight: 900; color: var(--ink); }
.kpi span { font-size: 14px; font-weight: 700; color: var(--muted); }
@media (max-width: 900px) { .hero-art .browser.lm { width: 100%; } }
.hero-art .browser.lm { position: relative; left: auto; top: auto; }

/* ============ جدول المقارنة (نسخة الجدول) ============ */
.ct { max-width: 1000px; margin: 0 auto; width: 100%; border-collapse: separate; border-spacing: 0; font-size: 17px; }
.ct th, .ct td { padding: 16px 20px; text-align: start; vertical-align: middle; }
.ct thead th { font-size: 18px; font-weight: 900; padding-block: 20px; }
.ct thead th.f { color: var(--muted); font-size: 15px; }
.ct thead th.no { background: #fff5f5; color: #991b1b; border-radius: 18px 18px 0 0; }
.ct thead th.yes { background: var(--night); color: #fff; border-radius: 18px 18px 0 0; border: 2px solid #10b981; border-bottom: 0; }
.ct thead th.yes small { display: block; font-size: 12px; color: #6ee7b7; font-weight: 800; }
.ct tbody th { font-weight: 900; color: var(--ink); white-space: nowrap; background: #fff; border-bottom: 1px solid var(--line); }
.ct tbody th span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #eef2ff; margin-inline-end: 10px; font-size: 17px; }
.ct tbody tr:first-child th { border-start-start-radius: 18px; }
.ct tbody tr:last-child th { border-bottom: 0; border-end-start-radius: 18px; }
.ct td.no { background: #fff5f5; color: #6b7280; border-bottom: 1px solid #fde2e2; }
.ct td.yes { background: #f0fdf6; color: var(--ink); font-weight: 800; border-bottom: 1px solid #d1fae5; border-inline: 2px solid #10b981; }
.ct tbody tr:last-child td.yes { border-bottom: 2px solid #10b981; border-radius: 0 0 18px 18px; }
.ct tbody tr:last-child td.no { border-bottom: 0; }
.ct td i { font-style: normal; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; margin-inline-end: 10px; font-size: 13px; font-weight: 900; vertical-align: middle; }
.ct td.no i { background: #fee2e2; color: #dc2626; }
.ct td.yes i { background: #10b981; color: #fff; }
@media (max-width: 700px) {
  .ct { display: block; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; font-size: 14px; }
  .ct thead, .ct tbody { display: block; }
  .ct tr { display: grid; grid-template-columns: 1fr 1fr; }
  .ct thead th.f { display: none; }
  .ct thead th { padding: 12px 8px; font-size: 14px; text-align: center; border-radius: 0 !important; border: 0 !important; }
  .ct thead th.yes small { display: none; }
  .ct tbody th { grid-column: 1 / -1; padding: 9px 14px; background: #f5f5ff; font-size: 15px; border-top: 1px solid var(--line); border-bottom: 0; border-radius: 0 !important; }
  .ct tbody th span { width: auto; height: auto; background: none; margin-inline-end: 6px; font-size: 15px; }
  .ct td { padding: 10px 12px; line-height: 1.5; border: 0 !important; border-radius: 0 !important; }
  .ct td.yes { border-inline-start: 2px solid #10b981 !important; }
  .ct td i { display: none; }
  .ct td.no::before { content: "✕ "; color: #dc2626; font-weight: 900; }
}
