/* about.css — Hero أنيق + تحسينات خفيفة وريسپونسف */

/* ===== HERO بخلفية ممتدة وديكور ===== */
.about-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)));
}

/* شبكة خفيفة */
.about-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;
}

/* موجة سفلية */
.about-wave{
  position: absolute; inset-inline: 0; bottom: -1px;
  width: 100%; height: 80px; z-index: 0; pointer-events: none;
}
.about-wave path{
  fill: hsl(var(--surface));
  stroke: hsl(var(--border));
  opacity: .55;
}

/* محتوى الهيرو */
.about-hero__inner{
  position: relative; z-index: 1;
  display: grid; gap: .8rem; text-align: center;
  padding-top: clamp(18px, 3.6vw, 32px);
  padding-bottom: clamp(18px, 3.6vw, 32px);
}

/* عنوان بتدرّج لطيف */
.about-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);
}

/* وصف مختصر */
.about-hero__desc{
  color: hsl(var(--muted-fg));
  font-size: clamp(1rem, .9rem + .5vw, 1.125rem);
  margin-inline: auto;
  max-width: 65ch;
}

/* أزرار الأكشن */
.about-hero__actions{
  justify-content: center; gap: .6rem; flex-wrap: wrap;
}
.about-hero__actions .btn{
  transition: transform .08s ease, filter .15s ease;
  will-change: transform, filter;
}
.about-hero__actions .btn:hover{
  transform: translateY(-1px); filter: saturate(1.02);
}
@media (max-width: 420px){
  .about-hero__actions .btn{ inline-size: 100%; }
}

/* شارة رشيقة: داخل التدفق على الشاشات الصغيرة، وتعوم على md+ */
.about-hero__badge{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px; border-radius: 999px;
  background: hsl(var(--muted-bg));
  color: hsl(var(--fg));
  border: 1px solid hsl(var(--border));
  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);
  margin-bottom: 4px;
}
.about-hero__badge svg{ width: 16px; height: 16px; }
@media (min-width: 768px){
  .about-hero__badge{
    position: absolute; top: -8px; inset-inline-end: 0;
    margin: 0; transform: translateY(-8px);
  }
}

/* نص الشارة (يمكن إخفاؤه لو المساحة ضيقة جدًا) */
@media (max-width: 340px){
  .about-hero__badge-text{ display: none; }
}

/* ===== تحسينات عرض للأقسام المستخدمة في الصفحة ===== */

/* حركة دخول خفيفة */
@keyframes about-slide-up{ from{opacity:0; transform: translateY(8px);} to{opacity:1; transform:translateY(0);} }
@keyframes about-pop-in{ from{opacity:0; transform: scale(.98);} to{opacity:1; transform:scale(1);} }
.slide-up{ animation: about-slide-up .28s ease-out both; }
.pop-in{ animation: about-pop-in .28s ease-out both; }

/* قائمة أهداف بعلامة صح بسيطة (تُستخدم في قسم الأهداف) */
.check-list{
  list-style: none; padding: 0; margin: .6rem 0 0;
  display: grid; gap: 8px;
}
.check-list li{
  position: relative; padding-inline-start: 26px;
}
[dir="rtl"] .check-list li{ padding-inline-start: 0; padding-inline-end: 26px; }
.check-list li::before{
  content: "✓";
  position: absolute; inset-inline-start: 0; top: .1rem;
  width: 18px; text-align: center; font-weight: 900;
  color: hsl(var(--brand-copper));
}
[dir="rtl"] .check-list li::before{ inset-inline-start: auto; inset-inline-end: 0; }

/* شريط إحصاءات بسيط (مستخدم في band-primary داخل الصفحة) */
.stats-strip{
  display: grid; gap: 10px;
  grid-template-columns: repeat(3, minmax(0,1fr));
}
@media (max-width: 640px){
  .stats-strip{ grid-template-columns: 1fr; }
}
.stat{
  text-align: center; background: hsl(var(--surface));
  border: 1px solid hsl(var(--border));
  border-radius: var(--r-card, 14px);
  padding: 12px; box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,.28));
  transition: transform .18s ease, box-shadow .18s ease;
}
.stat .stat-value{
  font-weight: 900; font-size: clamp(1.1rem, .9rem + 1.1vw, 1.6rem);
}
.stat .stat-label{
  color: hsl(var(--muted-fg)); font-size: .95rem;
}

/* احترام تفضيل تقليل الحركة */
@media (prefers-reduced-motion: reduce){
  .slide-up, .pop-in, .about-hero__actions .btn{ animation: none !important; transition: none !important; }
}

