/* ============================================================
   한화 그룹 AI 실무활용 강의 교안 - 통합 스타일시트
   - 오전(KCC식): 보라/오렌지/라이트블루 컬러 시스템 + hero-card
   - 오후(TrackA식): 다크 사이드바 + prompt-block + concept-box
   ============================================================ */
:root {
  /* TrackA 사이드바 */
  --side-bg: #1A1A1A;
  --side-fg: #FFFFFF;
  --side-fg-dim: #9CA3AF;
  --side-link-hover: #2A2A2A;
  --side-link-active: #0098DB;

  /* TrackA 본문 */
  --bg: #F5F5F5;
  --main-bg: #FFFFFF;
  --text: #1A1A1A;
  --text-dim: #555555;
  --border: #E5E5E5;

  /* KCC 오전 컬러 */
  --kcc-accent:        #7B2FF7;   /* 보라 - 메인 액션 */
  --kcc-basics-bg:     #E3F2FD;
  --kcc-basics-fg:     #1565C0;   /* 라이트블루 - 기초 */
  --kcc-practice-bg:   #FFF3E0;
  --kcc-practice-fg:   #E65100;   /* 오렌지 - 실습 */
  --kcc-solution-bg:   #EDE7F6;
  --kcc-solution-fg:   #7B2FF7;
  --kcc-prompt-bg:     #F5F0FF;
  --kcc-prompt-border: #D1C4E9;
  --kcc-time-bg:       #FFEBEE;
  --kcc-time-fg:       #C62828;
  --kcc-wrong-bg:      #FFEBEE;
  --kcc-wrong-fg:      #C62828;
  --kcc-right-bg:      #E8F5E9;
  --kcc-right-fg:      #2E7D32;

  /* TrackA 오후 컬러 */
  --ta-primary:    #0098DB;
  --ta-accent-red: #DC2626;
  --ta-accent-purple: #7C3AED;
  --ta-prompt-bg:  #1A1A1A;
  --ta-prompt-fg:  #E5E5E5;
  --ta-concept-bg: #F8FBFF;
  --ta-tip-bg:     #FFF8E1;
  --ta-challenge-bg: #F0F9FF;
  --ta-workshop-bg: linear-gradient(135deg, #E3F2FD 0%, #F3E5F5 100%);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI',
               'Apple SD Gothic Neo', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}
a { color: inherit; text-decoration: none; }

/* ── 사이드바 ────────────────────────────────────────── */
.sidebar {
  position: fixed; top: 0; left: 0;
  width: 240px; height: 100vh;
  background: var(--side-bg); color: var(--side-fg);
  display: flex; flex-direction: column;
  z-index: 100;
  overflow-y: auto;
}
.sidebar-head {
  padding: 20px 18px 16px;
  border-bottom: 1px solid #333;
}
.sidebar-brand {
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--ta-primary);
  font-weight: 700;
}
.sidebar-title {
  font-size: 17px;
  font-weight: 700;
  margin: 4px 0 2px;
}
.sidebar-sub {
  font-size: 12px;
  color: var(--side-fg-dim);
}
.sidebar-nav {
  flex: 1;
  padding: 14px 0 80px;
  font-size: 13.5px;
}
.nav-module {
  padding: 16px 18px 6px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--ta-primary);
  font-weight: 700;
  text-transform: uppercase;
}
.nav-module.lunch {
  color: #FCD34D;
}
.sidebar-nav a {
  display: block;
  padding: 7px 18px 7px 24px;
  color: var(--side-fg);
  border-left: 3px solid transparent;
  font-size: 13px;
  transition: background 0.15s, border-color 0.15s;
}
.sidebar-nav a.sub { padding-left: 38px; font-size: 12.5px; color: var(--side-fg-dim); }
.sidebar-nav a:hover { background: var(--side-link-hover); }
.sidebar-nav a.active {
  background: var(--side-link-hover);
  border-left-color: var(--side-link-active);
  color: var(--ta-primary);
  font-weight: 600;
}
.sidebar-nav a.required::before {
  content: '⭐ '; margin-right: 2px;
}

