/* Omr Tik — صفحة التعريف (omarmanager.net)
   ثيم فاتح افتراضي + داكن (2026-09-27) · غلاف تطبيقٍ على الهاتف: شريط علوي ثابت، قائمة جانبية منزلقة، حواف آمنة */

@font-face { font-family: "Plex"; src: url("/site/plex-ar-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-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: "Plex"; src: url("/site/plex-ar-500.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-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: "Plex"; src: url("/site/plex-ar-600.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-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: "Plex"; src: url("/site/plex-ar-700.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-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: "Plex"; src: url("/site/plex-lat-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex"; src: url("/site/plex-lat-500.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex"; src: url("/site/plex-lat-600.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex"; src: url("/site/plex-lat-700.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ── الرموز: فاتح (افتراضي) ── */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --soft: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --ink: #0b1324;
  --ink-2: #334055;
  --muted: #667085;
  --line: #e7ebf1;
  --line-2: #d9dfe8;
  --line-3: #b9c2cf;
  --brand: #0891b2;
  --brand-2: #0e7490;
  --brand-tint: #e6f6fa;
  --brand-line: #cdeaf2;
  --violet: #6d4aff;
  --amber: #d97706;
  --amber-ink: #b45309;
  --amber-tint: #fff4e0;
  --amber-line: #fbdca8;
  --green: #0f9f6e;
  --danger: #dc2626;
  --grad-a: #0891b2; --grad-b: #2563eb; --grad-c: #6d4aff;
  --nav-bg: rgba(255, 255, 255, .82);
  --btn-ink: #0b1324; --btn-ink-hover: #1b2640; --btn-ink-fg: #fff;
  --store: #0b1324; --store-line: #0b1324;
  --glow-a: rgba(8, 145, 178, .10); --glow-b: rgba(109, 74, 255, .07);
  --scrim: rgba(11, 19, 36, .42);
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px -12px rgba(16, 24, 40, .14);
  --shadow-lg: 0 2px 4px rgba(16, 24, 40, .04), 0 40px 80px -24px rgba(16, 24, 40, .28);

  /* المقاسات */
  --r: 18px;
  --r-sm: 12px;
  --nav-h: 68px;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --fs-display: clamp(38px, 7vw, 74px);
  --fs-h2: clamp(28px, 4.2vw, 44px);
  --fs-lead: clamp(17px, 2vw, 19.5px);
  --sp-sec: clamp(72px, 10vw, 112px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ── الرموز: داكن — ألوان هوية التطبيق ── */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0A0E27;
  --soft: #0e1331;
  --surface: #131938;
  --surface-2: #1A1F3A;
  --ink: #eaf0fb;
  --ink-2: #b8c2da;
  --muted: #8791ab;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --line-3: rgba(255, 255, 255, .26);
  --brand: #00B8D4;
  --brand-2: #4dd6ea;
  --brand-tint: rgba(0, 184, 212, .12);
  --brand-line: rgba(0, 184, 212, .28);
  --violet: #a08cff;
  --amber: #FFB300;
  --amber-ink: #ffc54d;
  --amber-tint: rgba(255, 179, 0, .12);
  --amber-line: rgba(255, 179, 0, .3);
  --green: #00E5A0;
  --danger: #ff6b6b;
  --grad-a: #00B8D4; --grad-b: #3fa8ff; --grad-c: #00E5A0;
  --nav-bg: rgba(10, 14, 39, .76);
  --btn-ink: #eaf0fb; --btn-ink-hover: #ffffff; --btn-ink-fg: #0A0E27;
  --store: #1A1F3A; --store-line: rgba(255, 255, 255, .16);
  --glow-a: rgba(0, 184, 212, .20); --glow-b: rgba(255, 179, 0, .08);
  --scrim: rgba(3, 6, 20, .62);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 34px -14px rgba(0, 0, 0, .6);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 40px 80px -24px rgba(0, 0, 0, .75);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: calc(var(--nav-h) + var(--safe-t) + 8px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.75 "Plex", -apple-system, "Segoe UI", Tahoma, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip; -webkit-tap-highlight-color: transparent;
  transition: background-color .35s ease, color .35s ease;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
bdi { unicode-bidi: isolate; }
::selection { background: color-mix(in srgb, var(--brand) 26%, transparent); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
html.no-scroll { overflow: hidden; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: max(24px, var(--safe-l)) max(24px, var(--safe-r)); }
.wrap-narrow { max-width: 820px; }
.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic-xs { width: 15px; height: 15px; }
.ic-sm { width: 18px; height: 18px; }
.ic-lg { width: 28px; height: 28px; }
.muted { color: var(--muted); font-size: 15px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200; background: var(--btn-ink); color: var(--btn-ink-fg); padding: 10px 16px; border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip:focus { top: calc(12px + var(--safe-t)); }

/* ── الأزرار ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  min-height: 48px; padding-inline: 22px; border-radius: 12px; font-weight: 600; font-size: 16px;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background-color .2s, border-color .2s, color .2s;
  white-space: nowrap; cursor: pointer;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-sm { min-height: 40px; padding-inline: 16px; font-size: 15px; border-radius: 10px; }
.btn-ink { background: var(--btn-ink); color: var(--btn-ink-fg); box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, var(--shadow-sm); }
.btn-ink:hover { background: var(--btn-ink-hover); }
.btn-brand { background: var(--brand); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 8px 20px -8px color-mix(in srgb, var(--brand) 70%, transparent); }
.btn-brand:hover { background: var(--brand-2); }
.btn-line { background: var(--surface); color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.btn-line:hover { border-color: var(--line-3); }
[data-theme="dark"] .btn-brand { color: #04121a; background: linear-gradient(135deg, #00E5A0, #00B8D4); box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 10px 26px -10px rgba(0, 229, 160, .55); }
[data-theme="dark"] .btn-brand:hover { filter: brightness(1.06); }

/* أزرار الشريط المربّعة (اللغة · الوضع · القائمة) */
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 42px; min-width: 42px; padding-inline: 10px; border-radius: 12px;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink);
  font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap; cursor: pointer;
  box-shadow: var(--shadow-sm); transition: border-color .2s, background-color .2s, transform .15s;
}
.icon-btn:hover { border-color: var(--line-3); background: var(--soft); }
.icon-btn:active { transform: scale(.94); }
.lang-btn { padding-inline: 11px 13px; }
.lang-btn .ic { color: var(--brand); }
.menu-btn { display: none; }

/* زرّ الوضع: شمس/قمر يتبادلان بدوران */
.theme-btn { position: relative; width: 42px; padding: 0; overflow: hidden; }
.theme-btn .ic { position: absolute; transition: transform .5s var(--ease-out), opacity .3s; }
.theme-btn .t-sun { color: var(--amber); transform: rotate(-90deg) scale(.4); opacity: 0; }
.theme-btn .t-moon { color: var(--violet); }
[data-theme="dark"] .theme-btn .t-sun { transform: none; opacity: 1; }
[data-theme="dark"] .theme-btn .t-moon { transform: rotate(90deg) scale(.4); opacity: 0; }

/* ── الشريط العلوي (شريط تطبيق) ── */
.nav {
  position: sticky; top: 0; z-index: 60;
  padding-top: var(--safe-t);
  background: var(--nav-bg); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s, background-color .35s;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(16, 24, 40, .35); }
.nav-in { display: flex; align-items: center; gap: 20px; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand img { border-radius: 10px; flex: none; }
.brand-t { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-t b { font-size: 16px; font-weight: 700; letter-spacing: -.01em; direction: ltr; text-align: end; white-space: nowrap; }
.brand-t small { font-size: 12px; color: var(--muted); white-space: nowrap; }
.links { display: flex; gap: 2px; margin-inline-start: auto; }
.links a { position: relative; padding: 8px 12px; border-radius: 9px; font-size: 15px; color: var(--ink-2); font-weight: 500; transition: color .2s, background-color .2s; }
.links a:hover { color: var(--ink); background: var(--soft); }
.links a[aria-current="true"] { color: var(--ink); }
.links a[aria-current="true"]::after { content: ""; position: absolute; inset-inline: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--brand); }
.nav-cta { display: flex; align-items: center; gap: 8px; }

/* ── القائمة الجانبية (الهاتف والتابلت) ── */
.scrim { position: fixed; inset: 0; z-index: 90; background: var(--scrim); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s; }
.drawer {
  position: fixed; z-index: 100; top: 0; bottom: 0; inset-inline-end: 0;
  width: min(86vw, 360px); display: flex; flex-direction: column;
  padding: calc(14px + var(--safe-t)) max(18px, var(--safe-r)) calc(18px + var(--safe-b)) 18px;
  background: var(--surface); border-inline-start: 1px solid var(--line);
  box-shadow: var(--shadow-lg); overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(104%); visibility: hidden;
  transition: transform .42s var(--ease-out), visibility 0s linear .42s;
}
[dir="rtl"] .drawer { transform: translateX(-104%); padding-inline: max(18px, var(--safe-l)) 18px; }
html.drawer-open .drawer { transform: none; visibility: visible; transition: transform .42s var(--ease-out), visibility 0s; }
html.drawer-open .scrim { opacity: 1; visibility: visible; transition: opacity .3s ease; }
.dr-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.dr-nav { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; }
.dr-nav a {
  display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 8px 10px; border-radius: 14px;
  font-size: 17px; font-weight: 600; color: var(--ink);
  opacity: 0; transform: translateX(18px); transition: background-color .2s, opacity .4s var(--ease-out), transform .45s var(--ease-out);
}
[dir="rtl"] .dr-nav a { transform: translateX(-18px); }
html.drawer-open .dr-nav a { opacity: 1; transform: none; transition-delay: calc(60ms + var(--i, 0) * 45ms); }
.dr-nav a:hover, .dr-nav a:focus-visible { background: var(--soft); }
.dr-nav a:active { background: var(--brand-tint); }
.dr-nav a[aria-current="true"] { background: var(--brand-tint); }
.dr-nav a > span:nth-child(2) { flex: 1; }
.dr-nav .chev { color: var(--muted); width: 16px; height: 16px; }
[dir="rtl"] .dr-nav .chev { transform: scaleX(-1); }
.dr-ic {
  position: relative; display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px;
  background: var(--c-tint, var(--brand-tint)); color: var(--c, var(--brand-2));
}
.dr-ic .ic { width: 21px; height: 21px; }
.dr-ic.k-cyan { --c: var(--brand-2); --c-tint: var(--brand-tint); }
.dr-ic.k-violet { --c: var(--violet); --c-tint: color-mix(in srgb, var(--violet) 13%, transparent); }
.dr-ic.k-amber { --c: var(--amber-ink); --c-tint: var(--amber-tint); }
.dr-ic.k-green { --c: var(--green); --c-tint: color-mix(in srgb, var(--green) 13%, transparent); }
.dr-ic.k-pink { --c: #db2777; --c-tint: color-mix(in srgb, #db2777 12%, transparent); }
[data-theme="dark"] .dr-ic.k-pink { --c: #ff7ab8; }

/* حركات أيقونات القائمة — كلٌّ بحركته، تُعزف عند الفتح ثم عند اللمس/المرور */
html.drawer-open .dr-nav a .dr-ic .ic { animation: var(--anim) .9s var(--ease) both; animation-delay: calc(180ms + var(--i, 0) * 45ms); }
.dr-nav a:hover .dr-ic .ic, .dr-nav a:focus-visible .dr-ic .ic { animation: var(--anim) .9s var(--ease) both !important; animation-delay: 0s !important; }
.a-pop { --anim: dr-pop; }
.a-tilt { --anim: dr-tilt; }
.a-spin { --anim: dr-spin; }
.a-swing { --anim: dr-swing; }
.a-bob { --anim: dr-bob; }
.a-ring { --anim: dr-ring; }
.a-drop { --anim: dr-drop; }
@keyframes dr-pop { 0% { transform: scale(.4); opacity: 0; } 55% { transform: scale(1.18); opacity: 1; } 100% { transform: scale(1); } }
@keyframes dr-tilt { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-14deg); } 55% { transform: rotate(10deg); } 80% { transform: rotate(-4deg); } }
@keyframes dr-spin { from { transform: rotate(-180deg) scale(.6); opacity: 0; } to { transform: rotate(0) scale(1); opacity: 1; } }
@keyframes dr-swing { 0%, 100% { transform: rotate(0); transform-origin: 50% 10%; } 20% { transform: rotate(16deg); } 45% { transform: rotate(-12deg); } 70% { transform: rotate(6deg); } }
@keyframes dr-bob { 0%, 100% { transform: translateY(0); } 35% { transform: translateY(-5px); } 65% { transform: translateY(1px); } }
@keyframes dr-ring { 0% { transform: scale(1); } 30% { transform: scale(.82); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes dr-drop { 0% { transform: translateY(-9px); opacity: 0; } 60% { transform: translateY(2px); opacity: 1; } 100% { transform: translateY(0); } }
/* نبضة هادئة حول أيقونة RADIUS (مرّتان عند الفتح) */
.dr-ic.pulse::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 color-mix(in srgb, var(--c) 45%, transparent); }
html.drawer-open .dr-ic.pulse::after { animation: dr-pulse 1.6s ease-out 2 .5s; }
@keyframes dr-pulse { to { box-shadow: 0 0 0 10px transparent; } }

.dr-sep { height: 1px; background: var(--line); margin: 4px 0 12px; }
.dr-row { display: flex; gap: 8px; }
.dr-row > * { flex: 1; }
.seg { display: flex; padding: 4px; gap: 4px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); }
.seg button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; border: 0; border-radius: 10px; background: transparent; color: var(--ink-2); font-size: 14.5px; font-weight: 600; cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); }
[data-theme="dark"] .seg button[aria-pressed="true"] { background: var(--surface-2); }
.seg .t-sun { color: var(--amber); } .seg .t-moon { color: var(--violet); }
.dr-label { font-size: 12.5px; font-weight: 600; color: var(--muted); margin: 14px 2px 8px; letter-spacing: .01em; }
.dr-cta { margin-top: 16px; width: 100%; min-height: 52px; font-size: 16.5px; }
.dr-cta .ic { transition: transform .3s; }
html.drawer-open .dr-cta .ic { animation: dr-bob 1.8s ease-in-out 3 .8s; }
.dr-contacts { display: flex; gap: 8px; margin-top: auto; padding-top: 18px; }
.dr-contacts a { flex: 1; display: grid; place-items: center; min-height: 48px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); transition: transform .15s, border-color .2s; }
.dr-contacts a:active { transform: scale(.95); }
.dr-contacts a:hover { border-color: var(--line-3); }
.dr-contacts .ci-wa { color: #16a34a; } .dr-contacts .ci-tg { color: #0284c7; } .dr-contacts .ci-mail { color: #4f46e5; } .dr-contacts .ci-yt { color: #dc2626; }
[data-theme="dark"] .dr-contacts .ci-wa { color: #3ddc84; } [data-theme="dark"] .dr-contacts .ci-tg { color: #4fb6ff; } [data-theme="dark"] .dr-contacts .ci-mail { color: #a5b4fc; } [data-theme="dark"] .dr-contacts .ci-yt { color: #ff6b6b; }

/* ── الواجهة ── */
.hero { position: relative; padding: clamp(40px, 7vw, 64px) 0 0; overflow: hidden; isolation: isolate; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 0%, var(--glow-a), transparent 70%),
    radial-gradient(40% 35% at 85% 30%, var(--glow-b), transparent 70%);
}
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .55;
  -webkit-mask-image: radial-gradient(70% 55% at 50% 20%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 55% at 50% 20%, #000 20%, transparent 75%);
}
[data-theme="dark"] .hero-bg::before { opacity: .6; }
.hero-in { text-align: center; display: flex; flex-direction: column; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px; min-height: 36px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 14px; color: var(--ink-2); font-weight: 500;
  transition: border-color .2s;
}
[dir="rtl"] .pill { padding: 5px 5px 5px 14px; }
.pill:hover { border-color: var(--line-2); }
.pill .ic { transition: transform .2s; }
.pill:hover .ic { transform: translateX(-3px); }
.pill-tag { background: var(--btn-ink); color: var(--btn-ink-fg); font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; }
[data-theme="dark"] .pill-tag { background: linear-gradient(135deg, #00E5A0, #00B8D4); color: #04121a; }
.hero h1 { font-size: var(--fs-display); font-weight: 700; margin-top: 26px; letter-spacing: -.025em; line-height: 1.1; }
.grad { background: linear-gradient(90deg, var(--grad-a), var(--grad-b) 55%, var(--grad-c)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
.lead { max-width: 660px; margin-top: 22px; font-size: var(--fs-lead); color: var(--ink-2); line-height: 1.85; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; color: var(--muted); font-size: 14.5px; }
.ticks li { display: inline-flex; align-items: center; gap: 6px; }
.ticks .ic { color: var(--green); stroke-width: 2.4; }

/* أزرار المتاجر */
.store {
  position: relative; display: inline-flex; align-items: center; gap: 12px; height: 60px; padding-inline: 20px 24px;
  border-radius: 14px; background: var(--store); color: #fff; border: 1px solid var(--store-line);
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 14px 28px -14px rgba(11,19,36,.55); transition: transform .15s, box-shadow .2s, border-color .2s;
}
.store:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 18px 34px -14px rgba(11,19,36,.6); }
.store:active { transform: scale(.98); }
[data-theme="dark"] .store:hover { border-color: rgba(0, 184, 212, .5); box-shadow: 0 0 0 1px rgba(0,184,212,.25), 0 16px 34px -14px rgba(0, 184, 212, .35); }
.store > span { display: flex; flex-direction: column; line-height: 1.2; text-align: start; }
.store small { font-size: 12px; opacity: .78; }
.store b { font-size: 19px; font-weight: 600; direction: ltr; text-align: start; letter-spacing: -.01em; }
[dir="rtl"] .store b { text-align: end; }
.store-android .ic { color: #3ddc84; }
.store-win .ic { color: #3b9cff; }
.store-light.store-win .ic { color: #0a6fd8; }
.store-ios { background: var(--surface); color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-sm); cursor: default; }
.store-ios:hover { transform: none; box-shadow: var(--shadow-sm); border-color: var(--line-2) !important; }
.store-ios .ic, .store-ios > span { opacity: .55; }
.soon {
  position: absolute; top: -10px; inset-inline-end: -8px; font-style: normal; font-size: 11.5px; font-weight: 700;
  background: var(--amber-tint); color: var(--amber); border: 1px solid var(--amber-line); padding: 1px 9px; border-radius: 999px;
}
[data-theme="dark"] .soon { background: #3b2a09; }

/* لقطة الواجهة */
.hero-shot { position: relative; margin-top: 64px; padding-bottom: 24px; }
.browser {
  margin: 0; border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--line-2);
  box-shadow: var(--shadow-lg);
}
.hero-shot .browser { transform: perspective(2400px) rotateX(4deg); transform-origin: 50% 0; }
.browser-bar { height: 40px; display: flex; align-items: center; gap: 7px; padding-inline: 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); direction: ltr; }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #e2e6ec; }
.browser-bar i:nth-child(1) { background: #ff5f57; } .browser-bar i:nth-child(2) { background: #febc2e; } .browser-bar i:nth-child(3) { background: #28c840; }
.url { margin-inline: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); padding: 3px 14px; border-radius: 8px; transform: translateX(-24px); }
.url .ic { color: var(--green); }
.browser img { width: 100%; }
[data-theme="dark"] .browser { border-color: rgba(255,255,255,.12); box-shadow: 0 0 0 1px rgba(0,184,212,.08), var(--shadow-lg); }

.phone {
  margin: 0; position: relative; width: 250px; border-radius: 40px; padding: 9px;
  background: linear-gradient(145deg, #2a3142, #0b1020); box-shadow: 0 0 0 1px #3a4254 inset, var(--shadow-lg);
}
.phone::after { content: ""; position: absolute; top: 17px; left: 50%; width: 30%; height: 7.5%; max-height: 22px; margin-left: -15%; border-radius: 12px; background: #05070d; }
.phone img { width: 100%; height: auto; padding-top: 11%; border-radius: 31px; background: #10152b; }
.phone-hero { position: absolute; left: 8px; bottom: 0; width: 230px; }
.hero-shot .browser { -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
[data-theme="dark"] .phone { box-shadow: 0 0 0 1px #3a4254 inset, 0 0 60px -18px rgba(0, 184, 212, .45), var(--shadow-lg); }

/* تبديل اللقطة عند تغيير اللغة: خفوتٌ قصير بدل القفز */
img.swap { transition: opacity .22s ease; }
img.swap.fading { opacity: 0; }

/* ── الأرقام ── */
.stats { padding: 96px 0 24px; }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 28px 24px; display: flex; flex-direction: column; gap: 4px; }
.stat + .stat { border-inline-start: 1px solid var(--line); }
.stat b { font-size: 34px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 15px; line-height: 1.6; }
[data-theme="dark"] .stat b { color: #fff; }

/* ── الأقسام ── */
.sec { padding: var(--sp-sec) 0; }
.sec-tight { padding-top: 40px; }
.sec-soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-h { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--brand); letter-spacing: .01em; margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; opacity: .6; }
.eyebrow-v { color: var(--violet); direction: ltr; }
.eyebrow-v::before { display: none; }
.sec-h h2 { font-size: var(--fs-h2); font-weight: 700; letter-spacing: -.02em; }
.sec-h p { margin-top: 16px; color: var(--ink-2); font-size: 18px; }

/* بطاقات المزايا */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card {
  grid-column: span 2; position: relative; padding: 28px; border-radius: var(--r); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: box-shadow .25s, transform .25s, border-color .25s;
}
.card:hover { box-shadow: var(--shadow); border-color: var(--line-2); transform: translateY(-2px); }
.card-lg { grid-column: span 3; padding: 32px; overflow: hidden; }
.card-lg::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .9; }
.c-cyan::before { background: radial-gradient(80% 70% at 100% 0%, var(--brand-tint), transparent 60%); }
.c-amber::before { background: radial-gradient(80% 70% at 100% 0%, var(--amber-tint), transparent 60%); }
.card > * { position: relative; z-index: 1; }
.card-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand-2); margin-bottom: 18px; border: 1px solid var(--brand-line); transition: transform .35s var(--ease-out); }
.card:hover .card-ic { transform: translateY(-2px) rotate(-6deg); }
.c-amber .card-ic { background: var(--amber-tint); color: var(--amber-ink); border-color: var(--amber-line); }
.card h3 { font-size: 19px; font-weight: 700; }
.card-lg h3 { font-size: 23px; }
.card p { margin-top: 10px; color: var(--ink-2); font-size: 15.5px; line-height: 1.8; }
.card-lg p { font-size: 16.5px; }
.chips { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 13.5px; font-weight: 500; padding: 4px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); color: var(--ink-2); }
[data-theme="dark"] .card { background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02)); }
[data-theme="dark"] .chips li { background: rgba(255,255,255,.04); }

/* هواتف التطبيق */
.phones { display: flex; justify-content: center; align-items: flex-end; gap: 40px; }
.phones .phone { width: 270px; }
.phones .phone-up { transform: translateY(-28px); width: 290px; }
.phones .phone-up.reveal:not(.in) { transform: translateY(-10px); }
.phones figcaption { position: absolute; top: calc(100% + 18px); inset-inline: 0; text-align: center; font-size: 14.5px; color: var(--muted); font-weight: 500; }
.try {
  margin-top: 84px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 22px 26px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.try > div { display: flex; flex-direction: column; gap: 2px; }
.try b { font-size: 17px; }
.try span { color: var(--muted); font-size: 15px; }

/* كل الشاشات */
.devices { position: relative; padding-bottom: 70px; }
.devices .laptop { width: 78%; }
.devices figure { margin: 0; position: relative; }
.devices figcaption { margin-top: 18px; text-align: center; font-size: 14.5px; color: var(--muted); font-weight: 500; }
.laptop-screen { background: #0b1020; border-radius: 16px 16px 0 0; padding: 14px 14px 18px; box-shadow: 0 0 0 1px #2c3345 inset, var(--shadow-lg); }
.laptop-screen img { width: 100%; border-radius: 4px; background: #10152b; }
.laptop-base { position: relative; height: 16px; margin: 0 -5%; background: linear-gradient(#dfe3ea, #b9c0cc); border-radius: 0 0 14px 14px; box-shadow: 0 18px 30px -18px rgba(16,24,40,.5); }
.laptop-base::before { content: ""; position: absolute; top: 0; left: 50%; width: 16%; height: 6px; margin-left: -8%; background: #c5ccd6; border-radius: 0 0 8px 8px; }
[data-theme="dark"] .laptop-base { background: linear-gradient(#3a4158, #1f2437); }
[data-theme="dark"] .laptop-base::before { background: #2b3148; }
.tablet { position: absolute !important; inset-inline-end: 0; bottom: 70px; width: 46%; background: linear-gradient(145deg, #2a3142, #0b1020); border-radius: 26px; padding: 14px; box-shadow: 0 0 0 1px #3a4254 inset, 0 0 0 6px var(--bg), var(--shadow-lg); }
.tablet img { width: 100%; border-radius: 12px; background: #10152b; }
.tablet figcaption { position: absolute; top: calc(100% + 8px); inset-inline: 0; }
.rad-logo { display: block; width: 170px; height: auto; margin: -24px auto 6px; filter: drop-shadow(0 18px 30px rgba(37,99,235,.18)); }
.dev-badge { font-style: normal; font-size: 12px; font-weight: 700; color: var(--amber); background: var(--amber-tint); border: 1px solid var(--amber-line); padding: 1px 10px; border-radius: 999px; margin-inline-start: 6px; }

/* RADIUS */
.rad { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); margin-bottom: 16px; flex-wrap: wrap; }
.tabs button { font-size: 14.5px; font-weight: 500; color: var(--ink-2); background: transparent; border: 0; min-height: 38px; padding: 7px 16px; border-radius: 9px; cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); font-weight: 600; }
[data-theme="dark"] .tabs button[aria-selected="true"] { background: var(--surface-2); box-shadow: 0 0 0 1px rgba(0,184,212,.35); }
.rad > * { min-width: 0; } /* المسار 1fr لا يتمدّد بعرض التبويبات (كان يسبّب تمريراً أفقياً على الهاتف) */
#rad-img { transition: opacity .25s; }
.rad-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.rad-list li { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.rad-list li:first-child { padding-top: 6px; }
.rad-list li:last-child { border-bottom: 0; }
.rad-list .ic { color: var(--violet); margin-top: 3px; }
.rad-list div { display: flex; flex-direction: column; gap: 3px; }
.rad-list b { font-size: 16.5px; }
.rad-list span { font-size: 15px; color: var(--ink-2); line-height: 1.75; }
.rad-cta { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 44px; text-align: center; }

/* الخطوات */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { position: relative; padding: 28px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.steps .n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--btn-ink); color: var(--btn-ink-fg); font-weight: 700; font-size: 15px; margin-bottom: 18px; }
[data-theme="dark"] .steps .n { background: linear-gradient(135deg, #00E5A0, #00B8D4); color: #04121a; }
.steps h3 { font-size: 19px; }
.steps p { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; }

/* الأسئلة */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; min-height: 56px; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 9px; height: 9px; flex: none; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .25s var(--ease); margin-top: -5px; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq p { padding-bottom: 20px; color: var(--ink-2); font-size: 16px; }
.faq details[open] p { animation: faq-in .35s var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } }

/* شريط التحميل */
.cta-band {
  position: relative; overflow: hidden; border-radius: 26px; padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  background: radial-gradient(90% 120% at 0% 100%, rgba(109,74,255,.35), transparent 55%), radial-gradient(80% 120% at 100% 0%, rgba(8,145,178,.45), transparent 55%), #0b1324;
  color: #fff;
}
[data-theme="dark"] .cta-band { background: radial-gradient(90% 120% at 0% 100%, rgba(255,179,0,.16), transparent 55%), radial-gradient(80% 120% at 100% 0%, rgba(0,184,212,.35), transparent 55%), #1A1F3A; border: 1px solid rgba(255,255,255,.1); }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 40px 40px; pointer-events: none; }
.cta-band > * { position: relative; }
.cta-txt h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; }
.cta-txt p { margin-top: 10px; color: rgba(255,255,255,.72); font-size: 18px; }
.cta-band .hero-cta { margin-top: 0; }
.store-light { background: #fff; color: #0b1324; border-color: #fff; }
.store-glass { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.2); box-shadow: none; }
.store-glass:hover { box-shadow: none; }
.store-glass .soon { background: #3b2a09; border-color: #7a560f; color: #fbbf24; }

/* تواصل */
.contacts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.contact { display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s, border-color .2s; }
.contact:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--line-2); }
.contact:active { transform: scale(.99); }
.contact > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.contact small { font-size: 13.5px; color: var(--muted); }
.contact b { font-size: 17px; font-weight: 600; text-align: end; overflow-wrap: anywhere; }
[dir="rtl"] .contact b { text-align: right; }
.contact-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.ci-wa { background: #e8f8ee; color: #16a34a; }
.ci-mail { background: #eef2ff; color: #4f46e5; }
.ci-tg { background: #e7f4fd; color: #0284c7; }
.ci-yt { background: #fdecec; color: #dc2626; }
[data-theme="dark"] .contact-ic.ci-wa { background: rgba(61,220,132,.12); color: #3ddc84; }
[data-theme="dark"] .contact-ic.ci-mail { background: rgba(165,180,252,.12); color: #a5b4fc; }
[data-theme="dark"] .contact-ic.ci-tg { background: rgba(79,182,255,.12); color: #4fb6ff; }
[data-theme="dark"] .contact-ic.ci-yt { background: rgba(255,99,99,.12); color: #ff6b6b; }

/* ── الذيل ── */
.foot { border-top: 1px solid var(--line); background: var(--soft); padding: 56px 0 calc(28px + var(--safe-b)); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-about p { margin-top: 14px; max-width: 34ch; color: var(--muted); font-size: 15px; line-height: 1.8; }
.foot-col h4 { font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 12px; letter-spacing: .01em; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.foot-col a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; font-size: 15px; color: var(--ink-2); transition: color .2s; }
.foot-col a:hover { color: var(--brand); }
.foot-col .ic { width: 17px; height: 17px; color: var(--muted); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot-bottom .v-note { display: inline-flex; align-items: center; gap: 8px; }
.foot-bottom .v-note i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 20%, transparent); }

/* الظهور عند التمرير */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.phones .phone-up.reveal.in { transform: translateY(-28px); }

/* ── الشاشات ── */
@media (max-width: 1040px) {
  .rad { grid-template-columns: 1fr; }
  .rad-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .rad-list li:first-child { padding-top: 18px; }
  .rad-list li { border-bottom: 1px solid var(--line) !important; }
  .phone-hero { width: 180px; bottom: -28px; }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-about { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  :root { --nav-h: 60px; }
  .devices { display: flex; flex-direction: column; gap: 64px; padding-bottom: 30px; }
  .devices .laptop { width: 100%; }
  .tablet { position: relative !important; bottom: auto; inset-inline-end: auto; width: 100%; max-width: 560px; margin: 0 auto; box-shadow: 0 0 0 1px #3a4254 inset, var(--shadow-lg); }
  .links { display: none; }
  .nav-cta { margin-inline-start: auto; }
  .menu-btn { display: inline-flex; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card, .card-lg { grid-column: span 1; }
  .card-lg { grid-column: span 2; }
  .bento .card:last-child { grid-column: span 2; }
  .stats-in { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .contacts { grid-template-columns: 1fr; }
  .phones { gap: 18px; }
  .phones .phone { width: 30%; max-width: 220px; border-radius: 30px; padding: 6px; }
  .phones .phone-up { width: 33%; max-width: 240px; }
  .phones .phone img { border-radius: 24px; }
  .phones .phone::after { width: 50px; height: 14px; margin-left: -25px; top: 12px; }
  .cta-band { padding: 40px 28px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding-inline: max(16px, var(--safe-l)) max(16px, var(--safe-r)); }
  .nav-in { gap: 10px; }
  .nav-cta { gap: 6px; }
  .nav-cta .btn { display: none; }
  .brand img { width: 32px; height: 32px; }
  .brand-t small { display: none; }
  .icon-btn { height: 44px; min-width: 44px; }
  .theme-btn { width: 44px; }
  .lang-btn { padding-inline: 10px 12px; }
  .hero h1 { margin-top: 20px; }
  .hero-cta { width: 100%; }
  .hero-cta .store { flex: 1 1 100%; justify-content: center; }
  .hero-shot { margin-top: 44px; }
  .hero-shot .browser { transform: none; }
  .browser-bar { height: 30px; padding-inline: 10px; gap: 5px; }
  .browser-bar i { width: 8px; height: 8px; }
  .url { font-size: 11px; padding: 1px 10px; transform: none; }
  .hide-sm { display: none; }
  .hero-shot .browser { display: none; }
  .hero-shot { display: flex; justify-content: center; padding-bottom: 0; }
  .phone-hero { position: relative; left: auto; bottom: auto; width: 240px; }
  .hero-shot::before { content: ""; position: absolute; inset: 20% -16px 0; background: radial-gradient(60% 50% at 50% 50%, var(--glow-a), transparent 70%); z-index: -1; }
  .stats { padding-top: 64px; }
  .stat { padding: 20px 14px; }
  .stat b { font-size: 26px; }
  .stat span { font-size: 13.5px; }
  .sec-h { margin-bottom: 36px; }
  .sec-h p { font-size: 16.5px; }
  .bento { grid-template-columns: 1fr; gap: 12px; }
  .card, .card-lg { grid-column: span 1; padding: 22px; }
  .bento .card:last-child { grid-column: span 1; }
  .card:not(.card-lg) { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: center; padding: 18px; }
  .card:not(.card-lg) .card-ic { margin: 0; }
  .card:not(.card-lg) p { grid-column: 1 / -1; margin-top: 8px; font-size: 15px; }
  .rad-list { grid-template-columns: 1fr; }
  .tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { white-space: nowrap; padding: 7px 14px; min-height: 42px; scroll-snap-align: start; }
  .phones { gap: 10px; }
  .phones figcaption { font-size: 12.5px; top: calc(100% + 12px); }
  .phones .phone-up, .phones .phone-up.reveal.in { transform: translateY(-16px); }
  .try { margin-top: 72px; }
  .try .btn { width: 100%; }
  .cta-band { padding: 32px 20px; border-radius: 20px; }
  .faq details { padding: 0 16px; }
  .faq summary { font-size: 16px; }
  .rad-cta .btn { width: 100%; }
  .foot { padding-top: 44px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .foot-col-contact { grid-column: 1 / -1; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 360px) {
  .brand-t b { font-size: 15px; }
  .lang-btn span { display: none; }
  .lang-btn { padding-inline: 0; width: 44px; }
}

/* ── بوابتي — تطبيق المشترك (2026-10-06) ── */
.bw-sec { position: relative; overflow: hidden; }
.bw-sec::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 60% at 85% 20%, color-mix(in srgb, var(--green) 9%, transparent), transparent 70%), radial-gradient(45% 55% at 10% 70%, var(--glow-a), transparent 70%); }
.bw-sec > .wrap { position: relative; }
.bw { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow-g { color: var(--green); }
.bw-txt h2 { font-size: var(--fs-h2); font-weight: 700; letter-spacing: -.02em; }
.bw-lead { margin-top: 16px; color: var(--ink-2); font-size: 18px; line-height: 1.85; max-width: 58ch; }
.bw-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.store-gplay { background: var(--surface); color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-sm); cursor: default; }
.store-gplay:hover { transform: none; box-shadow: var(--shadow-sm); border-color: var(--line-2) !important; }
.store-gplay > span { opacity: .7; }
.store-gplay .ic { opacity: .8; }
.bw-note { margin-top: 18px; color: var(--muted); font-size: 15px; line-height: 1.8; max-width: 58ch; }
.bw-art { margin: 0; justify-self: center; width: min(100%, 440px); }
.bw-art img { width: 100%; filter: drop-shadow(0 30px 40px rgba(8, 60, 140, .22)); }
[data-theme="dark"] .bw-art img { filter: drop-shadow(0 0 50px rgba(0, 184, 212, .28)); }
.bw-grid { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.bw-grid li { display: flex; gap: 14px; padding: 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
[data-theme="dark"] .bw-grid li { background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02)); }
.bw-ic { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: var(--green); background: color-mix(in srgb, var(--green) 11%, transparent); border: 1px solid color-mix(in srgb, var(--green) 26%, transparent); }
.bw-grid div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bw-grid b { font-size: 16px; }
.bw-grid span:not(.bw-ic) { font-size: 14.5px; color: var(--ink-2); line-height: 1.7; }
.bw-legal { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 12px; font-size: 14.5px; color: var(--muted); }
.bw-legal a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 4px; }
.bw-legal a:hover { color: var(--brand); }
@media (max-width: 1040px) { .bw-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  .bw { grid-template-columns: 1fr; gap: 32px; }
  .bw-txt { text-align: center; }
  .bw-lead, .bw-note { margin-inline: auto; }
  .bw-cta { justify-content: center; }
  .bw-art { width: min(80%, 360px); grid-row: 1; }
}
@media (max-width: 600px) {
  .bw-lead { font-size: 16.5px; }
  .bw-cta .store { flex: 1 1 100%; justify-content: center; }
  .bw-grid { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 36px; }
  .bw-grid li { flex-direction: column; gap: 10px; padding: 14px; }
  .bw-ic { width: 36px; height: 36px; }
  .bw-grid b { font-size: 15px; }
  .bw-grid span:not(.bw-ic) { font-size: 13.5px; line-height: 1.65; }
}

/* ── الصفحات القانونية (بوابتي · 2026-10-06) — /site/bawabti-*.html ──
   قسمان كاملان بالعربية والإنجليزية؛ يظهر واحدٌ بحسب html[lang] (يُحسم في <head>). */
.lg-nav .nav-in { justify-content: space-between; }
.lg { padding: 40px 0 72px; }
.lg-doc { max-width: 820px; margin-inline: auto; }
html[lang="en"] .l-ar, html:not([lang="en"]) .l-en { display: none !important; }
.lg-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--green); margin-bottom: 10px; }
.lg h1 { font-size: clamp(28px, 4.4vw, 40px); font-weight: 700; letter-spacing: -.02em; }
.lg-meta { margin-top: 10px; color: var(--muted); font-size: 14.5px; }
.lg-toc { margin: 26px 0 8px; padding: 16px 20px; border-radius: var(--r-sm); background: var(--soft); border: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14.5px; }
.lg-toc a { color: var(--ink-2); }
.lg-toc a:hover { color: var(--brand); }
.lg h2 { font-size: 21px; font-weight: 700; margin: 40px 0 12px; scroll-margin-top: calc(var(--nav-h) + 16px); }
.lg h3 { font-size: 17px; font-weight: 700; margin: 22px 0 8px; }
.lg p, .lg li { color: var(--ink-2); font-size: 16px; line-height: 1.9; }
.lg p + p { margin-top: 10px; }
.lg ul, .lg ol { margin: 8px 0; padding-inline-start: 22px; }
.lg li { margin: 6px 0; }
.lg li b, .lg p b { color: var(--ink); }
.lg a:not(.btn) { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.lg-box { margin: 20px 0; padding: 18px 20px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); }
.lg-box.ok { border-color: color-mix(in srgb, var(--green) 35%, transparent); background: color-mix(in srgb, var(--green) 6%, var(--surface)); }
.lg-box.warn { border-color: var(--amber-line); background: var(--amber-tint); }
.lg-box p:first-child, .lg-box ul:first-child { margin-top: 0; }
.lg-tbl { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.lg-tbl th, .lg-tbl td { text-align: start; vertical-align: top; padding: 11px 12px; border-bottom: 1px solid var(--line); color: var(--ink-2); line-height: 1.75; }
.lg-tbl th { color: var(--ink); font-weight: 700; background: var(--soft); }
.lg-tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-sm); }
.lg-tbl-wrap .lg-tbl { margin: 0; min-width: 560px; }
.lg-steps { counter-reset: s; list-style: none; padding: 0 !important; }
.lg-steps li { counter-increment: s; position: relative; padding-inline-start: 44px; margin: 14px 0; }
.lg-steps li::before { content: counter(s); position: absolute; inset-inline-start: 0; top: 2px; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: var(--brand-2); background: var(--brand-tint); border: 1px solid var(--brand-line); }
.lg-contact { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.lg-contact .btn { min-height: 44px; }
.lg-foot { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; color: var(--muted); }
.lg-foot a { color: var(--ink-2); }
@media (max-width: 600px) {
  .lg { padding: 24px 0 56px; }
  .lg h2 { font-size: 19px; margin-top: 32px; }
  .lg p, .lg li { font-size: 15.5px; }
  .lg-contact .btn { flex: 1 1 100%; }
  /* الجدول على الهاتف: كل صفٍّ بطاقة، والعمودان ٢ و٣ بعنوانٍ قصير */
  .lg-tbl-wrap { overflow: visible; border: 0; }
  .lg-tbl-wrap .lg-tbl { min-width: 0; }
  .lg-tbl thead { display: none; }
  .lg-tbl tr { display: block; margin-bottom: 10px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); overflow: hidden; }
  .lg-tbl td { display: block; border: 0; padding: 8px 14px; }
  .lg-tbl td:first-child { background: var(--soft); padding-top: 12px; padding-bottom: 10px; }
  .lg-tbl td:nth-child(2)::before, .lg-tbl td:nth-child(3)::before { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); }
  .l-ar .lg-tbl td:nth-child(2)::before { content: "الغرض"; }
  .l-ar .lg-tbl td:nth-child(3)::before { content: "أين يُحفظ"; }
  .l-en .lg-tbl td:nth-child(2)::before { content: "Purpose"; }
  .l-en .lg-tbl td:nth-child(3)::before { content: "Where it is stored"; }
}

/* ── «ما الجديد» عند التحميل (2026-09-25) ── */
.wn-bg { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: max(16px, var(--safe-t)) 16px max(16px, var(--safe-b)); background: var(--scrim); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .2s; }
.wn-bg.in { opacity: 1; }
.wn { position: relative; width: min(460px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 26px 24px 22px; transform: translateY(10px) scale(.98); transition: transform .2s; }
.wn-bg.in .wn { transform: none; }
.wn-x { position: absolute; top: 14px; inset-inline-end: 14px; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); display: grid; place-items: center; cursor: pointer; }
.wn-x:hover { background: var(--soft); }
.wn-dl { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--brand-2); background: var(--brand-tint); border-radius: 999px; padding: 5px 12px; }
.wn-spin { width: 13px; height: 13px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--brand) 25%, transparent); border-top-color: var(--brand); animation: wn-spin .8s linear infinite; }
@keyframes wn-spin { to { transform: rotate(360deg); } }
.wn h3 { margin: 16px 0 2px; font-size: 21px; color: var(--ink); }
.wn-date { margin: 0; color: var(--muted); font-size: 14px; }
.wn ul { list-style: none; margin: 16px 0 20px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.wn li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.wn-e { font-size: 20px; line-height: 1.4; flex: 0 0 auto; }
.wn-ok { width: 100%; justify-content: center; }

/* ── الإنجليزية (LTR · 2026-09-26) ── الصفحة مبنيّة RTL؛ هنا ما لا تقلبه الخصائص المنطقية وحدها */
[dir="ltr"] .brand-t b { text-align: start; }
[dir="ltr"] .contact b { text-align: left; }
[dir="ltr"] .pill .ic { transform: scaleX(-1); }
[dir="ltr"] .pill:hover .ic { transform: scaleX(-1) translateX(-3px); }
[dir="ltr"] .phone-hero { left: auto; right: 8px; }
@media (max-width: 600px) { [dir="ltr"] .phone-hero { right: auto; } }

/* ── تطبيقٌ مثبّت (PWA · شاشة كاملة) ── */
@media (display-mode: standalone) {
  .nav { -webkit-user-select: none; user-select: none; }
}

/* ── تقليل الحركة ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .phones .phone-up.reveal { transform: translateY(-28px); }
  .drawer, .scrim, .dr-nav a, .wn-bg, .wn, img.swap, .theme-btn .ic, body { transition-duration: .01ms !important; transition-delay: 0s !important; }
  .card:hover, .contact:hover, .store:hover { transform: none; }
}
