/* ==========================================================================
   TechneTools — Quiet Force
   components.css — مكتبة المكوّنات

   القاعدة الحاكمة للاتجاه كله:
     HARD  = المحتوى اللي بيتقرا  → زوايا قائمة، حد رفيع واحد، مفيش ظل
     SOFT  = العناصر اللي بتتنقر  → مدوّرة بالكامل، ظل تحتها، بريق من فوق
   التضاد ده هو اللي بيوضّح للزائر إيه اللي بيتنقر من غير ما نقوله.
   ========================================================================== */

/* ==========================================================================
   SOFT — الأزرار
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-ar);
  font-weight: 600;
  font-size: var(--fs-body);
  line-height: 1;
  padding: var(--sp-3) var(--sp-6);
  border: 0;
  border-radius: var(--r-pill);
  cursor: pointer;
  text-align: center;
  background: var(--sand);
  color: var(--ink);
  box-shadow: var(--sh-soft);
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-soft-lg); background: var(--sand-bright); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--chalk);
  border: var(--bw) solid var(--rule);
  box-shadow: none;
}
.btn--ghost:hover { background: transparent; border-color: var(--sand); box-shadow: none; }

.btn--quiet {
  background: var(--panel-2);
  color: var(--chalk);
  box-shadow: var(--sh-panel);
}
.btn--quiet:hover { background: var(--panel-3); }

.btn--lg { font-size: 1.0625rem; padding: var(--sp-4) var(--sp-8); }
.btn--sm { font-size: var(--fs-small); padding: var(--sp-2) var(--sp-4); }
.btn--block { display: flex; width: 100%; }

.btn-row { display: flex; gap: var(--sp-3); flex-wrap: wrap; }

/* السهم بيتقلب مع اتجاه الصفحة */
.btn .arrow { transition: transform var(--t-fast); }
[dir="rtl"] .btn .arrow { transform: scaleX(1); }
[dir="ltr"] .btn .arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arrow { transform: translateX(-3px); }
[dir="ltr"] .btn:hover .arrow { transform: scaleX(-1) translateX(-3px); }

/* ==========================================================================
   SOFT — كبسولة التنقّل
   ========================================================================== */

.pillnav {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  background: var(--panel-2);
  border-radius: var(--r-pill);
  padding: var(--sp-2);
  box-shadow: var(--sh-panel);
}
.pillnav a {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--ash);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: color var(--t-fast), background var(--t-fast);
}
.pillnav a:hover { color: var(--chalk); }
.pillnav a[aria-current] { background: var(--sand); color: var(--ink); font-weight: 600; }

/* ==========================================================================
   الهيدر
   ========================================================================== */

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: var(--z-header);
  background: color-mix(in srgb, var(--ink) 82%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: var(--bw) solid transparent;
  transition: border-color var(--t-base), background var(--t-base);
}
.site-header[data-scrolled] {
  border-bottom-color: var(--rule-faint);
  background: color-mix(in srgb, var(--ink) 95%, transparent);
}

.site-header .bar {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: var(--sp-2);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -.01em;
  flex-shrink: 0;
}
.brand .mark { color: var(--sand); }
.brand .tail { color: var(--ash-dim); font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: var(--ls-mono); }

/* قايمة سطح المكتب */
.nav-main { display: flex; align-items: center; gap: var(--sp-6); margin-inline-start: var(--sp-4); }
.nav-main > li { list-style: none; position: relative; }
.nav-main a, .nav-main button.nav-trigger {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: var(--fs-small); font-weight: 500; color: var(--ash);
  background: none; border: 0; cursor: pointer; padding: var(--sp-2) 0;
  transition: color var(--t-fast);
}
.nav-main a:hover, .nav-main button.nav-trigger:hover,
.nav-main a[aria-current] { color: var(--chalk); }
.nav-main .chev { width: 12px; height: 12px; transition: transform var(--t-fast); }
.nav-main [aria-expanded="true"] .chev { transform: rotate(180deg); }

.nav-list { display: flex; gap: var(--sp-6); margin: 0; padding: 0; }

