/* ذكاء الفروع — موقع المنتج (vms.makiin.sa) — الوضع الفاتح
   الصفحة فاتحة، و«الشاشات» (البطاقة الحيّة · التحليلات · الحواس) داكنةٌ كواجهة منتجٍ حقيقية.
   بلا اعتمادية ولا مورد خارجي، ولا أنماط مضمَّنة (style-src 'self'). الهوية: أزرق #4d67b0 · أخضر #5dbf8f. */

@font-face { font-family: "Plex"; font-weight: 300; font-display: swap; src: url("/assets/fonts/plex-arabic-300.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Plex"; font-weight: 400; font-display: swap; src: url("/assets/fonts/plex-arabic-400.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Plex"; font-weight: 500; font-display: swap; src: url("/assets/fonts/plex-arabic-500.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Plex"; font-weight: 600; font-display: swap; src: url("/assets/fonts/plex-arabic-600.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Plex"; font-weight: 700; font-display: swap; src: url("/assets/fonts/plex-arabic-700.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Plex"; font-weight: 400; font-display: swap; src: url("/assets/fonts/plex-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Plex"; font-weight: 500; font-display: swap; src: url("/assets/fonts/plex-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Plex"; font-weight: 600 700; font-display: swap; src: url("/assets/fonts/plex-latin-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }

:root {
  --bg: #f5f7fc;
  --bg-2: #eaf0f9;
  --surface: #ffffff;
  --ink: #0e1a30;
  --ink-2: #3d4b66;
  --muted: #6b7890;
  --line: rgba(14, 26, 48, .08);
  --line-2: rgba(14, 26, 48, .14);
  --blue: #4d67b0;
  --blue-d: #3a519a;
  --green: #5dbf8f;
  --green-d: #2e8a5f;
  --amber: #e79a2e;
  --red: #e05555;
  /* الشاشات الداكنة */
  --scr: #0b1426;
  --scr-2: #121f3a;
  --scr-ink: #eaf0fa;
  --scr-ink-2: #b3bfd6;
  --scr-muted: #8190aa;
  --scr-line: rgba(160, 185, 230, .14);
  --r: 22px;
  --r-sm: 14px;
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow: 0 1px 2px rgba(14, 26, 48, .04), 0 12px 32px -12px rgba(14, 26, 48, .12);
  --shadow-lg: 0 2px 4px rgba(14, 26, 48, .04), 0 40px 80px -30px rgba(30, 50, 110, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.75 "Plex", system-ui, sans-serif;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background-image: radial-gradient(rgba(77, 103, 176, .16) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 65%);
}
h1, h2, h3 { margin: 0; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--green-d); }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { width: auto; height: auto; clip-path: none; inset-inline-start: 16px; top: 12px; z-index: 100; background: var(--blue); color: #fff; padding: 8px 14px; border-radius: 10px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.fine { color: var(--muted); font-size: 13.5px; margin-top: 14px; }
.grad {
  background: linear-gradient(100deg, var(--blue) 0%, #3d8fb8 45%, var(--green-d) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% 100%; animation: shine 8s var(--ease) infinite alternate;
}
@keyframes shine { to { background-position: 100% 0; } }

/* ── الأزرار ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 16px/1 "Plex", sans-serif; padding: 15px 26px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--ink); background: var(--surface); cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-glow {
  border: 0; color: #fff; position: relative; isolation: isolate;
  background: linear-gradient(120deg, var(--blue) 0%, #3d8fb8 55%, var(--green) 100%);
  box-shadow: 0 10px 28px -10px rgba(77, 103, 176, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-glow::after { content: ""; position: absolute; inset: -2px; border-radius: inherit; z-index: -1; background: inherit; filter: blur(14px); opacity: .3; transition: opacity .3s; }
.btn-glow:hover { color: #fff; box-shadow: 0 16px 36px -12px rgba(77, 103, 176, .85), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn-glow:hover::after { opacity: .6; }
.btn.sm { padding: 11px 18px; font-size: 14.5px; }
.btn:disabled { opacity: .6; cursor: wait; }

/* ── الترويسة ── */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s, box-shadow .3s; border-bottom: 1px solid transparent; }
.nav.is-stuck { background: rgba(255, 255, 255, .8); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(14, 26, 48, .4); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.mark { width: 34px; height: 40px; fill: currentColor; color: var(--blue); }
.brand-t { display: flex; flex-direction: column; line-height: 1.15; }
.brand-t b { font-size: 18px; font-weight: 700; }
.brand-t small { font-size: 12px; color: var(--muted); }
.links { display: flex; gap: 24px; margin-inline-start: auto; }
.links a { color: var(--ink-2); font-size: 15px; position: relative; }
.links a::after { content: ""; position: absolute; inset: auto 0 -6px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--green)); transform: scaleX(0); transition: transform .3s var(--ease); }
.links a:hover { color: var(--ink); }
.links a:hover::after { transform: scaleX(1); }

/* ── الواجهة ── */
.hero { position: relative; min-height: 100vh; padding: 130px 0 100px; display: flex; align-items: center; overflow: hidden; background: linear-gradient(180deg, #eef3fc 0%, var(--bg) 100%); }
.hero-net { position: absolute; inset: 0; width: 100%; height: 100%; }
.aurora { position: absolute; inset: -20% -10% auto; height: 120%; pointer-events: none; filter: blur(70px); opacity: .7; }
.aurora::before, .aurora::after { content: ""; position: absolute; border-radius: 50%; }
.aurora::before { width: 55vw; height: 55vw; max-width: 760px; max-height: 760px; inset-inline-end: -8%; top: 0; background: radial-gradient(circle, rgba(77, 103, 176, .28), transparent 65%); animation: drift1 18s ease-in-out infinite alternate; }
.aurora::after { width: 45vw; height: 45vw; max-width: 620px; max-height: 620px; inset-inline-start: -6%; top: 20%; background: radial-gradient(circle, rgba(93, 191, 143, .26), transparent 65%); animation: drift2 22s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(-8%, 10%) scale(1.1); } }
@keyframes drift2 { to { transform: translate(10%, -6%) scale(1.15); } }
.hero-in { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.hero-in > *, .cost > *, .price-wrap > *, .bento > *, .steps > *, .split > *, .trust-grid > *, .feat-grid > *, .sectors > *, .stats > * { min-width: 0; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; font-size: 14px; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(93, 191, 143, .7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(93, 191, 143, 0); } 100% { box-shadow: 0 0 0 0 rgba(93, 191, 143, 0); } }
.hero h1 { font-size: clamp(36px, 4.6vw, 62px); margin: 22px 0 20px; line-height: 1.18; }
.lead { font-size: clamp(17px, 1.5vw, 19.5px); color: var(--ink-2); max-width: 36em; }

.phone-form { margin-top: 30px; max-width: 560px; }
.phone-field {
  display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow);
  transition: border-color .3s, box-shadow .3s;
}
.phone-field:focus-within { border-color: rgba(77, 103, 176, .5); box-shadow: 0 0 0 6px rgba(77, 103, 176, .1), var(--shadow); }
/* الرقم يُقرأ من اليسار: «+966» ملاصقٌ للرقم عن يساره والزر في الطرف */
.phone-field input { order: 1; flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: 500 18px "Plex", sans-serif; letter-spacing: .04em; padding: 10px 8px 10px 18px; text-align: left; }
.phone-field .cc { order: 2; color: var(--muted); font-size: 16px; padding-inline: 8px 12px; border-inline-start: 1px solid var(--line-2); }
.phone-field .btn { order: 3; }
.phone-field input::placeholder { color: #a3aec2; }
.trap { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 13.5px; color: var(--muted); line-height: 1.6; cursor: pointer; }
.consent input { accent-color: var(--blue); width: 16px; height: 16px; margin-top: 3px; flex: none; }
.form-msg { min-height: 1.6em; margin-top: 8px; font-size: 14.5px; }
.form-msg.ok { color: var(--green-d); }
.form-msg.err { color: var(--red); }
.phone-form.is-done .phone-field { border-color: rgba(93, 191, 143, .6); }

.hero-facts { list-style: none; padding: 0; margin: 34px 0 0; display: flex; gap: 34px; flex-wrap: wrap; }
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts b { font-size: 30px; font-weight: 700; line-height: 1.1; color: var(--ink); }
.hero-facts li:first-child b { background: linear-gradient(100deg, var(--blue), var(--green-d)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-facts span { font-size: 13.5px; color: var(--muted); }

/* ── الشاشات الداكنة ── */
.console {
  background: linear-gradient(165deg, var(--scr-2), var(--scr)); color: var(--scr-ink);
  border: 1px solid rgba(255, 255, 255, .06); border-radius: var(--r); box-shadow: var(--shadow-lg);
}
.console .muted { color: var(--scr-muted); }
.hero-visual { position: relative; perspective: 1200px; }
.live-card { padding: 22px; transform: rotateY(-6deg) rotateX(3deg); transition: transform .6s var(--ease); }
.hero-visual:hover .live-card { transform: none; }
.lc-head { display: flex; align-items: center; gap: 10px; font-size: 15px; margin-bottom: 14px; flex-wrap: wrap; }
.lc-head .muted { font-size: 13.5px; }
.lc-head .tag { margin-inline-start: auto; font-size: 11.5px; color: #f4c27a; border: 1px solid rgba(244, 194, 122, .35); padding: 2px 9px; border-radius: 999px; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--green); animation: ping 1.8s infinite; }
.day { position: relative; border-radius: var(--r-sm); background: rgba(3, 8, 18, .5); border: 1px solid var(--scr-line); padding: 12px 12px 6px; }
.day-svg { width: 100%; height: 150px; display: block; overflow: visible; }
.day-svg .bar { fill: rgba(138, 162, 230, .28); transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); transition: transform .8s var(--ease); }
.day-svg .bar.noise { fill: rgba(244, 194, 122, .55); }
.day-svg .bar.sus { fill: url(#g-bar); }
.day.is-in .bar { transform: scaleY(1); }
.day-svg .sched { stroke: rgba(255, 255, 255, .35); stroke-width: 1.5; stroke-dasharray: 4 4; }
.day-svg .scan { fill: #7ee0ae; opacity: 0; }
.day.is-in .scan { animation: scan 6s linear infinite; }
@keyframes scan { 0% { transform: translateX(0); opacity: 0; } 5% { opacity: .9; } 95% { opacity: .9; } 100% { transform: translateX(478px); opacity: 0; } }
.day-axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--scr-muted); margin-top: 4px; font-variant-numeric: tabular-nums; }
.lc-feed { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.lc-feed li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--scr-ink-2); padding: 9px 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--scr-line); }
.js .lc-feed li { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .lc-feed li.is-in { opacity: 1; transform: none; }
.lc-feed .t { font-size: 12.5px; color: var(--scr-muted); font-variant-numeric: tabular-nums; min-width: 40px; }
.lc-feed .x { flex: 1; min-width: 0; }
.lc-feed li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none; order: -1; }
.lc-feed .ok::before { background: var(--green); box-shadow: 0 0 10px var(--green); }
.lc-feed .noise::before { background: #f4c27a; }
.lc-feed .info::before { background: #8aa2e6; }
.lc-feed .warn::before { background: #ef6b6b; box-shadow: 0 0 10px #ef6b6b; }
.lc-feed .noise b { color: #f4c27a; font-weight: 500; }
.lc-feed .ok b { color: #7ee0ae; font-weight: 600; }
.lc-feed .info b { color: #a9bcf0; font-weight: 600; }
.lc-feed .warn b { color: #ff9a9a; font-weight: 600; }

.float-chip { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; font-size: 14px; }
.float-chip b { display: block; font-size: 14px; }
.float-chip small { color: var(--scr-muted); font-size: 12px; }
.fc-1 { inset-inline-start: -36px; top: -26px; animation: float 7s ease-in-out infinite; }
.fc-2 { inset-inline-end: -26px; bottom: -34px; animation: float 8s ease-in-out -3s infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }

/* ── الأيقونات ── */
.ic { width: 44px; height: 44px; border-radius: 13px; flex: none; position: relative; display: inline-block;
  background: linear-gradient(140deg, rgba(77, 103, 176, .14), rgba(93, 191, 143, .14)); border: 1px solid rgba(77, 103, 176, .16); }
.ic::after { content: ""; position: absolute; inset: 11px; background: var(--blue-d); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.console .ic { background: linear-gradient(140deg, rgba(77, 103, 176, .4), rgba(93, 191, 143, .25)); border-color: rgba(255, 255, 255, .1); }
.console .ic::after { background: #fff; }
.float-chip .ic { width: 36px; height: 36px; }
.float-chip .ic::after { inset: 8px; }
.ic-spark { --i: url(/assets/icons/spark.svg); } .ic-bell { --i: url(/assets/icons/bell.svg); } .ic-rec { --i: url(/assets/icons/rec.svg); }
.ic-time { --i: url(/assets/icons/time.svg); } .ic-cal { --i: url(/assets/icons/cal.svg); } .ic-pulse { --i: url(/assets/icons/pulse.svg); }
.ic-key { --i: url(/assets/icons/key.svg); } .ic-alert { --i: url(/assets/icons/alert.svg); } .ic-eye { --i: url(/assets/icons/eye.svg); }
.ic-grid { --i: url(/assets/icons/grid.svg); } .ic-shield { --i: url(/assets/icons/shield.svg); } .ic-lock { --i: url(/assets/icons/lock.svg); }
.ic-eyeoff { --i: url(/assets/icons/eyeoff.svg); } .ic-link { --i: url(/assets/icons/link.svg); } .ic-layers { --i: url(/assets/icons/layers.svg); }
.ic-list { --i: url(/assets/icons/list.svg); } .ic-live { --i: url(/assets/icons/live.svg); } .ic-wall { --i: url(/assets/icons/wall.svg); }
.ic-play { --i: url(/assets/icons/play.svg); } .ic-search { --i: url(/assets/icons/search.svg); } .ic-people { --i: url(/assets/icons/people.svg); }
.ic-heat { --i: url(/assets/icons/heat.svg); } .ic-face { --i: url(/assets/icons/face.svg); } .ic-car { --i: url(/assets/icons/car.svg); }
.ic-plate { --i: url(/assets/icons/plate.svg); } .ic-queue { --i: url(/assets/icons/queue.svg); } .ic-tree { --i: url(/assets/icons/tree.svg); }
.ic-fire { --i: url(/assets/icons/fire.svg); } .ic-helmet { --i: url(/assets/icons/helmet.svg); } .ic-line { --i: url(/assets/icons/line.svg); }
.ic-box { --i: url(/assets/icons/box.svg); } .ic-forklift { --i: url(/assets/icons/forklift.svg); } .ic-mic { --i: url(/assets/icons/mic.svg); }
.ic-speaker { --i: url(/assets/icons/speaker.svg); } .ic-task { --i: url(/assets/icons/task.svg); } .ic-ac { --i: url(/assets/icons/ac.svg); }
.ic-thermo { --i: url(/assets/icons/thermo.svg); } .ic-door { --i: url(/assets/icons/door.svg); } .ic-bolt { --i: url(/assets/icons/bolt.svg); }
.ic-drop { --i: url(/assets/icons/drop.svg); } .ic-fridge { --i: url(/assets/icons/fridge.svg); } .ic-bulb { --i: url(/assets/icons/bulb.svg); }
.ic-robot { --i: url(/assets/icons/robot.svg); } .ic-flow { --i: url(/assets/icons/flow.svg); } .ic-chat { --i: url(/assets/icons/chat.svg); }
.ic-chart { --i: url(/assets/icons/chart.svg); } .ic-api { --i: url(/assets/icons/api.svg); } .ic-star { --i: url(/assets/icons/star.svg); }
.ic-phone { --i: url(/assets/icons/phone.svg); } .ic-store { --i: url(/assets/icons/store.svg); } .ic-factory { --i: url(/assets/icons/factory.svg); }
.ic-office { --i: url(/assets/icons/office.svg); } .ic-warehouse { --i: url(/assets/icons/warehouse.svg); } .ic-food { --i: url(/assets/icons/food.svg); }

/* ── شريط الحقائق ── */
.facts-strip { border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.marquee { display: flex; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 34px; padding: 20px 17px; flex: none; animation: marquee 38s linear infinite; }
.marquee-track span { white-space: nowrap; color: var(--ink-2); font-size: 15.5px; font-weight: 500; }
.marquee-track i { width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--green)); flex: none; }
@keyframes marquee { to { transform: translateX(50%); } }

/* ── الأقسام ── */
.sec { padding: 120px 0; position: relative; }
.sec-alt { background: linear-gradient(180deg, var(--bg), var(--bg-2) 20%, var(--bg-2) 80%, var(--bg)); }
.sec-head { max-width: 780px; margin-bottom: 56px; }
.eyebrow { display: inline-block; font-size: 13.5px; font-weight: 600; letter-spacing: .06em; color: var(--green-d); margin-bottom: 14px; }
.sec-head h2, .cost-copy h2, .split-copy h2 { font-size: clamp(30px, 3.8vw, 48px); margin-bottom: 16px; }
.sec-head p { color: var(--ink-2); font-size: 18px; }

/* البنتو */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.card {
  grid-column: span 2; position: relative; padding: 28px; border-radius: var(--r); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .4s, border-color .4s;
  --mx: 50%; --my: 0%;
}
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(93, 191, 143, .12), transparent 45%); }
.card:hover { box-shadow: var(--shadow-lg); border-color: rgba(77, 103, 176, .25); }
.card:hover::before { opacity: 1; }
.c-wide { grid-column: span 4; }
.c-tall { grid-row: span 2; }
.card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.kicker { font-size: 13px; color: var(--muted); font-weight: 500; }
.card h3 { font-size: 22px; margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 15.5px; }
.card p b { color: var(--ink); font-weight: 600; }

.viz-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 24px; }
.viz-wall i { aspect-ratio: 16 / 9; border-radius: 8px; background: linear-gradient(135deg, #1b2c50, #0c1629); position: relative; overflow: hidden; }
.viz-wall i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .12) 50%, transparent 70%); background-size: 250% 100%; animation: sheen 3.5s linear infinite; }
.viz-wall i:nth-child(2n)::after { animation-delay: -1.2s; }
.viz-wall i.hot { box-shadow: inset 0 0 0 2px #5dbf8f; }
.viz-wall i.hot::before { content: ""; position: absolute; top: 6px; inset-inline-start: 6px; width: 6px; height: 6px; border-radius: 50%; background: #ef6b6b; animation: blink 1.2s steps(2) infinite; }
@keyframes sheen { to { background-position: -150% 0; } }
@keyframes blink { 50% { opacity: .3; } }

.viz-alerts { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.viz-alerts li { display: flex; flex-direction: column; padding: 12px 14px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); border-inline-start: 3px solid var(--amber); animation: slidein 8s var(--ease) infinite; opacity: 0; }
.viz-alerts li:nth-child(2) { animation-delay: 1.2s; border-inline-start-color: var(--red); }
.viz-alerts li:nth-child(3) { animation-delay: 2.4s; }
.viz-alerts li:nth-child(4) { animation-delay: 3.6s; border-inline-start-color: var(--green); }
.viz-alerts b { font-size: 14.5px; }
.viz-alerts small { color: var(--muted); font-size: 12.5px; }
@keyframes slidein { 0% { opacity: 0; transform: translateX(-14px); } 8%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateX(8px); } }

.viz-wave { display: flex; align-items: center; justify-content: center; gap: 5px; height: 70px; margin-top: 18px; }
.viz-wave i { width: 5px; height: 20%; border-radius: 4px; background: linear-gradient(0deg, var(--blue), var(--green)); animation: wave 1.2s ease-in-out infinite; }
.viz-wave i:nth-child(2n) { animation-delay: -.3s; } .viz-wave i:nth-child(3n) { animation-delay: -.6s; } .viz-wave i:nth-child(5n) { animation-delay: -.9s; }
@keyframes wave { 50% { height: 90%; } }

.viz-temp { display: flex; align-items: center; gap: 16px; margin-top: 22px; }
.viz-temp b { font-size: 34px; font-weight: 700; color: var(--blue-d); font-variant-numeric: tabular-nums; }
.viz-temp span { flex: 1; height: 10px; border-radius: 999px; background: linear-gradient(90deg, #5dbf8f, #8aa2e6, #e79a2e); position: relative; }
.viz-temp span::after { content: ""; position: absolute; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); box-shadow: var(--shadow); animation: knob 5s ease-in-out infinite alternate; inset-inline-start: 20%; }
@keyframes knob { to { inset-inline-start: 55%; } }

.viz-rule { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.viz-rule span { padding: 9px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 600; }
.viz-rule .r-if { background: rgba(77, 103, 176, .12); color: var(--blue-d); }
.viz-rule .r-then { background: rgba(93, 191, 143, .16); color: var(--green-d); }
.viz-rule .r-tell { background: rgba(231, 154, 46, .14); color: #a86610; }
.viz-rule i { width: 28px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 4px, transparent 4px 8px); background-size: 16px 2px; animation: dash 1s linear infinite; }
@keyframes dash { to { background-position: -16px 0; } }

/* تبويبات المميزات */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.tabs button { font: 500 15px "Plex", sans-serif; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line-2); padding: 9px 18px; border-radius: 999px; cursor: pointer; transition: all .25s var(--ease); }
.tabs button:hover { border-color: rgba(77, 103, 176, .4); color: var(--ink); }
.tabs button[aria-selected="true"] { background: linear-gradient(120deg, var(--blue), #3d8fb8); color: #fff; border-color: transparent; box-shadow: 0 8px 20px -10px rgba(77, 103, 176, .8); }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feat { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s, opacity .35s; }
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(77, 103, 176, .22); }
.feat h3 { font-size: 16.5px; margin-bottom: 4px; }
.feat p { font-size: 14.5px; color: var(--ink-2); line-height: 1.65; }
.feat.is-hidden { display: none; }
.feat.is-pop { animation: pop .45s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }

/* قسمان متجاوران */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.split.rev .split-copy { order: 2; }
.split-copy p { color: var(--ink-2); font-size: 18px; }
.vision, .iot-panel { padding: 22px; }
.scene { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-sm); overflow: hidden; background:
  linear-gradient(180deg, rgba(10, 18, 34, .2), rgba(10, 18, 34, .6)),
  repeating-linear-gradient(90deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 60px),
  linear-gradient(160deg, #26395f 0%, #172641 55%, #0f1a2f 100%); }
.scene::before { content: ""; position: absolute; inset: 58% 0 0; background: linear-gradient(180deg, rgba(120, 140, 180, .15), rgba(40, 55, 90, .4)); }
.box { position: absolute; border: 2px solid #7ee0ae; border-radius: 6px; box-shadow: 0 0 18px -4px rgba(126, 224, 174, .7); animation: track 6s ease-in-out infinite alternate; }
.box em { position: absolute; top: -24px; inset-inline-start: -2px; font-style: normal; font-size: 11.5px; font-weight: 600; white-space: nowrap; background: #5dbf8f; color: #06210f; padding: 1px 7px; border-radius: 5px; }
.b1 { width: 11%; height: 40%; top: 32%; inset-inline-start: 22%; }
.b2 { width: 10%; height: 36%; top: 36%; inset-inline-start: 46%; animation-delay: -2s; }
.b3 { width: 24%; height: 22%; top: 60%; inset-inline-start: 66%; border-color: #8aa2e6; box-shadow: 0 0 18px -4px rgba(138, 162, 230, .7); animation: none; }
.b3 em { background: #8aa2e6; color: #0b1426; }
@keyframes track { to { transform: translateX(-26px); } }
.heat { position: absolute; width: 38%; height: 50%; top: 30%; inset-inline-start: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(239, 107, 107, .45), rgba(231, 154, 46, .25) 40%, transparent 70%); mix-blend-mode: screen; animation: breathe 4s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.1); opacity: .7; } }
.count-line { position: absolute; inset: 78% 6% auto; height: 2px; background: repeating-linear-gradient(90deg, #f4c27a 0 8px, transparent 8px 14px); }
.count-line span { position: absolute; top: 6px; inset-inline-end: 0; font-size: 11px; color: #f4c27a; }
.vision-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.vision-stats div { padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--scr-line); }
.vision-stats b { display: block; font-size: 24px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.vision-stats small { color: var(--scr-muted); font-size: 12.5px; }
.iot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.iot-cell { position: relative; padding: 16px 14px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--scr-line); display: flex; flex-direction: column; gap: 4px; }
.iot-cell .ic { width: 36px; height: 36px; margin-bottom: 6px; }
.iot-cell .ic::after { inset: 9px; }
.iot-cell small { color: var(--scr-muted); font-size: 12.5px; }
.iot-cell b { font-size: 20px; font-weight: 700; color: #fff; }
.iot-cell em { font-style: normal; font-size: 11.5px; color: #ff9a9a; }
.iot-cell.warn { border-color: rgba(239, 107, 107, .5); box-shadow: inset 0 0 0 1px rgba(239, 107, 107, .25), 0 0 24px -10px rgba(239, 107, 107, .6); animation: alarm 2s ease-in-out infinite; }
@keyframes alarm { 50% { box-shadow: inset 0 0 0 1px rgba(239, 107, 107, .5), 0 0 30px -6px rgba(239, 107, 107, .8); } }
.sw { position: absolute; top: 16px; inset-inline-end: 14px; width: 32px; height: 18px; border-radius: 999px; background: #2a3857; }
.sw::after { content: ""; position: absolute; top: 2px; inset-inline-start: 2px; width: 14px; height: 14px; border-radius: 50%; background: #8190aa; transition: inset-inline-start .3s; }
.sw.on { background: linear-gradient(90deg, var(--blue), var(--green)); }
.sw.on::after { inset-inline-start: 16px; background: #fff; }

.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.checks li::before { content: ""; width: 22px; height: 22px; flex: none; margin-top: 3px; border-radius: 50%; background: rgba(93, 191, 143, .16); border: 1px solid rgba(93, 191, 143, .45); }
.checks li::after { content: ""; position: absolute; inset-inline-start: 5px; top: 8px; width: 12px; height: 12px; background: var(--green-d); -webkit-mask: url(/assets/icons/check.svg) center / contain no-repeat; mask: url(/assets/icons/check.svg) center / contain no-repeat; }

/* الخطوات */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; inset-inline: 16% 16%; height: 2px; background: var(--line-2); }
.steps::after { content: ""; position: absolute; top: 33px; inset-inline-start: 16%; width: 0; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--green), var(--blue)); transition: width 1.8s var(--ease); }
.steps.is-in::after { width: 68%; }
.step { position: relative; text-align: center; padding: 0 12px; }
.step-n { width: 68px; height: 68px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 50%; font-size: 24px; font-weight: 700; color: #fff; position: relative; z-index: 1; background: linear-gradient(140deg, var(--blue), #3d8fb8); box-shadow: 0 0 0 8px var(--bg), 0 14px 30px -12px rgba(77, 103, 176, .8); }
.step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { color: var(--ink-2); font-size: 15.5px; }

/* الحاسبة */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); }
.cost { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cost-copy p { color: var(--ink-2); font-size: 18px; }
.calc { padding: 32px; display: grid; gap: 24px; }
.calc label { display: grid; grid-template-columns: 1fr auto; gap: 10px 14px; align-items: center; font-size: 15px; color: var(--ink-2); }
.calc output { font: 700 18px "Plex", sans-serif; color: var(--ink); font-variant-numeric: tabular-nums; }
.calc input[type=range] { grid-column: 1 / -1; -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: var(--bg-2); outline-offset: 6px; direction: ltr; }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--blue); box-shadow: 0 4px 12px rgba(77, 103, 176, .45); cursor: grab; }
.calc input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--blue); box-shadow: 0 4px 12px rgba(77, 103, 176, .45); cursor: grab; }
.calc-res { border-top: 1px solid var(--line); padding-top: 22px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; }
.calc-res small { width: 100%; color: var(--muted); font-size: 14px; }
.calc-res b { font-size: clamp(38px, 4.5vw, 54px); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; background: linear-gradient(100deg, #e79a2e, #e05555); -webkit-background-clip: text; background-clip: text; color: transparent; }
.calc-res span { color: var(--ink-2); }
.calc-res .vs { color: var(--green-d); font-size: 14.5px; margin-top: 6px; }

/* الحجم والقطاعات */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border-radius: var(--r); overflow: hidden; background: var(--line); border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 34px; }
.stats div { background: var(--surface); padding: 28px 24px; }
.stats b { display: block; font-size: clamp(32px, 3.6vw, 46px); font-weight: 700; line-height: 1.1; background: linear-gradient(100deg, var(--blue), var(--green-d)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats small { color: var(--muted); font-size: 14px; }
.sectors { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.sector { padding: 24px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.sector:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.sector .ic { margin-bottom: 14px; }
.sector h3 { font-size: 17px; margin-bottom: 6px; }
.sector p { font-size: 14px; color: var(--ink-2); }
.logos { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin-top: 40px; }

/* الأمان */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.trust { padding: 28px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.trust .ic { margin-bottom: 16px; }
.trust h3 { font-size: 18.5px; margin-bottom: 8px; }
.trust p { color: var(--ink-2); font-size: 15px; }

/* السعر */
.price-wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 26px; align-items: stretch; }
.price { padding: 40px; position: relative; overflow: hidden; }
.price::before { content: ""; position: absolute; width: 380px; height: 380px; inset-inline-end: -120px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(93, 191, 143, .18), transparent 65%); pointer-events: none; }
.price-line { font-size: 22px; color: var(--ink-2); margin: 6px 0 8px; }
.price-line b { font-size: clamp(58px, 7vw, 84px); line-height: 1; font-weight: 700; color: var(--ink); margin-inline: 6px; letter-spacing: -.02em; }
.price-line span { font-size: 18px; }
.price-note { color: var(--ink-2); margin: 20px 0 28px; }
.price-side { padding: 40px 34px; border-radius: var(--r); border: 1px dashed rgba(77, 103, 176, .35); background: rgba(255, 255, 255, .5); }
.price-side h3 { font-size: 22px; }

/* الأسئلة */
.faq-wrap { max-width: 880px; }
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: rgba(77, 103, 176, .3); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 24px; font-size: 17px; font-weight: 600; display: flex; align-items: center; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; margin-inline-start: auto; width: 11px; height: 11px; border-inline-end: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); transition: transform .3s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { padding: 0 24px 22px; color: var(--ink-2); }

/* النداء — الشريط الداكن الوحيد */
.cta { position: relative; padding: 120px 0; overflow: hidden; text-align: center; background: linear-gradient(160deg, #0f1c38, #0a1426 60%, #0d2a2a); color: var(--scr-ink); }
.cta .aurora { inset: 0; height: 100%; opacity: .9; }
.cta .aurora::before { background: radial-gradient(circle, rgba(77, 103, 176, .5), transparent 65%); }
.cta .aurora::after { background: radial-gradient(circle, rgba(93, 191, 143, .35), transparent 65%); }
.cta-in { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta h2 { font-size: clamp(36px, 5vw, 60px); margin-bottom: 16px; }
.cta .grad { background: linear-gradient(100deg, #7ee0ae, #9fd6ff, #a9bcf0); -webkit-background-clip: text; background-clip: text; }
.cta p { color: var(--scr-ink-2); font-size: 18.5px; max-width: 34em; }
.cta .phone-form { width: 100%; text-align: start; }
.cta .consent { color: var(--scr-muted); }
.cta .consent a { color: #a9bcf0; }
.cta .form-msg.err { color: #ff9a9a; }
.cta .form-msg.ok { color: #7ee0ae; }

/* التذييل */
.foot { border-top: 1px solid var(--line); padding: 40px 0; background: var(--surface); }
.foot-in { display: flex; align-items: center; gap: 24px 36px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 22px; margin-inline-start: auto; }
.foot nav a { color: var(--ink-2); font-size: 15px; }
.foot .muted { width: 100%; font-size: 13.5px; }
.foot .mark { width: 28px; height: 33px; }

/* الظهور عند التمرير */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.bento .reveal:nth-child(2), .steps .reveal:nth-child(2), .trust-grid .reveal:nth-child(3n+2), .sectors .reveal:nth-child(2) { transition-delay: .08s; }
.bento .reveal:nth-child(3), .steps .reveal:nth-child(3), .trust-grid .reveal:nth-child(3n), .sectors .reveal:nth-child(3) { transition-delay: .16s; }
.sectors .reveal:nth-child(4) { transition-delay: .24s; } .sectors .reveal:nth-child(5) { transition-delay: .32s; }

/* صفحة الخصوصية */
.doc { padding: 140px 0 90px; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: clamp(32px, 4vw, 46px); margin-bottom: 12px; }
.doc h2 { font-size: 22px; margin: 38px 0 12px; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-inline-start: 22px; display: grid; gap: 6px; }

/* الشاشات */
@media (max-width: 1080px) {
  .links { display: none; }
  .nav-in .btn { margin-inline-start: auto; }
  .hero-in, .cost, .price-wrap, .split { grid-template-columns: minmax(0, 1fr); }
  .split.rev .split-copy { order: 0; }
  .hero-visual { max-width: 560px; margin-top: 30px; }
  .live-card { transform: none; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { grid-column: span 1; }
  .c-wide { grid-column: span 2; }
  .c-tall { grid-row: span 1; }
  .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sectors { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 108px 0 80px; min-height: auto; }
  .sec { padding: 84px 0; }
  .sec-head { margin-bottom: 36px; }
  .bento, .trust-grid, .feat-grid { grid-template-columns: minmax(0, 1fr); }
  .c-wide { grid-column: span 1; }
  .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .steps::before, .steps::after { display: none; }
  .fc-1 { inset-inline-start: -4px; top: -40px; }
  .fc-2 { inset-inline-end: -4px; bottom: -44px; }
  .phone-field { flex-wrap: wrap; border-radius: 20px; }
  .phone-field input { flex: 1 1 60%; }
  .phone-field .btn { flex: 1 1 100%; }
  .hero-facts { gap: 22px; }
  .price, .price-side, .calc { padding: 26px 22px; }
  .brand-t small { display: none; }
  .foot nav { margin-inline-start: 0; flex-wrap: wrap; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .tabs button { flex: none; }
  .iot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vision-stats b { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal, .js .lc-feed li, .viz-alerts li { opacity: 1; transform: none; }
  .day-svg .bar { transform: none; }
  .hero-net { display: none; }
}

/* ── تطبيق الجوال ── */
.ic-apple { --i: url(/assets/icons/apple.svg); } .ic-android { --i: url(/assets/icons/android.svg); }
.platforms { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.plat { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 12px; border-radius: 16px; background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.plat .ic { width: 38px; height: 38px; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .14); }
.plat .ic::after { inset: 9px; background: #fff; }
.plat small { display: block; font-size: 11.5px; color: #b3bfd6; line-height: 1.2; }
.plat b { font-size: 17px; line-height: 1.2; }
.phone-wrap { position: relative; display: grid; place-items: center; padding: 20px 0; }
.phone-wrap::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(77, 103, 176, .25), rgba(93, 191, 143, .15) 45%, transparent 70%); filter: blur(10px); }
.phone { position: relative; width: 290px; max-width: 80%; aspect-ratio: 9 / 19; border-radius: 44px; padding: 12px; background: linear-gradient(160deg, #1d2a45, #070d1a); box-shadow: 0 0 0 2px #2c3a58, var(--shadow-lg); transform: rotate(-4deg); animation: float 8s ease-in-out infinite; }
.phone-notch { position: absolute; top: 20px; left: 50%; width: 90px; height: 24px; margin-left: -45px; border-radius: 999px; background: #04070e; z-index: 2; }
.phone-screen { height: 100%; border-radius: 34px; overflow: hidden; padding: 54px 14px 14px; background: linear-gradient(180deg, #101c34, #0a1224); color: var(--scr-ink); display: flex; flex-direction: column; gap: 10px; }
.ph-top b { display: block; font-size: 17px; }
.ph-top small { color: var(--scr-muted); font-size: 12px; }
.ph-push { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .08); animation: pushin 6s var(--ease) infinite; }
.ph-push .ic { width: 32px; height: 32px; background: linear-gradient(140deg, rgba(231, 154, 46, .5), rgba(224, 85, 85, .4)); }
.ph-push .ic::after { inset: 8px; background: #fff; }
.ph-push b { display: block; font-size: 13px; }
.ph-push small { color: var(--scr-muted); font-size: 11px; }
@keyframes pushin { 0%, 8% { transform: translateY(-14px); opacity: 0; } 16%, 85% { transform: none; opacity: 1; } 100% { opacity: 0; } }
.ph-live { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: linear-gradient(160deg, #2a3e66, #14223d 60%, #0e182c); }
.ph-live i { position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .1) 50%, transparent 70%); background-size: 250% 100%; animation: sheen 3.5s linear infinite; }
.ph-live span { position: absolute; top: 8px; inset-inline-start: 8px; font-size: 10.5px; padding: 2px 8px; border-radius: 999px; background: rgba(224, 85, 85, .9); color: #fff; }
.ph-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ph-actions > span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; border-radius: 12px; background: rgba(255, 255, 255, .05); font-size: 11px; color: var(--scr-ink-2); }
.ph-actions .ic { width: 30px; height: 30px; }
.ph-actions .ic::after { inset: 7px; }
.ph-row { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; padding: 7px 2px; border-bottom: 1px solid var(--scr-line); }
.ph-row em { font-style: normal; font-size: 11px; padding: 1px 8px; border-radius: 999px; }
.ph-row em.ok { background: rgba(93, 191, 143, .2); color: #7ee0ae; }
.ph-row em.warn { background: rgba(224, 85, 85, .2); color: #ff9a9a; }
.phone-tag { position: absolute; bottom: 0; font-size: 11.5px; color: #a86610; border: 1px solid rgba(231, 154, 46, .4); padding: 2px 10px; border-radius: 999px; background: var(--surface); }
@media (max-width: 720px) { .phone { width: 240px; } }

/* ═══ الوضع الفاتح للشاشات (قرار المالك 17 سبتمبر 2026: «الصور لازالت على الثيم الأسود») ═══
   تُعاد تعريف رموز الشاشات وما كُتب فيها بألوانٍ صريحة — فالتراجع بحذف هذه الكتلة وحدها. */
:root {
  --scr: #ffffff;
  --scr-2: #f3f6fc;
  --scr-ink: #0e1a30;
  --scr-ink-2: #3d4b66;
  --scr-muted: #6b7890;
  --scr-line: rgba(14, 26, 48, .09);
}
.console { background: linear-gradient(165deg, #ffffff, #f2f6fd); border-color: rgba(77, 103, 176, .16); box-shadow: 0 2px 4px rgba(14, 26, 48, .04), 0 40px 80px -34px rgba(30, 50, 110, .3); }
.console .ic { background: linear-gradient(140deg, rgba(77, 103, 176, .14), rgba(93, 191, 143, .16)); border-color: rgba(77, 103, 176, .18); }
.console .ic::after { background: var(--blue-d); }
.lc-head .tag { color: #a86610; border-color: rgba(231, 154, 46, .4); background: rgba(231, 154, 46, .08); }
.day { background: #f7f9fd; }
.day-svg .bar { fill: rgba(77, 103, 176, .22); }
.day-svg .bar.noise { fill: rgba(231, 154, 46, .6); }
.day-svg .sched { stroke: rgba(14, 26, 48, .35); }
.day-svg .scan { fill: var(--green-d); }
.lc-feed li { background: #ffffff; }
.lc-feed .noise::before { background: var(--amber); }
.lc-feed .info::before { background: var(--blue); }
.lc-feed .warn::before { background: var(--red); box-shadow: 0 0 10px rgba(224, 85, 85, .5); }
.lc-feed .noise b { color: #a86610; }
.lc-feed .ok b { color: var(--green-d); }
.lc-feed .info b { color: var(--blue-d); }
.lc-feed .warn b { color: #c03d3d; }
.float-chip { background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* المشهد وجدار العرض — لقطة كاميرا بدرجةٍ فاتحة هادئة */
.viz-wall i { background: linear-gradient(135deg, #dfe7f4, #c9d5ea); }
.viz-wall i::after { background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .6) 50%, transparent 70%); background-size: 250% 100%; }
.scene { background:
  linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(200, 212, 234, .35)),
  repeating-linear-gradient(90deg, rgba(14, 26, 48, .035) 0 2px, transparent 2px 60px),
  linear-gradient(160deg, #e6edf8 0%, #d3deef 55%, #c3d0e6 100%); }
.scene::before { background: linear-gradient(180deg, rgba(160, 178, 210, .25), rgba(130, 150, 190, .35)); }
.box { border-color: var(--green-d); box-shadow: 0 0 16px -4px rgba(46, 138, 95, .5); }
.box em { background: var(--green-d); color: #fff; }
.b3 { border-color: var(--blue); box-shadow: 0 0 16px -4px rgba(77, 103, 176, .5); }
.b3 em { background: var(--blue); color: #fff; }
.heat { mix-blend-mode: multiply; background: radial-gradient(circle, rgba(224, 85, 85, .35), rgba(231, 154, 46, .2) 40%, transparent 70%); }
.count-line { background: repeating-linear-gradient(90deg, var(--amber) 0 8px, transparent 8px 14px); }
.count-line span { color: #a86610; }
.vision-stats div, .iot-cell { background: #ffffff; }
.vision-stats b, .iot-cell b { color: var(--ink); }

/* الجوال */
.phone { background: linear-gradient(160deg, #eef2f9, #d9e1ee); box-shadow: 0 0 0 2px #c7d1e2, var(--shadow-lg); }
.phone-notch { background: #1a2436; }
.phone-screen { background: linear-gradient(180deg, #ffffff, #f2f6fd); }
.ph-push { background: #ffffff; border-color: var(--line); box-shadow: var(--shadow); }
.ph-live { background: linear-gradient(160deg, #dfe7f4, #c9d5ea); }
.ph-live i { background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .6) 50%, transparent 70%); background-size: 250% 100%; }
.ph-actions > span { background: #f3f6fc; }
.ph-row em.ok { background: rgba(93, 191, 143, .16); color: var(--green-d); }
.ph-row em.warn { background: rgba(224, 85, 85, .12); color: #c03d3d; }

/* النداء */
.cta { background: linear-gradient(160deg, #eef3fb, #e6eefa 55%, #e4f3ec); color: var(--ink); }
.cta .aurora::before { background: radial-gradient(circle, rgba(77, 103, 176, .22), transparent 65%); }
.cta .aurora::after { background: radial-gradient(circle, rgba(93, 191, 143, .2), transparent 65%); }
.cta .grad { background: linear-gradient(100deg, var(--blue), var(--green-d)); -webkit-background-clip: text; background-clip: text; }
.cta p { color: var(--ink-2); }
.cta .consent { color: var(--muted); }
.cta .consent a { color: var(--blue); }
.cta .form-msg.err { color: var(--red); }
.cta .form-msg.ok { color: var(--green-d); }

/* ═══ رسالة النموذج — بطاقةٌ واضحة لا سطرٌ باهت («لم يظهر أي تنبيه») ═══ */
.form-msg:empty { display: none; }
.form-msg { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 16px; border-radius: 14px; font-size: 15.5px; font-weight: 600; line-height: 1.5; }
.form-msg::before { content: ""; width: 20px; height: 20px; flex: none; background: currentColor; -webkit-mask: var(--mi) center / contain no-repeat; mask: var(--mi) center / contain no-repeat; }
.form-msg.ok { --mi: url(/assets/icons/check.svg); color: var(--green-d); background: rgba(93, 191, 143, .14); border: 1px solid rgba(46, 138, 95, .3); animation: msgin .45s var(--ease) both; }
.form-msg.err { --mi: url(/assets/icons/alert.svg); color: #c03d3d; background: rgba(224, 85, 85, .09); border: 1px solid rgba(224, 85, 85, .28); animation: msgin .45s var(--ease) both; }
@keyframes msgin { from { opacity: 0; transform: translateY(-6px); } }
.phone-form.is-done .phone-field, .phone-form.is-done .consent { display: none; }

/* ═══ فيديو الواجهة — خلفيةٌ باهتة (طلب المالك 29 سبتمبر 2026) ═══
   جوٌّ لا ادّعاء: باهتٌ خلف الحجاب، والنصّ فوقه بتباينه كاملاً. ولا يعمل على الجوال
   (يوفّر بيانات الزائر) ولا لمن طلب تقليل الحركة — ويبقى مكانه لون الواجهة وحده.
   والوجوه فيه مولَّدة، ويُقال ذلك في سطرٍ صغير أسفل الواجهة. */
.hero-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; filter: saturate(.95) contrast(1.05); pointer-events: none; }
/* الحجاب كثيفٌ خلف النصّ (اليمين) وخفيفٌ على اليسار فيظهر المشهد — والنصّ بتباينه كاملاً */
.hero-veil { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(270deg, rgba(238, 243, 252, .95) 0%, rgba(238, 243, 252, .9) 50%, rgba(238, 243, 252, .4) 64%, rgba(238, 243, 252, .08) 80%, rgba(238, 243, 252, .03) 100%),
              linear-gradient(180deg, rgba(238, 243, 252, 0) 72%, var(--bg) 100%); }
/* بلا بطاقة المثال صارت الواجهة عموداً واحداً على اليمين، ونصف الشاشة الأيسر للمشهد */
.hero-in { grid-template-columns: minmax(0, 620px); }
.hero > .wrap { width: 100%; }  /* الواجهة flex فكان الغلاف يضيق على محتواه ويتوسّط */
.hero .aurora { opacity: .35; }
.day-sec { padding-top: 110px; }
/* حين يمتدّ النصّ على العرض كله لا يبقى نصفٌ فارغ للمشهد — فيتوحّد الحجاب ويبقى المشهد جوّاً */
@media (max-width: 1100px) {
  .hero-film { opacity: .45; }
  .hero-veil { background: linear-gradient(180deg, rgba(238, 243, 252, .84) 0%, rgba(238, 243, 252, .88) 70%, var(--bg) 100%); }
}
.hero-film-note { position: absolute; inset-inline-end: 24px; inset-block-end: 14px; margin: 0; font-size: 11.5px; color: var(--muted); opacity: .8; }
/* الجوال: نسخةٌ رأسية مقصوصة من الوسط (‏0.7 ميغابايت) تُختار بـ<source media> — والنصّ يملأ العرض فالحجاب أكثف */
@media (max-width: 700px) {
  .hero-film { opacity: .5; }
  .hero-veil { background: linear-gradient(180deg, rgba(238, 243, 252, .80) 0%, rgba(238, 243, 252, .86) 75%, var(--bg) 100%); }
  .hero-film-note { inset-inline-end: 16px; inset-block-end: 10px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-film, .hero-film-note { display: none; }
}
/* لقطة غرفة المراقبة من آخر المقطع — تُشغَّل مرةً حين تظهر وتقف على شعار مكين (وهو صورتها قبل التشغيل) */
.viz-room { position: relative; margin: 24px 0 0; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; background: #0c1629; box-shadow: inset 0 0 0 1px rgba(77, 103, 176, .18); }
.room-film { display: block; width: 100%; height: 100%; object-fit: cover; }
.viz-room figcaption { position: absolute; inset-inline-end: 10px; inset-block-end: 8px; font-size: 11px; color: rgba(255, 255, 255, .78); background: rgba(8, 16, 30, .45); padding: 2px 8px; border-radius: 6px; }
