/* موقع غيث — «غيث» المطر الذي يُحيي. ليلٌ أزرق عميق تهطل فيه قطرات الضوء، ونهارٌ صافٍ تتجلّى فيه المنصة.
   الألوان: ليل #061629، سماء الفجر #59c2ff، أخضر الحياة #00b140 / #4ee08a، رمل نجدي #e7d6b0 للزخرفة فقط.
   الخطوط: Readex Pro للعناوين (Alexandria يُسقط نقطتي الياء المتطرفة)، Tajawal للنص، Inter للأرقام اللاتينية. */
:root {
  --night: #061629;
  --night-2: #0a2240;
  --night-3: #10305a;
  --day: #f3f7fb;
  --paper: #ffffff;
  --ink: #0d1f35;
  --ink-2: #41546d;
  --ink-3: #6a7b91;
  --line: #dae4ee;
  --line-2: #e8eef5;
  --blue: #0984e3;
  --blue-deep: #0666b8;
  --sky: #59c2ff;
  --green: #00b140;
  --green-deep: #008a32;
  --leaf: #4ee08a;
  --sand: #e7d6b0;
  --on-night: #e9f2fb;
  --on-night-2: #a9bdd4;
  --on-night-3: #7891ad;
  --glass: rgba(255, 255, 255, .06);
  --glass-line: rgba(255, 255, 255, .12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-shot: 0 1px 2px rgba(13, 31, 53, .06), 0 30px 60px -30px rgba(13, 31, 53, .45);
  --shadow-float: 0 18px 40px -14px rgba(0, 10, 30, .55), 0 0 0 1px rgba(255, 255, 255, .08) inset;
  --wrap: 1240px;
  --disp: "Readex Pro", "Tajawal", system-ui, sans-serif;
  --ar: "Tajawal", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --lat: "Inter", "Tajawal", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --najdi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='48' viewBox='0 0 56 48'%3E%3Cg fill='none' stroke='%23e7d6b0' stroke-width='1'%3E%3Cpath d='M0 24 14 0l14 24L42 0l14 24M0 24l14 24 14-24 14 24 14-24'/%3E%3Cpath d='M14 12 21 24 14 36 7 24Z M42 12 49 24 42 36 35 24Z'/%3E%3C/g%3E%3C/svg%3E");
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--day); color: var(--ink);
  font-family: var(--ar); font-size: 17px; line-height: 1.85; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.3; letter-spacing: 0; text-wrap: balance; }
h1, h2 { font-family: var(--disp); }
.num, .lat { font-family: var(--lat); font-feature-settings: "tnum" 1; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { inset-inline-start: 8px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--sky) 70%, transparent); outline-offset: 3px; border-radius: 8px; }
.ic { flex: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--disp); font-weight: 600; font-size: 14px; letter-spacing: .02em; color: var(--blue-deep); }
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--green), var(--blue)); }
.night .eyebrow { color: var(--sky); }
.grad, .grad-day { padding-bottom: .14em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.grad { background: linear-gradient(100deg, var(--sky) 0%, #8fe3ff 40%, var(--leaf) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-day { background: linear-gradient(100deg, var(--blue) 0%, #0aa6d6 50%, var(--green) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── الأزرار ── */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px;
  padding: 0 26px; border-radius: 14px; font-weight: 700; font-size: 16.5px; line-height: 1; white-space: nowrap;
  border: 1.5px solid transparent; transition: background .2s, border-color .2s, color .2s, box-shadow .25s, transform .25s var(--ease);
  will-change: transform;
}
.btn.primary { background: linear-gradient(180deg, #13c552, var(--green)); color: #fff; box-shadow: 0 10px 30px -10px rgba(0, 177, 64, .65), inset 0 1px 0 rgba(255,255,255,.25); }
.btn.primary:hover { box-shadow: 0 16px 40px -10px rgba(0, 177, 64, .8), inset 0 1px 0 rgba(255,255,255,.25); }
.btn.blue { background: var(--blue); color: #fff; }
.btn.blue:hover { background: var(--blue-deep); }
.btn.ghost { border-color: var(--line); background: var(--paper); color: var(--ink); }
.btn.ghost:hover { border-color: var(--blue); color: var(--blue-deep); }
.night .btn.ghost, .btn.ghost.on-night { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.22); backdrop-filter: blur(8px); }
.night .btn.ghost:hover, .btn.ghost.on-night:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.1); }
.btn.small { min-height: 42px; padding: 0 18px; font-size: 15px; border-radius: 11px; }
.link { color: var(--blue-deep); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.link .ic { transition: transform .25s var(--ease); }
.link:hover .ic { transform: translateX(-4px); }
.night .link { color: var(--sky); }

/* ── الترويسة ── */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; transition: background .3s, border-color .3s, color .3s; border-bottom: 1px solid transparent; }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 76px; }
.nav.over-night { color: var(--on-night); }
.nav.over-night .nav-links a { color: var(--on-night-2); }
.nav.over-night .nav-links a:hover, .nav.over-night .nav-links a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.08); }
.nav.over-night .btn.ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.22); }
.nav.over-night .menu-btn { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); color: #fff; }
.nav.scrolled { background: color-mix(in srgb, var(--day) 82%, transparent); backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px); border-bottom-color: var(--line); color: var(--ink); }
.nav.scrolled.over-night { background: color-mix(in srgb, var(--night) 72%, transparent); border-bottom-color: rgba(255,255,255,.08); color: var(--on-night); }
.brand { display: flex; align-items: center; color: var(--ink); flex-shrink: 0; }
.brand svg.logo-h { height: 50px; width: auto; display: block; }
.nav.over-night .brand { color: #fff; }
@media (max-width: 600px) { .brand svg.logo-h { height: 42px; } }
.nav-links { display: flex; gap: 2px; margin-inline-start: 6px; }
.nav-links a { padding: 8px 13px; border-radius: 10px; font-size: 15.5px; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: rgba(9, 132, 227, .08); }
.nav-cta { display: flex; gap: 10px; margin-inline-start: auto; }
.menu-btn { display: none; margin-inline-start: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.sheet { display: none; }
@media (max-width: 1060px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .sheet { display: block; position: fixed; inset: 76px 0 auto 0; background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line); padding: 12px 16px 20px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-height: calc(100dvh - 76px); overflow: auto; }
  .sheet.open { opacity: 1; transform: none; pointer-events: auto; }
  .sheet a:not(.btn) { display: block; padding: 13px 6px; border-bottom: 1px solid var(--line-2); font-weight: 500; }
  .sheet .btns { display: grid; gap: 10px; margin-top: 16px; }
}
body.has-night-top .nav { margin-bottom: -76px; }

/* ── الليل (الأقسام الداكنة) ── */
.night { background: var(--night); color: var(--on-night); position: relative; isolation: isolate; }
.night p { color: var(--on-night-2); }
.night .najdi, .najdi-bg::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .07;
  background-image: var(--najdi); background-size: 56px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 100%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 100%, #000 0%, transparent 70%);
}