/* القايمة المنسدلة للمنتجات — HARD، لأنها محتوى بيتقرا */
.megamenu {
  position: absolute;
  inset-block-start: calc(100% + var(--sp-3));
  inset-inline-start: 50%;
  transform: translateX(50%) translateY(-6px);
  width: min(460px, calc(100vw - var(--sp-8)));
  background: var(--panel);
  border: var(--bw) solid var(--rule);
  box-shadow: var(--sh-drawer);
  padding: var(--sp-3);
  display: grid;
  gap: var(--sp-1);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
}
[dir="ltr"] .megamenu { transform: translateX(-50%) translateY(-6px); }
.megamenu[data-open] { opacity: 1; visibility: visible; transform: translateX(50%) translateY(0); }
[dir="ltr"] .megamenu[data-open] { transform: translateX(-50%) translateY(0); }

.mega-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: var(--sp-3);
  align-items: center;
  padding: var(--sp-3);
  transition: background var(--t-fast);
}
.mega-item:hover { background: var(--panel-2); }
.mega-item .ico {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: var(--bw) solid var(--rule);
  color: var(--sand);
  font-weight: 700; font-size: 1rem;
}
.mega-item b { display: block; font-size: var(--fs-body); color: var(--chalk); font-weight: 600; }
.mega-item span { display: block; font-size: var(--fs-small); color: var(--ash); line-height: 1.6; }

/* الجهة المقابلة: اللغة + CTA */
.header-end { display: flex; align-items: center; gap: var(--sp-3); margin-inline-start: auto; }

.lang-switch {
  display: inline-flex;
  border: var(--bw) solid var(--rule);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.lang-switch a {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: var(--ls-mono);
  padding: var(--sp-2) var(--sp-3);
  color: var(--ash-dim);
  transition: background var(--t-fast), color var(--t-fast);
}
.lang-switch a:hover { color: var(--chalk); }
.lang-switch a[aria-current] { background: var(--sand); color: var(--ink); font-weight: 600; }

/* زرار الدرج — موبايل فقط */
.drawer-toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  background: var(--panel-2);
  border: 0; border-radius: var(--r-pill);
  box-shadow: var(--sh-panel);
  cursor: pointer;
}
.drawer-toggle svg { width: 20px; height: 20px; color: var(--chalk); }

/* ---------- درج الموبايل ---------- */
.drawer-scrim {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, .65);
  backdrop-filter: blur(3px);
  z-index: var(--z-drawer);
  opacity: 0; visibility: hidden;
  transition: opacity var(--t-base), visibility var(--t-base);
}
.drawer-scrim[data-open] { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  inset-block: 0;
  inset-inline-end: 0;
  width: min(330px, 86vw);
  z-index: calc(var(--z-drawer) + 1);
  background: var(--panel);
  border-inline-start: var(--bw) solid var(--rule);
  box-shadow: var(--sh-drawer);
  padding: var(--sp-5) var(--sp-5) var(--sp-8);
  padding-block-start: calc(var(--sp-5) + env(safe-area-inset-top, 0px));
  padding-block-end: calc(var(--sp-8) + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  /* الدرج على الحافة inline-end — يعني الشمال في RTL واليمين في LTR.
     translateX فيزيائي مش منطقي، فكل اتجاه له إشارته. */
  transform: translateX(-100%);
  transition: transform var(--t-base);
  display: flex; flex-direction: column; gap: var(--sp-5);
}
[dir="ltr"] .drawer { transform: translateX(100%); }
.drawer[data-open] { transform: translateX(0); }

.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); }
.drawer-close {
  width: 38px; height: 38px; display: grid; place-items: center;
  background: var(--panel-2); border: 0; border-radius: var(--r-pill); cursor: pointer;
}
.drawer-close svg { width: 18px; height: 18px; color: var(--chalk); }

.drawer-nav { display: grid; gap: var(--sp-1); margin: 0; padding: 0; list-style: none; }
.drawer-nav a {
  display: block;
  padding: var(--sp-3) 0;
  font-size: 1.0625rem;
  font-weight: 600;
  border-bottom: var(--bw) solid var(--rule-faint);
  transition: color var(--t-fast);
}
.drawer-nav a:hover { color: var(--sand); }
.drawer-nav .sub a { font-size: var(--fs-body); font-weight: 400; color: var(--ash); padding-inline-start: var(--sp-4); }

@media (max-width: 920px) {
  .nav-main, .header-end .lang-switch { display: none; }
  .drawer-toggle { display: inline-flex; }
  .header-end .btn { display: none; }
}

/* ==========================================================================
   HARD — الكروت والمحتوى
   ========================================================================== */

