/* متجر DAYS WE LIVE — أسود وفضي مثل شعار DS. RTL، خط IBM Plex Sans Arabic للنص و Tajawal للعناوين. */

@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/ibm-plex-sans-arabic-arabic-400-normal.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: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/ibm-plex-sans-arabic-latin-400-normal.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; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/ibm-plex-sans-arabic-arabic-500-normal.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: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/ibm-plex-sans-arabic-latin-500-normal.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; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/ibm-plex-sans-arabic-arabic-700-normal.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: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/ibm-plex-sans-arabic-latin-700-normal.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; }
@font-face { font-family: 'Tajawal'; font-style: normal; font-weight: 800; font-display: swap; src: url(../fonts/tajawal-arabic-800-normal.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: 'Tajawal'; font-style: normal; font-weight: 800; font-display: swap; src: url(../fonts/tajawal-latin-800-normal.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; }
/* الإنجليزي: Inter للنص و Space Grotesk للعناوين (لاتيني بس؛ الحروف العربية تاخذ IBM Plex Sans Arabic). */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/inter-latin-400-normal.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; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/inter-latin-500-normal.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; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700 800; font-display: swap; src: url(../fonts/inter-latin-700-normal.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; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/space-grotesk-latin-500-normal.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; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 600 800; font-display: swap; src: url(../fonts/space-grotesk-latin-700-normal.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; }

:root {
  --bg: #060708;
  --bg-2: #0a0b0d;
  --surface: #0f1114;
  --surface-2: #14171b;
  --surface-3: #1a1e23;
  --line: rgba(255, 255, 255, 0.075);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eef1f4;
  --text-2: #bcc3cb;
  --muted: #8b949e;
  --silver: linear-gradient(135deg, #ffffff 0%, #cfd4da 20%, #8e96a0 42%, #f1f3f5 60%, #9ba3ad 80%, #e7eaee 100%);
  --silver-soft: linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.04) 40%, rgba(255, 255, 255, 0.16) 75%, rgba(255, 255, 255, 0.05));
  --ok: #46d6a0;
  --warn: #f3c552;
  --danger: #ff6f6f;
  --info: #8fb4ff;
  --discord: #5865f2;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.85);
  --font: 'IBM Plex Sans Arabic', system-ui, 'Segoe UI', Tahoma, sans-serif;
  --font-display: 'Tajawal', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 72px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 800; }
button, input, select, textarea { font: inherit; color: inherit; }
code { font-family: ui-monospace, 'Cascadia Code', Consolas, monospace; font-size: 0.88em; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line); padding: 0.05em 0.4em; border-radius: 6px; unicode-bidi: plaintext; }
::selection { background: rgba(220, 226, 232, 0.28); color: #fff; }
:focus-visible { outline: 2px solid #dfe4ea; outline-offset: 3px; border-radius: 8px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.center { text-align: center; }
.hide-sm { display: inline-flex; }
[hidden] { display: none !important; }

.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: #fff; color: #000; padding: 8px 14px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.container.narrow { width: min(860px, 100% - 40px); }

/* خلفية الصفحة: إضاءة فضية خفيفة */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(210, 216, 224, 0.08), transparent 60%),
    radial-gradient(900px 500px at 0% 30%, rgba(160, 170, 182, 0.05), transparent 60%),
    radial-gradient(800px 600px at 50% 110%, rgba(200, 206, 214, 0.05), transparent 60%),
    var(--bg);
}

/* ─────────── النص الفضي ─────────── */
.silver-text {
  background: linear-gradient(100deg, #8e96a0 0%, #f6f7f9 18%, #a4acb6 36%, #ffffff 50%, #9aa2ac 64%, #eceff2 82%, #8e96a0 100%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: silver-shine 7s linear infinite;
}
@keyframes silver-shine { from { background-position: 120% 0; } to { background-position: -120% 0; } }

/* ─────────── الأزرار ─────────── */
.btn {
  --btn-h: 46px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: var(--btn-h);
  padding: 0 1.25em;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.97rem;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s, border-color 0.25s, color 0.25s;
  background: transparent;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn .icon { width: 1.25em; height: 1.25em; }
.btn-sm { --btn-h: 38px; padding: 0 0.95em; font-size: 0.9rem; }
.btn-lg { --btn-h: 54px; padding: 0 1.6em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-silver { background: var(--silver); color: #0b0c0e; box-shadow: 0 10px 30px -12px rgba(230, 235, 240, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.8); }
.btn-silver::after {
  content: '';
  position: absolute;
  inset: -2px;
  z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.85) 48%, transparent 66%);
  transform: translateX(120%);
  transition: transform 0.8s var(--ease);
}
.btn-silver:hover::after { transform: translateX(-120%); }
.btn-silver:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(230, 235, 240, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.85); }
.btn-silver .icon { transform: scaleX(1); }
.btn-discord { background: var(--discord); color: #fff; box-shadow: 0 10px 30px -14px rgba(88, 101, 242, 0.8); }
.btn-discord:hover { transform: translateY(-2px); background: #6672f5; }
.btn-ghost { border-color: var(--line-2); background: rgba(255, 255, 255, 0.03); color: var(--text); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.07); transform: translateY(-2px); }
.btn-danger { border-color: rgba(255, 111, 111, 0.4); background: rgba(255, 111, 111, 0.08); color: #ffb3b3; }
.btn-danger:hover { background: rgba(255, 111, 111, 0.16); }
.btn-disabled, .btn[disabled], .btn[aria-disabled='true'] { background: rgba(255, 255, 255, 0.05); color: var(--muted); border-color: var(--line); cursor: not-allowed; box-shadow: none; transform: none; }
.btn[data-busy] { pointer-events: none; color: transparent !important; }
.btn[data-busy]::before { content: ''; position: absolute; width: 18px; height: 18px; inset: 0; margin: auto; border-radius: 50%; border: 2px solid rgba(127, 127, 127, 0.35); border-top-color: currentColor; color: var(--text); animation: spin 0.7s linear infinite; }
.btn-silver[data-busy]::before { border-top-color: #0b0c0e; }
@keyframes spin { to { transform: rotate(360deg); } }
.link-cta { display: inline-flex; align-items: center; gap: 0.4em; font-weight: 700; color: var(--text); }
.link-cta:hover { color: #fff; }
.link-cta .icon, .dept-cta .icon, .card-arrow .icon { transition: transform 0.3s var(--ease); }
.link-cta:hover .icon { transform: translateX(-4px); }

.chip { display: inline-flex; align-items: center; gap: 0.35em; padding: 0.2em 0.75em; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); color: var(--text-2); font-size: 0.82rem; font-weight: 500; white-space: nowrap; }
.chip-lg { font-size: 0.9rem; padding: 0.35em 0.95em; }
.chip-accent { background: var(--silver); color: #0b0c0e; border-color: transparent; font-weight: 700; }

/* ─────────── الرأس ─────────── */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); background: rgba(6, 7, 8, 0.72); border-bottom: 1px solid transparent; transition: border-color 0.3s, background 0.3s; }
.site-header[data-scrolled] { border-bottom-color: var(--line); background: rgba(6, 7, 8, 0.86); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-mark { width: 58px; height: auto; filter: drop-shadow(0 4px 14px rgba(220, 226, 232, 0.18)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; direction: ltr; }
.brand-text strong { font-family: var(--font-display); font-size: 0.98rem; letter-spacing: 0.16em; background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-text small { font-size: 0.62rem; letter-spacing: 0.5em; color: var(--muted); }
.main-nav { margin-inline-start: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--text-2); font-weight: 500; font-size: 0.95rem; transition: color 0.2s, background 0.2s; }
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.main-nav a[aria-current='page'] { color: #fff; background: rgba(255, 255, 255, 0.07); }
.nav-mobile-actions { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.user-chip { display: inline-flex; align-items: center; gap: 8px; padding-block: 4px; padding-inline: 4px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); font-weight: 500; font-size: 0.9rem; max-width: 200px; transition: border-color 0.2s, background 0.2s; }
.user-chip:hover { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.08); }
.user-chip img { width: 32px; height: 32px; border-radius: 50%; }
.user-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle .icon { width: 22px; height: 22px; }

/* ─────────── الأقسام العامة ─────────── */
.section { padding: 96px 0; position: relative; }
.section-tight { padding: 56px 0; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.018) 20%, rgba(255, 255, 255, 0.018) 80%, transparent); }
.section-head { margin-bottom: 44px; max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-block; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; color: var(--text-2); margin-bottom: 12px; }
.eyebrow-chip { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); }
.section-title { font-family: var(--font-display); font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.9rem); letter-spacing: -0.01em; }
.section-text { color: var(--text-2); font-size: 1.08rem; margin: 14px 0 0; }
.center-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 40px; }

/* ─────────── الهيرو ─────────── */
.hero { position: relative; padding: 56px 0 40px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; animation: float-orb 18s ease-in-out infinite; }
.orb-1 { width: 520px; height: 520px; inset-inline-start: -160px; top: -120px; background: radial-gradient(circle, rgba(225, 230, 236, 0.22), transparent 65%); }
.orb-2 { width: 420px; height: 420px; inset-inline-end: -120px; top: 120px; background: radial-gradient(circle, rgba(150, 160, 172, 0.22), transparent 65%); animation-delay: -6s; }
.orb-3 { width: 360px; height: 360px; left: 40%; bottom: -200px; background: radial-gradient(circle, rgba(200, 206, 214, 0.16), transparent 65%); animation-delay: -11s; }
@keyframes float-orb { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(30px, -24px) scale(1.06); } 66% { transform: translate(-24px, 18px) scale(0.96); } }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 40px; min-height: min(640px, calc(100vh - var(--header-h) - 160px)); }
.hero-title { font-family: var(--font-display); font-size: clamp(2.4rem, 1.4rem + 4.4vw, 4.6rem); line-height: 1.12; letter-spacing: -0.015em; margin: 6px 0 20px; }
.hero-title .silver-text { display: block; }
.hero-text { color: var(--text-2); font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.2rem); max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--text-2); font-size: 0.93rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: 6px; }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.emblem-wrap { position: relative; width: min(100%, 520px); aspect-ratio: 1 / 0.8; display: grid; place-items: center; }
.emblem { position: relative; z-index: 2; width: 92%; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 40px rgba(220, 226, 232, 0.12)); animation: emblem-float 7s ease-in-out infinite; }
@keyframes emblem-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(-0.6deg); } }
.emblem-ring { position: absolute; inset: 6% 12%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.1); background: conic-gradient(from 0deg, transparent 0 70%, rgba(255, 255, 255, 0.35) 80%, transparent 90%); mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px)); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px)); animation: spin 14s linear infinite; }
.emblem-ring.ring-2 { inset: -2% 4%; animation-duration: 22s; animation-direction: reverse; opacity: 0.6; }
.emblem-wrap::before { content: ''; position: absolute; inset: 18% 22%; border-radius: 50%; background: radial-gradient(circle, rgba(230, 235, 240, 0.16), transparent 70%); filter: blur(10px); }
.emblem-shine { position: absolute; z-index: 3; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.16) 50%, transparent 65%); background-size: 300% 100%; mix-blend-mode: overlay; animation: silver-shine 5s linear infinite; mask-image: radial-gradient(ellipse 45% 40% at 50% 50%, #000 40%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 45% 40% at 50% 50%, #000 40%, transparent 70%); }
.floating-chips { position: absolute; inset: 0; pointer-events: none; }
.float-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 14px; background: rgba(16, 18, 21, 0.78); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow); font-weight: 700; font-size: 0.88rem; animation: chip-float 6s ease-in-out infinite; white-space: nowrap; }
.float-chip b { font-size: 1.1rem; }
.float-chip small { font-weight: 500; color: var(--muted); font-size: 0.75rem; }
.chip-1 { top: 6%; inset-inline-end: 2%; }
.chip-2 { bottom: 14%; inset-inline-end: -2%; animation-delay: -1.5s; }
.chip-3 { top: 22%; inset-inline-start: -4%; animation-delay: -3s; }
.chip-4 { bottom: 2%; inset-inline-start: 8%; animation-delay: -4.5s; }
@keyframes chip-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.stats { margin: 26px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--radius-lg); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)); overflow: hidden; }
.stats > div { padding: 22px 18px; text-align: center; border-inline-start: 1px solid var(--line); }
.stats > div:first-child { border-inline-start: 0; }
.stats dt { color: var(--muted); font-size: 0.88rem; order: 2; }
.stats dd { margin: 0; font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent; direction: ltr; }
.stats > div { display: flex; flex-direction: column-reverse; }

