/* ═══════════════════════════════════════════════════════════════
   landing.css — الصفحة الرئيسية العامة.

   المبدأ: minimal — بياض واسع، إيقاع رأسي ثابت، ظلال خافتة،
   ولون واحد (بنفسجي العلامة) يُستعمل باقتصاد شديد.
   كل سكشن هنا يقابل نوعاً في LandingSection.
   ═══════════════════════════════════════════════════════════════ */

.ld-section { padding: clamp(56px, 9vw, 104px) 0; }
.ld-section.alt { background: #faf8fd; }

.ld-heading {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  text-align: center;
  color: var(--on-surface);
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.ld-sub {
  text-align: center;
  color: var(--on-surface-variant);
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto clamp(32px, 5vw, 56px);
  line-height: 1.8;
}

/* ── الواجهة الرئيسية ─────────────────────────────────────────── */
.ld-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 12vw, 150px) 0 clamp(64px, 10vw, 120px);
  text-align: center;
}
.ld-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-fixed);
  border: 1px solid rgba(125, 93, 161, .18);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.ld-hero h1 {
  font-size: clamp(32px, 6vw, 58px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
  max-width: 780px;
  margin: 0 auto 18px;
}
.ld-hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--on-surface-variant);
  line-height: 1.9;
  max-width: 560px;
  margin: 0 auto 34px;
}
.ld-hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.ld-hero-img {
  max-width: min(760px, 92%);
  margin: 44px auto 0;
  border-radius: 22px;
  box-shadow: 0 24px 70px -30px rgba(100, 69, 135, .35);
  display: block;
}
.ld-pills { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.ld-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: var(--on-surface-variant);
}
.ld-pill svg { color: var(--success); flex-shrink: 0; }

/* ── شريط الأرقام ─────────────────────────────────────────────── */
.ld-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.ld-stat strong {
  display: block;
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 800;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.ld-stat span { font-size: 14px; color: var(--on-surface-variant); }

/* ── الخطوات ──────────────────────────────────────────────────── */
.ld-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}
.ld-step {
  background: var(--surface, #fff);
  border: 1px solid rgba(100, 69, 135, .1);
  border-radius: 18px;
  padding: 26px 22px;
  transition: transform .2s, box-shadow .2s;
}
.ld-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -22px rgba(100, 69, 135, .3);
}
.ld-step-num {
  width: 34px; height: 34px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: var(--primary-fixed);
  color: var(--primary);
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 14px;
}
.ld-step h3 { font-size: 16.5px; font-weight: 700; margin: 0 0 6px; }
.ld-step p { font-size: 14px; color: var(--on-surface-variant); line-height: 1.75; margin: 0; }

