/* ==========================================================================
   Vexa POS — موقع التعريف
   مفهوم: «الإيصال والدفتر» على زجاج مضبّب فوق ليل أزرق (ألوان الشعار)
   ========================================================================== */

:root {
  --night: #06101c;
  --night-2: #0a1a2c;
  --text: #eaf1f8;
  --muted: #a3b4c7;
  --faint: #6f8399;

  --azure: #2f80ff;
  --cyan: #22c3ee;
  --navy: #1f4b6e;
  --signal: #ff3c00;
  --signal-text: #ff7a52;
  --ok: #3ddc97;

  --glass: rgba(255, 255, 255, 0.055);
  --glass-strong: rgba(255, 255, 255, 0.09);
  --glass-line: rgba(255, 255, 255, 0.14);
  --glass-hi: rgba(255, 255, 255, 0.22);
  --rule: rgba(255, 255, 255, 0.1);

  --r: 18px;
  --r-sm: 10px;
  --gutter: clamp(16px, 4vw, 40px);

  --f-display: "Readex Pro", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --f-body: "IBM Plex Sans Arabic", "Readex Pro", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  color-scheme: dark;
}

/* الأقسام الفاتحة: نفس الزجاج لكن فوق سماء زرقاء فاتحة */
.light {
  --text: #0c1b2d;
  --muted: #3f566f;
  --faint: #5d7289;
  --glass: rgba(255, 255, 255, 0.5);
  --glass-strong: rgba(255, 255, 255, 0.7);
  --glass-line: rgba(255, 255, 255, 0.85);
  --glass-hi: rgba(255, 255, 255, 1);
  --rule: rgba(12, 27, 45, 0.12);
  --signal-text: #c43000;
  color: var(--text);
}

/* ---------- أساسيات ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.mono { font-family: var(--f-mono); font-feature-settings: "tnum"; direction: ltr; unicode-bidi: isolate; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--azure); color: #fff; }
.skip { position: fixed; inset-block-start: -60px; inset-inline-start: 16px; z-index: 100; background: var(--cyan); color: #04121f; padding: 8px 16px; border-radius: 8px; font-weight: 600; transition: inset-block-start .2s; }
.skip:focus { inset-block-start: 12px; }

.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- زجاج ---------- */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: var(--r);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  box-shadow:
    inset 0 1px 0 var(--glass-hi),
    inset 0 -1px 0 rgba(255, 255, 255, 0.03),
    0 24px 60px -28px rgba(0, 0, 0, 0.7);
}
.light .glass { box-shadow: inset 0 1px 0 #fff, 0 24px 60px -30px rgba(31, 75, 110, 0.35); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(14, 30, 48, 0.92); }
  .light .glass { background: rgba(255, 255, 255, 0.92); }
}

/* ---------- أقسام وخلفيات ---------- */
.sec { position: relative; padding-block: clamp(72px, 10vw, 136px); overflow: clip; isolation: isolate; }
.sec > .wrap { position: relative; z-index: 2; }
.sec--alt { background: linear-gradient(180deg, var(--night-2), var(--night)); }
.orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(80px); opacity: 0.6; pointer-events: none; animation: drift 22s ease-in-out infinite alternate; }
.orb--a { width: 520px; height: 520px; background: radial-gradient(circle at 30% 30%, var(--azure), transparent 70%); }
.orb--c { width: 460px; height: 460px; background: radial-gradient(circle at 50% 50%, var(--cyan), transparent 70%); animation-duration: 28s; animation-delay: -6s; }
.orb--n { width: 600px; height: 600px; background: radial-gradient(circle, var(--navy), transparent 68%); opacity: 0.9; }
.orb--s { width: 320px; height: 320px; background: radial-gradient(circle, var(--signal), transparent 70%); opacity: 0.32; animation-duration: 30s; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(48px, 36px, 0) scale(1.12); } }

