/* 충남 앵커 · AI 마케팅 부트캠프 랜딩 공통 스타일
   A안(취업) = body.theme-a / B안(창업) = body.theme-b */

:root {
  --radius: 18px;
  --maxw: 1080px;
  --display: 'Black Han Sans', 'Pretendard', sans-serif;
  --body: 'Pretendard', 'Noto Sans KR', -apple-system, sans-serif;
}

body.theme-a {
  --hero-bg: #0E0F12; --hero-fg: #F4F4F0;
  --bg: #0E0F12; --bg2: #16181D; --fg: #F4F4F0; --muted: #A3A6AD;
  --card: #1B1E24; --line: #2C3038;
  --accent: #C8FF2E; --on-accent: #0E0F12; --accent-text: #C8FF2E;
  --input-bg: #0E0F12;
}
body.theme-b {
  --hero-bg: #FF5A1F; --hero-fg: #111111;
  --bg: #FFF7F2; --bg2: #FFFFFF; --fg: #111111; --muted: #5C5752;
  --card: #FFFFFF; --line: #EADFD8;
  --accent: #FF5A1F; --on-accent: #111111; --accent-text: #C2410C;
  --input-bg: #FFFFFF;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 17px; line-height: 1.6; word-break: keep-all; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent-text); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- 공통 타이포 ---------- */
.eyebrow { display: inline-block; font-size: 14px; font-weight: 800; letter-spacing: .5px; color: var(--accent-text); margin-bottom: 12px; }
.h2 { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 5.4vw, 52px); line-height: 1.15; margin: 0 0 18px; letter-spacing: -.5px; }
.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); margin: 0 0 36px; }
.hl { background: var(--accent); color: var(--on-accent); padding: 0 .25em; }
section { padding: 96px 0; }
.sec { background: var(--bg); }
.sec-alt { background: var(--bg2); }
.center { text-align: center; }

/* ---------- 상단 바 ---------- */
.topbar { position: sticky; top: 0; z-index: 30; background: var(--hero-bg); color: var(--hero-fg); border-bottom: 1px solid rgba(127,127,127,.25); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 56px; }
.topbar b { font-size: 15px; }
.topbar .btn { padding: 9px 16px; font-size: 14px; }