/* ── التخصصات ─────────────────────────────────────────────────── */
.ld-cats { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.ld-cat {
  flex: 1 1 150px;
  max-width: 190px;
  text-align: center;
  background: var(--surface, #fff);
  border: 1px solid rgba(100, 69, 135, .1);
  border-radius: 18px;
  padding: 24px 14px 20px;
  text-decoration: none;
  color: inherit;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.ld-cat:hover {
  transform: translateY(-4px);
  border-color: rgba(100, 69, 135, .3);
  box-shadow: 0 16px 40px -22px rgba(100, 69, 135, .3);
}
.ld-cat-dot {
  width: 44px; height: 44px;
  border-radius: 14px;
  margin: 0 auto 12px;
  display: grid; place-items: center;
}
.ld-cat b { display: block; font-size: 15.5px; margin-bottom: 3px; }
.ld-cat small { color: var(--on-surface-variant); font-size: 12.5px; }

/* ── معرض الصور ───────────────────────────────────────────────── */
.ld-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.ld-shot {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--primary-fixed);
}
.ld-shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
  display: block;
}
.ld-shot:hover img { transform: scale(1.045); }
.ld-shot figcaption {
  position: absolute;
  inset-inline: 0; bottom: 0;
  padding: 26px 14px 12px;
  font-size: 13px;
  color: #fff;
  background: linear-gradient(transparent, rgba(30, 18, 44, .72));
}

/* ── الأخبار ──────────────────────────────────────────────────── */
.ld-news {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 16px;
}
.ld-news-card {
  background: var(--surface, #fff);
  border: 1px solid rgba(100, 69, 135, .1);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.ld-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -22px rgba(100, 69, 135, .3);
}
.ld-news-card img { width: 100%; aspect-ratio: 16 / 8.5; object-fit: cover; display: block; }
.ld-news-body { padding: 18px 18px 20px; }
.ld-news-date {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-fixed);
  border-radius: 999px;
  padding: 3px 11px;
  margin-bottom: 10px;
}
.ld-news-body h3 { font-size: 16px; font-weight: 700; margin: 0 0 6px; line-height: 1.6; }
.ld-news-body p { font-size: 13.5px; color: var(--on-surface-variant); line-height: 1.8; margin: 0; }

/* ── الاقتباسات ───────────────────────────────────────────────── */
.ld-quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.ld-quote {
  background: var(--surface, #fff);
  border: 1px solid rgba(100, 69, 135, .1);
  border-radius: 18px;
  padding: 28px 24px 22px;
  position: relative;
}
.ld-quote::before {
  content: '”';
  position: absolute;
  top: 2px; inset-inline-start: 18px;
  font-size: 64px;
  line-height: 1;
  color: var(--primary);
  opacity: .16;
  font-family: Georgia, serif;
}
.ld-quote p { font-size: 15px; line-height: 1.9; margin: 0 0 14px; position: relative; }
.ld-quote footer { font-size: 12.5px; font-weight: 600; color: var(--primary); }

/* ── الأسئلة الشائعة ──────────────────────────────────────────── */
.ld-faq { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.ld-faq details {
  background: var(--surface, #fff);
  border: 1px solid rgba(100, 69, 135, .1);
  border-radius: 14px;
  padding: 0 20px;
  transition: border-color .2s;
}
.ld-faq details[open] { border-color: rgba(100, 69, 135, .3); }
.ld-faq summary {
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 700;
  padding: 17px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ld-faq summary::-webkit-details-marker { display: none; }
.ld-faq summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: var(--primary);
  transition: transform .2s;
  flex-shrink: 0;
}
.ld-faq details[open] summary::after { transform: rotate(45deg); }
.ld-faq details p {
  margin: 0;
  padding: 0 0 17px;
  font-size: 14px;
  color: var(--on-surface-variant);
  line-height: 1.85;
}

/* ── الخصوصية ─────────────────────────────────────────────────── */
.ld-trust {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(160deg, #f6f1fb, #fdf9ff);
  border: 1px solid rgba(100, 69, 135, .12);
  border-radius: 26px;
  padding: clamp(36px, 6vw, 60px) clamp(20px, 5vw, 56px);
}
.ld-trust-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-top: 36px;
  text-align: start;
}
.ld-trust-feature { display: flex; gap: 12px; align-items: flex-start; }
.ld-trust-feature .dot {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 13px;
  background: #fff;
  border: 1px solid rgba(100, 69, 135, .14);
  display: grid; place-items: center;
  color: var(--primary);
}
.ld-trust-feature b { display: block; font-size: 14.5px; margin-bottom: 2px; }
.ld-trust-feature small { color: var(--on-surface-variant); font-size: 12.5px; line-height: 1.7; }

/* ── الدعوة الأخيرة ───────────────────────────────────────────── */
.ld-cta {
  text-align: center;
  background: linear-gradient(150deg, var(--primary), #7d5da1 55%, #9b7bbf);
  color: #fff;
  border-radius: 26px;
  padding: clamp(40px, 7vw, 68px) 24px;
  max-width: 880px;
  margin: 0 auto;
}
.ld-cta h2 { font-size: clamp(24px, 4vw, 34px); font-weight: 800; margin: 0 0 10px; }
.ld-cta p { opacity: .85; max-width: 420px; margin: 0 auto 26px; line-height: 1.85; font-size: 15px; }
.ld-cta .btn {
  background: #fff;
  color: var(--primary);
  border: none;
  font-weight: 700;
}

/* ── السكشن الحر ──────────────────────────────────────────────── */
.ld-custom {
  max-width: 720px;
  margin: 0 auto;
  font-size: 15.5px;
  line-height: 2;
  color: var(--on-surface);
  white-space: pre-wrap;
}