.sec--light, .band-light {
  background:
    radial-gradient(900px 500px at 85% -10%, #bcd9ff 0%, transparent 60%),
    radial-gradient(800px 500px at 0% 110%, #b9ecf9 0%, transparent 60%),
    #e9f2fc;
}
.band-light .orb--a { background: radial-gradient(circle at 30% 30%, #7db4ff, transparent 70%); opacity: 0.55; }
.band-light .orb--c { background: radial-gradient(circle, #7fdcf3, transparent 70%); opacity: 0.55; }

/* أسطر دفتر خفيفة — بصمة الفكرة */
.ledger-lines {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(to bottom, transparent 0 47px, rgba(255, 255, 255, 0.045) 47px 48px);
  -webkit-mask-image: linear-gradient(#000 20%, transparent 90%);
  mask-image: linear-gradient(#000 20%, transparent 90%);
}

/* ---------- عناوين ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 0.8125rem; letter-spacing: 0.04em;
  color: var(--cyan); direction: ltr;
}
.light .eyebrow { color: #0a6fae; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.9rem, 4.4vw, 3.3rem); line-height: 1.35; margin-block: 16px 20px; text-wrap: balance; }
.lead { color: var(--muted); font-size: clamp(1.02rem, 1.4vw, 1.2rem); max-width: 62ch; text-wrap: pretty; }
.sec-head { max-width: 760px; margin-block-end: clamp(36px, 5vw, 64px); }
.hl { color: var(--cyan); }
.light .hl { color: #0a6fae; }

/* ---------- أزرار ---------- */
.btn {
  --b: var(--azure);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--f-display); font-weight: 500; font-size: 1rem; cursor: pointer; white-space: nowrap;
  transition: transform .2s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, background .25s, border-color .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, #4a95ff, #1f6ae6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 30px -10px rgba(47, 128, 255, 0.8);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 16px 38px -10px rgba(47, 128, 255, 0.95); }
.btn--glass { background: var(--glass); border-color: var(--glass-line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 var(--glass-hi); }
.btn--glass:hover { background: var(--glass-strong); transform: translateY(-2px); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 0.9375rem; }
.btn:active { transform: translateY(0); }

/* ---------- الترويسة ---------- */
.nav { position: fixed; inset-block-start: 14px; inset-inline: 0; z-index: 50; pointer-events: none; }
.nav__bar {
  pointer-events: auto; width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto;
  display: flex; align-items: center; gap: 24px; padding: 8px 10px 8px 18px; padding-inline: 18px 10px;
  border-radius: 999px;
  background: rgba(8, 20, 34, 0.5); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 18px 40px -20px rgba(0, 0, 0, 0.7);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; }
.brand img { width: 34px; height: 34px; }
.brand b { font-weight: 600; }
.brand span { color: var(--cyan); font-weight: 500; }
.nav__links { display: flex; gap: 4px; margin-inline-start: auto; }
.nav__links a { white-space: nowrap; padding: 8px 12px; border-radius: 999px; font-size: 0.9375rem; color: var(--muted); transition: color .2s, background .2s; }
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--text); background: rgba(255, 255, 255, 0.08); }
.nav__cta { margin-inline-start: 8px; }
.nav__toggle { display: none; margin-inline-start: auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--glass-line); background: var(--glass); cursor: pointer; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; margin: auto; position: relative; transition: transform .25s, opacity .2s; }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; inset-inline-start: 0; }
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav.open .nav__toggle span { background: transparent; }
.nav.open .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav.open .nav__toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1120px) {
  .nav__bar { padding-inline: 16px 8px; border-radius: 28px; flex-wrap: wrap; gap: 0 12px; }
  .nav__toggle { display: block; }
  .nav__links, .nav__cta { display: none; width: 100%; }
  .nav.open .nav__links { display: flex; flex-direction: column; padding-block: 10px 6px; order: 3; }
  .nav.open .nav__links a { padding: 12px 14px; font-size: 1.05rem; }
  .nav.open .nav__cta { display: inline-flex; order: 4; margin: 8px 0 8px; }
}

/* ---------- البطل ---------- */
.hero { padding-block: clamp(120px, 14vw, 170px) clamp(64px, 8vw, 110px); }
.hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero .orb--a { inset-block-start: -160px; inset-inline-end: -120px; }
.hero .orb--c { inset-block-end: -140px; inset-inline-start: -100px; }
.hero .orb--s { inset-block-start: 38%; inset-inline-start: 34%; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 12px; padding-inline: 12px 16px;
  border-radius: 999px; font-size: 0.875rem; color: var(--muted);
  background: var(--glass); border: 1px solid var(--glass-line); box-shadow: inset 0 1px 0 var(--glass-hi);
}
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(61, 220, 151, 0.18); }
.hero h1 {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(2.7rem, 7.2vw, 5.7rem);
  line-height: 1.22; margin-block: 24px 26px; text-wrap: balance;
}
.hero h1 span { display: block; }
.hero h1 .grad {
  background: linear-gradient(95deg, #5fb0ff 0%, var(--cyan) 55%, #7ff0d6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { margin-block-end: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-block-start: 34px; color: var(--faint); font-size: 0.9rem; }
.hero__meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 16px; height: 16px; color: var(--cyan); }

/* ---------- فاتورة البطل ---------- */
.rc-stage { position: relative; display: grid; place-items: center; padding: 28px 8px 36px; }
.inv-hero {
  position: relative; display: block; width: min(100%, 330px); padding: 10px; cursor: zoom-in; border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06));
  border: 1px solid var(--glass-hi);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 40px 70px -24px rgba(0, 0, 0, 0.75);
  transform: rotate(-1.6deg); transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.inv-hero:hover { transform: rotate(0deg) translateY(-4px); }
.inv-hero img { width: 100%; height: auto; border-radius: 13px; background: #fff; }

.chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 16px; font-size: 0.875rem; line-height: 1.5;
  border-radius: 14px; max-width: 250px; z-index: 2;
}
.chip svg { width: 20px; height: 20px; flex: none; }
.chip--a { inset-block-start: 0; inset-inline-end: -4px; animation: bob 7s ease-in-out infinite; }
.chip--a svg { color: var(--signal-text); }
.chip--b { inset-block-end: 4px; inset-inline-start: -6px; animation: bob 8s ease-in-out -3s infinite; }
.chip--b svg { color: var(--ok); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .rc-stage { order: 2; padding-block-start: 44px; }
  .chip--a { inset-inline-end: 0; }
  .chip--b { inset-inline-start: 0; }
}

/* ---------- شريط الأرقام ---------- */
.stats { padding-block: 0 clamp(48px, 6vw, 80px); }
.stats__row { display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px; }
.stat { padding: 26px 24px; border-inline-start: 1px solid var(--rule); }
.stat:first-child { border-inline-start: 0; }
.stat b { display: block; direction: ltr; text-align: end; font-family: var(--f-mono); font-weight: 500; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.2; color: var(--text); }
.stat b em { font-style: normal; color: var(--cyan); }
.stat > span { display: block; margin-block-start: 4px; color: var(--muted); font-size: 0.9375rem; line-height: 1.6; }
@media (max-width: 760px) {
  .stats__row { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-inline-start: 0; }
  .stat:nth-child(n+3) { border-block-start: 1px solid var(--rule); }
}


/* ---------- المشاكل والحلول (دفتر) ---------- */
.why .orb--n { inset-block-start: 10%; inset-inline-start: -260px; }
.book { overflow: hidden; }
.book__head, .book__row { display: grid; grid-template-columns: 56px 1fr 1.15fr; gap: 0 24px; align-items: start; padding-inline: clamp(16px, 3vw, 32px); }
.book__head { padding-block: 16px; font-family: var(--f-mono); font-size: 0.78rem; color: var(--faint); letter-spacing: 0.04em; border-block-end: 1px solid var(--glass-line); background: rgba(255, 255, 255, 0.03); }
.book__row { padding-block: 22px; border-block-end: 1px solid var(--rule); transition: background .25s; }
.book__row:last-child { border-block-end: 0; }
.book__row:hover { background: rgba(255, 255, 255, 0.04); }
.book__n { font-family: var(--f-mono); color: var(--faint); font-size: 0.9rem; padding-block-start: 4px; }
.book__p { color: var(--muted); position: relative; padding-inline-start: 22px; }
.book__p::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: 0.85em; width: 8px; height: 8px; border-radius: 2px; background: var(--signal); box-shadow: 0 0 14px rgba(255, 60, 0, 0.7); }
.book__s { font-weight: 500; position: relative; padding-inline-start: 26px; }
.book__s::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: 0.6em; width: 14px; height: 8px; border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg); }
@media (max-width: 760px) {
  .book__head { display: none; }
  .book__row { grid-template-columns: 36px 1fr; gap: 6px 12px; }
  .book__p, .book__s { grid-column: 2; }
}

