/* apply.css — صفحة كيفية التسجيل
   تحسين الهيرو (بدون badge داخل العنوان)، زخرفة شبكة + موجة،
   تحسنيات ريسبونسف خفيفة، وتخصيصات للستِبر/الأكورديون. */

/* ===== HERO بخلفية ممتدة وزخارف ===== */
.ap-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)));
}
.ap-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;
}
.ap-wave{
  position: absolute; inset-inline: 0; bottom: -1px;
  width: 100%; height: 80px; z-index: 0; pointer-events: none;
}
.ap-wave path{
  fill: hsl(var(--surface));
  stroke: hsl(var(--border));
  opacity: .55;
}

/* محتوى الهيرو */
.ap-hero__inner{
  position: relative; z-index: 1;
  display: grid; gap: .8rem; text-align: center;
  padding-top: clamp(22px, 3.8vw, 40px);
  padding-bottom: clamp(22px, 3.8vw, 40px);
}
.ap-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);
}
.ap-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);
}
.ap-hero__desc{
  color: hsl(var(--muted-fg));
  font-size: clamp(1rem, .9rem + .5vw, 1.125rem);
  margin-inline: auto; max-width: 70ch;
}
.ap-hero__actions{ justify-content: center; gap: .6rem; flex-wrap: wrap; }
.ap-hero__actions .btn{
  transition: transform .08s ease, filter .15s ease;
  will-change: transform, filter;
}
.ap-hero__actions .btn:hover{
  transform: translateY(-1px); filter: saturate(1.02);
}
@media (max-width: 420px){
  .ap-hero__actions .btn{ inline-size: 100%; }
}

/* ===== Stepper تخصيص خفيف للصفحة ===== */
.ap-stepper .step-index{
  background: hsl(var(--muted-bg));
  border: 1px solid hsl(var(--border));
  color: hsl(var(--brand-stone));
}
.ap-stepper .step-title{ font-weight: 800; }
.ap-stepper .step-desc{ color: hsl(var(--muted-fg)); }

/* ===== بطاقات المتطلبات: أيقونة زخرفية صغيرة ===== */
.ap-ico{
  inline-size: 18px; block-size: 18px;
  border-radius: 6px;
  background: linear-gradient(180deg, hsl(var(--brand-copper) / .18), hsl(var(--brand-stone) / .18));
  border: 1px solid hsl(var(--border));
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 6px 16px rgba(0,0,0,.06);
}

/* ===== FAQ / Accordion ===== */
.ap-acc{ overflow: clip; border-radius: var(--radius-xl, 16px); }
.ap-acc__sum{
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  cursor: pointer; -webkit-user-select: none; -moz-user-select: none; user-select: none;
}
.ap-acc__chev{
  transition: transform .18s ease;
}
.ap-acc[open] .ap-acc__chev{
  transform: rotate(180deg);
}
.ap-acc[open]{
  outline: 2px solid hsl(var(--brand-copper) / .18);
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 8px 24px rgba(0,0,0,.06);
}

/* احترام تفضيل تقليل الحركة */
@media (prefers-reduced-motion: reduce){
  .ap-hero__actions .btn, .ap-acc__chev{ transition: none !important; }
}

