/* start.css — صفحة ابدأ التعلّم
   تنسيق هيرو بنمط الشبكة + موجة، تحسينات ريسبونسف، تلميع للنموذج وFAQ.
   Scoped عبر بادئة .st-* لتجنب التعارض.
*/

/* ===== HERO ===== */
.st-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)));
}
.st-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;
}
.st-wave{
  position: absolute; inset-inline: 0; bottom: -1px;
  width: 100%; height: 80px; z-index: 0; pointer-events: none;
}
.st-wave path{
  fill: hsl(var(--surface));
  stroke: hsl(var(--border));
  opacity: .55;
}

.st-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);
}
.st-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);
}
.st-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);
}
.st-hero__desc{
  color: hsl(var(--muted-fg));
  font-size: clamp(1rem, .9rem + .5vw, 1.125rem);
  margin-inline: auto; max-width: 70ch;
}
.st-hero__actions{ justify-content: center; gap: .6rem; flex-wrap: wrap; }
.st-hero__actions .btn{
  transition: transform .08s ease, filter .15s ease;
  will-change: transform, filter;
}
.st-hero__actions .btn:hover{
  transform: translateY(-1px); filter: saturate(1.02);
}
@media (max-width: 420px){
  .st-hero__actions .btn{ inline-size: 100%; }
}

/* ===== GRID: النموذج + الجانب ===== */
.st-form-grid{
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 768px){
  .st-form-grid{
    grid-template-columns: minmax(0,1fr) .75fr;
  }
}

/* تلألؤ بسيط أعلى كرت النموذج */
.form-shine{
  position: absolute; inset-inline: 0; top: -1px; height: 9px;
  background:
    radial-gradient(60% 100% at 50% 0%, hsl(var(--brand-copper) / .25), transparent 70%) ,
    linear-gradient(90deg, transparent, hsl(var(--brand-stone) / .15), transparent);
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  pointer-events: none;
}

/* Dot صغيرة للـ band المساعدة */
.st-dot{
  inline-size: 10px; block-size: 10px; border-radius: 999px; flex: none;
  background: conic-gradient(from 180deg at 50% 50%, hsl(var(--brand-copper)), hsl(var(--brand-stone)));
  box-shadow: 0 0 0 2px hsl(var(--surface)), 0 0 0 3px hsl(var(--border));
  margin-top: .35rem;
}

/* ===== FAQ ===== */
.faq{
  display: grid; gap: .75rem;
}
.faq-item{
  border: 1px solid hsl(var(--border));
  background: hsl(var(--surface-2));
  border-radius: 14px;
  overflow: clip;
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 8px 20px rgba(0,0,0,.06);
}
.faq-item > summary{
  list-style: none;
  cursor: pointer;
  padding: .9rem 1rem;
  display: flex; align-items: center; gap: .5rem;
  font-weight: 700;
}
.faq-item > summary::-webkit-details-marker{ display: none; }
.faq-chevron{
  display: inline-grid; place-items: center;
  font-size: 1.25rem; line-height: 1;
  transform: rotate(90deg);
  transition: transform .18s ease;
  margin-inline-start: .1rem;
  color: hsl(var(--muted-fg));
}
.faq-item[open] .faq-chevron{ transform: rotate(-90deg); color: hsl(var(--fg)); }
.faq-answer{
  padding: 0 1rem 1rem;
  color: hsl(var(--muted-fg));
  border-top: 1px dashed hsl(var(--border));
}

/* حركة خفيفة محترمة لتفضيل تقليل الحركة */
@media (prefers-reduced-motion: reduce){
  .st-hero__actions .btn{ transition: none !important; }
  .faq-chevron{ transition: none !important; }
}