.card {
  background: var(--panel);
  border: var(--bw) solid var(--rule-solid);
  border-radius: var(--r-hard);
  padding: var(--sp-5);
}
.card--accent { border-color: var(--rule); }
.card__top { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); margin-bottom: var(--sp-3); }

/* شبكة بينتو */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); }
.bento-cell {
  background: var(--panel);
  border: var(--bw) solid var(--rule-faint);
  padding: var(--sp-5);
  min-width: 0;
  min-height: 110px;
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--sp-3);
  transition: border-color var(--t-fast), background var(--t-fast);
}
a.bento-cell:hover { border-color: var(--rule); background: var(--panel-2); }
.bento-cell--lg { grid-column: span 2; grid-row: span 2; background: var(--panel-2); border-color: var(--rule); }
.bento-cell--w  { grid-column: span 2; }
.bento-cell .t { font-size: var(--fs-body); font-weight: 600; line-height: 1.5; }
.bento-cell--lg .t { font-size: var(--fs-h3); font-weight: 700; }

@media (max-width: 760px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-cell--lg { grid-column: span 2; grid-row: auto; }
}

/* شريط الثقة */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--bw);
  background: var(--rule-faint);
  border-block: var(--bw) solid var(--rule-faint);
}
.stat { background: var(--ink); padding: var(--sp-5); text-align: center; min-width: 0; }
.stat b { display: block; font-size: var(--fs-h1); font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { display: block; font-size: var(--fs-small); color: var(--ash); margin-top: var(--sp-1); }

/* كرت الرأي */
.quote { background: var(--panel); border: var(--bw) solid var(--rule-solid); padding: var(--sp-5); display: grid; gap: var(--sp-4); }
.quote blockquote { margin: 0; font-size: var(--fs-body); line-height: 1.8; }
.quote blockquote::before { content: '«'; color: var(--sand); margin-inline-end: var(--sp-1); }
.quote blockquote::after  { content: '»'; color: var(--sand); margin-inline-start: var(--sp-1); }
.quote figcaption { display: flex; align-items: center; gap: var(--sp-3); }
.quote .avatar { width: 40px; height: 40px; border-radius: var(--r-pill); object-fit: cover; background: var(--panel-2); flex-shrink: 0; }
.quote .who b { display: block; font-size: var(--fs-small); font-weight: 600; }
.quote .who span { display: block; font-size: var(--fs-small); color: var(--ash-dim); }

/* كرت الباقة */
.plan {
  display: flex; flex-direction: column; gap: var(--sp-4);
  background: var(--panel);
  border: var(--bw) solid var(--rule-solid);
  padding: var(--sp-6);
  height: 100%;
}
.plan--featured { border: 2px solid var(--sand); background: var(--panel-2); position: relative; }
.plan__ribbon {
  position: absolute;
  inset-block-start: 0; inset-inline-start: 50%;
  transform: translate(50%, -50%);
  background: var(--sand); color: var(--ink);
  font-size: var(--fs-small); font-weight: 700;
  padding: var(--sp-1) var(--sp-4);
  border-radius: var(--r-pill);
  white-space: nowrap;
}
[dir="ltr"] .plan__ribbon { transform: translate(-50%, -50%); }
.plan__price { display: flex; align-items: baseline; gap: var(--sp-2); flex-wrap: wrap; }
.plan__price b { font-size: 2.75rem; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__price span { font-size: var(--fs-small); color: var(--ash); }
.plan__total { font-size: var(--fs-small); color: var(--ash); }
.plan__total s { color: var(--ash-dim); margin-inline: var(--sp-1); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-2); font-size: var(--fs-small); }
.plan li { display: flex; gap: var(--sp-2); align-items: flex-start; }
.plan li::before { content: '✓'; color: var(--sand); font-weight: 700; flex-shrink: 0; }
.plan .btn { margin-top: auto; }

/* شارة */
.badge {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: var(--fs-small); font-weight: 600;
  padding: var(--sp-1) var(--sp-3);
  border: var(--bw) solid var(--rule);
  border-radius: var(--r-pill);
  color: var(--sand);
}
.badge--solid { background: var(--sand); color: var(--ink); border-color: var(--sand); }

/* ==========================================================================
   الأسئلة الشائعة
   ========================================================================== */

.faq { display: grid; gap: var(--bw); background: var(--rule-faint); border-block: var(--bw) solid var(--rule-faint); }
.faq details { background: var(--ink); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-4);
  font-weight: 600; cursor: pointer; list-style: none;
  transition: color var(--t-fast);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--sand); }
