/* =====================================================================
   صفحة المنتج «المختار — نظام البلديات الذكي» (/mukhtar)
   نفس هوية المنصة (theme.css): كحلي + ذهبي، IBM Plex Sans Arabic، و«المختار» بالخط الكوفي.
   بدون مكتبات: CSS حديث + landing.js صغير. الحركة بتنطفي مع prefers-reduced-motion.
   ===================================================================== */
:root {
  --navy-950: #04182a;
  --navy-900: #082f49;
  --navy-800: #0c4a6e;
  --navy-700: #075985;
  --navy-600: #0369a1;
  --sky: #0284c7;
  --sky-l: #38bdf8;
  --gold-200: #fef08a;
  --gold-300: #fde047;
  --gold-400: #facc15;
  --gold-500: #eab308;
  --gold-600: #ca8a04;
  --gold-700: #a16207;
  --gold-ink: #422006;
  --green: #047857;
  --green-l: #10b981;
  --red: #dc2626;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f6f8fb;
  --card: #ffffff;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --sh-1: 0 1px 2px rgba(15, 23, 42, .05), 0 6px 18px rgba(15, 23, 42, .06);
  --sh-2: 0 14px 40px rgba(2, 6, 23, .12);
  --sh-3: 0 40px 90px rgba(2, 6, 23, .35);
  --font: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
  --kufi: 'Reem Kufi', 'IBM Plex Sans Arabic', sans-serif;
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 32px);
  --head: 72px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 1rem; line-height: 1.75;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.3; margin: 0; font-weight: 700; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; top: -60px; right: 16px; z-index: 200; background: var(--gold-400); color: var(--gold-ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.ic { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.num { font-variant-numeric: tabular-nums; }

/* ===== الأزرار ===== */
.btn {
  --b-bg: #fff; --b-fg: var(--navy-800);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border-radius: 14px; border: 1px solid transparent; background: var(--b-bg); color: var(--b-fg); font-weight: 700; font-size: 1rem;
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .ic { width: 20px; height: 20px; }
.btn-gold {
  --b-fg: var(--gold-ink); background: linear-gradient(135deg, var(--gold-300), var(--gold-500) 55%, var(--gold-600));
  box-shadow: 0 10px 26px rgba(202, 138, 4, .35), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.btn-gold:hover { box-shadow: 0 16px 34px rgba(202, 138, 4, .45), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-glass { --b-bg: rgba(255, 255, 255, .08); --b-fg: #fff; border-color: rgba(255, 255, 255, .22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass:hover { --b-bg: rgba(255, 255, 255, .14); border-color: rgba(250, 204, 21, .55); }
.btn-navy { --b-bg: var(--navy-800); --b-fg: #fff; box-shadow: 0 10px 24px rgba(12, 74, 110, .25); }
.btn-navy:hover { --b-bg: var(--navy-700); }
.btn-line { --b-bg: #fff; --b-fg: var(--navy-800); border-color: #cbd5e1; }
.btn-line:hover { border-color: var(--navy-800); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .92rem; border-radius: 12px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.06rem; border-radius: 16px; }

/* ===== رأس الصفحة ===== */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--head); color: #fff;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.hdr.scrolled { background: rgba(6, 30, 50, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 rgba(250, 204, 21, .35), 0 10px 30px rgba(2, 6, 23, .25); }
.hdr .wrap { height: 100%; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; flex: none; }
.brand img { width: 44px; height: 44px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .3)); }
.brand b { display: block; font-family: var(--kufi); font-size: 1.45rem; line-height: 1.1; color: var(--gold-300); letter-spacing: 0; }
.brand small { display: block; font-size: .74rem; color: rgba(255, 255, 255, .78); line-height: 1.3; }
.nav { margin-inline-start: auto; display: flex; align-items: center; gap: 2px; }
.nav a { padding: 8px 11px; border-radius: 10px; text-decoration: none; font-size: .93rem; font-weight: 500; color: rgba(255, 255, 255, .86); transition: color .2s, background .2s; position: relative; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav a.on { color: var(--gold-300); }
.nav a.on::after { content: ""; position: absolute; inset-inline: 11px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--gold-400); }
.hdr-cta { display: flex; gap: 8px; flex: none; }
.burger { display: none; margin-inline-start: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: #fff; align-items: center; justify-content: center; cursor: pointer; }
.burger .ic { width: 22px; height: 22px; }

.mnav {
  position: fixed; inset: 0; z-index: 150; background: linear-gradient(160deg, var(--navy-950), var(--navy-800)); color: #fff;
  display: flex; flex-direction: column; padding: 16px var(--gut) calc(24px + env(safe-area-inset-bottom, 0px)); overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}
.mnav.open { opacity: 1; visibility: visible; transform: none; }
.mnav[hidden] { display: none; }
.mnav-top { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.mnav nav { display: grid; gap: 4px; margin: 24px 0; }
.mnav nav a { display: flex; align-items: center; justify-content: space-between; padding: 14px 6px; font-size: 1.15rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mnav nav a .ic { opacity: .5; }
.mnav .btn { width: 100%; margin-top: 10px; }

/* ===== البطل (Hero) ===== */
.hero {
  position: relative; color: #fff; overflow: hidden; isolation: isolate;
  padding: calc(var(--head) + clamp(36px, 7vw, 84px)) 0 clamp(40px, 6vw, 72px);
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(250, 204, 21, .16), transparent 60%),
    radial-gradient(800px 600px at 0% 100%, rgba(56, 189, 248, .22), transparent 60%),
    linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-800) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 40% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 40% 40%, #000 30%, transparent 75%);
}
.hero-outline { position: absolute; z-index: -1; left: -6%; top: 2%; width: min(760px, 70vw); opacity: .55; pointer-events: none; }
.hero-outline .blk { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 1.4; }
.hero-outline .bdr { fill: rgba(250, 204, 21, .03); stroke: var(--gold-400); stroke-width: 2.2; stroke-dasharray: 9 7; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 12px; border-radius: 99px; font-size: .86rem; font-weight: 600;
  background: rgba(250, 204, 21, .1); border: 1px solid rgba(250, 204, 21, .35); color: var(--gold-200);
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); } 70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.hero h1 { color: #fff; margin: 18px 0 6px; display: flex; flex-direction: column; gap: 2px; }
.hero h1 .word {
  font-family: var(--kufi); font-size: clamp(3.4rem, 8.4vw, 6.2rem); line-height: 1.05; font-weight: 700;
  background: linear-gradient(180deg, #fff6c4 0%, var(--gold-300) 35%, var(--gold-500) 70%, var(--gold-600) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 24px rgba(250, 204, 21, .18));
}
.hero h1 .sub { font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-weight: 600; color: #fff; letter-spacing: 0; }
.tagline { font-size: clamp(1.25rem, 2.3vw, 1.65rem); font-weight: 700; color: #fff; line-height: 1.55; margin-top: 18px; }
.tagline em { font-style: normal; color: var(--gold-300); }
.hero .lead { margin-top: 14px; font-size: clamp(1rem, 1.4vw, 1.1rem); color: rgba(226, 232, 240, .9); max-width: 36em; line-height: 1.95; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 34px; max-width: 560px; }
.proof div { padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.proof b { display: block; font-size: 1.35rem; color: #fff; line-height: 1.2; font-weight: 700; }
.proof span { font-size: .8rem; color: rgba(226, 232, 240, .78); }
.proof-note { margin-top: 10px; font-size: .78rem; color: rgba(226, 232, 240, .6); display: flex; align-items: center; gap: 6px; }
.proof-note .ic { width: 14px; height: 14px; }

.hero-visual { position: relative; padding: 18px 0 46px 34px; }
.float {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px;
  background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: var(--sh-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .7); animation: bob 6s ease-in-out infinite;
}
.float .fi { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.float .fi .ic { width: 22px; height: 22px; }
.float b { display: block; font-size: .98rem; line-height: 1.3; }
.float small { display: block; font-size: .78rem; color: var(--muted); line-height: 1.4; }
.float-1 { top: -4px; right: -12px; }
.float-1 .fi { background: #fef9c3; color: var(--gold-700); }
.float-2 { bottom: 62px; right: -22px; animation-delay: -3s; }
.float-2 .fi { background: #dcfce7; color: var(--green); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero-visual .hero-phone { position: absolute; z-index: 4; left: -6px; bottom: 0; width: 150px; }

/* ===== إطارات الأجهزة ===== */
.browser { margin: 0; border-radius: 16px; overflow: hidden; background: #0b1726; box-shadow: var(--sh-3); border: 1px solid rgba(255, 255, 255, .12); }
.browser-bar { direction: ltr; display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 14px; background: linear-gradient(#1e2a3a, #172231); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.browser-bar .dots { display: flex; gap: 6px; flex: none; }
.browser-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: #ef4444; }
.browser-bar .dots i:nth-child(2) { background: #f59e0b; }
.browser-bar .dots i:nth-child(3) { background: #22c55e; }
.browser-bar .url { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 8px; background: rgba(255, 255, 255, .07); color: #cbd5e1; font-size: .76rem; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser-bar .url .ic { width: 12px; height: 12px; color: #4ade80; }
.browser-view { position: relative; aspect-ratio: 16 / 10; background: #0f2236; overflow: hidden; }
.browser-view > img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.hero .browser-view > img { animation: pan 26s ease-in-out infinite alternate; transform-origin: 60% 45%; }
@keyframes pan { from { transform: scale(1.0); } to { transform: scale(1.07) translate(-1.5%, 1%); } }
.ping { position: absolute; z-index: 2; width: 18px; height: 18px; border-radius: 50%; background: var(--gold-400); box-shadow: 0 0 0 4px rgba(250, 204, 21, .35); }
.ping::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--gold-300); animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(3); opacity: 0; } }

.phone { position: relative; border-radius: 34px; padding: 8px; background: linear-gradient(145deg, #1f2937, #0b1220); box-shadow: 0 30px 60px rgba(2, 6, 23, .45), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.phone::before { content: ""; position: absolute; z-index: 2; top: 13px; left: 50%; width: 34%; height: 14px; transform: translateX(-50%); border-radius: 99px; background: #0b1220; }
.phone img { border-radius: 27px; width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; background: #e2e8f0; }
.tablet { position: relative; border-radius: 26px; padding: 12px; background: linear-gradient(145deg, #1f2937, #0b1220); box-shadow: 0 34px 70px rgba(2, 6, 23, .32), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.tablet img { border-radius: 16px; width: 100%; aspect-ratio: 1180 / 820; object-fit: cover; background: #e2e8f0; }
.monitor { position: relative; }
.monitor .screen { border-radius: 18px; padding: 12px; background: linear-gradient(145deg, #1f2937, #0b1220); box-shadow: var(--sh-3); }
.monitor .screen img { border-radius: 10px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; background: #0b1726; }
.monitor .stand { width: 22%; height: 28px; margin: 0 auto; background: linear-gradient(#cbd5e1, #94a3b8); clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%); }
.monitor .base { width: 36%; height: 8px; margin: 0 auto; border-radius: 0 0 10px 10px; background: #94a3b8; }

/* ===== شريط القيم ===== */
.valuebar { background: var(--navy-950); border-block: 1px solid rgba(250, 204, 21, .18); overflow: hidden; }
.marquee { display: flex; width: max-content; animation: mq 46s linear infinite; }
.valuebar:hover .marquee { animation-play-state: paused; }
.marquee ul { display: flex; gap: 12px; margin: 0; padding: 16px 6px; list-style: none; }
.marquee li { display: flex; align-items: center; gap: 10px; padding: 8px 18px 8px 14px; border-radius: 99px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); color: #e2e8f0; white-space: nowrap; font-weight: 600; font-size: .95rem; }
.marquee li .ic { color: var(--gold-400); width: 20px; height: 20px; }
.marquee li small { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 500; font-size: .72rem; color: #7dd3fc; letter-spacing: .02em; }
@keyframes mq { to { transform: translateX(50%); } }

/* ===== الأقسام ===== */
.sec { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.sec-white { background: #fff; }
.sec-dark { background: linear-gradient(170deg, var(--navy-950), var(--navy-900) 60%, var(--navy-800)); color: #cbd5e1; }
.sec-dark h2, .sec-dark h3 { color: #fff; }
.head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.head.start { margin-inline: 0; text-align: start; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 700; color: var(--gold-700); background: #fef9c3; border: 1px solid #fde68a; padding: 4px 12px; border-radius: 99px; }
.eyebrow .ic { width: 16px; height: 16px; }
.sec-dark .eyebrow { color: var(--gold-200); background: rgba(250, 204, 21, .1); border-color: rgba(250, 204, 21, .3); }
.head h2, .h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); margin-top: 14px; letter-spacing: 0; }
.head h2 em, .h2 em { font-style: normal; color: var(--gold-600); }
.sec-dark .head h2 em, .sec-dark .h2 em { color: var(--gold-300); }
.head p, .lead2 { margin-top: 14px; font-size: clamp(1rem, 1.5vw, 1.12rem); color: var(--muted); line-height: 1.95; }
.sec-dark .head p, .sec-dark .lead2 { color: #94a3b8; }

/* ===== المشكلة ===== */
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pain {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r); background: #fff; border: 1px solid var(--line);
  box-shadow: var(--sh-1); transition: transform .7s var(--ease), opacity .7s var(--ease);
}
.pain .pi { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #fef2f2; color: #dc2626; flex: none; }
.pain .pi .ic { width: 22px; height: 22px; }
.pain h3 { font-size: 1.04rem; }
.pain p { font-size: .9rem; color: var(--muted); margin-top: 4px; line-height: 1.75; }
.js .pains:not(.in) .pain { opacity: .35; }
.js .pains:not(.in) .pain:nth-child(1) { transform: translate(18px, 22px) rotate(-3deg); }
.js .pains:not(.in) .pain:nth-child(2) { transform: translate(-10px, 30px) rotate(2deg); }
.js .pains:not(.in) .pain:nth-child(3) { transform: translate(-24px, 12px) rotate(4deg); }
.js .pains:not(.in) .pain:nth-child(4) { transform: translate(26px, -8px) rotate(3deg); }
.js .pains:not(.in) .pain:nth-child(5) { transform: translate(0, 26px) rotate(-2deg); }
.js .pains:not(.in) .pain:nth-child(6) { transform: translate(-22px, -10px) rotate(-4deg); }
.js .pains:not(.in) .pain:nth-child(7) { transform: translate(20px, -24px) rotate(2deg); }
.js .pains:not(.in) .pain:nth-child(8) { transform: translate(-6px, -28px) rotate(-3deg); }
.js .pains:not(.in) .pain:nth-child(9) { transform: translate(-26px, -18px) rotate(3deg); }
.pains .pain:nth-child(2) { transition-delay: .05s; } .pains .pain:nth-child(3) { transition-delay: .1s; } .pains .pain:nth-child(4) { transition-delay: .15s; }
.pains .pain:nth-child(5) { transition-delay: .2s; } .pains .pain:nth-child(6) { transition-delay: .25s; } .pains .pain:nth-child(7) { transition-delay: .3s; }
.pains .pain:nth-child(8) { transition-delay: .35s; } .pains .pain:nth-child(9) { transition-delay: .4s; }
.unify {
  margin-top: 26px; display: flex; align-items: center; gap: 20px; padding: 22px 26px; border-radius: var(--r-lg); color: #fff;
  background: linear-gradient(120deg, var(--navy-900), var(--navy-800) 60%, var(--navy-700)); box-shadow: var(--sh-2); position: relative; overflow: hidden;
}
.unify::after { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 200px at 10% 50%, rgba(250, 204, 21, .18), transparent 70%); pointer-events: none; }
.unify img { width: 64px; height: 64px; flex: none; }
.unify b { display: block; font-size: clamp(1.25rem, 2.4vw, 1.6rem); color: var(--gold-300); line-height: 1.4; }
.unify p { color: #cbd5e1; font-size: .98rem; }
.unify .btn { margin-inline-start: auto; position: relative; z-index: 1; }

/* ===== الوحدات (الحلول) ===== */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.chip-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line); background: #fff; color: var(--text); font-weight: 600; font-size: .92rem; cursor: pointer; transition: all .2s; }
.chip-btn:hover { border-color: var(--navy-700); color: var(--navy-800); }
.chip-btn[aria-pressed="true"] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.chip-btn .n { font-size: .75rem; padding: 0 7px; border-radius: 99px; background: rgba(15, 23, 42, .07); }
.chip-btn[aria-pressed="true"] .n { background: rgba(255, 255, 255, .18); }
.mods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.mod {
  --c: var(--navy-700); --cb: #e0f2fe;
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.mod:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: color-mix(in srgb, var(--c) 35%, var(--line)); }
.mod[hidden] { display: none; }
.mod .mi { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--cb); color: var(--c); }
.mod .mi .ic { width: 24px; height: 24px; }
.mod h3 { font-size: 1.05rem; }
.mod p { font-size: .9rem; color: var(--muted); line-height: 1.75; }
.mod .tag { position: absolute; top: 18px; left: 18px; font-size: .7rem; font-weight: 700; color: var(--c); background: var(--cb); padding: 2px 9px; border-radius: 99px; }
.mod[data-cat="plan"] { --c: #0369a1; --cb: #e0f2fe; }
.mod[data-cat="estate"] { --c: #a16207; --cb: #fef9c3; }
.mod[data-cat="services"] { --c: #047857; --cb: #d1fae5; }
.mod[data-cat="field"] { --c: #c2410c; --cb: #ffedd5; }
.mod[data-cat="admin"] { --c: #6d28d9; --cb: #ede9fe; }

/* ===== النظام الحقيقي ===== */
.viewer { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.5fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.vtabs { display: grid; gap: 8px; }
.vtab {
  display: flex; gap: 12px; align-items: flex-start; width: 100%; text-align: start; padding: 14px 16px; border-radius: 14px; border: 1px solid transparent;
  background: transparent; cursor: pointer; transition: background .2s, border-color .2s, box-shadow .2s; position: relative; overflow: hidden;
}
.vtab .vi { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: #eef2f7; color: var(--navy-700); flex: none; transition: background .2s, color .2s; }
.vtab .vi .ic { width: 20px; height: 20px; }
.vtab b { display: block; color: var(--ink); font-size: 1rem; line-height: 1.4; }
.vtab .vt { display: block; font-size: .86rem; color: var(--muted); line-height: 1.6; }
.vtab .vd { display: none; margin-top: 8px; font-size: .9rem; color: var(--text); line-height: 1.8; }
.vtab .vb { display: none; margin-top: 8px; font-size: .84rem; font-weight: 700; color: var(--green); align-items: center; gap: 6px; }
.vtab .vb .ic { width: 16px; height: 16px; }
.vtab:hover { background: #fff; }
.vtab[aria-selected="true"] { background: #fff; border-color: var(--line); box-shadow: var(--sh-1); }
.vtab[aria-selected="true"] .vi { background: var(--navy-800); color: var(--gold-300); }
.vtab[aria-selected="true"] .vd { display: block; }
.vtab[aria-selected="true"] .vb { display: flex; }
.vtab .bar { position: absolute; bottom: 0; right: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--gold-500), var(--gold-300)); }
.vtab[aria-selected="true"] .bar.run { animation: fill var(--dur, 7s) linear forwards; }
@keyframes fill { to { width: 100%; } }
.vstage { position: sticky; top: calc(var(--head) + 20px); }
.vstage .browser-view img { position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease), transform .7s var(--ease); transform: scale(1.015); }
.vstage .browser-view img.on { opacity: 1; transform: none; }
.disclose { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; font-size: .84rem; color: var(--muted); line-height: 1.7; }
.disclose .ic { width: 16px; height: 16px; margin-top: 4px; color: var(--sky); }

/* ===== GIS ===== */
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); align-items: center; }
.split.rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.benefits { display: grid; gap: 12px; margin-top: 26px; }
.benefit { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); transition: background .2s, border-color .2s; }
.benefit:hover { background: rgba(255, 255, 255, .07); border-color: rgba(250, 204, 21, .35); }
.benefit .bi { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(250, 204, 21, .12); color: var(--gold-300); flex: none; }
.benefit .bi .ic { width: 21px; height: 21px; }
.benefit b { display: block; color: #fff; font-size: 1.02rem; line-height: 1.45; }
.benefit span { display: block; font-size: .88rem; color: #94a3b8; line-height: 1.75; margin-top: 2px; }
.layers { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.layers span { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 99px; font-size: .82rem; font-weight: 600; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #e2e8f0; }
.layers i { width: 10px; height: 10px; border-radius: 3px; }
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: clamp(36px, 5vw, 56px); }
.stat { padding: 18px; border-radius: var(--r); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); text-align: center; }
.stat b { display: block; font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--gold-300); line-height: 1.2; font-weight: 700; }
.stat span { font-size: .86rem; color: #94a3b8; }
.gis-shot { position: relative; }
.gis-shot .ping { top: 41%; left: 37%; }
.badge-real { position: absolute; z-index: 3; top: 52px; left: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 99px; background: rgba(4, 24, 42, .82); color: #fff; font-size: .76rem; font-weight: 700; border: 1px solid rgba(250, 204, 21, .45); }
.badge-real .ic { width: 14px; height: 14px; color: var(--gold-300); }

/* ===== لوحة المؤشرات ===== */
.checks { display: grid; gap: 10px; margin-top: 24px; padding: 0; list-style: none; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; color: var(--text); }
.checks li .ic { width: 20px; height: 20px; color: var(--green); margin-top: 4px; }
.sec-dark .checks li { color: #cbd5e1; }
.minis { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.mini { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 11px; background: #fff; border: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--navy-800); }
.mini .ic { width: 17px; height: 17px; color: var(--gold-600); }

/* ===== الميدان ===== */
.field-stage { position: relative; padding: 0 0 40px 0; }
.field-stage .tablet { width: 86%; margin-inline-start: auto; }
.field-stage .phone { position: absolute; width: 27%; bottom: 0; }
.field-stage .ph-1 { left: 0; }
.field-stage .ph-2 { left: 22%; bottom: -22px; }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 26px; }
.fitem { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.fitem .fi2 { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: #ffedd5; color: #c2410c; flex: none; }
.fitem .fi2 .ic { width: 20px; height: 20px; }
.fitem b { display: block; color: var(--ink); font-size: .98rem; line-height: 1.4; }
.fitem span { display: block; font-size: .85rem; color: var(--muted); line-height: 1.7; margin-top: 2px; }

/* ===== المساعد ===== */
.assist { background: radial-gradient(700px 400px at 90% 10%, rgba(250, 204, 21, .14), transparent 60%), linear-gradient(165deg, #062238, var(--navy-900) 50%, #0b3b5a); }
.assist-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.chat-frame { position: relative; width: 100%; max-width: 380px; margin-inline: auto; }
.chat-frame .phone img { aspect-ratio: 560 / 1161; }
.avatar-badge { position: absolute; z-index: 5; top: -26px; right: -26px; width: 96px; height: 96px; border-radius: 50%; padding: 4px; background: linear-gradient(135deg, var(--gold-300), var(--gold-600)); box-shadow: 0 16px 40px rgba(0, 0, 0, .4); animation: bob 6s ease-in-out infinite; }
.avatar-badge img { width: 100%; height: 100%; border-radius: 50%; background: var(--navy-900); }
.asks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.ask { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 99px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); color: #e2e8f0; font-weight: 600; font-size: .93rem; cursor: pointer; transition: all .2s; }
.ask:hover { border-color: rgba(250, 204, 21, .6); color: #fff; }
.ask[aria-pressed="true"] { background: var(--gold-400); color: var(--gold-ink); border-color: var(--gold-400); }
.ask .ic { width: 16px; height: 16px; }
.answer { margin-top: 16px; min-height: 92px; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .96); color: var(--ink); display: flex; gap: 12px; align-items: flex-start; box-shadow: var(--sh-2); }
.answer img { width: 42px; height: 42px; border-radius: 50%; flex: none; background: var(--navy-900); }
.answer b { display: block; color: var(--navy-800); font-size: .9rem; }
.answer p { font-size: .96rem; line-height: 1.85; color: var(--text); }
.answer .typing::after { content: "▍"; color: var(--gold-600); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.guards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; padding: 0; list-style: none; }
.guards li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: #cbd5e1; line-height: 1.7; }
.guards li .ic { width: 18px; height: 18px; color: var(--gold-300); margin-top: 4px; }
.honest { margin-top: 20px; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: rgba(56, 189, 248, .08); border: 1px solid rgba(56, 189, 248, .25); font-size: .86rem; color: #bae6fd; line-height: 1.8; }
.honest .ic { width: 18px; height: 18px; margin-top: 3px; color: var(--sky-l); }

/* ===== لماذا المختار ===== */
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.wcard { padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s; }
.wcard:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.wcard .wi { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); color: var(--gold-300); margin-bottom: 14px; }
.wcard .wi .ic { width: 22px; height: 22px; }
.wcard h3 { font-size: 1.05rem; }
.wcard p { font-size: .9rem; color: var(--muted); margin-top: 6px; line-height: 1.75; }
.wcard.wide { background: linear-gradient(135deg, #fffbeb, #fff 60%); border-color: #fde68a; }

/* ===== كيف يعمل ===== */
.ftabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 34px; }
.flow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; position: relative; padding: 0; margin: 0; list-style: none; }
.flow[hidden] { display: none; }
.flow::before { content: ""; position: absolute; top: 31px; right: 8%; left: 8%; height: 3px; border-radius: 3px; background: var(--line); }
.flow .prog { position: absolute; top: 31px; right: 8%; height: 3px; border-radius: 3px; width: 0; background: linear-gradient(270deg, var(--gold-500), var(--green-l)); transition: width .6s var(--ease); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step .dot { position: relative; z-index: 1; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 20px; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); color: var(--muted); transition: all .4s var(--ease); }
.step .dot .ic { width: 26px; height: 26px; }
.step .k { display: block; font-size: .74rem; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.step b { display: block; font-size: 1rem; color: var(--ink); line-height: 1.45; margin-top: 2px; }
.step p { font-size: .86rem; color: var(--muted); line-height: 1.75; margin-top: 6px; }
.step code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8rem; background: #eef2f7; color: var(--navy-800); padding: 1px 6px; border-radius: 6px; direction: ltr; unicode-bidi: isolate; }
.step.on .dot { background: var(--navy-800); border-color: var(--navy-800); color: var(--gold-300); box-shadow: 0 10px 24px rgba(12, 74, 110, .3); transform: translateY(-3px); }
.step.on .k { color: var(--gold-700); }
.step.cur .dot { animation: glow 1.6s ease-in-out infinite; }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(250, 204, 21, .5), 0 10px 24px rgba(12, 74, 110, .3); } 50% { box-shadow: 0 0 0 8px rgba(250, 204, 21, 0), 0 10px 24px rgba(12, 74, 110, .3); } }
.flow-note { margin-top: 30px; text-align: center; font-size: .9rem; color: var(--muted); }
.flow-note b { color: var(--navy-800); }

/* ===== القطاعات ===== */
.secs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.scard { position: relative; padding: 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.scard::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--gold-400), var(--navy-700)); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.scard:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.scard:hover::before { transform: scaleX(1); }
.scard .si { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: #f1f5f9; color: var(--navy-800); margin-bottom: 12px; transition: background .25s, color .25s; }
.scard:hover .si { background: var(--navy-800); color: var(--gold-300); }
.scard .si .ic { width: 22px; height: 22px; }
.scard h3 { font-size: 1.04rem; }
.scard p { font-size: .87rem; color: var(--muted); margin-top: 6px; line-height: 1.75; }

/* ===== التحول ===== */
.trans { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 20px; align-items: stretch; }
.tcol { padding: 26px; border-radius: var(--r-lg); }
.tcol h3 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin-bottom: 16px; }
.tcol ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.tcol li { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; font-weight: 600; font-size: .96rem; }
.tcol li .ic { width: 20px; height: 20px; flex: none; }
.t-before { background: repeating-linear-gradient(-45deg, #f8fafc 0 12px, #f1f5f9 12px 24px); border: 1px dashed #cbd5e1; }
.t-before h3 { color: #64748b; }
.t-before li { background: #fff; color: #64748b; border: 1px solid #e2e8f0; text-decoration: line-through; text-decoration-color: rgba(220, 38, 38, .45); text-decoration-thickness: 2px; }
.t-before li .ic { color: #94a3b8; }
.t-after { background: linear-gradient(160deg, var(--navy-900), var(--navy-800)); box-shadow: var(--sh-2); }
.t-after h3 { color: var(--gold-300); }
.t-after li { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #fff; }
.t-after li .ic { color: var(--green-l); }
.tmid { display: grid; place-items: center; }
.tmid .seal { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: var(--sh-2); position: relative; }
.tmid .seal img { width: 76px; height: 76px; }
.tmid .seal::before, .tmid .seal::after { content: ""; position: absolute; top: 50%; width: 30px; height: 2px; background: linear-gradient(90deg, var(--gold-500), transparent); }
.tmid .seal::before { right: 100%; }
.tmid .seal::after { left: 100%; transform: scaleX(-1); }
.js .t-after li { opacity: 0; transform: translateX(-14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .trans.in .t-after li { opacity: 1; transform: none; }
.trans.in .t-after li:nth-child(2) { transition-delay: .1s; } .trans.in .t-after li:nth-child(3) { transition-delay: .2s; }
.trans.in .t-after li:nth-child(4) { transition-delay: .3s; } .trans.in .t-after li:nth-child(5) { transition-delay: .4s; } .trans.in .t-after li:nth-child(6) { transition-delay: .5s; }

/* ===== العرض الحي ===== */
.demo-box { position: relative; }
.demo-box .browser-bar { height: 46px; }
.dtabs { display: flex; gap: 4px; direction: rtl; flex: none; }
.dtab { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 9px; border: 0; background: transparent; color: #94a3b8; font-weight: 600; font-size: .82rem; cursor: pointer; font-family: var(--font); }
.dtab .ic { width: 15px; height: 15px; }
.dtab[aria-selected="true"] { background: rgba(255, 255, 255, .1); color: #fff; }
.dview { position: relative; aspect-ratio: 16 / 10; background: #0f2236; }
.dview video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #0f2236; }
.dposter[hidden] { display: none; }
.dposter { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; }
.dposter img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; filter: saturate(1.05) brightness(.62); }
.dposter::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(4, 24, 42, .78) 0%, rgba(4, 24, 42, .62) 45%, rgba(4, 24, 42, .85) 100%); }
.dposter .inner { position: relative; z-index: 1; max-width: 460px; color: #fff; }
.play { width: 92px; height: 92px; margin: 0 auto 18px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: var(--gold-ink); background: linear-gradient(135deg, var(--gold-300), var(--gold-600)); box-shadow: 0 0 0 10px rgba(250, 204, 21, .18), 0 20px 50px rgba(0, 0, 0, .45); transition: transform .25s var(--ease); }
.play:hover { transform: scale(1.06); }
.play .ic { width: 36px; height: 36px; fill: currentColor; margin-inline-start: -4px; }
.dposter h3 { color: #fff; font-size: 1.35rem; }
.dposter p { color: #cbd5e1; margin-top: 6px; font-size: .95rem; }
.demo-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.tries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.try { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.try .n { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(250, 204, 21, .14); color: var(--gold-300); font-weight: 700; flex: none; }
.try b { display: block; color: #fff; font-size: .95rem; }
.try span { font-size: .85rem; color: #94a3b8; }
.demo-note { margin-top: 18px; display: flex; gap: 10px; align-items: flex-start; justify-content: center; text-align: center; font-size: .88rem; color: #94a3b8; }
.demo-note .ic { width: 18px; height: 18px; color: var(--gold-300); margin-top: 3px; }

/* ===== الطلب ===== */
.req { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.req-side h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-top: 14px; }
.req-side .lead2 { margin-top: 12px; }
.gets { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.gets li { display: flex; gap: 12px; align-items: flex-start; }
.gets li .gi { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: #e0f2fe; color: var(--navy-700); flex: none; }
.gets li .gi .ic { width: 19px; height: 19px; }
.gets b { display: block; color: var(--ink); font-size: .98rem; }
.gets span { font-size: .88rem; color: var(--muted); line-height: 1.7; }
.form { padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-2); position: relative; }
.form::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; border-radius: var(--r-lg) var(--r-lg) 0 0; background: linear-gradient(90deg, var(--gold-400), var(--gold-600), var(--navy-700)); }
.form h3 { font-size: 1.25rem; margin-bottom: 4px; }
.form .hint { font-size: .86rem; color: var(--muted); margin-bottom: 18px; }
.fg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fld { display: grid; gap: 6px; }
.fld.full { grid-column: 1 / -1; }
.fld label { font-weight: 700; font-size: .9rem; color: var(--navy-800); }
.fld label i { font-style: normal; color: var(--red); }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1px solid #cbd5e1; background: #f8fafc; font-size: 1rem; transition: border-color .2s, box-shadow .2s, background .2s; }
.fld textarea { min-height: 110px; resize: vertical; line-height: 1.7; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--sky); background: #fff; box-shadow: 0 0 0 4px rgba(2, 132, 199, .14); }
.fld input[aria-invalid="true"], .fld select[aria-invalid="true"] { border-color: var(--red); background: #fef2f2; }
.fld .err { font-size: .82rem; color: var(--red); min-height: 0; }
.fld .err:empty { display: none; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.consent { grid-column: 1 / -1; font-size: .82rem; color: var(--muted); line-height: 1.7; }
.consent button { border: 0; background: none; padding: 0; color: var(--navy-700); text-decoration: underline; cursor: pointer; font-size: inherit; }
.form .btn { width: 100%; margin-top: 18px; }
.form-ok { text-align: center; padding: 26px 8px; }
.form-ok[hidden] { display: none; }
.form-ok .okic { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: #dcfce7; color: var(--green); }
.form-ok .okic .ic { width: 36px; height: 36px; }
.form-ok h3 { font-size: 1.3rem; }
.form-ok p { color: var(--muted); margin-top: 8px; }
.form-ok pre { margin: 16px 0 0; padding: 14px; border-radius: 12px; background: #f1f5f9; text-align: start; white-space: pre-wrap; font-family: var(--font); font-size: .88rem; line-height: 1.8; color: var(--text); max-height: 220px; overflow: auto; }
.form-ok .acts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 16px; }
.form-ok .acts .btn { width: auto; margin: 0; }

/* ===== دعوة أخيرة ===== */
.final { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 96px) 0; color: #fff; text-align: center; background: radial-gradient(700px 360px at 50% 0%, rgba(250, 204, 21, .22), transparent 65%), linear-gradient(160deg, var(--navy-950), var(--navy-800)); }
.final h2 { color: #fff; font-size: clamp(1.8rem, 4.2vw, 3rem); }
.final h2 em { font-style: normal; color: var(--gold-300); }
.final p { color: #cbd5e1; margin: 14px auto 0; max-width: 34em; font-size: 1.08rem; }
.final .hero-cta { justify-content: center; }
.final .outline { position: absolute; z-index: 0; right: -120px; bottom: -160px; width: 520px; opacity: .25; pointer-events: none; }
.final .outline .bdr { fill: none; stroke: var(--gold-400); stroke-width: 3; stroke-dasharray: 9 7; }
.final .wrap { position: relative; z-index: 1; }

/* ===== تواصل ===== */
.contact { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); }
.contact h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.contact p { color: var(--muted); margin-top: 8px; }
.channels { display: grid; gap: 10px; }
.channel { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, background .2s; }
.channel:hover { border-color: var(--navy-700); background: #f8fafc; }
.channel .ci { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #e0f2fe; color: var(--navy-700); flex: none; }
.channel b { display: block; color: var(--ink); font-size: .95rem; }
.channel span { font-size: .86rem; color: var(--muted); }
.channel[hidden] { display: none; }

/* ===== التذييل ===== */
.ftr { background: var(--navy-950); color: #94a3b8; padding: 56px 0 calc(28px + env(safe-area-inset-bottom, 0px)); border-top: 3px solid var(--gold-600); }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.ftr .brand small { color: #94a3b8; }
.ftr p { font-size: .9rem; line-height: 1.85; margin-top: 14px; max-width: 30em; }
.ftr h4 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ftr a, .ftr .lnk { color: #94a3b8; text-decoration: none; font-size: .92rem; background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--font); text-align: start; }
.ftr a:hover, .ftr .lnk:hover { color: var(--gold-300); }
.ftr-bot { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .84rem; }

/* ===== شريط الجوال الثابت ===== */
.mbar { position: fixed; z-index: 90; inset: auto 0 0 0; display: none; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(2, 6, 23, .1); transform: translateY(110%); transition: transform .3s var(--ease); }
.mbar.show { transform: none; }
.mbar .btn { flex: 1; min-height: 46px; padding: 0 12px; font-size: .95rem; }

/* ===== نافذة الخصوصية ===== */
dialog.dlg { width: min(560px, calc(100vw - 32px)); border: 0; border-radius: 20px; padding: 0; box-shadow: var(--sh-3); color: var(--text); }
dialog.dlg::backdrop { background: rgba(2, 6, 23, .6); backdrop-filter: blur(3px); }
.dlg .dh { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.dlg .dh h3 { font-size: 1.15rem; }
.dlg .db { padding: 18px 22px 22px; font-size: .95rem; line-height: 1.9; }
.dlg .db ul { padding-inline-start: 20px; margin: 10px 0 0; }
.dlg .x { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; }

/* ===== الظهور عند التمرير ===== */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js .rv.in { opacity: 1; transform: none; }

/* ===== الاستجابة ===== */
@media (max-width: 1180px) {
  .nav, .hdr-cta .btn-glass { display: none; }
  .burger { display: inline-flex; }
  .hdr-cta { margin-inline-start: auto; }
  .hdr-cta + .burger { margin-inline-start: 0; }
  .mods { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .why, .secs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .hero-grid, .split, .split.rev, .assist-grid, .req { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 720px; margin: 8px auto 0; width: 100%; }
  .viewer { grid-template-columns: minmax(0, 1fr); }
  .vstage { position: relative; top: 0; order: -1; }
  .vtabs { grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
  .vtab { scroll-snap-align: start; background: #fff; border-color: var(--line); }
  .split .gis-shot, .split .monitor { order: -1; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .flow::before, .flow .prog { display: none; }
  .trans { grid-template-columns: minmax(0, 1fr); }
  .tmid .seal::before, .tmid .seal::after { display: none; }
  .tries { grid-template-columns: minmax(0, 1fr); }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .ftr-grid > :first-child { grid-column: 1 / -1; }
  .chat-frame { max-width: 320px; }
}
@media (max-width: 760px) {
  :root { --head: 64px; }
  .brand img { width: 38px; height: 38px; }
  .brand b { font-size: 1.25rem; }
  .brand small { font-size: .68rem; }
  .hdr-cta .btn-gold { display: none; }
  .hero { padding-top: calc(var(--head) + 28px); text-align: start; }
  .hero-cta .btn { flex: 1 1 100%; }
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-visual { padding: 10px 0 36px 0; }
  .float { padding: 8px 12px; gap: 8px; }
  .float .fi { width: 32px; height: 32px; border-radius: 10px; }
  .float b { font-size: .85rem; }
  .float small { font-size: .7rem; }
  .float-1 { right: -4px; top: -10px; }
  .float-2 { display: none; }
  .hero-visual .hero-phone { width: 104px; left: -4px; border-radius: 24px; padding: 5px; }
  .hero-visual .hero-phone img { border-radius: 20px; }
  .hero-visual .hero-phone::before { top: 9px; height: 9px; }
  .hero-outline { width: 120vw; left: -30%; top: 10%; opacity: .35; }
  .pains, .mods, .why, .secs, .fgrid, .guards { grid-template-columns: minmax(0, 1fr); }
  .js .pains:not(.in) .pain { transform: translateY(20px) !important; }
  .mods { gap: 10px; }
  .mod { flex-direction: row; align-items: flex-start; padding: 16px; }
  .mod .mi { flex: none; }
  .mod .tag { position: static; align-self: flex-start; order: 3; display: none; }
  .filters { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip-btn { flex: none; }
  .unify { flex-direction: column; align-items: flex-start; text-align: start; padding: 20px; }
  .unify .btn { margin: 4px 0 0; width: 100%; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats .stat:last-child { grid-column: 1 / -1; }
  .flow { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0 14px; text-align: start; padding: 0 0 22px; }
  .step .dot { width: 52px; height: 52px; margin: 0; border-radius: 16px; grid-row: span 3; }
  .step .dot .ic { width: 22px; height: 22px; }
  .step::after { content: ""; position: absolute; top: 56px; bottom: 2px; right: 25px; width: 2px; background: var(--line); }
  .step:last-child::after { display: none; }
  .step.on::after { background: var(--gold-400); }
  .ftabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scrollbar-width: none; }
  .field-stage { padding-bottom: 30px; }
  .field-stage .tablet { width: 100%; padding: 8px; border-radius: 18px; }
  .field-stage .tablet img { border-radius: 11px; }
  .field-stage .phone { width: 34%; bottom: -30px; }
  .field-stage .ph-2 { display: none; }
  .browser-bar { height: 32px; padding: 0 10px; }
  .browser-bar .dots i { width: 9px; height: 9px; }
  .demo-box .browser-bar { height: auto; flex-wrap: wrap; padding: 8px 10px; gap: 8px; }
  .dtabs { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .dtab { flex: none; padding: 0 9px; }
  .dposter .play { width: 64px; height: 64px; margin-bottom: 10px; }
  .dposter .play .ic { width: 26px; height: 26px; }
  .dposter h3 { font-size: 1.1rem; }
  .dposter p { display: none; }
  .demo-box .browser-bar .url { order: 3; flex-basis: 100%; }
  .dtabs { margin-inline-start: auto; }
  .avatar-badge { width: 72px; height: 72px; top: -18px; right: -10px; }
  .demo-actions .btn, .final .hero-cta .btn { flex: 1 1 100%; }
  .fg { grid-template-columns: minmax(0, 1fr); }
  .tcol { padding: 18px; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .mbar { display: flex; }
  body { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee ul[aria-hidden="true"] { display: none; }
  .marquee ul { flex-wrap: wrap; justify-content: center; }
}

@media print {
  .hdr, .mbar, .valuebar, .demo-box, .form, .final { display: none !important; }
  .js .rv { opacity: 1; transform: none; }
  .sec-dark, .hero { background: #fff !important; color: #000; }
}
