/* ====================================================================
   Course Detail Page — Premium Redesign (v1)
   ==================================================================== */

/* ─── HERO ─────────────────────────────────────────────────────────── */
.course-hero {
  position: relative;
  background:
    radial-gradient(circle at 80% 0%, rgba(168, 85, 247, 0.09) 0%, transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(114, 67, 242, 0.11) 0%, transparent 55%),
    linear-gradient(135deg, #1d1729 0%, #241a38 50%, #1d1729 100%);
  color: #fff;
  /* top padding includes the fixed-header height so the hero extends UNDER the
     header (otherwise the dark header's white text sits on the white gap above
     the hero and becomes invisible). */
  padding: 168px 0 64px;
  overflow: hidden;
  margin-top: 0;
}
.course-hero::before {
  /* Subtle grid pattern overlay */
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.course-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 64px;
  background: linear-gradient(180deg, transparent 0%, #fff 100%);
  pointer-events: none;
}

.course-hero__container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.course-hero__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.55);
}
.course-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.15s;
}
.course-hero__breadcrumb a:hover { color: #fff; }
.course-hero__breadcrumb span.sep { opacity: 0.4; }

.course-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.course-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.course-hero__badge--level {
  background: linear-gradient(135deg, #34d399, #10b981);
  color: #064e3b;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}
.course-hero__badge--live {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}
.course-hero__badge--live::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.2);
  animation: pulse-live 1.5s ease-in-out infinite;
}
@keyframes pulse-live {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(1.15); }
}

.course-hero__title {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  max-width: 800px;
  color: #fff;
}
.course-hero__title .accent {
  background: linear-gradient(135deg, #c084fc, #e9d5ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.course-hero__desc {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  max-width: 720px;
  margin: 0 0 36px;
}

.course-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 36px;
}
.course-hero__meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}
.course-hero__meta-item svg {
  flex-shrink: 0;
  width: 18px; height: 18px;
  color: #c4b5fd;
}
.course-hero__meta-item strong {
  color: #fff;
  font-weight: 700;
}

.course-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.course-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.course-hero__cta--primary {
  background: linear-gradient(135deg, #fff, #f3e8ff);
  color: #4c1d95;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.course-hero__cta--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.course-hero__cta--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}
.course-hero__cta--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* ─── CONTENT LAYOUT ─────────────────────────────────────────────── */
.course-page__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 80px;
  align-items: start;
}
@media (max-width: 980px) {
  .course-page__layout {
    grid-template-columns: 1fr;
    padding: 48px 20px;
    gap: 28px;
  }
}

.course-page__main {
  min-width: 0;
}

/* ─── PREVIEW VIDEO / PLACEHOLDER ─────────────────────────────────── */
.course-preview {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #1d1729 0%, #2a1f47 100%);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  margin-bottom: 36px;
}
.course-preview iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.course-preview__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Promo video preview — soft purple glow ring */
.course-preview--promo {
  box-shadow:
    0 18px 50px rgba(114, 67, 242, 0.28),
    0 0 0 1px rgba(114, 67, 242, 0.18);
}
.course-preview--promo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.12);
}
.course-preview__soon {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 24px;
}
.course-preview__soon::before {
  /* Animated background spots */
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(168, 85, 247, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(114, 67, 242, 0.3) 0%, transparent 50%);
  animation: preview-glow 8s ease-in-out infinite;
}
@keyframes preview-glow {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 1; }
}
.course-preview__soon-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  border: 2px solid rgba(255, 255, 255, 0.15);
}
.course-preview__soon-icon svg {
  width: 32px;
  height: 32px;
  color: #c084fc;
  margin-left: 4px;
}
.course-preview__soon-text {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.course-preview__soon-title {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}

/* ─── SECTION HEADINGS ────────────────────────────────────────────── */
.course-section {
  margin-bottom: 44px;
}
.course-section__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.course-section__head-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #7243f2, #a855f7);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(114, 67, 242, 0.25);
}
.course-section__head-icon svg {
  color: #fff;
  width: 18px; height: 18px;
}
.course-section__title {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 22px;
  font-weight: 700;
  color: #1d1729;
  margin: 0;
  letter-spacing: -0.01em;
}