.faq summary .sign { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.faq summary .sign::before, .faq summary .sign::after {
  content: ''; position: absolute; inset-block-start: 50%; inset-inline-start: 0;
  width: 14px; height: 1.5px; background: var(--sand);
  transition: transform var(--t-fast);
}
.faq summary .sign::after { transform: rotate(90deg); }
.faq details[open] summary .sign::after { transform: rotate(0deg); }
.faq .answer { padding: 0 var(--sp-4) var(--sp-5); color: var(--ash); max-width: 68ch; }

/* ==========================================================================
   الحقول
   ========================================================================== */

.field { display: grid; gap: var(--sp-2); }
.field > label { font-size: var(--fs-small); font-weight: 600; }
.input, .textarea, .select {
  width: 100%;
  font: inherit;
  font-size: var(--fs-body);
  color: var(--chalk);
  background: var(--panel);
  border: var(--bw) solid var(--rule-solid);
  border-radius: var(--r-soft);
  padding: var(--sp-3) var(--sp-4);
  transition: border-color var(--t-fast);
}
.input:hover, .textarea:hover, .select:hover { border-color: var(--rule); }
.input:focus, .textarea:focus, .select:focus { border-color: var(--sand); outline-offset: 1px; }
.textarea { min-height: 120px; resize: vertical; line-height: 1.7; }
.field .hint  { font-size: var(--fs-small); color: var(--ash-dim); }
.field .error { font-size: var(--fs-small); color: var(--error); }

/* ==========================================================================
   الفوتر
   ========================================================================== */

.site-footer {
  border-top: var(--bw) solid var(--rule);
  padding-block: var(--sp-12) var(--sp-8);
  padding-block-end: calc(var(--sp-8) + env(safe-area-inset-bottom, 0px));
  margin-top: var(--sp-16);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--sp-8);
  margin-bottom: var(--sp-10);
}
.footer-col h4 { font-size: var(--fs-small); color: var(--sand-dim); margin-bottom: var(--sp-4); font-weight: 600; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-2); }
.footer-col a { font-size: var(--fs-small); color: var(--ash); transition: color var(--t-fast); }
.footer-col a:hover { color: var(--chalk); }
.footer-about p { font-size: var(--fs-small); color: var(--ash); max-width: 40ch; margin-top: var(--sp-3); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--sp-4); flex-wrap: wrap;
  padding-top: var(--sp-6);
  border-top: var(--bw) solid var(--rule-faint);
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
  .footer-about { grid-column: 1 / -1; }
}

/* ==========================================================================
   أقسام الصفحات — مبنية على نفس التوكنز، وبتتعاد على صفحات المنتجات كمان
   ========================================================================== */

/* ---------- الهيرو ---------- */
.hero { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem); }
.hero .eyebrow { margin-bottom: var(--sp-5); display: block; }
.hero h1 { font-size: clamp(2rem, 5.4vw, 3.5rem); max-width: 18ch; }
.hero .hero-sub { color: var(--ash); max-width: 54ch; margin-top: var(--sp-5); font-size: 1.0625rem; }
.hero .btn-row { margin-top: var(--sp-8); }
.hero .hero-note { margin-top: var(--sp-5); display: flex; gap: var(--sp-2) var(--sp-5); flex-wrap: wrap; }

/* ---------- اختيار المنصة ---------- */
.picker { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--sp-3); }
.pick {
  display: flex; align-items: center; gap: var(--sp-4);
  background: var(--panel); border: var(--bw) solid var(--rule-solid);
  padding: var(--sp-4);
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}
.pick:hover { border-color: var(--sand); background: var(--panel-2); transform: translateY(-2px); }
.pick .ico {
  width: 46px; height: 46px; flex-shrink: 0;
  display: grid; place-items: center;
  border: var(--bw) solid var(--rule); color: var(--sand);
  font-weight: 700; font-size: 1.125rem;
}
.pick b { display: block; font-size: var(--fs-body); font-weight: 600; }
.pick span { display: block; font-size: var(--fs-small); color: var(--ash); line-height: 1.6; }
.pick .go { margin-inline-start: auto; color: var(--sand); flex-shrink: 0; }
[dir="ltr"] .pick .go { transform: scaleX(-1); }

