*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { margin: 0; padding: 0; }

.cd-wrapper {
  min-height: 100vh;
  background: #0d0d1a;
  color: white;
  font-family: 'Segoe UI', sans-serif;
}

/* ===== HERO ===== */
.cd-hero {
  position: relative; padding: 4rem 1.5rem 3rem;
  text-align: center; overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, #2d1b69 0%, #0d0d1a 70%);
}
.cd-hero-bg {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 28px 28px; pointer-events: none;
}
.cd-hero-content { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }

.cd-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  padding: 0.4rem 1rem; border-radius: 999px;
  font-size: 0.72rem; letter-spacing: 1px; color: #ccc; margin-bottom: 1.5rem;
}

.cd-live-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(220,38,38,0.15); border: 1px solid rgba(220,38,38,0.3);
  padding: 0.35rem 1rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 700; color: #f87171;
  letter-spacing: 1px; margin-bottom: 1rem;
}
.cd-live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #ef4444; animation: pulse 1.5s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

.cd-title {
  font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 800;
  line-height: 1.15; margin-bottom: 1.2rem; color: white;
}
.cd-title-accent { color: #a78bfa; }

.cd-subtitle {
  font-size: 1rem; color: #94a3b8; line-height: 1.7;
  margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto;
}

.cd-date-strip {
  display: flex; align-items: center; justify-content: center; gap: 1.5rem;
  flex-wrap: wrap; margin-bottom: 1.8rem;
}
.cd-date-item {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.85rem; color: #c4b5fd; font-weight: 600;
}

/* ===== PRICE ===== */
.cd-price-card {
  display: inline-block; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 16px;
  padding: 1.2rem 2rem; margin-bottom: 1.5rem; text-align: center;
}
.cd-price-label { display: block; font-size: 0.7rem; letter-spacing: 2px; color: #888; margin-bottom: 0.5rem; }
.cd-price-row { display: flex; align-items: center; gap: 0.8rem; justify-content: center; }
.cd-price { font-size: 2.5rem; font-weight: 800; color: white; }
.cd-price-og { font-size: 1.2rem; color: #555; text-decoration: line-through; }
.cd-discount-badge {
  background: #16a34a; color: white; font-size: 0.7rem;
  font-weight: 700; padding: 0.25rem 0.6rem; border-radius: 6px; letter-spacing: 0.5px;
}

/* ===== ENROLL BUTTON ===== */
.cd-enroll-btn {
  display: inline-block;
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  color: white; border: none;
  padding: 1rem 3rem; border-radius: 14px;
  font-size: 1.05rem; font-weight: 700; cursor: pointer;
  transition: all 0.2s; letter-spacing: 0.3px;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(124,58,237,0.45);
}
.cd-enroll-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 36px rgba(124,58,237,0.65);
  filter: brightness(1.1);
}

/* ===== VIDEO PREVIEW ===== */
.cd-preview-video { margin-top: 2.5rem; position: relative; }
.cd-preview-label {
  font-size: 0.95rem; color: #c4b5fd; margin-bottom: 1rem;
  text-align: center; font-weight: 600; letter-spacing: 0.3px;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.cd-preview-label::before, .cd-preview-label::after {
  content: ''; flex: 1; max-width: 60px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167,139,250,0.4));
}
.cd-preview-label::after {
  background: linear-gradient(90deg, rgba(167,139,250,0.4), transparent);
}
.cd-video-wrapper {
  position: relative; width: 100%; aspect-ratio: 16/9;
  border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(124,58,237,0.5); background: #000;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 0 0 1px rgba(79,70,229,0.2), 0 8px 40px rgba(124,58,237,0.35), 0 20px 60px rgba(0,0,0,0.5);
}
.cd-video-wrapper::before {
  content: ''; position: absolute; top: -1px; left: -1px; right: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent 10%, #7c3aed 40%, #4f46e5 60%, transparent 90%);
  z-index: 2; border-radius: 20px 20px 0 0;
}
.cd-video-wrapper:hover {
  transform: scale(1.015);
  box-shadow: 0 0 0 1px rgba(124,58,237,0.4), 0 12px 50px rgba(124,58,237,0.5), 0 24px 70px rgba(0,0,0,0.6);
}
.cd-video-wrapper iframe { width: 100%; height: 100%; border: none; }

/* ===== STATS ===== */
.cd-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #111122;
  border-top: 1px solid #1e1e3a; border-bottom: 1px solid #1e1e3a;
}
.cd-stat {
  display: flex; flex-direction: column; align-items: center;
  padding: 1.8rem 1rem; border-right: 1px solid #1e1e3a;
}
.cd-stat:last-child { border-right: none; }
.cd-stat-num { font-size: 1.8rem; font-weight: 800; color: white; margin-bottom: 0.3rem; }
.cd-stat-label { font-size: 0.78rem; color: #666; text-align: center; }

/* ===== SECTIONS ===== */
.cd-section {
  max-width: 700px; margin: 0 auto;
  padding: 3rem 1.5rem; border-bottom: 1px solid #1e1e3a;
}
.cd-section-title { font-size: 1.8rem; font-weight: 800; text-align: center; margin-bottom: 0.8rem; }
.cd-section-sub { text-align: center; color: #94a3b8; font-size: 0.95rem; line-height: 1.6; margin-bottom: 2rem; }

/* ===== DESCRIPTION CARD ===== */
.cd-description-card { background: #141428; border: 1px solid #2a2a4a; border-radius: 16px; padding: 1.5rem; }
.cd-desc-text { color: #94a3b8; font-size: 0.92rem; line-height: 1.8; margin-bottom: 1.5rem; }
.cd-desc-info { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; margin-top: 1.5rem; }
.cd-desc-info-item {
  background: #0d0d1a; border: 1px solid #2a2a4a; border-radius: 10px;
  padding: 0.8rem 1rem; display: flex; flex-direction: column; gap: 0.3rem;
}
.cd-desc-info-item span:first-child { font-size: 0.78rem; color: #64748b; font-weight: 600; letter-spacing: 0.5px; }
.cd-desc-info-item span:last-child { font-size: 0.88rem; color: #e2e8f0; font-weight: 500; }

/* ===== CURRICULUM CARD ===== */
.cd-curriculum-card { background: #141428; border: 1px solid #2a2a4a; border-radius: 16px; padding: 1.5rem; }
.cd-curriculum-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; }
.cd-curriculum-card > p { color: #94a3b8; font-size: 0.9rem; margin-bottom: 1.2rem; }
.cd-topics-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.cd-topics-list li { display: flex; align-items: center; gap: 0.7rem; font-size: 0.88rem; color: #ccc; }
.cd-check { color: #7c3aed; font-size: 0.9rem; flex-shrink: 0; }

/* ===== WHY DIFFERENT ===== */
.cd-compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cd-compare-card { background: #141428; border: 1px solid #2a2a4a; border-radius: 14px; padding: 1.2rem; }
.cd-compare-card.good { border-color: rgba(34,197,94,0.3); }
.cd-compare-card.bad { border-color: rgba(239,68,68,0.2); }
.cd-compare-title { font-size: 0.85rem; font-weight: 700; margin-bottom: 0.8rem; }
.cd-compare-title.good { color: #22c55e; }
.cd-compare-title.bad { color: #f87171; }
.cd-compare-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.cd-compare-list li { font-size: 0.82rem; color: #94a3b8; line-height: 1.5; display: flex; gap: 0.5rem; }

/* ===== 30-DAY PLAN ===== */
.cd-day-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.cd-day-item {
  background: #141428; border: 1px solid #2a2a4a; border-radius: 10px;
  padding: 0.7rem 0.9rem; display: flex; gap: 0.7rem; align-items: flex-start;
}
.cd-day-num { font-size: 0.72rem; font-weight: 700; color: #7c3aed; flex-shrink: 0; min-width: 36px; }
.cd-day-topic { font-size: 0.82rem; color: #ccc; line-height: 1.4; }

/* ===== FEATURES ===== */
.cd-features-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.cd-feature-card { background: #141428; border: 1px solid #2a2a4a; border-radius: 14px; padding: 1.4rem; }
.cd-feature-icon { font-size: 1.5rem; display: block; margin-bottom: 0.6rem; }
.cd-feature-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.cd-feature-card p { color: #94a3b8; font-size: 0.85rem; line-height: 1.5; margin-bottom: 0.8rem; }
.cd-feature-tag { font-size: 0.68rem; letter-spacing: 1.5px; color: #60a5fa; font-weight: 600; }

/* ===== STEPS ===== */
.cd-steps-section { text-align: center; }
.cd-steps { display: flex; flex-direction: column; align-items: center; gap: 0; }
.cd-step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 1rem 0; max-width: 280px;
}
.cd-step-num {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 800; color: white; margin-bottom: 0.8rem;
}
.cd-step h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.cd-step p { color: #94a3b8; font-size: 0.85rem; line-height: 1.5; }
.cd-step-line { width: 2px; height: 30px; background: #2a2a4a; }

/* ===== REVIEWS ===== */
.cd-reviews-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.cd-review-video-card { background: #141428; border: 1px solid #2a2a4a; border-radius: 16px; overflow: hidden; }
.cd-review-video-card .cd-video-wrapper { border-radius: 0; border: none; box-shadow: none; }
.cd-review-video-card .cd-video-wrapper::before { display: none; }
.cd-review-meta { padding: 1rem 1.2rem; }
.cd-review-meta strong { font-size: 0.95rem; font-weight: 700; display: block; margin-bottom: 0.3rem; }
.cd-review-meta p { font-size: 0.82rem; color: #94a3b8; line-height: 1.5; }
.cd-review-tag {
  display: inline-block; margin-top: 0.5rem;
  background: rgba(124,58,237,0.15); border: 1px solid rgba(124,58,237,0.3);
  color: #a78bfa; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.5px;
  padding: 0.2rem 0.7rem; border-radius: 6px;
}

/* ===== INSTRUCTOR ===== */
.cd-instructor-card {
  background: #141428; border: 1px solid #2a2a4a;
  border-radius: 16px; padding: 2rem; text-align: center;
}
.cd-instructor-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 800; color: white; margin: 0 auto 1rem;
}
.cd-instructor-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.3rem; }
.cd-instructor-role { color: #a78bfa; font-size: 0.85rem; margin-bottom: 1rem; display: block; }
.cd-instructor-card p { color: #94a3b8; font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.2rem; }
.cd-instructor-tags { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.cd-instructor-tags span {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  padding: 0.4rem 1rem; border-radius: 8px; font-size: 0.82rem; color: #ccc;
}

/* ===== FAQ ===== */
.cd-faqs { display: flex; flex-direction: column; gap: 0.8rem; }
.cd-faq {
  background: #141428; border: 1px solid #2a2a4a;
  border-radius: 12px; padding: 1rem 1.2rem;
  cursor: pointer; transition: border-color 0.2s;
}
.cd-faq.open { border-color: #4c1d95; }
.cd-faq-q {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; font-size: 0.92rem; font-weight: 500; color: #e2e8f0;
}
.cd-faq-icon { font-size: 1.2rem; color: #888; flex-shrink: 0; transition: transform 0.2s; }
.cd-faq.open .cd-faq-icon { transform: rotate(45deg); color: #a78bfa; }
.cd-faq-a { display: none; margin-top: 0.8rem; font-size: 0.85rem; color: #94a3b8; line-height: 1.6; }
.cd-faq.open .cd-faq-a { display: block; }

/* ===== CTA ===== */
.cd-cta { padding: 3rem 1.5rem; display: flex; justify-content: center; }
.cd-cta-card {
  background: linear-gradient(135deg, #4c1d95, #7c3aed, #9333ea);
  border-radius: 20px; padding: 2.5rem 2rem;
  text-align: center; max-width: 480px; width: 100%;
}
.cd-cta-card h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 0.8rem; line-height: 1.3; }
.cd-cta-card > p { color: rgba(255,255,255,0.8); font-size: 0.9rem; line-height: 1.6; margin-bottom: 1.5rem; }
.cd-cta-label { display: block; font-size: 0.68rem; letter-spacing: 2px; color: rgba(255,255,255,0.6); margin-bottom: 0.3rem; }
.cd-cta-price { font-size: 3rem; font-weight: 900; color: white; margin-bottom: 1.5rem; }
.cd-cta-btn {
  background: white; color: #4c1d95; border: none;
  padding: 1rem 3rem; border-radius: 12px;
  font-size: 1rem; font-weight: 800; cursor: pointer;
  transition: all 0.2s; width: 100%;
  text-decoration: none; display: block;
}
.cd-cta-btn:hover { background: #f0e7ff; transform: translateY(-1px); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .cd-hero { padding: 3rem 1.2rem 2.5rem; }
  .cd-title { font-size: 2rem; }
  .cd-stats { grid-template-columns: repeat(2, 1fr); }
  .cd-stat { border-bottom: 1px solid #1e1e3a; }
  .cd-stat:nth-child(2) { border-right: none; }
  .cd-stat:nth-child(3) { border-bottom: none; }
  .cd-stat:nth-child(4) { border-right: none; border-bottom: none; }
  .cd-section { padding: 2rem 1.2rem; }
  .cd-section-title { font-size: 1.4rem; }
  .cd-price { font-size: 2rem; }
  .cd-compare-grid { grid-template-columns: 1fr; }
  .cd-day-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .cd-price-card { padding: 1rem 1.5rem; }
  .cd-enroll-btn { padding: 0.9rem 2rem; font-size: 0.95rem; }
  .cd-desc-info { grid-template-columns: 1fr; }
}

/* ===== REVIEWS - CAROUSEL (first block) ===== */
.cd-reviews-carousel-wrap {
  position: relative;
  margin-bottom: 1.5rem;
}
.cd-reviews-carousel-label {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 1.5px;
  color: #a78bfa; margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.5rem;
}
.cd-reviews-carousel {
  display: flex; gap: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; padding-bottom: 0.8rem;
  scrollbar-width: none;
}
.cd-reviews-carousel::-webkit-scrollbar { display: none; }
.cd-carousel-card {
  flex: 0 0 78vw; max-width: 300px; scroll-snap-align: start;
  background: #141428; border: 1px solid #2a2a4a; border-radius: 16px; overflow: hidden;
}
.cd-carousel-card .cd-video-wrapper {
  border-radius: 16px 16px 0 0; border: none; box-shadow: none; height: 180px; aspect-ratio: unset;
}
.cd-carousel-card .cd-video-wrapper::before { display: none; }
.cd-carousel-meta { padding: 0.8rem 1rem; }
.cd-carousel-meta strong { font-size: 0.88rem; font-weight: 700; display: block; margin-bottom: 0.25rem; }
.cd-carousel-meta p { font-size: 0.78rem; color: #94a3b8; line-height: 1.5; }
.cd-carousel-dots {
  display: flex; gap: 0.4rem; justify-content: center; margin-top: 0.6rem;
}
.cd-carousel-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #2a2a4a; transition: background 0.2s;
}
.cd-carousel-dot.active { background: #7c3aed; }

/* ===== REVIEWS - PLACEMENT (second block) ===== */
.cd-placement-card {
  background: #141428; border: 1px solid rgba(34,197,94,0.25);
  border-radius: 16px; overflow: hidden;
}
.cd-placement-card .cd-video-wrapper {
  border-radius: 16px 16px 0 0; border: none; box-shadow: none;
}
.cd-placement-card .cd-video-wrapper::before { display: none; }
.cd-placement-meta { padding: 1rem 1.2rem; }
.cd-placement-meta strong { font-size: 0.95rem; font-weight: 700; display: block; margin-bottom: 0.3rem; }
.cd-placement-meta p { font-size: 0.82rem; color: #94a3b8; line-height: 1.5; }
.cd-placement-tag {
  display: inline-block; margin-top: 0.5rem;
  background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.3);
  color: #4ade80; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.5px;
  padding: 0.2rem 0.7rem; border-radius: 6px;
}

@media (max-width: 480px) {
  .cd-carousel-card { flex: 0 0 85vw; }
}