
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   EGITIMLER DETAIL PAGE (Show)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€ Detail Hero â”€â”€ */
.eg-detail-hero {
  position: relative;
  padding: 120px 0 56px;
  background: #FAFAF8;
  overflow: hidden;
}
.eg-detail-hero .eg-hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.eg-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #9333EA;
  text-decoration: none;
  margin-bottom: 20px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(147, 51, 234, 0.15);
  background: rgba(147, 51, 234, 0.04);
  transition: all 0.25s ease;
}
.eg-back i { font-size: 16px; transition: transform 0.2s ease; }
.eg-back:hover { background: rgba(147, 51, 234, 0.1); border-color: rgba(147, 51, 234, 0.3); color: #7928CA; }
.eg-back:hover i { transform: translateX(-3px); }

.eg-detail-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
  position: relative;
  z-index: 1;
}
@media(max-width:900px) { .eg-detail-grid { grid-template-columns: 1fr; gap: 28px; } }

/* â”€â”€ Detail Info Column â”€â”€ */
.eg-detail-info {
  display: flex;
  flex-direction: column;
}

.eg-detail-title {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.15;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}
@media(min-width:768px) { .eg-detail-title { font-size: 46px; } }

.eg-detail-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: rgba(90, 74, 106, 0.75);
  line-height: 1.7;
  margin: 0 0 22px;
  max-width: 580px;
}

.eg-detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* â”€â”€ Price Card â”€â”€ */
.eg-price-wrap {
  position: sticky;
  top: 100px;
}
.eg-price-card {
  border-radius: 24px;
  padding: 3px;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.2), rgba(212, 175, 55, 0.2));
}
.eg-price-inner {
  background: white;
  border-radius: 22px;
  padding: 32px 28px;
}

.eg-price-amount {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 6px;
  line-height: 1;
}
.eg-price-amount--free { color: #0D9488; }

.eg-price-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 20px;
  display: block;
}

.eg-price-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #9333EA, #7928CA);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.eg-price-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #D4AF37, #B8941F);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.eg-price-btn:hover::before { opacity: 1; }
.eg-price-btn span,
.eg-price-btn i { position: relative; z-index: 1; }
.eg-price-btn:hover {
  box-shadow: 0 8px 24px rgba(147, 51, 234, 0.3);
  transform: translateY(-1px);
}

.eg-price-note {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: #9ca3af;
  margin: 14px 0 0;
  line-height: 1.6;
  text-align: center;
}

/* Price card features */
.eg-price-features {
  margin: 20px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.eg-price-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
}
.eg-price-feature i {
  font-size: 14px;
  color: #0D9488;
}

/* â”€â”€ Tabs Section â”€â”€ */
.eg-detail-content {
  padding: 0 0 80px;
  background: #FAFAF8;
}

.eg-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 28px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.06);
}
.eg-tab {
  padding: 14px 24px;
  border: none;
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #9ca3af;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}
.eg-tab i { font-size: 16px; }
.eg-tab:hover { color: #6b7280; }
.eg-tab.active { color: #1f2937; border-bottom-color: #9333EA; }

.eg-tab-panel { display: none; }
.eg-tab-panel.active { display: block; }

/* â”€â”€ Accordion â”€â”€ */
.eg-accordion {
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: white;
  margin-bottom: 10px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.eg-accordion:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.eg-acc-head {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 20px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease;
}
.eg-acc-head:hover { background: rgba(147, 51, 234, 0.02); }

.eg-acc-toggle {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(147, 51, 234, 0.06);
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.eg-acc-toggle i {
  font-size: 14px;
  color: #9333EA;
  transition: transform 0.3s ease;
}
.eg-acc-head.open .eg-acc-toggle {
  background: rgba(147, 51, 234, 0.12);
}
.eg-acc-head.open .eg-acc-toggle i {
  transform: rotate(180deg);
}

.eg-acc-title {
  flex: 1;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #1f2937;
}
.eg-acc-meta {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: #9ca3af;
  font-weight: 600;
  white-space: nowrap;
}

.eg-acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.eg-acc-body.open {
  max-height: 2000px;
}

/* â”€â”€ Lesson Row â”€â”€ */
.eg-lesson {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px 12px 60px;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  font-family: 'DM Sans', sans-serif;
  transition: background 0.15s ease;
}
.eg-lesson:hover { background: rgba(147, 51, 234, 0.015); }

.eg-lesson-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  flex-shrink: 0;
}
.eg-lesson-icon--preview {
  background: rgba(13, 148, 136, 0.08);
  color: #0D9488;
}
.eg-lesson-icon--locked {
  background: rgba(0, 0, 0, 0.04);
  color: #d1d5db;
}
.eg-lesson-icon i { font-size: 14px; }

.eg-lesson-title {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}
.eg-lesson--preview .eg-lesson-title { color: #0D9488; }

.eg-lesson-dur {
  font-size: 12px;
  color: #9ca3af;
  font-weight: 600;
  white-space: nowrap;
}

.eg-lesson-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.eg-lesson-badge--free {
  background: rgba(13, 148, 136, 0.08);
  color: #0D9488;
  border: 1px solid rgba(13, 148, 136, 0.15);
}

/* â”€â”€ Description Tab â”€â”€ */
.eg-description {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.9;
  color: #374151;
  max-width: 720px;
}
.eg-description p {
  margin: 0 0 16px;
}
.eg-rich-text h2, .eg-rich-text h3, .eg-rich-text h4 {
  margin: 18px 0 10px;
  color: #0f172a;
  font-weight: 700;
  line-height: 1.35;
}
.eg-rich-text h2 { font-size: 22px; }
.eg-rich-text h3 { font-size: 18px; }
.eg-rich-text h4 { font-size: 16px; }
.eg-rich-text strong, .eg-rich-text b { font-weight: 700; color: #0f172a; }
.eg-rich-text ul, .eg-rich-text ol { margin: 0 0 12px; padding-left: 1.35em; }
.eg-rich-text li { margin: 4px 0; }
.eg-rich-text a { color: #b8941f; text-decoration: underline; }
.eg-rich-text hr { border: 0; border-top: 1px solid #e2e8f0; margin: 16px 0; }

/* Detail Empty State */
.eg-detail-empty {
  text-align: center;
  padding: 48px 20px;
  color: #9ca3af;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-style: italic;
}

/* â”€â”€ Detail CTA â”€â”€ */
.eg-detail-cta {
  padding: 0 0 80px;
  background: #FAFAF8;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   DETAIL PAGE RESPONSIVE
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@media(max-width:900px) {
  .eg-detail-hero { padding: 100px 0 40px; }
  .eg-price-wrap { position: static; }
}
@media(max-width:768px) {
  .eg-detail-title { font-size: 30px; }
  .eg-detail-sub { font-size: 14px; }
  .eg-price-inner { padding: 24px 20px; }
  .eg-price-amount { font-size: 28px; }
  .eg-tab { padding: 12px 16px; font-size: 13px; }
  .eg-lesson { padding-left: 40px; }
}
