/* =========================================================
   لمسة تك — صفحة «جرّب بنفسك» + صفحة كل نظام
   بتعتمد على متغيرات style.css (الفاتح التلجي / الغامق الفضائي)
   ========================================================= */
body { --c1: var(--accent); --c2: var(--pink); }
#dm, #sp { padding-top: calc(var(--nav-h) + 40px); }

/* ---------- النافبار في الصفحات الداخلية ---------- */
.sp-nav .nav-links a.on { background: rgba(255, 255, 255, .85); box-shadow: 0 6px 16px -8px rgba(60, 85, 125, .35); }
[data-theme="dark"] .sp-nav .nav-links a.on { background: rgba(210, 220, 255, .14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15); }
.sp-home { display: none; }
@media (max-width: 900px) {
  .sp-nav .nav-cta { display: inline-flex; min-height: 40px; padding-inline: 16px; font-size: 13px; }
  .sp-home { display: grid; }
}

/* ---------- عناصر مشتركة ---------- */
.sp-sub { color: var(--ink-2); max-width: 60ch; }
.sp-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  background: rgba(255, 255, 255, .55);
  border-bottom: 1px solid var(--line);
  direction: ltr;
}
[data-theme="dark"] .sp-bar { background: rgba(200, 210, 255, .06); }
.sp-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff6b5b; }
.sp-bar i:nth-child(2) { background: #ffc24b; }
.sp-bar i:nth-child(3) { background: #3fd07a; }
.sp-bar span {
  margin-inline: auto;
  padding: 3px 14px;
  border-radius: 999px;
  font: 400 11.5px/1.4 var(--font-lat);
  color: var(--ink-3);
  background: color-mix(in srgb, var(--ink) 5%, transparent);
  max-width: 70%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  direction: rtl;
}
.sp-shot {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--glass-2);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow), 0 40px 80px -50px color-mix(in srgb, var(--c1) 55%, transparent);
}
.sp-shot-img { all: unset; display: block; position: relative; cursor: zoom-in; width: 100%; }
.sp-shot-img img { width: 100%; height: auto; display: block; }
.sp-shot-img:focus-visible { outline: 2px solid var(--c1); outline-offset: -4px; }
.sp-zoom {
  position: absolute;
  left: 12px;
  bottom: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: scale(.85);
  transition: opacity .3s, transform .4s var(--ease);
}
.sp-zoom svg { width: 18px; height: 18px; fill: none; stroke: #141a24; stroke-width: 1.6; stroke-linecap: round; }
.sp-shot-img:hover .sp-zoom, .sp-shot-img:focus-visible .sp-zoom { opacity: 1; transform: none; }
.sp-phone { margin: 0 auto; width: min(280px, 70%); }
.sp-phone .sp-shot-img {
  border-radius: 34px;
  overflow: hidden;
  border: 7px solid #141a24;
  box-shadow: var(--shadow), 0 40px 80px -40px color-mix(in srgb, var(--c1) 60%, transparent);
}
.sp-ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.sp-ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.sp-ticks svg {
  flex: none;
  width: 22px;
  height: 22px;
  padding: 4px;
  margin-top: 1px;
  border-radius: 50%;
  fill: none;
  stroke: color-mix(in srgb, var(--c1) 85%, #000);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  background: color-mix(in srgb, var(--c1) 16%, transparent);
}
[data-theme="dark"] .sp-ticks svg { stroke: color-mix(in srgb, var(--c1) 60%, #fff); background: color-mix(in srgb, var(--c1) 22%, transparent); }
.sp-kic {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  flex: none;
  color: color-mix(in srgb, var(--c1) 88%, #000);
  background: linear-gradient(150deg, color-mix(in srgb, var(--c1) 26%, #fff), color-mix(in srgb, var(--c2) 40%, #fff));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8);
  font: 400 18px/1 var(--font-lat);
}
[data-theme="dark"] .sp-kic { color: #fff; background: linear-gradient(150deg, color-mix(in srgb, var(--c1) 60%, transparent), color-mix(in srgb, var(--c2) 30%, transparent)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.sp-kic svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* =========================================================
   «جرّب بنفسك»
   ========================================================= */
.dm-hero-in {
  border-radius: var(--r-xl);
  padding: clamp(28px, 5vw, 64px);
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 18px;
  overflow: hidden;
}
.dm-hero-in h1 { font-size: clamp(2.2rem, 5.6vw, 4.6rem); font-weight: 200; line-height: 1.2; }
.dm-hero-in > p { color: var(--ink-2); max-width: 52ch; font-size: clamp(15px, 1.6vw, 18px); }
.dm-tips { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.dm-tips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--ink-2);
  background: var(--glass-2);
  border: 1px solid var(--glass-border);
}
.dm-tips b { font: 400 11px/1 var(--font-lat); padding: 5px 7px; border-radius: 999px; background: var(--btn); color: var(--btn-ink); }

.dm-list { padding-top: clamp(30px, 4vw, 50px); }
.dm-filters { justify-content: center; margin-bottom: 26px; }
.dm-filters .mono { font-size: 11px; opacity: .6; margin-inline-start: 4px; }
.dm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dm-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.dm-card:hover { transform: translateY(-6px); box-shadow: var(--shadow), 0 40px 70px -40px color-mix(in srgb, var(--c1) 70%, transparent); }
.dm-media { position: relative; display: block; margin: 10px 10px 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--glass-border); background: var(--glass-2); }
.dm-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; transition: transform 1.2s var(--ease); }
.dm-card:hover .dm-media img { transform: scale(1.04); }
.dm-live {
  position: absolute;
  top: 46px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  color: #141a24;
  background: rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.dm-body { display: grid; gap: 10px; padding: 18px 20px 20px; flex: 1; align-content: start; }
.dm-top { display: flex; align-items: center; gap: 10px; }
.dm-top .mono { font-size: 11.5px; color: var(--ink-3); }
.dm-ic {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  color: color-mix(in srgb, var(--c1) 88%, #000);
  background: linear-gradient(150deg, color-mix(in srgb, var(--c1) 26%, #fff), color-mix(in srgb, var(--c2) 40%, #fff));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8);
}
[data-theme="dark"] .dm-ic { color: #fff; background: linear-gradient(150deg, color-mix(in srgb, var(--c1) 60%, transparent), color-mix(in srgb, var(--c2) 30%, transparent)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.dm-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dm-body h2 { font-size: 21px; font-weight: 400; line-height: 1.35; }
.dm-body p { color: var(--ink-2); font-size: 14.5px; line-height: 1.7; }
.dm-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.dm-actions .pill { min-height: 44px; font-size: 14px; }

.dm-more-in {
  border-radius: var(--r-xl);
  padding: clamp(24px, 4vw, 48px);
  display: grid;
  gap: 22px;
  justify-items: start;
}
.dm-more-in h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 300; margin: 8px 0; }
.dm-more-in p { color: var(--ink-2); }
.dm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dm-chips a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 12px;
  border-radius: 999px;
  font-size: 14px;
  background: var(--glass-2);
  border: 1px solid var(--glass-border);
  transition: transform .3s var(--ease), background-color .3s;
}
.dm-chips a:hover { transform: translateY(-2px); background: var(--glass-border); }
.dm-chips svg { width: 17px; height: 17px; fill: none; stroke: var(--c1); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* =========================================================
   صفحة النظام
   ========================================================= */
.sp-crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--ink-3); margin: 0 6px 14px; }
.sp-crumbs a:hover { color: var(--ink); }
.sp-crumbs b { font-weight: 400; color: var(--ink-2); }
.sp-hero-in {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(22px, 4vw, 52px);
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  overflow: hidden;
}
.sp-hero-in::before {
  content: '';
  position: absolute;
  width: 60%;
  aspect-ratio: 1;
  left: -12%;
  top: -30%;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--c1) 30%, transparent), transparent 65%);
  filter: blur(30px);
  pointer-events: none;
  z-index: -1;
}
.sp-hero-copy { display: grid; gap: 16px; justify-items: start; }
.sp-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.sp-hero-copy h1 { font-size: clamp(2rem, 4.4vw, 3.6rem); font-weight: 300; line-height: 1.2; }
.sp-lead { color: var(--ink-2); font-size: clamp(15px, 1.5vw, 18px); line-height: 1.8; max-width: 46ch; }
.sp-prices { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; }
.sp-price, .sp-run {
  flex: 1 1 200px;
  display: grid;
  gap: 4px;
  padding: 14px 18px;
  border-radius: 18px;
  background: var(--glass-2);
  border: 1px solid var(--glass-border);
}
.sp-price small, .sp-run small { font-size: 12.5px; color: var(--ink-3); }
.sp-price div, .sp-run div { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.sp-price b, .sp-run b { font: 300 clamp(26px, 3vw, 34px)/1.15 var(--font-lat); }
.sp-price--txt b { font-family: var(--font-ar); font-size: clamp(22px, 2.4vw, 28px); }
.sp-price span, .sp-run span { font-size: 14px; color: var(--ink-2); }
.sp-price s { font: 400 14px var(--font-lat); color: var(--ink-3); }
.sp-price-note { font-size: 12.5px !important; color: var(--ink-3) !important; }
.sp-run { background: var(--btn); color: var(--btn-ink); border-color: transparent; }
.sp-run small, .sp-run span, .sp-run .sp-price-note { color: color-mix(in srgb, var(--btn-ink) 70%, transparent) !important; }
.sp-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sp-hero-visual { position: relative; display: grid; gap: 12px; justify-items: center; }
.sp-hero-shot { width: 100%; transform: perspective(1400px) rotateY(-7deg) rotateX(2deg); transition: transform 1s var(--ease); }
.sp-hero-visual:hover .sp-hero-shot { transform: none; }
.sp-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
  background: var(--glass-2);
  border: 1px solid var(--glass-border);
}
.sp-live:hover { color: var(--ink); }
.sp-thumb { width: 100%; }
.sp-thumb .thumb { margin: 0; border-radius: 26px; aspect-ratio: 5 / 4; }
.sp-thumb .thumb-tag { font-size: 15px; top: 20px; right: 22px; }
.sp-thumb .thumb-chip { font-size: 13.5px; right: 20px; bottom: 22px; }
[data-theme="light"] .sp-thumb .thumb,
[data-theme="light"] .sp-rel-card .thumb {
  background: radial-gradient(circle at 85% 8%, rgba(255, 255, 255, .85), transparent 50%), linear-gradient(155deg, color-mix(in srgb, var(--c1) 42%, #fff), color-mix(in srgb, var(--c2) 45%, #fff 55%));
}
[data-theme="light"] .sp-thumb .thumb-tag, [data-theme="light"] .sp-rel-card .thumb-tag { color: color-mix(in srgb, var(--c1) 85%, #000); opacity: .7; }
[data-theme="light"] .sp-thumb .thumb-orb svg, [data-theme="light"] .sp-rel-card .thumb-orb svg { stroke: color-mix(in srgb, var(--c1) 88%, #000); filter: none; }
[data-theme="light"] .sp-thumb .thumb-chip, [data-theme="light"] .sp-rel-card .thumb-chip { color: var(--ink); background: rgba(255, 255, 255, .6); border-color: rgba(255, 255, 255, .9); }
[data-theme="light"] .sp-thumb .thumb-chip::before, [data-theme="light"] .sp-rel-card .thumb-chip::before { background: var(--ok); box-shadow: 0 0 0 3px rgba(24, 178, 107, .2); }

/* تابات الأقسام (بتلزق تحت النافبار) */
.sp-tabs-wrap { position: sticky; top: calc(var(--nav-h) + 22px); z-index: 30; display: flex; justify-content: center; padding: 16px 16px 0; pointer-events: none; }
.sp-tabs {
  pointer-events: auto;
  display: flex;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.sp-tabs::-webkit-scrollbar { display: none; }
.sp-tabs a { flex: none; padding: 8px 16px; border-radius: 999px; font-size: 13.5px; color: var(--ink-2); transition: background-color .3s, color .3s; }
.sp-tabs a:hover { color: var(--ink); }
.sp-tabs a.on { background: var(--btn); color: var(--btn-ink); }
html:has(.sp-tabs) { scroll-padding-top: calc(var(--nav-h) + 90px); }

/* فيديو */
.sp-video {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  padding: 0;
}
.sp-video img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.sp-video:hover img { transform: scale(1.03); }
.sp-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sp-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: clamp(64px, 8vw, 92px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .5), inset 0 1px 0 #fff;
  transition: transform .4s var(--ease);
}
.sp-video:hover .sp-play { transform: scale(1.08); }
.sp-play svg { width: 40%; height: 40%; fill: #141a24; margin-inline-start: -4%; transform: scaleX(-1); }
.sp-video:focus-visible { outline: 2px solid var(--c1); outline-offset: 4px; }

/* نظام على مقاسك */
.sp-custom-in {
  border-radius: var(--r-xl);
  padding: clamp(24px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: center;
}
.sp-custom-in h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 300; line-height: 1.3; margin: 8px 0 10px; }
.sp-custom-in p { color: var(--ink-2); line-height: 1.8; }
.sp-custom-in .unlimited { margin: 0; }

/* صفوف الشاشات */
.sp-rows { display: grid; gap: clamp(50px, 7vw, 100px); }
.sp-row { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.sp-row.flip .sp-row-media { order: 2; }
.sp-row-text { display: grid; gap: 12px; align-content: start; }
.sp-row-n { font-size: 12px; color: color-mix(in srgb, var(--c1) 80%, var(--ink)); letter-spacing: .04em; }
.sp-row-text h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 300; line-height: 1.3; }
.sp-row-text > p { color: var(--ink-2); line-height: 1.8; margin-bottom: 4px; }
.sp-chat { all: unset; cursor: zoom-in; display: block; margin-top: 8px; width: min(260px, 80%); border-radius: 18px; overflow: hidden; border: 1px solid var(--glass-border); box-shadow: var(--shadow); }
.sp-chat img { width: 100%; }

/* مميزات (للأنظمة اللي من غير ديمو) */
.sp-feats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.sp-feats li { display: grid; gap: 16px; padding: 22px; border-radius: var(--r-lg); align-content: start; }
.sp-feats b { font-weight: 400; font-size: 17px; }
.sp-feat-more { border-style: dashed !important; }

/* مسار العينة */
.sp-stages { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; counter-reset: st; }
.sp-stages li {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 18px 16px;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.sp-stages .mono { font-size: 11px; color: color-mix(in srgb, var(--c1) 80%, var(--ink)); }
.sp-stages b { font-weight: 400; font-size: 16px; }
.sp-stages small { color: var(--ink-2); font-size: 13px; line-height: 1.6; }

/* الصلاحيات + وكمان */
.sp-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sp-cards--more { grid-template-columns: repeat(3, 1fr); }
.sp-cards li { display: grid; gap: 8px; align-content: start; padding: 20px; border-radius: var(--r-lg); }
.sp-cards b { font-weight: 400; font-size: 16.5px; }
.sp-cards li > span:last-child { color: var(--ink-2); font-size: 14px; line-height: 1.7; }
.sp-av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--c1), color-mix(in srgb, var(--c2) 70%, var(--c1)));
  margin-bottom: 4px;
}

/* السعر */
.sp-deal {
  border-radius: var(--r-xl);
  padding: clamp(24px, 4vw, 52px);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.sp-deal-price { display: grid; gap: 16px; justify-items: start; }
.sp-deal-price h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 300; }

/* أنظمة قريبة */
.sp-rel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sp-rel-card { display: grid; gap: 6px; padding: 10px 10px 18px; border-radius: var(--r-lg); align-content: start; position: relative; transition: transform .5s var(--ease); }
.sp-rel-card:hover { transform: translateY(-5px); }
.sp-rel-card .thumb { margin-bottom: 8px; }
.sp-rel-card b { font-weight: 400; font-size: 16.5px; padding-inline: 6px; }
.sp-rel-card > span { color: var(--ink-2); font-size: 13.5px; padding-inline: 6px; }
.sp-has-demo { display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-size: 12px; color: var(--ink-3); padding-inline: 6px; }

.sp-404 > div { border-radius: var(--r-xl); padding: 60px 24px; display: grid; gap: 14px; justify-items: center; text-align: center; }
.sp-404 h1 { font-size: 2rem; font-weight: 300; }

/* تكبير الصور */
.sp-lb {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 70px 16px 24px;
  background: rgba(10, 14, 28, .55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity .25s;
  cursor: zoom-out;
}
.sp-lb.on { opacity: 1; }
.sp-lb figure { margin: 0; display: grid; gap: 10px; justify-items: center; max-width: min(1200px, 100%); }
.sp-lb img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; border-radius: 16px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7); cursor: default; }
.sp-lb figcaption { color: #fff; font-size: 14px; text-align: center; opacity: .85; max-width: 70ch; }
.sp-lb-x { position: absolute; top: 18px; left: 18px; background: rgba(255, 255, 255, .9); color: #141a24; }
html.lb-open body { overflow: hidden; }

/* ---------- موبايل ---------- */
@media (max-width: 1080px) {
  .dm-grid { grid-template-columns: repeat(2, 1fr); }
  .sp-cards { grid-template-columns: repeat(2, 1fr); }
  .sp-rel { grid-template-columns: repeat(2, 1fr); }
  .sp-stages { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .sp-hero-in, .sp-custom-in, .sp-deal { grid-template-columns: 1fr; }
  .sp-hero-visual { order: -1; }
  .sp-hero-shot { transform: none; }
  .sp-row, .sp-row.flip { grid-template-columns: 1fr; }
  .sp-row.flip .sp-row-media { order: 0; }
  .sp-cards--more { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  #dm, #sp { padding-top: calc(var(--nav-h) + 26px); }
  .dm-grid { grid-template-columns: 1fr; }
  .dm-tips { display: grid; justify-items: center; }
  .dm-filters { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .dm-filters button { flex: none; }
  .sp-hero-in { padding: 14px 14px 22px; }
  .sp-hero-copy { padding-inline: 6px; }
  .sp-actions .pill { flex: 1 1 auto; justify-content: center; }
  .sp-cards, .sp-cards--more { grid-template-columns: 1fr; }
  .sp-stages { grid-template-columns: repeat(2, 1fr); }
  .sp-rel { grid-template-columns: 1fr 1fr; gap: 10px; }
  .sp-rel-card > span { display: none; }
  .sp-tabs-wrap { top: calc(var(--nav-h) + 16px); padding-inline: 10px; }
  .sp-lb-x { top: 14px; left: 14px; }
}

/* =========================================================
   الدعم الفني (support.html)
   ========================================================= */
#su { padding-top: calc(var(--nav-h) + 40px); }
.su-hero-in { border-radius: var(--r-xl); padding: clamp(28px, 5vw, 60px); display: grid; justify-items: center; text-align: center; gap: 14px; }
.su-hero-in h1 { font-size: clamp(2.1rem, 5vw, 4rem); font-weight: 200; line-height: 1.2; }
.su-hero-in > p { color: var(--ink-2); font-size: clamp(15px, 1.6vw, 18px); max-width: 48ch; }
.su-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 18px; align-items: start; padding-top: 18px; }
.su-zone, .su-form, .su-done { border-radius: var(--r-xl); padding: clamp(22px, 3vw, 34px); display: grid; gap: 14px; align-content: start; }
.su-zone h2, .su-form h2, .su-done h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 300; }
.su-zone > p, .su-form-head p { color: var(--ink-2); font-size: 14.5px; line-height: 1.75; }
.su-zone .pill { justify-self: start; }
.su-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--glass-2)); border: 1px solid var(--glass-border); }
.su-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.su-form-head { display: flex; gap: 14px; align-items: center; }
.su-f { display: grid; gap: 7px; }
.su-f > span { font-size: 13.5px; color: var(--ink-2); }
.su-f small { color: var(--ink-3); }
.su-f input, .su-f textarea {
  font: inherit; font-size: 15px; color: var(--ink);
  padding: 13px 16px; border-radius: 16px;
  background: var(--glass-2); border: 1px solid var(--glass-border);
  outline: none; transition: border-color .3s, box-shadow .3s; resize: vertical; min-width: 0; width: 100%;
}
.su-f input:focus, .su-f textarea:focus { border-color: color-mix(in srgb, var(--accent) 60%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent); }
.su-f .bad { border-color: var(--bad) !important; box-shadow: 0 0 0 4px color-mix(in srgb, var(--bad) 14%, transparent) !important; }
.su-hint { font-size: 12.5px; color: var(--ink-3); margin-top: -6px !important; }
.su-err { min-height: 1.2em; font-size: 13.5px; color: var(--bad); }
.su-err:empty { min-height: 0; }
.su-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.su-row--end { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.su-chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.su-chips legend { font-size: 13.5px; color: var(--ink-2); margin-bottom: 8px; padding: 0; }
.su-chips label { cursor: pointer; }
.su-chips input { position: absolute; opacity: 0; pointer-events: none; }
.su-chips span { display: inline-flex; padding: 9px 16px; border-radius: 999px; font-size: 14px; border: 1px solid var(--glass-border); background: var(--glass-2); transition: background-color .25s, color .25s, border-color .25s; }
.su-chips input:checked + span { background: var(--btn); color: var(--btn-ink); border-color: var(--btn); }
.su-chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.su-urgent { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; padding: 8px 14px 8px 10px; border-radius: 16px; border: 1px solid var(--glass-border); background: var(--glass-2); }
.su-urgent input { width: 18px; height: 18px; accent-color: var(--bad); }
.su-urgent span { display: grid; line-height: 1.3; }
.su-urgent b { font-weight: 400; font-size: 14px; }
.su-urgent small { font-size: 12px; color: var(--ink-3); }
.su-urgent:has(input:checked) { border-color: color-mix(in srgb, var(--bad) 55%, transparent); background: color-mix(in srgb, var(--bad) 8%, var(--glass-2)); }
.su-files { cursor: pointer; }
.su-files .pill { min-height: 44px; font-size: 14px; gap: 8px; pointer-events: none; }
.su-files svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.su-files:focus-within .pill { outline: 2px solid var(--accent); outline-offset: 2px; }
.su-thumbs { list-style: none; padding: 0; margin: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.su-thumbs:empty { display: none; }
.su-thumbs li { position: relative; width: 84px; height: 64px; border-radius: 12px; overflow: hidden; border: 1px solid var(--glass-border); }
.su-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.su-thumbs button { position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(10, 14, 28, .7); color: #fff; font-size: 14px; line-height: 1; cursor: pointer; }
.su-send { justify-self: start; }
.su-send[disabled] { opacity: .6; pointer-events: none; }
.su-done { grid-column: 2; justify-items: center; text-align: center; padding-block: 40px; }
.su-done p { color: var(--ink-2); }
.su-done-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.su-team { border-radius: var(--r-xl); padding: clamp(22px, 3vw, 36px); display: grid; grid-template-columns: 1fr 2fr; gap: 20px; align-items: center; }
.su-team h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 300; margin-top: 8px; }
.su-team .team { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
  .su-grid { grid-template-columns: 1fr; }
  .su-form { order: -1; }
  .su-done { grid-column: auto; order: -1; }
  .su-team { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  #su { padding-top: calc(var(--nav-h) + 26px); }
  .su-row { grid-template-columns: 1fr; }
  .su-team .team { grid-template-columns: 1fr; }
  .su-send { justify-self: stretch; justify-content: center; }
}