/* ─────────── بطاقات الأقسام ─────────── */
.dept-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dept-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 380px;
  padding: 28px 24px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  background: linear-gradient(180deg, var(--surface-2), var(--surface)) padding-box, var(--silver-soft) border-box;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.dept-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(400px 260px at 50% -10%, rgba(230, 235, 240, 0.12), transparent 70%); opacity: 0.6; transition: opacity 0.45s; }
.dept-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.08) 48%, transparent 66%); transform: translateX(110%); transition: transform 1s var(--ease); }
.dept-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.12); }
.dept-card:hover::before { opacity: 1; }
.dept-card:hover::after { transform: translateX(-110%); }
.dept-watermark { position: absolute; inset-inline-end: -6px; bottom: 10px; font-family: var(--font-display); font-size: 3.4rem; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.035); direction: ltr; pointer-events: none; white-space: nowrap; }
.dept-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; font-size: 1.9rem; background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.04) 60%); border: 1px solid var(--line-2); margin-bottom: 22px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15); transition: transform 0.45s var(--ease); }
.dept-card:hover .dept-icon { transform: scale(1.08) rotate(-4deg); }
.dept-card h3 { font-family: var(--font-display); font-size: 1.55rem; margin-bottom: 8px; }
.dept-card p { color: var(--text-2); margin-bottom: 18px; }
.dept-services { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 6px; }
.dept-services li { font-size: 0.8rem; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); color: var(--text-2); }
.dept-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.dept-card:hover .dept-cta .icon { transform: translateX(-5px); }
.dept-bots { background: linear-gradient(180deg, #181b20, var(--surface)) padding-box, var(--silver) border-box; }

/* ─────────── المميزات ─────────── */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)); transition: border-color 0.3s, transform 0.4s var(--ease), background 0.3s; }
.feature:hover { border-color: var(--line-2); transform: translateY(-4px); background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)); }
.feature-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; font-size: 1.45rem; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); margin-bottom: 16px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { color: var(--text-2); margin: 0; font-size: 0.96rem; }

/* ─────────── بطاقات المنتجات ─────────── */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); border: 1px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--silver-soft) border-box; overflow: hidden; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.1); }
.product-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0c0d0f; }
.product-media img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.8s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.045); }
.product-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(15, 17, 20, 0.85)); pointer-events: none; }
.product-media-fallback { display: grid; place-items: center; align-content: center; gap: 6px; height: 100%; background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.1), transparent 60%), #0e1013; }
.product-media-fallback span { font-size: 3.4rem; }
.product-media-fallback b { font-family: var(--font-display); letter-spacing: 0.3em; color: var(--muted); direction: ltr; }
.product-media-fallback.big { aspect-ratio: 1200 / 778; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.product-badge { position: absolute; top: 14px; inset-inline-start: 14px; z-index: 2; padding: 4px 12px; border-radius: 999px; background: var(--silver); color: #0b0c0e; font-size: 0.78rem; font-weight: 700; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.8); }
.product-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-body h3 { font-size: 1.2rem; display: flex; align-items: center; gap: 8px; }
.product-emoji { font-size: 1.2rem; }
.product-body p { color: var(--text-2); margin: 0; font-size: 0.95rem; }
.product-meta { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.price-tag { font-weight: 700; font-size: 0.95rem; color: #fff; }
.price-tag.soon { padding: 3px 12px; border-radius: 999px; font-size: 0.82rem; background: linear-gradient(100deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.18) 50%, rgba(255, 255, 255, 0.06) 100%); background-size: 220% 100%; animation: silver-shine 3.5s linear infinite; border: 1px solid var(--line-2); color: var(--text); }
.card-arrow { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(10, 11, 13, 0.7); border: 1px solid var(--line-2); backdrop-filter: blur(6px); opacity: 0; transform: scale(0.8); transition: opacity 0.3s, transform 0.4s var(--ease); }
.product-card:hover .card-arrow { opacity: 1; transform: scale(1); }

/* ─────────── الخطوات ─────────── */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; counter-reset: step; }
.steps::before { content: ''; position: absolute; top: 46px; inset-inline: 16%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent); }
.step { position: relative; text-align: center; padding: 26px 22px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent); border: 1px solid var(--line); }
.step-num { position: absolute; top: 14px; inset-inline-start: 16px; font-family: var(--font-display); font-size: 0.95rem; color: var(--muted); }
.step-icon { position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; font-size: 1.7rem; background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: 0 0 0 6px var(--bg), 0 0 30px rgba(230, 235, 240, 0.1); }
.step h3 { font-size: 1.2rem; margin-bottom: 6px; }
.step p { color: var(--text-2); margin: 0; font-size: 0.95rem; }

/* ─────────── الآراء ─────────── */
.reviews-section { overflow: hidden; }
.marquee { position: relative; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee 60s linear infinite; padding: 6px 0; padding-inline-end: 18px; }
.marquee-track.static { animation: none; margin-inline: auto; padding-inline-end: 0; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-dup { display: contents; }
.review-card { margin: 0; width: clamp(300px, 34vw, 470px); flex: none; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow); background: #0d0e10; }
.review-card img { width: 100%; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ─────────── الأسئلة ─────────── */
.faq-list { display: grid; gap: 12px; }
.faq-item, .commands-box { border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); transition: border-color 0.3s, background 0.3s; }
.faq-item[open], .commands-box[open] { border-color: var(--line-2); background: rgba(255, 255, 255, 0.045); }
.faq-item summary, .commands-box summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 700; font-size: 1.04rem; }
.faq-item summary::-webkit-details-marker, .commands-box summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 18px; height: 18px; flex: none; }
.faq-plus::before, .faq-plus::after { content: ''; position: absolute; inset: 0; margin: auto; width: 14px; height: 2px; border-radius: 2px; background: var(--text-2); transition: transform 0.35s var(--ease); }
.faq-plus::after { transform: rotate(90deg); }
details[open] > summary .faq-plus::after { transform: rotate(0); }
.faq-answer { padding: 0 22px 18px; color: var(--text-2); }
.faq-answer p { margin: 0; }
.commands-box .prose { padding: 0 22px 22px; }

/* ─────────── شريط الدعوة ─────────── */
.cta-band { padding: 30px 0 90px; }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 44px 48px; border-radius: 30px; overflow: hidden; border: 1px solid transparent; background: radial-gradient(600px 300px at 100% 0%, rgba(230, 235, 240, 0.14), transparent 60%), linear-gradient(180deg, #16191d, #0e1013) padding-box, var(--silver) border-box; }
.cta-inner h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); margin-bottom: 6px; }
.cta-inner p { color: var(--text-2); margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─────────── رأس الصفحات الداخلية ─────────── */
.page-hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 320px at 50% -10%, rgba(220, 226, 232, 0.12), transparent 70%), radial-gradient(500px 260px at 90% 20%, rgba(150, 160, 172, 0.08), transparent 70%); }
.page-title { font-family: var(--font-display); font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); line-height: 1.2; margin-bottom: 14px; }
.page-text { color: var(--text-2); font-size: 1.1rem; max-width: 720px; }
.page-hero .hero-actions { margin-top: 26px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.88rem; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--text); }

/* ─────────── صفحة المنتج ─────────── */
.product-hero { position: relative; padding: 48px 0 32px; overflow: hidden; }
.product-hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 44px; align-items: center; }
.product-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 26px; }
.product-hero-media img { border-radius: var(--radius-lg); border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.95), 0 0 60px rgba(220, 226, 232, 0.06); }
.highlight-box { display: flex; gap: 20px; align-items: center; padding: 26px 28px; border-radius: var(--radius-lg); border: 1px solid transparent; background: linear-gradient(120deg, #191c21, #101215) padding-box, var(--silver) border-box; }
.highlight-icon { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--silver); color: #0b0c0e; font-size: 1.6rem; }
.highlight-box h2 { font-family: var(--font-display); font-size: 1.45rem; margin-bottom: 4px; }
.highlight-box p { color: var(--text-2); margin: 0; }
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 34px; }
.feature-pill { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); font-weight: 500; }
.feature-pill .icon { color: var(--ok); }
.prose { color: var(--text-2); max-width: 900px; }
.prose h2, .prose h3, .prose h4 { color: var(--text); margin: 1.6em 0 0.6em; font-size: 1.2rem; }
.prose h4 { font-size: 1.05rem; }
.prose ul, .prose ol { padding-inline-start: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.45em; }
.prose strong { color: var(--text); }
.md-table { overflow-x: auto; margin: 0 0 1.2em; border-radius: 14px; border: 1px solid var(--line); }
.md-table table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.md-table th, .md-table td { padding: 10px 14px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; }
.md-table th { background: rgba(255, 255, 255, 0.04); color: var(--text); }
.md-table tr:last-child td { border-bottom: 0; }
.setup-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.setup-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); color: var(--text-2); }
.setup-num { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--silver); color: #0b0c0e; font-weight: 800; font-size: 0.9rem; }