/* ---------- إطار نافذة التطبيق ---------- */
.winframe { border-radius: 18px; overflow: hidden; background: rgba(5, 14, 25, 0.5); border: 1px solid var(--glass-line); box-shadow: inset 0 1px 0 var(--glass-hi), 0 40px 80px -30px rgba(0, 0, 0, 0.8); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
html[data-shots="light"] .winframe { background: rgba(255, 255, 255, 0.55); }
.winbar { display: flex; align-items: center; gap: 10px; padding: 9px 16px; font-size: 0.8125rem; color: var(--muted); background: rgba(255, 255, 255, 0.06); border-block-end: 1px solid var(--rule); }
.winbar img { width: 18px; height: 18px; }
.winbar b { font-weight: 500; color: var(--text); font-family: var(--f-display); }
.winbar .cap { margin-inline-start: auto; font-size: 0.78rem; color: var(--faint); }
.winframe .shotbtn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; line-height: 0; }
.winframe img.shot { display: block; width: 100%; height: auto; }
.t-light { display: none !important; }
html[data-shots="light"] .t-light { display: block !important; }
html[data-shots="light"] .t-dark { display: none !important; }

/* لمحة تحت البطل */
.peek { margin-block-start: -8px; position: relative; z-index: 2; }
.peek .winframe { max-width: 1100px; margin-inline: auto; }

