/* ============================================================
   범놀이터 AIOS — 3기 커리큘럼 (curriculum-3rd.html) 다크 테마 v10
   course.css 위에 얹는 커리큘럼 전용 스타일
   ============================================================ */

/* ---------- 상단 인트로 ---------- */
.cur-hero { padding: 56px 24px 40px; }
.cur-hero .eyebrow { margin-bottom: 14px; }
.cur-hero h1 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.035em;
}
.cur-hero h1 em { font-style: normal; color: var(--primary); }
.cur-dates {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted-foreground);
}
.cur-dates strong { color: #fff; font-weight: 600; }

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 28px;
}
.fact {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 14px;
}
.fact dt { font-size: 12px; font-weight: 600; color: var(--muted-foreground); margin-bottom: 6px; }
.fact dd { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.3; }
.fact dd small { display: block; margin-top: 4px; font-size: 12px; font-weight: 500; color: var(--muted-foreground); letter-spacing: 0; }
.fact--hl { border-color: var(--primary); background: rgba(72, 255, 144, 0.08); }
.fact--hl dd { color: var(--primary); }

/* ---------- 타임라인 ---------- */
.timeline { margin-top: 28px; }

.tl-row {
  position: relative;
  padding: 0 0 28px 40px;
}
.tl-row:last-of-type { padding-bottom: 0; }
.tl-row::before {
  content: '';
  position: absolute;
  left: 9px; top: 10px; bottom: -10px;
  width: 2px;
  background: var(--border);
}
.tl-row:last-of-type::before { display: none; }
.tl-row::after {
  content: '';
  position: absolute;
  left: 3px; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px #000;
}
.detail-block--tint .tl-row::after { box-shadow: 0 0 0 4px #0b0d0c; }

.tl-when {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--muted-foreground);
}
.tl-week {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary-foreground);
  background: var(--primary);
  padding: 3px 10px;
  border-radius: 999px;
}
.tl-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  border: 1px solid rgba(72, 255, 144, 0.4);
  padding: 2px 8px;
  border-radius: 999px;
}

.tl-row h3 { font-size: 19px; font-weight: 700; line-height: 1.4; letter-spacing: -0.02em; }
.tl-row > p { margin-top: 6px; font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, 0.75); }

.tl-done {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--card);
  border: 1px solid var(--border);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}
.tl-done span { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 700; color: var(--primary); }

.tl-meet { margin-top: 10px; font-size: 13px; color: var(--muted-foreground); }
.tl-meet::before { content: '● '; color: var(--primary); font-size: 9px; vertical-align: 2px; }

/* 보너스(애프터케어) 구간 */
.tl-row--bonus::after { background: #000; border: 2px solid #fff; }
.detail-block--tint .tl-row--bonus::after { background: #0b0d0c; }
.tl-row--bonus::before { background: repeating-linear-gradient(to bottom, #55555b 0 5px, transparent 5px 10px); }
.tl-row--bonus .tl-week { background: #fff; }
.tl-row--bonus .tl-tag { color: #fff; border-color: rgba(255, 255, 255, 0.4); }

.bonus-note { margin-top: 24px; }

/* ---------- 정보 표 (도구·수료 후) ---------- */
.cur-pairs { margin-top: 20px; border-top: 1px solid var(--border); }
.cur-pairs div { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 15px; line-height: 1.65; }
.cur-pairs dt { width: 96px; flex-shrink: 0; font-weight: 700; color: #fff; }
.cur-pairs dd { color: rgba(255, 255, 255, 0.78); }

/* ---------- 비용 ---------- */
.cur-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin-top: 20px; }
.cur-price .now { font-size: 40px; font-weight: 800; letter-spacing: -0.04em; color: var(--primary); }
.cur-price .off { font-size: 12px; font-weight: 700; color: var(--primary-foreground); background: var(--primary); padding: 4px 10px; border-radius: 999px; }
.cur-price-note { margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--muted-foreground); }

.cur-btns { display: grid; gap: 8px; margin-top: 24px; }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; height: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 16px; font-weight: 600;
  color: #fff;
  transition: border-color 0.15s, color 0.15s;
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

/* 우측 패널 체크 리스트 */
.aside-checks { display: grid; gap: 10px; }
.aside-checks li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}
.aside-checks li::before {
  content: '';
  position: absolute; left: 0; top: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.aside-checks strong { color: #fff; }

/* ---------- 반응형 ---------- */
@media (max-width: 640px) {
  .cur-hero { padding: 40px 20px 32px; }
  .cur-hero h1 { font-size: 30px; }
  .fact-grid { grid-template-columns: repeat(2, 1fr); }
  .cur-price .now { font-size: 34px; }
  .cur-pairs div { flex-direction: column; gap: 2px; }
  .cur-pairs dt { width: auto; }
}

@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(10px); animation: rise 0.5s ease forwards; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}
