/* ==========================================================================
   برنك — نظام تصميم الصفحات العامة (brinq-site.css)
   --------------------------------------------------------------------------
   • ملف واحد لكل الصفحات العامة: الرئيسية، الدعم، عن برنك، انضم إلينا،
     صفحة التحميل /go، والصفحات القانونية.
   • ألوان الهوية مأخوذة من شعار برنك الرسمي: الأخضر #10A376 والكحلي #16223A.
   • الخط: Cairo (مستضاف على سيرفرنا — رخصة SIL OFL 1.1) = سرعة + خصوصية.
   • كل الاتجاهات بخصائص منطقية (inline-start/end) فيشتغل نفس الملف
     للعربي (RTL) والإنجليزي (LTR) بدون تكرار.
   • ما فيه أي مكتبة خارجية (لا Bootstrap ولا CDN).
   ========================================================================== */

/* ---------- 1) الخطوط ---------- */
@font-face {
  font-family: 'Cairo Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url(/fonts/cairo-arabic-wght-v5.woff2) format('woff2-variations'), url(/fonts/cairo-arabic-wght-v5.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: 'Cairo Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url(/fonts/cairo-latin-ext-wght-v5.woff2) format('woff2-variations'), url(/fonts/cairo-latin-ext-wght-v5.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cairo Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url(/fonts/cairo-latin-wght-v5.woff2) format('woff2-variations'), url(/fonts/cairo-latin-wght-v5.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- 2) متغيرات الهوية ---------- */
:root {
  --g-900: #064532;
  --g-800: #075F45;
  --g-700: #0A7C59;
  --g-600: #0C8F66;
  --g-500: #10A376;
  --g-400: #2DBD8B;
  --g-300: #7ADBB6;
  --g-200: #BCEEDA;
  --g-100: #DDF6EC;
  --g-50:  #F0FAF6;

  --n-950: #0A1322;
  --n-900: #0F1B2E;
  --n-800: #16223A;
  --n-700: #22314F;
  --n-600: #34456A;
  --n-500: #52638A;
  --n-400: #7B89A6;
  --n-300: #AEB8CC;
  --n-200: #D5DBE6;
  --n-100: #E9EDF3;
  --n-50:  #F5F7FA;

  --amber: #F4B740;
  --paper: #FAF8F3;
  --mint-bg: #F3F7F5;

  --ink: var(--n-800);
  --ink-2: #47566F;
  --ink-3: #5F6C83;
  --line: #E4E9EF;
  --line-2: #EEF1F5;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 10px 28px -8px rgba(16, 24, 40, .12);
  --shadow-lg: 0 2px 6px rgba(16, 24, 40, .05), 0 28px 64px -16px rgba(16, 24, 40, .24);

  --font: 'Cairo Variable', 'Cairo', system-ui, -apple-system, 'Segoe UI', Tahoma, Arial, sans-serif;
  --fs-h1: clamp(2.05rem, 1.2rem + 2.75vw, 3.35rem);
  --fs-h2: clamp(1.75rem, 1.2rem + 1.9vw, 2.65rem);
  --fs-lead: clamp(1.05rem, .98rem + .35vw, 1.24rem);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --section-y: clamp(64px, 8.5vw, 120px);
}

/* ---------- 3) الأساس ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
html[lang="en"] body { line-height: 1.65; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; color: var(--n-800); font-weight: 800; line-height: 1.3; letter-spacing: 0; }
html[lang="en"] h1, html[lang="en"] h2 { letter-spacing: -.015em; line-height: 1.15; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--g-200); color: var(--n-900); }
:focus-visible { outline: 3px solid rgba(16, 163, 118, .5); outline-offset: 2px; border-radius: 8px; }
.ic { flex: none; fill: none; stroke: currentColor; stroke-width: 1.85; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .ic--flip { transform: scaleX(-1); }
.num, [dir="ltr"].num { font-variant-numeric: tabular-nums; }

/* ---------- 4) أدوات عامة ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }
.section { padding-block: var(--section-y); position: relative; }
.section--soft { background: var(--n-50); }
.section--mint { background: var(--mint-bg); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--n-900); color: #C9D2E0; }
.section--dark h2, .section--dark h3 { color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--n-800); color: #fff; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 12px; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: .9rem; font-weight: 750; color: var(--g-700); }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.section--dark .eyebrow { color: var(--g-300); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head h2 { font-size: var(--fs-h2); text-wrap: balance; }
.section-head p { margin: 16px 0 0; font-size: var(--fs-lead); color: var(--ink-2); text-wrap: pretty; }
.section--dark .section-head p { color: #AEB9CB; }
.lead { font-size: var(--fs-lead); color: var(--ink-2); text-wrap: pretty; }
.hl {
  color: var(--g-600);
  background: linear-gradient(transparent 74%, rgba(16, 163, 118, .2) 74%, rgba(16, 163, 118, .2) 94%, transparent 94%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-inline: .06em;
}

/* شارات صغيرة */
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: .88rem; font-weight: 700; color: var(--n-700); line-height: 1.5; }
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--g-500); box-shadow: 0 0 0 4px rgba(16, 163, 118, .16); flex: none; }
.chip--dark { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: #DDE5F0; box-shadow: none; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 750; background: var(--g-50); color: var(--g-700); line-height: 1.6; }
.tag--navy { background: var(--n-100); color: var(--n-700); }
.tag--amber { background: #FFF5DE; color: #8A5A00; }

/* ---------- 5) الأزرار ---------- */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  height: var(--h); padding-inline: 1.35em; border-radius: 14px;
  font-weight: 750; font-size: 1rem; line-height: 1; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; user-select: none;
  transition: transform .15s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: #0A8560; color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 8px 20px -10px rgba(16, 163, 118, .75); }
.btn--primary:hover { background: var(--g-700); }
.btn--dark { background: var(--n-800); color: #fff; }
.btn--dark:hover { background: var(--n-700); }
.btn--ghost { background: transparent; color: var(--n-800); border-color: var(--line); }
.btn--ghost:hover { background: #fff; border-color: var(--n-300); }
.btn--light { background: #fff; color: var(--n-800); }
.btn--light:hover { background: var(--g-50); }
.btn--outline-light { color: #fff; border-color: rgba(255, 255, 255, .26); background: rgba(255, 255, 255, .04); }
.btn--outline-light:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .08); }
.btn--lg { --h: 56px; font-size: 1.06rem; padding-inline: 1.6em; border-radius: 16px; }
.btn--sm { --h: 42px; font-size: .95rem; padding-inline: 1.05em; border-radius: 12px; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .65; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 750; color: var(--g-700); }
.link-arrow:hover { color: var(--g-800); }
.link-arrow:hover .ic { transform: translateX(3px); }
[dir="rtl"] .link-arrow:hover .ic { transform: scaleX(-1) translateX(3px); }
.link-arrow .ic { transition: transform .2s; }

/* ---------- 6) الهيدر ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(16, 24, 40, .5); }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--n-800); font-weight: 850; font-size: 1.45rem; line-height: 1; flex: none; }
.brand__mark { width: 40px; height: 40px; }
html[lang="en"] .brand__word { font-size: 1.3rem; letter-spacing: -.01em; }
.site-nav { display: flex; align-items: center; gap: 2px; margin-inline-start: 18px; }
.site-nav a { padding: 8px 13px; border-radius: 10px; color: var(--ink-2); font-weight: 650; font-size: .98rem; transition: color .2s, background-color .2s; }
.site-nav a:hover { color: var(--n-800); background: var(--n-50); }
.site-nav a[aria-current="page"] { color: var(--g-700); background: var(--g-50); }
.site-header__actions { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 10px; color: var(--ink-2); font-weight: 650; font-size: .93rem; transition: color .2s, background-color .2s; }
.lang-switch:hover { color: var(--n-800); background: var(--n-50); }
.lang-switch--light { color: #AEB8CC; }
.lang-switch--light:hover { color: #fff; background: rgba(255, 255, 255, .06); }

.nav-toggle { display: none; }
.nav-toggle > summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--n-800); cursor: pointer; }
.nav-toggle > summary::-webkit-details-marker { display: none; }
.nav-toggle__close { display: none; }
.nav-toggle[open] .nav-toggle__close { display: block; }
.nav-toggle[open] .nav-toggle__open { display: none; }
.nav-panel {
  position: absolute; inset-inline: 0; top: var(--header-h);
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(16, 24, 40, .35);
  padding: 8px var(--gutter) 20px;
  max-height: calc(100dvh - var(--header-h)); overflow: auto;
}
.nav-panel nav a { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--line-2); font-weight: 700; font-size: 1.05rem; color: var(--n-800); }
.nav-panel nav a[aria-current="page"] { color: var(--g-700); }
.nav-panel nav a .ic { color: var(--ink-3); }
.nav-panel__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.nav-panel__actions .btn[data-auth="user"] { grid-column: 1 / -1; }

/* ---------- 6.5) الفوتر ---------- */
.site-footer { background: var(--n-950); color: #AEB8CC; padding-block: clamp(56px, 7vw, 84px) 28px; }
.site-footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 48px); }
.site-footer h2 { font-size: .95rem; color: #fff; font-weight: 800; margin: 6px 0 14px; }
.site-footer__col a { display: block; padding: 5px 0; color: #AEB8CC; font-size: .97rem; transition: color .2s; }
.site-footer__col a:hover { color: #fff; }
.site-footer__brand p { color: #9AA6BC; max-width: 38ch; margin: 16px 0 18px; font-size: .98rem; }
.brand--light { color: #fff; }
.brand__tile { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: #fff; flex: none; }
.footer-mail { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .12); color: #fff; font-weight: 700; transition: border-color .2s, background-color .2s; }
.footer-mail:hover { border-color: rgba(122, 219, 182, .5); background: rgba(255, 255, 255, .04); }
.footer-mail .ic { color: var(--g-300); }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: clamp(36px, 5vw, 56px); padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .9rem; color: #8592A9; }
.site-footer__bottom p { margin: 0; }

/* ---------- 7) شارات المتاجر ---------- */
.store-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.store-badge {
  --bh: 48px;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center;
  height: var(--bh); border-radius: 9px;
  background: #000; color: #fff; overflow: hidden;
  transition: transform .15s ease, box-shadow .2s ease;
  direction: ltr;
}
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .55); }
.store-badge--apple { width: calc(var(--bh) * 3.012); }
.store-badge--google { width: calc(var(--bh) * 3.357); }
.store-badge img { position: absolute; z-index: 1; max-width: none; }
.store-badge--apple img { inset: 0; width: 100%; height: 100%; }
.store-badge--google img { top: -24.4%; left: -7.27%; width: 114.54%; height: 148.8%; }
.store-badge__fallback { display: flex; flex-direction: column; justify-content: center; padding-inline: 14px; line-height: 1.15; font-family: system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; }
.store-badge__fallback small { font-size: calc(var(--bh) * .2); opacity: .88; font-weight: 600; }
.store-badge__fallback b { font-size: calc(var(--bh) * .36); font-weight: 700; letter-spacing: .01em; }
.store-badge.is-loaded { background: transparent; }
.store-badge--apple.is-loaded { overflow: visible; }
.store-badge.is-loaded .store-badge__fallback { visibility: hidden; }
.store-badges--sm .store-badge { --bh: 40px; }
.store-badges--lg .store-badge { --bh: 56px; }

/* ---------- 8) الهيرو (الرئيسية) ---------- */
.hero { position: relative; overflow: clip; background: linear-gradient(180deg, #EEF5F1 0%, #F5F8F7 55%, #fff 100%); padding-block: clamp(32px, 4.5vw, 64px) clamp(28px, 3.5vw, 48px); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(22, 34, 58, .11) 1px, transparent 1.3px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 35%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 70% at 50% 35%, #000 25%, transparent 78%);
}
.hero::after { content: ""; position: absolute; width: 760px; height: 760px; inset-inline-end: -220px; top: -180px; pointer-events: none; background: radial-gradient(closest-side, rgba(16, 163, 118, .16), transparent); }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); gap: clamp(28px, 4.5vw, 64px); align-items: center; }
.hero__copy h1 { margin: 20px 0 18px; font-size: var(--fs-h1); line-height: 1.3; font-weight: 850; text-wrap: balance; }
.hero__copy h1 .hl { display: block; margin-top: .1em; font-size: .74em; background: none; padding: 0; color: var(--g-600); }
html[lang="en"] .hero__copy h1 { line-height: 1.08; }
.hero__copy .lead { max-width: 33em; margin: 0; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__stores { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 24px; }
.hero__stores > span { font-size: .9rem; color: var(--ink-3); font-weight: 650; }

/* شريط الثقة تحت الهيرو */
.trust { position: relative; z-index: 2; margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.trust__item { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-inline-start: 1px solid var(--line-2); }
.trust__item:first-child { border-inline-start: 0; }
.trust__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--g-50); color: var(--g-600); flex: none; }
.trust__item b { display: block; font-size: 1rem; font-weight: 800; color: var(--n-800); line-height: 1.35; }
.trust__item small { display: block; font-size: .86rem; color: var(--ink-3); line-height: 1.5; margin-top: 2px; }

/* ---------- 9) مجسم الكاشير (HTML/CSS خالص — بدون صور) ---------- */
.hero__visual { position: relative; min-width: 0; container-type: inline-size; }
.stage { position: relative; font-size: 8.6px; font-size: calc(100cqi / 63); padding-block: 3em 5.5em; padding-inline-start: 5em; }
.pos {
  position: relative; width: 58em; aspect-ratio: 4 / 3;
  border-radius: 3.2em; padding: 1.5em;
  background: linear-gradient(150deg, #24324D 0%, #0E1729 60%, #0A1220 100%);
  box-shadow: inset 0 0 0 .2em #33435F, 0 3.4em 6em -2.4em rgba(10, 19, 34, .5), 0 1.2em 2.4em -1.2em rgba(10, 19, 34, .35);
}
.pos__screen { height: 100%; border-radius: 1.8em; overflow: hidden; background: #F3F5F8; display: grid; grid-template-rows: 4.8em minmax(0, 1fr); }
.pos__bar { display: flex; align-items: center; gap: 1em; padding-inline: 1.6em; background: #fff; border-bottom: .1em solid #E6EAF0; }
.pos__bar img { width: 2.6em; height: 2.6em; }
.pos__store { font-weight: 800; font-size: 1.35em; color: var(--n-800); line-height: 1.2; }
.pos__shift { font-size: 1em; font-weight: 700; color: var(--g-700); background: var(--g-50); padding: .25em .8em; border-radius: 1em; line-height: 1.5; }
.pos__status { margin-inline-start: auto; display: flex; align-items: center; gap: .5em; font-size: 1.02em; font-weight: 700; color: var(--ink-3); }
.pos__status i { width: .7em; height: .7em; border-radius: 50%; background: var(--g-500); box-shadow: 0 0 0 .3em rgba(16, 163, 118, .18); }
.pos__time { font-size: 1.05em; font-weight: 800; color: var(--n-700); direction: ltr; }
.pos__body { display: grid; grid-template-columns: minmax(0, 1fr) 20.5em; min-height: 0; }
.pos__products { padding: 1.4em; min-width: 0; overflow: hidden; }
.pos__tabs { display: flex; gap: .7em; margin-bottom: 1.2em; }
.pos__tabs span { font-size: 1.05em; font-weight: 700; padding: .35em 1em; border-radius: 1em; background: #fff; color: var(--ink-2); border: .1em solid #E6EAF0; line-height: 1.5; white-space: nowrap; }
.pos__tabs span.on { background: var(--n-800); border-color: var(--n-800); color: #fff; }
.pos__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1em; }
.pitem { background: #fff; border: .1em solid #E6EAF0; border-radius: 1.2em; padding: .8em; }
.pitem__thumb { height: 5.6em; border-radius: .9em; display: grid; place-items: center; margin-bottom: .7em; }
.pitem__thumb .ic { width: 2.6em; height: 2.6em; stroke-width: 1.6; }
.pitem b { display: block; font-size: 1.1em; font-weight: 800; color: var(--n-800); line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pitem span { display: block; font-size: 1em; font-weight: 700; color: var(--ink-3); line-height: 1.5; }
.pitem.sel { border-color: var(--g-400); box-shadow: 0 0 0 .2em rgba(16, 163, 118, .14); }
.t-1 { background: #F6EDE3; color: #8A5A2B; } .t-2 { background: #E7F3EE; color: #0A7C59; } .t-3 { background: #EAF0FB; color: #3456A4; }
.t-4 { background: #FDF0E6; color: #B5651D; } .t-5 { background: #F3ECF8; color: #7A4BA0; } .t-6 { background: #FFF6DB; color: #9A6B00; }
.pos__ticket { background: #fff; border-inline-start: .1em solid #E6EAF0; padding: 1.4em; display: flex; flex-direction: column; min-height: 0; }
.ticket__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1em; }
.ticket__head b { font-size: 1.3em; font-weight: 800; color: var(--n-800); }
.ticket__head span { font-size: .95em; font-weight: 700; color: var(--n-600); background: var(--n-100); padding: .2em .8em; border-radius: 1em; }
.ticket__row { display: grid; grid-template-columns: 2.4em minmax(0, 1fr) auto; align-items: center; gap: .6em; padding-block: .55em; border-bottom: .1em dashed #E6EAF0; }
.ticket__row i { font-style: normal; font-size: .95em; font-weight: 800; color: var(--g-700); background: var(--g-50); border-radius: .6em; text-align: center; line-height: 1.8; }
.ticket__row span { font-size: 1.05em; font-weight: 700; color: var(--n-800); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticket__row em { font-style: normal; font-size: 1.02em; font-weight: 700; color: var(--ink-2); direction: ltr; }
.ticket__sum { margin-top: auto; padding-top: .8em; }
.ticket__sum div { display: flex; justify-content: space-between; font-size: .98em; color: var(--ink-3); font-weight: 650; line-height: 1.9; }
.ticket__sum div em { font-style: normal; unicode-bidi: plaintext; }
.ticket__sum .total { color: var(--n-800); font-size: 1.32em; font-weight: 850; border-top: .1em solid #E6EAF0; margin-top: .4em; padding-top: .4em; }
.ticket__pay { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5em; margin-block: 1em; }
.ticket__pay span { font-size: .95em; font-weight: 750; text-align: center; padding: .55em 0; border-radius: .8em; border: .1em solid #E6EAF0; color: var(--ink-2); line-height: 1.4; white-space: nowrap; }
.ticket__pay span.on { border-color: var(--g-500); color: var(--g-700); background: var(--g-50); }
.ticket__cta { display: flex; align-items: center; justify-content: center; gap: .6em; height: 3.9em; border-radius: 1.1em; background: #0A8560; color: #fff; font-weight: 800; font-size: 1.15em; box-shadow: 0 .8em 1.6em -.8em rgba(16, 163, 118, .8); }
.ticket__cta .ic { width: 1.35em; height: 1.35em; }

/* الجوال (الفاتورة الإلكترونية) */
.rphone {
  position: absolute; z-index: 3; inset-inline-start: 0; bottom: 0;
  width: 19.5em; aspect-ratio: 9 / 18.6; padding: .85em; border-radius: 3em;
  background: linear-gradient(160deg, #24324D, #0A1220);
  box-shadow: inset 0 0 0 .18em #33435F, 0 3em 5em -2em rgba(10, 19, 34, .55);
}
.rphone::before { content: ""; position: absolute; z-index: 2; top: 1.5em; left: 50%; transform: translateX(-50%); width: 5.8em; height: 1.5em; border-radius: 1em; background: #0A1220; }
.rphone__screen { position: relative; height: 100%; border-radius: 2.3em; background: #fff; overflow: hidden; padding: 3.4em 1.7em 1.4em; display: flex; flex-direction: column; align-items: center; text-align: center; }
.rphone__screen img.logo { width: 3.4em; height: 3.4em; }
.r-store { margin-top: .4em; font-size: 1.3em; font-weight: 850; color: var(--n-800); line-height: 1.3; }
.r-type { font-size: .95em; font-weight: 700; color: var(--g-700); line-height: 1.5; }
.r-meta { width: 100%; margin-top: .9em; padding-block: .7em; border-block: .1em dashed #DDE3EA; }
.r-meta div, .r-items div { display: flex; justify-content: space-between; gap: .6em; font-size: .86em; color: var(--ink-3); font-weight: 650; line-height: 1.85; }
.r-meta div em, .r-items div em { font-style: normal; color: var(--n-700); direction: ltr; }
.r-items { width: 100%; padding-block: .6em; }
.r-items div { color: var(--n-700); font-size: .92em; }
.r-total { width: 100%; display: flex; justify-content: space-between; align-items: baseline; padding-top: .6em; border-top: .1em solid #E6EAF0; font-weight: 850; color: var(--n-800); font-size: 1.12em; }
.r-total em { font-style: normal; unicode-bidi: plaintext; }
.r-qr { width: 7.6em; height: 7.6em; margin-top: 1em; padding: .4em; border-radius: .6em; border: .1em solid #E6EAF0; }
.r-thanks { margin-top: auto; font-size: .88em; color: var(--ink-3); font-weight: 650; }

/* بطاقات عائمة حول المجسم */
.float-chip {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: .9em;
  padding: .95em 1.3em; border-radius: 1.3em; background: #fff;
  box-shadow: 0 1.8em 3.4em -1.2em rgba(16, 24, 40, .32), 0 0 0 .1em rgba(16, 24, 40, .06);
  font-size: 1.3em; white-space: nowrap; line-height: 1.4;
  animation: floaty 6s ease-in-out infinite;
}
.float-chip__icon { width: 2.5em; height: 2.5em; border-radius: .85em; display: grid; place-items: center; background: var(--g-50); color: var(--g-600); flex: none; }
.float-chip__icon .ic { width: 1.35em; height: 1.35em; }
.float-chip b { display: block; font-weight: 800; color: var(--n-800); font-size: 1em; }
.float-chip small { display: block; color: var(--ink-3); font-size: .8em; font-weight: 650; }
.float-chip--zatca { top: .4em; inset-inline-end: 6%; }
.float-chip--offline { bottom: 0; inset-inline-end: 3%; animation-delay: -3s; }
.float-chip--offline .float-chip__icon { background: #FFF5DE; color: #A26A00; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-.5em); } }

/* ---------- 10) المزايا (Bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; display: flex; flex-direction: column; padding: clamp(22px, 2.4vw, 30px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease; }
.tile:hover { box-shadow: var(--shadow); border-color: var(--n-200); }
.tile--xl { grid-column: span 4; grid-row: span 2; }
.tile--md { grid-column: span 2; }
.tile--third { grid-column: span 2; }
.tile__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--g-50); color: var(--g-600); margin-bottom: 18px; }
.tile__icon .ic { width: 24px; height: 24px; }
.tile h3 { font-size: 1.2rem; margin-bottom: 8px; }
.tile p { color: var(--ink-2); margin: 0; font-size: 1rem; }
.tile .tag { align-self: flex-start; margin-top: 14px; }
.tile--dark { background: var(--n-900); border-color: var(--n-900); color: #B9C4D6; }
.tile--dark h3 { color: #fff; }
.tile--dark p { color: #AEB9CB; }
.tile--dark .tile__icon { background: rgba(255, 255, 255, .07); color: var(--g-300); }
.tile--mint { background: linear-gradient(160deg, #F2FAF6, #fff 70%); }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.checks li { display: flex; align-items: flex-start; gap: 10px; font-weight: 650; color: var(--n-700); font-size: .98rem; line-height: 1.6; }
.checks li .ic { color: var(--g-500); margin-top: 3px; }
.tile--dark .checks li { color: #DCE3EE; }
.devices { margin-top: auto; padding-top: 28px; display: flex; align-items: flex-end; justify-content: center; gap: 14px; max-width: 460px; width: 100%; margin-inline: auto; }
.dev { position: relative; border-radius: 14px; background: linear-gradient(160deg, #24324D, #0E1729); box-shadow: inset 0 0 0 2px #33435F, 0 18px 34px -16px rgba(10, 19, 34, .5); padding: 7px; }
.dev__screen { width: 100%; height: 100%; border-radius: 9px; background: #F3F5F8; display: grid; place-items: center; overflow: hidden; }
.dev__screen img { width: 34%; max-width: 54px; }
.dev--laptop { width: 52%; aspect-ratio: 16 / 10; border-radius: 12px 12px 4px 4px; }
.dev--laptop::after { content: ""; position: absolute; left: -9%; right: -9%; bottom: -12px; height: 12px; border-radius: 0 0 14px 14px; background: linear-gradient(#D5DBE6, #AEB8CC); }
.dev--tablet { width: 26%; aspect-ratio: 3 / 4; }
.dev--phone { width: 13%; aspect-ratio: 9 / 18; border-radius: 12px; padding: 4px; }
.dev--phone .dev__screen { border-radius: 9px; }
.dev-labels { display: flex; justify-content: center; gap: 18px; margin-top: 26px; color: var(--ink-3); font-size: .9rem; font-weight: 700; }
.dev-labels span { display: inline-flex; align-items: center; gap: 6px; }
.mini-sync { margin-top: auto; padding-top: 22px; }
.mini-sync__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 12px; background: #FFF8E8; color: #8A5A00; font-size: .9rem; font-weight: 750; border: 1px dashed #F1D392; }
.mini-sync__bar + .mini-sync__bar { margin-top: 8px; background: var(--g-50); color: var(--g-700); border-color: var(--g-200); }
.mini-domain { margin-top: auto; padding-top: 22px; }
.mini-domain span { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: var(--n-50); border: 1px solid var(--line); color: var(--n-700); font-weight: 750; font-size: .95rem; direction: ltr; justify-content: flex-start; }
.mini-domain span i { width: 9px; height: 9px; border-radius: 50%; background: var(--g-500); }
.mini-kds { margin-top: auto; padding-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini-kds div { border-radius: 12px; padding: 10px 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; color: #DCE3EE; line-height: 1.55; }
.mini-kds div b { display: flex; justify-content: space-between; color: #fff; font-size: .95rem; }
.mini-kds div b em { font-style: normal; color: var(--g-300); direction: ltr; }
.mini-kds div.late b em { color: var(--amber); }
.mini-branches { margin-top: auto; padding-top: 22px; display: grid; gap: 8px; }
.mini-branches div { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line); font-size: .92rem; font-weight: 700; color: var(--n-700); background: #fff; }
.mini-branches div em { font-style: normal; color: var(--g-700); direction: ltr; }
.mini-branches div i { width: 8px; height: 8px; border-radius: 50%; background: var(--g-500); display: inline-block; margin-inline-end: 8px; }

.more-features { margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; }
.mf { display: flex; gap: 14px; padding: 22px 24px; border-bottom: 1px solid var(--line-2); border-inline-start: 1px solid var(--line-2); }
.mf:nth-child(3n + 1) { border-inline-start: 0; }
.mf:nth-last-child(-n + 3) { border-bottom: 0; }
.mf__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--n-50); color: var(--n-700); flex: none; }
.mf h3 { font-size: 1.02rem; margin-bottom: 4px; }
.mf p { margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.7; }

/* ---------- 11) قسم الفوترة الإلكترونية (داكن) ---------- */
.zatca { overflow: clip; }
.zatca::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px 400px at 85% 20%, rgba(16, 163, 118, .22), transparent 70%), radial-gradient(500px 360px at 10% 90%, rgba(52, 69, 106, .5), transparent 70%); }
.zatca__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.steps-v { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 4px; counter-reset: s; }
.steps-v li { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding-block: 14px; }
.steps-v li::before { counter-increment: s; content: counter(s); width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-weight: 850; font-size: 1.1rem; color: var(--g-300); background: rgba(16, 163, 118, .12); border: 1px solid rgba(122, 219, 182, .25); }
.steps-v li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 23px; top: 66px; bottom: -6px; width: 2px; background: linear-gradient(rgba(122, 219, 182, .35), rgba(122, 219, 182, 0)); }
.steps-v h3 { font-size: 1.1rem; margin: 2px 0 4px; }
.steps-v p { margin: 0; color: #AEB9CB; font-size: .98rem; }
.zatca__note { display: flex; gap: 12px; align-items: flex-start; margin-top: 26px; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: #C9D2E0; font-size: .95rem; }
.zatca__note .ic { color: var(--g-300); margin-top: 3px; }

.invoice { position: relative; max-width: 420px; margin-inline: auto; width: 100%; }
.invoice__paper { position: relative; background: #fff; color: var(--n-800); border-radius: 22px; padding: 26px 26px 30px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.invoice__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.invoice__brand { display: flex; align-items: center; gap: 10px; }
.invoice__brand img { width: 40px; height: 40px; }
.invoice__brand b { display: block; font-size: 1.05rem; line-height: 1.3; }
.invoice__brand small { display: block; font-size: .8rem; color: var(--ink-3); font-weight: 650; }
.invoice__lines { padding-block: 12px; border-bottom: 1px dashed var(--line); }
.invoice__lines div { display: flex; justify-content: space-between; font-size: .92rem; color: var(--ink-2); line-height: 2; font-weight: 650; }
.invoice__lines div em { font-style: normal; direction: ltr; color: var(--n-700); }
.invoice__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; }
.invoice__bottom .qr { width: 104px; height: 104px; padding: 6px; border: 1px solid var(--line); border-radius: 12px; flex: none; }
.invoice__total small { display: block; color: var(--ink-3); font-weight: 700; font-size: .85rem; }
.invoice__total b { display: block; font-size: 1.7rem; font-weight: 850; line-height: 1.25; }
.invoice__stamp { position: absolute; inset-inline-end: 20px; top: -18px; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: var(--g-500); color: #fff; font-weight: 800; font-size: .92rem; box-shadow: 0 18px 30px -14px rgba(16, 163, 118, .9); transform: rotate(-4deg); }
.invoice__stamp .ic { width: 18px; height: 18px; }
.invoice__timeline { margin-top: 26px; display: grid; gap: 8px; }
.invoice__timeline div { display: flex; align-items: center; gap: 10px; color: #C9D2E0; font-size: .92rem; font-weight: 650; }
.invoice__timeline div .ic { color: var(--g-300); width: 18px; height: 18px; }
.invoice__timeline div em { font-style: normal; margin-inline-start: auto; color: #8794AC; direction: ltr; font-size: .85rem; }

/* ---------- 12) قسم التطبيقات ---------- */
.apps__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.apps__visual { position: relative; container-type: inline-size; min-width: 0; }
.apps__stage { position: relative; font-size: 8px; font-size: calc(100cqi / 52); height: 46em; }
.aphone {
  position: absolute; width: 21em; aspect-ratio: 9 / 18.8; padding: .85em; border-radius: 3.1em;
  background: linear-gradient(160deg, #24324D, #0A1220);
  box-shadow: inset 0 0 0 .18em #33435F, 0 3em 5em -2em rgba(10, 19, 34, .45);
}
.aphone::before { content: ""; position: absolute; z-index: 2; top: 1.5em; left: 50%; transform: translateX(-50%); width: 5.8em; height: 1.5em; border-radius: 1em; background: #0A1220; }
.aphone__screen { height: 100%; border-radius: 2.35em; overflow: hidden; background: #F3F5F8; display: flex; flex-direction: column; }
.aphone--front { inset-inline-start: 6%; top: 1em; z-index: 2; }
.aphone--back { inset-inline-start: 46%; top: 5em; transform: rotate(6deg); z-index: 1; opacity: .98; }
[dir="ltr"] .aphone--back { transform: rotate(-6deg); }
.a-top { background: #fff; padding: 3.4em 1.4em 1em; border-bottom: .1em solid #E6EAF0; }
.a-top b { display: block; font-size: 1.3em; font-weight: 850; color: var(--n-800); line-height: 1.3; }
.a-top small { display: inline-flex; align-items: center; gap: .4em; font-size: .9em; font-weight: 700; color: var(--g-700); }
.a-top small i { width: .6em; height: .6em; border-radius: 50%; background: var(--g-500); }
.a-search { margin-top: .8em; height: 2.6em; border-radius: .9em; background: var(--n-50); border: .1em solid #E6EAF0; display: flex; align-items: center; gap: .5em; padding-inline: .9em; color: var(--ink-3); font-size: .95em; font-weight: 650; }
.a-search .ic { width: 1.2em; height: 1.2em; }
.a-chips { display: flex; gap: .5em; padding: .9em 1.2em .2em; overflow: hidden; }
.a-chips span { font-size: .9em; font-weight: 750; padding: .25em .9em; border-radius: 1em; background: #fff; border: .1em solid #E6EAF0; color: var(--ink-2); white-space: nowrap; line-height: 1.6; }
.a-chips span.on { background: var(--g-500); border-color: var(--g-500); color: #fff; }
.a-list { padding: .6em 1.2em; display: grid; gap: .6em; }
.a-item { display: grid; grid-template-columns: 3.4em minmax(0, 1fr) auto; gap: .8em; align-items: center; background: #fff; border-radius: 1em; padding: .6em; border: .1em solid #E6EAF0; }
.a-item .thumb { width: 3.4em; height: 3.4em; border-radius: .8em; display: grid; place-items: center; }
.a-item .thumb .ic { width: 1.7em; height: 1.7em; stroke-width: 1.6; }
.a-item b { display: block; font-size: 1em; font-weight: 800; color: var(--n-800); line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-item small { display: block; font-size: .88em; font-weight: 700; color: var(--ink-3); }
.a-item .add { width: 2.2em; height: 2.2em; border-radius: .7em; background: var(--g-50); color: var(--g-700); display: grid; place-items: center; }
.a-item .add .ic { width: 1.1em; height: 1.1em; stroke-width: 2.4; }
.a-cart { margin-top: auto; margin-inline: 1em; margin-bottom: 1.2em; display: flex; align-items: center; justify-content: space-between; padding: .9em 1.1em; border-radius: 1.1em; background: var(--n-800); color: #fff; font-weight: 800; font-size: 1em; }
.a-cart em { font-style: normal; color: var(--g-300); }
.a-report { padding: 3.4em 1.4em 1.4em; display: grid; gap: .8em; }
.a-report h4 { font-size: 1.2em; font-weight: 850; color: var(--n-800); }
.a-kpi { background: #fff; border-radius: 1em; padding: 1em; border: .1em solid #E6EAF0; }
.a-kpi small { display: block; font-size: .85em; color: var(--ink-3); font-weight: 700; }
.a-kpi b { display: block; font-size: 1.6em; font-weight: 850; color: var(--n-800); direction: ltr; text-align: start; line-height: 1.3; }
html[dir="rtl"] .a-kpi b { text-align: right; }
.a-kpi i { font-style: normal; font-size: .8em; font-weight: 800; color: var(--g-700); }
.a-bars { display: flex; align-items: flex-end; gap: .45em; height: 6.5em; padding-top: .6em; }
.a-bars span { flex: 1; border-radius: .35em .35em .15em .15em; background: var(--g-200); }
.a-bars span.on { background: var(--g-500); }
.apps__qr { position: absolute; z-index: 3; inset-inline-end: 2%; bottom: 0; display: flex; align-items: center; gap: 1.2em; padding: 1.2em 1.4em; border-radius: 1.6em; background: #fff; box-shadow: var(--shadow-lg); font-size: 1.1em; }
.apps__qr img { width: 8.6em; height: 8.6em; }
.apps__qr b { display: block; font-size: 1.25em; font-weight: 850; color: var(--n-800); line-height: 1.35; }
.apps__qr small { display: block; font-size: 1em; color: var(--ink-3); font-weight: 650; line-height: 1.5; max-width: 12em; }
.apps__copy h2 { font-size: var(--fs-h2); margin-bottom: 16px; text-wrap: balance; }
.apps__copy .store-badges { margin-top: 26px; }
.apps__web { margin-top: 20px; display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: .97rem; }
.apps__web a { color: var(--g-700); font-weight: 750; border-bottom: 1px solid var(--g-200); }

/* ---------- 13) قسم المتجر الإلكتروني ---------- */
.store__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.store__visual { position: relative; container-type: inline-size; min-width: 0; }
.store__stage { position: relative; font-size: 8px; font-size: calc(100cqi / 50); height: 46em; }
.sphone { position: absolute; inset-inline-start: 18%; top: 0; width: 22em; aspect-ratio: 9 / 18.8; padding: .85em; border-radius: 3.1em; background: linear-gradient(160deg, #24324D, #0A1220); box-shadow: inset 0 0 0 .18em #33435F, 0 3em 5em -2em rgba(10, 19, 34, .45); }
.sphone::before { content: ""; position: absolute; z-index: 2; top: 1.5em; left: 50%; transform: translateX(-50%); width: 5.8em; height: 1.5em; border-radius: 1em; background: #0A1220; }
.sphone__screen { height: 100%; border-radius: 2.35em; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.s-cover { height: 9em; background: linear-gradient(135deg, #0C8F66, #16223A); position: relative; }
.s-cover::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.3px); background-size: 1.2em 1.2em; }
.s-head { display: flex; align-items: center; gap: .9em; padding: 0 1.3em; margin-top: -2.2em; position: relative; z-index: 1; }
.s-logo { width: 4.4em; height: 4.4em; border-radius: 1.1em; background: #fff; display: grid; place-items: center; box-shadow: 0 .6em 1.4em -.6em rgba(16, 24, 40, .4); font-weight: 900; font-size: 1em; color: var(--g-700); }
.s-logo .ic { width: 2.2em; height: 2.2em; }
.s-head div { padding-top: 2.2em; }
.s-head b { display: block; font-size: 1.25em; font-weight: 850; color: var(--n-800); line-height: 1.3; }
.s-head small { display: inline-flex; align-items: center; gap: .4em; font-size: .85em; color: var(--g-700); font-weight: 750; }
.s-head small i { width: .55em; height: .55em; border-radius: 50%; background: var(--g-500); }
.s-tabs { display: flex; gap: 1.2em; padding: 1em 1.3em 0; border-bottom: .1em solid #E6EAF0; }
.s-tabs span { font-size: .95em; font-weight: 750; color: var(--ink-3); padding-bottom: .6em; white-space: nowrap; }
.s-tabs span.on { color: var(--n-800); box-shadow: inset 0 -.2em 0 var(--g-500); }
.s-list { padding: 1em 1.3em; display: grid; gap: .9em; }
.s-item { display: grid; grid-template-columns: minmax(0, 1fr) 4.6em; gap: .9em; align-items: center; }
.s-item b { display: block; font-size: 1em; font-weight: 800; color: var(--n-800); line-height: 1.4; }
.s-item small { display: block; font-size: .82em; color: var(--ink-3); font-weight: 650; line-height: 1.5; }
.s-item em { display: block; font-style: normal; font-size: .95em; font-weight: 800; color: var(--g-700); margin-top: .2em; }
.s-item .thumb { position: relative; width: 4.6em; height: 4.6em; border-radius: 1em; display: grid; place-items: center; }
.s-item .thumb .ic { width: 2em; height: 2em; stroke-width: 1.6; }
.s-item .thumb i { position: absolute; bottom: -.4em; inset-inline-start: -.4em; width: 1.8em; height: 1.8em; border-radius: .6em; background: var(--n-800); color: #fff; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 1em; line-height: 1; }
.s-cart { margin: auto 1em 1.2em; display: flex; align-items: center; justify-content: space-between; padding: .95em 1.1em; border-radius: 1.1em; background: var(--g-500); color: #fff; font-weight: 800; font-size: 1em; box-shadow: 0 .8em 1.6em -.8em rgba(16, 163, 118, .8); }
.s-cart em { font-style: normal; }
.tent { position: absolute; z-index: 3; inset-inline-end: 4%; bottom: 2em; width: 17em; padding: 1.6em 1.4em; border-radius: 1.6em; background: #fff; box-shadow: var(--shadow-lg); text-align: center; font-size: 1em; transform: rotate(-3deg); }
[dir="ltr"] .tent { transform: rotate(3deg); }
.tent img.qr { width: 10em; height: 10em; margin: .8em auto; }
.tent b { display: block; font-size: 1.35em; font-weight: 850; color: var(--n-800); line-height: 1.35; }
.tent small { display: block; font-size: 1em; color: var(--ink-3); font-weight: 700; }
.tent .mark { width: 2.6em; height: 2.6em; margin-inline: auto; }
.pay-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pay-row span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-weight: 750; font-size: .92rem; color: var(--n-700); }

/* ---------- 14) خطوات البدء ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: st; }
.step { position: relative; padding: 30px 26px 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.step__num { font-size: 3.2rem; font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--g-400); font-variant-numeric: tabular-nums; direction: ltr; text-align: start; }
html[dir="rtl"] .step__num { text-align: right; }
.step h3 { font-size: 1.2rem; margin: 18px 0 8px; }
.step p { color: var(--ink-2); margin: 0; font-size: 1rem; }
.step .link-arrow { margin-top: 16px; }

/* ---------- 15) الباقات ---------- */
.pricing { position: relative; }
.billing { display: flex; justify-content: center; margin-bottom: 36px; }
.billing__switch { display: inline-flex; padding: 5px; border-radius: 14px; background: var(--n-50); border: 1px solid var(--line); gap: 4px; }
.billing__switch label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 10px; font-weight: 750; font-size: .97rem; color: var(--ink-2); cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.billing__switch label .tag { font-size: .75rem; padding: 1px 8px; }
#bill-m:checked ~ .billing label[for="bill-m"],
#bill-y:checked ~ .billing label[for="bill-y"] { background: #fff; color: var(--n-800); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); }
#bill-m:focus-visible ~ .billing label[for="bill-m"],
#bill-y:focus-visible ~ .billing label[for="bill-y"] { outline: 3px solid rgba(16, 163, 118, .5); outline-offset: 2px; }
.price-y, .per-y { display: none; }
#bill-y:checked ~ .plans .price-m, #bill-y:checked ~ .plans .per-m { display: none; }
#bill-y:checked ~ .plans .price-y { display: inline; }
#bill-y:checked ~ .plans .per-y { display: block; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 26px 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: box-shadow .25s, transform .25s; }
.plan:hover { box-shadow: var(--shadow); }
.plan--featured { background: var(--n-900); border-color: var(--n-900); color: #C9D2E0; box-shadow: var(--shadow-lg); }
.plan--featured h3, .plan--featured .plan__price b { color: #fff; }
.plan__badge { position: absolute; top: -13px; inset-inline-start: 24px; padding: 4px 12px; border-radius: 999px; font-size: .82rem; font-weight: 800; background: var(--g-500); color: #fff; box-shadow: 0 8px 18px -8px rgba(16, 163, 118, .9); }
.plan__badge--navy { background: var(--n-700); box-shadow: none; }
.plan h3 { font-size: 1.25rem; }
.plan__trial { margin-top: 6px; font-size: .9rem; font-weight: 700; color: var(--g-700); }
.plan--featured .plan__trial { color: var(--g-300); }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin-top: 18px; }
.plan__price b { font-size: 2.6rem; font-weight: 850; color: var(--n-800); line-height: 1.1; direction: ltr; font-variant-numeric: tabular-nums; }
.plan__price small { font-size: .95rem; color: var(--ink-3); font-weight: 700; }
.plan--featured .plan__price small { color: #AEB9CB; }
.plan__per { font-size: .86rem; color: var(--ink-3); font-weight: 650; min-height: 1.6em; }
.plan--featured .plan__per { color: #95A3BA; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 11px; }
.plan li { display: flex; align-items: flex-start; gap: 10px; font-size: .97rem; font-weight: 650; color: var(--n-700); line-height: 1.55; }
.plan li .ic { color: var(--g-500); margin-top: 3px; }
.plan li.off { color: var(--ink-3); text-decoration: line-through; text-decoration-color: rgba(117, 131, 155, .5); }
.plan li.off .ic { color: var(--n-300); }
.plan--featured li { color: #DCE3EE; }
.plan--featured li.off { color: #7D8BA3; }
.plan .btn { margin-top: auto; }
.pricing__note { margin-top: 22px; text-align: center; color: var(--ink-3); font-size: .93rem; }
.plan--empty { grid-column: 1 / -1; align-items: center; text-align: center; padding: 44px 26px; }
.plan--empty .ic { color: var(--g-500); margin-bottom: 12px; }

/* ---------- 16) الأسئلة الشائعة ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--g-200); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-weight: 800; font-size: 1.06rem; color: var(--n-800); line-height: 1.55; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--ink-3); transition: transform .25s ease; }
.faq details[open] summary .ic { transform: rotate(180deg); color: var(--g-600); }
.faq details > div { padding: 0 24px 22px; color: var(--ink-2); }
.faq details > div p:last-child { margin-bottom: 0; }
.faq-groups { display: grid; gap: 36px; }
.faq-group h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin-bottom: 14px; }
.faq-group h3 .ic { color: var(--g-600); }

/* ---------- 17) شريط الدعوة النهائي ---------- */
.cta-band { position: relative; overflow: clip; border-radius: var(--radius-xl); background: var(--n-900); color: #C9D2E0; padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(520px 320px at 90% 10%, rgba(16, 163, 118, .35), transparent 70%), radial-gradient(420px 300px at 0% 100%, rgba(52, 69, 106, .65), transparent 70%); }
.cta-band::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.3px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: var(--fs-h2); text-wrap: balance; }
.cta-band p { margin: 14px 0 0; color: #B6C1D3; font-size: var(--fs-lead); }
.cta-band__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 18) هيرو الصفحات الداخلية ---------- */
.page-hero { position: relative; overflow: clip; background: linear-gradient(180deg, #EEF5F1, #F7F9F8); border-bottom: 1px solid var(--line); padding-block: clamp(40px, 6vw, 84px) clamp(36px, 5vw, 64px); }
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(22, 34, 58, .1) 1px, transparent 1.3px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 60% 80% at 80% 20%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 60% 80% at 80% 20%, #000 20%, transparent 75%); }
[dir="rtl"] .page-hero::before { -webkit-mask-image: radial-gradient(ellipse 60% 80% at 20% 20%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 60% 80% at 20% 20%, #000 20%, transparent 75%); }
.page-hero > .container { position: relative; }
.page-hero h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); line-height: 1.25; text-wrap: balance; max-width: 22em; }
html[lang="en"] .page-hero h1 { line-height: 1.12; }
.page-hero .lead { margin: 16px 0 0; max-width: 40em; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; padding: 0; margin: 0 0 18px; font-size: .9rem; color: var(--ink-3); font-weight: 650; }
.breadcrumb a:hover { color: var(--g-700); }
.breadcrumb li + li::before { content: "/"; margin-inline-end: 6px; color: var(--n-300); }

/* ---------- 19) صفحة الدعم ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: calc(-1 * clamp(28px, 4vw, 44px)); position: relative; z-index: 2; }
.ccard { display: flex; flex-direction: column; padding: 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.ccard__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--g-50); color: var(--g-600); margin-bottom: 14px; }
.ccard h2 { font-size: 1.12rem; margin-bottom: 6px; }
.ccard p { color: var(--ink-2); font-size: .97rem; margin: 0 0 16px; }
.ccard__actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ccard__mail { font-weight: 800; color: var(--n-800); direction: ltr; word-break: break-all; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: .85rem; font-weight: 750; color: var(--ink-2); cursor: pointer; transition: border-color .2s, color .2s; }
.copy-btn:hover { border-color: var(--g-300); color: var(--g-700); }
.copy-btn.is-done { border-color: var(--g-400); color: var(--g-700); background: var(--g-50); }
.support-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.form-card { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.5rem; margin-bottom: 6px; }
.form-card > p { color: var(--ink-2); margin: 0 0 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 750; font-size: .93rem; color: var(--n-700); }
.field label small { color: var(--ink-3); font-weight: 650; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--n-200); background: #fff; color: var(--n-800);
  font-size: 1rem; line-height: 1.5; transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2375839B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 12px center; padding-inline-end: 40px; }
[dir="ltr"] .field select { background-position: right 12px center; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--g-500); box-shadow: 0 0 0 4px rgba(16, 163, 118, .14); }
.field input[dir="ltr"] { text-align: left; }
.field .hint { font-size: .82rem; color: var(--ink-3); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #E5484D; }
.field .err { font-size: .84rem; color: #C62F35; font-weight: 700; display: none; }
.field.is-invalid .err { display: block; }
.hp-field { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; }
.form-foot small { color: var(--ink-3); font-size: .86rem; max-width: 30em; }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; font-weight: 700; font-size: .95rem; margin-bottom: 18px; }
.alert .ic { margin-top: 3px; }
.alert--error { background: #FEF0F0; color: #A42228; border: 1px solid #F7C9CB; }
.form-success { text-align: center; padding: 30px 10px; }
.form-success__icon { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; margin: 0 auto 18px; background: var(--g-50); color: var(--g-600); }
.form-success__icon .ic { width: 36px; height: 36px; }
.form-success h3 { font-size: 1.4rem; margin-bottom: 8px; }
.form-success p { color: var(--ink-2); max-width: 30em; margin: 0 auto 20px; }
.aside-card { padding: 26px; border-radius: var(--radius-lg); background: var(--n-50); border: 1px solid var(--line); }
.aside-card + .aside-card { margin-top: 16px; }
.aside-card h2 { font-size: 1.12rem; margin-bottom: 14px; }
.quick-links { display: grid; gap: 8px; }
.quick-links a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-weight: 750; color: var(--n-800); transition: border-color .2s, transform .2s; }
.quick-links a:hover { border-color: var(--g-300); }
.quick-links a .ic:first-child { color: var(--g-600); }
.quick-links a .ic:last-child { margin-inline-start: auto; color: var(--ink-3); }
.aside-card--dark { background: var(--n-900); border-color: var(--n-900); color: #C9D2E0; }
.aside-card--dark h2 { color: #fff; }
.aside-card--dark p { color: #AEB9CB; font-size: .97rem; }

/* ---------- 20) صفحة عن برنك ---------- */
.story { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.story__quote { position: sticky; top: calc(var(--header-h) + 24px); padding: 32px; border-radius: var(--radius-xl); background: var(--n-900); color: #fff; overflow: hidden; }
.story__quote::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 260px at 100% 0%, rgba(16, 163, 118, .35), transparent 70%); pointer-events: none; }
.story__quote > * { position: relative; }
.story__quote .mark { width: 54px; height: 54px; border-radius: 16px; background: #fff; display: grid; place-items: center; margin-bottom: 22px; }
.story__quote .mark img { width: 38px; height: 38px; }
.story__quote blockquote { margin: 0; font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem); font-weight: 800; line-height: 1.55; }
html[lang="en"] .story__quote blockquote { line-height: 1.35; }
.story__quote p { margin: 18px 0 0; color: #AEB9CB; font-size: .97rem; }
.prose-lg p { font-size: 1.1rem; color: var(--ink-2); }
.prose-lg h2 { font-size: var(--fs-h2); margin-bottom: 18px; }
.prose-lg h3 { font-size: 1.25rem; margin: 30px 0 10px; }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.value { padding: 26px 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.value__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--g-50); color: var(--g-600); margin-bottom: 16px; }
.value h3 { font-size: 1.1rem; margin-bottom: 6px; }
.value p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.product { display: flex; gap: 18px; padding: 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.product__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--n-800); color: #fff; flex: none; }
.product__icon .ic { width: 26px; height: 26px; }
.product h3 { font-size: 1.15rem; margin-bottom: 6px; }
.product p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.product .link-arrow { margin-top: 10px; font-size: .95rem; }

/* ---------- 21) صفحة انضم إلينا ---------- */
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.path { position: relative; display: flex; flex-direction: column; padding: clamp(26px, 3vw, 38px); border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.path--dark { background: var(--n-900); border-color: var(--n-900); color: #C9D2E0; }
.path--dark h2 { color: #fff; }
.path__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--g-50); color: var(--g-600); margin-bottom: 18px; }
.path--dark .path__icon { background: rgba(255, 255, 255, .07); color: var(--g-300); }
.path__icon .ic { width: 28px; height: 28px; }
.path h2 { font-size: 1.5rem; margin-bottom: 8px; }
.path > p { color: var(--ink-2); margin: 0; }
.path--dark > p { color: #AEB9CB; }
.path ol { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 12px; counter-reset: p; }
.path ol li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; font-weight: 650; line-height: 1.6; }
.path ol li::before { counter-increment: p; content: counter(p); width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--n-50); color: var(--n-700); font-weight: 850; font-size: .95rem; }
.path--dark ol li::before { background: rgba(255, 255, 255, .08); color: var(--g-300); }
.path ol li > span > b { display: block; color: var(--n-800); }
.path--dark ol li > span > b { color: #fff; }
.path ol li > span > span { display: block; font-weight: 600; color: var(--ink-2); font-size: .95rem; }
.path--dark ol li > span > span { color: #AEB9CB; }
.path__actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.download-block { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--line); }
.download-block .qr-box { width: 148px; padding: 12px; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
.download-block h2 { font-size: 1.4rem; margin-bottom: 6px; }
.download-block p { color: var(--ink-2); margin: 0 0 16px; }

/* ---------- 22) صفحة التحميل /go ---------- */
.go { position: relative; overflow: clip; background: var(--n-900); color: #C9D2E0; padding-block: clamp(40px, 6vw, 88px); }
.go::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px 420px at 50% -10%, rgba(16, 163, 118, .32), transparent 70%), radial-gradient(500px 360px at 100% 100%, rgba(52, 69, 106, .55), transparent 70%); }
.go::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1.3px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); }
.go > .container { position: relative; z-index: 1; }
.go__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.go__app { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.go__icon { width: 84px; height: 84px; border-radius: 22px; background: #fff; display: grid; place-items: center; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6); flex: none; }
.go__icon img { width: 64px; height: 64px; }
.go__app b { display: block; color: #fff; font-size: 1.5rem; font-weight: 850; line-height: 1.3; }
.go__app small { display: block; color: #AEB9CB; font-size: .98rem; font-weight: 650; }
.go h1 { color: #fff; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); line-height: 1.25; text-wrap: balance; }
html[lang="en"] .go h1 { line-height: 1.12; }
.go .lead { color: #B6C1D3; margin: 16px 0 0; max-width: 34em; }
.go .store-badges { margin-top: 28px; }
.go__device { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; color: var(--g-300); font-weight: 750; font-size: .95rem; }
.go__redirect { margin-top: 16px; display: none; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: rgba(16, 163, 118, .14); border: 1px solid rgba(122, 219, 182, .3); color: #E6F7F0; font-weight: 750; }
.go__redirect.is-on { display: inline-flex; }
.go__spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .25); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.go__card { padding: clamp(24px, 3vw, 34px); border-radius: var(--radius-xl); background: #fff; color: var(--n-800); text-align: center; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.go__card img.qr { width: min(220px, 70%); margin: 16px auto; }
.go__card b { display: block; font-size: 1.2rem; font-weight: 850; }
.go__card small { display: block; color: var(--ink-3); font-weight: 650; }
.go__features { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.go__features li { display: flex; align-items: flex-start; gap: 10px; color: #DCE3EE; font-weight: 650; font-size: .97rem; line-height: 1.6; }
.go__features li .ic { color: var(--g-300); margin-top: 3px; }
html[data-os="android"] .store-badge[data-store="android"],
html[data-os="ios"] .store-badge[data-store="ios"] { box-shadow: 0 0 0 3px var(--g-400), 0 14px 30px -12px rgba(16, 163, 118, .8); }

/* ---------- 23) الصفحات القانونية ---------- */
.legal { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); padding: 20px; border-radius: var(--radius-lg); background: var(--n-50); border: 1px solid var(--line); }
.toc b { display: block; font-size: .9rem; color: var(--ink-3); font-weight: 750; margin-bottom: 10px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.toc a { display: flex; align-items: flex-start; gap: 10px; padding: 7px 10px; border-radius: 10px; font-size: .93rem; font-weight: 650; color: var(--ink-2); line-height: 1.5; }
.toc a span { display: inline-grid; place-items: center; flex: none; min-width: 22px; height: 22px; border-radius: 7px; background: #fff; border: 1px solid var(--line); font-size: .75rem; font-weight: 800; color: var(--ink-3); margin-top: 1px; }
.toc a:hover { background: #fff; color: var(--g-700); }
.prose { max-width: 780px; }
.prose section { padding-block: 6px 22px; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose section + section { border-top: 1px solid var(--line-2); padding-top: 26px; }
.prose h2 { display: flex; align-items: center; gap: 12px; font-size: 1.35rem; margin-bottom: 12px; }
.prose h2 span { display: inline-grid; place-items: center; flex: none; min-width: 34px; height: 34px; padding-inline: 6px; border-radius: 10px; background: var(--g-50); color: var(--g-700); font-size: .95rem; font-weight: 850; font-variant-numeric: tabular-nums; }
.prose p, .prose li { color: var(--ink-2); font-size: 1.04rem; }
.prose ul { padding-inline-start: 0; list-style: none; display: grid; gap: 10px; margin: 12px 0 0; }
.prose ul li { position: relative; padding-inline-start: 22px; }
.prose ul li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .8em; width: 7px; height: 7px; border-radius: 50%; background: var(--g-400); }
.prose strong { color: var(--n-800); }
.prose a { color: var(--g-700); font-weight: 750; border-bottom: 1px solid var(--g-200); }
.callout { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 16px 18px; border-radius: 16px; background: var(--g-50); border: 1px solid var(--g-100); color: var(--n-700); font-size: .98rem; }
.callout .ic { color: var(--g-600); margin-top: 4px; }
.callout--amber { background: #FFF8E8; border-color: #F6E3B4; }
.callout--amber .ic { color: #A26A00; }
.legal-contact { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border-radius: var(--radius-lg); background: var(--n-900); color: #C9D2E0; }
.legal-contact b { display: block; color: #fff; font-size: 1.1rem; }
.legal-contact span { font-size: .95rem; }

/* ---------- 24) حركة الظهور عند التمرير (تُفعَّل من الجافاسكربت فقط) ---------- */
.reveal-init { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal-init.is-visible { opacity: 1; transform: none; }

/* ---------- 25) الشاشات المتوسطة والصغيرة ---------- */
@media (max-width: 1100px) {
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust__item:nth-child(3) { border-inline-start: 0; }
  .trust__item:nth-child(n + 3) { border-top: 1px solid var(--line-2); }
}
@media (max-width: 1020px) {
  .site-nav { display: none; }
  .nav-toggle { display: block; }
  .hero__grid, .zatca__grid, .apps__grid, .store__grid, .go__grid, .story { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { max-width: 680px; width: 100%; margin-inline: auto; }
  .apps__visual { order: 2; max-width: 560px; width: 100%; margin-inline: auto; }
  .store__visual { max-width: 560px; width: 100%; margin-inline: auto; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--xl { grid-column: span 2; grid-row: auto; }
  .tile--md, .tile--third { grid-column: span 1; }
  .more-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mf:nth-child(3n + 1) { border-inline-start: 1px solid var(--line-2); }
  .mf:nth-child(2n + 1) { border-inline-start: 0; }
  .mf:nth-last-child(-n + 3) { border-bottom: 1px solid var(--line-2); }
  .mf:nth-last-child(-n + 2) { border-bottom: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .cta-band { grid-template-columns: minmax(0, 1fr); }
  .support-grid { grid-template-columns: minmax(0, 1fr); }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
  .story__quote { position: relative; top: 0; }
  .site-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .contact-cards, .products, .paths { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .download-block { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .go__features { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .hide-sm { display: none !important; }
  .brand { font-size: 1.3rem; }
  .brand__mark { width: 36px; height: 36px; }
  .lang-switch span { display: none; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .trust { grid-template-columns: minmax(0, 1fr); }
  .trust__item { border-inline-start: 0 !important; }
  .trust__item + .trust__item { border-top: 1px solid var(--line-2); }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile--xl, .tile--md, .tile--third { grid-column: auto; }
  .more-features { grid-template-columns: minmax(0, 1fr); }
  .mf { border-inline-start: 0 !important; border-bottom: 1px solid var(--line-2) !important; }
  .mf:last-child { border-bottom: 0 !important; }
  .values { grid-template-columns: minmax(0, 1fr); }
  .float-chip--offline { display: none; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
  .plan__price b { font-size: 2.3rem; }
  .cta-band__btns .btn { flex: 1 1 100%; }
}

/* ---------- 26) تقليل الحركة لمن يفضّل ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal-init { opacity: 1; transform: none; }
}

/* ---------- 27) الطباعة (للصفحات القانونية) ---------- */
@media print {
  .site-header, .site-footer, .toc, .cta-band, .skip-link { display: none !important; }
  .page-hero { background: none; border: 0; padding-block: 0 16px; }
  .page-hero::before { display: none; }
  .legal { grid-template-columns: 1fr; }
  body { font-size: 12pt; }
}