/* ---------- جولة داخل النظام (معرض) ---------- */
.features .orb--a { inset-block-start: 8%; inset-inline-end: -200px; opacity: 0.45; }
.features .orb--c { inset-block-end: 0; inset-inline-start: -160px; opacity: 0.4; }
.tour-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-block-end: 26px; }
.tour-tools p { color: var(--muted); font-size: 0.95rem; }
.themeswitch { display: inline-grid; grid-auto-flow: column; gap: 4px; padding: 4px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line); box-shadow: inset 0 1px 0 var(--glass-hi); margin-inline-start: auto; }
.themeswitch button { min-height: 38px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; font-family: var(--f-display); font-size: 0.9rem; transition: background .25s, color .25s; }
.themeswitch button[aria-pressed="true"] { background: linear-gradient(180deg, #4a95ff, #1f6ae6); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35); }

.gx { display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); gap: 24px; align-items: start; }
.gx__tabs { display: grid; gap: 8px; position: sticky; inset-block-start: 100px; }
.gx__tab {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; text-align: start; cursor: pointer;
  background: var(--glass); border: 1px solid var(--glass-line); border-radius: 14px; color: var(--muted);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: background .25s, color .25s, border-color .25s;
}
.gx__tab:hover { color: var(--text); background: var(--glass-strong); }
.gx__tab .n { font-family: var(--f-mono); font-size: 0.72rem; color: var(--faint); min-width: 18px; }
.gx__tab svg { width: 21px; height: 21px; flex: none; }
.gx__tab .t { font-family: var(--f-display); font-weight: 500; font-size: 0.95rem; line-height: 1.5; }
.gx__tab[aria-selected="true"] { color: var(--text); background: linear-gradient(135deg, rgba(47, 128, 255, 0.32), rgba(34, 195, 238, 0.14)); border-color: rgba(120, 190, 255, 0.55); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 14px 34px -16px rgba(47, 128, 255, 0.8); }
.gx__tab[aria-selected="true"] svg { color: var(--cyan); }
.gx__panel { padding: clamp(18px, 2.6vw, 32px); }
.gx__panel[hidden] { display: none; }
.gx__panel.is-in { animation: panelIn .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.gx__head h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.4; margin-block-end: 6px; }
.gx__head p { color: var(--muted); max-width: 62ch; margin-block-end: 22px; }
.gx__stage { margin: 0; }
.gx__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; margin-block-start: 14px; }
.gx__thumb { display: grid; gap: 6px; padding: 6px; text-align: start; cursor: pointer; border-radius: 12px; border: 1px solid var(--glass-line); background: var(--glass); color: var(--muted); font-size: 0.78rem; line-height: 1.5; transition: border-color .25s, background .25s, transform .25s; }
.gx__thumb:hover { transform: translateY(-2px); background: var(--glass-strong); }
.gx__thumb img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 8px; display: block; background: rgba(0, 0, 0, 0.3); }
.gx__thumb.is-on { border-color: rgba(120, 190, 255, 0.7); color: var(--text); box-shadow: 0 0 0 3px rgba(47, 128, 255, 0.22); }
.gx__list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 28px; margin-block-start: 26px; }
.gx__list li { position: relative; padding: 11px 0; padding-inline-start: 26px; border-block-start: 1px solid var(--rule); color: var(--muted); font-size: 0.97rem; line-height: 1.75; }
.gx__list li::before { content: ""; position: absolute; inset-inline-start: 2px; inset-block-start: 1.15em; width: 12px; height: 6px; border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg); }
.gx__note { margin-block-start: 14px; font-size: 0.78rem; color: var(--faint); }
@media (max-width: 960px) {
  .gx { grid-template-columns: 1fr; }
  .gx__tabs { position: static; display: flex; overflow-x: auto; gap: 8px; padding-block-end: 6px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-snap-type: x proximity; scrollbar-width: none; }
  .gx__tabs::-webkit-scrollbar { display: none; }
  .gx__tab { width: auto; flex: none; scroll-snap-align: start; padding: 10px 16px; }
  .gx__tab .n { display: none; }
  .gx__list { grid-template-columns: 1fr; }
  .themeswitch { margin-inline-start: 0; }
}