/* ═══ البطل ═══ */
.hero { padding: 148px 0 0; overflow: hidden; min-height: 0; }
.hero::before { /* توهّج الفجر */
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60% 55% at 78% 8%, rgba(89, 194, 255, .22), transparent 70%),
    radial-gradient(50% 50% at 18% 70%, rgba(0, 177, 64, .16), transparent 70%),
    radial-gradient(80% 60% at 50% 110%, rgba(9, 132, 227, .35), transparent 70%),
    linear-gradient(180deg, #04101f 0%, var(--night) 45%, #082140 100%);
}
/* توهّج هادئ بدل المطر: ثلاث بقع ضوء تنساب ببطء شديد، وخط أفق خافت */
.glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.glow::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(125, 211, 252, .35), transparent); }
.glow i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; will-change: transform; }
.glow i:nth-child(1) { width: 46vw; height: 46vw; max-width: 720px; max-height: 720px; inset-inline-end: -10vw; top: -16vw; background: radial-gradient(circle, rgba(56, 170, 255, .55), transparent 65%); animation: drift1 26s ease-in-out infinite alternate; }
.glow i:nth-child(2) { width: 34vw; height: 34vw; max-width: 540px; max-height: 540px; inset-inline-start: -8vw; top: 38%; background: radial-gradient(circle, rgba(0, 177, 64, .4), transparent 65%); animation: drift2 32s ease-in-out infinite alternate; }
.glow i:nth-child(3) { width: 30vw; height: 30vw; max-width: 460px; max-height: 460px; inset-inline-start: 38%; bottom: -14vw; background: radial-gradient(circle, rgba(9, 132, 227, .5), transparent 65%); animation: drift1 38s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate3d(-6vw, 4vw, 0) scale(1.08); } }
@keyframes drift2 { to { transform: translate3d(5vw, -3vw, 0) scale(.94); } }
@media (prefers-reduced-motion: reduce) { .glow i { animation: none; } }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr); gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(40px, 4.7vw, 70px); line-height: 1.12; font-weight: 800; color: #fff; margin-top: 18px; }
.hero h1 .line { display: block; }
.hero .lede { font-size: clamp(17px, 1.45vw, 20px); color: var(--on-night-2); margin: 26px 0 34px; max-width: 32em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .assure { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: var(--on-night-2); font-size: 14.5px; }
.hero .assure span { display: inline-flex; align-items: center; gap: 7px; }
.hero .assure .ic { color: var(--leaf); }
.hero-stage { position: relative; perspective: 1800px; height: 640px; margin-inline-end: -8%; }
.hero-stage .device { position: absolute; inset: 40px 0 auto 0; transform: rotateY(-16deg) rotateX(8deg) rotateZ(-1deg); transform-style: preserve-3d; transition: transform .6s var(--ease); }
.hero-stage .device .browser { box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255,255,255,.08); border: 0; }
.hero-stage .device::after { /* انعكاس الماء */
  content: ""; position: absolute; inset: 100% 6% auto; height: 120px; margin-top: 14px;
  background: radial-gradient(60% 100% at 50% 0%, rgba(89,194,255,.28), transparent 70%); filter: blur(18px);
}
.frag { position: absolute; z-index: 2; will-change: transform; transition: transform .25s linear; }
.frag > div { border-radius: 16px; box-shadow: var(--shadow-float); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.glass { background: rgba(10, 34, 64, .72); border: 1px solid var(--glass-line); color: var(--on-night); }
.glass-light { background: rgba(255, 255, 255, .92); color: var(--ink); border: 1px solid rgba(255,255,255,.6); }
/* بطاقة البركة */
.f-card { inset-inline-start: -4%; top: 6px; width: 250px; }
.f-card > div { aspect-ratio: 1.58; padding: 16px 18px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; position: relative;
  background: radial-gradient(120% 140% at 0% 0%, #2bd27a 0%, #0a9a8a 40%, #0866b8 100%); }
.f-card > div::before { content: ""; position: absolute; inset: 0; background-image: var(--najdi); background-size: 40px 34px; opacity: .14; }
.f-card > div::after { content: ""; position: absolute; inset: -40% -60%; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.35) 50%, transparent 60%); animation: sheen 5.5s ease-in-out infinite; }
@keyframes sheen { 0%, 60% { transform: translateX(60%); } 100% { transform: translateX(-60%); } }
.f-card .top { display: flex; justify-content: space-between; align-items: center; position: relative; font-weight: 700; font-size: 14px; }
.f-card .chip { width: 34px; height: 26px; border-radius: 6px; background: linear-gradient(135deg, #f8e3a3, #c9a650); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.f-card .pan { position: relative; font: 600 17px/1 var(--lat); letter-spacing: .12em; direction: ltr; text-align: left; }
.f-card .bot { position: relative; display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; }
.f-card .op { background: rgba(255,255,255,.2); border-radius: 999px; padding: 3px 10px; font-weight: 700; }
/* مسار الاعتماد */
.f-chain { inset-inline-end: 4%; top: -8px; width: 270px; }
.f-chain > div { padding: 14px 16px; }
.f-chain h5 { margin: 0 0 10px; font-size: 13px; font-weight: 700; color: var(--on-night-2); display: flex; justify-content: space-between; }
.f-chain h5 b { color: #fff; font-family: var(--lat); font-weight: 600; }
.f-chain ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.f-chain li { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; font-size: 13.5px; }
.f-chain .av { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; background: rgba(255,255,255,.1); color: var(--on-night-2); transition: background .4s, color .4s; }
.f-chain .st { font-size: 11.5px; color: var(--on-night-3); transition: color .4s; }
.f-chain li.done .av { background: var(--green); color: #fff; }
.f-chain li.done .st { color: var(--leaf); }
.f-chain .stamp { position: absolute; inset-inline-start: 14px; bottom: -14px; transform: rotate(-12deg) scale(.6); opacity: 0; font-family: var(--disp); font-weight: 800; font-size: 13px; color: var(--leaf); border: 2px solid var(--leaf); border-radius: 8px; padding: 2px 10px; background: rgba(6, 22, 41, .9); transition: opacity .3s, transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.f-chain.sealed .stamp { opacity: 1; transform: rotate(-12deg) scale(1); }
/* سطر ملف البنك */
.f-bank { inset-inline-start: 10%; bottom: -6px; width: 330px; }
.f-bank > div { padding: 12px 14px; }
.f-bank .h { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--on-night-2); margin-bottom: 8px; }
.f-bank .h b { color: #fff; font-weight: 700; }
.f-bank pre { margin: 0; font: 500 11.5px/1.75 ui-monospace, "SF Mono", Menlo, monospace; color: #9fe8ff; direction: ltr; text-align: left; white-space: pre; overflow: hidden; min-height: 60px; }
.f-bank pre .cur { display: inline-block; width: 7px; height: 13px; background: var(--leaf); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
/* البصمة */
.f-finger { inset-inline-end: -4%; bottom: 250px; }
.f-finger > div { padding: 12px 16px 12px 12px; display: flex; align-items: center; gap: 12px; }
.f-finger .fp { position: relative; width: 44px; height: 44px; border-radius: 50%; background: rgba(78, 224, 138, .14); color: var(--leaf); display: grid; place-items: center; }
.f-finger .fp::before, .f-finger .fp::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--leaf); animation: ring 2.4s ease-out infinite; }
.f-finger .fp::after { animation-delay: 1.2s; }
@keyframes ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.9); opacity: 0; } }
.f-finger b { display: block; font-size: 14.5px; color: #fff; }
.f-finger span { font-size: 12.5px; color: var(--on-night-2); }
/* التاريخ المزدوج */
.f-date { inset-inline-end: 0%; bottom: 96px; }
.f-date > div { padding: 10px 16px; display: grid; gap: 2px; text-align: center; }
.f-date .h { font-family: var(--disp); font-weight: 700; font-size: 15px; }
.f-date .g { font-size: 12.5px; color: var(--ink-3); }
/* الرسالة القصيرة */
.f-sms { inset-inline-start: -6%; bottom: 150px; width: 236px; }
.f-sms > div { padding: 10px 14px; border-end-start-radius: 4px; font-size: 13px; line-height: 1.65; }
.f-sms small { display: block; color: var(--ink-3); font-size: 11px; margin-bottom: 2px; }
.hero-tide { height: 120px; margin-top: -60px; position: relative; z-index: 1; background: linear-gradient(180deg, transparent, var(--night) 70%); }
@media (max-width: 1060px) {
  .hero { padding-top: 120px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 20px; }
  .hero-stage { height: 520px; margin-inline-end: 0; }
  .hero-stage .device { transform: rotateY(-8deg) rotateX(6deg); inset-inline: 6%; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .hero-stage { height: 380px; }
  .hero-stage .device { inset: 70px 0 auto 0; transform: rotateX(8deg); }
  .f-card { width: 168px; top: 10px; inset-inline-start: 0; }
  .f-card .pan { font-size: 12px; } .f-card .chip { width: 24px; height: 18px; } .f-card .top, .f-card .bot { font-size: 11px; }
  .f-chain { width: 200px; top: 0; inset-inline-end: 0; } .f-chain li:nth-child(3) { display: none; } .f-chain li { font-size: 12px; } .f-chain h5 b { display: none; }
  .f-bank, .f-sms { display: none; }
  .f-finger { bottom: 26px; inset-inline-end: 0; } .f-finger .fp { width: 36px; height: 36px; }
  .f-date { bottom: 0; inset-inline-end: auto; inset-inline-start: 4%; } .f-date > div { padding: 7px 12px; } .f-date .h { font-size: 12.5px; } .f-date .g { font-size: 11px; }
  .f-finger > div { padding: 8px 12px 8px 8px; } .f-finger b { font-size: 12.5px; } .f-finger span { font-size: 11px; }
}

/* ── إطارات اللقطات ── */
.browser { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-shot); border: 1px solid var(--line); overflow: hidden; }
.browser .bar { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px; background: #eef3f9; border-bottom: 1px solid var(--line); direction: ltr; }
.browser .dots { display: flex; gap: 6px; }
.browser .dots i { width: 9px; height: 9px; border-radius: 50%; background: #d1dae6; display: block; }
.browser .dots i:nth-child(1) { background: #ff6b5e; } .browser .dots i:nth-child(2) { background: #ffc23d; } .browser .dots i:nth-child(3) { background: #2ccf54; }
.browser .url { flex: 1; max-width: 360px; margin-inline: auto; height: 20px; border-radius: 6px; background: #fff; border: 1px solid var(--line); font: 500 11px/18px var(--lat); color: var(--ink-3); text-align: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding: 0 8px; }
.browser img { width: 100%; }
.phone { border-radius: 34px; padding: 8px; background: linear-gradient(160deg, #1d2b44, #0b1424); box-shadow: 0 40px 70px -30px rgba(0, 10, 30, .7), inset 0 0 0 1px rgba(255,255,255,.08); }
.phone img { border-radius: 27px; width: 100%; }
.crop { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 2px rgba(13,31,53,.05), 0 16px 36px -22px rgba(13,31,53,.35); }
figure { margin: 0; }
figcaption { font-size: 14px; color: var(--ink-3); margin-top: 10px; }

/* ═══ الأرقام ═══ */
.stats-band { padding: 40px 0 120px; }
.stats-band ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stats-band li { position: relative; padding: 28px 26px 10px; }
.stats-band li + li::before { content: ""; position: absolute; inset-inline-start: 0; top: 20%; bottom: 10%; width: 1px; background: linear-gradient(180deg, transparent, rgba(255,255,255,.18), transparent); }
.stats-band b { display: block; font-family: var(--disp); font-weight: 800; font-size: clamp(40px, 4.8vw, 70px); line-height: 1.05; }
.stats-band span { display: block; font-weight: 700; font-size: 18px; color: #fff; margin-top: 10px; }
.stats-band small { display: block; color: var(--on-night-3); font-size: 14.5px; line-height: 1.6; }
@media (max-width: 860px) { .stats-band ul { grid-template-columns: 1fr 1fr; gap: 10px 0; } .stats-band li:nth-child(3)::before { display: none; } }
@media (max-width: 640px) { .stats-band b { font-size: 34px; } .stats-band span { font-size: 16px; } .stats-band li { padding: 22px 14px 6px; } .stats-band { padding-bottom: 90px; } }

/* ═══ عناوين الأقسام ═══ */
.section { padding: 120px 0; position: relative; }
.section.tight { padding: 72px 0; }
.section.white { background: var(--paper); }
.head { max-width: 780px; margin-bottom: 56px; }
.head h2 { font-size: clamp(32px, 3.8vw, 54px); line-height: 1.18; margin-top: 14px; }
.head p { color: var(--ink-2); font-size: 18.5px; margin-top: 18px; }
.night .head p { color: var(--on-night-2); }
.head.center { margin-inline: auto; text-align: center; }
.head.center .eyebrow { justify-content: center; }

/* ═══ خريطة الترابط ═══ */
.mapsec { padding: 100px 0 130px; overflow: hidden; background: radial-gradient(70% 50% at 50% 35%, rgba(13,44,82,.9), transparent 70%), linear-gradient(180deg, #082140 0%, var(--night) 35%); }
.map-flows { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.map-flows button { font: inherit; font-weight: 700; font-size: 15px; color: var(--on-night-2); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 9px 18px; cursor: pointer; transition: all .25s; display: inline-flex; gap: 8px; align-items: center; }
.map-flows button .ic { opacity: .7; }
.map-flows button:hover { color: #fff; border-color: rgba(255,255,255,.3); }
.map-flows button[aria-pressed="true"] { color: var(--night); background: linear-gradient(100deg, var(--sky), var(--leaf)); border-color: transparent; }
.map-flows button[aria-pressed="true"] .ic { opacity: 1; }
.map-shell { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: stretch; }
.map { position: relative; aspect-ratio: 16 / 10.4; border-radius: var(--radius-xl); background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.08); overflow: hidden; }
.map::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1.2px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%); }
.map > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.map .edge { fill: none; stroke: rgba(150, 200, 245, .3); stroke-width: 1.5; transition: stroke .35s, stroke-width .35s, opacity .35s; }
.map .edge.hot { stroke: var(--sky); stroke-width: 2.4; filter: drop-shadow(0 0 6px rgba(89,194,255,.8)); }
.map .edge.step { stroke: url(#flowgrad); stroke-width: 3; filter: drop-shadow(0 0 8px rgba(78,224,138,.8)); }
.map.focus .edge:not(.hot):not(.step) { opacity: .45; }
.map .spark { fill: #c9f0ff; filter: drop-shadow(0 0 3px #59c2ff); }
.map .spark.big { fill: #fff; filter: drop-shadow(0 0 8px #8fe3ff) drop-shadow(0 0 16px var(--leaf)); }
.node { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 8px; padding: 7px 12px 7px 9px; border-radius: 14px; background: rgba(10, 30, 56, .88); border: 1px solid rgba(255,255,255,.12); color: var(--on-night); font: inherit; font-size: 13.5px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: transform .35s var(--ease), border-color .3s, background .3s, opacity .3s, box-shadow .3s; z-index: 2; backdrop-filter: blur(6px); }
.node .ni { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 30%, transparent); color: color-mix(in srgb, var(--c) 40%, #fff); flex: none; }
.node:hover, .node.sel { border-color: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 25%, transparent), 0 10px 30px -10px color-mix(in srgb, var(--c) 70%, transparent); }
.node.sel { transform: translate(-50%, -50%) scale(1.08); background: color-mix(in srgb, var(--c) 30%, #0a1e38); }
.node.near { border-color: color-mix(in srgb, var(--c) 60%, transparent); }
.node.lit { border-color: var(--leaf); box-shadow: 0 0 0 4px rgba(78,224,138,.22), 0 0 30px -4px rgba(78,224,138,.7); }
.map.focus .node:not(.sel):not(.near):not(.lit) { opacity: .4; }
.map-side { border-radius: var(--radius-xl); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); padding: 24px; display: flex; flex-direction: column; gap: 14px; min-height: 0; }
.map-side .tag { font-size: 13px; font-weight: 700; color: var(--sky); }
.map-side h3 { font-family: var(--disp); font-size: 22px; color: #fff; }
.map-side p { margin: 0; font-size: 15px; }
.map-side .lists { display: grid; gap: 12px; }
.map-side .lists h4 { font-size: 13px; color: var(--on-night-3); font-weight: 700; margin-bottom: 4px; }
.map-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.map-side li { font-size: 14px; color: var(--on-night-2); display: grid; grid-template-columns: 18px 1fr; gap: 6px; line-height: 1.6; }
.map-side li b { color: #fff; font-weight: 700; }
.map-side li .ic { margin-top: 4px; color: var(--leaf); }
.map-side ol.fsteps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; counter-reset: fs; }
.map-side ol.fsteps li { counter-increment: fs; grid-template-columns: 26px 1fr; padding: 7px 8px; border-radius: 10px; transition: background .3s, color .3s; color: var(--on-night-3); }
.map-side ol.fsteps li::before { content: counter(fs, arabic-indic); width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; font-size: 12px; font-weight: 700; margin-top: 2px; }
.map-side ol.fsteps li.on { background: rgba(78,224,138,.12); color: #fff; }
.map-side ol.fsteps li.on::before { background: var(--leaf); border-color: var(--leaf); color: var(--night); }
.map-side ol.fsteps li.past { color: var(--on-night-2); }
.map-side ol.fsteps li.past::before { border-color: var(--leaf); color: var(--leaf); }
.map-hint { font-size: 13px; color: var(--on-night-3); margin-top: auto; display: flex; gap: 6px; align-items: center; }
.map-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: 13.5px; color: var(--on-night-3); }
.map-legend span { display: inline-flex; align-items: center; gap: 7px; }
.map-legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
@media (max-width: 1060px) { .map-shell { grid-template-columns: 1fr; } .map-side { min-height: 0; } }
@media (max-width: 700px) {
  .map { aspect-ratio: 10 / 15.5; }
  .node { font-size: 11px; padding: 5px 8px 5px 6px; gap: 5px; border-radius: 11px; white-space: normal; max-width: 108px; line-height: 1.35; text-align: start; }
  .node .ni { width: 20px; height: 20px; border-radius: 6px; } .node .ni .ic { width: 13px; height: 13px; }
  .map-flows { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .map-flows button { flex: none; font-size: 14px; }
}

/* ═══ رحلة ريال واحد (سرد بالتمرير) ═══ */
.story { background: var(--paper); position: relative; z-index: 2; border-radius: 48px 48px 0 0; margin-top: -48px; box-shadow: 0 -30px 60px -30px rgba(89,194,255,.35); }
.story-pin { position: relative; }
.story-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.story-steps { list-style: none; margin: 0; padding: 0 0 0; position: relative; display: grid; gap: 6px; }
.story-steps::before { content: ""; position: absolute; inset-inline-start: 23px; top: 24px; bottom: 24px; width: 2px; background: var(--line); }
.story-steps .rail { position: absolute; inset-inline-start: 23px; top: 24px; width: 2px; height: 0; background: linear-gradient(180deg, var(--green), var(--blue)); transition: height .5s var(--ease); }
.story-steps .bead { position: absolute; inset-inline-start: 16px; top: 17px; width: 16px; height: 16px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: radial-gradient(circle at 40% 40%, #bff0ff, var(--blue)); box-shadow: 0 0 0 6px rgba(9,132,227,.15), 0 0 20px rgba(9,132,227,.6); transition: top .5s var(--ease); z-index: 1; }
.story-steps li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 14px 12px 14px 0; border-radius: 16px; cursor: pointer; transition: background .3s; }
.story-steps .sd { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 2px solid var(--line); color: var(--ink-3); position: relative; z-index: 2; transition: all .35s; }
.story-steps h3 { font-size: 20px; color: var(--ink-3); transition: color .3s; margin-top: 2px; }
.story-steps p { margin: 2px 0 0; font-size: 15.5px; color: var(--ink-3); line-height: 1.7; transition: color .3s; }
.story-steps li.on .sd { border-color: var(--blue); color: #fff; background: var(--blue); box-shadow: 0 8px 24px -8px rgba(9,132,227,.7); }
.story-steps li.on h3 { color: var(--ink); } .story-steps li.on p { color: var(--ink-2); }
.story-steps li.past .sd { border-color: var(--green); color: var(--green); }
.story-steps li.past h3 { color: var(--ink-2); }
.story-stage { position: relative; height: 520px; border-radius: var(--radius-xl); background: radial-gradient(90% 90% at 70% 10%, #e8f4ff, #f6fafd 60%); border: 1px solid var(--line); overflow: hidden; }
.story-stage::before { content: ""; position: absolute; inset: 0; background-image: var(--najdi); background-size: 56px 48px; opacity: .25; filter: hue-rotate(180deg) saturate(.4); -webkit-mask-image: linear-gradient(180deg, #000, transparent 60%); mask-image: linear-gradient(180deg, #000, transparent 60%); }
.scene { position: absolute; inset: 0; display: grid; place-items: center; padding: 34px; opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .5s var(--ease), transform .6s var(--ease); pointer-events: none; }
.scene.on { opacity: 1; transform: none; }
.sc-card { width: min(440px, 100%); background: var(--paper); border-radius: 20px; box-shadow: 0 30px 70px -30px rgba(13,31,53,.4), 0 0 0 1px var(--line); padding: 22px; display: grid; gap: 12px; }
.sc-card .t { display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.sc-card .t small { color: var(--ink-3); font-weight: 500; font-size: 13px; }
.sc-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; padding: 9px 12px; border-radius: 10px; background: var(--day); }
.sc-row span { color: var(--ink-3); }
.sc-row b { font-weight: 700; }
.sc-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 3px 10px; }
.sc-pill.g { background: #e1f7e9; color: var(--green-deep); } .sc-pill.b { background: #e3f1fc; color: var(--blue-deep); } .sc-pill.a { background: #fdf2dc; color: #9a6410; }
.scene.on .grow { animation: grow 1.2s var(--ease) .2s both; }
@keyframes grow { from { width: 0; } }
.gauge { height: 10px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.gauge i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green), var(--blue)); }
.sc-chain { display: grid; gap: 10px; }
.sc-chain div { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; font-size: 14.5px; }
.sc-chain .av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--day); font-weight: 800; font-size: 13px; color: var(--ink-3); }
.scene.on .sc-chain div .av { animation: lit .4s var(--ease) both; }
.scene.on .sc-chain div:nth-child(1) .av { animation-delay: .2s; } .scene.on .sc-chain div:nth-child(2) .av { animation-delay: .7s; } .scene.on .sc-chain div:nth-child(3) .av { animation-delay: 1.2s; }
@keyframes lit { to { background: var(--green); color: #fff; } }
.sc-stamp { justify-self: start; font-family: var(--disp); font-weight: 800; color: var(--green-deep); border: 2.5px solid var(--green); border-radius: 10px; padding: 4px 14px; transform: rotate(-8deg); opacity: 0; }
.scene.on .sc-stamp { animation: stamp .5s cubic-bezier(.3, 1.6, .5, 1) 1.6s both; }
@keyframes stamp { from { opacity: 0; transform: rotate(-8deg) scale(1.8); } to { opacity: 1; transform: rotate(-8deg) scale(1); } }
.sc-code { font: 500 12px/1.8 ui-monospace, "SF Mono", Menlo, monospace; background: #0b1e36; color: #a6e9ff; border-radius: 12px; padding: 14px; direction: ltr; text-align: left; white-space: pre; overflow: hidden; }
.sc-code em { font-style: normal; color: var(--leaf); }
.scene.on .sc-code .ln { animation: type .5s steps(30) both; display: block; overflow: hidden; white-space: pre; }
.scene.on .sc-code .ln:nth-child(2) { animation-delay: .45s; } .scene.on .sc-code .ln:nth-child(3) { animation-delay: .9s; } .scene.on .sc-code .ln:nth-child(4) { animation-delay: 1.35s; }
@keyframes type { from { max-width: 0; } to { max-width: 100%; } }
.sc-je { display: grid; gap: 8px; }
.sc-je div { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; font-size: 14px; padding: 9px 12px; border-radius: 10px; background: var(--day); align-items: center; }
.sc-je .dr { color: var(--blue-deep); } .sc-je .cr { color: var(--green-deep); }
.sc-bal { display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--green-deep); }
.sc-bars { display: flex; align-items: flex-end; gap: 10px; height: 150px; padding: 0 6px; border-bottom: 1px solid var(--line); }
.sc-bars i { flex: 1; border-radius: 8px 8px 0 0; background: linear-gradient(180deg, var(--sky), var(--blue)); height: var(--h); transform-origin: bottom; }
.sc-bars i:nth-child(even) { background: linear-gradient(180deg, var(--leaf), var(--green)); }
.scene.on .sc-bars i { animation: rise .8s var(--ease) both; }
.scene.on .sc-bars i:nth-child(2) { animation-delay: .1s; } .scene.on .sc-bars i:nth-child(3) { animation-delay: .2s; } .scene.on .sc-bars i:nth-child(4) { animation-delay: .3s; } .scene.on .sc-bars i:nth-child(5) { animation-delay: .4s; } .scene.on .sc-bars i:nth-child(6) { animation-delay: .5s; }
@keyframes rise { from { transform: scaleY(0); } }
.sc-note { font-size: 12.5px; color: var(--ink-3); }
.story .story-mobile { display: none; }
@media (min-width: 961px) and (prefers-reduced-motion: no-preference) {
  .story-pin.pinned { height: 420vh; }
  .story-pin.pinned .story-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; padding-top: 70px; }
}
@media (max-width: 960px) {
  .story-grid { grid-template-columns: 1fr; gap: 28px; }
  .story-stage { height: 440px; }
}

/* ═══ الأنظمة الستة (بينتو حيّ) ═══ */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(0, auto); gap: 18px; }
.tile { position: relative; grid-column: span 2; border-radius: var(--radius-xl); background: var(--paper); border: 1px solid var(--line); padding: 26px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; min-height: 340px; }
.tile:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--c) 55%, transparent); border-color: color-mix(in srgb, var(--c) 40%, var(--line)); }
.tile.wide, .tile[data-span="4"] { grid-column: span 4; }
.tile::after { content: ""; position: absolute; inset: auto -20% -50% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 18%, transparent), transparent 70%); pointer-events: none; }
.tile .tk { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; color: var(--c); font-size: 15px; }
.tile .tk .sq { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--c); }
.tile h3 { font-family: var(--disp); font-size: 24px; line-height: 1.3; }
.tile p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.75; }
.tile .demo { margin-top: auto; padding-top: 12px; position: relative; z-index: 1; }
.tile.tile-dark { background: linear-gradient(160deg, #0f2138, #13304f); border-color: transparent; color: #fff; }
.tile.tile-dark .tk { color: #8fc8f5; }
.tile.tile-dark h3 { color: #fff; }
.tile.tile-dark p { color: #b9c9dc; max-width: 62ch; }
.tile.tile-dark .go { border-color: rgba(255,255,255,.2); color: #b9c9dc; }
.d-audit { display: grid; gap: 8px; }
.d-audit div { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); font-size: 14px; }
.d-audit b { color: #7ee2a8; font-weight: 700; white-space: nowrap; }
.d-audit span { color: #e6edf5; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.d-audit i { font-style: normal; color: #8da2bb; font-size: 12.5px; white-space: nowrap; }
@media (max-width: 680px) { .d-audit div { grid-template-columns: 1fr; gap: 2px; } }
.tile .go { position: absolute; inset-inline-end: 22px; top: 24px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink-3); transition: all .3s; }
.tile:hover .go { background: var(--c); border-color: var(--c); color: #fff; transform: rotate(45deg); }
/* عروض صغيرة */
.d-filter { display: grid; gap: 10px; }
.d-filter .chips2 { display: flex; flex-wrap: wrap; gap: 6px; }
.d-filter .chips2 span { font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-3); transition: all .35s; }
.d-filter .chips2 span.on { background: color-mix(in srgb, var(--c) 12%, #fff); border-color: var(--c); color: var(--c); }
.d-filter .res { display: flex; align-items: center; justify-content: space-between; background: var(--day); border-radius: 12px; padding: 10px 14px; font-size: 14.5px; }
.d-filter .res b { font: 700 22px/1 var(--lat); color: var(--ink); }
.d-filter .rows { display: grid; gap: 6px; }
.d-filter .rows div { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; font-size: 13.5px; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--line-2); transition: opacity .4s, transform .4s; }
.d-filter .rows div.out { opacity: .25; transform: translateX(-6px); }
.d-filter .rows i { width: 28px; height: 28px; border-radius: 50%; background: color-mix(in srgb, var(--c) 14%, #fff); }
.d-je { display: grid; gap: 6px; font-size: 13.5px; }
.d-je div { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 8px 12px; border-radius: 10px; background: var(--day); }
.d-je .bal { background: color-mix(in srgb, var(--c) 10%, #fff); color: var(--c); font-weight: 700; }
.d-je .amt { font: 600 14px/1.4 var(--lat); }
.d-att { display: grid; gap: 12px; }
.d-att .grid7 { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; }
.d-att .grid7 i { aspect-ratio: 1; border-radius: 4px; background: var(--line-2); transition: background .3s; }
.d-att .grid7 i.p { background: color-mix(in srgb, var(--c) 75%, #fff); }
.d-att .grid7 i.l { background: #ffc23d; }
.d-att .grid7 i.v { background: #9cc7ef; }
.d-att .tot { display: flex; justify-content: space-between; align-items: baseline; background: var(--day); padding: 10px 14px; border-radius: 12px; font-size: 14px; }
.d-att .tot b { font: 700 22px/1 var(--lat); color: var(--ink); }
.d-ring { display: flex; align-items: center; gap: 18px; }
.d-ring svg { width: 112px; height: 112px; transform: rotate(-90deg); }
.d-ring circle { fill: none; stroke-width: 11; }
.d-ring .bg { stroke: var(--line-2); }
.d-ring .fg { stroke: var(--c); stroke-linecap: round; stroke-dasharray: 289; stroke-dashoffset: 289; transition: stroke-dashoffset 1.6s var(--ease); }
.d-ring .v { font: 700 30px/1 var(--lat); }
.d-ring small { display: block; color: var(--ink-3); font-size: 13px; margin-top: 4px; }
.d-wf { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.d-wf span { font-size: 13px; font-weight: 700; padding: 7px 12px; border-radius: 10px; background: var(--day); color: var(--ink-3); transition: all .35s; display: inline-flex; gap: 6px; align-items: center; }
.d-wf span.on { background: var(--c); color: #fff; box-shadow: 0 8px 20px -8px var(--c); }
.d-wf span.done { background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); }
.d-wf em { color: var(--line); font-style: normal; }
.d-camp { border-radius: 16px; border: 1px solid var(--line); overflow: hidden; }
.d-camp .img { height: 70px; background: linear-gradient(120deg, color-mix(in srgb, var(--c) 70%, #fff), color-mix(in srgb, var(--c) 30%, #ffd9ec)); position: relative; }
.d-camp .img::after { content: ""; position: absolute; inset: 0; background-image: var(--najdi); background-size: 36px 31px; opacity: .25; }
.d-camp .b { padding: 12px 14px; display: grid; gap: 8px; font-size: 13.5px; }
.d-camp .bar2 { height: 8px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.d-camp .bar2 i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--c); transition: width 1.6s var(--ease); }
.d-camp .meta { display: flex; justify-content: space-between; color: var(--ink-3); }
.d-camp .meta b { color: var(--ink); font-family: var(--lat); }
@media (max-width: 1060px) { .bento { grid-template-columns: repeat(2, 1fr); } .tile, .tile.wide, .tile[data-span="4"] { grid-column: span 1; } .tile.wide, .tile[data-span="4"] { grid-column: span 2; } }
@media (max-width: 680px) { .bento { grid-template-columns: 1fr; } .tile, .tile.wide, .tile[data-span="4"] { grid-column: span 1; min-height: 0; } }

/* ═══ مسرح الشاشات ═══ */
.theater-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 34px; }
.theater-tabs button { font: inherit; font-weight: 700; font-size: 15px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: all .3s; position: relative; overflow: hidden; }
.theater-tabs button .ic { color: var(--c); }
.theater-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.theater-tabs button[aria-selected="true"] .ic { color: #fff; }
.theater-tabs button .prog { position: absolute; inset-inline-start: 0; bottom: 0; height: 3px; width: 0; background: var(--c); }
.theater-tabs button[aria-selected="true"] .prog { animation: prog 6s linear both; }
.theater.paused .theater-tabs button .prog { animation-play-state: paused; }
@keyframes prog { to { width: 100%; } }
.theater-body { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.6fr); gap: 52px; align-items: center; }
.theater-text { position: relative; min-height: 380px; }
.tpanel { position: absolute; inset: 0; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; }
.tpanel.on { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.tpanel .kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--c); font-size: 16px; margin-bottom: 10px; }
.tpanel h3 { font-family: var(--disp); font-size: clamp(26px, 2.6vw, 36px); line-height: 1.25; }
.tpanel .intro { color: var(--ink-2); margin: 14px 0 18px; }
.theater-shot { position: relative; perspective: 1600px; }
.theater-shot .stack { position: relative; transform: rotateY(-8deg) rotateX(4deg); transform-style: preserve-3d; transition: transform .8s var(--ease); }
.theater-shot .stack:hover { transform: rotateY(-3deg) rotateX(2deg); }
.theater-shot .browser { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateZ(-60px) translateY(20px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.theater-shot .browser.on { position: relative; opacity: 1; transform: none; }
.ticks { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 9px; }
.ticks li { display: flex; gap: 10px; line-height: 1.7; font-size: 16px; }
.ticks .ic { color: var(--green); margin-top: 4px; }
@media (max-width: 960px) { .theater-body { grid-template-columns: 1fr; gap: 30px; } .theater-text { min-height: 0; } .theater-shot { order: -1; } .theater-tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 0 16px 6px; scrollbar-width: none; } .theater-tabs button { flex: none; } }

/* ═══ التطبيق ═══ */
.app-band { overflow: hidden; background: radial-gradient(70% 70% at 25% 40%, #0f3766 0%, var(--night) 70%); }
.app-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.phones { position: relative; display: flex; gap: 20px; justify-content: center; align-items: flex-end; perspective: 1400px; }
.phones::before { content: ""; position: absolute; inset: 10% 8%; border-radius: 50%; background: radial-gradient(circle, rgba(89,194,255,.35), transparent 65%); filter: blur(30px); z-index: -1; }
.phones .phone { width: 31%; will-change: transform; transition: transform .3s linear; }
.phones .phone:nth-child(1) { transform: rotateY(18deg) translateY(10px); }
.phones .phone:nth-child(2) { transform: translateY(-36px) scale(1.06); z-index: 1; }
.phones .phone:nth-child(3) { transform: rotateY(-18deg) translateY(10px); }
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin: 26px 0 28px; }
.roles div { display: flex; gap: 12px; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.roles .ic { color: var(--sky); margin-top: 4px; }
.roles b { display: block; color: #fff; }
.roles span { color: var(--on-night-2); font-size: 15px; line-height: 1.65; }
.page-hero .roles div, .section.white .roles div { background: var(--day); border-color: var(--line); }
@media (max-width: 960px) { .app-grid { grid-template-columns: 1fr; } .roles { grid-template-columns: 1fr; } }

/* ═══ الثقة ═══ */
.trust-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: start; }
.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 32px; }
.trust.three { grid-template-columns: repeat(3, 1fr); }
.trust > div { display: grid; grid-template-columns: 46px 1fr; gap: 14px; }
.trust .ti { width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(140deg, #e3f1fc, #e1f7e9); color: var(--blue-deep); display: grid; place-items: center; }
.trust h3 { font-size: 18px; }
.trust p { color: var(--ink-2); font-size: 15.5px; line-height: 1.75; margin: 4px 0 0; }
.ticker { border-radius: var(--radius-xl); background: var(--night); color: var(--on-night); padding: 22px; box-shadow: 0 40px 80px -40px rgba(6,22,41,.7); position: relative; overflow: hidden; }
.ticker::before { content: ""; position: absolute; inset: 0; background-image: var(--najdi); background-size: 56px 48px; opacity: .05; }
.ticker .th { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; position: relative; }
.ticker .th b { font-family: var(--disp); font-size: 17px; }
.ticker .live { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--leaf); font-weight: 700; }
.ticker .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 0 rgba(78,224,138,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(78,224,138,0); } 100% { box-shadow: 0 0 0 0 rgba(78,224,138,0); } }
.ticker ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; position: relative; height: 340px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 75%, transparent); mask-image: linear-gradient(180deg, #000 75%, transparent); }
.ticker li { display: grid; grid-template-columns: 32px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.05); font-size: 13.5px; animation: slidein .6s var(--ease) both; }
.ticker li .k { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; }
.ticker li b { color: #fff; font-weight: 700; }
.ticker li span { color: var(--on-night-2); display: block; font-size: 12.5px; }
.ticker li time { font: 500 12px/1 var(--lat); color: var(--on-night-3); direction: ltr; }
@keyframes slidein { from { opacity: 0; transform: translateY(-14px); } }
.ticker .foot2 { position: relative; margin-top: 10px; font-size: 12.5px; color: var(--on-night-3); }
@media (max-width: 960px) { .trust-grid { grid-template-columns: 1fr; } .trust.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .trust, .trust.three { grid-template-columns: 1fr; } }

/* ═══ الدعم ═══ */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.duo article { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 30px; display: flex; flex-direction: column; gap: 16px; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s; }
.duo article:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(13,31,53,.4); }
.duo h3 { font-family: var(--disp); font-size: 23px; display: flex; gap: 10px; align-items: center; }
.duo h3 .ic { color: var(--blue); }
.duo p { color: var(--ink-2); margin: 0; }
.duo .browser, .duo .crop { margin-top: auto; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 28px; }
.pair div { display: flex; gap: 12px; }
.pair .ic { color: var(--green); margin-top: 5px; }
.pair b { display: block; }
.pair span { color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 860px) { .duo, .pair { grid-template-columns: 1fr; } }

/* ═══ الأسئلة ═══ */
.faq { max-width: 880px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: var(--paper); transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: color-mix(in srgb, var(--blue) 40%, var(--line)); box-shadow: 0 20px 40px -30px rgba(9,132,227,.5); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 700; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .3s var(--ease); color: var(--ink-3); }
.faq details[open] summary .ic { transform: rotate(45deg); color: var(--blue); }
.faq details p { color: var(--ink-2); padding: 0 24px 22px; margin: 0; }

/* ═══ الدعوة الختامية ═══ */
.cta { position: relative; overflow: hidden; isolation: isolate; border-radius: 36px; padding: 72px 64px; color: #fff; display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
  background: radial-gradient(70% 120% at 85% 0%, rgba(89,194,255,.35), transparent 60%), radial-gradient(60% 100% at 10% 100%, rgba(0,177,64,.3), transparent 60%), linear-gradient(160deg, #0b2a4d, var(--night)); }
.cta .glow::after { display: none; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--najdi); background-size: 56px 48px; opacity: .06; }
.cta h2 { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.2; }
.cta p { color: var(--on-night-2); margin: 14px 0 0; font-size: 18px; }
.cta .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta .btn.ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.3); }
.cta .btn.ghost:hover { border-color: #fff; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; padding: 44px 24px; border-radius: 28px; } }

/* ═══ الصفحات الداخلية ═══ */
/* البطل: مضغوط، نصّ وصورة جنباً إلى جنب، بلا فراغ ميت */
.page-hero { padding: 128px 0 64px; overflow: hidden; }
.page-hero.ph-short { padding-bottom: 48px; }
.page-hero.night::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 80% at 85% 0%, color-mix(in srgb, var(--c, var(--blue)) 42%, transparent), transparent 70%), radial-gradient(50% 60% at 0% 100%, rgba(0,177,64,.16), transparent 70%), linear-gradient(180deg, #04101f, var(--night)); }
.page-hero.night::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 90px; z-index: -1; background: linear-gradient(180deg, transparent, rgba(4,16,31,.6)); }
.page-hero .ph-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: center; }
.crumbs { font-size: 14px; color: var(--ink-3); margin-bottom: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.night .crumbs { color: var(--on-night-3); }
.crumbs a:hover { color: var(--sky); }
.page-hero h1 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.16; font-weight: 700; }
.page-hero.night h1 { color: #fff; }
.page-hero .lede { font-size: clamp(17px, 1.45vw, 19.5px); color: var(--ink-2); max-width: 40em; margin: 18px 0 26px; }
.page-hero.night .lede { color: var(--on-night-2); }
.ph-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.ph-meta span { display: inline-flex; align-items: baseline; gap: 6px; padding: 9px 16px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: var(--on-night-2); font-size: 14.5px; }
.ph-meta b { font-family: var(--disp); font-size: 20px; color: #fff; }
.ph-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.ph-note { display: inline-flex; gap: 6px; align-items: center; color: var(--on-night-2); font-size: 14.5px; }
.sys-ic { width: 46px; height: 46px; border-radius: 13px; display: inline-grid; place-items: center; color: #fff; flex: none; box-shadow: 0 10px 24px -12px currentColor; }

/* المدار (صفحة النظام والأمان) */
.orb { position: relative; aspect-ratio: 1; width: min(380px, 100%); margin-inline: auto; }
.orb .core { position: absolute; inset: 32%; border-radius: 50%; display: grid; place-items: center; color: #fff; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--c) 60%, #fff), var(--c) 55%, color-mix(in srgb, var(--c) 60%, #000)); box-shadow: 0 0 60px color-mix(in srgb, var(--c) 70%, transparent), inset 0 -10px 30px rgba(0,0,0,.25); }
.orb .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(255,255,255,.18); animation: spin 60s linear infinite; }
.orb .ring.r2 { inset: 14%; border-style: solid; border-color: rgba(255,255,255,.08); animation-duration: 90s; animation-direction: reverse; }
.orb .sat { position: absolute; transform: translate(-50%, -50%); white-space: nowrap; font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: rgba(10, 30, 56, .9); border: 1px solid rgba(255,255,255,.14); color: var(--on-night); display: inline-flex; gap: 6px; align-items: center; animation: bob 6s ease-in-out infinite; animation-delay: var(--dl); }
.orb .sat .ic { color: color-mix(in srgb, var(--c) 45%, #fff); }
@keyframes bob { 50% { transform: translate(-50%, calc(-50% - 8px)); } }
@keyframes spin { to { transform: rotate(360deg); } }
.orb .core::after { content: ""; position: absolute; inset: -18%; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--c) 50%, transparent); animation: ring 3.2s ease-out infinite; }
@media (max-width: 640px) { .orb .sat { font-size: 11px; padding: 4px 9px; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: all .25s; }
.night .chips a { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: var(--on-night-2); }
.night .chips a .ic { color: color-mix(in srgb, var(--c, var(--sky)) 55%, #fff); }
.chips a:hover { border-color: var(--c, var(--blue)); color: var(--ink); }
.night .chips a:hover { color: #fff; background: color-mix(in srgb, var(--c, var(--blue)) 22%, transparent); }

/* ── أطلس الأنظمة (بطل فهرس الوحدات) ── */
.atlas { position: relative; aspect-ratio: 1; width: min(440px, 100%); margin-inline: auto; }
.atlas > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.atlas line { stroke-width: .5; opacity: .7; stroke-dasharray: 1.4 1.6; animation: dash 6s linear infinite; }
.atlas line.rim { stroke: rgba(255,255,255,.14); stroke-dasharray: none; animation: none; }
.atlas .halo { fill: none; stroke: rgba(89,194,255,.35); stroke-width: .4; transform-origin: 50% 50%; animation: halo 4s ease-out infinite; }
@keyframes dash { to { stroke-dashoffset: -12; } }
@keyframes halo { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.at-core { position: absolute; left: 50%; top: 50%; width: 23%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #fff, #e8f4ff 70%); box-shadow: 0 0 0 8px rgba(255,255,255,.05), 0 0 70px rgba(89,194,255,.55); }
.at-core svg { position: static; width: 46%; height: auto; }
.at-node { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 14px; background: rgba(8, 26, 50, .92); border: 1px solid rgba(255,255,255,.14); white-space: nowrap; animation: bob 7s ease-in-out infinite; animation-delay: var(--dl); box-shadow: 0 12px 30px -16px var(--c); }
.at-node .sys-ic { width: 34px; height: 34px; border-radius: 10px; background: var(--c); }
.at-node b { display: block; font-size: 13.5px; color: #fff; line-height: 1.3; }
.at-node small { display: block; font-size: 11.5px; color: var(--on-night-3); }
@media (max-width: 640px) { .at-node { padding: 4px 8px 4px 4px; gap: 6px; } .at-node .sys-ic { width: 26px; height: 26px; } .at-node b { font-size: 11.5px; } .at-node small { display: none; } }

/* شريط دورات العمل */
.flows-teaser { background: var(--paper); border-bottom: 1px solid var(--line); padding: 44px 0; }
.ft { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 36px; align-items: center; }
.ft h2 { font-size: clamp(24px, 2.4vw, 32px); margin-top: 6px; }
.ft p { color: var(--ink-2); margin: 10px 0 0; }
.ft-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ft-list a { display: grid; grid-template-columns: 38px 1fr auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--day); border: 1px solid var(--line-2); transition: all .3s var(--ease); }
.ft-list a > span { grid-row: span 2; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--blue), var(--green)); }
.ft-list b { font-size: 15.5px; }
.ft-list small { color: var(--ink-3); font-size: 13px; grid-column: 2; }
.ft-list a > .ic { grid-row: 1 / span 2; grid-column: 3; color: var(--ink-3); transition: transform .3s var(--ease); }
.ft-list a:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 18px 30px -24px rgba(9,132,227,.8); }
.ft-list a:hover > .ic { transform: translateX(-4px); color: var(--blue); }
@media (max-width: 900px) { .ft { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .ft-list { grid-template-columns: 1fr; } }

/* ── شرائط الأنظمة في الفهرس: جانب ثابت بصورة النظام + بلاطات الوحدات ── */
.sysband { padding: 84px 0; position: relative; isolation: isolate; scroll-margin-top: 80px; }
.sysband:nth-of-type(odd) { background: var(--paper); }
.sysband::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 50% at 92% 10%, color-mix(in srgb, var(--c) 10%, transparent), transparent 70%); pointer-events: none; }
.sysband.flip::before { background: radial-gradient(40% 50% at 8% 10%, color-mix(in srgb, var(--c) 10%, transparent), transparent 70%); }
.sb-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr); gap: 48px; align-items: start; }
.sysband.flip .sb-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, .9fr); }
.sysband.flip .sb-side { order: 2; }
.sb-side { position: sticky; top: 96px; display: grid; gap: 16px; }
.sb-head { display: flex; gap: 14px; align-items: center; }
.sb-head .sys-ic { width: 54px; height: 54px; border-radius: 16px; background: var(--c); }
.sb-k { font-size: 13px; color: var(--ink-3); font-weight: 500; }
.sb-head h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; }
.sb-tag { margin: 0; color: var(--ink-2); font-size: 17px; }
.sb-shot { transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transform-origin: 70% 50%; transition: transform .8s var(--ease); }
.sysband.flip .sb-shot { transform: perspective(1400px) rotateY(6deg) rotateX(2deg); transform-origin: 30% 50%; }
.sb-side:hover .sb-shot { transform: none; }
.sb-shot .browser { box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--c) 60%, #0d1f35); }
.sb-meta { display: flex; gap: 10px; flex-wrap: wrap; }
.sb-meta span { display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 14px; border-radius: 12px; background: color-mix(in srgb, var(--c) 8%, #fff); color: var(--ink-2); font-size: 14px; border: 1px solid color-mix(in srgb, var(--c) 18%, #fff); }
.sb-meta b { font-family: var(--disp); font-size: 19px; color: var(--c); }
.btn.sys { background: var(--c); color: #fff; justify-self: start; box-shadow: 0 14px 28px -16px var(--c); }
.btn.sys:hover { filter: brightness(1.08); transform: translateY(-1px); }
.sb-tiles { display: grid; grid-auto-flow: dense; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.mtile { display: grid; border-radius: 20px; background: var(--paper); border: 1px solid var(--line-2); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; position: relative; }
.sysband:nth-of-type(odd) .mtile { background: var(--day); }
.mtile:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 45%, #fff); box-shadow: 0 26px 46px -30px color-mix(in srgb, var(--c) 80%, #0d1f35); }
.mtile.has-shot { grid-row: span 2; }
.t-shot { display: block; aspect-ratio: 16 / 9.5; overflow: hidden; background: #eef3f8; border-bottom: 1px solid var(--line-2); }
.t-shot img { width: 100%; max-width: none; height: 100%; object-fit: cover; object-position: 100% 0; transition: transform 1.2s var(--ease); }
.mtile:hover .t-shot img { transform: scale(1.06); }
.t-body { display: grid; gap: 6px; padding: 18px 20px 20px; }
.t-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 13%, #fff); color: var(--c); margin-bottom: 4px; }
.mtile h3 { font-size: 17.5px; }
.mtile p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.72; }
.t-pts { display: grid; gap: 4px; margin-top: 6px; }
.t-pts span { display: flex; gap: 6px; font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }
.t-pts .ic { color: var(--c); flex: none; margin-top: 3px; width: 15px; height: 15px; }
@media (max-width: 980px) { .sb-grid, .sysband.flip .sb-grid { grid-template-columns: 1fr; gap: 28px; } .sysband.flip .sb-side { order: 0; } .sb-side { position: static; } .sb-shot, .sysband.flip .sb-shot { transform: none; } }
@media (max-width: 600px) { .sb-tiles { grid-template-columns: 1fr; } .mtile.has-shot { grid-row: auto; } .sysband { padding: 56px 0; } }

/* ── صفحة النظام ── */
.conn { padding: 64px 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.conn .head { margin-bottom: 28px; }
.conn .head h2 { font-size: clamp(24px, 2.4vw, 32px); margin-top: 6px; }
.conn .head p { color: var(--ink-2); margin: 8px 0 0; }
.cn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cn { padding: 16px 18px; border-radius: 16px; background: var(--day); border: 1px solid var(--line-2); border-inline-start: 3px solid var(--c); display: grid; gap: 8px; }
.cn-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cn-n { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14.5px; }
.cn-n .ic { color: var(--c); }
.cn-ar { width: 42px; height: 10px; flex: none; fill: none; stroke: var(--c); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cn-ar path:first-child { animation: dash 2.4s linear infinite; }
.cn p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.65; }
@media (max-width: 980px) { .cn-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cn-grid { grid-template-columns: 1fr; } }

.sys-body { padding: 40px 0 24px; }
.sb-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 44px; align-items: start; }
.toc { position: sticky; top: 96px; display: grid; gap: 10px; padding: 18px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); }
.toc h3 { font-size: 14px; color: var(--ink-3); font-weight: 500; font-family: var(--ar); }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; font-size: 14.5px; color: var(--ink-2); transition: background .25s, color .25s; line-height: 1.45; }
.toc a .ic { color: var(--ink-3); flex: none; }
.toc a:hover { background: var(--day); color: var(--ink); }
.toc a.on { background: color-mix(in srgb, var(--c) 11%, #fff); color: var(--ink); font-weight: 700; }
.toc a.on .ic { color: var(--c); }
.toc .btn { margin-top: 6px; justify-content: center; }
.mods { display: grid; gap: 28px; min-width: 0; }
.mod { scroll-margin-top: 96px; border-radius: 26px; background: var(--paper); border: 1px solid var(--line); padding: 36px; display: grid; gap: 32px; position: relative; overflow: hidden; isolation: isolate; }
.mod::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 100% 0%, color-mix(in srgb, var(--c) 8%, transparent), transparent 70%); }
.mod.split { grid-template-columns: minmax(0, .82fr) minmax(0, 1.3fr); align-items: center; }
.mod.split.flip { grid-template-columns: minmax(0, 1.3fr) minmax(0, .82fr); }
.mod.split.flip .mod-text { order: 2; }
.mod.card { grid-template-columns: 1fr; }
.mod.card.has-crops { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.mod header { display: flex; gap: 14px; align-items: center; }
.mod .mi { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(140deg, var(--c), color-mix(in srgb, var(--c) 55%, #0d1f35)); color: #fff; flex: none; box-shadow: 0 12px 24px -12px var(--c); }
.mod .mk { font-size: 12.5px; color: var(--ink-3); font-weight: 500; }
.mod h2 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.25; }
.mod .lead { color: var(--ink-2); margin: 16px 0 18px; font-size: 17px; }
.feat { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mod.card .feat { grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.mod.card.has-crops .feat { grid-template-columns: 1fr; }
.feat li { display: flex; gap: 10px; line-height: 1.65; font-size: 15.5px; padding: 10px 12px; border-radius: 12px; background: var(--day); }
.feat .ic { color: var(--c); margin-top: 3px; flex: none; }
.mod-visual { display: grid; gap: 18px; min-width: 0; }
.mod-visual .browser { transition: transform .6s var(--ease); }
.mod.split:hover .mod-visual .browser { transform: translateY(-4px); }
.details { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.details.one { grid-template-columns: 1fr; }
.details figcaption { font-size: 13px; color: var(--ink-3); margin-top: 6px; }
@media (max-width: 1100px) { .sb-layout { grid-template-columns: 1fr; } .toc { position: static; } .toc { top: 0; padding: 12px; } .toc h3 { display: none; } .toc ol { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px); mask-image: linear-gradient(90deg, transparent, #000 24px); padding-inline-end: 0; } .toc ol::-webkit-scrollbar { display: none; } .toc a { border: 1px solid var(--line-2); white-space: nowrap; } .toc .btn { display: none; } }
@media (max-width: 900px) { .mod.split, .mod.split.flip, .mod.card.has-crops { grid-template-columns: 1fr; } .mod.split.flip .mod-text { order: 0; } .mod { padding: 24px 20px; } .mod.card .feat { grid-template-columns: 1fr; } .details { grid-template-columns: 1fr; } .page-hero .ph-grid { grid-template-columns: 1fr; gap: 36px; } .orb { width: min(300px, 80%); } }

.next-sys { display: grid; grid-template-columns: auto auto 1fr auto; gap: 18px; align-items: center; padding: 28px 32px; border-radius: 26px; background: var(--night); color: #fff; position: relative; overflow: hidden; isolation: isolate; transition: transform .4s var(--ease); }
.next-sys::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 120% at 0% 50%, color-mix(in srgb, var(--c) 45%, transparent), transparent 70%); }
.next-sys:hover { transform: translateY(-3px); }
.ns-k { font-size: 13px; color: var(--on-night-3); writing-mode: horizontal-tb; }
.next-sys .sys-ic { width: 58px; height: 58px; border-radius: 17px; background: var(--c); }
.ns-t b { display: block; font-family: var(--disp); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; }
.ns-t span { color: var(--on-night-2); }
.ns-go { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); transition: transform .3s var(--ease), background .3s; }
.next-sys:hover .ns-go { transform: translateX(-6px); background: var(--c); }
.others { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.others a { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px 18px; display: flex; align-items: center; gap: 12px; font-weight: 700; transition: all .3s var(--ease); }
.others a:hover { transform: translateY(-3px); border-color: var(--c); }
.others .sys-ic { width: 38px; height: 38px; border-radius: 11px; background: var(--c); }
@media (max-width: 900px) { .others { grid-template-columns: 1fr 1fr; } .next-sys { grid-template-columns: auto 1fr auto; padding: 22px; } .ns-k { grid-column: 1 / -1; } }

/* ── الخطوة التالية ── */
.next-band .head { margin-bottom: 26px; }
.nexts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.nx { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 14px; row-gap: 2px; align-items: center; padding: 20px 22px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); transition: all .35s var(--ease); }
.nx-ic { grid-row: span 2; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--c); box-shadow: 0 12px 24px -14px var(--c); }
.nx b { font-size: 17px; }
.nx > span:not([class]) { color: var(--ink-2); font-size: 14.5px; grid-column: 2; line-height: 1.6; }
.nx-go { grid-column: 3; grid-row: 1 / span 2; color: var(--ink-3); transition: transform .3s var(--ease), color .3s; }
.nx:hover { transform: translateY(-4px); border-color: var(--c); box-shadow: 0 24px 40px -30px var(--c); }
.nx:hover .nx-go { transform: translateX(-5px); color: var(--c); }
@media (max-width: 900px) { .nexts { grid-template-columns: 1fr; } }

/* ── التطبيق ── */
.roles-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.role { grid-column: span 2; padding: 26px; border-radius: 24px; background: var(--paper); border: 1px solid var(--line); position: relative; overflow: hidden; isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s; }
.role:nth-child(4), .role:nth-child(5) { grid-column: span 3; }
.role::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--c); }
.role::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 60% at 100% 0%, color-mix(in srgb, var(--c) 10%, transparent), transparent 70%); }
.role:hover { transform: translateY(-4px); box-shadow: 0 26px 46px -32px var(--c); }
.r-ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: var(--c); margin-bottom: 14px; box-shadow: 0 12px 24px -14px var(--c); }
.role h3 { font-size: 20px; margin-bottom: 12px; }
.role .ticks .ic { color: var(--c); }
@media (max-width: 900px) { .roles-grid { grid-template-columns: 1fr 1fr; } .role, .role:nth-child(4), .role:nth-child(5) { grid-column: span 1; } }
@media (max-width: 600px) { .roles-grid { grid-template-columns: 1fr; } }
.sync-band { padding: 96px 0; overflow: hidden; }
.sync-band .head h2 { color: #fff; }
.sync { display: grid; gap: 14px; }
.sy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(80px, .6fr) minmax(0, 1fr); gap: 14px; align-items: center; }
.sy-n { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: var(--on-night); font-weight: 500; }
.sy-n.end { background: rgba(0,177,64,.1); border-color: rgba(78,224,138,.25); }
.sy-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: linear-gradient(140deg, var(--blue), var(--sky)); color: #fff; }
.sy-n.end .sy-ic { background: linear-gradient(140deg, var(--green), var(--leaf)); }
.sy-line { position: relative; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.25) 0 6px, transparent 6px 12px); }
.sy-line i { position: absolute; top: 50%; right: 0; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 18px var(--leaf); animation: travel 2.6s var(--ease) infinite; }
.sy:nth-child(2) .sy-line i { animation-delay: .8s; } .sy:nth-child(3) .sy-line i { animation-delay: 1.6s; }
@keyframes travel { from { right: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { right: calc(100% - 12px); opacity: 0; } }
@media (max-width: 760px) { .sy { grid-template-columns: 1fr; } .sy-line { height: 30px; width: 2px; margin-inline: 30px; background: repeating-linear-gradient(180deg, rgba(255,255,255,.25) 0 6px, transparent 6px 12px); } .sy-line i { right: -5px; top: 0; animation-name: travelv; } }
@keyframes travelv { from { top: 0; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } to { top: calc(100% - 12px); opacity: 0; } }

/* ── الأمان ── */
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sec-grid.dark { grid-template-columns: repeat(4, 1fr); }
.sg { padding: 24px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); transition: transform .35s var(--ease); }
.sg:hover { transform: translateY(-3px); }
.sg-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--blue), var(--green)); margin-bottom: 14px; }
.sg h3 { font-size: 18px; }
.sg p { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; line-height: 1.75; }
.sec-grid.dark .sg { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.sec-grid.dark .sg h3 { color: #fff; }
.sec-grid.dark .sg p { color: var(--on-night-2); }
@media (max-width: 1000px) { .sec-grid, .sec-grid.dark { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .sec-grid, .sec-grid.dark { grid-template-columns: 1fr; } }

/* ── من نحن والاشتراك ── */
.fact-stack { display: grid; gap: 14px; justify-items: stretch; max-width: 380px; margin-inline: auto; width: 100%; }
.fs { padding: 20px 24px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(8px); display: grid; gap: 2px; animation: bob2 7s ease-in-out infinite; animation-delay: var(--dl); }
.fs:nth-child(2) { margin-inline-start: 36px; } .fs:nth-child(3) { margin-inline-end: 36px; }
.fs b { font-family: var(--disp); font-size: 42px; line-height: 1.1; color: #fff; background: linear-gradient(100deg, var(--sky), var(--leaf)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .1em; }
.fs span { color: var(--on-night-2); font-size: 15px; }
@keyframes bob2 { 50% { transform: translateY(-6px); } }
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.process.three { grid-template-columns: repeat(3, 1fr); }
.process li { position: relative; padding: 26px 22px 24px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.process li:not(:last-child)::after { content: ""; position: absolute; top: 50px; inset-inline-end: -17px; width: 18px; height: 2px; background: linear-gradient(90deg, var(--green), var(--blue)); z-index: 1; }
.pc-n { position: absolute; top: 18px; inset-inline-end: 20px; font-family: var(--disp); font-size: 34px; line-height: 1; font-weight: 700; color: var(--line); }
.pc-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--blue), var(--green)); margin-bottom: 8px; }
.process b { font-size: 18px; }
.process li > span:last-child { color: var(--ink-2); font-size: 15px; line-height: 1.7; }
@media (max-width: 960px) { .process, .process.three { grid-template-columns: 1fr 1fr; } .process li::after { display: none; } }
@media (max-width: 600px) { .process, .process.three { grid-template-columns: 1fr; } }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.val { padding: 30px 26px; border-radius: 24px; background: var(--day); border: 1px solid var(--line-2); position: relative; overflow: hidden; isolation: isolate; }
.val::after { content: ""; position: absolute; inset: auto -20% -50% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; z-index: -1; background: radial-gradient(circle, rgba(9,132,227,.1), transparent 70%); }
.v-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: var(--blue-deep); background: linear-gradient(140deg, #e3f1fc, #e1f7e9); margin-bottom: 16px; }
.val h3 { font-size: 20px; }
.val p { margin: 8px 0 0; color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr; } }
.mig { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.mig h2 { color: #fff; font-size: clamp(28px, 3vw, 42px); margin: 8px 0 14px; }
.mig-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mig-list li { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: var(--on-night); }
.mig-list .ic { color: var(--leaf); flex: none; }
@media (max-width: 900px) { .mig { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .mig-list { grid-template-columns: 1fr; } }
.plan-sec { padding-top: 72px; }
.plan2 { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); border-radius: 30px; overflow: hidden; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 40px 80px -50px rgba(13,31,53,.5); }
.p-side { position: relative; isolation: isolate; padding: 44px; background: radial-gradient(80% 80% at 100% 0%, rgba(9,132,227,.55), transparent 70%), radial-gradient(60% 60% at 0% 100%, rgba(0,177,64,.35), transparent 70%), var(--night); color: #fff; display: grid; gap: 12px; align-content: center; }
.p-side .najdi { position: absolute; inset: 0; z-index: -1; opacity: .07; background-image: var(--najdi); background-size: 56px 48px; }
.p-side h2 { font-size: clamp(28px, 3vw, 40px); }
.p-side p { color: var(--on-night-2); margin: 0 0 10px; }
.p-side .btn { justify-self: start; }
.p-inc { list-style: none; margin: 0; padding: 36px 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: center; }
.p-inc li { display: flex; gap: 12px; align-items: center; font-size: 15.5px; font-weight: 500; line-height: 1.5; padding: 12px; border-radius: 14px; background: var(--day); }
.p-inc li > span { width: 38px; height: 38px; border-radius: 11px; flex: none; display: grid; place-items: center; color: var(--blue-deep); background: linear-gradient(140deg, #e3f1fc, #e1f7e9); }
@media (max-width: 900px) { .plan2 { grid-template-columns: 1fr; } .p-side { padding: 32px 24px; } .p-inc { padding: 24px; grid-template-columns: 1fr; } }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: 32px; padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; box-shadow: 0 40px 80px -50px rgba(13,31,53,.4); position: relative; overflow: hidden; }
.plan::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 45%; background: radial-gradient(80% 80% at 0% 50%, rgba(9,132,227,.08), transparent 70%); }
.plan h2 { font-size: 34px; }
.plan .price { font-size: 20px; color: var(--ink-2); margin: 14px 0 28px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; position: relative; }
.plan li { display: flex; gap: 10px; }
.plan li .ic { color: var(--green); margin-top: 5px; }
@media (max-width: 860px) { .plan { grid-template-columns: 1fr; padding: 30px 22px; } }

/* ── نموذج التجربة ── */
.form-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
form.trial { background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 28px; padding: 34px; display: grid; gap: 18px; box-shadow: 0 50px 100px -40px rgba(0, 10, 30, .65); }
.field { display: grid; gap: 7px; }
.field label { font-weight: 700; font-size: 15.5px; }
.field label small { color: var(--ink-3); font-weight: 500; }
.field input, .field textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--day); border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; min-height: 50px; width: 100%; transition: border-color .2s, background .2s, box-shadow .2s; }
.field textarea { min-height: 110px; resize: vertical; line-height: 1.7; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(9,132,227,.12); }
.field input[dir="ltr"] { text-align: right; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { border-radius: 11px; padding: 12px 16px; font-weight: 500; display: none; }
.form-msg.err { display: block; background: #fdecec; color: #a61b1b; }
.form-msg.ok { display: block; background: #e6f8ec; color: #0b6b2e; }
.form-done { text-align: center; padding: 40px 20px; display: none; background: var(--paper); color: var(--ink); border-radius: 28px; }
.form-done .ic { color: var(--green); margin: 0 auto 12px; }
.form-done h3 { font-size: 26px; font-family: var(--disp); }
.form-done p { color: var(--ink-2); margin-top: 8px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; position: relative; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.steps li::before { counter-increment: s; content: counter(s, arabic-indic); width: 40px; height: 40px; border-radius: 50%; background: rgba(89,194,255,.14); color: var(--sky); border: 1px solid rgba(89,194,255,.35); font-weight: 800; display: grid; place-items: center; }
.steps b { display: block; color: #fff; }
.steps span { color: var(--on-night-2); font-size: 15.5px; }
.page-hero:not(.night) .steps b { color: var(--ink); } .page-hero:not(.night) .steps span { color: var(--ink-2); }
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; } .row2 { grid-template-columns: 1fr; } form.trial { padding: 22px; } }

/* ═══ التذييل ═══ */
footer.site { background: var(--night); color: var(--on-night-2); padding: 80px 0 30px; position: relative; isolation: isolate; overflow: hidden; }
footer.site::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--najdi); background-size: 56px 48px; opacity: .05; }
footer.site::after { content: "غيث"; position: absolute; inset-inline-start: -2%; bottom: -12%; z-index: -1; font-family: var(--disp); font-weight: 800; font-size: clamp(160px, 26vw, 380px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.06); pointer-events: none; }
footer.site .brand { color: #fff; }
footer.site .brand svg.logo-h { height: 54px; }
.foot { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot p { color: var(--on-night-2); font-size: 15px; margin-top: 14px; max-width: 26em; }
.foot h4 { font-size: 15px; margin-bottom: 14px; color: #fff; font-family: var(--disp); font-weight: 600; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 15px; }
.foot a:hover { color: #fff; }
.legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255,255,255,.08); margin-top: 56px; padding-top: 22px; font-size: 13.5px; color: var(--on-night-3); }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr 1fr; } .foot > div:first-child { grid-column: 1 / -1; } }

/* ═══ الظهور عند التمرير (المحتوى ظاهر بلا JS) ═══ */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* أزرار المتجرين */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 16px; border-radius: 14px; background: #0b1420; color: #fff; border: 1px solid rgba(255,255,255,.18); text-decoration: none; transition: transform .25s var(--ease), border-color .25s, background .25s; min-width: 168px; }
.store:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.45); background: #111d2d; }
.store:focus-visible { outline: 3px solid #3aa0f0; outline-offset: 3px; }
.store span { display: grid; line-height: 1.15; text-align: start; }
.store small { font-size: 11.5px; color: #b9c9dc; font-weight: 500; }
.store b { font-family: Inter, var(--body, sans-serif); font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.stores.sm { margin-top: 18px; gap: 10px; }
.stores.sm .store { min-width: 0; padding: 7px 14px 7px 12px; border-radius: 12px; }
.stores.sm .store b { font-size: 15px; }
.stores.sm .store .ic { width: 22px; height: 22px; }
.stores + .link { margin-top: 18px; display: inline-flex; }