/* ─── WHAT YOU'LL LEARN ───────────────────────────────────────────── */
.course-learn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.course-learn-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
  border-radius: 12px;
  border: 1px solid rgba(168, 85, 247, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.course-learn-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(114, 67, 242, 0.10);
}
.course-learn-item__check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7243f2, #a855f7);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  box-shadow: 0 2px 8px rgba(114, 67, 242, 0.3);
}
.course-learn-item__check svg {
  width: 14px; height: 14px;
  color: #fff;
}
.course-learn-item__text {
  color: #1d1729;
  font-size: 14.5px;
  line-height: 1.5;
  font-weight: 500;
}

/* ─── SESSIONS / LIVE SCHEDULE ────────────────────────────────────── */
.course-sessions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.course-session {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.course-session:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(114, 67, 242, 0.08);
  border-color: rgba(114, 67, 242, 0.35);
}
.course-session--live {
  border-color: #ef4444;
  background: linear-gradient(135deg, #fef2f2 0%, #fff 60%);
}
.course-session--past { opacity: 0.7; }
.course-session__date {
  text-align: center;
  padding: 8px 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #faf5ff, #f3e8ff);
  border: 1px solid rgba(168, 85, 247, 0.18);
}
.course-session__date-day {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: #7243f2;
  line-height: 1;
  letter-spacing: -0.02em;
}
.course-session__date-month {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #6b21a8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}
.course-session__body {
  min-width: 0;
}
.course-session__title {
  font-size: 16px;
  font-weight: 700;
  color: #1d1729;
  margin: 0 0 6px;
  line-height: 1.3;
}
.course-session__time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
}
.course-session__time svg {
  width: 14px; height: 14px;
  color: #9ca3af;
}
.course-session__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.course-session__status--upcoming {
  background: #f3e8ff;
  color: #6b21a8;
}
.course-session__status--live {
  background: #fef2f2;
  color: #b91c1c;
}
.course-session__status--past {
  background: #f3f4f6;
  color: #6b7280;
}

/* ─── PROGRAM TIMELINE ────────────────────────────────────────────── */
.course-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.course-timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: stretch;
}
/* connector line between nodes */
.course-timeline__rail {
  position: relative;
  display: flex;
  justify-content: center;
}
.course-timeline__rail::before {
  content: '';
  position: absolute;
  top: 44px;
  bottom: -18px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(114, 67, 242, 0.45), rgba(114, 67, 242, 0.12));
}
.course-timeline__item:last-child .course-timeline__rail::before { display: none; }
.course-timeline__node {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #7243f2, #a855f7);
  box-shadow: 0 6px 16px rgba(114, 67, 242, 0.35);
  border: 3px solid #fff;
}
.course-timeline__node svg { width: 18px; height: 18px; }
.course-timeline__item.is-past .course-timeline__node {
  background: #e5e7eb;
  color: #9ca3af;
  box-shadow: none;
}
.course-timeline__item.is-live .course-timeline__node {
  background: linear-gradient(135deg, #ef4444, #f97316);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.18);
}
.course-timeline__card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px 20px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.course-timeline__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(114, 67, 242, 0.1);
  border-color: rgba(114, 67, 242, 0.35);
}
.course-timeline__item.is-live .course-timeline__card {
  border-color: #fecaca;
  background: linear-gradient(135deg, #fef2f2 0%, #fff 60%);
}
.course-timeline__item.is-past .course-timeline__card { opacity: 0.72; }
.course-timeline__card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.course-timeline__day {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7243f2;
}
.course-timeline__title {
  font-size: 16.5px;
  font-weight: 700;
  color: #1d1729;
  margin: 0 0 6px;
  line-height: 1.3;
}
.course-timeline__desc {
  font-size: 13.5px;
  color: #6b7280;
  margin: 0 0 12px;
  line-height: 1.55;
}
.course-timeline__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.course-timeline__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: #6b7280;
}
.course-timeline__meta-item svg { width: 14px; height: 14px; color: #9ca3af; }
@media (max-width: 600px) {
  .course-timeline__item { grid-template-columns: 38px 1fr; gap: 12px; }
  .course-timeline__node { width: 38px; height: 38px; font-size: 13px; }
  .course-timeline__rail::before { top: 38px; }
  .course-timeline__card-top { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ─── MODULES ACCORDION ───────────────────────────────────────────── */
.course-modules-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13.5px;
  color: #6b7280;
  margin-bottom: 18px;
  padding-left: 4px;
}
.course-modules-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.course-modules-meta strong { color: #1d1729; }

.course-modules {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.course-module {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.course-module:hover {
  border-color: rgba(114, 67, 242, 0.25);
}
.course-module--open {
  box-shadow: 0 8px 24px rgba(114, 67, 242, 0.08);
  border-color: rgba(114, 67, 242, 0.25);
}
.course-module__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  user-select: none;
}
.course-module__left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.course-module__chevron {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #f3e8ff;
  color: #7243f2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: transform 0.25s ease, background 0.2s ease;
  flex-shrink: 0;
}
.course-module--open .course-module__chevron {
  transform: rotate(90deg);
  background: linear-gradient(135deg, #7243f2, #a855f7);
  color: #fff;
}
.course-module__title {
  font-weight: 700;
  font-size: 15.5px;
  color: #1d1729;
  line-height: 1.4;
}
.course-module__meta {
  font-size: 12.5px;
  color: #6b7280;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}
.course-module__lessons {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.course-module--open .course-module__lessons {
  max-height: 2000px;  /* large enough */
}
.course-module__lesson {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px 12px 64px;
  border-top: 1px solid #f3f4f6;
  font-size: 14px;
  color: #374151;
  transition: background 0.15s ease;
}
.course-module__lesson:hover {
  background: #faf5ff;
}
.course-module__lesson-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #f3f4f6;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
}
.course-module__lesson-icon.completed {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
}
.course-module__lesson--free .course-module__lesson-icon {
  background: #f3e8ff;
  color: #7243f2;
}
.course-module__lesson-title {
  flex: 1;
  min-width: 0;
}
.course-module__lesson-title a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}
.course-module__lesson-title a:hover {
  color: #7243f2;
}
.course-module__lesson-duration {
  font-size: 12.5px;
  color: #9ca3af;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.course-module__lesson--locked {
  color: #9ca3af;
  cursor: not-allowed;
}
.course-module__lesson--locked .course-module__lesson-title {
  color: #9ca3af;
}
.course-module__lesson-free-badge {
  padding: 2px 8px;
  background: #d1fae5;
  color: #065f46;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─── INSTRUCTOR ──────────────────────────────────────────────────── */
.course-instructor-card {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 28px;
  background: linear-gradient(135deg, #faf5ff 0%, #fff 60%);
  border: 1px solid rgba(168, 85, 247, 0.18);
  border-radius: 18px;
  overflow: hidden;
}
.course-instructor-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.12), transparent 70%);
  border-radius: 50%;
  transform: translate(50%, -50%);
}
.course-instructor-card__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 8px 24px rgba(114, 67, 242, 0.2);
  position: relative;
  z-index: 1;
}
.course-instructor-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.course-instructor-card__body {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.course-instructor-card__name {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 19px;
  font-weight: 700;
  color: #1d1729;
  margin: 0 0 4px;
}
.course-instructor-card__title {
  font-size: 13px;
  color: #7243f2;
  font-weight: 600;
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}
.course-instructor-card__bio {
  font-size: 14.5px;
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
}
.course-instructor-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
}
.course-instructor-card__stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #4b5563;
}
.course-instructor-card__stat strong {
  color: #7243f2;
  font-weight: 800;
}

@media (max-width: 600px) {
  .course-instructor-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .course-instructor-card__avatar {
    margin: 0 auto;
  }
}

/* ─── SIDEBAR — ENROLL CARD ───────────────────────────────────────── */
.course-page__sidebar {
  position: sticky;
  top: 88px;
}
@media (max-width: 980px) {
  .course-page__sidebar {
    position: static;
  }
}

.course-enroll {
  position: relative;
  background: #fff;
  border: 1px solid #ece6fb;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(114, 67, 242, 0.18), 0 8px 24px rgba(29, 23, 41, 0.08);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}
.course-enroll::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(114, 67, 242, 0.55), rgba(174, 143, 255, 0.15) 45%, transparent 75%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.course-enroll:hover {
  box-shadow: 0 26px 64px rgba(114, 67, 242, 0.26), 0 10px 28px rgba(29, 23, 41, 0.1);
  transform: translateY(-2px);
}
.course-enroll__top {
  position: relative;
  padding: 28px 24px 20px;
  background: linear-gradient(135deg, #faf5ff 0%, #fff 60%);
  border-bottom: 1px solid #f3f4f6;
}
.course-enroll__start-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px 6px 11px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(114, 67, 242, 0.12), rgba(174, 143, 255, 0.14));
  border: 1px solid rgba(114, 67, 242, 0.22);
  color: #5b2bd9;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
}
.course-enroll__start-chip svg {
  width: 14px;
  height: 14px;
  stroke: #7243f2;
  flex-shrink: 0;
}
.course-enroll__price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}
.course-enroll__price {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 40px;
  font-weight: 800;
  color: #1d1729;
  letter-spacing: -0.02em;
  line-height: 1;
}
.course-enroll__currency {
  font-size: 18px;
  font-weight: 700;
  color: #7243f2;
}
.course-enroll__price-note {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 16px;
}
.course-enroll__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #7243f2, #a855f7);
  color: #fff;
  box-shadow: 0 8px 20px rgba(114, 67, 242, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  font-family: inherit;
}
.course-enroll__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(114, 67, 242, 0.4);
}
.course-enroll__cta--secondary {
  background: #fff;
  color: #7243f2;
  border: 1.5px solid rgba(114, 67, 242, 0.25);
  margin-top: 10px;
  box-shadow: none;
}
.course-enroll__cta--secondary:hover {
  background: #faf5ff;
  border-color: rgba(114, 67, 242, 0.5);
}
.course-enroll__purchased {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #d1fae5;
  color: #065f46;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 14px;
}
.course-enroll__progress {
  height: 6px;
  background: #f3f4f6;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 8px;
}
.course-enroll__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #7243f2, #a855f7);
  border-radius: 999px;
  transition: width 0.4s ease;
}
.course-enroll__progress-text {
  font-size: 12px;
  color: #6b7280;
  text-align: center;
  margin-bottom: 14px;
}