/* ---------- الفواتير بمقاساتها ---------- */
.inv .orb--n { inset-block-start: 10%; inset-inline-start: -260px; }
.inv-row { --mm: 1.9px; display: flex; align-items: flex-end; justify-content: safe center; gap: clamp(14px, 3vw, 40px); overflow-x: auto; padding: 8px 4px 28px; scrollbar-width: thin; }
.inv-item { flex: none; margin: 0; display: grid; gap: 14px; justify-items: center; }
.inv-item .paper { display: block; padding: 0; border: 0; background: #fff; cursor: zoom-in; width: calc(var(--mm) * var(--w)); border-radius: 6px; box-shadow: 0 30px 60px -22px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.18); transition: transform .4s cubic-bezier(.2, .8, .2, 1); line-height: 0; overflow: hidden; }
.inv-item .paper:hover { transform: translateY(-6px); }
.inv-item .paper img { width: 100%; height: auto; display: block; }
.inv-item figcaption { text-align: center; line-height: 1.5; }
.inv-item figcaption b { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; }
.inv-item figcaption span { color: var(--muted); font-size: 0.85rem; }
@media (min-width: 1100px) { .inv-row { --mm: 1.95px; } }
@media (min-width: 1280px) { .inv-row { --mm: 2.1px; } }
.inv-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 28px; margin-block-start: 34px; }
.inv-points li { padding: 12px 0; border-block-start: 1px solid var(--rule); color: var(--muted); font-size: 0.97rem; line-height: 1.75; }
.inv-points b { color: var(--text); font-weight: 500; display: block; font-family: var(--f-display); }
@media (max-width: 760px) { .inv-points { grid-template-columns: 1fr; } }

