/* ============================================================
   범놀이터 AIOS — 강의 상세 레이아웃 v10
   레퍼런스: cyclehackers.kr/courses/10000080 구조·수치 그대로
   · 고정 헤더 82px (블랙)
   · 좌측 본문 max-width 672px (상세페이지)
   · 우측 360px sticky 신청 패널 (lg ≥1024px)
   · 모바일: 하단 고정 신청 바
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; border: 0 solid; }

:root {
  --primary: #48ff90;
  --primary-hover: #2fe679;
  --primary-foreground: #0a0a0a;
  --background: #000000;
  --foreground: #ffffff;
  --card: #18181b;
  --secondary: #222226;
  --muted-foreground: #b6b6bb;
  --border: #2e2e33;
  --rn-gray: #1a1a1a;
  --rn-text-sub: #a1a1a1;
  --radius-md: 8px;
  --header-h: 82px;
  --font-sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
               system-ui, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
}

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

img, iframe, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; cursor: pointer; }

.page { min-height: 100vh; display: flex; flex-direction: column; }

/* ---------- Header (fixed, 82px, black) ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--header-h);
  background: #000;
}

.header-inner {
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  color: var(--primary);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.header-logo small {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0;
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}

.header-nav { display: none; }
.header-nav ul { display: flex; align-items: center; gap: 40px; }
.header-nav a {
  display: flex;
  align-items: center;
  padding: 26px 0;
  white-space: nowrap;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.4px;
  color: #fff;
  transition: color 0.15s;
}
.header-nav a:hover { color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }

.header-cta {
  display: none;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--rn-gray);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  transition: color 0.15s;
}
.header-cta:hover { color: var(--primary); }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--radius-md);
}
.menu-toggle:hover { background: #2f2f33; }
.menu-toggle svg { width: 24px; height: 24px; }

/* 모바일 드롭다운 메뉴 */
.mobile-menu {
  position: fixed;
  top: var(--header-h); left: 0; right: 0;
  z-index: 49;
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 16px 16px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  display: block;
  padding: 14px 4px;
  font-size: 18px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu a:hover { color: var(--primary); }

@media (min-width: 768px) {
  .header-inner { padding: 0 51px; }
  .header-logo { font-size: 26px; }
}
@media (min-width: 1280px) {
  .header-nav { display: flex; align-items: center; }
  .header-cta { display: inline-flex; }
  .menu-toggle, .mobile-menu { display: none !important; }
}

/* ---------- Main 2-column layout ---------- */
.site-main { flex: 1; padding-top: var(--header-h); }

.course-wrap { padding-bottom: 96px; }          /* 모바일 하단 바 공간 (pb-24) */
.course-layout { display: flex; justify-content: center; }

.course-detail { width: 100%; max-width: 672px; min-width: 0; }

.course-aside { display: none; width: 360px; flex-shrink: 0; }

.aside-sticky {
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  overflow-y: auto;
  padding: 24px;
  border-left: 1px solid var(--border);
  background: var(--background);
}

@media (min-width: 1024px) {
  .course-wrap { padding-bottom: 0; }
  .course-aside { display: block; }
  .mobile-apply { display: none; }
}

/* ---------- 신청 패널 (우측 / 모바일 공통) ---------- */
.apply-stack > * + * { margin-top: 20px; }

.apply-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.apply-date {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 14px;
  line-height: 20px;
  color: var(--muted-foreground);
}
.apply-date svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s;
}
.btn-apply:hover { background: var(--primary-hover); }
.btn-apply:focus-visible { outline: 3px solid rgba(72, 255, 144, 0.5); outline-offset: 2px; }

