/* ── Hero ── */
.cd-hero {
  background: linear-gradient(135deg, #0d1b2a 0%, #1a2d45 100%);
  padding: 50px 0 40px;
  position: relative;
  overflow: hidden;
}
.cd-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(108,78,203,.35);
  color: #c4b5fd;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  border: 1px solid rgba(196,181,253,.2);
}
.cd-hero-title { color: #fff; font-size: 30px; font-weight: 800; line-height: 1.25; margin-bottom: 10px; }
.cd-hero-meta { display: flex; flex-wrap: wrap; gap: 18px; color: rgba(255,255,255,.7); font-size: 13px; }
.cd-hero-meta span { display: flex; align-items: center; gap: 6px; }
.cd-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; flex-wrap: wrap; margin-bottom: 16px; }
.cd-breadcrumb a { color: rgba(255,255,255,.6); text-decoration: none; transition: color .15s; }
.cd-breadcrumb a:hover { color: #fff; }
.cd-breadcrumb-sep { color: rgba(255,255,255,.3); font-size: 10px; }
.cd-breadcrumb-current { color: rgba(255,255,255,.9); font-weight: 600; }

/* ── Main ── */
.cd-main { padding: 50px 0 80px; }
.cd-player-wrap {
  border-radius: 16px;
  overflow: hidden;
  background: #0d1b2a;
  aspect-ratio: 16/9;
  position: relative;
  margin-bottom: 24px;
}
.cd-player-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.cd-player-locked {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: rgba(255,255,255,.8); gap: 10px; text-align: center; padding: 20px;
}
.cd-player-locked i { font-size: 36px; opacity: .6; }

.cd-section-title { font-size: 19px; font-weight: 800; color: #1a1a2e; margin-bottom: 14px; }
.cd-description { font-size: 14px; color: #4b5563; line-height: 1.8; margin-bottom: 36px; }

/* ── Curriculum ── */
.cd-lesson {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border: 1px solid #e8edf2;
  border-radius: 12px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  background: #fff;
}
.cd-lesson:hover { border-color: #6c4ecb; background: #fafaff; }
.cd-lesson.locked { cursor: not-allowed; opacity: .7; }
.cd-lesson.active { border-color: #0e6494; background: #e8f4fd; }
.cd-lesson-icon {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; flex-shrink: 0;
  background: #f0ecfd; color: #6c4ecb;
}
.cd-lesson.locked .cd-lesson-icon { background: #f3f4f6; color: #9ca3af; }
.cd-lesson-info { flex: 1; min-width: 0; }
.cd-lesson-title { font-size: 14px; font-weight: 600; color: #1a1a2e; }
.cd-lesson-badge {
  font-size: 10px; font-weight: 700; color: #16a34a; background: #dcfce7;
  padding: 2px 8px; border-radius: 20px; margin-left: 8px; text-transform: uppercase;
}
.cd-lesson-duration { font-size: 12px; color: #9ca3af; flex-shrink: 0; }

/* ── Purchase card ── */
.cd-buy-card {
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 16px;
  overflow: hidden;
  position: sticky;
  top: 100px;
}
.cd-buy-thumb { width: 100%; height: 170px; object-fit: cover; display: block; background: #f4f6f8; }
.cd-buy-thumb-placeholder {
  width: 100%; height: 170px;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d1b69 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); font-size: 44px;
}
.cd-buy-body { padding: 22px; }
.cd-buy-price { font-size: 32px; font-weight: 800; color: #0e6494; font-family: 'Lexend', monospace; line-height: 1; margin-bottom: 18px; }
.cd-buy-meta-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #f0f0f0; font-size: 13px; color: #4b5563; }
.cd-buy-meta-row:last-of-type { border-bottom: none; }
.cd-buy-meta-row i { color: #6c4ecb; margin-right: 6px; }
.btn-buy-course {
  width: 100%; padding: 14px;
  background: linear-gradient(135deg,#1a1a2e,#2d1b69);
  color: #fff; border: none; border-radius: 10px;
  font-size: 15px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 18px; text-decoration: none;
  transition: opacity .2s;
}
.btn-buy-course:hover { opacity: .9; color: #fff; }
.cd-enrolled-badge {
  width: 100%; padding: 12px; margin-top: 18px;
  background: #dcfce7; color: #16a34a; border-radius: 10px;
  font-size: 14px; font-weight: 700; text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