/* ---------- تيليجرام ---------- */
.tg .orb--a { inset-block-start: -100px; inset-inline-start: -160px; }
.tg .orb--c { inset-block-end: -120px; inset-inline-end: -120px; }
.tg__grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.steps { display: grid; gap: 0; margin-block-start: 34px; counter-reset: s; }
.steps li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding-block-end: 26px; counter-increment: s; }
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  font-family: var(--f-mono); color: var(--cyan); background: var(--glass); border: 1px solid var(--glass-line); box-shadow: inset 0 1px 0 var(--glass-hi); z-index: 1;
}
.steps li::after { content: ""; position: absolute; inset-inline-start: 21.5px; inset-block: 44px 0; width: 1px; background: linear-gradient(var(--glass-hi), transparent); }
.steps li:last-child { padding-block-end: 0; }
.steps li:last-child::after { display: none; }
.steps h4 { font-family: var(--f-display); font-weight: 500; font-size: 1.05rem; line-height: 1.5; padding-block-start: 8px; }
.steps p { color: var(--muted); font-size: 0.95rem; }
.kinds { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 28px; }
.kinds span { padding: 6px 16px; border-radius: 999px; font-size: 0.875rem; background: var(--glass); border: 1px solid var(--glass-line); color: var(--muted); }
.kinds span.free { color: #04121f; background: var(--cyan); border-color: transparent; font-weight: 600; }
.tgstack { padding: clamp(16px, 2.4vw, 26px); display: grid; gap: 16px; position: sticky; inset-block-start: 100px; }
.tgstack figure { margin: 0; display: grid; gap: 8px; }
.tgstack .bubble { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; line-height: 0; }
.tgstack .bubble img { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 14px 32px -14px rgba(0, 0, 0, 0.6); }
.tgstack figcaption { font-size: 0.8rem; color: var(--faint); padding-inline: 6px; }
.tgstack h3 { font-family: var(--f-display); font-weight: 500; font-size: 1rem; padding-inline: 4px; }
.tg__more { margin-block-start: clamp(36px, 5vw, 64px); }
.pdfrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-block-start: 22px; }
.pdfrow figure { margin: 0; display: grid; gap: 10px; }
.pdfrow button { padding: 0; border: 0; background: #fff; cursor: zoom-in; border-radius: 6px; line-height: 0; overflow: hidden; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.18); }
.pdfrow img { width: 100%; height: auto; display: block; }
.pdfrow figcaption { text-align: center; color: var(--muted); font-size: 0.9rem; }
@media (max-width: 900px) { .tg__grid { grid-template-columns: 1fr; } .tgstack { position: static; } }

/* ---------- مكبّر الصور ---------- */
.lb { width: min(96vw, 1500px); max-width: none; max-height: 94vh; padding: 0; border: 1px solid var(--glass-line); border-radius: 18px; background: rgba(6, 16, 28, 0.96); color: var(--text); overflow: hidden; }
.lb::backdrop { background: rgba(2, 8, 16, 0.78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lb__body { display: grid; grid-template-rows: auto 1fr auto; max-height: 94vh; }
.lb__bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-block-end: 1px solid var(--rule); }
.lb__cap { font-family: var(--f-display); font-size: 0.95rem; flex: 1; min-width: 0; }
.lb__count { font-family: var(--f-mono); font-size: 0.8rem; color: var(--faint); }
.lb button.ic { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--glass-line); background: var(--glass); color: var(--text); cursor: pointer; font-size: 1.2rem; line-height: 1; }
.lb button.ic:hover { background: var(--glass-strong); }
.lb__img { overflow: auto; display: grid; place-items: start center; padding: 14px; background: rgba(255, 255, 255, 0.03); }
.lb__img img { max-width: 100%; height: auto; display: block; border-radius: 8px; }
.lb__nav { display: flex; justify-content: center; gap: 12px; padding: 10px; border-block-start: 1px solid var(--rule); }
.lb--single .lb__nav, .lb--single .lb__count { display: none; }

/* ---------- الأمان ---------- */
.sec-box .orb--n { inset-block-start: 20%; inset-inline-end: -240px; }
.sec-box__grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.dia { padding: clamp(22px, 3vw, 36px); }
.dia svg { width: 100%; height: auto; overflow: visible; }
.dia text { font-family: var(--f-body); fill: var(--text); font-size: 13px; }
.dia .m { font-family: var(--f-mono); fill: var(--muted); font-size: 11px; }
.dia__note { margin-block-start: 12px; font-size: 0.875rem; color: var(--muted); text-align: center; }
.assure { margin-block-start: 8px; }
.assure li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding-block: 18px; border-block-start: 1px solid var(--rule); }
.assure li:last-child { border-block-end: 1px solid var(--rule); }
.assure svg { width: 28px; height: 28px; color: var(--cyan); margin-block-start: 2px; }
.assure h4 { font-family: var(--f-display); font-weight: 500; font-size: 1.05rem; line-height: 1.5; }
.assure p { color: var(--muted); font-size: 0.95rem; }
.note { margin-block-start: 24px; padding: 16px 20px; font-size: 0.9375rem; color: var(--muted); border-radius: 14px; border-inline-start: 3px solid var(--signal); }
@media (max-width: 900px) { .sec-box__grid { grid-template-columns: 1fr; } }

/* ---------- لمن ---------- */
.who__list { border-block-start: 1px solid var(--glass-line); }
.who__item { display: grid; grid-template-columns: 70px 1fr 1.2fr; gap: 12px 28px; align-items: baseline; padding-block: clamp(20px, 3vw, 34px); border-block-end: 1px solid var(--glass-line); transition: padding .3s cubic-bezier(.2, .8, .2, 1), background .3s; position: relative; }
.who__item::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 0; background: linear-gradient(90deg, rgba(34, 195, 238, 0.14), transparent); transition: width .4s cubic-bezier(.2, .8, .2, 1); }
html[dir="rtl"] .who__item::before { background: linear-gradient(270deg, rgba(34, 195, 238, 0.14), transparent); }
.who__item:hover::before { width: 100%; }
.who__item:hover { padding-inline-start: 14px; }
.who__item > * { position: relative; }
.who__item .mono { color: var(--faint); font-size: 0.85rem; }
.who__item h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.3rem, 2.8vw, 2.1rem); line-height: 1.4; }
.who__item p { color: var(--muted); }
@media (max-width: 760px) { .who__item { grid-template-columns: 40px 1fr; } .who__item p { grid-column: 2; } }