/* 우측 패널 할인 박스 */
.aside-price {
  padding: 16px;
  border-radius: 12px;
  background: rgba(72, 255, 144, 0.08);
  border: 1px solid rgba(72, 255, 144, 0.45);
}
.aside-off { display: inline-block; font-size: 12px; font-weight: 800; color: #fff; background: #ff4d2e; padding: 3px 10px; border-radius: 999px; }
.aside-price p { margin-top: 8px; display: flex; align-items: baseline; gap: 8px; }
.aside-price s { font-size: 14px; color: var(--muted-foreground); }
.aside-price strong { font-size: 26px; font-weight: 800; color: var(--primary); letter-spacing: -0.03em; }
.aside-until { display: block; margin-top: 2px; font-size: 13px; color: var(--muted-foreground); }
.m-off { color: var(--primary); font-weight: 700; }

/* v10.3 CTA: 1:1 무료 진단(기본) + 오프라인 5만 원(보조) */
.aside-cta-note { margin-top: 8px; text-align: center; font-size: 13px; color: var(--muted-foreground); }
.aside-offline {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  transition: border-color 0.15s;
}
.aside-offline:hover { border-color: rgba(72, 255, 144, 0.6); }
.aside-offline span { font-size: 12px; line-height: 1.5; color: var(--muted-foreground); }
.aside-offline span b { display: block; font-size: 15px; font-weight: 700; color: #fff; }
.aside-offline strong { flex-shrink: 0; font-size: 16px; font-weight: 800; color: var(--primary); }

.m-cta-row { display: flex; gap: 8px; }
.m-cta-row .btn-apply { flex: 1; }
.m-offline {
  flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 84px; height: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 11px; line-height: 1.25; color: var(--muted-foreground); text-align: center;
}
.m-offline b { font-size: 14px; color: #fff; }

.step-btn { margin-top: 20px; }
.btn-ghost-line {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-md);
  font-size: 16px; font-weight: 600; color: #fff;
  transition: border-color 0.15s, color 0.15s;
}
.btn-ghost-line:hover { border-color: var(--primary); color: var(--primary); }

/* 헤더 우측 신청 버튼 (전 페이지 공통 · 모바일에서도 노출) */
.header-apply {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 16px;
  border-radius: var(--radius-md);
  background: var(--primary); color: var(--primary-foreground);
  font-size: 15px; font-weight: 700; white-space: nowrap;
  transition: background 0.15s;
}
.header-apply:hover { background: var(--primary-hover); }
@media (max-width: 480px) {
  .header-apply { height: 36px; padding: 0 12px; font-size: 13px; }
  .header-logo small { display: none; }
}

/* ===== 영상 하이라이트 (GIF처럼 무음 반복) ===== */
.hl-section { padding-top: 64px; padding-bottom: 64px; }
.hl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.hl-card { margin: 0; border-radius: 14px; overflow: hidden; background: var(--card); border: 1px solid var(--border); text-align: left; }
.hl-card--wide { grid-column: 1 / -1; border-color: rgba(72, 255, 144, 0.45); }
.hl-frame { position: relative; aspect-ratio: 16 / 9; background: #0b0b0d url("https://i.ytimg.com/vi/41Lj0NE1bUk/hqdefault.jpg") center / cover no-repeat; overflow: hidden; }
.hl-player { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; }
.hl-player.is-playing { opacity: 1; }
.hl-player iframe { position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; transform: translate(-50%, -50%) scale(1.18); border: 0; }
.hl-badge { position: absolute; top: 10px; left: 10px; padding: 4px 9px; border-radius: 999px; background: rgba(0,0,0,.7); color: var(--primary); font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.hl-card figcaption { padding: 12px 14px 14px; font-size: 14px; line-height: 1.45; color: var(--muted-foreground); }
.hl-card figcaption b { display: block; margin-bottom: 2px; font-size: 17px; font-weight: 800; color: #fff; }
.hl-card--wide figcaption b { font-size: 20px; color: var(--primary); }
.yt-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.yt-btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: var(--radius-md); border: 1px solid rgba(255,255,255,.35); color: #fff; font-size: 15px; font-weight: 700; transition: border-color .15s, color .15s, background .15s; }
.yt-btn:hover { border-color: var(--primary); color: var(--primary); }
.yt-btn svg { width: 22px; height: 22px; fill: currentColor; }
.yt-btn--main { background: #ff0033; border-color: #ff0033; }
.yt-btn--main:hover { background: #e0002d; border-color: #e0002d; color: #fff; }
.yt-more { margin-top: 28px; padding: 22px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--border); text-align: center; }
.yt-more p { font-size: 16px; font-weight: 700; color: #fff; }
.yt-more .yt-links { margin-top: 14px; }
@media (max-width: 560px) {
  .hl-grid { grid-template-columns: 1fr; }
  .hl-card figcaption b { font-size: 16px; }
  .yt-btn { width: 100%; justify-content: center; }
}

/* 헤더 메뉴 현재 위치 */
.header-nav a[aria-current="page"] { color: var(--primary); }

/* 우측 패널: 5만 원 정밀 컨설팅 안내 */
.aside-consult { padding: 14px 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--border); }
.aside-consult span { display: block; font-size: 12px; font-weight: 700; color: var(--muted-foreground); }
.aside-consult p { margin-top: 4px; font-size: 14px; color: rgba(255, 255, 255, 0.85); }
.aside-consult strong { font-size: 20px; font-weight: 800; color: #fff; }

/* 모바일 하단 고정 바 */
.mobile-apply {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 30;
  background: var(--background);
  border-top: 1px solid var(--border);
  box-shadow: 0 -10px 15px -3px rgba(0, 0, 0, 0.4);
}
.mobile-apply-inner { padding: 16px; max-height: 70vh; overflow-y: auto; }
.mobile-apply-inner > * + * { margin-top: 12px; }
.mobile-apply .apply-date { margin-top: 0; }

/* ============================================================
   좌측 상세페이지 콘텐츠 (672px 컬럼)
   ============================================================ */

/* 썸네일 (1200×675 비율) */
.course-thumb {
  position: relative;
  aspect-ratio: 1200 / 675;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(72, 255, 144, 0.28), transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(72, 255, 144, 0.12), transparent 60%),
    #050807;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 7%;
}
.course-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.thumb-badge {
  align-self: flex-start;
  font-size: clamp(11px, 2.2vw, 15px);
  font-weight: 700;
  color: var(--primary-foreground);
  background: var(--primary);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 4%;
}
.thumb-title {
  position: relative; z-index: 1;
  font-size: clamp(22px, 5.4vw, 38px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.03em;
}
.thumb-title em { font-style: normal; color: var(--primary); }
.thumb-sub {
  position: relative; z-index: 1;
  margin-top: 3.5%;
  font-size: clamp(13px, 2.6vw, 18px);
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
}

/* v10 생성 그래픽 (썸네일 · 상세 이미지) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.thumb-img { display: block; aspect-ratio: 16 / 9; background: #050807; }
.thumb-img img { width: 100%; height: 100%; object-fit: cover; }
.detail-graphic { width: 100%; height: auto; display: block; background: #050807; }
.detail-graphic-link { display: block; }

.aspect-video { aspect-ratio: 16 / 9; background: #000; }
.aspect-video iframe { width: 100%; height: 100%; border: 0; }

/* 상세 블록 공통 */
.detail-block {
  padding: 64px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.detail-block--tint { background: #0b0d0c; }
.detail-block--first { border-top: 0; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 12px;
}

.detail-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.36;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.detail-title em, .hl { font-style: normal; color: var(--primary); }

.detail-text {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.8);
}
.detail-text + .detail-text { margin-top: 12px; }
.detail-text strong { color: #fff; font-weight: 700; }

.detail-block .aspect-video { margin: 24px 0 0; border-radius: 12px; overflow: hidden; }

.detail-img { margin-top: 24px; border-radius: 12px; overflow: hidden; background: var(--card); }
.detail-img img { width: 100%; height: auto; }
.detail-cap { margin-top: 10px; font-size: 13px; color: var(--muted-foreground); }

/* 수치 박스 */
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 24px; }
.metric {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 10px;
  text-align: center;
}
.metric dt { font-size: 13px; color: var(--muted-foreground); margin-bottom: 6px; }
.metric dd { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.metric dd s { font-size: 14px; color: var(--muted-foreground); font-weight: 500; }
.metric--hl { border-color: var(--primary); background: rgba(72, 255, 144, 0.08); }
.metric--hl dd { color: var(--primary); }

/* 페르소나 리스트 */
.persona-list { margin-top: 24px; display: grid; gap: 10px; }
.persona {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
}
.persona-ic { font-size: 24px; line-height: 1.2; flex-shrink: 0; }
.persona-tag { display: block; font-size: 13px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.persona p { font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, 0.82); }
.persona strong { color: #fff; }

/* 주차 로드맵 */
.week-list { margin-top: 28px; position: relative; }
.week-list::before {
  content: '';
  position: absolute;
  left: 27px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--primary), rgba(72, 255, 144, 0.1));
}
.week {
  position: relative;
  display: flex;
  gap: 16px;
  padding: 0 0 22px;
}
.week:last-child { padding-bottom: 0; }
.week-no {
  position: relative; z-index: 1;
  flex-shrink: 0;
  width: 56px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
  color: var(--primary-foreground);
  background: var(--primary);
  border-radius: 999px;
}
.week--care .week-no { background: #fff; font-size: 12px; }
.week h3 { font-size: 17px; font-weight: 700; line-height: 1.45; margin: 4px 0 6px; }
.week p { font-size: 15px; line-height: 1.65; color: rgba(255, 255, 255, 0.75); }
.week p strong { color: #fff; }

/* 체크 리스트 */
.check-list { margin-top: 20px; display: grid; gap: 12px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}
.check-list li::before {
  content: '';
  position: absolute; left: 0; top: 3px;
  width: 20px; height: 20px;
  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 / 12px no-repeat;
}
.check-list strong { color: #fff; }

/* VS 비교 */
.vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.vs-card { border-radius: 12px; padding: 20px 16px; background: var(--card); border: 1px solid var(--border); }
.vs-card--us { border-color: var(--primary); background: rgba(72, 255, 144, 0.07); }
.vs-label { font-size: 13px; font-weight: 700; color: var(--muted-foreground); }
.vs-card--us .vs-label { color: var(--primary); }
.vs-head { font-size: 18px; font-weight: 800; margin: 6px 0 12px; line-height: 1.35; }
.vs-card ul { display: grid; gap: 8px; }
.vs-card li { font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, 0.78); }
.vs-card li::before { content: '· '; color: var(--muted-foreground); }
.vs-card--us li::before { color: var(--primary); }

/* 스크린샷 + 가림막 */
.shot { margin-top: 24px; }
.shot-img { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); line-height: 0; background: #0e1116; }
.shot-img img { width: 100%; height: auto; }
.mask { position: absolute; border-radius: 3px; background: rgba(70, 78, 92, 0.96); pointer-events: none; }
.shot figcaption { margin-top: 10px; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, 0.72); }
.shot figcaption strong { color: #fff; }

/* 멘토 스탯 */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 24px; }
.stat { text-align: center; padding: 20px 8px; border-radius: 12px; background: var(--card); border: 1px solid var(--border); }
.stat b { display: block; font-size: 24px; font-weight: 800; color: var(--primary); letter-spacing: -0.02em; }
.stat span { font-size: 13px; color: var(--muted-foreground); }

.text-link { display: inline-block; margin-top: 16px; font-size: 15px; font-weight: 600; color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

/* 영상 리스트 */
.video-list { display: grid; gap: 20px; margin-top: 24px; }
.video-list figure .aspect-video { margin: 0; border-radius: 12px; overflow: hidden; }
.video-list figcaption { margin-top: 8px; font-size: 14px; color: rgba(255, 255, 255, 0.75); }

/* 정보 표 */
.info-table { margin-top: 24px; border-top: 1px solid var(--border); }
.info-table div { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 15px; line-height: 1.6; }
.info-table dt { width: 76px; flex-shrink: 0; color: var(--muted-foreground); font-weight: 600; }
.info-table dd { color: rgba(255, 255, 255, 0.88); }
.info-table dd strong { color: #fff; }

/* 가격 로드맵 */
.price-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 24px; }
.price-step { text-align: center; padding: 16px 6px; border-radius: 12px; background: var(--card); border: 1px solid var(--border); }
.price-step b { display: block; font-size: 13px; color: var(--muted-foreground); }
.price-step strong { display: block; font-size: 17px; font-weight: 800; margin: 4px 0; }
.price-step span { font-size: 12px; color: var(--muted-foreground); }
.price-step.is-closed strong { text-decoration: line-through; color: #77777c; }
.price-step.is-now { border-color: var(--primary); background: rgba(72, 255, 144, 0.08); }
.price-step.is-now strong, .price-step.is-now span { color: var(--primary); }

.promo {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 12px;
  background: var(--primary);
  color: var(--primary-foreground);
}
.promo p { font-size: 15px; font-weight: 600; }
.promo strong { font-size: 22px; font-weight: 800; }
.promo s { opacity: 0.6; margin-right: 6px; }

/* 진단 단계 카드 */
.step-card { margin-top: 20px; border-radius: 14px; padding: 24px 20px; background: var(--card); border: 1px solid var(--border); }
.step-card--free { border-color: var(--primary); }
.step-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.step-no { font-size: 13px; font-weight: 800; color: var(--muted-foreground); letter-spacing: 0.06em; }
.step-price { font-size: 14px; font-weight: 800; padding: 4px 12px; border-radius: 999px; background: var(--secondary); }
.step-card--free .step-price { background: var(--primary); color: var(--primary-foreground); }
.step-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.step-card .check-list li { font-size: 15px; }

.pay-box { margin-top: 18px; padding: 16px; border-radius: 10px; background: #0f0f11; border: 1px dashed var(--border); }
.pay-box .pay-label { font-size: 12px; color: var(--muted-foreground); }
.pay-account { font-size: 17px; margin: 4px 0; }
.pay-account strong { margin-right: 6px; }
.pay-holder { font-size: 13px; color: var(--muted-foreground); }
.pay-copy { margin-top: 10px; height: 38px; padding: 0 14px; border-radius: var(--radius-md); background: var(--secondary); font-size: 14px; font-weight: 600; }
.pay-copy.is-copied { background: var(--primary); color: var(--primary-foreground); }

.notice-box { margin-top: 20px; padding: 18px 20px; border-radius: 12px; background: var(--secondary); font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, 0.82); }
.notice-box b { display: block; color: #fff; margin-bottom: 4px; }

/* 상세 하단 CTA */
.detail-cta { padding: 56px 24px 64px; text-align: center; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.detail-cta .detail-title { margin-bottom: 10px; }
.detail-cta .btn-apply { max-width: 360px; margin-top: 24px; }
.detail-cta .sub-link { display: block; margin-top: 14px; font-size: 14px; color: var(--muted-foreground); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 480px) {
  .detail-block { padding: 52px 20px; }
  .detail-title { font-size: 24px; }
  .vs-grid { grid-template-columns: 1fr; }
  .price-steps { grid-template-columns: repeat(2, 1fr); }
  .metric dd { font-size: 17px; }
}

/* ============================================================
   v10.2 상세페이지 타이포 확대 — 상세 이미지처럼 큼직하게, 가운데 정렬
   (index.html 의 #course-detail 에만 적용)
   ============================================================ */
#course-detail .detail-block { padding: 88px 28px; text-align: center; }
#course-detail .eyebrow {
  font-size: 14px;
  padding: 6px 14px;
  border: 1px solid rgba(72, 255, 144, 0.5);
  border-radius: 999px;
  margin-bottom: 20px;
}
#course-detail .detail-title {
  font-size: 34px;
  line-height: 1.32;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}
#course-detail .detail-title em { text-shadow: 0 0 24px rgba(72, 255, 144, 0.35); }
#course-detail .detail-text {
  font-size: 18px;
  line-height: 1.75;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
/* 카드·리스트 내부는 읽기 좋게 왼쪽 정렬 유지 */
#course-detail .week-list,
#course-detail .info-table,
#course-detail .step-card,
#course-detail .vs-card,
#course-detail .notice-box,
#course-detail .shot figcaption { text-align: left; }

#course-detail .metric { padding: 24px 10px; }
#course-detail .metric dt { font-size: 14px; }
#course-detail .metric dd { font-size: 24px; }

#course-detail .week h3 { font-size: 19px; }
#course-detail .week p { font-size: 16px; }
#course-detail .week-no { width: 60px; height: 34px; font-size: 14px; }
#course-detail .week-list::before { left: 29px; }

#course-detail .vs-head { font-size: 20px; }
#course-detail .vs-card li { font-size: 15px; }

#course-detail .info-table div { font-size: 16px; padding: 18px 0; }
#course-detail .info-table dt { width: 84px; }

#course-detail .stat b { font-size: 28px; }
#course-detail .stat span { font-size: 14px; }

#course-detail .price-step strong { font-size: 20px; }
#course-detail .promo { text-align: center; padding: 22px 20px; }
#course-detail .promo p { font-size: 16px; }
#course-detail .promo strong { font-size: 30px; margin-left: 6px; }

#course-detail .step-card { padding: 28px 24px; }
#course-detail .step-card h3 { font-size: 22px; }
#course-detail .check-list li { font-size: 16px; }

#course-detail .detail-cta { padding: 88px 28px 96px; }
#course-detail .detail-cta .btn-apply { height: 56px; font-size: 18px; font-weight: 700; }

@media (max-width: 480px) {
  #course-detail .detail-block { padding: 64px 20px; }
  #course-detail .detail-title { font-size: 27px; }
  #course-detail .detail-text { font-size: 16.5px; }
  #course-detail .metric dd { font-size: 19px; }
  #course-detail .stat b { font-size: 22px; }
  #course-detail .promo strong { font-size: 26px; }
}

/* ---------- Footer (레퍼런스 동일 구조) ---------- */
.site-footer { background: #000; }

.footer-hero { background: var(--rn-gray); padding: 48px 0; display: flex; align-items: center; }
.footer-container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.footer-hero h2 {
  font-size: 24px;
  font-weight: 500;
  color: #fff;
  line-height: 1;
  margin-bottom: 24px;
}
.footer-hero h2 span { display: block; }
.footer-hero h2 span + span { margin-top: 8px; }
.footer-hero p { font-size: 16px; line-height: 1.625; color: var(--rn-text-sub); }

.footer-links { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 32px 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.footer-links a { font-size: 16px; font-weight: 500; color: #fff; transition: color 0.15s; }
.footer-links a:hover { color: var(--primary); }

.footer-info { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 48px 16px; text-align: center; color: rgba(255, 255, 255, 0.7); font-size: 12px; font-weight: 300; line-height: 30px; }
.footer-info p + p { margin-top: 8px; }
.footer-info a { text-decoration: underline; }
.footer-info a:hover { color: var(--primary); }

@media (min-width: 768px) {
  .footer-hero { padding: 0; height: 272px; }
  .footer-container { padding: 0 50px; }
  .footer-hero h2 { font-size: 40px; line-height: 60px; margin-bottom: 32px; }
  .footer-hero h2 span + span { margin-top: 0; }
  .footer-hero p { font-size: 18px; }
  .footer-links { gap: 32px; }
  .footer-links a { font-size: 20px; }
  .footer-info { font-size: 15px; }
}