/* ─────────── الخطط والأسعار ─────────── */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.plan-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 28px 24px 24px; border-radius: var(--radius-lg); border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)); transition: transform 0.4s var(--ease), border-color 0.3s; }
.plan-card:hover { transform: translateY(-5px); border-color: rgba(255, 255, 255, 0.28); }
.plan-card.featured { border-color: transparent; background: linear-gradient(180deg, #1b1e23, #111316) padding-box, var(--silver) border-box; }
.plan-ribbon { position: absolute; top: -12px; inset-inline-start: 22px; padding: 3px 12px; border-radius: 999px; background: var(--silver); color: #0b0c0e; font-size: 0.78rem; font-weight: 800; }
.plan-duration { color: var(--text-2); font-weight: 700; }
.plan-price { font-family: var(--font-display); font-size: 2.3rem; line-height: 1.2; }
.plan-usd { color: var(--muted); font-size: 0.82rem; }
.plan-points { list-style: none; padding: 0; margin: 14px 0 22px; display: grid; gap: 8px; color: var(--text-2); font-size: 0.93rem; }
.plan-points li { display: flex; gap: 8px; align-items: center; }
.plan-points .icon { color: var(--ok); }
.plan-card .btn { margin-top: auto; }
.test-note { text-align: center; color: var(--warn); margin-top: 18px; }
.pricing-product { margin-bottom: 40px; }
.pricing-product-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.pricing-product-head h3 { font-size: 1.3rem; }
.pricing-product-head a { display: inline-flex; gap: 6px; align-items: center; color: var(--text-2); font-weight: 500; }
.price-list { border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.price-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.price-row:last-child { border-bottom: 0; }
a.price-row { transition: background 0.2s; }
a.price-row:hover { background: rgba(255, 255, 255, 0.05); }
.price-list-spaced { margin-top: 22px; }
.coming-soon { position: relative; overflow: hidden; text-align: center; padding: 56px 28px; border-radius: 30px; border: 1px solid transparent; background: radial-gradient(500px 220px at 50% 0%, rgba(230, 235, 240, 0.12), transparent 70%), linear-gradient(180deg, #15181c, #0e1013) padding-box, var(--silver-soft) border-box; }
.coming-soon.compact { padding: 30px 20px; }
.coming-soon-shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.07) 50%, transparent 65%); background-size: 260% 100%; animation: silver-shine 4.5s linear infinite; pointer-events: none; }
.coming-soon-badge { display: inline-block; padding: 6px 18px; border-radius: 999px; background: var(--silver); color: #0b0c0e; font-weight: 800; letter-spacing: 0.04em; margin-bottom: 16px; }
.coming-soon h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); margin-bottom: 8px; }
.coming-soon p { color: var(--text-2); max-width: 520px; margin: 0 auto 22px; }

/* ─────────── الخدمات (الأقسام) ─────────── */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { position: relative; display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius-lg); border: 1px solid transparent; background: linear-gradient(180deg, var(--surface-2), var(--surface)) padding-box, var(--silver-soft) border-box; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.95); }
.service-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; font-size: 1.7rem; background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04) 60%); border: 1px solid var(--line-2); margin-bottom: 18px; }
.service-card.has-media { padding: 0 0 22px; overflow: hidden; }
.service-card.has-media > :not(.service-media) { margin-inline: 22px; }
.service-media { aspect-ratio: 16 / 9; overflow: hidden; background: #0c0d0f; margin-bottom: 18px; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.service-card:hover .service-media img { transform: scale(1.04); }
.product-hero-grid.single { grid-template-columns: 1fr; max-width: 820px; }
.service-card h2 { font-size: 1.25rem; margin-bottom: 8px; }
.service-card p { color: var(--text-2); font-size: 0.95rem; }
.service-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; }