/* ---------- المتطلبات ---------- */
.dl__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.spec { padding: clamp(20px, 3vw, 34px); }
.spec h3, .inst h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; margin-block-end: 18px; }
.spec table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.spec th, .spec td { text-align: start; padding: 13px 0; border-block-end: 1px solid var(--rule); vertical-align: top; }
.spec thead th { color: var(--faint); font-weight: 400; font-size: 0.8rem; padding-block-start: 0; }
.spec tbody th { color: var(--muted); font-weight: 400; width: 26%; }
.spec td { padding-inline-end: 10px; }
.spec .ok { color: var(--cyan); }
.inst { padding: clamp(20px, 3vw, 34px); }
.inst .steps { margin-block-start: 0; }
.inst .steps li { padding-block-end: 20px; }
.tech { margin-block-start: 22px; padding-block-start: 18px; border-block-start: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 8px; }
.tech span { font-family: var(--f-mono); font-size: 0.75rem; padding: 3px 12px; border-radius: 999px; border: 1px solid var(--glass-line); color: var(--muted); direction: ltr; }
@media (max-width: 900px) { .dl__grid { grid-template-columns: 1fr; } }

/* ---------- الأسعار (فاتح) ---------- */
.price { display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; overflow: hidden; }
.price__l { padding: clamp(26px, 4vw, 52px); }
.price__r { padding: clamp(26px, 4vw, 52px); background: rgba(255, 255, 255, 0.45); border-inline-start: 1px solid var(--glass-line); }
.price__r h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; margin-block-end: 8px; }
.price__ask { display: inline-flex; align-items: baseline; gap: 12px; margin-block: 18px 22px; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.3; }
.price__ask small { font-size: 1rem; font-weight: 400; color: var(--muted); }
.price__r li { position: relative; padding: 12px 0; padding-inline-start: 28px; border-block-end: 1px solid var(--rule); font-size: 0.97rem; }
.price__r li:last-child { border-block-end: 0; }
.price__r li::before { content: ""; position: absolute; inset-inline-start: 2px; inset-block-start: 1.15em; width: 12px; height: 6px; border-left: 2px solid #0a6fae; border-bottom: 2px solid #0a6fae; transform: rotate(-45deg); }
.light .btn--glass { color: var(--text); border-color: rgba(12, 27, 45, 0.18); background: rgba(255, 255, 255, 0.55); }
@media (max-width: 860px) { .price { grid-template-columns: 1fr; } .price__r { border-inline-start: 0; border-block-start: 1px solid var(--glass-line); } }

/* ---------- الأسئلة ---------- */
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq__grid .sec-head { position: sticky; inset-block-start: 110px; margin: 0; }
.faq__list { display: grid; gap: 10px; }
.qa { border-radius: 16px; overflow: hidden; }
.qa summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; font-family: var(--f-display); font-weight: 500; font-size: 1.02rem; line-height: 1.6; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; margin-inline-start: auto; flex: none; width: 28px; height: 28px; border-radius: 50%; background:
  linear-gradient(currentColor, currentColor) center / 12px 1.6px no-repeat,
  linear-gradient(currentColor, currentColor) center / 1.6px 12px no-repeat; border: 1px solid var(--rule); transition: transform .35s cubic-bezier(.2, .8, .2, 1), background-size .25s; }
.qa[open] summary::after { transform: rotate(180deg); background-size: 12px 1.6px, 1.6px 0; }
.qa__a { padding: 0 22px 20px; color: var(--muted); max-width: 64ch; }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } .faq__grid .sec-head { position: static; } }

