/* =========================================================
   제로투맥스 DA 교육 — 커머스/랜딩 공용 스타일
   /edu (목록) · /edu/shop=N (상세 랜딩)
   ========================================================= */
:root {
  --brand: #2962ff; --brand-ink: #1b4ed8; --navy: #0b1326;
  --ink: #101828; --ink2: #475467; --ink3: #98a2b3;
  --line: #eaecf2; --bg-soft: #f6f8fb; --red: #e11d48; --star: #f5a623;
  --accent: #2962ff; --accent2: #1b4ed8;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; color: var(--ink); background: #fff; font-size: 15px; line-height: 1.6; word-break: keep-all; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ---------- 헤더 ---------- */
.edu-nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.edu-nav-inner { display: flex; align-items: center; gap: 26px; height: 62px; }
.edu-brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 16.5px; letter-spacing: -.01em; }
.edu-brand img { height: 22px; }
.edu-brand .edu-tag { font-size: 10.5px; font-weight: 800; color: #fff; background: var(--brand); padding: 3px 8px; border-radius: 999px; letter-spacing: .04em; }
.edu-nav-links { display: flex; gap: 22px; margin-left: 8px; font-weight: 600; color: var(--ink2); font-size: 14px; }
.edu-nav-links a:hover { color: var(--ink); }
.edu-nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.edu-nav-right .ghost { font-weight: 700; font-size: 13.5px; color: var(--ink2); }
.edu-nav-right .ghost:hover { color: var(--ink); }
.btn-cta { display: inline-flex; align-items: center; justify-content: center; background: var(--brand); color: #fff; font-weight: 800; font-size: 13.5px; height: 38px; padding: 0 18px; border-radius: 999px; border: 0; transition: background .15s; }
.btn-cta:hover { background: var(--brand-ink); }

/* =========================================================
   목록 페이지 (/edu)
   ========================================================= */
.edu-hero { padding: 48px 0 6px; }
.edu-hero .eyebrow { font-size: 12.5px; font-weight: 800; color: var(--brand); letter-spacing: .1em; }
.edu-hero h1 { font-size: clamp(26px, 3.6vw, 36px); letter-spacing: -.025em; margin-top: 10px; line-height: 1.28; }
.edu-hero p { color: var(--ink2); margin-top: 12px; font-size: 15.5px; max-width: 640px; }

.edu-toolbar { display: flex; align-items: center; gap: 10px; margin: 30px 0 4px; }
.edu-toolbar .count { font-size: 13.5px; color: var(--ink3); font-weight: 700; }
.edu-search { margin-left: auto; position: relative; }
.edu-search input { height: 40px; width: 220px; border: 1px solid var(--line); border-radius: 999px; padding: 0 16px 0 38px; font-family: inherit; font-size: 13.5px; outline: none; transition: border-color .15s; }
.edu-search input:focus { border-color: var(--brand); }
.edu-search::before { content: "🔍"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 13px; opacity: .55; }

.edu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 24px; padding: 24px 0 70px; max-width: 860px; }
.edu-empty { grid-column: 1 / -1; text-align: center; color: var(--ink3); padding: 60px 0; }

.pcard { display: block; min-width: 0; }
.pcard .cover { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 22px rgba(16,24,40,.12); transition: transform .18s ease, box-shadow .18s ease; }
.pcard:hover .cover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(16,24,40,.18); }
/* ── 커버 아트(플레이스홀더) — .cover/.hero-cover/.cls-cover 어디에 놓여도 동일하게 렌더 ── */
.art { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }
.art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; display: block; }
.art .big { font-size: clamp(20px, 2.6vw, 30px); font-weight: 900; color: #fff; letter-spacing: -.01em; text-align: center; line-height: 1.22; padding: 0 14px; text-shadow: 0 2px 16px rgba(0,0,0,.24); position: relative; z-index: 1; }
.art .big small { display: block; font-size: .52em; font-weight: 700; opacity: .88; margin-top: 7px; letter-spacing: .08em; }
.art .chips { position: absolute; top: 12px; left: 12px; display: flex; gap: 5px; z-index: 1; }
.art .chips i { font-style: normal; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font-size: 11px; font-weight: 900; color: #fff; background: rgba(10,16,30,.8); }
.art .glow { position: absolute; width: 70%; height: 70%; border-radius: 50%; filter: blur(50px); opacity: .5; right: -14%; bottom: -26%; }

.pcard .meta { display: flex; align-items: center; gap: 8px; margin-top: 13px; }
.type-chip { font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 6px; background: var(--bg-soft); color: var(--ink2); border: 1px solid var(--line); }
.type-chip.pkg { background: #eef3ff; color: var(--brand-ink); border-color: #dbe6ff; }
.type-chip.b2b { background: #f1eefe; color: #5b3df5; border-color: #e2dbfd; }
.rating { color: var(--ink2); font-weight: 700; font-size: 12.5px; }
.rating .star { color: var(--star); }
.rating span { color: var(--ink3); font-weight: 600; }
.pcard h3 { margin-top: 8px; font-size: 17px; line-height: 1.42; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.84em; }
.pcard .was { margin-top: 10px; font-size: 12.5px; color: var(--ink3); text-decoration: line-through; }
.pcard .now { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; }
.pcard .now .pct { color: var(--red); font-weight: 900; font-size: 19px; }
.pcard .now .amt { font-weight: 900; font-size: 20px; letter-spacing: -.01em; }
.pcard .total { font-size: 12.5px; color: var(--ink3); margin-top: 3px; }
.sale-chip { display: inline-block; margin-top: 10px; font-size: 11px; font-weight: 800; color: var(--red); background: #fdf0f3; border-radius: 6px; padding: 4px 10px; }

/* =========================================================
   상세 랜딩 (/edu/shop=N)
   ========================================================= */
.crumb { padding: 16px 0 0; font-size: 12.5px; color: var(--ink3); font-weight: 600; }
.crumb a:hover { color: var(--ink2); }

/* ── 히어로 ── */
.class-hero { position: relative; overflow: hidden; color: #fff; background: var(--hg, linear-gradient(135deg,#16244f,#2962ff)); }
.class-hero::after { content: ""; position: absolute; width: 60%; height: 140%; right: -12%; top: -20%; background: radial-gradient(closest-side, rgba(255,255,255,.22), transparent 70%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: center; padding: 54px 0 46px; }
.hero-eyebrow { font-size: 12.5px; font-weight: 800; letter-spacing: .12em; color: rgba(255,255,255,.82); }
.hero-text h1 { font-size: clamp(28px, 4vw, 46px); line-height: 1.24; letter-spacing: -.03em; margin-top: 14px; font-weight: 900; }
.hero-text h1 em { font-style: normal; background: rgba(255,255,255,.22); border-radius: 8px; padding: 0 8px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero-sub { margin-top: 18px; font-size: 15.5px; line-height: 1.75; color: rgba(255,255,255,.9); max-width: 540px; }
.hero-cta { display: flex; align-items: center; gap: 16px; margin-top: 26px; flex-wrap: wrap; }
.hero-buy { height: 52px; padding: 0 30px; border: 0; border-radius: 14px; background: #fff; color: var(--accent2); font-size: 16px; font-weight: 900; box-shadow: 0 10px 26px rgba(0,0,0,.2); transition: transform .15s; }
.hero-buy:hover { transform: translateY(-2px); }
.hero-price { font-size: 14px; color: rgba(255,255,255,.92); font-weight: 700; }
.hero-price s { opacity: .6; margin-right: 7px; font-weight: 500; }
.hero-price b { font-size: 18px; font-weight: 900; }
.hero-card { position: relative; }
.hero-cover { position: relative; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.28); }
.hero-cover .preview-chip { position: absolute; right: 12px; bottom: 12px; z-index: 2; font-size: 12px; font-weight: 800; background: rgba(255,255,255,.95); color: var(--ink); padding: 7px 13px; border-radius: 999px; }
.hero-rating { position: absolute; left: 12px; top: 12px; z-index: 2; background: rgba(10,16,30,.72); color: #fff; font-size: 12.5px; font-weight: 800; padding: 6px 12px; border-radius: 999px; }
.hero-rating .s { color: var(--star); }

/* 히어로 스탯 밴드 */
.hero-stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.2); border-top: 1px solid rgba(255,255,255,.18); }
.hero-stats .st { background: transparent; padding: 22px 20px; text-align: center; }
.hero-stats .st .n { font-size: clamp(22px, 2.6vw, 30px); font-weight: 900; letter-spacing: -.02em; }
.hero-stats .st .l { font-size: 12.5px; color: rgba(255,255,255,.82); margin-top: 5px; font-weight: 600; }

/* ── 스티키 인페이지 탭 ── */
.class-tabs { position: sticky; top: 62px; z-index: 30; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.class-tabs::-webkit-scrollbar { display: none; }
.class-tabs .inner { display: flex; gap: 2px; }
.class-tabs a { font-size: 14px; font-weight: 700; color: var(--ink3); padding: 14px 16px; border-bottom: 2px solid transparent; white-space: nowrap; }
.class-tabs a.on { color: var(--ink); border-bottom-color: var(--accent); }

/* ── 본문 2열 ── */
.class-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; padding: 20px 0 90px; }
.class-main { min-width: 0; }
.class-sec { padding: 44px 0 6px; scroll-margin-top: 120px; }
.class-sec > h2 { font-size: clamp(20px, 2.6vw, 26px); letter-spacing: -.02em; margin-bottom: 6px; line-height: 1.35; }
.class-sec .sec-desc { color: var(--ink3); font-size: 14px; margin-bottom: 22px; }

/* 문제 제기 */
.problem-list { display: grid; gap: 10px; }
.problem-item { display: flex; align-items: flex-start; gap: 12px; background: var(--bg-soft); border-radius: 12px; padding: 15px 18px; font-size: 14.5px; color: var(--ink2); font-weight: 500; }
.problem-item .q { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 1.5px solid var(--line); color: var(--ink3); font-weight: 900; font-size: 12px; display: grid; place-items: center; margin-top: 1px; }

/* 성과(이런 걸 얻어가요) */
.outcome-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.outcome-card { border: 1px solid var(--line); border-radius: 16px; padding: 22px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.outcome-card:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); box-shadow: 0 10px 24px rgba(16,24,40,.08); transform: translateY(-3px); }
.outcome-card .ic { font-size: 26px; }
.outcome-card h3 { font-size: 16px; margin-top: 12px; letter-spacing: -.01em; }
.outcome-card p { font-size: 13.5px; color: var(--ink2); margin-top: 7px; line-height: 1.6; }

/* 인포그래픽 공통 */
.info-card { background: var(--bg-soft); border-radius: 18px; padding: 28px 26px; }
.info-card + .info-card { margin-top: 16px; }
.info-card h3 { font-size: 16.5px; letter-spacing: -.01em; }
.info-note { font-size: 11.5px; color: var(--ink3); margin-top: 14px; }

/* 구성비/역량 바 */
.bar-row { margin-top: 18px; }
.bar-row .bar-label { display: flex; justify-content: space-between; font-size: 13.5px; font-weight: 700; color: var(--ink2); margin-bottom: 7px; }
.bar-row .bar-label b { color: var(--ink); }
.bar-track { height: 12px; border-radius: 999px; background: #e6eaf2; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; width: 0; background: linear-gradient(90deg, var(--accent2), var(--accent)); transition: width 1s cubic-bezier(.2,.7,.2,1); }

/* 전/후 비교 바 */
.ba-row { margin-top: 20px; }
.ba-row .ba-label { font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.ba-line { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.ba-line .tag { flex: none; width: 34px; font-size: 11px; font-weight: 800; color: var(--ink3); }
.ba-track { flex: 1; height: 14px; border-radius: 999px; background: #e6eaf2; overflow: hidden; }
.ba-fill { height: 100%; border-radius: 999px; width: 0; transition: width 1s cubic-bezier(.2,.7,.2,1); }
.ba-fill.before { background: #c3cad8; }
.ba-fill.after { background: linear-gradient(90deg, var(--accent2), var(--accent)); }
.ba-line .val { flex: none; width: 42px; text-align: right; font-size: 12.5px; font-weight: 800; color: var(--ink2); font-variant-numeric: tabular-nums; }

/* 여정/프로세스 스텝 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 20px; position: relative; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 16px; }
.step .no { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 900; font-size: 12.5px; display: grid; place-items: center; }
.step h4 { font-size: 14.5px; margin-top: 12px; letter-spacing: -.01em; }
.step p { font-size: 12.5px; color: var(--ink2); margin-top: 5px; line-height: 1.55; }
.step .arrow { position: absolute; right: -9px; top: 50%; transform: translateY(-50%); color: var(--ink3); font-size: 15px; z-index: 1; }
.step:last-child .arrow { display: none; }

/* 커리큘럼 아코디언 */
.curri-meta { font-size: 13px; color: var(--ink3); font-weight: 600; margin: 0 0 16px; }
.acc { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.acc-item + .acc-item { border-top: 1px solid var(--line); }
.acc-head { width: 100%; background: #fff; border: 0; display: flex; align-items: center; gap: 12px; padding: 18px 20px; text-align: left; }
.acc-head:hover { background: #fafbfe; }
.acc-head .no { color: var(--accent); font-weight: 800; font-size: 12px; flex: none; }
.acc-head .ttl { font-size: 15px; font-weight: 800; color: var(--ink); }
.acc-head .cnt { margin-left: auto; font-size: 12px; color: var(--ink3); font-weight: 600; flex: none; }
.acc-head .chev { flex: none; width: 20px; height: 20px; display: grid; place-items: center; color: var(--ink3); transition: transform .2s; }
.acc-item.open .acc-head .chev { transform: rotate(180deg); }
.acc-sub { font-size: 12.5px; color: var(--ink3); padding: 0 20px 4px 52px; margin-top: -8px; }
.acc-body { display: none; background: var(--bg-soft); padding: 8px 0; }
.acc-item.open .acc-body { display: block; }
.lesson { display: flex; align-items: center; gap: 11px; padding: 10px 22px; font-size: 13.5px; color: var(--ink2); }
.lesson .play { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-size: 8.5px; color: var(--accent); padding-left: 2px; }
.lesson .dur { margin-left: auto; font-size: 11.5px; color: var(--ink3); flex: none; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; }

/* 추천 대상 */
.fit-list { list-style: none; display: grid; gap: 10px; }
.fit-list li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; font-size: 14.5px; color: var(--ink2); font-weight: 600; }
.fit-list li::before { content: "✓"; color: var(--accent); font-weight: 900; margin-right: 11px; }

/* 강사 */
.inst-card { display: flex; gap: 22px; background: var(--bg-soft); border-radius: 18px; padding: 28px; align-items: flex-start; }
.inst-card .ava { flex: none; width: 78px; height: 78px; border-radius: 50%; color: #fff; font-weight: 900; font-size: 23px; background: linear-gradient(150deg, var(--accent2), var(--accent)); display: grid; place-items: center; }
.inst-card h3 { font-size: 18px; }
.inst-card .role { font-size: 13px; color: var(--accent); font-weight: 800; margin-top: 3px; }
.inst-card p { font-size: 14px; color: var(--ink2); margin-top: 11px; line-height: 1.7; }
.inst-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.inst-stats span { font-size: 12px; font-weight: 800; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; color: var(--ink2); }

/* 후기 */
.review-summary { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.review-summary .score { font-size: 42px; font-weight: 900; letter-spacing: -.02em; }
.review-summary .stars { color: var(--star); font-size: 18px; letter-spacing: 2px; }
.review-summary .cnt { color: var(--ink3); font-size: 13px; font-weight: 600; margin-top: 3px; }
.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.review-card { background: var(--bg-soft); border-radius: 14px; padding: 20px 22px; }
.review-card .rstars { color: var(--star); font-size: 13px; letter-spacing: 1px; }
.review-card p { font-size: 13.5px; color: var(--ink2); margin-top: 10px; line-height: 1.7; }
.review-card .who { font-size: 12.5px; color: var(--ink3); font-weight: 700; margin-top: 12px; }

/* FAQ */
.faq-acc .acc-head .no { color: var(--accent); }
.faq-acc .lesson { display: block; line-height: 1.75; color: var(--ink2); }

/* ── 우측 스티키 구매 카드 ── */
.buy-aside { position: sticky; top: 84px; }
.buy-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 14px 40px rgba(16,24,40,.12); overflow: hidden; }
.buy-card .bc-type { display: inline-block; margin: 18px 20px 0; font-size: 11px; font-weight: 800; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, #fff); border: 1px solid color-mix(in srgb, var(--accent) 22%, #fff); padding: 4px 10px; border-radius: 999px; }
.buy-card .bc-title { padding: 10px 20px 0; font-size: 15px; font-weight: 800; line-height: 1.45; }
.deadline { margin: 14px 20px 0; background: color-mix(in srgb, var(--accent) 8%, #fff); color: var(--accent2); font-size: 12.5px; font-weight: 700; border-radius: 10px; padding: 10px 12px; text-align: center; }
.deadline b { font-weight: 900; font-variant-numeric: tabular-nums; }
.buy-price { padding: 14px 20px 0; }
.buy-price .was { font-size: 12.5px; color: var(--ink3); text-decoration: line-through; }
.buy-price .now { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; }
.buy-price .now .pct { color: var(--red); font-weight: 900; font-size: 22px; }
.buy-price .now .amt { font-size: 27px; font-weight: 900; letter-spacing: -.02em; }
.buy-price .installment { font-size: 12.5px; color: var(--ink2); margin-top: 4px; }
/* USP 리스트 (버튼 위) */
.buy-usp { margin: 16px 20px 0; padding-top: 16px; border-top: 1px solid var(--line); }
.buy-usp .u-t { font-size: 11.5px; font-weight: 800; color: var(--ink3); letter-spacing: .02em; margin-bottom: 10px; }
.buy-usp ul { list-style: none; display: grid; gap: 9px; }
.buy-usp li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.45; }
.buy-usp li .ck { flex: none; width: 18px; height: 18px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 14%, #fff); color: var(--accent); font-size: 10px; font-weight: 900; display: grid; place-items: center; margin-top: 1px; }
.buy-actions { padding: 18px 20px 20px; display: grid; gap: 9px; }
.buy-btn { height: 52px; border: 0; border-radius: 13px; background: var(--accent); color: #fff; font-size: 15.5px; font-weight: 800; transition: filter .15s, transform .15s; display: flex; align-items: center; justify-content: center; }
.buy-btn:hover { filter: brightness(.94); transform: translateY(-1px); }
.kakao-btn { height: 46px; border: 0; border-radius: 13px; background: #fee500; color: #191600; font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 8px; transition: filter .15s; }
.kakao-btn:hover { filter: brightness(.96); }
.kakao-btn .ki { font-size: 15px; line-height: 1; }
.buy-note { text-align: center; font-size: 11.5px; color: var(--ink3); margin-top: 2px; line-height: 1.6; }

/* ── 최종 CTA 밴드 ── */
.final-cta { background: var(--hg, linear-gradient(135deg,#16244f,#2962ff)); color: #fff; text-align: center; padding: 60px 20px; position: relative; overflow: hidden; }
.final-cta::after { content: ""; position: absolute; inset: 0; background: radial-gradient(closest-side at 50% 0%, rgba(255,255,255,.16), transparent 70%); }
.final-cta .inner { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; }
.final-cta h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 900; letter-spacing: -.02em; line-height: 1.35; }
.final-cta p { margin-top: 14px; font-size: 15px; color: rgba(255,255,255,.9); line-height: 1.7; }
.final-cta .fc-actions { display: flex; gap: 12px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.final-cta .fc-buy { height: 52px; padding: 0 32px; border: 0; border-radius: 14px; background: #fff; color: var(--accent2); font-size: 16px; font-weight: 900; box-shadow: 0 10px 26px rgba(0,0,0,.2); }
.final-cta .fc-kakao { height: 52px; padding: 0 26px; border: 1px solid rgba(255,255,255,.5); border-radius: 14px; background: rgba(255,255,255,.1); color: #fff; font-size: 15px; font-weight: 800; }
.final-cta .fc-price { margin-top: 18px; font-size: 13.5px; color: rgba(255,255,255,.85); }
.final-cta .fc-price s { opacity: .6; margin-right: 6px; }
.final-cta .fc-price b { font-size: 17px; font-weight: 900; }

/* ── 모바일 하단 고정 구매바 ── */
.buy-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px rgba(16,24,40,.1); align-items: center; gap: 12px; }
.buy-bar .p { flex: none; }
.buy-bar .p .pct { color: var(--red); font-weight: 900; font-size: 15px; margin-right: 5px; }
.buy-bar .p .amt { font-weight: 900; font-size: 17px; }
.buy-bar .p .tt { display: block; font-size: 10.5px; color: var(--ink3); margin-top: 1px; }
.buy-bar .bar-btns { flex: 1; display: flex; gap: 8px; }
.buy-bar .kakao-btn { flex: none; width: 50px; height: 46px; font-size: 18px; padding: 0; }
.buy-bar .buy-btn { flex: 1; height: 46px; font-size: 14.5px; }

/* ── 신청 모달 ── */
.edu-modal { position: fixed; inset: 0; z-index: 90; display: none; place-items: center; padding: 20px; }
.edu-modal.on { display: grid; }
.edu-modal .dim { position: absolute; inset: 0; background: rgba(10,15,28,.55); backdrop-filter: blur(3px); }
.edu-modal .box { position: relative; width: 100%; max-width: 410px; background: #fff; border-radius: 22px; padding: 32px 28px 26px; box-shadow: 0 24px 70px rgba(0,0,0,.3); }
.edu-modal .x { position: absolute; top: 14px; right: 16px; border: 0; background: none; font-size: 19px; color: var(--ink3); }
.edu-modal h3 { font-size: 19px; letter-spacing: -.01em; }
.edu-modal .m-desc { font-size: 13.5px; color: var(--ink2); margin-top: 11px; line-height: 1.75; }
.edu-modal .m-desc b { color: var(--ink); }
.edu-modal .m-actions { display: grid; gap: 9px; margin-top: 20px; }
.edu-modal .mail-btn { height: 46px; border-radius: 13px; border: 1px solid var(--line); background: #fff; color: var(--ink2); font-size: 13.5px; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 7px; }
.edu-modal .m-note { font-size: 11.5px; color: var(--ink3); margin-top: 13px; text-align: center; }

/* ── 푸터 ── */
.edu-footer { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 12px; color: var(--ink3); line-height: 1.9; }
.edu-footer b { color: var(--ink2); }

/* =========================================================
   풀패키지 데이터 인포그래픽
   ========================================================= */
.diff-badge { display: inline-block; font-size: 11px; font-weight: 800; color: var(--accent2); background: color-mix(in srgb, var(--accent) 10%, #fff); border: 1px solid color-mix(in srgb, var(--accent) 22%, #fff); border-radius: 999px; padding: 4px 11px; margin-bottom: 12px; }
.callout { margin-top: 16px; font-size: 13.5px; color: var(--ink); background: color-mix(in srgb, var(--accent) 7%, #fff); border: 1px solid color-mix(in srgb, var(--accent) 20%, #fff); border-radius: 10px; padding: 13px 15px; font-weight: 600; line-height: 1.6; }
.callout b { color: var(--accent2); }
.src { font-size: 11.5px; color: var(--ink3); margin-top: 12px; line-height: 1.5; }

/* 사고 전환 비교 */
.mindshift { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.ms-row { display: grid; grid-template-columns: 150px 1fr 1fr; }
.ms-row + .ms-row { border-top: 1px solid var(--line); }
.ms-head { font-size: 12px; font-weight: 800; color: var(--ink3); }
.ms-head .ms-when, .ms-head .ms-before, .ms-head .ms-after { background: var(--bg-soft); color: var(--ink3); font-weight: 800; }
.ms-when { display: flex; align-items: center; padding: 16px 18px; font-size: 13.5px; font-weight: 800; color: var(--ink); background: var(--bg-soft); }
.ms-before, .ms-after { padding: 16px 18px; font-size: 14px; display: flex; align-items: center; gap: 9px; line-height: 1.5; }
.ms-before { color: var(--ink3); }
.ms-after { color: var(--ink); font-weight: 700; background: color-mix(in srgb, var(--accent) 6%, #fff); border-left: 2px solid var(--accent); }
.ms-tag { flex: none; font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 5px; }
.ms-tag.b { background: #eef0f4; color: var(--ink3); }
.ms-tag.a { background: color-mix(in srgb, var(--accent) 16%, #fff); color: var(--accent2); }
.ms-head .ms-tag { display: none; }

/* 매출 방정식 */
.eq-formula { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; margin-top: 4px; }
.eq-term { flex: 1 1 0; min-width: 90px; border: 1px solid var(--line); border-radius: 12px; padding: 13px 8px; text-align: center; background: #fff; }
.eq-term .v { font-size: 14.5px; font-weight: 800; letter-spacing: -.01em; }
.eq-term .c { font-size: 11px; color: var(--ink3); margin-top: 4px; }
.eq-term.eq-lhs { flex: 0 0 auto; min-width: 64px; background: var(--bg-soft); }
.eq-term.key { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, #fff); box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 16%, transparent); }
.eq-term.key .v { color: var(--accent2); }
.eq-term.key .c { color: var(--accent2); font-weight: 800; }
.eq-x { display: flex; align-items: center; color: var(--ink3); font-weight: 800; font-size: 14px; }
.eq-note { margin-top: 14px; font-size: 13px; color: var(--ink2); background: var(--bg-soft); border-radius: 10px; padding: 12px 14px; line-height: 1.6; }

/* Nielsen 기여도 */
.nielsen .bar-label b.key { color: var(--accent2); }
.nielsen .bar-fill.weak { background: #c3cad8; }

/* 큰 stat */
.stat-hero { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.stat-hero .big { font-size: clamp(42px, 7vw, 64px); font-weight: 900; letter-spacing: -.03em; color: var(--accent2); line-height: 1; flex: none; }
.stat-hero .big small { display: block; font-size: 13px; color: var(--ink3); font-weight: 800; margin-top: 9px; letter-spacing: 0; }
.stat-hero .txt { flex: 1; min-width: 240px; }
.stat-hero .punch { font-size: 16px; font-weight: 800; color: var(--ink); line-height: 1.5; }
.stat-hero .sub { font-size: 13px; color: var(--ink2); margin-top: 9px; line-height: 1.65; }

/* 지표 사다리 */
.ladder { position: relative; margin-top: 6px; }
.lad-step { position: relative; display: grid; grid-template-columns: 118px 1fr; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px; }
.lad-step + .lad-step { margin-top: 24px; }
.lad-step + .lad-step::before { content: "▼"; position: absolute; top: -19px; left: 52px; color: var(--ink3); font-size: 10px; }
.lad-stage { font-size: 14.5px; font-weight: 800; }
.lad-metric { font-size: 11.5px; color: var(--accent2); font-weight: 800; margin-top: 2px; }
.lad-mean { font-size: 13px; color: var(--ink2); line-height: 1.5; }
.lad-step.key { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, #fff); }
.lad-step.key .lad-mean { color: var(--ink); font-weight: 700; }

/* 문제 층위 진단 */
.ptree { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-top: 4px; }
.pt-row { display: grid; grid-template-columns: 44px 1.1fr 1.5fr; }
.pt-row + .pt-row { border-top: 1px solid var(--line); }
.pt-head { font-size: 11.5px; font-weight: 800; color: var(--ink3); }
.pt-head .pt-n, .pt-head .pt-mid, .pt-head .pt-act { background: var(--bg-soft); color: var(--ink3); padding-top: 11px; padding-bottom: 11px; }
.pt-n { display: flex; align-items: center; justify-content: center; font-weight: 900; color: var(--accent2); background: color-mix(in srgb, var(--accent) 6%, #fff); }
.pt-mid { padding: 14px 16px; }
.pt-layer { font-size: 13.5px; font-weight: 800; }
.pt-sym { font-size: 12px; color: var(--ink3); margin-top: 3px; line-height: 1.4; }
.pt-act { padding: 14px 16px; font-size: 13px; color: var(--ink2); border-left: 1px solid var(--line); display: flex; align-items: center; line-height: 1.5; }
.pt-head .pt-act { border-left: 0; }

/* 제공 템플릿 */
.tmpl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tmpl { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; transition: border-color .15s, transform .15s; }
.tmpl:hover { border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); transform: translateY(-2px); }
.tmpl .tn { flex: none; width: 28px; height: 28px; border-radius: 8px; background: color-mix(in srgb, var(--accent) 12%, #fff); color: var(--accent2); font-weight: 900; font-size: 12.5px; display: grid; place-items: center; }
.tmpl .tname { font-size: 13px; font-weight: 700; line-height: 1.35; }
.tmpl .tlesson { margin-left: auto; font-size: 11px; color: var(--ink3); font-weight: 800; flex: none; }

/* 안 다루는 것 */
.excludes-list { display: grid; gap: 9px; }
.excl { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink2); }
.excl .xx { flex: none; width: 20px; height: 20px; border-radius: 50%; background: #f0f1f4; color: var(--ink3); font-weight: 900; font-size: 10px; display: grid; place-items: center; }

/* =========================================================
   반응형
   ========================================================= */
@media (max-width: 1000px) {
  .class-body { grid-template-columns: minmax(0, 1fr); }
  .buy-aside { display: none; }
  .buy-bar { display: flex; }
  body.has-buybar { padding-bottom: 78px; }
  .hero-inner { grid-template-columns: 1fr; gap: 26px; padding: 44px 0 38px; }
  .hero-card { max-width: 360px; }
}
@media (max-width: 768px) {
  .edu-nav-links { display: none; }
  .edu-nav-inner { gap: 12px; }
  .edu-hero { padding-top: 32px; }
  /* ★ 목록: 모바일 1줄 2개 */
  .edu-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .pcard h3 { font-size: 13.5px; min-height: 2.84em; }
  .pcard .now .pct { font-size: 15px; }
  .pcard .now .amt { font-size: 15.5px; }
  .pcard .was, .pcard .total { font-size: 11px; }
  .art .chips i { width: 26px; height: 26px; font-size: 9px; border-radius: 7px; }
  .edu-toolbar { flex-wrap: wrap; }
  .edu-search { margin-left: 0; flex: 1 1 100%; }
  .edu-search input { width: 100%; }

  .class-hero { }
  .hero-text h1 { font-size: clamp(25px, 7vw, 32px); }
  .hero-sub { font-size: 14.5px; }
  .hero-buy { height: 48px; font-size: 15px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .hero-stats .st { padding: 16px 8px; }
  .hero-stats .st .n { font-size: 20px; }
  .hero-stats .st .l { font-size: 11px; }

  .class-tabs { top: 61px; }
  .class-tabs a { padding: 12px 13px; font-size: 13.5px; }
  .class-sec { padding-top: 38px; }
  .outcome-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .inst-card { flex-direction: column; gap: 16px; padding: 22px; }
  /* 스텝: 모바일 2열 + 화살표 아래로 */
  .steps { grid-template-columns: 1fr 1fr; gap: 10px; }
  .step .arrow { right: 50%; top: auto; bottom: -12px; transform: translateX(50%) rotate(90deg); }
  .step:nth-child(2n) .arrow { display: none; }
  .step:last-child .arrow { display: none; }
  .info-card { padding: 22px 18px; }
  .final-cta { padding: 46px 18px; }
  .final-cta .fc-buy, .final-cta .fc-kakao { width: 100%; }

  /* 데이터 인포그래픽 모바일 */
  .ms-row { grid-template-columns: 1fr; }
  .ms-head { display: none; }
  .ms-when { background: var(--accent); color: #fff; padding: 11px 16px; font-size: 12.5px; }
  .ms-before { border-bottom: 1px dashed var(--line); }
  .ms-after { border-left: 0; border-top: 0; }
  .eq-term { flex: 1 1 40%; min-width: 0; }
  .eq-term.eq-lhs { flex: 1 1 100%; }
  .eq-x { font-size: 12px; }
  .stat-hero { gap: 14px; }
  .stat-hero .txt { min-width: 100%; }
  .lad-step { grid-template-columns: 96px 1fr; gap: 10px; padding: 12px 13px; }
  .lad-step + .lad-step::before { left: 44px; }
  .pt-row { grid-template-columns: 34px 1fr; }
  .pt-head { display: none; }
  .pt-act { grid-column: 1 / -1; border-left: 0; border-top: 1px dashed var(--line); background: var(--bg-soft); font-weight: 600; }
  .tmpl-grid { grid-template-columns: 1fr; }
}