/* ---------- إزاي بيشتغل ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--sp-5); counter-reset: step; }
.step-card { border-top: 2px solid var(--rule); padding-top: var(--sp-5); min-width: 0; }
.step-card .n {
  font-family: var(--font-mono); font-size: var(--fs-label);
  letter-spacing: var(--ls-label); color: var(--sand); display: block; margin-bottom: var(--sp-3);
}
.step-card h3 { margin-bottom: var(--sp-2); }
.step-card p { font-size: var(--fs-small); color: var(--ash); }

/* ---------- صف المنتج ---------- */
.product {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding-block: var(--sp-10);
  border-top: var(--bw) solid var(--rule-faint);
}
.product:first-of-type { border-top: 0; }
.product:nth-of-type(even) .product__media { order: -1; }
.product__body { min-width: 0; }
.product__body h3 { font-size: var(--fs-h2); margin-block: var(--sp-2) var(--sp-3); }
.product__body > p { color: var(--ash); margin-bottom: var(--sp-5); }
.product__feats { list-style: none; margin: 0 0 var(--sp-6); padding: 0; display: grid; gap: var(--sp-2); font-size: var(--fs-small); }
.product__feats li { display: flex; gap: var(--sp-2); align-items: flex-start; }
.product__feats li::before { content: '✓'; color: var(--sand); font-weight: 700; flex-shrink: 0; }
.product__price { display: flex; align-items: baseline; gap: var(--sp-2); margin-bottom: var(--sp-5); }
.product__price b { font-size: 1.75rem; font-variant-numeric: tabular-nums; }
.product__price span { font-size: var(--fs-small); color: var(--ash); }
.product__media { border: var(--bw) solid var(--rule-solid); min-width: 0; background: var(--panel); }
.product__media img { width: 100%; height: auto; }

@media (max-width: 820px) {
  .product { grid-template-columns: 1fr; }
  .product:nth-of-type(even) .product__media { order: 0; }
}

/* ---------- الضمان ---------- */
.guarantee {
  border: var(--bw) solid var(--rule);
  background: linear-gradient(180deg, rgba(201, 184, 146, .05), transparent);
  padding: clamp(2rem, 5vw, 3.5rem);
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
}
.guarantee__seal {
  width: 120px; height: 120px; flex-shrink: 0;
  border: 2px solid var(--sand); border-radius: var(--r-pill);
  display: grid; place-items: center; text-align: center; line-height: 1.25;
}
.guarantee__seal b { display: block; font-size: 2.25rem; color: var(--sand); font-variant-numeric: tabular-nums; }
.guarantee__seal span { display: block; font-size: var(--fs-small); color: var(--sand-dim); }
.guarantee__body { min-width: 0; }
.guarantee__body h2 { margin-bottom: var(--sp-3); }
.guarantee__body p { color: var(--ash); max-width: 58ch; }
@media (max-width: 620px) { .guarantee { grid-template-columns: 1fr; justify-items: start; } }

/* ---------- نداء أخير ---------- */
.cta-final { text-align: center; padding-block: clamp(3rem, 7vw, 5rem); }
.cta-final h2 { font-size: var(--fs-h1); margin-bottom: var(--sp-4); }
.cta-final p { color: var(--ash); max-width: 50ch; margin-inline: auto; margin-bottom: var(--sp-8); }
.cta-final .btn-row { justify-content: center; }

/* ==========================================================================
   صفحات المنتجات — قالب واحد للتلاتة
   ========================================================================== */

/* هيرو المنتج */
.prod-hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.prod-hero__body { min-width: 0; }
.prod-hero h1 { font-size: clamp(1.75rem, 4.2vw, 2.75rem); margin-block: var(--sp-4) var(--sp-4); }
.prod-hero__sub { color: var(--ash); max-width: 52ch; }
.prod-hero .btn-row { margin-top: var(--sp-7); }
.prod-hero__price { margin-top: var(--sp-5); display: flex; align-items: baseline; gap: var(--sp-2); }
.prod-hero__price b { font-size: 1.75rem; font-variant-numeric: tabular-nums; }
.prod-hero__price span { font-size: var(--fs-small); color: var(--ash); }
.prod-hero__media { border: var(--bw) solid var(--rule-solid); background: var(--panel); min-width: 0; }
.prod-hero__media img { width: 100%; height: auto; }
.spec-row { display: flex; gap: var(--sp-2) var(--sp-4); flex-wrap: wrap; margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: var(--bw) solid var(--rule-faint); }
@media (max-width: 860px) { .prod-hero { grid-template-columns: 1fr; } }

