/* ==========================================
    1. 변수 및 폰트 (Variables & Fonts)
========================================== */
:root { --primary: #0861CB; --primary-hover: #064b9e; --primary-light: #e8f1fb; --primary-transparent: rgba(8, 97, 203, 0.1); --success: #10b981; --success-light: #ecfdf5; --bg-body: #f8fafc; --bg-card: #ffffff; --bg-subtle: #f1f5f9; --text-dark: #0f172a; --text-main: #334155;; --text-muted: #64748b;; --border-light: #D2DBE2; --border-main: #cbd5e1; --border-dark: #94a3b8;; --error-bg: #fee2e2; --error-border: #ef4444; --error-text: #b91c1c; --gradient-progress: linear-gradient(to right, #34d399, #0861CB); --shadow-sm: 0 1px 3px rgba(0,0,0,0.05); --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05); --shadow-focus: 0 0 0 4px rgba(8, 97, 203, 0.15); --radius-md: 0.4rem; --radius-lg: 0.8rem; --radius-xl: 1.4rem; --radius-2xl: 1.6rem; --radius-full: 9999px; 
/* 레벨별 컬러 - 블루 중심의 계열 변주 */
--lv1-bg: #e8f1fb;     --lv1-main: #499bff;    --lv1-text: #1e40af;
--lv2-bg: #ecfdf5;     --lv2-main: #14a670;    --lv2-text: #047857;
--lv3-bg: #e0f2fe;     --lv3-main: #0ea5e9;    --lv3-text: #0369a1;
--lv4-bg: #dbeafe;     --lv4-main: #3b82f6;    --lv4-text: #1e40af;
--lv5-bg: #e0e7ff;     --lv5-main: #6366f1;    --lv5-text: #4338ca;
--lv6-bg: #ddd6fe;     --lv6-main: #8b5cf6;    --lv6-text: #5b21b6;
}
@font-face { font-family: 'Jua'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_one@1.0/BMJUA.woff') format('woff'); font-weight: normal; font-display: swap; }
.font-jua { font-family: 'Jua', sans-serif; font-weight: 400; }

/* ==========================================
    2. 유틸리티 클래스 (Utility Classes)
========================================== */
.d-flex { display: flex; }
.d-inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }
.flex-1 { flex: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.max-w-md { max-width: 57.6rem; }
.max-w-2xl { max-width: 76.8rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.gap-1 { gap: 0.4rem; }
.gap-2 { gap: 0.8rem; }
.gap-3 { gap: 1.2rem; }
.gap-4 { gap: 1.6rem; }
.gap-6 { gap: 2.4rem; }
.gap-8 { gap: 4.8rem; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 0.8rem; }
.mb-3 { margin-bottom: 1.2rem; }
.mb-4 { margin-bottom: 1.6rem; }
.mb-5 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 2.4rem; }
.mb-8 { margin-bottom: 3.2rem; }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: 1.6rem; }
.mx-1 { margin-left: 0.4rem; margin-right: 0.4rem; }
.p-0 { padding: 0; }
.p-3 { padding: 1.2rem; }
.p-6 { padding: 2.4rem; }
.px-2 { padding-left: 0.8rem; padding-right: 0.8rem; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.text-primary { color: var(--primary); }
.text-dark { color: var(--text-dark); }
.text-muted { color: var(--text-muted); }
.text-italic { font-style: italic; }
.text-normal { font-style: normal; }
.text-sm { font-size: 1.4rem; }
.text-base { font-size: 1.6rem; }
.text-lg { font-size: 1.8rem; }
.text-xl { font-size: 2rem; }
.text-2xl { font-size: 2.4rem; }
.word-break-keep { word-break: keep-all; }
.border-none { border: none; }
.bg-transparent { background: transparent; }
.bg-white { background-color: white !important; }
.dashed-divider { border: 0; border-top: 1px dashed var(--border-main); margin: 2.4rem 0; width: 100%; }
.mobile-only-br {display:none;}

/* ==========================================
    3. 공통 UI 컴포넌트 (Components)
========================================== */
/* 헤더 및 레이아웃 */
.app-header { background-color: rgba(255, 255, 255, 0.9); backdrop-filter: blur(4px); border-bottom: 1px solid var(--border-light); position: sticky; top: 0; z-index: 40; box-shadow: var(--shadow-sm); }
.header-inner { max-width: 80.4rem; margin: 0 auto; padding: 0rem 1.6rem; height: 5.6rem; display: flex; align-items: center; justify-content: space-between; }
.logo-group { display: flex; align-items: center; gap: 0.8rem; }
.logo-box { width: 2.8rem; height: 2.8rem; /* background-color: var(--color-life-primary-50); */ color: white; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.4rem; margin-left: 3rem;}
.logo-text { font-weight: 700; color: var(--text-main); font-size: 1.6rem; letter-spacing: -0.025em; }
.app-main { width: 100%; flex: 1; display: flex; flex-direction: column; transition: padding 0.3s ease; }
.eng-wrap { max-width: 80.4rem; margin: 0 auto; padding: 1.6rem 1.6rem 11.2rem; flex: 1; display: flex; flex-direction: column; transition: padding 0.3s ease; }
.bottom-nav { position: fixed; bottom: 0; left: 0; width: 100%; background-color: rgba(255, 255, 255, 0.9); backdrop-filter: blur(8px); border-top: 1px solid var(--border-light); z-index: 40; box-shadow: 0 -4px 6px -1px rgba(0,0,0,0.05); transition: transform 0.3s ease; }
.bottom-nav-inner { max-width: 80.4rem; margin: 0 auto; padding: 0 1.6rem; height: 8rem; display: flex; justify-content: space-between; align-items: center; }

/* 진행바 (Progress) */
.progress-wrapper { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; margin-bottom: 1.6rem; width: 100%; transition: opacity 0.3s ease, height 0.3s ease; }
.step-progress-container { display: flex; width: 100%; max-width: 38.4rem; height: 3.2rem; background-color: var(--bg-card); border-radius: var(--radius-full); overflow: hidden; position: relative; box-shadow: var(--shadow-sm); margin: 0 auto; }
.step-active-bg { position: absolute; top: 0; left: 0; height: 100%; background: linear-gradient(90deg, #10b981, var(--color-life-primary-50)); z-index: 0; transition: width 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.step-item { flex: 1; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.4rem; position: relative; z-index: 1; border-right: 2px solid var(--border-light); transition: color 0.4s ease, border-color 0.4s ease; }
.step-item:last-child { border-right: none; }
.step-item.text-white { color: #ffffff; text-shadow: 0 1px 2px rgba(0,0,0,0.1); border-right-color: rgba(255,255,255,0.3); }
.step-item.text-slate-500 { color: var(--text-muted); }
.progress-text { font-size: 1.2rem; color: var(--text-muted); font-weight: 500; margin-top: 0.4rem; }
.progress-text strong { color: var(--text-dark); font-weight: 700; font-size: 1.6rem; }
.stepper-container { display: flex; align-items: center; justify-content: center; gap: 0.8rem; width: 100%; max-width: 38.4rem; margin: 0 auto; }
.step-pill { flex: 1; padding: 0.56rem 0; text-align: center; border-radius: var(--radius-full); font-size: 1.4rem; font-weight: 800; background-color: var(--border-light); color: var(--text-muted); transition: all 0.3s ease; }
.step-pill.active { background: linear-gradient(90deg, #10b981, var(--primary)); color: white; box-shadow: 0 2px 6px rgba(8, 97, 203, 0.2); }
.step-arrow { width: 1.6rem; height: 1.6rem; color: var(--border-dark); transition: color 0.3s ease; flex-shrink: 0; }
.step-arrow.active { color: var(--primary); }
.detail-progress-track { width: 100%; height: 0.8rem; background-color: var(--border-light); border-radius: var(--radius-full); overflow: hidden; }
.detail-progress-fill { height: 100%; background: linear-gradient(90deg, #10b981, var(--primary)); border-radius: var(--radius-full); transition: width 0.4s ease; }

/* 버튼 및 인풋 (Buttons & Inputs) */
.btn { display: inline-flex; align-items: center; justify-content: center; cursor: pointer; border: none; transition: all 0.2s ease; gap: 0.8rem; font-weight: 700; border-radius: var(--radius-xl); padding: 1.2rem 2rem; font-size: 1.4rem; }
.btn svg { width: 2rem; height: 2rem; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.btn svg.icon-fill { fill: currentColor; stroke: none; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary { background-color: var(--color-life-primary-50); color: white; box-shadow: 0 4px 6px rgba(8,97,203,0.2); }
.btn-primary:focus, .btn-primary:active { background-color: var(--color-life-primary-50); color: white; outline: none; }
.btn-primary:hover:not(:disabled) { background-color: var(--color-life-primary-60); }
.btn-secondary { background-color: white; border: 2px solid var(--border-light); color: var(--text-muted); }
.btn-secondary:focus, .btn-secondary:active { background-color: white; color: var(--text-muted); outline: none; }
.btn-secondary:hover:not(:disabled) { background-color: var(--bg-subtle); color: var(--text-dark); }
.btn-outline { background-color: transparent; color: var(--color-life-primary-50); border: 2px solid var(--color-life-primary-50); }
.btn-outline:hover { background-color: var(--color-life-primary-50); color: white; }
.btn-full { display: flex; width: 100%; }
.btn-xl { padding: 1rem 1.6rem; }
.btn-idk { background: transparent; color: var(--text-muted); text-decoration: underline; text-underline-offset: 4px; padding: 0.8rem 2.4rem; font-size: 1.4rem; border-radius: var(--radius-full); transition: all 0.2s; border: none; cursor: pointer; }
.btn-idk:hover { color: var(--text-dark); background-color: var(--bg-subtle); text-decoration: none; }
.btn-idk.idk-selected { background-color: var(--text-muted); color: white; text-decoration: none; font-weight: 700; }
.btn-close { background: transparent; border: none; color: var(--text-muted); cursor: pointer; padding: 0.8rem; border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; }
.btn-close:hover { background-color: var(--bg-subtle); color: var(--text-dark); }
.btn-close svg { width: 2.4rem; height: 2.4rem; }
.input-a11y { background-color: white; color: var(--text-dark); border-radius: var(--radius-md); font-weight: 700; text-align: left; transition: all 0.2s; padding: 0.4rem 1.2rem; font-size: 1.6rem; width: 9.6rem; margin: 0 0.4rem; }
.input-a11y:focus { border-color: var(--color-life-primary-50); box-shadow: var(--shadow-focus); outline: none; }
.input-inline { display: inline-block; width: 25rem; }
.input-full { width: 100%; flex: 1 1 auto; text-align: left; min-width: 0; height: 5.6rem; padding: 0 2rem; font-size: 1.8rem; border-radius: var(--radius-lg); }
.input-large { height: 5.6rem; padding: 0 2rem; font-size: 1.8rem; border-radius: var(--radius-lg); width: 100%; text-align: center; }

/* 옵션 및 선택 요소 (Options & Media) */
.grid-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; width: 100%; }
.option-item { position: relative; background-color: white; border: 2px solid var(--border-light); border-radius: var(--radius-xl); padding: 1.2rem 1.6rem; display: flex; align-items: center; gap: 1.2rem; cursor: pointer; transition: all 0.2s ease; z-index: 1; }
.option-item:hover:not(.selected) { border-color: var(--border-dark); background-color: var(--bg-subtle); transform: translateY(-2px); }
.option-item.selected { border-color: var(--color-life-primary-50); background-color: var(--primary-light); box-shadow: 0 0 0 1px var(--color-life-primary-50), 0 4px 12px rgba(8, 97, 203, 0.15); transform: translateY(-2px); z-index: 2; }
.option-grid-item { aspect-ratio: 1 / 1; padding: 0 !important; display: flex; align-items: center; justify-content: center; flex-direction: column; overflow: hidden; position: relative; }
.option-text-item { position: relative; background-color: white; border: 2px solid var(--border-light); border-radius: var(--radius-xl); padding: 2.4rem 1.6rem; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s ease; z-index: 1; min-height: 8rem; }
.option-text-item:hover:not(.selected) { border-color: var(--border-dark); background-color: var(--bg-subtle); transform: translateY(-2px); }
.option-text-item.selected { border-color: var(--primary); background-color: var(--primary-light); box-shadow: 0 0 0 1px var(--primary), 0 4px 12px rgba(8, 97, 203, 0.2); transform: translateY(-2px); z-index: 2; }
.opt-pure-text { font-size: 2.8rem; font-weight: 800; color: var(--text-dark); line-height: 1.4; word-break: keep-all; text-align: center; transition: transform 0.3s ease; }
.option-text-item.selected .opt-pure-text { transform: scale(0.95); color: var(--primary); }
.option-grid-item img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; display: block; border-radius: calc(var(--radius-xl) - 2px); transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); }
.option-grid-item.selected img { transform: scale(0.88); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.opt-text-emoji { font-size: 4.8rem; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 0.8rem; text-align: center; word-break: keep-all; overflow-wrap: break-word; box-sizing: border-box; transition: transform 0.3s ease; }
.option-grid-item.selected .opt-text-emoji { transform: scale(0.9); }
.option-grid-item.selected::after, .option-text-item.selected::after { content: ''; position: absolute; top: 0.8rem; right: 0.8rem; width: 2.4rem; height: 2.4rem; background-color: var(--primary); border-radius: 50%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E"); background-size: 1.4rem; background-position: center; background-repeat: no-repeat; box-shadow: 0 2px 4px rgba(0,0,0,0.2); z-index: 10; animation: scaleIn 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.options-text-list { display: flex; flex-direction: column; gap: 1.2rem; }
.options-text-list.col2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.opt-marker { width: 3.2rem; height: 3.2rem; border-radius: var(--radius-full); border: 2px solid var(--border-main); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.4rem; color: var(--text-muted); background-color: var(--bg-subtle); flex-shrink: 0; transition: all 0.2s; }
.option-item.selected .opt-marker { background-color: var(--color-life-primary-50); border-color: var(--color-life-primary-50); color: white; }
.opt-content { flex: 1; min-width: 0; word-break: break-word; }
.opt-text { font-size: 1.725rem; font-weight: 500; color: var(--text-main); transition: color 0.2s; line-height: 1.4; display: block; }
.option-item.selected .opt-text { color: var(--color-life-primary-50); font-weight: 700; }
.media-box{ /* width:300px; */ height:200px; /* border:1px solid #ddd; */ }
.media-box img{ width:100%; height:100%; object-fit:contain; object-position:center; }
/* .media-box { width: 100%; max-width: 16rem; aspect-ratio: 1 / 1; height: auto; margin: 0 auto; background-color: white; border: 1px solid var(--border-light); border-radius: var(--radius-xl); display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; box-shadow: var(--shadow-sm); position: relative; }
.media-box img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; top: 0; left: 0; } */
.media-emoji { font-size: 7.2rem; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.media-text-content { font-size: 2.4rem; font-weight: 800; color: var(--text-dark); text-align: center; word-break: keep-all; overflow-wrap: break-word; line-height: 1.3; padding: 1.6rem; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; box-sizing: border-box; }

/* 오디오, 레이아웃 및 기타 기능 요소 */
.audio-wrapper { display: flex; justify-content: center; width: 100%; margin-bottom: 2.4rem; }
.btn-audio { background-color: var(--text-dark); color: white; border-radius: var(--radius-full); padding: 1.2rem 2.4rem; font-size: 1.6rem; box-shadow: var(--shadow-sm); gap: 0; }
.btn-audio .audio-btn-text:not(:empty) { margin-left: 0.8rem; }
.btn-audio:focus, .btn-audio:active { color: white; }
.btn-audio:hover { background-color: var(--color-life-primary-50); box-shadow: 0 4px 12px rgba(8,97,203,0.3); color: white;}
.btn-audio-sm { padding: 0.8rem 2rem; font-size: 1.4rem; }
.btn-audio-sm svg { width: 2rem; height: 2rem; margin-right: 0.8rem; }
.audio-options-grid { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 2.4rem; }
.audio-icon-marker { border-color: var(--border-light); color: var(--color-life-primary-50); background: var(--bg-subtle); }
.audio-icon-marker svg { width: 2rem; height: 2rem; margin-left: 0.4rem; }
.question-card { background-color: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-2xl); padding: 1.6rem; box-shadow: var(--shadow-sm); flex: 1; display: flex; flex-direction: column; position: relative; transition: all 0.3s ease; }
.question-card.report-mode { background: transparent; border: none; padding: 0; box-shadow: none; }
.question-slide { display: none; flex-direction: column; flex: 1; }
.question-slide.active { display: flex; }
.global-instruction { display: flex; gap: 1.2rem; align-items: center; padding-bottom: 1.6rem; border-bottom: 1px dashed var(--border-main); margin-bottom: 1.6rem; }
.inst-icon { width: 3.6rem; height: 3.6rem; background-color: #10b981; color: white; border-radius: 0.8rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2); }
.inst-icon svg { width: 2rem; height: 2rem; stroke-width: 2.5; }
.inst-text-group { display: flex; flex-direction: column; gap: 0.4rem; }
.inst-title { font-size: 1.8rem; font-weight: 700; color: var(--text-dark); margin: 0; line-height: 1.2; }
.inst-desc { font-size: 1.4rem; font-weight: 500; color: var(--text-muted); margin: 0; }
.q-header { margin-bottom: 2.4rem; display: flex; flex-direction: row; align-items: center; justify-content: space-between; }
.q-badge { background-color: #1e3a8a; color: white; padding: 0.56rem 2rem; border-radius: 9999px; font-weight: 700; font-size: 1.8rem; box-shadow: 0 2px 4px rgba(30, 58, 138, 0.2); letter-spacing: 0.05em; }
.blank-num { display: inline-flex; align-items: center; justify-content: center; background-color: var(--primary-light); color: var(--primary); border: 1px solid rgba(8, 97, 203, 0.4); font-weight: 800; box-shadow: 0 1px 2px rgba(8, 97, 203, 0.1); letter-spacing: 0.05em; border-radius: 9999px; font-size: 1.2rem; padding: 0.32rem 1rem; margin-right: 0.6rem; }
.idk-wrapper { margin-top: 1.6rem; display: flex; justify-content: center; }
.example-box { background-color: var(--primary-light); padding: 2rem 2.4rem; border-radius: var(--radius-lg); border: 1px solid rgba(8, 97, 203, 0.2); width: 100%; text-align: center; }
.example-text { font-size: 2rem; font-weight: 800; color: var(--text-dark); margin: 0; line-height: 1.5; word-break: keep-all; }
.blank-underline { border-bottom: 2px solid var(--primary); display: inline-block; width: 9.6rem; text-align: center; padding-bottom: 0.2rem; margin: 0 0.4rem; color: var(--primary); }
.look-choose-layout { display: flex; flex-direction: column; align-items: center; gap: 2.4rem; margin-bottom: 2.4rem; width: 100%; }
.look-choose-media { width: 12.8rem; height: 12.8rem; background-color: var(--bg-subtle); border: 1px solid var(--border-light); border-radius: var(--radius-xl); display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; box-shadow: var(--shadow-sm); }
.look-choose-media img { width: 100%; height: 100%; object-fit: cover; }
.dialog-container { display: flex; flex-direction: column; gap: 1.2rem; width: 100%; max-width: 76.8rem; margin: 0 auto; }
.row-box { background-color: var(--bg-subtle); border: 1px solid var(--border-light); border-radius: var(--radius-xl); padding: 1.6rem; display: flex; flex-direction: column; gap: 0.8rem; align-items: flex-start; }
.speaker-badge { background-color: var(--primary-transparent); color: var(--color-life-primary-50); font-weight: 700; padding: 0.4rem 1.2rem; border-radius: var(--radius-md); font-size: 1.4rem; }
.speaker-badge-trans { background: var(--primary-transparent); border: none; width: auto; text-align: center; }
.row-content { font-size: 1.6rem; font-weight: 500; line-height: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; color: var(--text-dark); flex: 1; }
.passage-box { background-color: var(--bg-subtle); border: 1px solid var(--border-light); padding: 2.4rem; border-radius: var(--radius-xl); margin-bottom: 2.4rem; }
.passage-text { font-size: 1.8rem; line-height: 1.8; color: var(--text-dark); font-weight: 500; }
.question-highlight { font-size: 1.6rem; font-weight: 700; color: var(--color-life-primary-50); display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.6rem; }
.question-highlight-bar { width: 0.4rem; height: 2rem; background-color: var(--color-life-primary-50); border-radius: var(--radius-full); }
.story-passage-box { background-color: var(--bg-subtle); border: 1px solid var(--border-light); border-left: 4px solid var(--color-life-primary-50); padding: 2.4rem; border-radius: 0 var(--radius-xl) var(--radius-xl) 0; }
.unscramble-layout { display: flex; flex-direction: column; align-items: center; width: 100%; gap: 2.4rem; }
.unscramble-input-group { display: flex; align-items: flex-end; justify-content: center; gap: 0.8rem; width: 100%; }
.unscramble-dot { font-size: 4rem; font-weight: 900; color: var(--text-dark); flex-shrink: 0; line-height: 1; margin-top: 0.8rem; }
.word-box-label { font-size: 1.4rem; font-weight: 700; color: var(--primary); opacity: 0.6; text-transform: uppercase; margin-right: 0.8rem; }
.word-box-container { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.8rem; background-color: var(--primary-transparent); padding: 1.6rem; border-radius: var(--radius-xl); border: 1px solid rgba(8,97,203,0.1); width: 100%; }
.word-chip { background-color: white; border: 2px solid rgba(8,97,203,0.3); color: var(--color-life-primary-50); font-weight: 700; padding: 0.6rem 1.2rem; border-radius: var(--radius-full); box-shadow: var(--shadow-sm); font-size: 1.4rem; }
.word-chip.chip-selected { opacity: 0.35; }
.error-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.4rem; background-color: var(--bg-subtle); padding: 2.4rem; border-radius: var(--radius-2xl); border: 1px solid var(--border-light); width: 100%; }
.error-word { display: flex; flex-direction: column; gap: 0.8rem; cursor: pointer; border-bottom: 3px dashed var(--border-main); padding-bottom: 0.4rem; padding-left: 0.8rem; padding-right: 0.8rem; transition: all 0.2s; align-items: center; position: relative; }
.err-num { width: 2.8rem; height: 2.8rem; border-radius: var(--radius-full); background-color: var(--border-light); display: flex; align-items: center; justify-content: center; font-weight: bold; color: var(--text-muted); transition: all 0.2s; font-size: 1.4rem; }
.err-text { font-size: 2rem; font-weight: 700; color: var(--text-dark); transition: color 0.2s; }
.error-word:hover:not(.error-selected) { border-bottom-color: var(--color-life-primary-50); background-color: var(--primary-light); border-radius: 0.4rem 0.4rem 0 0; }
.error-word:hover:not(.error-selected) .err-num { background-color: var(--primary-transparent); color: var(--color-life-primary-50); transform: translateY(-2px); }
.error-word.error-selected { border-bottom-style: solid; border-bottom-color: var(--error-border); background-color: var(--error-bg); border-radius: 0.4rem 0.4rem 0 0; box-shadow: inset 0 -3px 0 var(--error-border); transform: translateY(-2px); }
.error-word.error-selected .err-num { background-color: var(--error-border); color: white; transform: translateY(-2px); box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2); }
.error-word.error-selected .err-text { color: var(--error-text); }
.order-row { flex-wrap: nowrap; align-items: center; }
.order-row .row-content { display: block; min-width: 0; white-space: normal; }
.order-num-box { width: auto; min-width: 4rem; flex-shrink: 0; display: flex; justify-content: center; align-items: center; margin-right: 0.8rem; }
.order-num-box .blank-num { margin-right: 0; }
.order-badge { background-color: var(--color-life-primary-50); color: white; font-weight: bold; padding: 0.4rem 0.8rem; border-radius: var(--radius-md); font-size: 1.2rem; }
.order-select-box { width: 7.2rem; flex-shrink: 0; margin-right: 0.8rem; }
.order-select { width: 100%; height: 4rem; appearance: none; background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2364748b%22%20stroke-width%3D%222.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E"); background-repeat: no-repeat; background-position: right 0.8rem center; background-size: 1.6rem; padding-right: 2.4rem; padding-left: 0.8rem; border-radius: var(--radius-lg); font-size: 1.6rem; margin: 0; }
.order-fixed { width: 100%; height: 4rem; display: flex; align-items: center; justify-content: center; background-color: var(--bg-subtle); border: 1px solid var(--border-light); border-radius: var(--radius-lg); color: var(--color-life-primary-50); font-weight: bold; font-size: 1.6rem; }
.story-word-group { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; justify-content: center; }
.story-word { font-weight: 700; color: var(--color-life-primary-50); font-size: 1.6rem; letter-spacing: 0.025em; }
.story-divider { color: rgba(8,97,203,0.2); font-size: 2rem; }

/* ==========================================
    4. 특정 페이지 및 섹션 영역 (Page Sections)
========================================== */
/* 공통 콘텐츠 래퍼 */
.section-wrap { max-width: 1200px; margin: 0 auto; padding: 9.6rem 2.4rem 5rem; position: relative; z-index: 5; }
.sec-title { text-align: center; font-size: 4.8rem; color: #1E293B; margin-bottom: 1.6rem; }
.sec-title span { color: #FF595E; }
.sec-desc { text-align: center; font-size: 2rem; color: #334155;; margin-bottom: 6.4rem; font-weight: 600; word-break: keep-all; }

/* 메인 히어로 (Kids Hero) */
.kids-hero { position: relative; background: linear-gradient(180deg, #42A5F5 0%, #1E88E5 100%); display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 10rem 2.4rem 10rem; overflow: hidden; text-align: center; z-index: 1; }
.bg-cloud { position: absolute; left: 0; background: #ffffff; border-radius: 100px; z-index: 1; animation: moveClouds linear infinite; box-shadow: 0 10px 20px rgba(0,0,0,0.05); will-change: transform; }
.bg-cloud::before { content: ''; position: absolute; background: #ffffff; border-radius: 50%; top: -20px; left: 15%; width: 60px; height: 60px; }
.bg-cloud::after { content: ''; position: absolute; background: #ffffff; border-radius: 50%; top: -30px; right: 15%; width: 80px; height: 80px; }
.cloud-1 { width: 140px; height: 50px; top: 8%; animation-duration: 40s; animation-delay: -5s; transform: scale(1.2); }
.cloud-2 { width: 160px; height: 60px; top: 85%; animation-duration: 55s; animation-delay: -25s; /* opacity: 0.8; */ transform: scale(0.8); }
.cloud-3 { width: 120px; height: 45px; bottom: 30%; animation-duration: 35s; animation-delay: -15s; }
.floating-circle { position: absolute; border-radius: 50%; z-index: 2; opacity: 0.9; animation: floatToy 6s infinite alternate ease-in-out; box-shadow: 0 4px 8px rgba(0,0,0,0.05); }
.fc-1 { width: 24px; height: 24px; background-color: #FFD93D; top: 15%; left: 12%; animation-delay: 0s; }
.fc-2 { width: 18px; height: 18px; background-color: #FF595E; top: 25%; right: 18%; animation-delay: -1s; }
.fc-3 { width: 32px; height: 32px; background-color: #10B981; bottom: 40%; left: 18%; animation-delay: -2s; }
.fc-4 { width: 20px; height: 20px; background-color: #ffffff; top: 40%; right: 28%; animation-delay: -3s; }
.fc-5 { width: 28px; height: 28px; background-color: #FFD93D; bottom: 50%; right: 12%; animation-delay: -4s; }
.fc-6 { width: 16px; height: 16px; background-color: #FF595E; /* top: 12%; */ right: 45%; animation-delay: -1.5s; }
.fc-7 { width: 22px; height: 22px; background-color: #ffffff; bottom: 25%; left: 8%; animation-delay: -2.5s; }
.fc-8 { width: 14px; height: 14px; background-color: #10B981; top: 50%; left: 5%; animation-delay: -3.5s; }
.hero-content { position: relative; z-index: 10; max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; animation: bounceIn 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }
.hero-title { font-size: 12rem; line-height: 1; letter-spacing: -0.02em; display: flex; flex-direction: row; justify-content: center; align-items: center; flex-wrap: wrap; gap: 1.6rem; }
.title-yellow { color: #FFD93D; text-shadow: 0 6px 0px #D4A000, 0 12px 20px rgba(0,0,0,0.15); }
.title-white { color: #ffffff; text-shadow: 0 6px 0px #a1afc1, 0 12px 20px rgba(0,0,0,0.15); }
.hero-subtitle { font-size: 3.4rem; color: #ffffff; font-weight: 700; line-height: 1.5; margin-bottom: 1.4rem; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); }
.hero-desc { font-size: 1.8rem; color: rgba(255, 255, 255, 0.95); font-weight: 500; margin-bottom: 3.8rem; line-height: 1.6; }
.btn-coral { background-color: #FF595E; color: white; font-size: 2.4rem; padding: 1.6rem 4rem; border-radius: 16px; border: none; cursor: pointer; box-shadow: 0 6px 0px #D9383E, 0 12px 20px rgba(255, 89, 94, 0.3); transition: all 0.1s ease; position: relative; top: 0; letter-spacing: 0.05em; display: inline-flex; align-items: center; gap: 1rem; }
.btn-coral:hover { transform: translateY(-2px); box-shadow: 0 8px 0px #D9383E, 0 16px 24px rgba(255, 89, 94, 0.4); }
.btn-coral:active { top: 6px; transform: translateY(0); box-shadow: 0 0px 0px transparent; }
.btn-coral-arrow { display: flex; align-items: center; justify-content: center; width: 2.8rem; height: 2.8rem; background: rgba(255,255,255,.2); border-radius: 50%; flex-shrink: 0; animation: btnArrowBounce 1.4s ease-in-out infinite; }
.btn-coral-arrow svg { width: 1.8rem; height: 1.8rem; }
@keyframes btnArrowBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }
.hero-graphic { position: relative; z-index: 5; margin-top: 4.8rem; display: flex; flex-direction: column; align-items: center; }
.graphic-img-main { width: 100%; max-width: 600px; height: auto; object-fit: contain; z-index: 10; position: relative; filter: drop-shadow(0 15px 30px rgba(0,0,0,0.15)); }
.clouds-bottom { position: absolute; bottom: -5px; left: 0; width: 100%; height: 25vw; max-height: 400px; object-position: center bottom; z-index: 10; pointer-events: none; }

/* Welcome Hero & 성취평가 (Dashboard 상단) */
.welcome-hero { position: relative; background: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 100%); border: 1px solid #bae6fd; border-radius: var(--radius-2xl); padding: 3.2rem 2.4rem; display: flex; flex-direction: column; gap: 4rem; margin-bottom: 4.8rem; box-shadow: inset 0 2px 4px rgba(255,255,255,0.7); overflow: hidden; }
.welcome-hero::before { content: ''; position: absolute; top: -30%; right: -10%; width: 60%; height: 120%; background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 60%); z-index: 0; pointer-events: none; }
.welcome-text-wrap { position: relative; z-index: 10; display: flex; flex-direction: column; color: var(--text-dark); }
.welcome-badge-group { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.6rem; }
.badge-mint { background-color: var(--color-life-primary-50); color: white; padding: 0.56rem 1.4rem; border-radius: var(--radius-full); font-size: 1.2rem; font-weight: 700; letter-spacing: 0.05em; box-shadow: 0 2px 4px rgba(8,97,203,0.2); }
.badge-info { font-size: 1.4rem; font-weight: 700; color: var(--color-life-primary-50); display: flex; align-items: center; gap: 0.4rem;}
.badge-info svg { width: 1.8rem; height: 1.8rem; }
.welcome-title { font-size: 3.6rem; font-weight: 800; line-height: 1.3; margin: 0 0 1.2rem 0; word-break: keep-all; letter-spacing: -0.02em; color: #0f172a; }
.welcome-desc { font-size: 1.5rem; font-weight: 500; color: #334155;; margin: 0 0 2.4rem 0; line-height: 1.6; word-break: keep-all; max-width: 44.8rem; }
.welcome-features { display: flex; flex-wrap: wrap; gap: 1.2rem; list-style: none; padding: 0; margin: 0; }
.welcome-features li { display: flex; align-items: center; gap: 0.6rem; font-size: 1.3rem; font-weight: 700; color: var(--color-life-primary-50); background: white; padding: 0.8rem 1.6rem; border-radius: var(--radius-full); border: 1px solid #bae6fd; box-shadow: 0 1px 2px rgba(0,0,0,0.02); }
.welcome-features svg { width: 1.6rem; height: 1.6rem; stroke-width: 2.5; }
.welcome-status-card { position: relative; z-index: 10; background: white; border-radius: var(--radius-xl); padding: 2.4rem; width: 100%; box-shadow: 0 20px 25px -5px rgba(8, 97, 203, 0.1), 0 10px 10px -5px rgba(8, 97, 203, 0.04); display: flex; flex-direction: column; border: 1px solid rgba(8,97,203,0.05); }
.ws-header { margin-bottom: 2rem; display: flex; align-items: center; gap: 0.8rem; }
.ws-title { font-size: 1.8rem; font-weight: 700; color: var(--text-dark); margin: 0; }
.ws-body { display: flex; justify-content: space-between; background: var(--bg-subtle); border-radius: var(--radius-lg); padding: 2rem; margin-bottom: 2rem; border: 1px solid var(--border-light); }
.ws-item { display: flex; flex-direction: column; gap: 0.4rem; text-align: center; flex: 1; }
.ws-label { font-size: 1.4rem; font-weight: 600; color: var(--text-muted); letter-spacing: -0.02em; }
.ws-value { font-size: 2rem; font-weight: 800; color: var(--text-dark); }
.ws-value.mint { color: var(--color-life-primary-50); }
.ws-divider { width: 1px; background-color: var(--border-main); opacity: 0.5; margin: 0 0.8rem; }
.ws-footer { display: flex; flex-direction: column; gap: 1.2rem; }
.ws-alert { font-size: 1.4rem; color: var(--text-muted); margin: 0; display: flex; align-items: center; justify-content: center; gap: 0.6rem; font-weight: 500; }
.ws-alert svg { width: 1.6rem; height: 1.6rem; color: var(--color-life-primary-50); }
.ws-alert strong { color: var(--text-dark); font-weight: 700; }

/* 평가 카드 (Eval Grid) */
.eval-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.eval-card { background-color: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-2xl); overflow: hidden; box-shadow: var(--shadow-sm); transition: all 0.3s ease; display: flex; flex-direction: column; position: relative; }
.eval-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-main); }
.eval-card-header { padding: 2.4rem 2.4rem 2rem 2.4rem; display: flex; flex-direction: column; flex: 1; }
.lvl-badge { display: inline-flex; padding: 0.4rem 1.2rem; border-radius: var(--radius-full); font-size: 1.4rem; font-weight: 700; align-self: flex-start; margin-bottom: 1.2rem; letter-spacing: 0.05em; }
.lvl-1 { background-color: #e0f2fe; color: #0284c7; }
.lvl-2 { background-color: #dcfce7; color: #059669; }
.lvl-3 { background-color: #fef3c7; color: #d97706; }
.lvl-4 { background-color: #ffe4e6; color: #e11d48; }
.lvl-5 { background-color: #f3e8ff; color: #7c3aed; }
.lvl-6 { background-color: #fce7f3; color: #db2777; }
.eval-card-title { font-size: 2rem; font-weight: 700; color: var(--text-dark); margin: 0 0 0.8rem 0; line-height: 1.3; }
.eval-card-desc { font-size: 1.4rem; color: var(--text-main); margin: 0; line-height: 1.5; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.eval-card-meta { background-color: var(--bg-subtle); padding: 2rem 2.4rem; display: flex; flex-direction: column; gap: 1.2rem; border-top: 1px solid var(--border-light); }
.meta-data-group { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.meta-data-label { font-size: 1.3rem; color: var(--text-muted); font-weight: 600; }
.meta-data-value { font-size: 1.4rem; font-weight: 700; color: var(--text-dark); white-space: nowrap; }
.eval-card-action { padding: 2rem 2.4rem; background-color: var(--bg-card); border-top: 1px dashed var(--border-light); }

/* eval-card 버튼 레벨별 색상 */
.eval-card:has(.lvl-1) .btn-eval-start { background-color: #0284c7; color: white; border-color: #0284c7; }
.eval-card:has(.lvl-1) .btn-eval-start:hover,
.eval-card:has(.lvl-1) .btn-eval-start:focus { filter: brightness(0.88); }

.eval-card:has(.lvl-2) .btn-eval-start { background-color: #059669; color: white; border-color: #059669; }
.eval-card:has(.lvl-2) .btn-eval-start:hover,
.eval-card:has(.lvl-2) .btn-eval-start:focus { filter: brightness(0.88); }

.eval-card:has(.lvl-3) .btn-eval-start { background-color: #d97706; color: white; border-color: #d97706; }
.eval-card:has(.lvl-3) .btn-eval-start:hover,
.eval-card:has(.lvl-3) .btn-eval-start:focus { filter: brightness(0.88); }

.eval-card:has(.lvl-4) .btn-eval-start { background-color: #e11d48; color: white; border-color: #e11d48; }
.eval-card:has(.lvl-4) .btn-eval-start:hover,
.eval-card:has(.lvl-4) .btn-eval-start:focus { filter: brightness(0.88); }

.eval-card:has(.lvl-5) .btn-eval-start { background-color: #7c3aed; color: white; border-color: #7c3aed; }
.eval-card:has(.lvl-5) .btn-eval-start:hover,
.eval-card:has(.lvl-5) .btn-eval-start:focus { filter: brightness(0.88); }

.eval-card:has(.lvl-6) .btn-eval-start { background-color: #db2777; color: white; border-color: #db2777; }
.eval-card:has(.lvl-6) .btn-eval-start:hover,
.eval-card:has(.lvl-6) .btn-eval-start:focus { filter: brightness(0.88); }

/* 앱 소개 (Intro) */
.khan-container { display: flex; align-items: center; gap: 5rem; max-width: 1100px; margin: 0 auto; padding: 2rem; }
.khan-card { flex: 1; background: linear-gradient(135deg, #208be7 0%, #1c5bad 100%); border-radius: 24px; padding: 4rem 3rem; text-align: center; color: white; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); }
/* .card-logo { background: white; width: 80px; height: 80px; border-radius: 20px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 2rem; box-shadow: 0 4px 12px rgba(0,0,0,0.1); } */
.khan-qr { width:8rem; height:8rem; align-self: center;}



.card-logo { width: 160px; height: 160px; border-radius: 28px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 2rem; box-shadow: 0 8px 24px rgba(0,0,0,0.18); overflow: hidden; }
.card-logo span { display: flex; width: 100%; height: 100%; }
.card-logo img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; }

.khan-card h3 { font-size: 2.8rem; font-weight: 800; margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.card-subtitle { font-size: 1.6rem; opacity: 0.8; margin-bottom: 3.5rem; font-weight: 500; }
.card-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.card-stat-item { background: rgba(255, 255, 255, 0.15); border-radius: 16px; padding: 2rem 1.5rem; backdrop-filter: blur(5px); transition: transform 0.2s ease; }
.card-stat-item:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.2); }
.card-stat-item h4 { font-size: 2.8rem; font-weight: 400; margin-bottom: 0.6rem; }
.card-stat-item p { font-size: 1.4rem; opacity: 0.9; margin: 0; word-break: keep-all; }
.khan-content { flex: 1.2; display: flex; flex-direction: column; gap: 2.4rem; }
.content-title { font-size: 4.8rem; font-weight: 400; line-height: 1.2; color: #111827; letter-spacing: -0.02em; margin: 0; }
.content-title span { color: #1A73E8; }
.content-desc { font-size: 1.6rem; color: #4B5563; line-height: 1.6; }
.content-desc p { margin: 0; word-break: keep-all; }
.notice-box { display: grid; background: #F0F4FA; border-radius: 12px; padding: 1.6rem 2rem; color: #1E40AF;}
.item-12 { grid-column: 1 / 3; grid-row: 1; display: flex; gap: 1rem;} /* 1~2열  1 2 3 */
.item-12 strong { font-size: 1.8rem !important; }
.item-36 { grid-column: 3; grid-row: 1 / 3; display: flex; align-items: center; justify-content: center; margin-left:1rem;} /* 1~2행  4 5 6 */
.item-45 { grid-column: 1 / 3; grid-row: 2; color: #ffffff;} /* 1~2열 */
/*.notice-box { display: flex; align-items: flex-start; gap: 3rem;}*/
.notice-box svg { width: 2rem; height: 2rem; flex-shrink: 0; margin-top: 0.2rem; }
.notice-box p { font-size: 1.4rem; margin: 0; line-height: 1.4; font-weight: 500; }
.notice-box-text{display: flex; align-items: flex-start; gap: 1.2rem; flex: 1;}
.notice-box strong { font-weight: 700; color: #1D4ED8; }
.item-45 strong { font-weight: 700; color: #ffffff; }
.notice-box-second { background: #FFFFFF; border-radius: 12px; padding: 1.6rem 2rem; display: flex; align-items: flex-start; gap: 0.1rem; color: #111827; margin-top: -2rem;}
.notice-box-second-item { display: flex; flex-direction: column; flex: 1; align-items: flex-start;}
.item-12-second { display: flex; gap: 1rem; margin-bottom: 0.5rem;}
.item-12-second p { font-size: 1.8rem !important; }
.notice-box-second svg { width: 2rem; height: 2rem; flex-shrink: 0; margin-top: 0.2rem; }
.notice-box-second p { font-size: 1.4rem; margin: 0; line-height: 1.4; font-weight: 500; }
.notice-box-second-text{display: flex; align-items: flex-start; gap: 1.2rem;flex: 1;}
.notice-box-second strong { font-weight: 700; color: #111827; }
.download-btns { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-top: 1rem; }
.btn-download { background: #111827; color: white; display: flex; align-items: center; gap: 1rem; padding: 1.2rem 2rem; border-radius: 12px; text-decoration: none; transition: background 0.2s, transform 0.2s; }
.btn-download:hover { background: #374151; transform: translateY(-2px); }
.btn-download svg { width: 2.8rem; height: 2.8rem; fill: white; }
.btn-down-text { text-align: left; }
.btn-down-text small { display: block; font-size: 1.1rem; color: #9CA3AF; margin-bottom: 0.2rem; }
.btn-down-text strong { display: block; font-size: 1.4rem; font-weight: bold; line-height: 1.2; }

.aos { opacity: 0; transform: translateY(40px); transition: opacity .7s ease, transform .7s ease; }
.aos.visible, .aos.active { opacity: 1; transform: translateY(0); }
.aos-slide-left { opacity: 0; transform: translateX(-50px); transition: opacity .8s ease, transform .8s ease; will-change: opacity, transform; }
.aos-slide-left.visible, .aos-slide-left.active { opacity: 1; transform: translateX(0); }
.aos-slide-right { opacity: 0; transform: translateX(50px); transition: opacity .8s ease, transform .8s ease; }
.aos-slide-right.visible, .aos-slide-right.active { opacity: 1; transform: translateX(0); }

/* 3단계 시작 방법 (Steps) */
.step-section-wrapper { background-color: #E8F2FF; border-radius: 60px; padding: 9.6rem 3.2rem; margin: 0 auto 6.4rem; max-width: 1200px; box-shadow: inset 0 0 0 8px rgba(255,255,255,0.7), 0 20px 40px rgba(0,0,0,0.03); position: relative; overflow: hidden; }
.step-bg-dec { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.4); z-index: 0; }
.s-dec-1 { width: 300px; height: 300px; top: -100px; left: -100px; }
.s-dec-2 { width: 200px; height: 200px; bottom: -50px; right: -50px; }
.train-container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; max-width: 1200px; margin: 0 auto 3.2rem auto; position: relative; z-index: 10; }
.train-step { display: flex; flex-direction: column; align-items: flex-start; background: #ffffff; border-radius: 24px; padding: 3.2rem 1.8rem; box-shadow: 0 10px 30px rgba(0,0,0,0.04); border: none; transition: transform 0.3s ease, box-shadow 0.3s ease; min-height: 40rem; }
.train-step:hover { transform: translateY(-8px); box-shadow: 0 16px 40px rgba(0,0,0,0.08); }
.step-badge { order: 1; align-self: center; font-weight: 800; padding: 0.6rem 1.8rem; border-radius: 30px; margin-bottom: 2.4rem; letter-spacing: 0.05em; }
.step-3d-icon { order: 2; width: 88px; height: 88px; border-radius: 24px; align-self: center; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-bottom: 2rem; transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.train-info { order: 3; text-align: left; width: 100%; }
.train-step.d-1 .step-badge { background: #FFEDE6; color: #E64A19; }
.train-step.d-2 .step-badge { background: #f8f1e0; color: #a67d00; }
.train-step.d-3 .step-badge { background: #E8F0FE; color: #1A73E8; }
.train-step.d-4 .step-badge { background: #E6F4EA; color: #1E8E3E; }
.train-step:hover .step-3d-icon { transform: scale(1.1) rotate(10deg); }
.step-3d-icon svg { width: 48px; height: 48px; color: #fff; fill: #fff; }
/* .icon-quiz { background: linear-gradient(135deg, #FF9A9E 0%, #FF595E 100%); }
.icon-app { background: linear-gradient(135deg, #FFE259 0%, #FFA751 100%); }
.icon-play { background: linear-gradient(135deg, #4FACFE 0%, #00F2FE 100%); } */
.train-info h3 { font-size: 2.2rem; color: #111827; margin-bottom: 1rem; font-weight: 400; line-height: 1.45; word-break: keep-all; text-align: center; }
.train-info p { font-size: 1.45rem; color: #6B7280; padding: 0 1rem 0 1rem; line-height: 1.8; word-break: keep-all; text-align: center; }
.train-info p.train-b { font-weight: 600; font-size: 1.45rem; margin-bottom: 0.6rem; color: #444d61;}
.bottom-notice-box { max-width: 1200px; margin: 0 auto; border-radius: 16px; padding: 1.4rem; display: flex; align-items: center; justify-content: center; gap: 1.2rem; }
.notice-icon { font-size: 2.4rem; line-height: 1; }
.bottom-notice-box p { font-size: 1.6rem; color: #4B5563; margin: 0; font-weight: 500; }
.bottom-notice-box svg { width: 2rem; height: 2rem; flex-shrink: 0; margin-top: 0.2rem; }
.bottom-notice-box strong { font-weight: 700; color: #1F2937; }

/* 레벨 테스트 소개 (Playground) */
.s-level-inner { max-width: 900px; margin: 0 auto; position: relative; }
.bouncy-dec { position: absolute; font-size: 4.8rem; filter: drop-shadow(0 8px 16px rgba(0,0,0,0.1)); animation: floatToy 4s infinite alternate; }
.bd-1 { top: -30px; left: -20px; animation-delay: 0s; font-size: 6.4rem; }
.bd-2 { bottom: -20px; right: -20px; animation-delay: -2s; font-size: 7.2rem; }
.playground-title { font-size: 4.8rem; color: #1E293B; margin-bottom: 1.6rem; letter-spacing: -0.02em; }
.playground-desc { font-size: 2rem; color: #334155;; margin-bottom: 6.4rem; font-weight: 500; }
.pg-feat-panel { background: white; border-radius: 32px; border: 4px solid #E2E8F0; box-shadow: 0 16px 32px rgba(0,0,0,0.06); display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 6.4rem; overflow: hidden; max-width: 800px; margin-left: auto; margin-right: auto; }
.pg-feat-item { padding: 4rem 2rem; display: flex; flex-direction: column; align-items: center; position: relative; transition: background 0.3s; }
.pg-feat-item:hover { background: #F8FAFC; }
.pg-feat-item:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 15%; height: 70%; width: 2px; background: dashed 2px #E2E8F0; }
.pg-3d-icon { width: 80px; height: 80px; border-radius: 20px; display: flex; align-items: center; justify-content: center; margin-bottom: 2rem; border: 4px solid white; box-shadow: inset 0 -6px 0 rgba(0,0,0,0.15), 0 12px 20px rgba(0,0,0,0.1); transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.pg-feat-item:hover .pg-3d-icon { transform: translateY(-8px) scale(1.05); }
.pg-3d-icon.time { background: linear-gradient(135deg, #4FACFE 0%, #00F2FE 100%); }
.pg-3d-icon.level { background: linear-gradient(135deg, #43E97B 0%, #38F9D7 100%); }
.pg-3d-icon.retry { background: linear-gradient(135deg, #FA709A 0%, #FEE140 100%); }
.pg-3d-icon svg { width: 40px; height: 40px; stroke: white; }
.pg-feat-text { font-size: 2.2rem; font-weight: 800; color: #1E293B; margin-bottom: 0.8rem; line-height: 1.2; }
.pg-feat-sub { font-size: 1.4rem; color: #64748b;; font-weight: 600; word-break: keep-all; line-height: 1.4; }
.btn-giant-start { background: #FF595E; color: white; font-size: 3.2rem; font-weight: 800; padding: 2.4rem 8rem; border-radius: 100px; display: inline-flex; align-items: center; gap: 1.6rem; box-shadow: 0 12px 0 #D9383E, 0 24px 32px rgba(255, 89, 94, 0.4); transition: all 0.2s; text-decoration: none; position: relative; top: 0; letter-spacing: -0.02em; }
.btn-giant-start:active { top: 12px; box-shadow: 0 0 0 transparent; }

/* 단계별 가이드 (Guide) */
.s-guide { margin-bottom: 9.6rem; }
.guide-clean-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3.2rem; max-width: 1200px; margin: 0 auto; }
.guide-clean-card { background: white; border-radius: 40px; padding: 4.8rem 3.2rem; display: flex; flex-direction: column; align-items: center; text-align: left; box-shadow: 0 16px 32px rgba(0,0,0,0.04); border: 4px solid #E2E8F0; transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s ease, box-shadow 0.3s ease; height: 100%; will-change: transform; }
.guide-clean-card:hover { transform: translateY(-12px); box-shadow: 0 24px 48px rgba(0,0,0,0.1); }
.guide-clean-card:nth-child(1):hover { border-color: #2196F3; }
.guide-clean-card:nth-child(2):hover { border-color: #10B981; }
.guide-clean-card:nth-child(3):hover { border-color: #FF595E; }
.gc-step-label { font-size: 2.8rem; font-family: 'Nunito', 'Pretendard', sans-serif; font-weight: 900; letter-spacing: 2px; margin-bottom: 1.6rem; }
.guide-clean-card:nth-child(1) .gc-step-label { color: #2196F3; }
.guide-clean-card:nth-child(2) .gc-step-label { color: #10B981; }
.guide-clean-card:nth-child(3) .gc-step-label { color: #FF595E; }
.gc-icon-large { font-size: 7.2rem; margin-bottom: 2.4rem; filter: drop-shadow(0 8px 12px rgba(0,0,0,0.05)); transition: transform 0.3s; }
.guide-clean-card:hover .gc-icon-large { transform: scale(1.15) rotate(10deg); }
.gc-clean-title { font-size: 3.6rem; color: #1E293B; margin-bottom: 1.6rem; word-break: keep-all; line-height: 1.2; margin-top: 2.4rem; }
.gc-clean-sub { font-size: 1.8rem; color: #334155; font-weight: 600; margin-bottom: 3.2rem; word-break: keep-all; line-height: 1.5; flex: 1; text-align: center; }
.gc-clean-badges { display: flex; gap: 0.8rem; margin-bottom: 4.8rem; justify-content: flex-start; flex-wrap: wrap; }
.gc-clean-badge { background: #F8FAFC; border: 1px solid #E2E8F0; color: #334155;; padding: 1rem 2rem; border-radius: 0.6rem; font-size: 1.5rem; font-weight: 700; display: flex; align-items: center; gap: 0.8rem; box-shadow: 0 4px 8px rgba(0,0,0,0.02); }
.btn-gc-link { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 0.8rem; font-size: 2rem; font-weight: 800; color: white; padding: 2rem 2.4rem; border-radius: 50px; text-decoration: none; transition: all 0.2s; box-shadow: 0 8px 16px rgba(0,0,0,0.1); margin-top: auto; }
.btn-gc-link:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.15); }
.guide-clean-card:nth-child(1) .btn-gc-link { background: #2196F3; }
.guide-clean-card:nth-child(2) .btn-gc-link { background: #10B981; }
.guide-clean-card:nth-child(3) .btn-gc-link { background: #FF595E; }
.guide-clean-card img { height: 14rem; }

/* 가이드 포털 (Guide Portal) */
.top-main-tabs { display: flex; gap: 1rem; justify-content: center; margin: 4rem auto 0; max-width: 1040px; flex-wrap: wrap; padding: 0 1.6rem; }
.top-main-tab { padding: 1.2rem 2.4rem; font-size: 1.6rem; font-weight: 800; border-radius: 100px; background: #f1f5f9; color: #64748b;; cursor: pointer; transition: all 0.2s; border: none; }
.top-main-tab.active { background: #0f172a; color: white; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.guide-tab-content { display: none; animation: fadeIn 0.4s ease forwards; }
.guide-tab-content.active { display: block; }
.gp-header { display: flex; justify-content: space-between; align-items: center; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 2.4rem; padding: 4rem 4.8rem; margin-bottom: 4rem; gap: 2rem; }
.gp-01 { background: #f0f6ff; border-color: #cadcf4; }
.gp-02 { background: #f0fdf4; border-color: #bbf7d0; }
.gp-03 { background: #faf5ff; border-color: #e9d5ff; }
.gp-04 { background: #fff6ed; border-color: #ffedd5; }
.gp-header-left { display: flex; flex-direction: column; align-items: flex-start; gap: 1.6rem; }
.gp-label { display: inline-flex; align-items: center; gap: 0.8rem; padding: 0.6rem 1.6rem; border-radius: 9999px; font-size: 1.4rem; font-weight: 800; }
.gp-label.blue { background: #fff; color: #2563eb; border: 1px solid #bfdbfe; }
.gp-label.mint { background: #fff; color: #16a34a; border: 1px solid #bbf7d0; }
.gp-label.purple { background: #fff; color: #9333ea; border: 1px solid #e9d5ff; }
.gp-label.orange { background: #fff; color: #ea580c; border: 1px solid #ffedd5; }
.gp-title { font-size: 3.6rem; font-weight: 800; color: #0f172a; line-height: 1.3; margin: 0; letter-spacing: -0.02em; }
.gp-desc { font-size: 1.6rem; color: #64748b;; line-height: 1.6; margin: 0; max-width: 64rem; word-break: keep-all; font-weight: 500; }
.gp-header-right { display: flex; flex-direction: column; gap: 1.2rem; align-items: center; flex-shrink: 0; }
.gp-image-box {
    width: 24rem;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gp-header-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.05));
}

.gp-teacher-g {
    width: 30rem;
}
.gp-download-btn-bold { display: inline-flex; align-items: center; gap: 1rem; background: #ea580c; color: #ffffff !important; padding: 1.4rem 2.8rem; border-radius: 1.4rem; text-decoration: none; font-weight: 800; font-size: 1.5rem; box-shadow: 0 4px 14px rgba(234, 88, 12, 0.3); transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); cursor: pointer; border: none; }
.gp-download-btn-bold:hover { background: #c2410c; transform: translateY(-3px); box-shadow: 0 6px 20px rgba(234, 88, 12, 0.4); }
.gp-download-btn-bold svg { width: 2rem; height: 2rem; transition: transform 0.3s ease; }
.gp-download-btn-bold:hover svg { transform: translateY(-4px); }
.gp-summary { font-size: 1.4rem; font-weight: 600; color: #64748b;; display: flex; align-items: center; gap: 1.6rem; background: #ffffff; padding: 1.2rem 2.4rem; border-radius: 1.2rem; border: 1px solid #e2e8f0; box-shadow: 0 2px 8px rgba(0,0,0,0.03); }
.gp-summary span { display: inline-flex; align-items: center; gap: 0.6rem; color: #0f172a; font-weight: 800; }
.gp-summary span svg { width: 1.8rem; height: 1.8rem; }
.gp-summary span.doc svg { color: #3b82f6; }
.gp-summary span.vid svg { color: #ef4444; }
.gp-summary span.img svg { color: #8b5cf6; }
/* ── 단계 탭 컨테이너 (1단계/2단계/3단계) ── */
.gp-modern-tabs {
    display: flex;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 0.6rem;
    border-radius: 1.4rem;
    margin-bottom: 3rem;
    gap: 0.5rem;
}

/* 단계 탭 아이템 */
.gp-mtab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.2rem 1.6rem;
    border-radius: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #94a3b8;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    background: transparent;
}
.gp-mtab.active {
    background: #fff;
    color: var(--color-common-primary-50);
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    font-weight: 700;
}

/* 단계 배지 */
.gp-mtab-badge {
    display: inline-flex;
    align-items: center;
    background: #e2e8f0;
    color: #64748b;
    padding: 0.25rem 1.5rem;
    border-radius: 9999px;
    font-size: 1.7rem;
    font-weight: 700;
    transition: all 0.2s;
}
.gp-mtab.active .gp-mtab-badge {
    background: #eff6ff;
    color: var(--color-common-primary-50);
}

/* ── 레벨 버튼 그룹 ── */
.level-group {
    display: flex;
    gap: 0.5rem;
    width: 100%;
    margin-top: 0.6rem;
}
.level-btn {
    flex: 1;
    padding: 0.8rem;
    border-radius: 0.8rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    font-size: 1.35rem;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
    font-family: inherit;
}
.level-btn:hover:not(.active) {
    border-color: #bfdbfe;
    color: var(--color-common-primary-50);
    background: #f0f7ff;
}
.level-btn.active {
    background: var(--color-common-primary-50);
    color: #fff;
    border-color: var(--color-common-primary-50);
    box-shadow: 0 2px 8px rgba(8,97,203,0.2);
}

/* ── 개월차 탭 ── */
/* 컨테이너 (단일 #month-nav-1, #month-nav-2) */
#month-nav-1, #month-nav-2 {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 2.4rem;
    flex-wrap: wrap;
}
/* 컨테이너 (panel 내 .month-tab-box) */
.month-tab-box {
    display: flex;
    padding: 0;
    margin: 2rem 0;
    list-style: none;
    gap: 0.6rem;
    flex-wrap: wrap;
}
/* 버튼 공통 스타일 */
.month-btn, .month-btn-sec, .month-tab {
    padding: 0.75rem 1.8rem;
    border-radius: 0.8rem;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
    font-family: inherit;
}
.month-btn:hover:not(.active),
.month-btn-sec:hover:not(.active),
.month-tab:hover:not(.active) {
    border-color: var(--color-common-primary-50);
    color: var(--color-common-primary-50);
}
.month-btn.active, .month-btn-sec.active, .month-tab.active {
    background: var(--color-common-primary-50);
    border-color: var(--color-common-primary-50);
    color: #fff;
    font-weight: 700;
}

.guide-section { margin-bottom: 3.2rem; }
.sec-heading { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.6rem; }
.sec-heading::before { content: ''; display: block; width: 4px; height: 2.4rem; background: #2563eb; border-radius: 2px; }
.sec-heading h3 { font-size: 2.4rem; font-weight: 800; margin: 0; color: #0f172a; text-transform: uppercase; letter-spacing: 0.02em; }
.sec-heading .l-sub { font-size: 1.6rem; font-weight: 500; color: #64748b;; }
.section-header { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.section-header h3 { margin: 0; }
.section-header .l-sub { font-size: 1.6rem; font-weight: 500; color: #64748b;;}
.eval-seg-tab { display: flex; gap: 0.8rem; flex-shrink: 0; }
.eval-seg-btn { background: white; color: var(--color-life-primary-50); border: 1px solid var(--color-life-primary-50); padding: 1rem 2.4rem; font-size: 1.6rem; font-weight: 600; border-radius: var(--radius-full); cursor: pointer; transition: all 0.2s; }
.eval-seg-btn.active { background: var(--color-life-primary-50); color: white; }
.eval-seg-btn:hover:not(.active) { background: rgba(8, 97, 203, 0.08); }
.btn-eval-schedule-break { display: none; }
.btn-eval-schedule { background: var(--color-life-primary-50); border: 1px solid var(--color-life-primary-50); color: #fff; font-size: 1.3rem; font-weight: 600; padding: 0.4rem 1.2rem; border-radius: 2rem; cursor: pointer; vertical-align: middle; transition: all 0.2s; }
.btn-eval-schedule:hover { background: var(--color-life-primary-60); border-color: var(--color-life-primary-60); }
.esp-dialog { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: white; border-radius: 1.6rem; width: 90%; max-width: 60rem; box-shadow: 0 20px 60px rgba(0,0,0,0.2); }
.esp-header { display: flex; align-items: center; justify-content: space-between; padding: 2rem 2.4rem; border-bottom: 1px solid #e2e8f0; }
.esp-title { font-size: 1.8rem; font-weight: 700; color: #0f172a; margin: 0; }
.esp-close { margin-left: auto; }
.esp-body { padding: 2.4rem; overflow-x: auto; }
.esp-table { width: 100%; min-width: 40rem; border-collapse: collapse; font-size: 1.4rem; }
.esp-table th, .esp-table td { border: 1px solid #e2e8f0; padding: 1rem 1.2rem; text-align: center; color: #334155;; }
.esp-table thead th { background: #f1f5f9; font-weight: 700; color: #0f172a; }
.esp-table tbody td.esp-td-label { background: #f8fafc; font-weight: 600; color: #0f172a; }
.esp-td-sub { color: #64748b;; font-size: 1.3rem; }
.card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }

.card-grid.has-month { display: block; }
.month-group { display: none; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.month-group[data-month="1"] { display: grid; }

.info-card { display: flex; align-items: center; justify-content: space-between; padding: 2rem; background: white; border: 1px solid #e2e8f0; border-radius: 1.2rem; transition: all 0.2s ease; cursor: pointer; text-decoration: none; }
.info-card:hover { border-color: #cbd5e1; box-shadow: 0 4px 12px rgba(0,0,0,0.03); transform: translateY(-2px); }
.ic-left { display: flex; align-items: center; gap: 1.6rem; flex: 1; min-width: 0; }
.ic-icon-wrap { width: 5.6rem; height: 5.6rem; border-radius: 1.2rem; display: flex; align-items: center; justify-content: center; background: #f8fafc; flex-shrink: 0; }
.ic-icon-wrap svg { width: 3.2rem; height: 3.2rem; }
.ic-text-group { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.ic-label { font-size: 1.2rem; font-weight: 600; display: inline-block; }
.ic-label.blue { color: #2563eb; }
.ic-label.red { color: #ea580c; }
.ic-title { font-size: 1.8rem; font-weight: 700; color: #0f172a; margin-bottom: 0; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ic-desc { font-size: 1.43rem; color: #94a3b8;; font-weight: 500; margin-top: 0.2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ic-right { width: 3.6rem; height: 3.6rem; border-radius: 0.8rem; border: 1px solid #e2e8f0; display: flex; align-items: center; justify-content: center; color: #94a3b8;; flex-shrink: 0; transition: all 0.2s; margin-left: 1.6rem; background: white; }
.ic-right svg { width: 1.8rem; height: 1.8rem; stroke-width: 2.5; }
.ic-right svg.fill-icon { fill: currentColor; stroke: none; }
.info-card:hover .ic-right { background: #f8fafc; border-color: #cbd5e1; color: #64748b;; }
.info-card.card-flash { border-color: #cbd5e1; box-shadow: 0 4px 12px rgba(0,0,0,0.03); transform: translateY(-2px); }
.info-card.card-flash .ic-right { background: #f8fafc; border-color: #cbd5e1; color: #64748b; }
.guide-image-container { background: white; border: 1px solid #e2e8f0; border-radius: 2.4rem; padding: 3.2rem; text-align: center; box-shadow: 0 4px 20px rgba(0,0,0,0.02); margin-bottom: 3.2rem; }
.guide-image-container img { width: 100%; max-width: 100%; height: auto; border-radius: 1.6rem; box-shadow: 0 4px 16px rgba(0,0,0,0.05); display: block; margin: 0 auto; }
.gp-sub-tab-info { display: flex; align-items: center; gap: 1.2rem; background: #f8fafc; border-left: 4px solid #2563eb; padding: 1.6rem 2.4rem; border-radius: 0 1.2rem 1.2rem 0; font-size: 1.6rem; color: #334155;; font-weight: 700; margin-bottom: 4.8rem; }
.simple-info-box { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: #f1f5f9; border-radius: 8px; color: #475569; font-size: 14px; line-height: 1.4; margin-bottom: 1.6rem; }
.simple-info-box svg { width: 20px; height: 20px; color: #3b82f6; flex-shrink: 0; }
.simple-info-box b { color: #1e293b; font-weight: 600; }

/* 평가결과 보고서 (Dashboard) */
.report-dashboard-wrap { display: flex; flex-direction: column; gap: 2.4rem; width: 100%; max-width: 96rem; margin: 0 auto; }
.report-card { background-color: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); overflow: hidden; padding: 2.4rem; }
.report-section-title { font-size: 1.8rem; font-weight: 800; color: var(--text-dark); display: flex; align-items: center; }
.report-section-title::before { content: ''; display: inline-block; width: 4px; height: 1.8rem; background-color: var(--primary); margin-right: 0.8rem; border-radius: 2px; }
.report-card .report-section-title { margin-bottom: 2.4rem; }
.report-info-score { display: flex; flex-direction: column; gap: 3.2rem; }
.info-table { width: 100%; border-collapse: collapse; font-size: 1.6rem; }
.info-table th { text-align: left; color: var(--text-muted); font-weight: 600; padding: 0.8rem 0; width: 9.6rem; }
.info-table td { color: var(--text-dark); font-weight: 700; padding: 0.8rem 0; }
.score-display { display: flex; flex-direction: row; gap: 3.4rem; }
.score-item { display: flex; flex-direction: column; gap: 0.4rem; }
.score-label { color: var(--text-muted); font-size: 1.4rem; font-weight: 600; }
.score-val { font-size: 4.8rem; font-weight: 900; color: var(--primary); line-height: 1; letter-spacing: -0.02em; }
.score-val small { font-size: 2.4rem; color: var(--text-muted); font-weight: 600; }
.score-val.mint { color: var(--success); }
.level-banner-card { background: linear-gradient(135deg, var(--primary), #3b82f6); text-align: center; padding: 4.8rem 3.2rem; }
.lb-subtitle { color: #d2d7e4; font-size: 1.6rem; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 1.6rem; margin-bottom: 1.6rem; }
.lb-subtitle::before, .lb-subtitle::after { content: ''; height: 1px; width: 4.8rem; background: var(--border-main); }
.lb-level { font-size: 6.8rem; font-weight: 900; color: #fff; line-height: 1.06; margin-bottom: 1.6rem; letter-spacing: -0.02em; }
.lb-badge { display: inline-block; background: #fff; color: var(--primary); padding: 0.8rem 2.4rem; border-radius: var(--radius-full); font-weight: 700; font-size: 1.6rem; margin-bottom: 2.4rem; }
.lb-desc { font-size: 1.6rem; color: #d2d7e4; font-weight: 500; line-height: 1.6; word-break: keep-all; }
.lb-desc strong { color: #fff; font-weight: 700; }
.chart-layout { display: flex; flex-direction: column; gap: 3.2rem; align-items: center; margin-top: 1.6rem; }
.radar-container { width: 100%; max-width: 250px; height: auto; aspect-ratio: 1/1; position: relative; flex-shrink: 0; align-self: center; display: flex; align-items: center; justify-content: center; }
.bars-container { width: 100%; display: flex; flex-direction: column; gap: 2.4rem; }
.bar-item { width: 100%; }
.bar-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.8rem; }
.bar-label { font-size: 1.6rem; font-weight: 700; color: var(--text-dark); }
.bar-percent { font-size: 2rem; font-weight: 800; color: var(--primary); }
.bar-percent.mint { color: var(--success); }
.bar-track { width: 100%; height: 12px; background-color: var(--border-light); border-radius: 6px; overflow: hidden; }
.bar-fill { height: 100%; background-color: var(--primary); border-radius: 6px; transition: width 1s ease-out; }
.bar-fill.mint { background-color: var(--success); }
.feedback-grid { display: grid; grid-template-columns: 1fr; gap: 2.4rem; }
/* .fb-box { border-radius: var(--radius-lg); padding: 2.4rem; } */
/* .fb-box.blue { background-color: #f0f4f8; border: 1px solid #dbeafe; } */
.fb-box.mint { background-color: #ecfdf5; border: 1px solid #d1fae5; }
.fb-title { font-size: 1.8rem; font-weight: 800; margin-bottom: 1.6rem; display: flex; align-items: center; gap: 0.8rem; }
.fb-box.blue .fb-title { color: #1e40af; }
.fb-box.mint .fb-title { color: #047857; }
.fb-text { font-size: 1.6rem; color: var(--text-main); line-height: 1.6; word-break: keep-all; margin: 0; }
.fb-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1.2rem; }
.fb-list li { display: flex; align-items: flex-start; gap: 0.8rem; font-size: 1.6rem; color: var(--text-main); font-weight: 500; }
.fb-list svg { width: 2rem; height: 2rem; color: var(--success); flex-shrink: 0; margin-top: 0.2rem; }
.report-actions { display: flex; justify-content: center; gap: 1.6rem; margin-top: 1.6rem; }
.btn-report { padding: 1.2rem 3.2rem; border-radius: var(--radius-lg); font-weight: 700; font-size: 1.6rem; display: inline-flex; align-items: center; gap: 0.8rem; cursor: pointer; transition: all 0.2s; }
.btn-r-outline { background: white; border: 1px solid var(--border-dark); color: var(--text-main); }
.btn-r-outline:hover { background: var(--bg-subtle); color: var(--text-dark); }
.btn-r-solid { background: var(--text-dark); border: 1px solid var(--text-dark); color: white; }
.btn-r-solid:hover { background: #000; }

/* 문제시작화면 */
.eng-start-wrap { background-color: #f0f7ff; min-height: calc(100vh - 5.3rem); padding-top:10px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.bg-circle { position: absolute; border-radius: 50%; background: linear-gradient(135deg, #e0eeff 0%, #f0f7ff 100%); z-index: 1; }
.circle-1 { width: 300px; height: 300px; top: -100px; right: -50px; }
.circle-2 { width: 200px; height: 200px; bottom: -50px; left: -30px; opacity: 0.5; }
.start-content-box { position: relative; z-index: 10; width: 100%; max-width: 800px; padding: 0 20px; text-align: center; }
.start-char { width: 160px; margin-bottom: -30px; filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1)); }
.start-card { background: #ffffff; border-radius: 40px; padding: 50px 30px 40px; box-shadow: 0 20px 40px rgba(100, 149, 237, 0.1); border: 1px solid rgba(255,255,255,0.8); }
.start-subtitle { color: #5b5b5b; font-weight: 600; letter-spacing: 1px; margin-bottom: 1rem; text-transform: uppercase; }
.start-title-intro { font-size: 2.6rem; font-weight: 800; color: #2c3e50; line-height: 1.4; margin-bottom: 1rem; text-align: center; }
.start-info-badge { background: #f8faff; border-radius: 2rem; display: flex; justify-content: space-around; padding: 2rem 2rem; /* margin-top: 4rem; */ }
.info-item { display: flex; flex-direction: column; gap: 4px; }
.info-item .value { display: block; font-weight: 400; color: #34495e; font-size: 1.4rem; text-align: left; margin-top: 1rem; }
.info-item .value p { margin: 0 !important; }
.info-item .label { font-size: 1.5rem; font-weight: 600; display: block; text-align: center; margin-bottom: 4px; }
.v-line { width: 1px; background: #e0e6ed; }
.btn-start-test { margin-top: 30px; width: 100%; background: var(--color-life-primary-50); color: white; border: none; padding: 18px; border-radius: 20px; font-size: 18px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; box-shadow: 0 10px 20px rgba(74, 144, 226, 0.3); transition: transform 0.2s, background 0.2s; }
.btn-start-test:hover { background: var(--color-life-primary-60); transform: translateY(-2px); }


/* ==========================================
    5. 애니메이션 (Keyframes)
========================================== */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bounceIn { 0% { opacity: 0; transform: scale(0.5); } 60% { opacity: 1; transform: scale(1.05); } 80% { transform: scale(0.95); } 100% { transform: scale(1); } }
@keyframes floatToy { 0% { transform: translateY(0) rotate(0deg); } 100% { transform: translateY(-20px) rotate(10deg); } }
@keyframes moveClouds { 0% { transform: translateX(-300px); } 100% { transform: translateX(100vw); } }
@keyframes scaleIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes subtleFade { from { opacity: 0; } to { opacity: 1; } }
.fade-enter { animation: subtleFade 0.2s ease forwards; }
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275); will-change: opacity, transform; }
.reveal.active { opacity: 1; transform: translateY(0); }
.d-1 { transition-delay: 100ms; }
.d-2 { transition-delay: 200ms; }
.d-3 { transition-delay: 300ms; }

/* ==========================================
    6. 반응형 미디어 쿼리 (Media Queries)
========================================== */
@media (min-width: 640px) {
    .logo-box { width: 3.2rem; height: 3.2rem; font-size: 1.6rem; }
    .logo-text { font-size: 1.8rem; }
    .eng-wrap { padding-top: 2.4rem; padding-left: 2.4rem; padding-right: 2.4rem; }
    .stepper-container { max-width: 48rem; gap: 1.6rem; }
    .step-pill { font-size: 1.6rem; padding: 0.8rem 0; }
    .step-arrow { width: 2rem; height: 2rem; }
    .progress-wrapper { margin-bottom: 2.4rem; }
    .step-progress-container { max-width: 48rem; height: 4rem; }
    .step-item { font-size: 1.6rem; padding: 1.2rem 0; }
    .progress-text { font-size: 1.4rem; }
    .progress-text strong { font-size: 1.8rem; }
    .question-card { padding: 2.4rem; }
    .inst-icon { width: 4.125rem; height: 4.125rem; }
    .inst-icon svg { width: 2.525rem; height: 2.525rem; }
    .inst-title { font-size: 2.125rem; }
    .inst-desc { font-size: 1.725rem; }
    /* .q-header { padding-bottom: 2.4rem; margin-bottom: 3.2rem; } */
    .q-badge { font-size: 2rem; padding: 0.8rem 2.4rem; }
    .blank-num { font-size: 1.4rem; padding: 0.4rem 1.2rem; }
    .btn { padding: 1.2rem 3.2rem; font-size: 1.6rem; }
    .btn-idk { font-size: 1.6rem; }
    .btn-audio { padding: 1.4rem 3.2rem; font-size: 1.8rem; }
    .btn-audio svg { width: 2.4rem; height: 2.4rem; }
    .option-item { padding: 1.6rem 2rem; gap: 1.6rem; }
    .option-grid-item { padding: 1.6rem; }
    .opt-text-large { font-size: 6.4rem; }
    .opt-text-emoji { font-size: 6.4rem; padding: 1.6rem; }
    .input-a11y { padding: 0.6rem 1.6rem; font-size: 1.925rem; }
    .input-inline { width: 25.0rem; }
    .dialog-container { gap: 1.6rem; }
    .row-content { font-size: 1.925rem; gap: 0.8rem; }
    .passage-box { padding: 3.2rem 4rem; margin-bottom: 3.2rem; }
    .passage-text { font-size: 2.125rem; }
    .question-highlight { font-size: 1.8rem; margin-bottom: 2.4rem; }
    .story-passage-box { padding: 4rem; }
    .unscramble-input-group { gap: 1.6rem; }
    .word-box-container { gap: 1.2rem; padding: 2.4rem; }
    .word-chip { padding: 0.8rem 2rem; font-size: 1.8rem; }
    .story-word-group { gap: 1.6rem; }
    .story-word { font-size: 2rem; }
    .error-grid { padding: 3.2rem; gap: 4rem; }
    .err-num { width: 3.2rem; height: 3.2rem; font-size: 1.6rem; }
    .err-text { font-size: 2.4rem; }
    .order-num-box { width: 9rem; }
    .order-select { height: 4.8rem; background-position: right 1.2rem center; background-size: 2rem; font-size: 1.8rem; }
    .order-fixed { height: 4.8rem; font-size: 1.8rem; }
    .input-large { padding: 1.6rem 2.4rem; font-size: 2rem; max-width: 32rem; }
    .input-full { padding: 1.6rem 2.4rem; font-size: 2rem; }
    /* .media-box { max-width: 19.2rem; } */
    .media-emoji { font-size: 8.8rem; }
    .media-text-content { font-size: 3.2rem; }
    .example-box { padding: 2.4rem; }
    .example-text { font-size: 2.4rem; }
    .report-card { padding: 2.2rem; }
}

@media (min-width: 768px) {
    .grid-options { grid-template-columns: repeat(4, 1fr); }
    .look-choose-layout { flex-direction: row; align-items: stretch; gap: 3.2rem; margin-bottom: 3.2rem; }
    .look-choose-media { width: 19.2rem; height: 19.2rem; }
    .row-box { flex-direction: row; align-items: center; padding: 2rem 2.4rem; gap: 1.6rem; }
    .speaker-badge { width: 3.5rem; text-align: right; background: transparent; padding: 0; padding-right: 1.6rem; border-radius: 0; border-right: 2px solid var(--border-light); font-size: 1.6rem; }
    .chart-dashboard-layout { flex-direction: row; justify-content: space-between; padding: 2.4rem 3.2rem; }
    .radar-box { margin-right: 1.6rem; }
    .skill-grid { grid-template-columns: repeat(2, 1fr); flex: 1; }
    .feedback-grid { grid-template-columns: repeat(2, 1fr); }
    .report-info-score { flex-direction: row; align-items: flex-start; }
    .report-info-score > div { flex: 1; }
    .report-info-score > div:first-child { border-right: 1px solid var(--border-light); padding-right: 3.2rem; }
    .report-info-score > div:last-child { padding-left: 3.2rem; }
    .chart-layout { flex-direction: row; justify-content: center; gap: 6.4rem; }
    .bars-container { flex: 1; max-width: 400px; }
    .score-display {  flex-direction: column; gap: 2.4rem; }
}

@media (min-width: 860px) {
    .welcome-hero { flex-direction: row; align-items: center; justify-content: space-between; padding: 2.6rem 4.8rem; }
    .welcome-text-wrap { padding-right: 3.2rem; max-width: 51.2rem; }
    .welcome-status-card { margin: 0; width: 35.2rem; flex-shrink: 0; }
}

@media (min-width: 1024px) {
    .eval-grid { grid-template-columns: repeat(3, 1fr); }
    .welcome-status-card { width: 38.4rem; }
}

@media (max-width: 1024px) {
    .btn-giant-start { font-size: 2.4rem; padding: 2rem 6.4rem; }
    .pg-feat-item { padding: 3.2rem 1.6rem; }
    .pg-3d-icon { width: 80px; height: 80px; }
    .pg-3d-icon svg { width: 40px; height: 40px; }
    .pg-feat-text { font-size: 2rem; }
    
    
    .card-grid { grid-template-columns: 1fr; }
    .month-group { grid-template-columns: 1fr; }
    
    .ic-title, .ic-desc { white-space: normal; overflow: visible; }
}
@media (max-width: 940px) {
    .guide-clean-list { grid-template-columns: 1fr; }
    .guide-clean-card { padding: 3.2rem 2.4rem; border-radius: 2.4rem; }
    .gc-clean-title { font-size: 2.6rem; margin-top: 1.6rem; margin-bottom: 1.2rem; }
    .gc-step-label { font-size: 2.2rem; margin-bottom: 1.2rem; }
    .gc-icon-large { font-size: 5.6rem; margin-bottom: 1.6rem; }
    .gc-clean-sub { font-size: 1.6rem; margin-bottom: 2.4rem; }
    .gc-clean-badges { margin-bottom: 3.2rem; }
    .train-container { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
    .train-step { min-height: auto; }
}
@media (max-width: 520px) {
    .train-container { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .khan-container { flex-direction: column; gap: 4rem; }
    .khan-card { width: 100%; max-width: 500px; }
    .khan-content { text-align: center; }
    .notice-box { text-align: left; }
    .notice-box-second { text-align: left; }
    .download-btns { justify-content: center; }
    .app-stats-row { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 6.4rem; }
    .sec-title { font-size: 3.6rem; }
}

@media (max-width: 768px) {
    .card-grid { grid-template-columns: 1fr; }
    .card-grid.has-month { display: block; }
    .month-group { grid-template-columns: 1fr !important; }
    #month-nav-1, #month-nav-2 { gap: 0.4rem; }
    .month-btn, .month-btn-sec, .month-tab {
        width: calc(33.333% - 0.27rem);
        flex-shrink: 0;
        font-size: 1.25rem;
        padding: 0.65rem 0;
        text-align: center;
    }
    .section-title { flex-wrap: wrap; row-gap: 0; }
    .section-header { margin-bottom: 1.6rem; }
    .btn-eval-schedule-break { display: block; flex-basis: 100%; height: 0; }
    .btn-eval-schedule { margin-top: 0.8rem; }
    .pg-feat-panel { grid-template-columns: 1fr; border-radius: 40px; }
    .pg-feat-item:not(:last-child)::after { right: 20%; bottom: 0; top: auto; width: 60%; height: 2px; }
    
    .guide-clean-card:nth-child(3) { grid-column: span 1; }
    .gp-header { flex-direction: column; align-items: center; padding: 3.2rem 2.4rem; text-align: center;}
    .gp-header-right {  order: -1; align-items: center;}
    .gp-header-left { align-items: center;}
    .gp-title { font-size: 2.8rem; }
    .gp-sub-tab-info { font-size: 1.4rem; margin-bottom: 3.2rem; }
    .guide-image-container { padding: 1.6rem; border-radius: 1.6rem; }
    .gp-modern-tabs { flex-direction: column; border-radius: 2rem; padding: 1.2rem; }
    .gp-mtab { justify-content: flex-start; padding: 1.6rem; flex-direction: row;}
    .sec-heading { display: flex; align-items: center; flex-wrap: wrap; }

@media (max-width: 600px) {
    .app-stats-row { grid-template-columns: 1fr; }
    .step-section-wrapper { padding: 4.8rem 2.4rem; border-radius: 40px; margin: 3.2rem 1rem; }
    .train-step { flex-direction: column; text-align: center; gap: 2.4rem; padding: 4rem 2.4rem; }
    .playground-title { font-size: 3rem; }
    .btn-giant-start { width: 100%; justify-content: center; font-size: 2rem; padding: 1.6rem 2.4rem; }
}

@media (max-width: 480px) {
    .info-card { flex-direction: column; align-items: flex-start; gap: 2rem; }
    .ic-right { align-self: flex-end; margin-left: 0; }
    .notice-box {flex-direction: column;}
}
}

@media (max-width: 639px) {
    .media-box { height: auto; }
    .media-box img { height: auto; max-height: 16rem; }
    .example-box { margin-bottom: 1.6rem !important; }
}

/* ── VIDEO MODAL 프레임 ── */
.video-modal-overlay { display: none; position: fixed; inset: 0; z-index: 999; background: rgba(0,0,0,.75); backdrop-filter: blur(6px); align-items: center; justify-content: center; padding: 20px; }
.video-modal-overlay.open { display: flex; animation: modalFadeIn .25s ease; }
@keyframes modalFadeIn { from { opacity: 0; } to { opacity: 1; } }

.video-modal { background: #0F172A; border-radius: 20px; overflow: hidden; width: 100%; max-width: 1024px; box-shadow: 0 32px 80px rgba(0,0,0,.6); animation: modalSlideUp .3s ease; }
@keyframes modalSlideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.video-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid rgba(255,255,255,.08); }
.video-modal-title { font-size: 15px; font-weight: 700; color: white; display: flex; align-items: center; gap: 10px; }
.video-modal-title span { background: #D94A10; color: white; font-size: 11px; font-weight: 700; letter-spacing: .5px; padding: 3px 10px; border-radius: 100px; }
.video-modal-close { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.1); border: none; color: white; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.video-modal-close:hover { background: rgba(255,255,255,.2); }

.video-modal-footer { padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.08); }
.video-modal-filename { font-size: 13px; color: rgba(255,255,255,.5); display: flex; align-items: center; gap: 8px; }

@media (max-width: 768px) {
    .video-modal { border-radius: 16px; }
    .video-modal-header { padding: 14px 18px; }
    .video-modal-footer { padding: 12px 18px; }
}






.curriculum-page { margin: 0 auto; padding: 4rem 0; position: relative; z-index: 1; } 

/* ============ Hero ============ */
.hero { text-align: center; margin-bottom: 3.2rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.8rem; font-family: 'Jua', sans-serif; font-size: 1.4rem; font-weight: 600; color: var(--primary); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.6rem; padding: 0.6rem 1.6rem; background: #ffffff; border-radius: 99.9rem; box-shadow: 0 0.4rem 1.2rem rgba(8, 97, 203, 0.15); }
.eyebrow::before { content: '✨'; font-size: 1.6rem; }
.eyebrow::after { content: '✨'; font-size: 1.6rem; }
.curriculum-page h1 { font-family: 'Jua', sans-serif; font-size: clamp(2.8rem, 5vw, 5.2rem); font-weight: 400; line-height: 1.2; color: #0f172a; margin-bottom: 1.6rem; }
.curriculum-page h1 .highlight { color: var(--primary); position: relative; display: inline-block; }
.curriculum-page h1 .highlight::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0.4rem; height: 1rem; background: var(--success); opacity: 0.25; z-index: -1; border-radius: 0.4rem; }
.subtitle { font-size: clamp(1.4rem, 1.5vw, 1.7rem); color: #334155; max-width: 56rem; margin: 0 auto; line-height: 1.6; }

/* ============ Chart Wrapper ============ */
.chart-wrapper { background: #ffffff; border-radius: 2.4rem; padding: 2rem 4rem 3.2rem; box-shadow: 0 0.4rem 0.6rem -0.1rem rgba(0,0,0,0.05), 0 2rem 4rem -2rem rgba(8, 97, 203, 0.12); border: 0.1rem solid var(--border-light); position: relative; overflow: hidden;
background-image: url('../images/english/curriculum_bg_02.png'), url('../images/english/curriculum_bg_01.png'); background-repeat: no-repeat, no-repeat; background-position: 60px 160px, 95% 400px; background-size: 280px, 260px; 
}
.chart-wrapper::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(8, 97, 203, 0.04) 0.1rem, transparent 0.1rem); background-size: 2.4rem 2.4rem; pointer-events: none; }

/* ============ Staircase Chart ============ */
.staircase { display: flex; align-items: flex-end; gap: 1.2rem; min-height: 36rem; padding: 1.6rem 0; position: relative; z-index: 1; }
.stage-group { display: contents; }
.stage-header { display: none; }
.level-column { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1rem; position: relative; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.level-column[data-level="1"] { margin-bottom: 0; }
.level-column[data-level="2"] { margin-bottom: 4.5rem; }
.level-column[data-level="3"] { margin-bottom: 9rem; }
.level-column[data-level="4"] { margin-bottom: 13.5rem; }
.level-column[data-level="5"] { margin-bottom: 18rem; }
.level-column[data-level="6"] { margin-bottom: 22.5rem; }
.keyword-pill { background: #f1f5f9; color: #667993; padding: 1.4rem 1.6rem; border-radius: 99.9rem; text-align: center; font-family: 'Jua', sans-serif; font-size: 1.6rem; line-height: 1.2; height: 4.8rem; display: flex; align-items: center; justify-content: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); cursor: default; box-sizing: border-box; }
.level-column.active[data-level="1"] .keyword-pill { background: var(--lv1-main); color: #ffffff; box-shadow: 0 0.4rem 0 var(--lv1-text); }
.level-column.active[data-level="2"] .keyword-pill { background: var(--lv2-main); color: #ffffff; box-shadow: 0 0.4rem 0 var(--lv2-text); }
.level-column.active[data-level="3"] .keyword-pill { background: var(--lv3-main); color: #ffffff; box-shadow: 0 0.4rem 0 var(--lv3-text); }
.level-column.active[data-level="4"] .keyword-pill { background: var(--lv4-main); color: #ffffff; box-shadow: 0 0.4rem 0 var(--lv4-text); }
.level-column.active[data-level="5"] .keyword-pill { background: var(--lv5-main); color: #ffffff; box-shadow: 0 0.4rem 0 var(--lv5-text); }
.level-column.active[data-level="6"] .keyword-pill { background: var(--lv6-main); color: #ffffff; box-shadow: 0 0.4rem 0 var(--lv6-text); }
.level-column.active .keyword-pill { animation: pillPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.level-column.active .keyword-pill:nth-child(1) { animation-delay: 0.05s; }
.level-column.active .keyword-pill:nth-child(2) { animation-delay: 0.15s; }
.level-column.active .keyword-pill:nth-child(3) { animation-delay: 0.25s; }
.level-column.active .keyword-pill:nth-child(4) { animation-delay: 0.35s; }
.level-column.active .keyword-pill:nth-child(5) { animation-delay: 0.45s; }
@keyframes pillPop { 0% { transform: scale(0.8); opacity: 0.5; } 60% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
.keyword-pill:hover { transform: translateY(-0.2rem); }
.column-label { position: absolute; bottom: -4rem; left: 0; right: 0; text-align: center; font-size: 1.3rem; color: #64748b; font-family: 'Jua', sans-serif; font-weight: 500; opacity: 0.5; }
.column-label::before { content: attr(data-emoji) ' '; }
.label-text { font-family: 'Jua', sans-serif; font-weight: 500; }
.label-name { display: inline; }
.label-name::before { content: ' '; }
.keywords-container { display: flex; flex-direction: column; gap: 1rem; width: 100%; }
.level-column-top { display: contents; }
.accordion-toggle, .accordion-content { display: none; }
.level-column.active .column-label { opacity: 1; color: #0f172a; }

/* ============ Level Tabs (상단) ============ */
.level-tabs { display: flex; justify-content: stretch; gap: 0.6rem; margin-top: 0; margin-bottom: 3.2rem; padding: 0.6rem; background: #f8fafc; /* border: 1px solid #e2e8f0; */ border-radius: 1.4rem; flex-wrap: wrap; }
.level-tabs .tab-btn { flex: 1; min-width: 0; background: transparent; border: none; color: #64748b; cursor: pointer; padding: 1.2rem 0.8rem; position: relative; transition: all 0.3s; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem; text-align: center; min-height: 6.4rem;}
.level-tabs .tab-btn .tab-title { font-family: 'Jua', sans-serif; font-size: 1.8rem; line-height: 1.3; }
.level-tabs .tab-btn .tab-desc { font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif; font-size: 1.3rem; font-weight: 500; line-height: 1.3; color: #64748b; transition: color 0.3s; }
.level-tabs .tab-btn .tab-emoji { font-size: 2rem; filter: grayscale(60%); transition: filter 0.3s; }
.level-tabs .tab-btn:hover { color: #0f172a; }
.level-tabs .tab-btn:hover .tab-desc { color: #334155; }
.level-tabs .tab-btn:hover .tab-emoji { filter: grayscale(0%); }
.level-tabs .tab-btn.active { color: #0f172a; box-shadow: none; border-radius: 1.2rem;}

.tab-btn[data-stage="1"].active { background: var(--lv1-bg); color: var(--lv1-text); }
.tab-btn[data-stage="2"].active { background: var(--lv3-bg); color: var(--lv3-text); }
.tab-btn[data-stage="3"].active { background: var(--lv5-bg); color: var(--lv5-text); }

.tab-btn[data-stage="1"].active .tab-desc { color: var(--lv1-text); opacity: 0.75; }
.tab-btn[data-stage="2"].active .tab-desc { color: var(--lv3-text); opacity: 0.75; }
.tab-btn[data-stage="3"].active .tab-desc { color: var(--lv5-text); opacity: 0.75; }
.level-tabs .tab-btn.active .tab-desc { color: #334155; }
.level-tabs .tab-btn.active .tab-emoji { filter: grayscale(0%); animation: tabBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes tabBounce { 0% { transform: scale(0.8) rotate(-10deg); } 60% { transform: scale(1.2) rotate(5deg); } 100% { transform: scale(1) rotate(0); } }
.level-tabs .tab-btn::after { content: ''; position: absolute; left: 50%; bottom: -1.8rem; transform: translateX(-50%); width: 0; height: 0.4rem; border-radius: 0.4rem; transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.level-tabs .tab-btn.active::after { width: 80%; }
.level-tabs .tab-btn[data-stage="1"].active::after { background: var(--lv1-main); }
.level-tabs .tab-btn[data-stage="2"].active::after { background: var(--lv3-main); }
.level-tabs .tab-btn[data-stage="3"].active::after { background: var(--lv5-main); }


/* ============ Info Box (3챕터: 학습 프로필 + 학습 원칙 + 학습 목표) ============ */
.info-box { background: #f1f5f9; border-radius: 2rem; padding: 2.8rem 3.2rem; margin-top: 4rem; display: grid; grid-template-columns: minmax(22rem, 2fr) minmax(28rem, 3fr); grid-template-areas: "profile principles" "profile goals"; gap: 2.4rem 3.2rem; transition: background 0.5s; }
.info-box[data-stage="1"] { background: var(--lv1-bg); }
.info-box[data-stage="2"] { background: var(--lv3-bg); }
.info-box[data-stage="3"] { background: var(--lv5-bg); }
.chapter { min-width: 0; }
.chapter-profile { grid-area: profile; }
.chapter-principles { grid-area: principles; }
.chapter-goals { grid-area: goals; }
.chapter-title { font-family: 'Jua', sans-serif; font-size: 1.8rem; margin-bottom: 1.6rem; display: flex; align-items: center; gap: 1rem; font-weight: 400; }
.chapter-icon { font-size: 2rem; }
.info-box[data-stage="1"] .chapter-title { color: var(--lv1-text); }
.info-box[data-stage="2"] .chapter-title { color: var(--lv3-text); }
.info-box[data-stage="3"] .chapter-title { color: var(--lv5-text); }
.chapter-dl { display: flex; flex-direction: column; gap: 1.2rem; }
.chapter-dl > div { display: flex; flex-direction: column; gap: 0.4rem; padding: 1.4rem 1.6rem; background: #ffffff; border-radius: 1rem; border: 0.1rem solid rgba(0, 0, 0, 0.04); }
.chapter-dl dt { font-size: 1.3rem; color: #64748b; line-height: 1.3; }
.chapter-dl dd { font-size: 1.4rem; color: #0f172a; line-height: 1.5; font-weight: 500; }
.chapter-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.chapter-list li { display: flex; align-items: flex-start; gap: 1.2rem; padding: 1rem 1.4rem; background: #ffffff; border-radius: 1rem; border: 0.1rem solid rgba(0, 0, 0, 0.04); font-size: 1.4rem; color: #0f172a; line-height: 1.55; }
.chapter-list li::before { content: '✓'; flex-shrink: 0; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: #f1f5f9; font-size: 1.2rem; font-family: 'Jua', sans-serif; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; margin-top: 0.1rem; }
.info-box[data-stage="1"] .chapter-list li::before { color: var(--lv1-text); }
.info-box[data-stage="2"] .chapter-list li::before { color: var(--lv3-text); }
.info-box[data-stage="3"] .chapter-list li::before { color: var(--lv5-text); }
.chapter-goal-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.chapter-goal-list li { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.4rem; background: #ffffff; border-radius: 1rem; border: 0.1rem solid rgba(0, 0, 0, 0.04); font-size: 1.4rem; color: #0f172a; line-height: 1.55; }
.goal-badge { flex-shrink: 0; padding: 0.3rem 0.8rem; border-radius: 0.6rem; font-family: 'Jua', sans-serif; font-size: 1.1rem; font-weight: 700; letter-spacing: 0.02em; color: #ffffff; display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.goal-badge[data-level="1"] { background: var(--lv1-main); }
.goal-badge[data-level="2"] { background: var(--lv2-main); }
.goal-badge[data-level="3"] { background: var(--lv3-main); }
.goal-badge[data-level="4"] { background: var(--lv4-main); }
.goal-badge[data-level="5"] { background: var(--lv5-main); }
.goal-badge[data-level="6"] { background: var(--lv6-main); }
.goal-text { flex: 1; min-width: 0; }

/* ============ Stage Accordion (모바일 전용) ============ */
.stage-accordion-toggle, .stage-accordion-content { display: none; }

/* ============ Desktop (1024px ~ 1279px) ============ */
@media (max-width: 1279px) {
  .curriculum-page { padding: 4.8rem 0rem; }
  .chart-wrapper { padding: 1.8rem 3.2rem 3.2rem; }
  h1 { font-size: clamp(2.6rem, 4vw, 4.2rem); }
  .subtitle { font-size: 1.5rem; }
  .staircase { gap: 1rem; min-height: 33rem; }
  .keyword-pill { font-size: 1.4rem; padding: 1.2rem 1.4rem; height: 4.4rem; }
  .level-column[data-level="1"] { margin-bottom: 0; }
  .level-column[data-level="2"] { margin-bottom: 4rem; }
  .level-column[data-level="3"] { margin-bottom: 8rem; }
  .level-column[data-level="4"] { margin-bottom: 12rem; }
  .level-column[data-level="5"] { margin-bottom: 16rem; }
  .level-column[data-level="6"] { margin-bottom: 20rem; }
  .level-tabs { gap: 1rem; margin-top: 0; margin-bottom: 2.8rem; }
  .level-tabs .tab-btn .tab-title { font-size: 1.6rem; }
  .level-tabs .tab-btn .tab-desc { font-size: 1.2rem; }
}

/* ============ Tablet (768px ~ 1023px) ============ */
@media (max-width: 1023px) {
  .curriculum-page { padding: 4rem 0rem; }
  .chart-wrapper { padding: 1.6rem 2.4rem 2.8rem; border-radius: 2.8rem;    background-position: 40px 120px, 95% 320px; background-size: 200px, 180px; }
  h1 { font-size: clamp(2.4rem, 3.8vw, 3.6rem); }
  .staircase { gap: 0.8rem; min-height: 29rem; padding: 1rem 0; }
  .level-column[data-level="1"] { margin-bottom: 0; }
  .level-column[data-level="2"] { margin-bottom: 3.6rem; }
  .level-column[data-level="3"] { margin-bottom: 7.2rem; }
  .level-column[data-level="4"] { margin-bottom: 10.8rem; }
  .level-column[data-level="5"] { margin-bottom: 14.4rem; }
  .level-column[data-level="6"] { margin-bottom: 18rem; }
  .keyword-pill { padding: 1rem 1rem; height: 4rem; }
  .column-label { font-size: 1.2rem; bottom: -3.2rem; }
  .level-tabs { gap: 0.8rem; margin-top: 0; margin-bottom: 2.4rem; }
  .level-tabs .tab-btn { padding: 1rem 0.4rem; }
  .level-tabs .tab-btn .tab-emoji { font-size: 1.8rem; }
  .info-box { padding: 2.4rem; margin-top: 3.2rem; gap: 2rem 2.4rem; grid-template-columns: minmax(20rem, 2fr) minmax(26rem, 3fr); }
  .chapter-title { font-size: 1.6rem; }
  .chapter-dl > div { padding: 0.8rem 1.2rem; }
  .chapter-dl dt { font-size: 1.2rem; }
  .chapter-dl dd { font-size: 1.3rem; }
  .chapter-list li { font-size: 1.3rem; padding: 0.9rem 1.2rem; }
  .chapter-goal-list li { font-size: 1.3rem; padding: 0.9rem 1.2rem; }
  .goal-badge { font-size: 1rem; padding: 0.3rem 0.7rem; }
}

/* ============ Narrow Tablet (~900px) ============ */
@media (min-width: 768px) and (max-width: 900px) {
  .info-box { grid-template-columns: 1fr; grid-template-areas: "profile" "principles" "goals"; }
}

/* ============ Mobile (481px ~ 767px) ============ */
@media (max-width: 767px) {
  .eng-wrap { padding: 1.6rem 1.6rem 10.2rem; }
  .eng-start-wrap { padding-top: 1.2rem; }
  .btn-start-test { margin-top: 1.2rem; }
    .section-wrap{padding:4.6rem 0 2rem; }
  .curriculum-page { padding: 2.8rem 0rem; }
  .chart-wrapper { padding: 2rem 1.6rem; border-radius: 2.4rem; background-image: none; }
  .hero { margin-bottom: 3.2rem; }
  .eyebrow { font-size: 1.1rem; padding: 0.5rem 1.2rem; margin-bottom: 1.2rem; }
  h1 { font-size: 2.4rem; line-height: 1.3; }
  .subtitle { font-size: 1.4rem; }
  .staircase { flex-direction: column; align-items: stretch; gap: 1.2rem; min-height: auto; padding: 0; }
  .level-column { margin-bottom: 0 !important; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; padding: 0; background: var(--bg); border-radius: 1.6rem; transition: all 0.4s; border: 0.2rem solid transparent; overflow: hidden; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .level-column-top { display: flex; flex-direction: row; align-items: stretch; }
  .level-column.active { background: #f1f5f9; transform: scale(1.02); }
  .level-column.active[data-level="1"] { background: var(--lv1-bg); border-color: var(--lv1-main); }
  .level-column.active[data-level="2"] { background: var(--lv2-bg); border-color: var(--lv2-main); }
  .level-column.active[data-level="3"] { background: var(--lv3-bg); border-color: var(--lv3-main); }
  .level-column.active[data-level="4"] { background: var(--lv4-bg); border-color: var(--lv4-main); }
  .level-column.active[data-level="5"] { background: var(--lv5-bg); border-color: var(--lv5-main); }
  .level-column.active[data-level="6"] { background: var(--lv6-bg); border-color: var(--lv6-main); }
  .column-label { position: static; width: 7.8rem; flex-shrink: 0; text-align: center; font-size: 1.3rem; font-weight: 700; opacity: 1; color: #64748b; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.2rem; padding: 1.4rem 0.8rem; background: #ffffff; border-right: 0.2rem dashed #f1f5f9; transition: all 0.4s; }
  .column-label::before { content: attr(data-emoji); font-size: 2.4rem; line-height: 1; filter: grayscale(50%); transition: filter 0.4s, transform 0.4s; margin-bottom: 0.2rem; }
  .label-text { font-family: 'Jua', sans-serif; font-size: 1.1rem; font-weight: 700; letter-spacing: 0.05em; }
  .label-name { display: block; font-family: 'Jua', sans-serif; font-size: 1.3rem; font-weight: 400; }
  .level-column.active .column-label { color: #0f172a; }
  .level-column.active[data-level="1"] .column-label { background: var(--lv1-main); color: #ffffff; border-right-color: var(--lv1-main); }
  .level-column.active[data-level="2"] .column-label { background: var(--lv2-main); color: #ffffff; border-right-color: var(--lv2-main); }
  .level-column.active[data-level="3"] .column-label { background: var(--lv3-main); color: #ffffff; border-right-color: var(--lv3-main); }
  .level-column.active[data-level="4"] .column-label { background: var(--lv4-main); color: #ffffff; border-right-color: var(--lv4-main); }
  .level-column.active[data-level="5"] .column-label { background: var(--lv5-main); color: #ffffff; border-right-color: var(--lv5-main); }
  .level-column.active[data-level="6"] .column-label { background: var(--lv6-main); color: #ffffff; border-right-color: var(--lv6-main); }
  .level-column.active .column-label::before { filter: grayscale(0%); animation: labelBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); }
  @keyframes labelBounce { 0% { transform: scale(0.7) rotate(-15deg); } 60% { transform: scale(1.2) rotate(8deg); } 100% { transform: scale(1) rotate(0); } }
  .keywords-container { flex: 1; display: flex; flex-direction: row; flex-wrap: wrap; gap: 0.6rem; padding: 1.4rem 1.2rem; align-items: center; align-content: center; min-width: 0; }
  .keyword-pill { flex: 0 0 auto; padding: 0.7rem 1.2rem; font-size: 1.4rem; height: 3.2rem; max-width: 100%; }
  .accordion-toggle { display: none; align-items: center; justify-content: flex-start; width: 100%; padding: 1rem 1.4rem; background: transparent; border: none; border-top: 0.2rem dashed #f1f5f9; cursor: pointer; font-family: 'Jua', sans-serif; font-size: 1.3rem; color: #334155; transition: all 0.3s; -webkit-tap-highlight-color: transparent; }
  .level-column.active .accordion-toggle { display: flex; }
  .accordion-toggle-label { display: flex; align-items: center; gap: 0.6rem; }
  .accordion-toggle-label .icon { font-size: 1.5rem; }
  .level-column.active .accordion-toggle { color: #0f172a; }
  .accordion-content { display: none; overflow: hidden; padding: 0 1.4rem 1.4rem; animation: accordionOpen 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
  .level-column.active .accordion-content { display: block; }
  @keyframes accordionOpen { from { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; } to { opacity: 1; max-height: 30rem; } }
  .accordion-list { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
  .accordion-list li { display: flex; align-items: flex-start; gap: 1rem; font-size: 1.3rem; color: #0f172a; line-height: 1.5; }
  .accordion-list li::before { content: '✓'; flex-shrink: 0; width: 2rem; height: 2rem; border-radius: 50%; background: #ffffff; color: #0f172a; font-size: 1.1rem; font-family: 'Jua', sans-serif; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; margin-top: 0.1rem; }
  .level-column.active[data-level="1"] .accordion-list li::before { color: var(--lv1-text); }
  .level-column.active[data-level="2"] .accordion-list li::before { color: var(--lv2-text); }
  .level-column.active[data-level="3"] .accordion-list li::before { color: var(--lv3-text); }
  .level-column.active[data-level="4"] .accordion-list li::before { color: var(--lv4-text); }
  .level-column.active[data-level="5"] .accordion-list li::before { color: var(--lv5-text); }
  .level-column.active[data-level="6"] .accordion-list li::before { color: var(--lv6-text); }
  .level-tabs { display: none; }
  .staircase { gap: 2rem; }
  .stage-group { display: flex; flex-direction: column; gap: 1rem; padding: 1.4rem; background: #ffffff; border: 0.1rem solid var(--border-light); border-radius: 1.8rem; transition: all 0.4s; }
  .stage-group[data-stage="1"]:has(.level-column.active) { border-color: var(--lv1-main); box-shadow: 0 0 0 0.2rem var(--lv1-bg); }
  .stage-group[data-stage="2"]:has(.level-column.active) { border-color: var(--lv3-main); box-shadow: 0 0 0 0.2rem var(--lv3-bg); }
  .stage-group[data-stage="3"]:has(.level-column.active) { border-color: var(--lv5-main); box-shadow: 0 0 0 0.2rem var(--lv5-bg); }
  .stage-header { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.4rem 0.4rem 1.2rem; border-bottom: 0.15rem dashed var(--border-light); margin-bottom: 0.4rem; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .stage-header .stage-title { font-family: 'Jua', sans-serif; font-size: 1.6rem; line-height: 1.3; color: #0f172a; }
  .stage-header .stage-desc {  font-size: 1.4rem; line-height: 1.4; color: #64748b; }
  .stage-group[data-stage="1"]:has(.level-column.active) .stage-title { color: var(--lv1-text); }
  .stage-group[data-stage="2"]:has(.level-column.active) .stage-title { color: var(--lv3-text); }
  .stage-group[data-stage="3"]:has(.level-column.active) .stage-title { color: var(--lv5-text); }
  .info-box { display: none; }
  .stage-accordion-toggle { display: none; }
  .stage-accordion-content { display: none; flex-direction: column; gap: 1.6rem; margin-top: 1rem; padding: 1.4rem; background: #f1f5f9; border-radius: 1.2rem; border: 0.1rem solid var(--border-light); }
  .stage-group:has(.level-column.active) .stage-accordion-content { display: flex; }
  .stage-group[data-stage="1"]:has(.level-column.active) .stage-accordion-content { background: var(--lv1-bg); border-color: var(--lv1-main); }
  .stage-group[data-stage="2"]:has(.level-column.active) .stage-accordion-content { background: var(--lv3-bg); border-color: var(--lv3-main); }
  .stage-group[data-stage="3"]:has(.level-column.active) .stage-accordion-content { background: var(--lv5-bg); border-color: var(--lv5-main); }
  .chapter { flex: none; width: 100%; }
  .chapter-title { font-size: 1.5rem; margin-bottom: 1rem; gap: 0.8rem; }
  .chapter-icon { font-size: 1.6rem; }
  .stage-group[data-stage="1"]:has(.level-column.active) .chapter-title { color: var(--lv1-text); }
  .stage-group[data-stage="2"]:has(.level-column.active) .chapter-title { color: var(--lv3-text); }
  .stage-group[data-stage="3"]:has(.level-column.active) .chapter-title { color: var(--lv5-text); }
  .chapter-dl { gap: 0.6rem; }
  .chapter-dl > div { padding: 0.8rem 1.2rem; }
  .chapter-dl dt { font-size: 1.3rem; }
  .chapter-dl dd { font-size: 1.4rem; }
  .chapter-list { gap: 0.8rem; }
  .chapter-list li { font-size: 1.4rem; line-height: 1.5; padding: 1rem 1.2rem; gap: 1rem; }
  .chapter-list li::before { width: 2rem; height: 2rem; font-size: 1.1rem; }
  .stage-group[data-stage="1"]:has(.level-column.active) .chapter-list li::before { color: var(--lv1-text); }
  .stage-group[data-stage="2"]:has(.level-column.active) .chapter-list li::before { color: var(--lv3-text); }
  .stage-group[data-stage="3"]:has(.level-column.active) .chapter-list li::before { color: var(--lv5-text); }
  .chapter-goal-list { gap: 0.8rem; }
  .chapter-goal-list li { font-size: 1.4rem; line-height: 1.5; padding: 1rem 1.2rem; gap: 0.8rem; }
  .goal-badge { font-size: 1rem; padding: 0.3rem 0.7rem; }
}

/* ============ Small Mobile (~480px) ============ */
@media (max-width: 480px) {
  .curriculum-page { padding: 2rem 0rem; }
  .chart-wrapper { padding: 1.6rem 1.2rem; border-radius: 2rem; }
  .hero { margin-bottom: 2.4rem; }
  h1 { font-size: 2.2rem; }
  .subtitle { font-size: 1.3rem; }
  .column-label { width: 6.4rem !important; padding: 1.2rem 0.6rem !important; font-size: 1.2rem !important; }
  .column-label::before { font-size: 2rem !important; }
  .keywords-container { padding: 1.2rem 1rem !important; gap: 0.5rem !important; }
  .keyword-pill { padding: 0.6rem 1rem; font-size: 1.1rem; height: 2.8rem; }
  .accordion-toggle { padding: 0.8rem 1.2rem; font-size: 1.2rem; }
  .accordion-content { padding: 0 1.2rem; }
  .level-column.active .accordion-content { padding: 0.2rem 1.2rem 1.2rem; }
  .accordion-list li { font-size: 1.2rem; line-height: 1.5; }
  .stage-group { padding: 1.2rem; border-radius: 1.6rem; gap: 0.8rem; }
  .stage-header { padding: 0.2rem 0.2rem 1rem; }
  .stage-header .stage-title { font-size: 1.4rem; }
  .stage-header .stage-desc { font-size: 1.1rem; }
  .stage-accordion-toggle { padding: 0.8rem 1.2rem; font-size: 1.2rem; }
  .stage-accordion-content { padding: 1.2rem; gap: 1.4rem; }
  .chapter-title { font-size: 1.4rem; margin-bottom: 0.8rem; }
  .chapter-dl > div { padding: 0.7rem 1rem; }
  .chapter-dl dt { font-size: 1.1rem; }
  .chapter-dl dd { font-size: 1.2rem; }
  .chapter-list li { font-size: 1.2rem; line-height: 1.5; padding: 0.8rem 1rem; gap: 0.8rem; }
  .chapter-list li::before { width: 1.8rem; height: 1.8rem; font-size: 1rem; }
  .chapter-goal-list li { font-size: 1.2rem; line-height: 1.5; padding: 0.8rem 1rem; gap: 0.6rem; }
  .goal-badge { font-size: 0.9rem; padding: 0.2rem 0.6rem; }
  .gp-title { /* text-align: left; */ font-size: 2.8rem; }
  .gp-desc {
	  	/* text-align: left; */
	    font-size: 1.6rem;
	    color: rgb(100, 116, 139);
	    line-height: 1.6;
	    max-width: 64rem;
	    word-break: keep-all;
	    font-weight: 500;
	    margin: 0px;
   }
}

/* ============ Extra Small (~360px) ============ */
@media (max-width: 360px) {
  .curriculum-page { padding: 1.6rem 0rem; }
  h1 { font-size: 2rem; }
  .column-label { width: 5.6rem !important; font-size: 1.1rem !important; }
  .column-label::before { font-size: 1.8rem !important; }
  .keywords-container { padding: 1rem 0.8rem !important; }
  .keyword-pill { padding: 0.5rem 0.9rem; font-size: 1rem; height: 2.6rem; }
}

/* ============ Landscape Mobile (가로 모드) ============ */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px) {
  .curriculum-page { padding: 1.6rem 0rem; }
  .hero { margin-bottom: 1.6rem; }
  h1 { font-size: 2rem; margin-bottom: 0.6rem; }
  .subtitle { font-size: 1.2rem; }
  .eyebrow { margin-bottom: 0.8rem; }
  .chart-wrapper { padding: 1.6rem 2rem; }
  .staircase { flex-direction: row; min-height: 18rem; gap: 0.6rem; align-items: flex-end; }
  .level-column { flex-direction: column !important; background: transparent !important; border: none !important; padding: 0 !important; transform: none !important; overflow: visible !important; flex: 1; display: flex; }
  .accordion-toggle, .accordion-content { display: none !important; }
  .level-column-top { display: contents; }
  .info-box { display: block; }
  .level-column[data-level="1"] { margin-bottom: 0; }
  .level-column[data-level="2"] { margin-bottom: 3rem; }
  .level-column[data-level="3"] { margin-bottom: 6rem; }
  .level-column[data-level="4"] { margin-bottom: 9rem; }
  .level-column[data-level="5"] { margin-bottom: 12rem; }
  .level-column[data-level="6"] { margin-bottom: 15rem; }
  .keywords-container { display: flex !important; flex-direction: column !important; gap: 0.6rem !important; padding: 0 !important; width: 100%; background: transparent !important; }
  .keyword-pill { padding: 0 1rem !important; font-size: 1.1rem !important; height: 3rem !important; width: 100%; }
  .column-label { position: absolute !important; bottom: -2.2rem !important; left: 0 !important; right: 0 !important; width: 100% !important; text-align: center !important; font-size: 1rem !important; background: transparent !important; border: none !important; padding: 0 !important; flex-direction: row !important; gap: 0.4rem !important; justify-content: center !important; }
  .column-label::before { font-size: 1.4rem !important; margin-bottom: 0 !important; }
  .label-text { font-size: 1rem !important; }
  .label-name { display: none !important; }
  .level-column.active .column-label { color: var(--ink) !important; }
  .stage-group { display: contents !important; }
  .stage-header { display: none !important; }
  .level-tabs { position: static; background: transparent; backdrop-filter: none; margin-top: 3.2rem; display: flex !important; }
  .level-tabs .tab-btn { padding: 0.6rem 1rem; }
  .level-tabs .tab-btn .tab-title { font-size: 1.2rem; }
  .level-tabs .tab-btn .tab-desc { font-size: 1rem; }
  .level-tabs .tab-btn .tab-emoji { font-size: 1.4rem; }
}

/* ============ Touch Device Optimization ============ */
@media (hover: none) and (pointer: coarse) {
  .keyword-pill:hover { transform: none; }
  .keyword-pill:active { transform: scale(0.95); }
  .level-tabs .tab-btn:active { background: #f1f5f9; transform: scale(0.96); }
  .level-tabs .tab-btn { min-height: 6.4rem; min-width: 4.4rem; }
}

/* ============ Reduced Motion ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ===== 월간 학습 사이클 ===== */
.cycle-section { background: #f8fcff;  border-radius: 2.4rem;  padding: 3.2rem 4rem 3.2rem; border: 0.1rem solid var(--border-light); margin: 6rem 0; }
.cycle-inner { margin: 0 auto; padding: 0  }
.cycle-header { text-align: center; margin-bottom: 4.8rem; }
.cycle-title { font-size: clamp(2rem, 3.5vw, 3.5rem); font-weight: 900; color: #0f172a; line-height: 1.2; margin-bottom: 1rem; }
.cycle-title span { color: var(--primary); }
.cycle-sub { font-size: 1.5rem; color: #64748b; }
.cycle-flow { display: flex; align-items: stretch; gap: 0; overflow-x: auto; padding: 2rem 0.4rem 0.8rem; scrollbar-width: thin; }
.cycle-arrow { flex-shrink: 0; width: 4rem; display: flex; align-items: center; justify-content: center; }
.cycle-arrow svg { width: 3.2rem; opacity: .7; }
.cycle-step { flex: 1; min-width: 16rem; max-width: 20rem; background: #ffffff; border: 0.15rem solid var(--border-light); border-radius: 1.8rem; padding: 2.8rem 1.8rem 2.4rem; text-align: center; position: relative; display: flex; flex-direction: column; align-items: center; transition: box-shadow .2s, transform .2s; cursor: default; }
.cycle-step:hover { box-shadow: 0 0.8rem 2.8rem rgba(8,97,203,.12); transform: translateY(-0.4rem); }
.cycle-step-icon { width: 6rem; height: 6rem; margin: 0 auto 1.2rem; flex-shrink: 0; }
.cycle-step-icon svg { width: 100%; height: 100%; }
.cycle-step-num { position: absolute; top: -1.4rem; left: 50%; transform: translateX(-50%); width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--primary); color: white; font-size: 1.3rem; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 0.2rem 1rem rgba(8,97,203,.35); z-index: 1; }
.cycle-step-title { font-size: 1.8rem; font-weight: 600; color: #0f172a; line-height: 1.4; margin-bottom: 0.8rem; }
.cycle-step-title em {font-size: 1.4rem; font-weight: 600; color: var(--primary); }
.cycle-step-desc { flex: 1; font-size: 1.3rem; color: #64748b; line-height: 1.2; }
.cycle-note { display: flex; align-items: flex-start; gap: 1.2rem; background: #fefce8; border: 0.1rem solid #fde68a; border-radius: 1.2rem; padding: 1.6rem 2rem; margin-top: 4rem; font-size: 1.35rem; color: #78350f; line-height: 1.7; }
.cycle-note strong { font-weight: 700; }
@media (max-width: 767px) {
  .cycle-flow { flex-direction: column; align-items: stretch; overflow-x: visible; }
  .cycle-arrow { width: 100%; justify-content: center; padding: 0.4rem 0; transform: rotate(90deg); }
  .cycle-step { max-width: 100%; min-width: unset; }
}

/*커리큘럼 첫번째 섹션 */
.main-flow { width: 100%; display: flex; flex-direction: column; gap: 1.6rem; margin: 0 0 12rem 0; }
@media (min-width: 1024px) { .main-flow { flex-direction: row; align-items: stretch; } }

/* 공통 카드 스타일 */
.main-content-card { background: #FFFFFF; border: 0.1rem solid var(--border-light); border-radius: 2.4rem; padding: 3rem; box-shadow: 0 2rem 2.5rem -0.5rem rgba(59, 130, 246, 0.05); position: relative; overflow: hidden; }

.start-phase-container { flex: 0.8; display: flex; flex-direction: column; padding: 3.2rem;}
.start-title { display: flex; align-items: center; gap: 1.6rem; margin-bottom: 3.2rem; position: relative; z-index: 10; }
.start-title .icon-bg { background: #ECFDF5; color: #10B981; width: 4rem; height: 4rem; border-radius: 1.6rem; display: flex; align-items: center; justify-content: center; }
.start-title h2 { font-size: 2.4rem; font-weight: 700; }

.start-content { display: flex; flex-direction: column; align-items: center; gap: 2.4rem; flex: 1; justify-content: center; position: relative; z-index: 10; }
.test-box { width: 100%; background: #F8FAFC; border: 0.1rem solid #F1F5F9; border-radius: 2.4rem; padding: 2.4rem; display: flex; align-items: center; gap: 1.6rem; }
.test-icon { background: white; width: 4.6rem; height: 4.6rem; border-radius: 1.6rem; display: flex; align-items: center; justify-content: center; color: #334155; box-shadow: 0 0.1rem 0.2rem rgba(0,0,0,0.05); }
.test-info h3 { font-size: 1.8rem; font-weight: 700; }
.test-info p { font-size: 1.4rem; color: #64748B; font-weight: 500; }

.assignment-box { width: 100%; background: #FAF5FF; border: 0.1rem solid #F3E8FF; border-radius: 2.4rem; padding: 2.4rem; }
.assignment-header { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.6rem; }
.assignment-header .icon-purple { background: #9333EA; color: white; width: 2.4rem; height: 2.4rem; border-radius: 0.8rem; display: flex; align-items: center; justify-content: center; padding: 0.4rem; }
.assignment-header span { font-size: 1.8rem; font-weight: 700; color: #581C87; }
.level-list { display: flex; flex-direction: column; gap: 0.8rem; }
.level-item { background: rgba(255, 255, 255, 0.8); border: 0.1rem solid #E2E8F0; border-radius: 1.2rem; padding: 0.8rem 1.6rem; font-size: 1.4rem; font-weight: 700; display: flex; align-items: center; gap: 0.8rem; }

.learning-phase-container { flex: 2.8; padding: 3.2rem; min-width: 0; }
.learning-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.4rem; }
.learning-title { display: flex; align-items: center; gap: 1.6rem; }
.learning-title .icon-blue-bg { background: #DBEAFE; color: #2563EB; width: 4.4rem; height: 4.4rem; border-radius: 1.6rem; display: flex; align-items: center; justify-content: center; }
.learning-title h2 { font-size: 2.4rem; font-weight: 700; }
.learning-title-box p{font-size: 1.4rem;  font-weight: 500;  color: #64748B;}
.cycle-badge { background: #EEF2FF; border: 0.1rem solid #E0E7FF; color: #4F46E5; font-size: 1.2rem; font-weight: 600; padding: 0.6rem 2rem; border-radius: 1.6rem; display: flex; align-items: center; gap: 0.8rem; }

.steps-grid { display: flex; flex-direction: row; gap: 1.2rem; margin-bottom: 2rem; }

/* 단계별 세부 카드 */
.level-step-card { flex: 1; background: #FFFFFF; border: 0.1rem solid #F1F5F9; border-radius: 2.4rem; padding: 2.4rem; display: flex; flex-direction: column; gap: 1.6rem; transition: transform 0.2s; box-shadow: 0 0.4rem 0.6rem rgba(0,0,0,0.02); }
.level-step-card:hover { transform: translateY(-0.5rem); }

.step-top { display: flex; justify-content: space-between; align-items: flex-start; }
.step-name-box h3 { font-size: 2.2rem; font-weight: 900; margin-bottom: 0.4rem; }
.step-grade { font-size: 1.2rem; font-weight: 600; color: #94A3B8; background: #fff; padding: 0.2rem 0.8rem; border-radius: 0.8rem; white-space: nowrap; }

.step-body { display: flex; flex-direction: column; gap: 1rem; border-bottom: 0.1rem dashed #F1F5F9; padding-bottom: 2rem; }
.info-row { display: flex; align-items: flex-start; gap: 1rem; }
.info-row svg { width: 1.8rem; height: 1.8rem; margin-top: 0.2rem; flex-shrink: 0; }
.info-row div { display: flex; flex-direction: column; gap: 0.2rem; }
.info-row span.label { font-size: 1.2rem; color: #8591a1; font-weight: 600; }
.info-row p { font-size: 1.35rem; font-weight: 700; line-height: 1.4; color: #334155; }

.eval-section { display: flex; flex-direction: column; gap: 1.2rem; background: #fff; padding: 1.4rem; border-radius: 1rem; border: 1px solid #ecedef;}
.eval-header-label { display: flex; align-items: center; gap: 0.6rem; font-size: 1.2rem; font-weight: 700; color: #D97706; background: #FFFBEB; width: fit-content; padding: 0.4rem 1rem; border-radius: 0.8rem; }
.eval-header-label svg { width: 1.2rem; height: 1.2rem; }

.eval-items { display: flex; flex-direction: column; gap: 0.8rem; }
.eval-item { display: flex; align-items: center; gap: 0.4rem; }
.eval-circle { width: 0.8rem; height: 0.8rem; border-radius: 50%; }
.eval-info { display: flex; gap: 0.8rem; align-items: center; }
.eval-time { font-size: 1.1rem; font-weight: 600; color: #64748B; white-space: nowrap; }
.eval-title { font-size: 1.2rem; font-weight: 700; color: #1E293B; }

.transition-arrow { display: flex; align-items: center; justify-content: center; z-index: 20; }
.arrow-circle { background: white; border: 0.1rem solid #F1F5F9; border-radius: 50%; width: 5.2rem; height: 5.2rem; display: flex; align-items: center; justify-content: center; color: #3B82F6; box-shadow: 0 0.4rem 0.6rem rgba(0,0,0,0.05); }
.arrow-circle svg { width: 2.4rem; height: 2.4rem; transform: rotate(90deg); }
@media (min-width: 1024px) { .arrow-circle svg { transform: rotate(0deg); } }

.repeat-info-bar { display: flex; align-items: center; gap: 1.2rem; background: #F8FAFC; padding: 1.6rem 2.4rem; border-radius: 2rem; border: 0.1rem solid #F1F5F9; }
.repeat-info-bar svg { width: 1.6rem; height: 1.6rem; color: #2563EB; }
.repeat-info-bar p{ font-size: 1.4rem; font-weight: 700; color: #475569;}
/* .footer { margin-top: 3.2rem; font-size: 1.2rem; font-weight: 700; color: #94A3B8; display: flex; align-items: center; gap: 0.8rem; }
.footer svg { width: 1.4rem; height: 1.4rem; } */

.box-purple{ background: #fbf6ff; border-color: #d8c2ec;}
.box-blue{ background: #f2f6ff; border-color: #b3c1df;}
.box-teal{ background: #f4fbfa; border-color: #a4dfda;}
.text-purple { color: #9333EA; } .bg-purple { background-color: #9333EA; }
.text-blue { color: #2563EB; } .bg-blue { background-color: #2563EB; }
.text-teal { color: #0D9488; } .bg-teal { background-color: #0D9488; }

.cflow-wrap .cycle-header{ text-align: left; margin-bottom: 2rem; padding-top: 2rem;}
.cflow-wrap .cycle-title{font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 700; margin-bottom: .4rem;}
.cflow-wrap .cycle-sub{margin-left: 24px;}
@media (max-width: 1023px) { .steps-grid { flex-direction: column; } .transition-arrow { padding: 2rem 0; }}

@media (max-width: 767px) {
  .learning-header{    flex-direction: column; gap: 10px; align-items: flex-start;}
}

/* ==========================================
    결과 화면 모바일 반응형
========================================== */
.result-info-row { display: flex; flex-direction: row; }
.chart-row       { display: flex; flex-direction: row; gap: 24px; }
@media (max-width: 600px) {
  .result-info-row { flex-direction: column; }
  .chart-row       { flex-direction: column; gap: 32px; }
 /*  .khan-adv-img    { display: none; } */
}

.lh-btn-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f0f7ff;
    border-radius: 50%;
    aspect-ratio: 1/1;
    max-width: 250px;
    width: 100%;
}

@media (max-width: 768px) {
  .lh-btn-container { max-width: 150px; }
}

/*학습 문의*/
/* 학습 문의 전용 네임스페이스 스타일 */
.lh-wrapper {
    --lh-primary: #003399;
    --lh-bg: #f9fafb;
    --lh-text-main: #111827;
    --lh-text-sub: #4b5563;
    --lh-white: #ffffff;
}

.lh-main-card {
    background: #f1f7ff;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 2.4rem;
    padding: 1rem 4.8rem;
    margin-top: 4rem;
    margin-bottom: 4rem;
    gap: 2rem;
}

/* 반응형: 모바일 */
@media (max-width: 768px) {
    .lh-main-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
}

.lh-text-group {
    flex: 1;
        display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.6rem;
}

.lh-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 1.6rem;
    border-radius: 9999px;
    font-size: 1.4rem;
    font-weight: 800;
    background: #fff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

.lh-main-title {
    font-size: 3.6rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin: 0;
    letter-spacing: -0.02em;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@media (max-width: 768px) {
	.lh-main-title {
		font-size: 2.6rem;
	}
}

.lh-sub-text {
    font-size: 20px;
    color: var(--lh-text-sub);
    margin: 0 0 24px 0;
}

.lh-action-btn {
    background-color: var(--color-common-primary-50);;
    color: #fff;
    padding: 1.4rem 2rem; 
    border-radius: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1.8rem;
}

.lh-action-btn:hover {
    background-color: var(--color-common-primary-60);;
    transform: translateY(-2px);
}

.lh-footer-notice {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .lh-footer-notice { justify-content: center; }
    .lh-text-group{align-items: center;}
}

.lh-illust-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f0f7ff;
    border-radius: 50%;
    aspect-ratio: 1/1;
    max-width: 400px;
    width: 100%;
}

.inqry_intro_btn {
	margin-top: 2rem;
    display: flex;
    gap: 1.6rem;
    padding: 1rem 0;
    flex-wrap: wrap;
}

/* 문의 버튼 아이콘 */
.inqry-btn-icon {
    width: 2.2rem;
    height: 2.2rem;
    object-fit: contain;
    flex-shrink: 0;
    filter: brightness(0) invert(1); /* 흰색 변환 */
}

/* 카카오 아이콘은 원래 색상 유지 */
.lh-action-btn:first-child .inqry-btn-icon {
    filter: none;
}

@media (max-width: 600px) {
    .inqry_intro_btn {
        flex-direction: column;
    }
    .lh-action-btn {
        width: 100%;
        justify-content: center;
    }
}

/* 소개 영역 수정 - 0624 추가 */
.hero-content {max-width: 900px;}
.herowrap-card-list { display: grid; grid-template-columns: 1fr; gap: 1.8rem; margin-bottom: 5rem; align-items: stretch; }
.herowrap-card { position: relative; display: flex; flex-direction: column; overflow: hidden; background-color: rgba(255,255,255,0.95); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); border-radius: 2.4rem; padding: 2.8rem 2.4rem; box-shadow: 0 10px 24px -10px rgba(0,0,0,0.15); border: 1px solid rgba(255,255,255,0.6); transition: transform 0.25s ease, box-shadow 0.25s ease; will-change: transform; }
.herowrap-card.card-blue  { background-color: rgba(219,234,254,0.92); }
.herowrap-card.card-red   { background-color: rgba(255,228,230,0.92); }
.herowrap-card.card-green { background-color: rgba(209,250,229,0.92); }
.herowrap-card:hover { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); transform: translateY(-4px); }
.herowrap-card-header { display: flex; flex-direction: column; align-items: flex-start; gap: 1.2rem; margin-bottom: 1.4rem; }
.herowrap-card-title { font-size: 2.2rem; font-weight: 500; color: #1e293b; font-family: 'Jua', sans-serif; letter-spacing: 0.03em; text-align: left; }
.herowrap-card-body { color: #334155; font-size: 1.6rem; line-height: 1.7; font-weight: 500; word-break: keep-all; overflow-wrap: break-word; text-align: left; }
.herowrap-theme-blue { background-color: #dbeafe; color: #1e3a8a; }
.herowrap-theme-red { background-color: #fee2e2; color: #991b1b; }
.herowrap-theme-emerald { background-color: #d1fae5; color: #065f46; }
.herowrap-highlight-blue { color: #1d4ed8; font-weight: 700; text-decoration: underline; text-decoration-style: wavy; text-decoration-color: #facc15; }
.herowrap-text-red { color: #dc2626; font-weight: 700; }
.herowrap-bg-yellow-highlight { font-weight: 700; color: #000000; background-color: #fef08a; padding: 0.2rem 0.4rem; border-radius: 0.4rem; }
.herowrap-text-emerald-highlight { font-weight: 700; color: #047857; }
.herowrap-highlight-blue { color: #1d4ed8; font-weight: 700; text-decoration: underline; text-decoration-style: wavy; text-decoration-color: #facc15; /* display: inline-block; */ }
.herowrap-text-red { color: #dc2626; font-weight: 700; /* display: inline-block; */ }
.herowrap-bg-yellow-highlight { font-weight: 700; color: #000000; background-color: #fef08a; padding: 0.2rem 0.4rem; border-radius: 0.4rem; /* display: inline-block; */ }
.herowrap-text-emerald-highlight { font-weight: 700; color: #047857; display: inline-block; }
.herowrap-nowrap { white-space: nowrap; }
 
/* 애니메이션 키프레임 */
@keyframes herowrap-float-cloud {
    0% { transform: translate(-50%, 0px); }
    50% { transform: translate(-50%, -10px); }
    100% { transform: translate(-50%, 0px); }
}
@keyframes herowrap-float-dot {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(180deg); }
    100% { transform: translateY(0px) rotate(360deg); }
}

@media (min-width: 640px) {
    .herowrap-card-list { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
    .herowrap-card { padding: 3rem 2.4rem; }
    .herowrap-card-body { font-size: 1.65rem; }
}
/* 소개 영역 수정 - 0624 추가 */
/* 카드 장식 번호 */
.herowrap-card-num {
    position: absolute; top: 1.2rem; right: 1.6rem;
    font-size: 4.4rem; font-weight: 900; line-height: 1;
    color: rgba(0,0,0,0.05);
    font-family: 'Jua', sans-serif;
    pointer-events: none; user-select: none;
    letter-spacing: -0.04em;
}
.card-blue  .herowrap-card-num { color: rgba(59,130,246,0.12); }
.card-red   .herowrap-card-num { color: rgba(244,63,94,0.12); }
.card-green .herowrap-card-num { color: rgba(16,185,129,0.12); }

/* 카드 내 키워드 chip */
.hero-chip {
    display: inline-flex; align-items: center;
    font-size: 1.3rem; font-weight: 700;
    padding: 0.2rem 0.9rem; border-radius: 9999px;
    vertical-align: middle; margin: 0 0.2rem;
}
.hero-chip.chip-blue  { background: #dbeafe; color: #1d4ed8; }
.hero-chip.chip-red   { background: #ffe4e6; color: #be123c; }
.hero-chip.chip-green { background: #d1fae5; color: #065f46; }

/* 카드 타이틀 앞 아이콘 뱃지 */
.herowrap-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.4rem;
    height: 4.4rem;
    border-radius: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.herowrap-icon-wrapper svg {
    width: 2.6rem;
    height: 2.6rem;
}

/* 카드 하단 요약 정보 - 카드 버전 추가 */
.herowrap-card-foot { margin-top: auto; padding-top: 1.6rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; font-size: 1.4rem; font-weight: 700; }
.card-blue  .herowrap-card-foot { color: #1d4ed8; }
.card-red   .herowrap-card-foot { color: #be123c; }
.card-green .herowrap-card-foot { color: #047857; }
.herowrap-card-foot .hero-chip { font-size: 1.4rem; padding: 0.5rem 1.2rem; margin: 0; }

/* =========================================================
   서울형 영어학습 소개 - [버전 B] 흐름형 전용 스타일
   (정의 박스 안에 콘텐츠/학습진행 2개 섹션 통합, 결과=3단계)
   기존 카드뷰(.herowrap-*)와 독립적으로 동작합니다.
   ========================================================= */
.engflow-wrap { margin-bottom: 4rem; }
.hero-content--wide { max-width: 108rem; }

/* ----- 큰 정의 박스 ----- */
.engflow-def { background-color: rgba(255,255,255,0.97); border-radius: 2.2rem; padding: 2.2rem 2.4rem; box-shadow: 0 16px 36px -18px rgba(0,0,0,0.32); text-align: left; }
.engflow-def-label { font-size: 1.8rem; color: #2563eb; font-weight: 700; margin: 0 0 0.8rem; font-family: 'Jua', sans-serif; letter-spacing: 0.02em; }
.engflow-def-text { font-size: 1.75rem; line-height: 1.65; color: #1e293b; font-weight: 500; margin: 0 0 1.8rem; word-break: keep-all; overflow-wrap: break-word; }
.engflow-def-text b { font-weight: 700; color: #1d4ed8; }

/* ----- 공통 섹션 패널 ----- */
.engflow-section { background-color: #f8fafc; border: 1px solid #eef2f7; border-radius: 1.6rem; padding: 1.6rem; }
.engflow-section + .engflow-section { margin-top: 1.4rem; }
.engflow-section-label { display: flex; align-items: center; gap: 0.6rem; font-size: 1.8rem; font-weight: 700; color: #1e293b; margin: 0 0 0.4rem; font-family: 'Jua', sans-serif; }
.engflow-section-label svg { width: 1.9rem; height: 1.9rem; color: #f4796b; flex-shrink: 0; }
.engflow-section-lead { font-size: 1.4rem; color: #64748b; font-weight: 500; margin: 0 0 1.3rem; word-break: keep-all; line-height: 1.5; }

/* ----- 콘텐츠 변환 (원본 -> 재구성 -> 3단계) ----- */
.engflow-transform { display: flex; flex-direction: column; align-items: stretch; gap: 0.9rem; }
.engflow-tf-card { border-radius: 1.4rem; padding: 1.4rem 1.2rem; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.engflow-tf-card.src { background-color: #ffffff; border: 1px solid #e2e8f0; box-shadow: 0 6px 14px -8px rgba(0,0,0,0.15); }
.engflow-tf-logo { min-height: 5.6rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.engflow-tf-logo img { max-height: 5.6rem; max-width: 100%; object-fit: contain; }
.engflow-tf-name { font-size: 1.55rem; font-weight: 800; font-family: 'Jua', sans-serif; margin-bottom: 0.6rem; color: #334155; }
.engflow-tf-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; }
.engflow-tf-meta span { font-size: 1.2rem; font-weight: 600; padding: 0.3rem 0.8rem; border-radius: 9999px; background-color: #f1f5f9; color: #64748b; }
.engflow-tf-mid { display: flex; flex-direction: column-reverse; align-items: center; justify-content: center; gap: 0.6rem; }
.engflow-tf-arrow { width: 3.6rem; height: 3.6rem; border-radius: 50%; background-image: linear-gradient(135deg, #60a5fa, #2563eb); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px -6px rgba(37,99,235,0.55); }
.engflow-tf-arrow svg { width: 2rem; height: 2rem; color: #ffffff; transform: rotate(90deg); }
.engflow-tf-recon { font-size: 1.25rem; font-weight: 700; color: #92400e; background-color: #fef3c7; padding: 0.5rem 0.9rem; border-radius: 0.8rem; line-height: 1.35; text-align: center; }

/* ----- 3단계 박스 (변환 결과) ----- */
.engflow-levels { display: flex; flex-direction: column; gap: 0.7rem; }
.engflow-level { border-radius: 1.3rem; padding: 1.3rem 1.3rem; display: flex; flex-direction: column; gap: 0.7rem; border: 1px solid #e5e7eb; }
.engflow-level.lv1 { background-color: #faf5ff; border-color: #e9d5ff; }
.engflow-level.lv2 { background-color: #eff6ff; border-color: #bfdbfe; }
.engflow-level.lv3 { background-color: #f0fdfa; border-color: #99f6e4; }
.engflow-level-badge { align-self: flex-start; font-size: 1.4rem; font-weight: 800; font-family: 'Jua', sans-serif; padding: 0.35rem 1.1rem; border-radius: 9999px; color: #ffffff; }
.engflow-level.lv1 .engflow-level-badge { background-color: #7c3aed; }
.engflow-level.lv2 .engflow-level-badge { background-color: #2563eb; }
.engflow-level.lv3 .engflow-level-badge { background-color: #0d9488; }
.engflow-level-grade { font-size: 1.2rem; color: #64748b; font-weight: 600; margin-top: -0.4rem; }
.engflow-level-row { display: flex; flex-direction: column; gap: 0.25rem; }
.engflow-level-row-label { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 1.2rem; font-weight: 700; color: #94a3b8; }
.engflow-level-row-label svg { width: 1.4rem; height: 1.4rem; flex-shrink: 0; }
.engflow-level.lv1 .engflow-level-row-label svg { color: #7c3aed; }
.engflow-level.lv2 .engflow-level-row-label svg { color: #2563eb; }
.engflow-level.lv3 .engflow-level-row-label svg { color: #0d9488; }
.engflow-level-row-value { font-size: 1.35rem; font-weight: 600; color: #1e293b; line-height: 1.4; word-break: keep-all; }
.engflow-level-row-value em { font-style: normal; font-size: 1.15rem; color: #64748b; font-weight: 600; }

/* ----- 단계(학습 진행) ----- */
.engflow-steps { display: flex; flex-direction: column; align-items: stretch; gap: 0.7rem; }
.engflow-step { border-radius: 1.6rem; padding: 1.6rem 1.2rem; text-align: center; box-shadow: 0 8px 18px -12px rgba(0,0,0,0.25); display: flex; flex-direction: column; align-items: center; }
.engflow-step.s1 { background-color: #eff6ff; }
.engflow-step.s2 { background-color: #ecfdf5; }
.engflow-step.s3 { background-color: #fff1f0; }
.engflow-icon { width: 4rem; height: 4rem; border-radius: 1.5rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; box-shadow: 0 6px 14px -6px rgba(0,0,0,0.25); }
.engflow-icon svg { width: 2.7rem; height: 2.7rem; color: #ffffff; }
.engflow-step.s1 .engflow-icon { background-image: linear-gradient(135deg, #60a5fa, #2563eb); }
.engflow-step.s2 .engflow-icon { background-image: linear-gradient(135deg, #34d399, #059669); }
.engflow-step.s3 .engflow-icon { background-image: linear-gradient(135deg, #fda4af, #f4796b); }
.engflow-step-label { font-size: 1.25rem; font-weight: 800; letter-spacing: 0.08em; margin-bottom: 0.4rem; font-family: 'Jua', sans-serif; }
.engflow-step.s1 .engflow-step-label { color: #2563eb; }
.engflow-step.s2 .engflow-step-label { color: #059669; }
.engflow-step.s3 .engflow-step-label { color: #e11d48; }
.engflow-step h4 { margin: 0 0 0.5rem; font-size: 1.9rem; color: #1e293b; font-family: 'Jua', sans-serif; font-weight: 500; }
.engflow-step p { margin: 0; font-size: 1.4rem; line-height: 1.5; color: #475569; font-weight: 500; word-break: keep-all; }
.engflow-arrow { display: flex; align-items: center; justify-content: center; }
.engflow-arrow span { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 50%; background-color: #ffffff; color: #2563eb; font-size: 1.8rem; font-weight: 800; box-shadow: 0 3px 8px -2px rgba(0,0,0,0.18); border: 1px solid #e8eef5; transform: rotate(90deg); }

/* 반복 고리 */
.engflow-loop { margin-top: 1.2rem; display: flex; justify-content: center; }
.engflow-loop span { display: inline-flex; align-items: center; gap: 0.6rem; background-color: #eff6ff; border: 1px dashed #93c5fd; color: #1d4ed8; font-size: 1.4rem; font-weight: 700; padding: 0.8rem 1.8rem; border-radius: 9999px; word-break: keep-all; }

/* ----- 반응형 ----- */
@media (min-width: 640px) {
    .engflow-levels { flex-direction: row; align-items: stretch; }
    .engflow-level { flex: 1; }
    .engflow-steps { flex-direction: row; align-items: stretch; justify-content: center; gap: 0.5rem; }
    .engflow-step { flex: 1; }
    .engflow-arrow span { transform: none; }
}
@media (min-width: 1024px) {
    .engflow-transform { flex-direction: row; align-items: stretch; }
    .engflow-tf-card.src { flex: 0 0 22rem; }
    .engflow-tf-mid { flex-direction: column; min-width: 9rem; flex-shrink: 0; }
    .engflow-tf-arrow svg { transform: none; }
    .engflow-levels { flex: 1; }
}

/* =====================================================================
   서울형 영어학습 - 히어로 연결형 4원형(체인) 개념도
   (english.css 맨 끝에 이어붙이세요)
   ===================================================================== */
/* 상위 컨테이너가 좁아도 눌리지 않도록 뷰포트 기준 full-bleed */
.engflow-wrap--venn { width: 100vw; max-width: 100vw; margin: 2.4rem 0 2rem; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.engflow-chain-lead { font-size: 3rem; font-weight: 700; color: #ffffff; margin: 0 0 1.4rem; text-align: center; word-break: keep-all; line-height: 1.5; text-shadow: 0 2px 6px rgba(0,0,0,0.18); }
.engflow-chain-lead b { color: #FFE066; }

/* ┌───────────────────────────────────────────────┐
   │  ★ 크기 조절: 아래 두 값만 바꾸세요            │
   │  --chain-width : 다이어그램 최대 가로 폭        │
   │  --node-size   : 원 크기(폭 대비 %). 값을 키우면 │
   │                  원이 커지고 원 사이 선은 짧아짐 │
   │                  (데스크톱 기준 24% 이하 권장)   │
   └───────────────────────────────────────────────┘ */
.chain { --chain-width: 1200px; --node-size: 20%; }

/* ===== 모바일·태블릿(<1024px): 세로 체인 ===== */
.chain { position: static; display: flex; flex-direction: column; align-items: center; gap: 0;
	width: min(var(--chain-width), 100%); margin: 0 auto; padding: 0 1.6rem; }
.chain-svg { display: none; }
.chain-node { position: relative; width: 18rem; height: 18rem; margin: 0 auto; border-radius: 50%; background: #fff; border: 3px solid;
	display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 1.2rem; }
.chain-node:not(:last-child) { margin-bottom: 4rem; }
.chain-node:not(:last-child)::after { content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); width: 0.4rem; height: 4rem; border-radius: 1rem; background: rgba(255,255,255,0.9); }
.chain-ico { display: flex; align-items: center; justify-content: center; width: 3.8rem; height: 3.8rem; border-radius: 50%; margin-bottom: 0.5rem; }
.chain-ico svg { width: 2rem; height: 2rem; color: #fff; }
.chain-node strong { display: block; font-family: 'Jua', sans-serif; font-weight: 400; font-size: 1.85rem; line-height: 1.15; }
.chain-sub { display: block; font-size: 1.3rem; font-weight: 600; color: #64748b; margin-top: 0.35rem; line-height: 1.3; word-break: keep-all; }

/* 노드별 색 */
.chain-node.n1 { border-color: #7c3aed; box-shadow: 0 10px 22px -12px rgba(124,58,237,0.5); }
.chain-node.n2 { border-color: #2563eb; box-shadow: 0 10px 22px -12px rgba(37,99,235,0.5); }
.chain-node.n3 { border-color: #0d9488; box-shadow: 0 10px 22px -12px rgba(13,148,136,0.5); }
.chain-node.n4 { border-color: #e11d48; box-shadow: 0 10px 22px -12px rgba(225,29,72,0.5); }
.chain-node.n1 .chain-ico { background: linear-gradient(135deg,#a78bfa,#7c3aed); }
.chain-node.n2 .chain-ico { background: linear-gradient(135deg,#60a5fa,#2563eb); }
.chain-node.n3 .chain-ico { background: linear-gradient(135deg,#5eead4,#0d9488); }
.chain-node.n4 .chain-ico { background: linear-gradient(135deg,#fb7185,#e11d48); }
.chain-node.n1 strong { color: #6d28d9; }
.chain-node.n2 strong { color: #1d4ed8; }
.chain-node.n3 strong { color: #0f766e; }
.chain-node.n4 strong { color: #be123c; }

/* ===== 데스크톱(≥1024px): 가로 지그재그 + 연결선(SVG) ===== */
@media (min-width: 900px) {
	.chain { position: relative; display: block; width: min(var(--chain-width), 100%); margin: 0 auto; padding: 0; aspect-ratio: 1000 / 420; }
	.chain-svg { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
	.chain-node { position: absolute; width: var(--node-size); height: auto; aspect-ratio: 1; margin: 0 !important; transform: translate(-50%,-50%); padding: 0 1.2rem; }
	.chain-node::after { display: none; }
	.chain-node.n1 { left: 13%; top: 35%; }
	.chain-node.n2 { left: 38%; top: 65%; }
	.chain-node.n3 { left: 62%; top: 35%; }
	.chain-node.n4 { left: 87%; top: 65%; }
	.chain-ico { width: 4.6rem; height: 4.6rem; margin-bottom: 0.6rem; }
	.chain-ico svg { width: 2.6rem; height: 2.6rem; }
	.chain-node strong { font-size: 3rem; }
	.chain-sub { font-size: 1.8rem; margin-top: 0.5rem; }
}

/* 아주 작은 폰: 원 살짝 축소 */
@media (max-width: 400px) {
	.chain-node { width: 16rem; height: 16rem; }
	.chain-node strong { font-size: 1.65rem; }
	.chain-sub { font-size: 1.2rem; }
}

@media (max-width: 760px) {
	.engflow-chain-lead {font-size: 2.2rem;}
	
}

@media (max-width: 480px) {
	.mobile-hide {display: none;}
	.engflow-chain-lead {font-size: 1.8rem;}
	
}

@media (max-width: 430px) {
	.mobile-only-br {display: block;}
	.sec-desc {font-size:1.6rem;}
	.playground-desc {font-size:1.6rem;}
}

@media (max-width: 340px) {
	.card-stat-item h4 {font-size:1.8rem;}
	
}

/* =====================================================================
   서울형 영어학습 - 단계별 학습 과정(레벨 커리큘럼) 섹션
   (english.css 맨 끝에 이어붙이세요)
   ===================================================================== */
.curr-recon { display: inline-flex; align-items: center; gap: 0.8rem; margin: -3rem auto 4.8rem; padding: 1rem 2rem; background: #fff; border: 1px solid #e2e8f0; border-radius: 9999px; box-shadow: 0 8px 20px -14px rgba(30,64,175,0.35); font-size: 1.5rem; font-weight: 700; color: #334155; }
.curr-recon svg { width: 2rem; height: 2rem; color: #2563eb; flex-shrink: 0; }
.curr-recon b { color: #1d4ed8; }
.curr-recon-wrap { text-align: center; }

.curr-flow { display: flex; flex-direction: column; align-items: stretch; gap: 1.6rem; max-width: 108rem; margin: 0 auto; }

.curr-card { position: relative; flex: 1; background: #fff; border-radius: 2.4rem; padding: 2.8rem 2.4rem 2.6rem; box-shadow: 0 20px 44px -26px rgba(15,23,42,0.4); border: 1px solid #eef2f7; overflow: hidden; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.curr-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 0.7rem; }
.curr-card:hover { transform: translateY(-6px); box-shadow: 0 28px 52px -24px rgba(15,23,42,0.45); }
.curr-card.lv1::before { background: linear-gradient(90deg,#a78bfa,#7c3aed); }
.curr-card.lv2::before { background: linear-gradient(90deg,#60a5fa,#2563eb); }
.curr-card.lv3::before { background: linear-gradient(90deg,#5eead4,#0d9488); }

.curr-watermark { position: absolute; right: 1.6rem; top: 0.4rem; font-family: 'Jua',sans-serif; font-size: 9rem; line-height: 1; font-weight: 400; opacity: 0.08; }
.curr-card.lv1 .curr-watermark { color: #7c3aed; }
.curr-card.lv2 .curr-watermark { color: #2563eb; }
.curr-card.lv3 .curr-watermark { color: #0d9488; }

.curr-head { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 2rem; }
.curr-badge { font-family: 'Jua',sans-serif; font-weight: 400; font-size: 1.7rem; color: #fff; padding: 0.5rem 1.6rem; border-radius: 9999px; }
.curr-card.lv1 .curr-badge { background: linear-gradient(135deg,#a78bfa,#7c3aed); }
.curr-card.lv2 .curr-badge { background: linear-gradient(135deg,#60a5fa,#2563eb); }
.curr-card.lv3 .curr-badge { background: linear-gradient(135deg,#5eead4,#0d9488); }
.curr-grade { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 1.6rem; font-weight: 800; color: #1e293b; }
.curr-grade svg { width: 2rem; height: 2rem; }
.curr-card.lv1 .curr-grade svg { color: #7c3aed; }
.curr-card.lv2 .curr-grade svg { color: #2563eb; }
.curr-card.lv3 .curr-grade svg { color: #0d9488; }

.curr-row { display: flex; align-items: flex-start; gap: 1.2rem; padding: 1.4rem 0; }
.curr-row + .curr-row { border-top: 1px dashed #e5e9f0; }
.curr-row-ico { flex-shrink: 0; width: 4rem; height: 4rem; border-radius: 1.2rem; display: flex; align-items: center; justify-content: center; }
.curr-row-ico svg { width: 2.2rem; height: 2.2rem; color: #fff; }
.curr-card.lv1 .curr-row-ico { background: linear-gradient(135deg,#a78bfa,#7c3aed); }
.curr-card.lv2 .curr-row-ico { background: linear-gradient(135deg,#60a5fa,#2563eb); }
.curr-card.lv3 .curr-row-ico { background: linear-gradient(135deg,#5eead4,#0d9488); }
.curr-row-txt { display: flex; flex-direction: column; gap: 0.3rem; }
.curr-row-label { font-size: 1.3rem; font-weight: 800; letter-spacing: 0.02em; color: #94a3b8; }
.curr-row-value { font-size: 1.65rem; font-weight: 700; color: #1e293b; line-height: 1.45; word-break: keep-all; }
.curr-row-value em { font-style: normal; font-size: 1.35rem; font-weight: 700; color: #64748b; margin-left: 0.4rem; }

.curr-arrow { align-self: center; display: flex; align-items: center; justify-content: center; width: 4.4rem; height: 4.4rem; border-radius: 50%; background: #fff; box-shadow: 0 8px 18px -8px rgba(15,23,42,0.35); border: 1px solid #eef2f7; color: #2563eb; flex-shrink: 0; }
.curr-arrow svg { width: 2.4rem; height: 2.4rem; transform: rotate(90deg); }

@media (min-width: 900px) {
	.curr-flow { flex-direction: row; align-items: stretch; }
	.curr-arrow { align-self: center; }
	.curr-arrow svg { transform: none; }
}
@media (max-width: 480px) {
	.curr-card { padding: 2.4rem 1.8rem; }
	.curr-recon { font-size: 1.35rem; margin-bottom: 3.6rem; }
	.curr-watermark { font-size: 7rem; }
}

/* ── 레벨별 1개월 체험 QR ── */
.curr-trial { display: flex; flex-direction: column; gap: 1.4rem; margin-top: 0.2rem; }
.curr-trial-item { display: flex; align-items: center; gap: 1.4rem; padding: 1.2rem 1.4rem; border-radius: 1.6rem; }
/* QR 지그재그 배치: 두 QR이 대각선으로 떨어져 스캔 시 한 번에 하나만 프레임에 잡히도록 */
.curr-trial-item:nth-child(2) { flex-direction: row-reverse; }
.curr-trial-item:nth-child(2) .curr-trial-txt { align-items: flex-end; text-align: right; }
.curr-card.lv1 .curr-trial-item { background: #faf5ff; }
.curr-card.lv2 .curr-trial-item { background: #eff6ff; }
.curr-card.lv3 .curr-trial-item { background: #f0fdfa; }
.curr-trial-qr { flex-shrink: 0; width: 9.2rem; height: 9.2rem; padding: 0.6rem; box-sizing: border-box; background: #fff; border: 1px solid #e2e8f0; border-radius: 1rem; }
.curr-trial-txt { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }
.curr-trial-txt strong { font-size: 1.6rem; font-weight: 800; color: #1e293b; line-height: 1.3; word-break: keep-all; }
.curr-trial-txt span { font-size: 1.3rem; font-weight: 600; color: #64748b; line-height: 1.4; word-break: keep-all; }
@media (max-width: 480px) {
	.curr-trial-qr { width: 8.4rem; height: 8.4rem; }
	.curr-trial-item { gap: 1.2rem; padding: 1.1rem 1.2rem; }
}

/* ── QR 썸네일 확대 버튼: 반투명 베일로 소형 QR 직접 스캔을 막고 터치 유도 ── */
.curr-trial-qr-btn { position: relative; flex-shrink: 0; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 1rem; line-height: 0; }
.curr-trial-qr-btn .curr-trial-qr { display: block; }
.curr-trial-zoom { position: absolute; inset: 0.1rem; border-radius: 0.9rem; background: rgba(255,255,255,0.66); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem; transition: background 0.2s ease; }
.curr-trial-zoom svg { width: 2.6rem; height: 2.6rem; color: #334155; }
.curr-trial-zoom em { font-style: normal; font-size: 1.15rem; font-weight: 800; color: #334155; line-height: 1; }
.curr-trial-qr-btn:hover .curr-trial-zoom,
.curr-trial-qr-btn:focus-visible .curr-trial-zoom { background: rgba(255,255,255,0.5); }
.curr-trial-qr-btn:focus-visible { outline: 3px solid #2563eb; outline-offset: 2px; }

/* ── QR 확대 모달 ── */
.qr-zoom-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; }
.qr-zoom-modal[hidden] { display: none; }
.qr-zoom-backdrop { position: absolute; inset: 0; background: rgba(15,23,42,0.72); }
.qr-zoom-panel { position: relative; background: #fff; border-radius: 2.4rem; padding: 3.4rem 3.6rem 2.8rem; text-align: center; box-shadow: 0 30px 60px -20px rgba(15,23,42,0.5); max-width: calc(100vw - 3.2rem); }
.qr-zoom-title { font-size: 2.2rem; font-weight: 400; color: #1e293b; margin-bottom: 1.6rem; }
.qr-zoom-img { display: block; width: 26rem; height: 26rem; max-width: 72vw; max-height: 72vw; margin: 0 auto; padding: 1.2rem; box-sizing: border-box; background: #fff; border: 1px solid #e2e8f0; border-radius: 1.6rem; }
.qr-zoom-sub { margin-top: 1.6rem; font-size: 1.45rem; font-weight: 700; color: #64748b; word-break: keep-all; }
.qr-zoom-close { position: absolute; top: 1.4rem; right: 1.4rem; width: 3.6rem; height: 3.6rem; border: 0; border-radius: 50%; background: #f1f5f9; color: #475569; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s ease; }
.qr-zoom-close:hover { background: #e2e8f0; }
.qr-zoom-close svg { width: 1.8rem; height: 1.8rem; }
body.qr-zoom-open { overflow: hidden; }

/* ── 칸 앱 소개 영역 QR 확대 버튼 ── */
.khan-qr-btn { align-self: center; }
.khan-qr-btn .khan-qr { display: block; align-self: auto; }
.khan-qr-btn .curr-trial-zoom { inset: 0; border-radius: 0.6rem; gap: 0.2rem; }
.khan-qr-btn .curr-trial-zoom svg { width: 2.2rem; height: 2.2rem; }
.khan-qr-btn .curr-trial-zoom em { font-size: 1.05rem; }

/* =====================================================================
   섹션 스타일 통일 (3·4·5·6 섹션) — 히어로/칸아카데미(1·2) 제외
   - 스타일: 라운드 카드(안쪽 흰 링 + 그림자)
   - 색상: 섹션마다 다르게
   - 장식: 모서리 원형(좌상단/우하단) 전 섹션 동일 (문양 패턴은 제거)
   - 애니메이션: 배경도 reveal에 포함(내용과 함께 등장)
   - 높이: #features 기준 min-height(JS) + 세로 중앙 정렬
   ===================================================================== */
:root { --sec-gap: 6.4rem; --sec-pad-y: 6rem; }

/* 공통 카드 스타일 + 모서리 원형 장식(전 섹션 동일) */
#curriculum.section-wrap,
.step-section-wrapper,
#guide.section-wrap,
#level-test.section-wrap {
	border-radius: 4rem;
	box-shadow: inset 0 0 0 8px rgba(255,255,255,0.7), 0 20px 40px rgba(0,0,0,0.03);
	position: relative;
	overflow: hidden;
	width: auto;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	/* 좌상단 큰 원(지름 300) + 우하단 원(지름 200) : 콘텐츠 뒤 배경에 그려짐 */
	background-image:
		radial-gradient(circle 150px at 50px 50px, rgba(255,255,255,0.45) 99%, transparent 100%),
		radial-gradient(circle 100px at calc(100% - 50px) calc(100% - 50px), rgba(255,255,255,0.45) 99%, transparent 100%);
	background-repeat: no-repeat;
}
/* step의 기존 원 div 숨김(중복 방지) */
.step-bg-dec { display: none; }

/* ── 섹션별 배경색만 다르게 (문양 없음) ── */
#curriculum.section-wrap        { background-color: #F1ECFB; } /* 라벤더 */
.step-section-wrapper           { background-color: #E8F2FF; } /* 블루 */
#guide.section-wrap             { background-color: #E7F7EF; } /* 민트 */
#level-test.section-wrap        { background-color: #FDF0E3; text-align: center; } /* 피치 */

/* 데스크톱(≥1024px): 패딩·간격 통일 + 높이 매칭 세로 중앙 정렬 */
@media (min-width: 1024px) {
	#curriculum.section-wrap,
	#guide.section-wrap,
	.step-section-wrapper,
	#level-test.section-wrap { padding: var(--sec-pad-y) 3.2rem; margin-top: 0; margin-bottom: var(--sec-gap); }
	#features.section-wrap { margin-bottom: var(--sec-gap); }

	.sec-match { display: flex; flex-direction: column; justify-content: center; }
	.sec-match .btn-giant-start { align-self: center; width: auto; max-width: 100%; }
}

/* 태블릿·모바일(<1024px): 라운드/패딩 축소 + 좌우 여백, 높이매칭 해제 */
@media (max-width: 1023px) {
	#curriculum.section-wrap,
	#guide.section-wrap,
	.step-section-wrapper,
	#level-test.section-wrap {
		max-width: none;
		border-radius: 3rem;
		margin: 0 1.2rem 3.2rem;
		padding: 4.8rem 2rem;
	}
	#features.section-wrap { margin-bottom: 3.2rem; }
	.sec-match { min-height: 0 !important; }
}

/* =====================================================================
   히어로 캐릭터 이미지 (투명 PNG) — 좌측 상단 배치
   위치/크기 조절: left / top / width 값만 바꾸면 됩니다
   ===================================================================== */
 /* 히어로 캐릭터 + 말풍선 (이미지/JS 없이 CSS만) : 위치/크기는 wrap의 left·width로 조절 */
.hero-mascot-wrap {
	position: absolute;
	top: 7rem;
	left: calc(50% - 66rem);   /* 중앙 정렬 콘텐츠 왼쪽에 고정 (넓어져도 함께 이동) */
	width: 34rem;
	z-index: 2;
	pointer-events: none;
	user-select: none;
}
.hero-mascot {
	display: block;
	width: 100%;
	height: auto;
	background: transparent;
	filter: drop-shadow(0 12px 20px rgba(0,0,0,0.12));
}
/* 말풍선: 캐릭터 머리 위쪽 */
.hero-mascot-bubble {
	position: absolute;
	/* top: -3.2rem; */
	left: 14rem;
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	background: #ffffff;
	padding: 0.9rem 1.8rem;
	border-radius: 2.4rem;
	box-shadow: 0 10px 20px -8px rgba(0,0,0,0.28);
	font-family: 'Jua', sans-serif;
	font-size: 2.4rem;
	line-height: 1;
	white-space: nowrap;
	transform-origin: bottom left;
	animation: mascotBubbleBob 2.6s ease-in-out infinite;
}
.hero-mascot-bubble em { font-style: normal; }
.hero-mascot-bubble em:nth-child(1) { color: #dd5211; }
.hero-mascot-bubble em:nth-child(2) { color: #22C55E; }
.hero-mascot-bubble em:nth-child(3) { color: #2563EB; }
.hero-mascot-bubble em:nth-child(4) { color: #FFB300; }
/* 말풍선 꼬리(아래 방향, 캐릭터를 가리킴) */
.hero-mascot-bubble::after {
	content: '';
	position: absolute;
	bottom: -0.8rem;
	left: 2.4rem;
	width: 1.6rem;
	height: 1.6rem;
	background: #ffffff;
	transform: rotate(45deg);
	border-radius: 0 0 0.4rem 0;
}
@keyframes mascotBubbleBob {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-0.6rem); }
}
/* 화면이 좁아 타이틀과 겹칠 수 있는 구간에서는 캐릭터+말풍선 숨김 */
.hero-mascot-wrap--right {
	left: auto;
	right: calc(50% - 60rem);   /* 왼쪽 캐릭터의 미러 위치 */
	top: 14rem;
	width: 22rem;               /* 초록 캐릭터는 세로형이라 폭을 좁게 */
}
/* 오른쪽 캐릭터 말풍선(머리 위) */
.hero-mascot-wrap--right .hero-mascot-bubble {
	left: 8rem;
	top: -7rem;
}
@media (max-width: 1199px) { .hero-mascot-wrap { display: none; } }