/* ─────────── التواصل والدخول والقانوني ─────────── */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 22px; align-items: start; }
.contact-main { padding: 40px; border-radius: 30px; border: 1px solid transparent; background: radial-gradient(500px 240px at 100% 0%, rgba(88, 101, 242, 0.16), transparent 70%), linear-gradient(180deg, #15181c, #0e1013) padding-box, var(--silver-soft) border-box; }
.contact-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--discord); color: #fff; margin-bottom: 20px; }
.contact-icon .icon { width: 34px; height: 34px; }
.contact-main h2 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 8px; }
.contact-main p { color: var(--text-2); }
.contact-links { display: grid; gap: 12px; align-content: start; }
.contact-link { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); transition: border-color 0.3s, transform 0.4s var(--ease); }
.contact-link:hover { border-color: var(--line-2); transform: translateX(-4px); }
.contact-link > span:first-child { font-size: 1.6rem; }
.contact-link b { display: block; }
.contact-link small { color: var(--muted); }
.contact-link .icon { margin-inline-start: auto; color: var(--muted); }
.login-section { position: relative; min-height: calc(100vh - var(--header-h) - 200px); display: grid; place-items: center; padding: 60px 0; overflow: hidden; }
.login-card { width: min(460px, 100%); margin: 0 auto; text-align: center; padding: 40px 32px; border-radius: 30px; border: 1px solid transparent; background: linear-gradient(180deg, #15181c, #0d0f12) padding-box, var(--silver) border-box; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.95); }
.login-emblem { width: 150px; margin: 0 auto 18px; filter: drop-shadow(0 10px 30px rgba(220, 226, 232, 0.15)); }
.login-card h1 { font-family: var(--font-display); font-size: 1.9rem; margin-bottom: 8px; }
.login-card > p { color: var(--text-2); }
.login-notes { list-style: none; padding: 0; margin: 22px 0 12px; display: grid; gap: 8px; text-align: start; color: var(--text-2); font-size: 0.9rem; }
.login-notes li { display: flex; gap: 8px; align-items: flex-start; }
.login-notes .icon { color: var(--ok); margin-top: 0.3em; }
.login-card a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }
.legal { display: grid; gap: 16px; }
.legal-section { padding: 24px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); }
.legal-section h2 { display: flex; align-items: center; gap: 12px; font-size: 1.2rem; margin-bottom: 10px; }
.legal-num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line-2); font-size: 0.85rem; }
.legal-section p { color: var(--text-2); margin-bottom: 0.6em; }
.legal-section p:last-child { margin-bottom: 0; }
.final-sale-banner, .final-sale-note { padding: 16px 20px; border-radius: 14px; background: rgba(243, 197, 82, 0.08); border: 1px solid rgba(243, 197, 82, 0.3); color: #f7dc95; font-weight: 700; text-align: center; margin-bottom: 18px; }
.error-section { position: relative; padding: 110px 0; overflow: hidden; }
.error-code { font-family: var(--font-display); font-size: clamp(5rem, 3rem + 10vw, 9rem); line-height: 1; margin-bottom: 10px; direction: ltr; }
.error-section .page-text { margin-inline: auto; }

/* ─────────── التذييل ─────────── */
.site-footer { position: relative; margin-top: 20px; padding: 64px 0 28px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 40%); overflow: hidden; }
.footer-glow { position: absolute; top: -1px; left: 15%; right: 15%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer-logo { margin-bottom: 16px; }
.footer-logo .brand-mark { width: 84px; }
.footer-logo .brand-text strong { font-size: 1.15rem; }
.footer-brand p { color: var(--text-2); max-width: 380px; font-size: 0.95rem; }
.site-footer h3 { font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer ul a { color: var(--text-2); font-size: 0.94rem; transition: color 0.2s; }
.site-footer ul a:hover { color: #fff; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 0.88rem; }
.final-sale { color: #d9c28a; }

/* ─────────── التنبيهات (Toast) ─────────── */
.toast-root { position: fixed; z-index: 200; bottom: 20px; inset-inline-start: 50%; transform: translateX(50%); display: grid; gap: 10px; width: min(440px, calc(100% - 32px)); pointer-events: none; }
.toast { pointer-events: auto; display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: rgba(22, 25, 29, 0.96); border: 1px solid var(--line-2); box-shadow: var(--shadow); animation: toast-in 0.35s var(--ease); font-weight: 500; }
.toast.ok { border-color: rgba(70, 214, 160, 0.45); }
.toast.error { border-color: rgba(255, 111, 111, 0.5); }
.toast-icon { flex: none; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } }

.alert { padding: 12px 16px; border-radius: 12px; margin: 14px 0; font-weight: 500; text-align: start; }
.alert-error { background: rgba(255, 111, 111, 0.1); border: 1px solid rgba(255, 111, 111, 0.35); color: #ffc2c2; }
.alert-ok { background: rgba(70, 214, 160, 0.1); border: 1px solid rgba(70, 214, 160, 0.35); color: #b6f3da; }
.alert-warn { background: rgba(243, 197, 82, 0.08); border: 1px solid rgba(243, 197, 82, 0.35); color: #f7dc95; }
.alert-info { background: rgba(143, 180, 255, 0.08); border: 1px solid rgba(143, 180, 255, 0.3); color: #cddcff; }

/* ─────────── ظهور العناصر مع التمرير ─────────── */
[data-reveal] { animation: reveal-up 0.8s var(--ease) both; }
@supports (animation-timeline: view()) {
  [data-reveal] { animation: reveal-up linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
}
@keyframes reveal-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ═══════════════════ لوحة العميل والمالك ═══════════════════ */
.app-section { padding: 36px 0 80px; min-height: calc(100vh - var(--header-h) - 200px); }
.app-layout { display: grid; grid-template-columns: 250px 1fr; gap: 26px; align-items: start; }
.app-side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 14px; }
.side-card { padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); }
.side-user { display: flex; align-items: center; gap: 12px; }
.side-user img { width: 48px; height: 48px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.18); }
.side-user b { display: block; line-height: 1.3; }
.side-user small { color: var(--muted); direction: ltr; display: block; text-align: end; }
.side-nav { display: grid; gap: 4px; }
.side-nav a, .side-nav button { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; color: var(--text-2); font-weight: 500; border: 0; background: none; width: 100%; cursor: pointer; text-align: start; transition: background 0.2s, color 0.2s; }
.side-nav a:hover, .side-nav button:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }
.side-nav a[aria-current='page'] { background: rgba(255, 255, 255, 0.08); color: #fff; box-shadow: inset -3px 0 0 #dfe4ea; }
.side-nav .count { margin-inline-start: auto; font-size: 0.78rem; color: var(--muted); }
.app-main { min-width: 0; }
.app-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.app-head h1 { font-family: var(--font-display); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); }
.app-head p { color: var(--text-2); margin: 4px 0 0; }
.app-back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 0.9rem; margin-bottom: 10px; flex-direction: row-reverse; }
.app-back:hover { color: var(--text); }
.panel { padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)); margin-bottom: 18px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.panel-head h2 { font-size: 1.2rem; }
.panel-head p { margin: 2px 0 0; color: var(--muted); font-size: 0.9rem; }
.empty { text-align: center; padding: 48px 20px; border-radius: var(--radius-lg); border: 1px dashed var(--line-2); background: rgba(255, 255, 255, 0.015); }
.empty-icon { font-size: 2.6rem; margin-bottom: 10px; }
.empty h2 { font-size: 1.3rem; margin-bottom: 6px; }
.empty p { color: var(--text-2); max-width: 460px; margin: 0 auto 20px; }

/* بطاقة الاشتراك */
.sub-card { position: relative; padding: 22px 24px; border-radius: var(--radius-lg); border: 1px solid transparent; background: linear-gradient(180deg, var(--surface-2), var(--surface)) padding-box, var(--silver-soft) border-box; margin-bottom: 18px; overflow: hidden; }
.sub-top { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.sub-title { flex: 1; min-width: 200px; }
.sub-title h2 { font-size: 1.3rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sub-title p { color: var(--muted); margin: 2px 0 0; font-size: 0.9rem; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; border: 1px solid; }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.active, .status.online, .status.fulfilled, .status.paid { color: var(--ok); border-color: rgba(70, 214, 160, 0.35); background: rgba(70, 214, 160, 0.08); }
.status.grace, .status.pending, .status.attention, .status.starting { color: var(--warn); border-color: rgba(243, 197, 82, 0.35); background: rgba(243, 197, 82, 0.08); }
.status.expired, .status.revoked, .status.offline, .status.failed, .status.cancelled, .status.stopped { color: var(--danger); border-color: rgba(255, 111, 111, 0.35); background: rgba(255, 111, 111, 0.08); }
.status.online::before { box-shadow: 0 0 0 0 rgba(70, 214, 160, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(70, 214, 160, 0.55); } 70% { box-shadow: 0 0 0 8px rgba(70, 214, 160, 0); } 100% { box-shadow: 0 0 0 0 rgba(70, 214, 160, 0); } }
.sub-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0; }
.kv { padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); min-width: 0; }
.kv > span { display: block; color: var(--muted); font-size: 0.8rem; }
.kv b { display: block; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.days-bar { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); overflow: hidden; margin-top: 8px; }
.days-bar i { display: block; height: 100%; width: var(--pct, 0%); background: var(--silver); border-radius: inherit; transition: width 1s var(--ease); }
.days-bar.low i { background: linear-gradient(90deg, #f3c552, #ff8f6f); }
.bot-row { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.2); flex-wrap: wrap; }
.bot-avatar { position: relative; width: 54px; height: 54px; flex: none; }
.bot-avatar img { width: 54px; height: 54px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.16); object-fit: cover; }
.bot-avatar .dot { position: absolute; bottom: 1px; inset-inline-end: 1px; width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--surface); background: var(--muted); }
.bot-avatar .dot.on { background: var(--ok); }
.bot-avatar .dot.idle { background: var(--warn); }
.bot-avatar .dot.dnd { background: var(--danger); }
.bot-info { flex: 1; min-width: 160px; }
.bot-info b { display: block; font-size: 1.05rem; }
.bot-info small { color: var(--muted); }
.bot-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.sub-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

/* صفحة البوت */
.bot-hero { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-2); margin-bottom: 18px; background: var(--surface); }
.bot-banner { height: 150px; background: radial-gradient(400px 160px at 70% 0%, rgba(230, 235, 240, 0.18), transparent 70%), linear-gradient(120deg, #1a1d22, #0e1013); }
.bot-banner img { width: 100%; height: 100%; object-fit: cover; }
.bot-hero-body { display: flex; gap: 18px; align-items: flex-end; padding: 0 22px 20px; margin-top: -46px; flex-wrap: wrap; }
.bot-hero-body .bot-avatar, .bot-hero-body .bot-avatar img { width: 96px; height: 96px; }
.bot-hero-body .bot-avatar img { border: 5px solid var(--surface); }
.bot-hero-body .bot-avatar .dot { width: 22px; height: 22px; border-width: 4px; bottom: 4px; inset-inline-end: 4px; }
.bot-hero-body h1 { font-size: 1.6rem; }
.bot-hero-meta { flex: 1; min-width: 200px; padding-bottom: 4px; }
.bot-hero-meta p { margin: 2px 0 0; color: var(--muted); font-size: 0.9rem; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.tabs { display: flex; gap: 6px; padding: 5px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.tabs button { flex: 1; padding: 9px 14px; border-radius: 10px; border: 0; background: none; color: var(--text-2); font-weight: 700; cursor: pointer; white-space: nowrap; transition: background 0.2s, color 0.2s; }
.tabs button[aria-selected='true'] { background: rgba(255, 255, 255, 0.1); color: #fff; }

/* النماذج */
.form-grid { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span, .field legend { font-weight: 700; font-size: 0.92rem; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.field > .btn-sm, .form-grid > .btn-sm { justify-self: start; }
fieldset.field legend { padding: 0; margin-bottom: 6px; }
.bot-list { display: grid; gap: 10px; }
.option .bot-avatar { width: 16px; height: 16px; }
.option .bot-avatar .dot { position: static; display: block; width: 14px; height: 14px; border: 0; }
.final-sale-note { margin: 14px 0 0; font-size: 0.85rem; padding: 10px 14px; }
.summary h2 { font-size: 1.15rem; margin-bottom: 10px; }
.field small { color: var(--muted); font-size: 0.82rem; }
.input, .select, .textarea { width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, 0.35); color: var(--text); transition: border-color 0.2s, box-shadow 0.2s; }
.textarea { min-height: 110px; resize: vertical; line-height: 1.7; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: rgba(255, 255, 255, 0.4); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.06); }
.input[dir='ltr'] { text-align: left; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23bcc3cb' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-position: 14px 50%; background-size: 16px 16px; background-repeat: no-repeat; padding-inline-end: 14px; padding-inline-start: 14px; padding-left: 38px; }
.counter { text-align: end; font-size: 0.78rem; color: var(--muted); direction: ltr; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; color: var(--text-2); }
.check input { width: 20px; height: 20px; margin-top: 0.3em; accent-color: #dfe4ea; flex: none; }
.image-pick { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.image-preview { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; border: 2px dashed var(--line-2); display: grid; place-items: center; background: rgba(0, 0, 0, 0.3); color: var(--muted); font-size: 0.8rem; flex: none; }
.image-preview.banner { width: 220px; height: 84px; border-radius: 14px; }
.image-preview img { width: 100%; height: 100%; object-fit: cover; }
.file-btn { position: relative; overflow: hidden; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.sync-note { display: flex; gap: 6px; align-items: center; font-size: 0.82rem; color: var(--muted); margin-top: 2px; }
.sync-note.ok { color: var(--ok); }
.sync-note.err { color: #ffb0b0; }
.sync-note.wait { color: var(--warn); }
.option-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.option { position: relative; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option:has(input:checked) { border-color: rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); }
.option:has(input:focus-visible) { outline: 2px solid #dfe4ea; outline-offset: 2px; }
.option img { width: 36px; height: 36px; border-radius: 50%; }
.option .guild-fallback { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); font-weight: 700; font-size: 0.85rem; flex: none; }
.option b { display: block; font-size: 0.95rem; }
.option small { color: var(--muted); font-size: 0.78rem; }
.option-list { display: grid; gap: 8px; max-height: 330px; overflow-y: auto; padding: 2px; }

/* النافذة المنبثقة */
dialog.modal { width: min(560px, calc(100% - 28px)); padding: 0; border: 1px solid var(--line-2); border-radius: 24px; background: #111316; color: var(--text); box-shadow: 0 40px 120px rgba(0, 0, 0, 0.8); }
dialog.modal::backdrop { background: rgba(0, 0, 0, 0.65); backdrop-filter: blur(4px); }
dialog.modal[open] { animation: toast-in 0.3s var(--ease); }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 22px 0; }
.modal-head h2 { font-size: 1.25rem; }
.modal-close { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: none; cursor: pointer; display: grid; place-items: center; }
.modal-body { padding: 18px 22px 22px; }

/* الجداول (لوحة المالك) */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
table.data { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
table.data th, table.data td { padding: 11px 14px; text-align: start; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data th { background: rgba(255, 255, 255, 0.04); color: var(--text-2); font-weight: 700; position: sticky; top: 0; }
table.data tr:hover td { background: rgba(255, 255, 255, 0.02); }
table.data td.wrap { white-space: normal; min-width: 180px; }
.mono { font-family: ui-monospace, Consolas, monospace; direction: ltr; unicode-bidi: isolate; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.kpi { padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)); }
.kpi span { color: var(--muted); font-size: 0.85rem; }
.kpi b { display: block; font-family: var(--font-display); font-size: 1.9rem; line-height: 1.3; direction: ltr; text-align: end; }
.kpi small { color: var(--text-2); font-size: 0.8rem; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.filters .select, .filters .input { width: auto; min-width: 150px; min-height: 40px; }
.bar-list { display: grid; gap: 10px; }
.bar-item { display: grid; grid-template-columns: 130px 1fr 44px; gap: 10px; align-items: center; font-size: 0.9rem; }
.bar-item .bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.bar-item .bar i { display: block; height: 100%; width: var(--pct, 0%); background: var(--silver); border-radius: inherit; }
.bar-item b { text-align: end; direction: ltr; }
.toggle { position: relative; display: inline-block; vertical-align: middle; width: 46px; height: 26px; flex: none; }
.toggle input { position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 1; margin: 0; }
.toggle span { position: absolute; inset: 0; border-radius: 99px; background: rgba(255, 255, 255, 0.12); transition: background 0.2s; }
.toggle span::after { content: ''; position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform 0.25s var(--ease); }
.toggle input:checked + span { background: var(--ok); }
.toggle input:checked + span::after { transform: translateX(-20px); }
.codes-box { padding: 14px; border-radius: 14px; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line-2); font-family: ui-monospace, Consolas, monospace; direction: ltr; white-space: pre-wrap; word-break: break-all; max-height: 240px; overflow: auto; }

/* هياكل التحميل */
.skeleton-stack { display: grid; gap: 16px; }
.skeleton { border-radius: var(--radius); background: linear-gradient(100deg, rgba(255, 255, 255, 0.04) 20%, rgba(255, 255, 255, 0.09) 40%, rgba(255, 255, 255, 0.04) 60%); background-size: 220% 100%; animation: silver-shine 1.4s linear infinite; }
.skeleton-title { height: 42px; width: 40%; }
.skeleton-card { height: 190px; }

/* الطلب والدفع */
.checkout-grid { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
.summary { position: sticky; top: calc(var(--header-h) + 20px); }
.summary img { border-radius: 14px; margin-bottom: 14px; border: 1px solid var(--line); }
.summary-row { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--text-2); }
.summary-row b { color: var(--text); }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; }
.summary-total b { font-family: var(--font-display); font-size: 1.8rem; }
.pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.order-status { text-align: center; padding: 40px 24px; }
.order-status .big-icon { font-size: 3.4rem; margin-bottom: 10px; }
.order-status h2 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 6px; }
.order-status p { color: var(--text-2); }
.spinner { width: 46px; height: 46px; margin: 0 auto 16px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.12); border-top-color: #e6e9ed; animation: spin 0.9s linear infinite; }

/* ═══════════════════ الجوال ═══════════════════ */
@media (max-width: 1080px) {
  .dept-grid { grid-template-columns: repeat(2, 1fr); }
  .dept-card { min-height: 320px; }
  .product-grid, .service-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .kpi-grid, .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .sub-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  :root { --header-h: 64px; }
  .menu-toggle { display: inline-flex; }
  .hide-sm { display: none !important; }
  .main-nav { position: fixed; inset: var(--header-h) 0 auto 0; margin: 0; padding: 14px 20px 22px; background: rgba(8, 9, 11, 0.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0.25s; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .main-nav[data-open] { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 13px 14px; font-size: 1.05rem; }
  .nav-mobile-actions { display: block; margin-top: 12px; }
  .header-actions { margin-inline-start: auto; }
  .user-chip span { display: none; }
  .user-chip { padding: 4px; }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; gap: 10px; text-align: center; }
  .hero-text { margin-inline: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-visual { order: -1; min-height: 0; }
  .emblem-wrap { width: min(100%, 420px); }
  .float-chip { font-size: 0.78rem; padding: 7px 11px; }
  .chip-3, .chip-4 { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(3) { border-inline-start: 0; }
  .stats > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .product-hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .product-hero-media { order: -1; }
  .feature-list { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .app-layout { grid-template-columns: 1fr; }
  .app-side { position: static; }
  .side-nav { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 2px; }
  .side-nav a, .side-nav button { width: auto; white-space: nowrap; border: 1px solid var(--line); }
  .side-nav a[aria-current='page'] { box-shadow: none; }
  .side-card.side-user-card { display: none; }
  .checkout-grid { grid-template-columns: 1fr; }
  .summary { position: static; order: -1; }
  .section { padding: 72px 0; }
}
@media (max-width: 640px) {
  .container, .container.narrow { width: calc(100% - 32px); }
  body { font-size: 15.5px; }
  .brand-mark { width: 48px; }
  .brand-text strong { font-size: 0.86rem; }
  .dept-grid, .product-grid, .service-grid, .feature-grid, .feature-list { grid-template-columns: 1fr; }
  .dept-card { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-brand { grid-column: 1 / -1; }
  .cta-inner { padding: 30px 22px; border-radius: 24px; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; }
  .section { padding: 60px 0; }
  .section-tight { padding: 40px 0; }
  .section-head { margin-bottom: 30px; }
  .form-row, .pay-methods { grid-template-columns: 1fr; }
  .sub-grid, .stat-grid, .kpi-grid { grid-template-columns: 1fr 1fr; }
  .sub-card, .panel { padding: 18px; }
  .highlight-box { flex-direction: column; text-align: center; }
  .bar-item { grid-template-columns: 90px 1fr 36px; }
  .contact-main { padding: 28px 22px; }
  .login-card { padding: 32px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { animation: none !important; opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none !important; }
  .marquee { overflow-x: auto; }
}

/* ═══════════════════ زر اللغة ═══════════════════ */
.lang-switch { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); color: var(--text-2); font-weight: 600; font-size: 0.88rem; white-space: nowrap; transition: border-color 0.2s, background 0.2s, color 0.2s; }
.lang-switch:hover { color: #fff; border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.07); }
.lang-switch .icon { width: 1.1em; height: 1.1em; }
.lang-switch:lang(en) { font-family: 'Inter', var(--font); }
.lang-switch:lang(ar) { font-family: 'IBM Plex Sans Arabic', var(--font); }
.lang-short { display: none; }
.footer-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.footer-actions .lang-switch { min-height: var(--btn-h); padding: 0 1.1em; font-size: 0.95rem; }

/* ═══════════════════ خمس أقسام (الرئيسية) ═══════════════════ */
.dept-grid.dept-count-5 { grid-template-columns: repeat(6, 1fr); }
.dept-count-5 .dept-card { grid-column: span 2; }
.dept-count-5 .dept-card:nth-child(-n + 2) { grid-column: span 3; min-height: 340px; }

/* ═══════════════════ الإنجليزي (LTR) ═══════════════════ */
:root:lang(en) {
  --font: 'Inter', 'IBM Plex Sans Arabic', system-ui, 'Segoe UI', Tahoma, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', 'IBM Plex Sans Arabic', system-ui, sans-serif;
}
:root:lang(en) body { line-height: 1.65; }
:root:lang(en) h1, :root:lang(en) h2, :root:lang(en) h3 { font-weight: 700; letter-spacing: -0.015em; }
:root:lang(en) .hero-title { line-height: 1.04; letter-spacing: -0.035em; }
:root:lang(en) .page-title, :root:lang(en) .section-title { letter-spacing: -0.03em; line-height: 1.1; }
:root:lang(en) .dept-card h3, :root:lang(en) .cta-inner h2, :root:lang(en) .coming-soon h3 { letter-spacing: -0.02em; }
:root:lang(en) .eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.76rem; }
:root:lang(en) .eyebrow-chip { letter-spacing: 0.1em; }
:root:lang(en) .plan-price, :root:lang(en) .summary-total b, :root:lang(en) .kpi b { letter-spacing: -0.02em; }
:root:lang(en) .btn { font-weight: 600; letter-spacing: -0.005em; }
:root:lang(en) .main-nav a { font-size: 0.93rem; }

/* أسهم وأيقونات الاتجاه: تنعكس (scale مستقل عن transform، فحركة hover تنعكس معها تلقائيًا). */
[dir='ltr'] .icon-dir { scale: -1 1; }
/* لمعة الأزرار والبطاقات: من اليسار لليمين. */
[dir='ltr'] .btn-silver::after { transform: translateX(-120%); }
[dir='ltr'] .btn-silver:hover::after { transform: translateX(120%); }
[dir='ltr'] .dept-card::after { transform: translateX(-110%); }
[dir='ltr'] .dept-card:hover::after { transform: translateX(110%); }
[dir='ltr'] .contact-link:hover { transform: translateX(4px); }
[dir='ltr'] .marquee-track { animation-name: marquee-ltr; }
[dir='ltr'] .marquee-track.static { animation: none; }
@keyframes marquee-ltr { from { transform: translateX(0); } to { transform: translateX(-50%); } }
[dir='ltr'] .toast-root { transform: translateX(-50%); }
[dir='ltr'] .side-nav a[aria-current='page'] { box-shadow: inset 3px 0 0 #dfe4ea; }
[dir='ltr'] .side-user small { text-align: start; }
[dir='ltr'] .kpi b { text-align: start; }
[dir='ltr'] .select { background-position: right 14px center; padding-left: 14px; padding-right: 38px; }
[dir='ltr'] .toggle span::after { right: auto; left: 3px; }
[dir='ltr'] .toggle input:checked + span::after { transform: translateX(20px); }
/* الإضاءات الجانبية تنعكس مع الصفحة. */
[dir='ltr'] .cta-inner { background: radial-gradient(600px 300px at 0% 0%, rgba(230, 235, 240, 0.14), transparent 60%), linear-gradient(180deg, #16191d, #0e1013) padding-box, var(--silver) border-box; }
[dir='ltr'] .contact-main { background: radial-gradient(500px 240px at 0% 0%, rgba(88, 101, 242, 0.16), transparent 70%), linear-gradient(180deg, #15181c, #0e1013) padding-box, var(--silver-soft) border-box; }
[dir='ltr'] .bot-banner { background: radial-gradient(400px 160px at 30% 0%, rgba(230, 235, 240, 0.18), transparent 70%), linear-gradient(240deg, #1a1d22, #0e1013); }
[dir='ltr'] .page-hero-bg { background: radial-gradient(700px 320px at 50% -10%, rgba(220, 226, 232, 0.12), transparent 70%), radial-gradient(500px 260px at 10% 20%, rgba(150, 160, 172, 0.08), transparent 70%); }
[dir='ltr'] .page-bg { background: radial-gradient(1200px 600px at 15% -10%, rgba(210, 216, 224, 0.08), transparent 60%), radial-gradient(900px 500px at 100% 30%, rgba(160, 170, 182, 0.05), transparent 60%), radial-gradient(800px 600px at 50% 110%, rgba(200, 206, 214, 0.05), transparent 60%), var(--bg); }

@media (max-width: 1080px) {
  .dept-grid.dept-count-5 { grid-template-columns: repeat(2, 1fr); }
  .dept-count-5 .dept-card, .dept-count-5 .dept-card:nth-child(-n + 2) { grid-column: auto; min-height: 320px; }
  .dept-count-5 .dept-card:last-child { grid-column: 1 / -1; min-height: 0; }
}
@media (max-width: 640px) {
  .dept-grid.dept-count-5 { grid-template-columns: 1fr; }
  .dept-count-5 .dept-card, .dept-count-5 .dept-card:nth-child(-n + 2) { min-height: 0; }
  .lang-switch-header { padding: 0 10px; min-width: 44px; justify-content: center; }
  .lang-switch-header .lang-full { display: none; }
  .lang-switch-header .lang-short { display: inline; }
  :root:lang(en) .hero-title { letter-spacing: -0.03em; }
}

/* ═══════════════════ طرق الدفع ═══════════════════ */
.pay-methods-strip { display: grid; gap: 12px; justify-items: start; }
.pay-logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pay-logo { display: grid; place-items: center; width: 68px; height: 44px; padding: 8px 10px; border-radius: 10px; background: #fff; border: 1px solid rgba(255, 255, 255, 0.6); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.9), inset 0 -1px 0 rgba(0, 0, 0, 0.06); }
.pay-logo img { width: 100%; height: 100%; object-fit: contain; }
.pay-visa img { height: 15px; }
.pay-paypal img { height: 24px; }
.pay-secure { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--text-2); font-size: 0.88rem; font-weight: 500; }
.pay-secure .icon { color: var(--ok); width: 1.05em; height: 1.05em; }
.pay-methods-strip.compact { gap: 8px; }
.pay-methods-strip.compact .pay-logo { width: 54px; height: 34px; padding: 6px 8px; border-radius: 8px; }
.pay-methods-strip.compact .pay-visa img { height: 12px; }
.pay-methods-strip.compact .pay-paypal img { height: 20px; }
.pay-methods-strip.compact .pay-secure { font-size: 0.82rem; }
.pay-band { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center; padding: 40px 44px; border-radius: 30px; border: 1px solid transparent; background: radial-gradient(520px 260px at 50% 0%, rgba(230, 235, 240, 0.1), transparent 70%), linear-gradient(180deg, #15181c, #0e1013) padding-box, var(--silver-soft) border-box; }
.pay-band .section-title { margin-top: 0; }
.pay-band .pay-methods-strip { justify-items: center; }
.pay-band .pay-logos { justify-content: center; }
.pay-panel { margin-top: 10px; padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.pay-panel h3 { font-size: 1.1rem; }
.plans-pay { display: flex; justify-content: center; margin-top: 26px; }
.plans-pay .pay-methods-strip { justify-items: center; }
.footer-pay { margin-top: 36px; }
.footer-pay .pay-methods-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.checkout-grid .pay-methods-strip { justify-items: center; }

/* ═══════════════════ بوتات «قريبًا» ═══════════════════ */
.soon-stamp { position: absolute; z-index: 3; top: 50%; left: 50%; translate: -50% -50%; rotate: -9deg; padding: 6px 18px; border-radius: 10px; border: 2px solid rgba(255, 255, 255, 0.75); outline: 1px solid rgba(255, 255, 255, 0.35); outline-offset: 3px; background: rgba(8, 9, 11, 0.62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.9); pointer-events: none; }
.soon-stamp.big { font-size: clamp(1.4rem, 1rem + 1.6vw, 2.1rem); padding: 10px 26px; border-radius: 14px; }
.product-card.is-upcoming .product-media img, .product-card.is-upcoming .product-media-fallback { filter: saturate(0.6) brightness(0.78); }
.product-hero-media.is-upcoming { position: relative; }
.product-hero-media.is-upcoming img, .product-hero-media.is-upcoming .product-media-fallback { filter: saturate(0.6) brightness(0.8); }
.upcoming-block { margin-top: 64px; }
.upcoming-grid { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin-inline: auto; }
.upcoming-sections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.upcoming-section { padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)); }
.upcoming-section h3 { font-size: 1.12rem; margin-bottom: 10px; }
.upcoming-section ul { margin: 0; padding-inline-start: 1.15em; color: var(--text-2); display: grid; gap: 4px; font-size: 0.95rem; }

@media (max-width: 1080px) {
  .upcoming-sections { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .pay-band { grid-template-columns: 1fr; text-align: center; padding: 32px 26px; }
  .pay-band .section-head, .pay-copy { text-align: center; }
}
@media (max-width: 640px) {
  .upcoming-grid, .upcoming-sections { grid-template-columns: 1fr; }
  .pay-band { padding: 26px 18px; border-radius: 24px; }
  .pay-logo { width: 60px; height: 40px; }
  .pay-panel { justify-content: center; text-align: center; }
  .footer-pay .pay-methods-strip { justify-content: center; }
  .upcoming-block { margin-top: 48px; }
}
.site-footer .pay-logos { display: flex; flex-wrap: wrap; gap: 8px; }
/* البوت القادم وله صورة من بوت المتجر: الختم تحت بالوسط (ما يغطي محتوى الصورة)، والصورة بدون تعتيم. */
.product-media:has(img) .soon-stamp, .product-hero-media.is-upcoming:has(img) .soon-stamp { top: auto; bottom: 12px; translate: -50% 0; rotate: -3deg; font-size: 0.92rem; padding: 4px 14px; }
.product-hero-media.is-upcoming:has(img) .soon-stamp { bottom: 22px; font-size: clamp(1rem, 0.8rem + 0.8vw, 1.35rem); padding: 8px 20px; }
.product-card.is-upcoming .product-media img, .product-hero-media.is-upcoming img { filter: none; }
.product-card.is-upcoming .product-media::after { background: linear-gradient(180deg, transparent 55%, rgba(15, 17, 20, 0.92)); }
@media (min-width: 1081px) { .upcoming-section:last-child:nth-child(3n + 1) { grid-column: 1 / -1; } }

/* ═══════════════════ الإحالة والنقاط والفواتير والتجديد التلقائي (§16) ═══════════════════ */
.status.off { color: var(--muted); border-color: var(--line-2); background: rgba(255, 255, 255, 0.03); }
.status.off::before { background: var(--muted); }
.tabs .tab-link { flex: 1; text-align: center; padding: 9px 14px; border-radius: 10px; color: var(--text-2); font-weight: 700; white-space: nowrap; transition: background 0.2s, color 0.2s; }
.tabs .tab-link[aria-selected='true'] { background: rgba(255, 255, 255, 0.1); color: #fff; }
.auto-renew-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 12px; padding: 12px 14px; border-radius: 14px; border: 1px dashed var(--line-2); background: rgba(255, 255, 255, 0.02); }
.auto-renew-row.is-on { border-style: solid; border-color: rgba(70, 214, 160, 0.35); background: rgba(70, 214, 160, 0.05); }
.auto-renew-info { display: grid; gap: 2px; min-width: 0; }
.auto-renew-info b { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.auto-renew-info small { color: var(--muted); }
.auto-renew-toggle { margin: 0; }
.referral-hero { display: grid; gap: 18px; }
.code-card { display: grid; gap: 12px; }
.code-label { color: var(--muted); font-size: 0.85rem; }
.code-value { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.code-value b { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); letter-spacing: 0.18em; padding: 6px 18px; border-radius: 14px; border: 1px dashed rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.04); }
.copy-row { display: flex; gap: 8px; align-items: center; }
.copy-row .input { flex: 1; min-width: 0; }
.reward-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.reward-card { padding: 16px 18px; border-radius: 16px; border: 1px solid transparent; background: linear-gradient(180deg, #181b20, #111316) padding-box, var(--silver-soft) border-box; }
.reward-card span { display: block; color: var(--muted); font-size: 0.85rem; }
.reward-card b { font-size: 1.1rem; }
.rule-list { margin: 0; padding-inline-start: 1.2em; color: var(--text-2); display: grid; gap: 4px; font-size: 0.93rem; }
.kpi-grid-5 { grid-template-columns: repeat(5, 1fr); }
.points-hero { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.points-balance { display: grid; gap: 2px; padding: 18px 26px; border-radius: 20px; border: 1px solid transparent; background: linear-gradient(180deg, #1b1e23, #111316) padding-box, var(--silver) border-box; text-align: center; }
.points-balance span { color: var(--muted); font-size: 0.85rem; }
.points-balance b { font-family: var(--font-display); font-size: 2.4rem; line-height: 1.1; direction: ltr; }
.points-balance b small { font-size: 0.95rem; color: var(--text-2); font-family: var(--font); }
.points-balance em { font-style: normal; color: var(--ok); font-size: 0.88rem; }
.delta-up { color: var(--ok); }
.delta-down { color: var(--danger); }
.pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 14px; }
.row-actions { display: flex; gap: 6px; flex-wrap: nowrap; }
.invoice-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 18px; align-items: start; }
.invoice-summary .summary-row b { text-align: end; }
.invoice-preview { margin: 0; padding: 12px; }
.invoice-preview img { width: 100%; border-radius: 10px; background: #fff; }
.summary-row.discount b, .summary-row.discount span { color: var(--ok); }
.summary-usd { margin: 6px 0 0; }
.order-breakdown { margin-top: 6px; }
.checkout-extras { display: grid; gap: 12px; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.extra-check b { display: block; color: var(--text); }
.extra-check small { display: block; color: var(--muted); font-size: 0.82rem; }
.extra-check input:disabled + span { opacity: 0.55; }
.option-button { width: 100%; text-align: start; font: inherit; color: inherit; }
.option-button .icon { margin-inline-start: auto; color: var(--muted); }
.empty.compact { padding: 22px; }
.settings-groups { display: grid; gap: 0; }
.form-grid.two-col { grid-template-columns: 1fr 1fr; align-items: start; }
.setting-check { align-items: center; }

/* ═══════════════════ إعدادات البوت (§15) ═══════════════════ */
.settings-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 22px; align-items: start; padding-bottom: 90px; }
.settings-side { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 12px; }
.settings-search { min-height: 42px; }
.settings-nav { display: grid; gap: 2px; padding: 10px; max-height: calc(100vh - var(--header-h) - 120px); overflow-y: auto; }
.settings-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--text-2); font-weight: 500; font-size: 0.93rem; }
.settings-nav a:hover, .settings-nav a[aria-current] { background: rgba(255, 255, 255, 0.06); color: #fff; }
.nav-count { margin-inline-start: auto; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; display: inline-grid; place-items: center; background: var(--warn); color: #000; font-size: 0.75rem; }
.settings-main { min-width: 0; }
.settings-section { scroll-margin-top: calc(var(--header-h) + 16px); }
.settings-section h2 { display: flex; gap: 8px; align-items: center; }
.settings-fields { display: grid; gap: 4px; }
.setting-field { display: grid; gap: 6px; padding: 14px 12px; border-radius: 14px; border: 1px solid transparent; transition: background 0.2s, border-color 0.2s; }
.setting-field + .setting-field { border-top-color: var(--line); border-radius: 0; }
.setting-field.is-changed { background: rgba(243, 197, 82, 0.05); border-color: rgba(243, 197, 82, 0.25); border-radius: 14px; }
.setting-field.has-error { background: rgba(255, 111, 111, 0.06); border-color: rgba(255, 111, 111, 0.4); border-radius: 14px; }
.setting-field.inline { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.setting-field.inline .setting-desc, .setting-field.inline .field-error { grid-column: 1 / -1; }
.setting-field.inline .setting-input { grid-row: 1; grid-column: 2; }
.setting-label { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 700; font-size: 0.95rem; }
.req { color: var(--danger); }
.changed-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--warn); }
.setting-desc { color: var(--muted); font-size: 0.83rem; }
.field-error { color: #ffb0b0; font-weight: 600; font-size: 0.85rem; }
.chip-list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.chip-list:empty { display: none; }
.chip-removable { gap: 6px; padding-inline-end: 4px; }
.chip-x { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.1); color: var(--text); cursor: pointer; font-size: 0.7rem; }
.chip-x:hover { background: rgba(255, 111, 111, 0.4); }
.number-row, .color-row, .emoji-row { display: flex; gap: 8px; align-items: center; }
.number-row .input { max-width: 200px; }
.unit { color: var(--muted); font-size: 0.9rem; }
.color-row input[type='color'] { width: 46px; height: 46px; padding: 4px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, 0.35); cursor: pointer; flex: none; }
.color-row .input { max-width: 140px; }
.image-url-preview img { margin-top: 8px; max-height: 120px; border-radius: 10px; border: 1px solid var(--line-2); }
.emoji-row .input { max-width: 240px; }
.emoji-preview { font-size: 1.5rem; min-width: 28px; }
.option-grid.compact { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); max-height: 260px; overflow-y: auto; padding: 2px; }
.list-items { display: grid; gap: 10px; margin-bottom: 10px; }
.list-item { border: 1px solid var(--line-2); border-radius: 14px; background: rgba(0, 0, 0, 0.2); }
.list-item-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.list-item-actions { display: flex; gap: 6px; }
.list-item-fields { padding: 4px; }
.save-bar { position: fixed; z-index: 60; inset-inline: 0; bottom: 0; padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); background: rgba(10, 11, 13, 0.94); border-top: 1px solid rgba(243, 197, 82, 0.35); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); animation: toast-in 0.3s var(--ease); }
.save-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.save-bar-inner > span:first-child { color: #f7dc95; font-weight: 700; }
.save-bar-actions { display: flex; gap: 8px; }
.settings-guild { min-width: 220px; }
.settings-problem { text-align: center; padding: 40px 24px; }
.settings-problem .big-icon { font-size: 3rem; margin-bottom: 8px; }
.settings-problem h2 { font-size: 1.5rem; margin-bottom: 6px; }
.settings-problem p { color: var(--text-2); max-width: 560px; margin-inline: auto; }
.page-app .toast-root { bottom: 86px; }

@media (max-width: 1080px) {
  .kpi-grid-5 { grid-template-columns: repeat(3, 1fr); }
  .invoice-grid { grid-template-columns: 1fr; }
}
@media (max-width: 920px) {
  .settings-layout { grid-template-columns: 1fr; gap: 12px; }
  .settings-side { position: sticky; top: var(--header-h); z-index: 20; padding: 8px 0; background: rgba(6, 7, 8, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .settings-nav { display: flex; overflow-x: auto; max-height: none; padding: 4px; gap: 6px; border-radius: 14px; }
  .settings-nav a { white-space: nowrap; border: 1px solid var(--line); flex: none; }
  .points-hero { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .kpi-grid-5, .reward-cards, .form-grid.two-col { grid-template-columns: 1fr 1fr; align-items: start; }
  .reward-cards { grid-template-columns: 1fr; }
  .form-grid.two-col { grid-template-columns: 1fr; }
  .setting-field.inline { grid-template-columns: minmax(0, 1fr) auto; }
  .save-bar-inner { justify-content: center; text-align: center; }
  .save-bar-actions { width: 100%; }
  .save-bar-actions .btn { flex: 1; }
  .number-row .input, .color-row .input, .emoji-row .input { max-width: none; }
  .code-value b { letter-spacing: 0.12em; }
  .row-actions { flex-wrap: wrap; }
}

/* ─────────── حساب الموقع: إنشاء الحساب والدخول برقم الجوال (رمز واتساب) و«حسابي» ─────────── */
.auth-card { width: min(520px, 100%); text-align: start; }
.auth-card > h1, .auth-card > p, .auth-card > .login-emblem { text-align: center; }
.auth-card h2 { font-size: 1.15rem; margin: 0 0 6px; }
.auth-panel { display: grid; gap: 14px; margin-top: 18px; }
.auth-panel[hidden] { display: none; }
.auth-form { display: grid; gap: 14px; }
.auth-form[hidden] { display: none; }
.field > label { font-weight: 700; font-size: 0.92rem; }
.field > small { color: var(--muted); font-size: 0.85rem; }
.phone-row { display: grid; grid-template-columns: minmax(120px, 42%) 1fr; gap: 8px; }
.phone-country { padding-inline: 10px; text-overflow: ellipsis; }
.phone-input, .code-input { font-family: var(--font-display, inherit); letter-spacing: 0.04em; }
.code-input { text-align: center; font-size: 1.6rem; letter-spacing: 0.5em; padding-inline-start: calc(14px + 0.5em); }
.code-sent { margin: 0; color: var(--text-2); display: grid; gap: 4px; }
.code-sent small, .test-note-inline { color: #f3d58a; font-size: 0.85rem; }
.code-help { display: grid; gap: 8px; }
.code-help p { margin: 0; }
.code-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.auth-actions { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; }
.btn-whatsapp { background: #1fa855; color: #fff; box-shadow: 0 10px 30px -14px rgba(37, 211, 102, 0.75); }
.btn-whatsapp:hover { transform: translateY(-2px); background: #22b85d; }
.test-banner { font-size: 0.88rem; }
.discord-note { display: flex; gap: 10px; align-items: center; }
.stepper { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0; margin: 22px 0 4px; counter-reset: none; }
.stepper li { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 0.82rem; color: var(--muted); position: relative; }
.stepper li small { display: block; font-size: 0.75rem; color: var(--muted); }
.stepper-num { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); color: var(--text-2); }
.stepper li[aria-current='step'] { color: var(--text); font-weight: 700; }
.stepper li[aria-current='step'] .stepper-num { background: var(--silver); color: #0b0c0e; border-color: transparent; }
.stepper li.done .stepper-num { background: rgba(80, 200, 120, 0.16); border-color: rgba(80, 200, 120, 0.5); color: #9fe3b5; }
.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--muted); margin: 22px 0 14px; font-size: 0.85rem; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line-2); }
.auth-signup { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 10px; text-align: center; }
.auth-signup p { margin: 0; color: var(--text-2); }
.auth-switch, .auth-agree { text-align: center; }
.user-chip-icon { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-2); }
.side-user-icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; background: rgba(255, 255, 255, 0.06); border: 2px solid rgba(255, 255, 255, 0.18); }
.side-link-discord { color: #c3c9ff !important; }
.link-cta-card { display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 22px 24px; margin-bottom: 18px; border-radius: var(--radius-lg); border: 1px solid rgba(88, 101, 242, 0.45); background: linear-gradient(135deg, rgba(88, 101, 242, 0.16), rgba(88, 101, 242, 0.04)); }
.link-cta-card h2 { margin: 0 0 4px; font-size: 1.2rem; }
.link-cta-card p { margin: 0; color: var(--text-2); max-width: 520px; }
.profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.profile-grid .panel { margin-bottom: 0; display: grid; align-content: start; gap: 10px; }
.profile-grid .panel p { margin: 0; }
.profile-value { font-size: 1.15rem; font-weight: 700; unicode-bidi: plaintext; overflow-wrap: anywhere; }
[dir='rtl'] .profile-value { text-align: end; }
.profile-discord img { width: 44px; height: 44px; }
.email-reminder { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.email-reminder span { flex: 1; min-width: 200px; }
.gate .hero-actions { justify-content: center; }
.test-codes { border-color: rgba(243, 213, 138, 0.35); }
.test-code { font-size: 1.25rem; letter-spacing: 0.18em; color: #f3d58a; }
.data tr.is-expired { opacity: 0.5; }
@media (max-width: 720px) {
  .profile-grid { grid-template-columns: 1fr; }
  .phone-row { grid-template-columns: 1fr; }
  .auth-actions { grid-template-columns: 1fr; }
  .stepper li { font-size: 0.75rem; }
}.auth-switch { margin-top: 18px; }
.auth-card .hero-actions { margin: 0; }

/* ─────────── صفحة «تم الدفع ✅ — اربط ديسكورد» (طلب حساب الموقع قبل الربط) ─────────── */
.order-awaiting { text-align: center; }
.order-awaiting .center-actions { justify-content: center; }
.order-awaiting .btn { max-width: 100%; white-space: normal; }
.order-awaiting p { overflow-wrap: anywhere; }
@media (max-width: 720px) {
  .order-awaiting .btn { width: 100%; }
}

/* ═══════════════════ الجوال: آيفون وأندرويد ═══════════════════
   مع viewport-fit=cover: الحواف الآمنة (النوتش وشريط الهوم)، svh/dvh بدل 100vh (شريط سفاري يطلع وينزل)،
   خانات 16px (سفاري ما يكبّر الصفحة لحاله لما تضغط الخانة)، أهداف لمس 44px، وقائمة الجوال والنوافذ
   ما تتمرّر الصفحة تحتها. القديم فوق يبقى بديل للمتصفحات اللي ما تدعم الجديد. */
:root {
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  /* هامش جوانب الصفحة: 20px، أو قدّ النوتش لو الآيفون بالعرض. */
  --gutter: max(20px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
}
html { text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + var(--safe-top) + 16px); }
/* clip (لو مدعوم) يقص العرض الزائد بدون ما يصير body حاوية تمرير (الرأس اللاصق يبقى شغّال). */
body { min-height: 100dvh; overflow-x: clip; overflow-wrap: break-word; }
.container { width: min(1200px, 100% - 2 * var(--gutter)); }
.container.narrow { width: min(860px, 100% - 2 * var(--gutter)); }

/* الرأس: يبدأ تحت شريط الحالة / النوتش لو فيه */
.site-header { height: calc(var(--header-h) + var(--safe-top)); padding-top: var(--safe-top); }
.menu-toggle { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
/* زر القائمة: ☰ وهي مسكّرة، ✕ وهي مفتوحة */
.menu-toggle .icon + .icon { display: none; }
.menu-toggle[aria-expanded='true'] .icon:first-child { display: none; }
.menu-toggle[aria-expanded='true'] .icon + .icon { display: block; }

/* الأشياء الثابتة تحت: فوق شريط الهوم في الآيفون */
.toast-root { bottom: calc(20px + var(--safe-bottom)); }
.page-app .toast-root { bottom: calc(86px + var(--safe-bottom)); }
.settings-layout { padding-bottom: calc(90px + var(--safe-bottom)); }
.site-footer { padding-bottom: calc(28px + var(--safe-bottom)); }

/* 100vh في سفاري الجوال أطول من الشاشة الظاهرة: svh للأقسام (ثابت وقت التمرير)، dvh للقوائم والنوافذ */
.login-section, .app-section { min-height: calc(100svh - var(--header-h) - 200px); }
@media (min-width: 921px) {
  .hero-inner { min-height: min(640px, calc(100svh - var(--header-h) - 160px)); }
  .settings-nav { max-height: calc(100dvh - var(--header-h) - 120px); }
}

/* النوافذ (التمديد، النقل، التأكيد): ما تطلع برّا الشاشة، تتمرّر لو طويلة، وزر الإغلاق يبقى ظاهر */
dialog.modal { max-height: calc(100% - 24px); max-height: calc(100dvh - 24px - var(--safe-top) - var(--safe-bottom)); overflow-y: auto; overscroll-behavior: contain; }
.modal-head { position: sticky; top: 0; z-index: 2; padding-bottom: 12px; background: #111316; }
.modal-body { padding-top: 6px; }
.modal-close { color: var(--text); touch-action: manipulation; }

/* أعمدة الشبكات ما تتمدد أعرض من الشاشة بسبب محتوى طويل (كانت صورة المنتج «قريبًا» تنقص من اليمين بالإنجليزي) */
.product-hero-grid > *, .hero-inner > *, .contact-grid > *, .checkout-grid > *, .pay-band > *, .footer-grid > * { min-width: 0; }

/* صفوف «خانة + زر» (اللون، الرقم، الإيموجي، النسخ): الزر ما ينضغط وينقص نصه، الخانة هي اللي تصغر */
.number-row > .btn, .color-row > .btn, .emoji-row > .btn, .copy-row > .btn { flex: none; }
.number-row .input, .color-row .input, .emoji-row .input { min-width: 0; }

/* رقم الفاتورة في العنوان ينزل كامل للسطر الثاني بدل ما ينقسم عند الشَرطة */
.app-head h1 .mono { display: inline-block; }

/* التمرير الأفقي داخل الجداول والتبويبات ما ينتقل للصفحة */
.table-wrap, .md-table, .tabs, .option-list, .codes-box { overscroll-behavior-x: contain; }

@media (max-width: 920px) {
  /* قائمة الجوال: تحت الرأس، طولها قدّ الشاشة الظاهرة، وخلفية معتمة تحتها (النقر عليها يسكّرها) */
  .main-nav {
    top: calc(var(--header-h) + var(--safe-top));
    padding-inline: var(--gutter);
    padding-bottom: calc(22px + var(--safe-bottom));
    max-height: calc(100vh - var(--header-h) - var(--safe-top));
    max-height: calc(100dvh - var(--header-h) - var(--safe-top));
    overscroll-behavior: contain;
  }
  .main-nav[data-open] { box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.5); clip-path: inset(0 0 -100vmax 0); }
  /* أزرار «إنشاء حساب / دخول / لوحتي» داخل القائمة: كانت تاخذ تنسيق روابط القائمة (نص فاتح على الفضي،
     زوايا مربعة، ولاصقة ببعض، والفضي يختفي بعد اللمس) — ترجع أزرار عادية */
  .nav-mobile-actions { display: grid; gap: 10px; }
  .main-nav .nav-mobile-actions .btn { display: flex; padding: 0 1.25em; border-radius: 999px; font-size: 0.97rem; }
  .main-nav .nav-mobile-actions .btn-silver, .main-nav .nav-mobile-actions .btn-silver:hover { color: #0b0c0e; background: var(--silver); }
  .main-nav .nav-mobile-actions .btn-ghost { color: var(--text); }
  /* القائمة أو نافذة مفتوحة: الصفحة تحتها ما تتمرّر */
  html:has(.main-nav[data-open]), html:has(dialog.modal[open]) { overflow: hidden; }
  .settings-side { top: calc(var(--header-h) + var(--safe-top)); }
  .side-nav, .settings-nav { overscroll-behavior-x: contain; }
}
.settings-section { scroll-margin-top: calc(var(--header-h) + var(--safe-top) + 16px); }

/* الخانات 16px على الأقل: أقل من كذا سفاري الآيفون يكبّر الصفحة لحاله لما تضغط الخانة */
@media (max-width: 920px), (pointer: coarse) {
  input, select, textarea { font-size: max(16px, 1em); }
}

/* أهداف اللمس (~44px) على الجوال والتابلت */
@media (pointer: coarse) {
  .btn-sm { --btn-h: 44px; }
  .lang-switch, .brand, .app-back, .link-cta, .pricing-product-head a { min-height: 44px; }
  .modal-close { width: 44px; height: 44px; }
  .tabs button, .tabs .tab-link, .side-nav a, .side-nav button, .settings-nav a { min-height: 44px; }
  .filters .select, .filters .input { min-height: 44px; }
  .chip-x { width: 28px; height: 28px; }
  /* المفتاح (toggle) يبقى نفس شكله، بس منطقة اللمس أكبر */
  .toggle input { inset: -9px auto auto -6px; width: calc(100% + 12px); height: calc(100% + 18px); margin: 0; }
  .check:has(> .toggle) { min-height: 44px; align-items: center; }
  /* روابط داخل الجداول والملخص (رقم الفاتورة / الطلب): padding للسطر بس، الترتيب ما يتغيّر */
  table.data td a:not(.btn), .summary-row a { padding-block: 12px; }
  /* روابط صغيرة: منطقة لمس أكبر بدون ما يتغيّر الترتيب */
  .breadcrumb a { padding-block: 10px; margin-block: -10px; }
  .site-footer ul { gap: 0; }
  .site-footer ul a { display: block; padding-block: 9px; }
}

/* على اللمس ما فيه hover: البطاقات والأزرار ما تعلق «مرفوعة» بعد النقر */
@media (hover: none) {
  .btn:hover:not(:active), .dept-card:hover, .feature:hover, .product-card:hover, .plan-card:hover, .service-card:hover, [dir] .contact-link:hover { transform: none; }
  .product-card:hover .product-media img, .service-card:hover .service-media img { transform: none; }
}

/* الرأس في الجوال: زر القائمة وصورة الحساب ما ينضغطون تحت 44px، والشعار هو اللي يتنازل لو ضاق المكان */
@media (max-width: 920px) {
  .menu-toggle, .user-chip, .lang-switch-header { flex: none; }
  .brand { flex: 0 1 auto; min-width: 0; }
  .brand-text { min-width: 0; overflow-x: clip; }
}
@media (max-width: 420px) {
  .header-inner { gap: 10px; }
  .header-actions { gap: 6px; }
  .brand { gap: 8px; }
  .brand-mark { width: 42px; }
  .brand-text strong { letter-spacing: 0.12em; }
  .brand-text small { letter-spacing: 0.42em; }
  /* زر اللغة: «EN» / «ع» بس (الكرة الأرضية تاخذ مكان) */
  .lang-switch-header .icon { display: none; }
  .user-chip { padding: 5px; }
}

@media (max-width: 640px) {
  :root { --gutter: max(16px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)); }
  .container, .container.narrow { width: calc(100% - 2 * var(--gutter)); }
  /* زر نصه طويل (مثل «Get announcements on our server») ينزل سطرين بدل ما ينقص برّا البطاقة */
  .btn { white-space: normal; max-width: 100%; text-align: center; line-height: 1.25; padding-block: 0.55em; }
  /* داخل الجداول تبقى سطر واحد (الجدول نفسه يتمرّر بالعرض) */
  table.data .btn { white-space: nowrap; }
  /* فلاتر لوحة المالك: تعبّي السطر بدل ما تطلع بأعراض مختلفة */
  .filters > .select, .filters > .input { flex: 1 1 140px; width: auto; min-width: 0; }
  /* أخف على الجوال: بدون blur خلف الشارات المتحركة في الهيرو */
  .float-chip { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(16, 18, 21, 0.92); }
}
/* ═════ الشراء المباشر بآيدي ديسكورد (/checkout) وصفحة الطلب السرية (/order/…) — public/js/checkout.js ═════ */
.container.narrow-wide { width: min(900px, 100% - 2 * var(--gutter, 20px)); }
.guest-form { display: grid; gap: 22px; }
.guest-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.guest-step > legend, .guest-step > label { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1rem; margin-bottom: 4px; }
.guest-num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; flex: none; font-family: var(--font-display); font-size: 0.9rem; color: #0b0c0e; background: var(--silver, #dfe4ea); }
.plan-options { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.plan-option.is-off { opacity: 0.55; cursor: not-allowed; }
.plan-option b { font-size: 1rem; }
.id-row { display: flex; gap: 8px; align-items: stretch; }
.id-row .input { flex: 1; min-width: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0.04em; font-size: max(16px, 1rem); }
.id-row .btn { flex: none; }
.id-input[readonly] { opacity: 0.85; border-color: rgba(120, 220, 160, 0.45); }
.id-help { border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.02); margin-top: 4px; }
.id-help > summary { cursor: pointer; padding: 12px 14px; font-weight: 700; font-size: 0.92rem; list-style: none; display: flex; gap: 8px; align-items: center; min-height: 44px; }
.id-help > summary::-webkit-details-marker { display: none; }
.id-help > summary::after { content: '+'; margin-inline-start: auto; color: var(--muted); font-size: 1.2rem; }
.id-help[open] > summary::after { content: '−'; }
.id-help-body { padding: 0 14px 14px; color: var(--text-2); font-size: 0.9rem; }
.id-help-body > p { margin: 0 0 10px; }
.id-help-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.id-help-card { padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.25); }
.id-help-card h3 { font-size: 0.95rem; margin: 0 0 6px; }
.id-help-card ol { margin: 0; padding-inline-start: 1.2em; display: grid; gap: 4px; }
.who { display: grid; gap: 10px; margin-top: 6px; }
.who .alert { margin: 0; }
.who-card { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); }
.who-card.is-confirmed { border-color: rgba(120, 220, 160, 0.55); background: rgba(120, 220, 160, 0.06); }
.who-card img { width: 56px; height: 56px; border-radius: 50%; flex: none; background: rgba(255, 255, 255, 0.06); }
.who-info { display: grid; gap: 2px; min-width: 0; }
.who-info small { color: var(--muted); font-size: 0.8rem; }
.who-info b { font-size: 1.1rem; overflow-wrap: anywhere; }
.who-info span { color: var(--text-2); font-size: 0.85rem; overflow-wrap: anywhere; }
.who-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.who-warn { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.guest-form .pay-methods { display: grid; gap: 8px; }
.guest-form .pay-methods .option[hidden] { display: none; }
.guest-login-note { text-align: center; margin: 0; }
.guest-login-note a, .guest-manage a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }
.guest-after { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; color: var(--text-2); font-size: 0.9rem; }
.guest-after li { display: flex; gap: 8px; align-items: flex-start; }
.guest-after .icon { color: var(--ok); margin-top: 0.3em; flex: none; }
.guest-after code { padding: 1px 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); }
.order-done .guest-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 18px 0; text-align: start; }
.guest-bots { display: grid; gap: 10px; margin-top: 8px; }
.guest-bot { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); text-align: start; }
.guest-bot-name { display: grid; min-width: 0; }
.guest-bot-name small { color: var(--muted); }
.guest-dm { display: grid; gap: 4px; }
.guest-manage h2 { font-size: 1.15rem; margin-bottom: 4px; }
.guest-manage .btn { margin-top: 14px; }
.guest-buyer { display: flex; gap: 12px; align-items: center; }
.guest-buyer img { width: 48px; height: 48px; border-radius: 50%; flex: none; }
.guest-buyer > div { display: grid; min-width: 0; }
.guest-buyer b { overflow-wrap: anywhere; }
.guest-section .kv b { white-space: normal; overflow-wrap: anywhere; }
.guest-link { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.guest-link p { margin: 0; color: var(--text-2); font-size: 0.9rem; flex: 1 1 260px; }
.order-buyer { display: flex; gap: 8px; align-items: center; }
.order-buyer img { width: 28px; height: 28px; border-radius: 50%; flex: none; }
.order-buyer > div { display: grid; line-height: 1.3; }
/* أزرار الطلب في لوحة المالك فوق بعض (الجدول ما يعرض ويختفي آخره) */
.order-actions { min-width: 150px; }
.order-actions .btn { display: flex; width: 100%; margin-block: 3px; }
@media (max-width: 920px) {
  .id-help-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .guest-form { gap: 18px; }
  .plan-options { grid-template-columns: 1fr 1fr; }
  .id-row { flex-wrap: wrap; }
  .id-row .input { flex: 1 1 100%; }
  .id-row .btn { flex: 1 1 100%; }
  .who-actions .btn { flex: 1 1 100%; }
  .who-warn .btn { width: 100%; }
  .guest-bot .btn { width: 100%; }
  .guest-link .btn { width: 100%; }
  .guest-section .summary img { width: 100%; max-height: 150px; object-fit: cover; }
}