/* ---------- تواصل ---------- */
.contact .orb--a { inset-block-start: -120px; inset-inline-end: -140px; }
.contact .orb--c { inset-block-end: -160px; inset-inline-start: -120px; }
.contact__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.ways { margin-block-start: 30px; display: grid; gap: 12px; }
.way { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 16px; transition: transform .25s, background .25s; }
.way:hover { transform: translateX(-4px); background: var(--glass-strong); }
.way svg { width: 24px; height: 24px; color: var(--cyan); flex: none; }
.way small { display: block; color: var(--faint); font-size: 0.8rem; line-height: 1.5; }
.way b { font-family: var(--f-mono); font-weight: 400; direction: ltr; unicode-bidi: isolate; display: inline-block; font-size: 1.05rem; }
.way b.ar { font-family: var(--f-body); direction: rtl; }
.form { padding: clamp(22px, 3.4vw, 40px); display: grid; gap: 18px; }
.form h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.4rem; }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.9rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--glass-line); background: rgba(0, 0, 0, 0.22);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 112px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: 18px 54%, 24px 54%; background-size: 6px 6px; background-repeat: no-repeat; padding-inline-start: 44px; }
.field select option { color: #0c1b2d; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(34, 195, 238, 0.18); background: rgba(0, 0, 0, 0.3); }
.field ::placeholder { color: var(--faint); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__hint { font-size: 0.85rem; color: var(--faint); }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- التذييل ---------- */
.foot { position: relative; padding-block: 48px 36px; border-block-start: 1px solid var(--rule); background: var(--night); }
.foot__row { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--muted); font-size: 0.9375rem; }
.foot__links a:hover { color: var(--text); }
.foot__small { margin-block-start: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: var(--faint); font-size: 0.85rem; }

/* ---------- صفحة الشروط ---------- */
.doc { padding-block: clamp(120px, 14vw, 170px) clamp(64px, 8vw, 110px); }
.doc__body { padding: clamp(24px, 4vw, 56px); max-width: 860px; }
.doc h1 { font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.3; margin-block: 14px 12px; }
.doc h2 { font-family: var(--f-display); font-weight: 600; font-size: 1.35rem; margin-block: 36px 10px; }
.doc p, .doc li { color: var(--muted); }
.doc ul { display: grid; gap: 8px; margin-block-start: 8px; }
.doc li { position: relative; padding-inline-start: 22px; }
.doc li::before { content: ""; position: absolute; inset-inline-start: 2px; inset-block-start: 0.85em; width: 8px; height: 8px; border-radius: 2px; background: var(--cyan); }

/* ---------- ظهور عند التمرير ---------- */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
}
@media (prefers-contrast: more) {
  :root { --glass: rgba(255, 255, 255, 0.12); --glass-line: rgba(255, 255, 255, 0.4); --muted: #c7d4e2; }
}

.band-light > .sec { background: none; }

/* شريط نافذة اللقطة في المظهر الفاتح */
html[data-shots="light"] .winbar { background: rgba(214, 226, 243, 0.92); color: #3b5068; border-block-end-color: rgba(12, 27, 45, 0.12); }
html[data-shots="light"] .winbar b { color: #0c1b2d; }
html[data-shots="light"] .winbar .cap { color: #50657c; }
html[data-shots="light"] .winframe { border-color: rgba(255, 255, 255, 0.7); }
.winbar .cap { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) { .winbar .cap { display: none; } }

/* ---------- خطط الأسعار في الصفحة الرئيسية ---------- */
.pcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-block-end: 22px; align-items: stretch; }
.pcard { position: relative; display: flex; flex-direction: column; gap: 6px; padding: clamp(22px, 3vw, 32px); }
.pcard h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.25rem; }
.pcard__sub { color: var(--muted); font-size: 0.95rem; }
.pcard__price { display: flex; align-items: baseline; gap: 10px; margin-block-start: 10px; }
.pcard__price b { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.2rem, 4vw, 2.9rem); line-height: 1.1; }
.pcard__price small { color: var(--muted); font-size: 1rem; }
.pcard__sdg { color: var(--faint); font-size: 0.9rem; min-height: 1.6em; }
.pcard ul { display: grid; gap: 4px; margin-block: 14px 20px; flex: 1; }
.pcard li { position: relative; padding: 7px 0; padding-inline-start: 26px; border-block-end: 1px solid var(--rule); font-size: 0.95rem; }
.pcard li:last-child { border-block-end: 0; }
.pcard li::before { content: ""; position: absolute; inset-inline-start: 2px; inset-block-start: 1.05em; width: 12px; height: 6px; border-left: 2px solid #0a8f5b; border-bottom: 2px solid #0a8f5b; transform: rotate(-45deg); }
.pcard .btn { justify-content: center; }
.pcard--best { border-color: var(--azure); box-shadow: inset 0 1px 0 #fff, 0 30px 70px -30px rgba(47, 128, 255, 0.55); }
.pcard__tag { position: absolute; inset-block-start: -13px; inset-inline-start: 20px; padding: 3px 14px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; background: #0a8f5b; color: #fff; }
.pcard__note { color: var(--muted); font-size: 0.97rem; margin-block-end: 26px; }
.pcard__note b { color: var(--text); }
.pcard__note a { color: #0a6fae; text-decoration: underline; text-underline-offset: 3px; }