/* ---------- 버튼 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 14px 26px; border-radius: 12px; border: 0; font: inherit; font-weight: 900; font-size: 18px; text-decoration: none; cursor: pointer; background: var(--accent); color: var(--on-accent); transition: transform .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.theme-b .hero .btn { background: #111111; color: #FFFFFF; }
.btn-lg { font-size: 20px; padding: 18px 34px; }

/* ---------- 히어로 ---------- */
.hero { background: var(--hero-bg); color: var(--hero-fg); padding: 64px 0 80px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { font-size: 14px; font-weight: 700; padding: 6px 14px; border-radius: 999px; border: 1.5px solid currentColor; opacity: .9; }
.chip.solid { background: var(--accent); color: var(--on-accent); border-color: var(--accent); opacity: 1; }
.theme-b .chip.solid { background: #111111; color: #FFFFFF; border-color: #111111; }
.hero .kicker { font-size: clamp(19px, 3vw, 30px); font-weight: 900; margin: 0; color: var(--accent-text); }
.theme-b .hero .kicker { color: #111111; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(56px, 11vw, 128px); line-height: 1.03; margin: 10px 0 18px; letter-spacing: -1.5px; }
.hero .sub { font-size: clamp(19px, 2.8vw, 28px); font-weight: 700; margin: 0 0 34px; }
.hero .sub em { font-style: normal; color: var(--accent-text); }
.theme-b .hero .sub em { background: #111111; color: #FFFFFF; padding: 0 8px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 34px; max-width: 820px; }
.fact { border: 1.5px solid rgba(127,127,127,.35); border-radius: 14px; padding: 14px 16px; }
.theme-b .fact { border-color: rgba(17,17,17,.35); }
.fact small { display: block; font-size: 13px; font-weight: 700; opacity: .75; }
.fact b { font-size: 18px; }
.hero .note { font-size: 14px; opacity: .8; margin-top: 14px; }

/* ---------- 카드/그리드 ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.4; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.quote { font-size: 22px; font-weight: 800; line-height: 1.45; }
.quote::before { content: "“"; color: var(--accent-text); font-family: var(--display); font-size: 40px; line-height: 0; vertical-align: -12px; margin-right: 4px; }

/* 비교표 */
.vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vs .card ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.vs .card li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.vs .old { opacity: .85; }
.vs .old li::before { content: "—"; color: var(--muted); }
.vs .new { border: 2px solid var(--accent); }
.vs .new li::before { content: "✓"; color: var(--accent-text); font-weight: 900; }
.tag { display: inline-block; font-size: 13px; font-weight: 800; padding: 4px 10px; border-radius: 6px; background: var(--line); }
.vs .new .tag { background: var(--accent); color: var(--on-accent); }

/* 커리큘럼 */
.days { display: grid; gap: 16px; }
.day { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.day .when b { display: block; font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1.1; color: var(--accent-text); }
.day .when span { font-size: 15px; color: var(--muted); }
.day h3 { margin: 0 0 12px; font-size: 22px; }
.day ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--muted); }
.day ol li::marker { color: var(--accent-text); font-weight: 900; }

/* 결과물 */
.outcome { display: flex; gap: 16px; align-items: flex-start; }
.outcome .num { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-family: var(--display); font-size: 22px; }

/* 강사 */
.coach { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: center; }
.coach .photo { aspect-ratio: 4/5; border-radius: var(--radius); background: var(--card); border: 2px dashed var(--line); display: grid; place-items: center; color: var(--muted); font-size: 14px; text-align: center; padding: 16px; }
.coach ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.coach li { padding-left: 18px; position: relative; color: var(--muted); }
.coach li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }

/* 혜택 */
.perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.perk { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.perk b { display: block; font-size: 19px; margin-bottom: 6px; }
.perk span { font-size: 15px; color: var(--muted); }
.perk.hot { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.perk.hot span { color: var(--on-accent); opacity: .8; }

/* 상세 정보 */
.info { display: grid; grid-template-columns: 140px minmax(0, 1fr); border-top: 1px solid var(--line); }
.info > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.info dt, .info .k { font-weight: 800; }
.info .v { color: var(--muted); }
.unis { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.unis span { font-size: 14px; padding: 5px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--fg); }
.alert { margin-top: 22px; padding: 18px 20px; border-radius: 14px; border: 2px solid var(--accent); font-weight: 700; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.faq summary { cursor: pointer; padding: 20px 0; font-weight: 800; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-text); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 20px; color: var(--muted); }

/* ---------- 신청 폼 ---------- */
.apply { background: var(--hero-bg); color: var(--hero-fg); }
.apply .h2, .apply .lead { color: var(--hero-fg); }
.apply .lead { opacity: .85; }
.formbox { background: var(--bg2); color: var(--fg); border-radius: 22px; padding: 36px; max-width: 760px; margin: 0 auto; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 800; font-size: 15px; }
.field label .req, .field legend .req { color: var(--accent-text); }
.field input[type=text], .field input[type=tel], .field input[type=email], .field select { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--input-bg); color: var(--fg); font: inherit; font-size: 16px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; }
.field .hint { font-size: 13px; color: var(--muted); }
.field .err { font-size: 13px; color: #E5484D; font-weight: 700; min-height: 0; }
.theme-a .field .err { color: #FF8A8A; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.seg label { display: flex; flex-direction: column; gap: 2px; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; cursor: pointer; font-weight: 800; background: var(--input-bg); }
.seg label small { font-weight: 500; color: var(--muted); font-size: 13px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.seg label:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.checks { display: grid; gap: 10px; margin-top: 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }
.privacy { font-size: 13px; color: var(--muted); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-top: 4px; }
.privacy summary { cursor: pointer; font-weight: 700; }
.blocked { display: none; padding: 14px 16px; border-radius: 10px; background: rgba(229,72,77,.12); color: inherit; font-size: 14px; font-weight: 700; border: 1.5px solid #E5484D; }
.blocked.show { display: block; }
.submit { width: 100%; margin-top: 24px; font-size: 20px; min-height: 60px; }
.submit[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.done { display: none; text-align: center; padding: 30px 10px; }
.done.show { display: block; }
.done b { font-family: var(--display); font-weight: 400; font-size: 40px; display: block; margin-bottom: 10px; }

/* ---------- 하단 고정 CTA (모바일) ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--hero-bg); border-top: 1px solid rgba(127,127,127,.3); display: none; gap: 10px; align-items: center; transform: translateY(110%); transition: transform .25s ease; }
.sticky-cta.on { transform: none; }
.sticky-cta .txt { flex: 1; color: var(--hero-fg); font-size: 13px; line-height: 1.35; }
.sticky-cta .txt b { font-size: 15px; display: block; }
.theme-b .sticky-cta .btn { background: #111111; color: #FFFFFF; }

footer { padding: 40px 0 120px; font-size: 13px; color: var(--muted); background: var(--bg); border-top: 1px solid var(--line); }

/* ---------- 반응형 ---------- */
@media (max-width: 860px) {
  section { padding: 72px 0; }
  .grid3, .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coach { grid-template-columns: 1fr; }
  .coach .photo { max-width: 240px; }
  .day { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .grid3, .grid2, .vs, .perks, .fgrid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .info { grid-template-columns: 1fr; }
  .info > div:nth-child(odd) { padding-bottom: 0; border-bottom: 0; }
  .formbox { padding: 24px 18px; }
  .sticky-cta { display: flex; }
  .topbar .btn { display: none; }
  .hero { padding: 44px 0 60px; }
}