/* sticky 하단 다운로드 */
.sidebar-foot {
  position: sticky; bottom: 0;
  padding: 14px 16px;
  background: var(--side-bg);
  border-top: 1px solid #333;
}
.dl-all-btn {
  display: block;
  width: 100%;
  padding: 11px 12px;
  background: var(--ta-primary);
  color: #fff !important;
  text-align: center;
  border: none; border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}
.dl-all-btn:hover { background: #0086C3; }
.dl-all-btn small { display:block; font-size:10.5px; opacity:0.85; font-weight:500; margin-top:2px; }

/* 햄버거 (모바일) */
.hamburger {
  display: none;
  position: fixed; top: 12px; left: 12px;
  width: 40px; height: 40px;
  background: var(--side-bg); color: #fff;
  border: none; border-radius: 6px;
  font-size: 20px; cursor: pointer;
  z-index: 200;
}

/* ── 메인 콘텐츠 ─────────────────────────────────────── */
.main {
  margin-left: 240px;
  padding: 0;
  background: var(--main-bg);
  min-height: 100vh;
}
.main-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 36px 32px 80px;
}

/* 히어로 */
.hero {
  background: linear-gradient(135deg, #1A1A1A 0%, #1F2937 100%);
  color: #fff;
  padding: 56px 32px 48px;
  margin: 0 0 36px;
}
.hero-inner {
  max-width: 960px; margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(0, 152, 219, 0.15);
  color: var(--ta-primary);
  border: 1px solid var(--ta-primary);
  border-radius: 20px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.hero h1 {
  margin: 0 0 12px; font-size: 34px; line-height: 1.25;
  font-weight: 800;
}
.hero h1 em {
  font-style: normal; color: var(--ta-primary);
}
.hero-sub {
  font-size: 15px; color: #D1D5DB; max-width: 720px;
}
.hero-meta {
  margin-top: 22px; display: flex; gap: 22px; flex-wrap: wrap;
  font-size: 13px; color: #9CA3AF;
}
.hero-meta b { color: #fff; font-weight: 600; }

/* 시간표 */
.timetable {
  background: #F9FAFB;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
  margin: 24px 0 32px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  font-size: 12.5px;
  text-align: center;
}
.tt-cell {
  padding: 10px 8px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--border);
}
.tt-cell.morning { background: var(--kcc-basics-bg); }
.tt-cell.lunch   { background: #FFFBEB; color: #92400E; }
.tt-cell.after-m1 { background: #FEF3F2; }
.tt-cell.after-m2 { background: #EFF6FF; }
.tt-cell.after-m3 { background: #F5F3FF; }
.tt-cell.after-m4 { background: #F0FDF4; }
.tt-cell b { display: block; font-size: 11.5px; color: var(--text-dim); margin-bottom: 4px; }

/* 섹션 헤더 */
.sec-header {
  display: flex; align-items: center; gap: 14px;
  margin: 56px 0 18px;
  padding-top: 8px;
}
.sec-num {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--kcc-accent);
  color: #fff;
  font-weight: 800; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sec-num.after { background: var(--ta-primary); }
.sec-header h2 {
  margin: 0; font-size: 24px; font-weight: 700; flex: 1;
}
.time-badge {
  background: var(--kcc-time-bg);
  color: var(--kcc-time-fg);
  padding: 5px 12px; border-radius: 14px;
  font-size: 12px; font-weight: 700;
}

/* ─── 공통 카드 / 박스 ─── */
.label {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.label-basics   { background: var(--kcc-basics-bg);   color: var(--kcc-basics-fg); }
.label-practice { background: var(--kcc-practice-bg); color: var(--kcc-practice-fg); }
.label-solution { background: var(--kcc-solution-bg); color: var(--kcc-solution-fg); }
.label-advanced { background: #DCFCE7;                color: #166534; }

.hero-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  margin: 18px 0 26px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 28px;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.hero-card-img {
  width: 100%; aspect-ratio: 4/3;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--kcc-accent);
  font-size: 48px;
  overflow: hidden;
  padding: 14px;
}
.hero-card-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.hero-card h3 {
  margin: 0 0 12px; font-size: 22px; line-height: 1.35; font-weight: 800;
}
.hero-card p { margin: 0; color: var(--text-dim); }

/* 다운로드 버튼 (카드 내) */
.download-btn {
  display: inline-block;
  padding: 10px 18px;
  background: var(--kcc-accent);
  color: #fff !important;
  border: none; border-radius: 8px;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  margin: 8px 6px 4px 0;
  transition: background 0.15s, transform 0.05s;
}
.download-btn:hover { background: #6422E8; }
.download-btn:active { transform: scale(0.97); }
.download-btn.alt { background: var(--ta-primary); }
.download-btn.alt:hover { background: #0086C3; }

/* Before/After 그리드 */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 0;
  margin: 20px 0;
}
.ba-card {
  padding: 20px;
  border-radius: 12px;
  text-align: center;
}
.ba-card.before { background: #FEE2E2; border: 2px solid #FCA5A5; }
.ba-card.after  { background: #DCFCE7; border: 2px solid #86EFAC; }
.ba-label {
  font-weight: 800; font-size: 13px;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.ba-card.before .ba-label { color: #B91C1C; }
.ba-card.after  .ba-label { color: #15803D; }
.ba-time { font-size: 22px; font-weight: 800; margin: 8px 0; }
.ba-card.before .ba-time { color: #B91C1C; }
.ba-card.after  .ba-time { color: #15803D; }
.ba-desc { font-size: 13px; color: var(--text-dim); }
.ba-arrow {
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: var(--text-dim);
}

/* 프롬프트 박스 (오전 = KCC 라이트 스타일) */
.prompt-box {
  background: var(--kcc-prompt-bg);
  border: 2px solid var(--kcc-prompt-border);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 14px 0;
  position: relative;
}
.prompt-label {
  display: inline-block;
  background: var(--kcc-accent);
  color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 3px 10px;
  border-radius: 10px;
  margin-bottom: 10px;
}
.prompt-box pre {
  margin: 0;
  font-family: 'Consolas', 'D2Coding', monospace;
  font-size: 13px;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--text);
  background: #fff;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--kcc-prompt-border);
}
.copy-btn {
  position: absolute;
  top: 14px; right: 14px;
  background: #fff;
  border: 1px solid var(--kcc-accent);
  color: var(--kcc-accent);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px; font-weight: 700;
  cursor: pointer;
}
.copy-btn:hover { background: var(--kcc-accent); color: #fff; }
.copy-btn.copied { background: #10B981; border-color: #10B981; color: #fff; }

/* 프롬프트 블록 (오후 = TrackA 다크 스타일) */
.prompt-block {
  background: var(--ta-prompt-bg);
  color: var(--ta-prompt-fg);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 14px 0;
  position: relative;
}
.prompt-block .prompt-label {
  background: var(--ta-primary);
  color: #fff;
}
.prompt-block pre {
  margin: 0;
  font-family: 'Consolas', 'D2Coding', monospace;
  font-size: 13px;
  white-space: pre-wrap;
  word-break: break-word;
  color: #E5E7EB;
  background: transparent;
  border: none;
  padding: 0;
}
.prompt-block .copy-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid #444;
  color: #ccc;
}
.prompt-block .copy-btn:hover { background: var(--ta-primary); color: #fff; }

/* 프롬프트 정·오답 비교 (KCC) */
.prompt-compare {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 0; margin: 16px 0;
}
.pc-wrong, .pc-right {
  padding: 16px 18px; border-radius: 10px; font-size: 13px;
}
.pc-wrong { background: var(--kcc-wrong-bg); color: var(--kcc-wrong-fg); }
.pc-right { background: var(--kcc-right-bg); color: var(--kcc-right-fg); }
.pc-wrong .pc-head, .pc-right .pc-head {
  font-weight: 700; margin-bottom: 8px;
}
.pc-arrow {
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: var(--text-dim);
}

/* Concept box (오후) */
.concept-box {
  background: var(--ta-concept-bg);
  border-left: 4px solid var(--ta-primary);
  padding: 16px 22px;
  border-radius: 0 8px 8px 0;
  margin: 14px 0;
}
.concept-box h4 { margin: 0 0 8px; color: var(--ta-primary); font-size: 14px; font-weight: 700; }
.concept-box p { margin: 0; font-size: 14px; }

/* 챌린지 박스 (오후) */
.challenge-box {
  background: var(--ta-challenge-bg);
  border-left: 4px solid var(--ta-accent-purple);
  border-radius: 0 8px 8px 0;
  padding: 16px 22px;
  margin: 14px 0;
}
.challenge-box h4 { margin: 0 0 8px; color: var(--ta-accent-purple); font-size: 14px; font-weight: 700; }

/* Tip 박스 */
.tip-box {
  background: var(--ta-tip-bg);
  border-left: 4px solid #F59E0B;
  border-radius: 0 8px 8px 0;
  padding: 14px 22px;
  margin: 14px 0;
  font-size: 13.5px;
}
.tip-box b { color: #92400E; }

/* Steps */
.steps { counter-reset: step; margin: 18px 0; }
.step {
  display: flex; gap: 14px;
  margin: 10px 0;
  padding: 12px 14px;
  border: 1px dashed #D1D5DB;
  border-radius: 8px;
}
.step-num {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--kcc-accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px;
}
.afternoon .step-num { background: var(--ta-primary); }
.step-text { font-size: 13.5px; line-height: 1.6; }

/* 인포 테이블 */
.info-table {
  width: 100%; border-collapse: collapse;
  margin: 16px 0; font-size: 13px;
}
.info-table th, .info-table td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.info-table th {
  background: #F9FAFB;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

/* 오후 섹션 톤 */
.afternoon h2 { color: var(--text); }
.afternoon .hero-card { border-color: #DBEAFE; }
.afternoon .hero-card-img {
  background: #fff;
  border-color: #DBEAFE;
  color: var(--ta-primary);
}
.afternoon .download-btn { background: var(--ta-primary); }
.afternoon .download-btn:hover { background: #0086C3; }

/* ============================================================
   [WHY] 인트로 - AI 교육 타당성 설득 섹션
   ============================================================ */
.why-section {
  margin: 40px 0 60px;
}

/* (1) 큰 질문 박스 */
.why-question {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #fff;
  border-radius: 18px;
  padding: 48px 56px;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 26px;
  align-items: start;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
}
.why-question::before {
  content: '';
  position: absolute;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.22) 0%, transparent 70%);
  top: -120px; right: -100px;
  pointer-events: none;
}
.why-q-mark {
  font-size: 78px;
  font-weight: 900;
  line-height: 1;
  color: #DC2626;
  font-family: 'Georgia', serif;
}
.why-q-body { position: relative; z-index: 1; }
.why-q-text {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 800;
  color: #9CA3AF;
  letter-spacing: 0.02em;
}
.why-q-dot {
  display: inline-block;
  color: #DC2626;
  animation: blink 1.4s ease-in-out infinite;
}
.why-q-dot:nth-child(2) { animation-delay: 0.2s; }
.why-q-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}
.why-q-text2 {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.45;
  color: #fff;
}
.why-q-text2 em {
  font-style: normal;
  background: linear-gradient(180deg, transparent 60%, rgba(220, 38, 38, 0.5) 60%);
  padding: 0 4px;
  color: #FCA5A5;
}
.why-q-audience {
  margin-top: 18px;
  font-size: 13.5px;
  color: #9CA3AF;
  font-style: italic;
}

/* (2) 답변 헤더 */
.why-answers-head {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 48px 0 22px;
  padding: 0 8px;
}
.why-a-mark {
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  color: var(--ta-primary);
  font-family: 'Georgia', serif;
}
.why-a-title {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--text);
}
.why-a-title em {
  font-style: normal;
  color: var(--ta-primary);
  border-bottom: 3px solid var(--ta-primary);
  padding-bottom: 2px;
}

/* (2) 3 답변 카드 */
.why-answers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 44px;
}
.why-answer {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 24px 26px 22px;
  position: relative;
  transition: transform 0.15s, box-shadow 0.15s;
}
.why-answer:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.why-answer.mid {
  border-color: #BAE6FD;
  background: linear-gradient(180deg, #fff 0%, #F0F9FF 100%);
}
.why-answer.hot {
  border-color: #FB923C;
  background: linear-gradient(180deg, #fff 0%, #FFF7ED 100%);
  border-width: 2px;
}
.why-num {
  font-family: 'Georgia', serif;
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  color: rgba(31, 73, 125, 0.12);
  position: absolute;
  top: 12px; right: 18px;
}
.why-answer.hot .why-num { color: rgba(251, 146, 60, 0.22); }
.why-cat {
  display: inline-block;
  padding: 4px 11px;
  background: var(--kcc-basics-bg);
  color: var(--kcc-basics-fg);
  border-radius: 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.why-answer.mid .why-cat {
  background: #DBEAFE; color: #1E40AF;
}
.why-answer.hot .why-cat {
  background: #FED7AA; color: #9A3412;
}
.why-head {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text);
}
.why-body {
  margin: 0 0 14px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-dim);
}
.why-body b { color: var(--text); }
.why-mini {
  font-size: 12px;
  color: var(--text-dim);
  padding: 10px 12px;
  background: rgba(0,0,0,0.025);
  border-radius: 6px;
  border-left: 3px solid var(--ta-primary);
  line-height: 1.6;
}
.why-answer.hot .why-mini { border-left-color: #F97316; }

/* 디스클레이머 박스 (예측 표시) */
.why-disclaimer {
  margin: -20px 0 36px;
  padding: 14px 18px;
  background: #FFFBEB;
  border-left: 3px solid #F59E0B;
  border-radius: 0 8px 8px 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: #78350F;
}
.why-disclaimer b { color: #78350F; }

/* (3) 타임라인 */
.why-timeline {
  background: #F9FAFB;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 30px;
  margin-bottom: 36px;
}
.tl-caption {
  text-align: center;
  font-size: 12.5px;
  color: var(--text-dim);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border);
  letter-spacing: 0.02em;
}
.tl-caption small { color: #B91C1C; font-weight: 600; }
.tl-row {
  display: grid;
  grid-template-columns: 1fr 30px 1fr 30px 1fr 30px 1fr;
  gap: 0;
  align-items: stretch;
  margin-bottom: 24px;
}
.tl-step {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 16px 14px;
  text-align: center;
  position: relative;
}
.tl-step.now {
  border-color: var(--ta-primary);
  background: linear-gradient(180deg, #fff 0%, #EFF6FF 100%);
}
.tl-step.now::after {
  content: 'NOW';
  position: absolute;
  top: -10px;
  left: 50%; transform: translateX(-50%);
  background: var(--ta-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 10px;
  letter-spacing: 0.1em;
}
.tl-step.destination {
  border-color: #F97316;
  background: linear-gradient(180deg, #fff 0%, #FFEDD5 100%);
  border-width: 2px;
}
.tl-step.destination::after {
  content: '🏆';
  position: absolute;
  top: -14px;
  left: 50%; transform: translateX(-50%);
  background: #fff;
  font-size: 18px;
  padding: 0 4px;
}
.tl-year {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}
.tl-year small {
  display: block;
  font-size: 10.5px;
  color: var(--text-dim);
  font-weight: 600;
  margin-top: 2px;
}
.tl-evt {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-dim);
}
.tl-evt b { color: #F97316; font-weight: 800; }
.tl-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--text-dim);
}

/* 타임라인 비교 (오늘 시작 vs 안 시작) */
.tl-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px dashed var(--border);
}
.tl-loser, .tl-winner {
  padding: 16px 18px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.65;
}
.tl-loser {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #7F1D1D;
}
.tl-winner {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #064E3B;
}
.tl-emoji {
  font-size: 28px;
  margin-bottom: 6px;
}
.tl-loser b, .tl-winner b {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}
.tl-loser small, .tl-winner small {
  font-size: 12px;
  opacity: 0.85;
}

/* (4) 행동 CTA */
.why-cta {
  background: linear-gradient(135deg, #F97316 0%, #DC2626 100%);
  color: #fff;
  border-radius: 18px;
  padding: 40px 48px;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 26px;
  align-items: center;
  box-shadow: 0 12px 28px rgba(220, 38, 38, 0.22);
}
.cta-icon {
  font-size: 72px;
  text-align: center;
  line-height: 1;
}
.cta-label {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  opacity: 0.9;
  margin-bottom: 10px;
}
.cta-main {
  margin: 0 0 14px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.45;
}
.cta-main em {
  font-style: normal;
  background: rgba(255,255,255,0.18);
  padding: 0 8px;
  border-radius: 6px;
}
.cta-sub {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.95;
}

/* ── 반응형 ─────────────────────────────────────── */
@media (max-width: 900px) {
  .why-question { grid-template-columns: 1fr; padding: 32px 28px; }
  .why-q-mark { font-size: 56px; }
  .why-q-text { font-size: 20px; }
  .why-q-text2 { font-size: 24px; }
  .why-answers { grid-template-columns: 1fr; }
  .tl-row { grid-template-columns: 1fr; gap: 8px; }
  .tl-arrow { transform: rotate(90deg); padding: 4px 0; }
  .tl-compare { grid-template-columns: 1fr; }
  .why-cta { grid-template-columns: 1fr; padding: 28px 24px; text-align: center; }
  .cta-main { font-size: 22px; }
  .why-answers-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .why-a-mark { font-size: 48px; }
  .why-a-title { font-size: 21px; }
}

/* ── 할루시네이션·오류 케이스 카드 ─────────────────── */
.case-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 14px;
}
.case-card {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid #DC2626;
  border-radius: 12px;
  padding: 18px 20px;
}
.case-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.case-tag {
  display: inline-block;
  padding: 4px 11px;
  background: #FEE2E2;
  color: #B91C1C;
  border-radius: 12px;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.06em;
}
.case-mini {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 600;
}
.case-result {
  margin-top: 12px;
}
.case-line {
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 8px;
  line-height: 1.65;
}
.case-line.wrong {
  background: #FEF2F2;
  border: 1px solid #FECACA;
}
.case-line.right {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
}
.case-line b { display: block; margin-bottom: 4px; font-size: 13px; }
.case-line.wrong b { color: #B91C1C; }
.case-line.right b { color: #15803D; }
.case-line code {
  font-family: 'Consolas', monospace;
  background: #fff;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid var(--border);
  font-size: 12px;
}
.case-takeaway {
  margin-top: 12px;
  padding: 12px 14px;
  background: #FFFBEB;
  border-left: 3px solid #F59E0B;
  border-radius: 0 6px 6px 0;
  font-size: 12.5px;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .case-wrap { grid-template-columns: 1fr; }
}

/* ── 교육 개요 4분할 카드 ─────────────────────────── */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.ov-card {
  background: #F9FAFB;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 16px;
  text-align: center;
}
.ov-ico { font-size: 28px; margin-bottom: 6px; }
.ov-label {
  font-size: 11.5px; letter-spacing: 0.06em;
  color: var(--text-dim); text-transform: uppercase;
  font-weight: 700;
}
.ov-val {
  font-size: 18px; font-weight: 800;
  color: var(--text); margin: 4px 0 2px;
}
.ov-sub { font-size: 12px; color: var(--text-dim); line-height: 1.5; }

/* ── VS 비교 박스 ────────────────────────────────── */
.vs-box {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 0;
  margin: 16px 0 24px;
}
.vs-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 22px 24px;
}
.vs-card.morning-vs { border-color: #BBDEFB; background: #FAFCFF; }
.vs-card.after-vs   { border-color: #DBEAFE; background: #F5FAFF; }
.vs-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.vs-title { margin: 0 0 6px; font-size: 19px; font-weight: 800; }
.vs-line  { margin: 0 0 14px; color: var(--text-dim); font-size: 13.5px; }
.vs-list  { margin: 0; padding-left: 18px; font-size: 13.5px; line-height: 1.9; }
.vs-list b { color: var(--text); }
.vs-divider {
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 900; color: var(--text-dim);
  background: transparent;
}

/* ── 학습 목표 ───────────────────────────────────── */
.lo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}
.lo-col {
  padding: 22px 24px;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.lo-col.morning-lo { background: #FAFCFF; border-color: #BBDEFB; }
.lo-col.after-lo   { background: #FFF8F2; border-color: #FED7AA; }
.lo-head {
  font-weight: 800; font-size: 15px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--border);
}
.lo-col ul { margin: 0; padding-left: 20px; line-height: 1.9; font-size: 13.5px; }

/* ── 준비물 체크리스트 ───────────────────────────── */
.prep-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 10px;
}
.prep-col {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.prep-head {
  margin: 0;
  padding: 12px 18px;
  font-size: 14px; font-weight: 800;
}
.check-list {
  margin: 0;
  padding: 16px 22px 16px 40px;
  list-style: none;
  font-size: 13.5px;
  line-height: 1.7;
}
.check-list li {
  position: relative;
  padding-left: 4px;
  margin-bottom: 10px;
}
.check-list li::before {
  content: '☐';
  position: absolute;
  left: -22px;
  font-size: 16px;
  color: var(--ta-primary);
  font-weight: 700;
}
.check-list b { color: var(--text); }

/* ── 자료실 그리드 ───────────────────────────────── */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 18px;
}
.resource-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
}
.resource-card.highlight {
  background: linear-gradient(135deg, #FFFBEB 0%, #FFF3C7 100%);
  border-color: #F59E0B;
}
.r-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 10px;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.resource-card h4 {
  margin: 0 0 8px;
  font-size: 14.5px;
  font-weight: 700;
}
.resource-card p {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.55;
}

/* ── FAQ ─────────────────────────────────────────── */
.faq-list { margin-top: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 10px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 14.5px;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0; top: -2px;
  font-size: 22px;
  color: var(--ta-primary);
  font-weight: 700;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item[open] summary { color: var(--ta-primary); }
.faq-body {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ── 강사 카드 ───────────────────────────────────── */
.instructor-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  align-items: start;
  background: linear-gradient(135deg, #F9FAFB 0%, #EFF6FF 100%);
  border: 1px solid #DBEAFE;
  border-radius: 14px;
  padding: 24px;
  margin-top: 12px;
}
.ins-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--ta-primary);
  color: #fff;
  font-size: 36px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.ins-body { font-size: 13.5px; }

/* ── 반응형 보완 ────────────────────────────────── */
@media (max-width: 900px) {
  .overview-grid { grid-template-columns: repeat(2, 1fr); }
  .vs-box { grid-template-columns: 1fr; }
  .vs-divider { padding: 10px 0; transform: rotate(90deg); }
  .lo-grid, .prep-grid, .resource-grid { grid-template-columns: 1fr; }
  .instructor-card { grid-template-columns: 1fr; text-align: center; }
  .ins-avatar { margin: 0 auto; }
}

/* 풋터 */
.site-foot {
  margin-top: 80px;
  padding: 30px 0 0;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
}

/* ── 반응형 ────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-card { grid-template-columns: 1fr; }
  .hero-card-img { aspect-ratio: 16/9; }
  .ba-grid, .prompt-compare {
    grid-template-columns: 1fr;
  }
  .ba-arrow, .pc-arrow { transform: rotate(90deg); padding: 8px 0; }
  .timetable { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.25s;
  }
  .sidebar.open { transform: translateX(0); }
  .main { margin-left: 0; }
  .hamburger { display: flex; align-items: center; justify-content: center; }
  .hero { padding: 80px 24px 36px; }
  .hero h1 { font-size: 26px; }
  .main-inner { padding: 24px 18px 60px; }
}