.course-enroll__features {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.course-enroll__feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #374151;
}
.course-enroll__feature-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: #f3e8ff;
  color: #7243f2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.course-enroll__feature-icon svg {
  width: 16px; height: 16px;
}

.course-enroll__guarantee {
  padding: 14px 24px 22px;
  border-top: 1px dashed #e5e7eb;
  font-size: 12.5px;
  color: #6b7280;
  text-align: center;
  line-height: 1.5;
}
.course-enroll__guarantee strong {
  display: block;
  color: #1d1729;
  font-weight: 700;
  margin-bottom: 4px;
}

/* ─── WHY THIS COURSE — TRUST INDICATORS ─────────────────────────── */
.course-trust {
  background: linear-gradient(180deg, #fff 0%, #faf5ff 100%);
  padding: 64px 24px;
  border-top: 1px solid #f3f4f6;
}
.course-trust__inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.course-trust__title {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: #1d1729;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.course-trust__sub {
  font-size: 16px;
  color: #6b7280;
  margin: 0 0 36px;
}
.course-trust__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.course-trust__item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.course-trust__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(114, 67, 242, 0.10);
}
.course-trust__item-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #7243f2, #a855f7);
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(114, 67, 242, 0.25);
}
.course-trust__item-icon svg {
  color: #fff;
  width: 22px; height: 22px;
}
.course-trust__item-num {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: 28px;
  font-weight: 800;
  color: #7243f2;
  line-height: 1;
  margin-bottom: 6px;
}
.course-trust__item-label {
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
  line-height: 1.4;
}

/* ─── FINAL CTA ────────────────────────────────────────────────── */
.course-final-cta {
  background:
    radial-gradient(circle at 80% 0%, rgba(168, 85, 247, 0.15) 0%, transparent 50%),
    linear-gradient(135deg, #1d1729 0%, #2a1f47 100%);
  color: #fff;
  padding: 80px 24px;
  text-align: center;
}
.course-final-cta__title {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  margin: 0 0 16px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.course-final-cta__sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin: 0 auto 36px;
}
.course-final-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
