/* help.css — صفحة مركز المساعدة
   - هيرو نظيف بدون badge داخل العنوان
   - “Eyebrow” رشيق، شبكة + موجة خفيفة
   - تنسيقات بحث/بطاقات خفيفة
   - كل شيء Scoped بأسماء hp-* لتجنّب التعارض
*/

/* ===== HERO بخلفية ممتدة + زخرفة ===== */
.hp-hero-full{
  position: relative;
  overflow: clip;
  background:
    radial-gradient(1100px 420px at 12% -10%, hsl(var(--brand-copper) / .10), transparent 60%),
    radial-gradient(900px 360px at 110% 120%, hsl(var(--brand-stone) / .10), transparent 60%),
    linear-gradient(180deg, hsl(var(--surface)), hsl(var(--surface-2)));
}
.hp-grid{
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    repeating-linear-gradient(to right, hsl(var(--border) / .35) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(to bottom, hsl(var(--border) / .35) 0 1px, transparent 1px 80px);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  opacity: .18;
}
.hp-wave{
  position: absolute; inset-inline: 0; bottom: -1px;
  width: 100%; height: 80px; z-index: 0; pointer-events: none;
}
.hp-wave path{
  fill: hsl(var(--surface));
  stroke: hsl(var(--border));
  opacity: .55;
}

/* محتوى الهيرو */
.hp-hero__inner{
  position: relative; z-index: 1;
  display: grid; gap: .8rem; text-align: center;
  padding-top: clamp(26px, 4.2vw, 48px);
  padding-bottom: clamp(26px, 4.2vw, 48px);
}

/* Eyebrow خفيف */
.hp-hero__eyebrow{
  display: inline-flex; align-items: center; gap: 8px;
  margin-inline: auto;
  padding: 6px 10px; border-radius: 999px;
  background: hsl(var(--muted-bg));
  border: 1px solid hsl(var(--border));
  color: hsl(var(--fg)); font-weight: 800; font-size: .9rem;
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 6px 16px rgba(0,0,0,.10);
}

/* عنوان متدرّج */
.hp-hero__title{
  font-weight: 900; letter-spacing: -.01em; text-wrap: balance;
  background: linear-gradient(90deg, hsl(var(--fg)), hsl(var(--brand-sand)));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-size: clamp(1.9rem, 1.1rem + 2.2vw, 2.6rem);
}
.hp-hero__desc{
  color: hsl(var(--muted-fg));
  font-size: clamp(1rem, .9rem + .5vw, 1.125rem);
  margin-inline: auto; max-width: 70ch;
}

/* ===== شريط البحث في الهيرو ===== */
.hp-search{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .6rem;
  margin-inline: auto;
  margin-top: .6rem;
  max-width: 720px;
}
.hp-search__input{
  inline-size: 100%;
  padding: .7rem .9rem;
  border-radius: 12px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--surface-2));
  color: inherit;
  outline: none;
  transition: box-shadow .15s ease, border-color .15s ease, background-color .15s ease;
}
.hp-search__input::-moz-placeholder{ color: hsl(var(--muted-fg)); }
.hp-search__input::placeholder{ color: hsl(var(--muted-fg)); }
.hp-search__input:focus{
  border-color: hsl(var(--brand-copper));
  box-shadow: 0 0 0 3px hsl(var(--brand-copper) / .20);
  background: hsl(var(--surface));
}
.hp-search__btn{ min-width: 108px; }
@media (max-width: 480px){
  .hp-search{
    grid-template-columns: 1fr;
  }
  .hp-search__btn{ inline-size: 100%; }
}

/* ===== أيقونة وهمية للكروت/القنوات ===== */
.hp-ico{
  inline-size: 40px; block-size: 40px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, hsl(var(--brand-sand) / .16), hsl(var(--brand-copper) / .12)),
    hsl(var(--muted-bg));
  border: 1px solid hsl(var(--border));
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 8px 18px rgba(0,0,0,.06);
}

/* ===== FAQ ===== */
.faq details[open] .card-content{
  border-bottom: 1px dashed hsl(var(--border));
}

/* احترام تفضيل تقليل الحركة */
@media (prefers-reduced-motion: reduce){
  .hp-search__input{ transition: none !important; }
}

