/* ============================================================
   VPSchoolOfTrading — Courses Page CSS
   ============================================================ */

.course-detail-card {
  background: var(--black-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.course-detail-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 36px 40px;
  position: relative;
  overflow: hidden;
}
.course-detail-header::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.08;
}
.swing-bg::before { background: linear-gradient(135deg, var(--orange), var(--orange-light)); }
.twp-bg::before   { background: linear-gradient(135deg, var(--gold-dim), var(--gold)); }
.wow-bg::before   { background: linear-gradient(135deg, #1a8a45, #25d366); }

.course-detail-icon {
  width: 72px; height: 72px;
  border-radius: 20px;
  background: rgba(232,93,4,0.15);
  border: 1px solid rgba(232,93,4,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  color: var(--orange);
  flex-shrink: 0;
}
.gold-icon  { background: rgba(255,208,0,0.12); border-color: rgba(255,208,0,0.3); color: var(--gold); }
.green-icon { background: rgba(37,211,102,0.12); border-color: rgba(37,211,102,0.3); color: #25d366; }

.course-detail-title h2 { font-size: 2rem; color: var(--white); margin-bottom: 6px; }
.course-tagline { color: var(--text-muted); font-size: 0.9rem; }

.course-price-box {
  text-align: right;
  background: var(--black-4);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 18px 24px;
}
.price-label  { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 4px; }
.price-amount { font-family: 'Rajdhani',sans-serif; font-size: 2.2rem; font-weight: 700; color: var(--orange); line-height: 1; }
.price-duration { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }

.course-detail-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 40px;
  border-top: 1px solid var(--border);
}
.course-detail-col h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-list { display: flex; flex-direction: column; gap: 12px; }
.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white-80);
  font-size: 0.92rem;
}
.feature-list i { color: var(--orange); flex-shrink: 0; }

.highlight-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.highlight-box {
  background: var(--black-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  transition: border-color var(--transition);
}
.highlight-box:hover { border-color: var(--orange); }
.highlight-box i    { font-size: 1.3rem; color: var(--orange); }
.highlight-box span { font-weight: 600; color: var(--white); font-size: 0.9rem; }
.highlight-box small { font-size: 0.72rem; color: var(--text-muted); }
.green-hl i { color: #25d366; }
.green-hl:hover { border-color: #25d366; }

.course-cta-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* TWP Special Card */
.twp-highlight-card {
  background: linear-gradient(135deg, rgba(255,208,0,0.08), rgba(255,208,0,0.04));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
}
.twp-hl-icon {
  width: 56px; height: 56px;
  background: rgba(255,208,0,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--gold);
  margin: 0 auto 14px;
}
.twp-highlight-card h3 { font-size: 1.1rem; color: var(--white); margin-bottom: 14px; }
.twp-earning { margin-bottom: 14px; }
.twp-earning-num   { display: block; font-family: 'Rajdhani',sans-serif; font-size: 2.5rem; font-weight: 700; color: var(--gold); }
.twp-earning-label { font-size: 0.82rem; color: var(--text-muted); }
.twp-highlight-card p { font-size: 0.88rem; color: var(--white-60); line-height: 1.7; }

/* Compare Table */
.compare-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--black-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.compare-table th, .compare-table td {
  padding: 16px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.compare-table th { font-family: 'Rajdhani',sans-serif; font-size: 1rem; font-weight: 700; background: var(--black-4); color: var(--white); }
.compare-table td:first-child { text-align: left; color: var(--text-muted); font-weight: 500; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: var(--white-10); }
.orange-col { color: var(--orange) !important; }
.gold-col   { color: var(--gold) !important; }
.green-col  { color: #25d366 !important; }

@media (max-width: 768px) {
  .course-detail-header { grid-template-columns: auto 1fr; }
  .course-price-box { display: none; }
  .course-detail-body { grid-template-columns: 1fr; padding: 24px; gap: 28px; }
  .course-detail-header { padding: 24px; }
}
