/* ==========================================================
   Course Landing Page CSS
   يعتمد بالكامل على متغيرات الثيم الأصلية:
   --black --white --gold --royal --muted --card-bg --border --section-gap
   ========================================================== */

.course-wrap { padding-top: 140px; padding-bottom: 0; }
.course-section { padding: 70px 24px; max-width: 1100px; margin: 0 auto; }
.course-section + .course-section { border-top: 1px solid var(--border); }

/* ---------- Hero ---------- */
.course-hero { text-align: center; padding: 60px 24px 50px; max-width: 900px; margin: 0 auto; }
.course-hero h1 {
  font-family: Tajawal, sans-serif;
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -1px;
  color: var(--white);
  margin-bottom: 20px;
}
.course-hero .course-subtitle {
  font-size: 18px;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.8;
}
.course-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: #07080f;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.course-cta-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(201,162,39,.35); }

/* ---------- شريط الثقة ---------- */
.course-trust-bar {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.course-trust-item { display: flex; flex-direction: column; align-items: center; }
.course-trust-value { font-size: 30px; font-weight: 900; color: var(--gold); line-height: 1; font-family: Tajawal, sans-serif; }
.course-trust-label { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ---------- آراء العملاء ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
}
.testimonial-stars { color: var(--gold); font-size: 16px; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-text { color: var(--white); font-size: 15px; line-height: 1.8; margin-bottom: 18px; }
.testimonial-name { font-weight: 800; color: var(--white); font-size: 14px; }
.testimonial-role { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ---------- لقطات النتائج ---------- */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.proof-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin: 0;
}
.proof-item img { width: 100%; height: auto; display: block; }
.proof-item figcaption { padding: 12px 16px; font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- عناوين الأقسام ---------- */
.course-section-title {
  font-family: Tajawal, sans-serif;
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 24px;
  text-align: center;
}

/* ---------- المشكلة ---------- */
.course-pain-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-right: 4px solid var(--gold);
  border-radius: 16px;
  padding: 32px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
  max-width: 820px;
  margin: 0 auto;
}
.course-pain-box p { margin-bottom: 14px; }
.course-pain-box p:last-child { margin-bottom: 0; }

/* ---------- الفوائد وقائمة الجمهور ---------- */
.course-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}
.course-list-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  color: var(--white);
  font-size: 15px;
  line-height: 1.8;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.course-list-item::before {
  content: "✓";
  color: var(--gold);
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}

/* ---------- المنهج (Accordion بدون جافاسكريبت) ---------- */
.curriculum-module {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 14px;
  overflow: hidden;
}
.curriculum-module summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-weight: 800;
  font-size: 17px;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.curriculum-module summary::-webkit-details-marker { display: none; }
.curriculum-module summary::after {
  content: "+";
  color: var(--gold);
  font-size: 24px;
  font-weight: 900;
  transition: transform .2s;
  flex-shrink: 0;
}
.curriculum-module[open] summary::after { transform: rotate(45deg); }
.curriculum-lectures { list-style: none; padding: 0 24px 22px; margin: 0; }
.curriculum-lectures li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  padding: 10px 0;
  border-top: 1px solid var(--border);
}
.curriculum-lectures li:first-child { border-top: none; }

/* ---------- المحاضر ---------- */
.instructor-card {
  display: flex;
  gap: 28px;
  align-items: center;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  max-width: 780px;
  margin: 0 auto;
}
.instructor-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  object-fit: cover;
  flex-shrink: 0;
}
.instructor-photo-placeholder {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  background: linear-gradient(135deg,#12152a 0,#1a1f3a 100%);
  flex-shrink: 0;
}
.instructor-name { font-size: 20px; font-weight: 800; color: var(--white); margin-bottom: 4px; }
.instructor-title { font-size: 14px; color: var(--gold); font-weight: 700; margin-bottom: 12px; }
.instructor-bio { font-size: 15px; color: var(--muted); line-height: 1.8; }

/* ---------- الأسعار ---------- */
.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--gold);
  border-radius: 20px;
  padding: 40px;
  max-width: 460px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.pricing-urgency {
  display: inline-block;
  background: rgba(201,162,39,.12);
  color: var(--gold);
  border: 1px solid rgba(201,162,39,.4);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
}
.pricing-old {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 18px;
  display: block;
  margin-bottom: 4px;
}
.pricing-current {
  font-size: 44px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 24px;
}
.pricing-features { list-style: none; padding: 0; margin: 0 0 28px; text-align: right; }
.pricing-features li {
  color: var(--white);
  font-size: 15px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
}
.pricing-features li:first-child { border-top: none; }
.pricing-features li::before { content: "✓"; color: var(--gold); font-weight: 900; }
.pricing-guarantee { font-size: 13px; color: var(--muted); margin-top: 18px; }

/* ---------- الأسئلة الشائعة ---------- */
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--gold);
  font-size: 22px;
  font-weight: 900;
  flex-shrink: 0;
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 22px 20px; color: var(--muted); font-size: 15px; line-height: 1.8; margin: 0; }

/* ---------- التواصل النهائي ---------- */
.course-contact-band {
  text-align: center;
  padding: 70px 24px 90px;
}
.course-contact-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.contact-btn.whatsapp { background: #25D366; color: #07080f; }
.contact-btn.email { background: transparent; color: var(--white); border: 1px solid var(--border); }
.contact-btn:hover { transform: translateY(-3px); }

@media (max-width: 700px) {
  .instructor-card { flex-direction: column; text-align: center; }
  .pricing-features { text-align: center; }
  .pricing-features li { justify-content: center; }
}