/* قبل / بعد */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
.compare__col { border: var(--bw) solid var(--rule-solid); padding: var(--sp-5); min-width: 0; }
.compare__col--with { border-color: var(--rule); background: var(--panel); }
.compare__col h3 { font-size: var(--fs-h4); margin-bottom: var(--sp-4); }
.compare__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); font-size: var(--fs-small); color: var(--ash); }
.compare__col li { display: flex; gap: var(--sp-3); align-items: flex-start; }
.compare__col li::before { content: '✕'; color: var(--ash-dim); font-weight: 700; flex-shrink: 0; }
.compare__col--with li::before { content: '✓'; color: var(--sand); }
.compare__col--with li { color: var(--chalk); }
@media (max-width: 700px) { .compare { grid-template-columns: 1fr; } }

/* شبكة المميزات */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: var(--bw); background: var(--rule-faint); border: var(--bw) solid var(--rule-faint); }
.feature { background: var(--ink); padding: var(--sp-5); min-width: 0; }
.feature h3 { font-size: var(--fs-h4); margin-block: var(--sp-3) var(--sp-2); display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap; }
.feature p { font-size: var(--fs-small); color: var(--ash); }
.feature .opt { font-size: 10.5px; font-family: var(--font-mono); letter-spacing: var(--ls-mono); color: var(--sand-dim); border: var(--bw) solid var(--rule); padding: 1px var(--sp-2); border-radius: var(--r-pill); }

/* حالات ملوّنة (CRM) */
.states { display: flex; gap: var(--sp-2); flex-wrap: wrap; margin-top: var(--sp-3); }
.states span { font-size: 11.5px; padding: 2px var(--sp-3); border-radius: var(--r-pill); border: var(--bw) solid var(--rule-faint); color: var(--ash); }

/* شريط البيع المتقاطع */
.crosssell { border: var(--bw) solid var(--rule); background: linear-gradient(180deg, rgba(201,184,146,.05), transparent); padding: clamp(1.5rem, 4vw, 2.5rem); display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); flex-wrap: wrap; }
.crosssell__body { min-width: 0; flex: 1 1 320px; }
.crosssell h2 { font-size: var(--fs-h3); margin-bottom: var(--sp-2); }
.crosssell p { color: var(--ash); font-size: var(--fs-small); }

/* المنتجات التانية */
.siblings { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--sp-3); }

/* ملاحظة الاستخدام المسؤول */
.usage-note { border-inline-start: 2px solid var(--sand-dim); padding-inline-start: var(--sp-4); color: var(--ash); font-size: var(--fs-small); }

/* ==========================================================================
   الطبقة التحريرية — التفاصيل اللي بتدّي إحساس البوستر
   مفيش صور هنا خالص: كله CSS و SVG، فمفيش أي تأثير على سرعة التحميل.
   ========================================================================== */

/* ---------- إطار بأقواس في الزوايا الأربعة ---------- */
.plate { position: relative; }
.plate::before, .plate::after,
.plate > .corner-bl, .plate > .corner-br {
  content: '';
  position: absolute;
  width: 22px; height: 22px;
  border: 1px solid var(--rule);
  pointer-events: none;
}
.plate::before { inset-block-start: 0; inset-inline-start: 0; border-inline-end: 0; border-block-end: 0; }
.plate::after  { inset-block-start: 0; inset-inline-end: 0;   border-inline-start: 0; border-block-end: 0; }
.plate > .corner-bl { inset-block-end: 0; inset-inline-start: 0; border-inline-end: 0; border-block-start: 0; }
.plate > .corner-br { inset-block-end: 0; inset-inline-end: 0;   border-inline-start: 0; border-block-start: 0; }
.plate--pad { padding: clamp(1.5rem, 4vw, 2.75rem); }

/* ---------- علامة تصويب ---------- */
.crosshair {
  position: absolute;
  width: 15px; height: 15px;
  pointer-events: none;
  opacity: .75;
}
.crosshair::before, .crosshair::after {
  content: '';
  position: absolute;
  background: var(--sand-dim);
}
.crosshair::before { inset-block-start: 50%; inset-inline: 0; height: 1px; }
.crosshair::after  { inset-inline-start: 50%; inset-block: 0; width: 1px; }

/* ---------- شريط التدرّج الرمادي ---------- */
.swatch-strip {
  display: flex;
  width: fit-content;
  border: 1px solid var(--rule-faint);
}
.swatch-strip i { display: block; width: 26px; height: 13px; }
.swatch-strip i:nth-child(1) { background: #0b0d11; }
.swatch-strip i:nth-child(2) { background: #2a2f38; }
.swatch-strip i:nth-child(3) { background: #555c67; }
.swatch-strip i:nth-child(4) { background: #8d949e; }
.swatch-strip i:nth-child(5) { background: #c3c7cd; }
.swatch-strip i:nth-child(6) { background: var(--chalk); }

/* ---------- صف اللايبلات التقنية تحت الهيرو ---------- */
.readout {
  display: flex;
  align-items: center;
  gap: var(--sp-4) var(--sp-8);
  flex-wrap: wrap;
  margin-top: var(--sp-8);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--rule-faint);
}

/* ---------- ترويسة قسم بأرقام الشكل والتصويب ---------- */
.section-head { position: relative; }
.section-head .label { position: relative; padding-inline-start: 22px; }
.section-head .label::before {
  content: '';
  position: absolute;
  inset-inline-start: 0; inset-block-start: 50%;
  width: 13px; height: 1px;
  background: var(--sand-dim);
  transform: translateY(-50%);
}


/* ==========================================================================
   عمود الحصاد — العنصر المميّز في الهيرو
   مش ديكور: ده شكل مخرجات البرنامج الحقيقي. آلاف صفوف داخلة، حفنة طالعة.
   الصفوف الباهتة بياعين وسبام، والواضحة هي الليدز اللي عدّت الفلتر.
   كله نص — مفيش أي صورة، فمفيش حمل على السرعة.
   ========================================================================== */

.harvest {
  position: relative;
  height: clamp(300px, 52vh, 460px);
  overflow: hidden;
  min-width: 0;
  border: var(--bw) solid var(--rule-faint);
  background: var(--panel);
  -webkit-mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent);
          mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent);
}

.harvest__track { animation: harvest-drift 52s linear infinite; }

@keyframes harvest-drift { to { transform: translateY(-50%); } }

.harvest__row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-2) var(--sp-4);
  border-bottom: 1px solid rgba(255, 255, 255, .035);
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--chalk);
  opacity: .085;          /* الضوضاء — موجودة بس مش مقروءة */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* الصفوف اللي عدّت الفلتر */
.harvest__row--keep {
  opacity: 1;
  background: rgba(201, 184, 146, .05);
  border-inline-start: 2px solid var(--sand);
  padding-inline-start: calc(var(--sp-4) - 2px);
}
.harvest__score {
  margin-inline-start: auto;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: .06em;
  color: var(--sand);
  font-variant-numeric: tabular-nums;
}

/* لو المستخدم طالب تقليل الحركة، العمود بيقف ساكن */
@media (prefers-reduced-motion: reduce) {
  .harvest__track { animation: none; }
}

/* الهيرو بعمودين: الكلام جنب الحصاد */
.hero--split {
  display: grid;
  grid-template-columns: 1fr .78fr;
  gap: clamp(1.75rem, 5vw, 3.5rem);
  align-items: center;
}
.hero--split .hero__body { min-width: 0; }

/* العنوان العربي هو العنصر الضخم — مش كلمة لاتينية */
.hero--split h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  line-height: 1.22;
  letter-spacing: -.015em;   /* شدّ بسيط جدًا — مش تباعد */
  max-width: 15ch;
}

@media (max-width: 880px) {
  .hero--split { grid-template-columns: 1fr; }
  .harvest { height: 260px; }
}

/* ترويسة عمود الحصاد — بتقول للزائر إيه اللي بيشوفه */
.harvest-panel { min-width: 0; border: var(--bw) solid var(--rule-faint); background: var(--panel); }
.harvest-panel .harvest { border: 0; }
.harvest__head {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-bottom: var(--bw) solid var(--rule-faint);
}
.harvest__head .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sand); flex-shrink: 0;
  animation: harvest-pulse 2.4s ease-in-out infinite;
}
@keyframes harvest-pulse { 0%, 100% { opacity: 1 } 50% { opacity: .25 } }
@media (prefers-reduced-motion: reduce) { .harvest__head .dot { animation: none } }
.harvest__head .count { margin-inline-start: auto; font-family: var(--font-mono); font-size: var(--fs-label); color: var(--ash-dim); letter-spacing: .08em; }
