/* =========================================================
   스톰PC 디자인 — 어두운 화면 + 주황 포인트
   (3D 조립 사이트 방식의 구성: 위쪽 메뉴, 미리보기, 부품 목록)
   ========================================================= */
:root {
  --bg: #0f0f10;         /* 바탕 */
  --panel: #17171a;      /* 카드 */
  --panel2: #1e1e22;     /* 카드 안쪽 */
  --line: #2a2a30;       /* 테두리 */
  --text: #f4f4f5;
  --muted: #9a9aa3;
  --orange: #ff5a00;     /* 포인트 */
  --orange2: #ff8a3d;
  --green: #35c46a;
  --red: #ff5d5d;
  --white: #ffffff;
  --ink: #0f0f10;
  --peach: #3a2416;      /* 주황빛 어두운 면 */
  --cream: #2a1c12;
  --gray: #9a9aa3;
  --body: 'Pretendard', 'Malgun Gothic', sans-serif;
  --display: 'Pretendard', 'Malgun Gothic', sans-serif;
  --mono: ui-monospace, 'Cascadia Mono', Consolas, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; color-scheme: dark; }
body { font-family: var(--body); background: var(--bg); color: var(--text); line-height: 1.55; word-break: keep-all; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }

/* ---------- 위쪽 안내 줄 + 메뉴 ---------- */
.topnote { background: #000; color: var(--muted); font-size: 12px; font-weight: 700; text-align: center; padding: 6px 12px; border-bottom: 1px solid var(--line); }
.topnote b { color: var(--text); }
.topnote a { color: var(--orange2); text-decoration: underline; }
.nav-bar { position: sticky; top: 0; z-index: 60; background: rgba(15, 15, 16, .86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-in { max-width: 1320px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 900; font-size: 20px; letter-spacing: .02em; white-space: nowrap; }
.logo .mark { width: 30px; height: 30px; border-radius: 8px; background: var(--orange); display: flex; align-items: center; justify-content: center; color: #fff; }
.logo .mark svg { width: 18px; height: 18px; }
.logo small { font-size: 10px; font-weight: 700; color: var(--muted); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; letter-spacing: .04em; }
.nav-links { display: flex; gap: 24px; font-weight: 600; font-size: 14px; }
.nav-links a { color: #cfcfd6; padding: 6px 0; }
.nav-links a:hover, .nav-links a.on { color: var(--white); }
.nav-links a.on { box-shadow: 0 2px 0 var(--orange); }
.nav-act { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.nav-ai { height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; white-space: nowrap; }
.nav-ai:hover { border-color: var(--orange); }
.nav-ai svg { width: 15px; height: 15px; color: var(--orange); }
.nav-cart { position: relative; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); display: flex; align-items: center; justify-content: center; }
.nav-cart:hover { border-color: var(--orange); }
.nav-cart svg { width: 19px; height: 19px; }
.nav-cart i { position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--orange); color: #fff; font-style: normal; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.nav-menu { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); align-items: center; justify-content: center; }
.nav-menu svg { width: 20px; height: 20px; }

/* ---------- 버튼 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 10px; font-weight: 700; font-size: 15px; background: var(--panel2); color: var(--text); border: 1px solid var(--line); transition: border-color .15s, background .15s, transform .15s; white-space: nowrap; }
.btn:hover { border-color: #55555e; transform: translateY(-1px); }
.btn.orange { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn.orange:hover { background: #ff6f1f; border-color: #ff6f1f; }
.btn.black { background: var(--white); border-color: var(--white); color: #111; }
.btn.black:hover { background: #dedede; }
.btn.sm { height: 36px; padding: 0 13px; font-size: 13px; border-radius: 8px; }
.btn.full { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- 제목 ---------- */
.sec { padding: clamp(48px, 6vw, 88px) 0 0; }
.sec:last-of-type { padding-bottom: clamp(48px, 6vw, 88px); }
.sec-head { margin: 0 0 26px; }
.sec-head h1, .sec-head h2 { font-size: clamp(26px, 3.2vw, 40px); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.sec-head h1 em, .sec-head h2 em { font-style: normal; color: var(--orange); }
.sec-head p { color: var(--muted); margin-top: 8px; font-size: 16px; }
.sec-head p a { color: var(--orange2); text-decoration: underline; }
.page-title { max-width: 1320px; margin: 0 auto; padding: 36px 24px 0; }
.tag { display: inline-block; padding: 3px 9px; border-radius: 6px; font-size: 11px; font-weight: 800; background: var(--panel2); color: #cfcfd6; border: 1px solid var(--line); letter-spacing: .02em; }
.tag.o { background: rgba(255, 90, 0, .16); border-color: rgba(255, 90, 0, .5); color: var(--orange2); }
.tag.b { background: var(--white); color: #111; border-color: var(--white); }

/* ---------- 메인: 첫 화면 ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(600px 420px at 72% 45%, rgba(255, 90, 0, .22), transparent 70%),
  linear-gradient(transparent 0, transparent calc(100% - 1px), rgba(255,255,255,.05) 100%) 0 0 / 100% 56px,
  linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), rgba(255,255,255,.05) 100%) 0 0 / 56px 100%;
  mask-image: linear-gradient(#000 55%, transparent); -webkit-mask-image: linear-gradient(#000 55%, transparent); pointer-events: none; }
.hero-in { position: relative; max-width: 1320px; margin: 0 auto; padding: clamp(40px, 6vw, 84px) 24px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 30px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5vw, 62px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .lead { color: var(--muted); font-size: 18px; margin: 16px 0 22px; max-width: 520px; }
.feats { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 26px; margin-bottom: 28px; font-weight: 600; font-size: 15px; }
.feats div { display: flex; align-items: center; gap: 9px; }
.feats i { width: 22px; height: 22px; border-radius: 6px; background: rgba(255, 90, 0, .16); color: var(--orange2); display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 12px; font-weight: 900; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.stats { display: flex; gap: 34px; margin-top: 36px; flex-wrap: wrap; }
.stats b { display: block; font-size: 28px; font-weight: 800; line-height: 1.1; }
.stats span { font-size: 11px; font-weight: 800; color: var(--muted); letter-spacing: .08em; }
.hero-r { position: relative; min-height: 440px; display: flex; justify-content: center; align-items: center; }
.pc { width: min(100%, 330px); height: auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .6)); }
.pc-blades { animation: spin 1.1s linear infinite; transform-box: fill-box; transform-origin: center; }
.pc-led { animation: blink 1.2s ease-in-out infinite; }
.pc-glow { animation: glow 2.4s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 50% { opacity: .25; } }
@keyframes glow { 50% { opacity: .4; } }
.buildcard { position: absolute; right: 0; bottom: 8px; width: min(100%, 400px); background: rgba(23, 23, 26, .92); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 16px; padding: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); transform: rotate(-2deg); }
.pills { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 9px; background: var(--panel2); border: 1px solid var(--line); font-weight: 700; font-size: 13px; white-space: nowrap; }
.pill.ok { color: var(--green); border-color: rgba(53, 196, 106, .4); }
.pill.bad { color: var(--red); border-color: rgba(255, 93, 93, .45); }
.pill.total { font-family: var(--mono); font-size: 15px; color: var(--white); }
.pill small { color: var(--muted); font-weight: 700; font-family: var(--body); }
.minirows { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.minirow { display: flex; align-items: center; gap: 8px; background: var(--panel2); border-radius: 9px; padding: 6px 8px; font-size: 12px; min-width: 0; }
.minirow img { width: 26px; height: 26px; border-radius: 6px; object-fit: cover; flex: 0 0 auto; }
.minirow span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; font-family: var(--mono); }
.minirow b { color: var(--muted); font-family: var(--mono); font-weight: 600; }

/* ---------- 카드 묶음 ---------- */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.qcard { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s, transform .15s; }
a.qcard:hover { border-color: var(--orange); transform: translateY(-3px); }
.qcard .ph { position: relative; aspect-ratio: 16 / 10; background: #000; overflow: hidden; }
.qcard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.qcard:hover .ph img { transform: scale(1.05); }
.qcard .ph .tag { position: absolute; top: 10px; left: 10px; }
.qcard .qb { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.qcard h3 { font-size: 17px; font-weight: 800; }
.qcard p { color: var(--muted); font-size: 14px; }
.qcard .pr { margin-top: auto; padding-top: 10px; font-family: var(--mono); font-weight: 700; font-size: 18px; color: var(--orange2); }
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.bcard { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px; min-width: 0; }
.bcard.wide { grid-column: span 2; }
.bcard h3 { font-size: 19px; font-weight: 800; margin-bottom: 4px; }
.bcard > p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.checks { display: grid; gap: 8px; }
.check { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--panel2); border-radius: 10px; padding: 10px 12px; font-size: 14px; font-weight: 600; }
.check b { color: var(--green); font-family: var(--mono); }
.stepn { width: 32px; height: 32px; border-radius: 9px; background: rgba(255, 90, 0, .16); color: var(--orange2); display: flex; align-items: center; justify-content: center; font-weight: 900; margin-bottom: 12px; font-family: var(--mono); }

/* ---------- 게임별 예상 프레임 ---------- */
.fps { display: grid; gap: 9px; }
.fpsrow { display: grid; grid-template-columns: 110px minmax(0, 1fr) 62px; gap: 10px; align-items: center; font-size: 14px; font-weight: 600; }
.fpsbar { height: 10px; border-radius: 6px; background: var(--panel2); overflow: hidden; }
.fpsbar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--orange), var(--orange2)); transition: width .4s; }
.fpsrow b { text-align: right; font-family: var(--mono); }
.seg { display: inline-flex; background: var(--panel2); border: 1px solid var(--line); border-radius: 9px; padding: 3px; gap: 2px; }
.seg button { padding: 5px 11px; border-radius: 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.seg button.on { background: var(--orange); color: #fff; }

/* ---------- 한 줄 견적 ---------- */
.ask-bar { display: flex; gap: 6px; background: var(--panel); border-radius: 14px; padding: 6px; border: 1px solid var(--line); max-width: 760px; }
.ask-bar:focus-within { border-color: var(--orange); }
.ask-bar input { flex: 1; min-width: 0; border: 0; background: none; outline: none; padding: 0 14px; font-weight: 600; font-size: 16px; }
.ask-ex { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.ask-ex button { padding: 7px 12px; border-radius: 8px; background: var(--panel); border: 1px solid var(--line); font-weight: 600; font-size: 13px; color: #cfcfd6; }
.ask-ex button:hover { border-color: var(--orange); color: var(--white); }

/* ---------- 상품 목록 ---------- */
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { padding: 8px 14px; border-radius: 9px; background: var(--panel); border: 1px solid var(--line); font-weight: 700; font-size: 14px; color: #cfcfd6; }
.chip:hover { border-color: #55555e; color: var(--white); }
.chip.on { background: var(--orange); border-color: var(--orange); color: #fff; }
.panel .chip { padding: 6px 11px; font-size: 13px; background: var(--panel2); }
.input, select.input, textarea.input { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel2); outline: none; font-weight: 600; }
.input:focus { border-color: var(--orange); }
.input::placeholder { color: #6d6d76; }
.toolbar .input { width: auto; flex: 1; min-width: 180px; background: var(--panel); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 14px; margin-top: 14px; }
.pcard { border-radius: 16px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s, transform .15s; }
.pcard:hover { border-color: var(--orange); transform: translateY(-3px); }
.pcard .ph { position: relative; aspect-ratio: 4 / 3; background: #000; cursor: pointer; overflow: hidden; }
.pcard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pcard:hover .ph img { transform: scale(1.05); }
.pcard .ph .tag { position: absolute; top: 10px; left: 10px; }
.pcard .pb { padding: 14px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.pcard .brand { font-size: 11px; font-weight: 800; letter-spacing: .06em; color: var(--muted); }
.pcard .name { font-weight: 700; font-size: 15px; line-height: 1.4; flex: 1; cursor: pointer; }
.pcard .price { font-family: var(--mono); font-size: 19px; font-weight: 700; color: var(--orange2); margin: 4px 0; }
.pcard .btn { background: var(--panel2); }
.pcard .btn:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.note { text-align: center; font-size: 13px; color: var(--muted); margin-top: 18px; }

/* ---------- 패널 · 표 ---------- */
.section { padding: 26px 0 clamp(46px, 6vw, 80px); }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: clamp(16px, 2vw, 24px); min-width: 0; }
.panel h3 { font-size: 18px; font-weight: 800; margin-bottom: 14px; }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th, .tbl td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; font-size: 14px; }
.tbl th { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.tbl td.r, .tbl th.r { text-align: right; white-space: nowrap; font-family: var(--mono); }
.tbl select { width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel2); font-weight: 600; outline: none; }
.tbl select:focus { border-color: var(--orange); }
.thumb { width: 44px; height: 44px; border-radius: 9px; object-fit: cover; flex: 0 0 auto; background: var(--panel2); }
.slot { display: flex; align-items: center; gap: 10px; font-weight: 700; white-space: nowrap; }
.line { display: flex; align-items: center; gap: 12px; }
.sum { display: flex; justify-content: space-between; padding: 6px 0; font-size: 15px; font-weight: 600; }
.sum b { font-family: var(--mono); }
.sum.total { align-items: baseline; border-top: 1px solid var(--line); margin-top: 10px; padding-top: 14px; font-weight: 800; }
.sum.total b { font-size: clamp(24px, 2.6vw, 32px); line-height: 1; color: var(--orange2); }
.warn { background: rgba(255, 93, 93, .1); border: 1px solid rgba(255, 93, 93, .35); color: #ffb3b3; border-radius: 10px; padding: 10px 13px; margin: 8px 0; font-weight: 600; font-size: 14px; }
.ok { background: rgba(53, 196, 106, .1); border: 1px solid rgba(53, 196, 106, .35); color: #9be5b6; border-radius: 10px; padding: 10px 13px; margin: 8px 0; font-weight: 600; font-size: 14px; }
.qty { display: inline-flex; background: var(--panel2); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.qty button { width: 30px; height: 30px; font-weight: 900; }
.qty button:hover { background: var(--orange); color: #fff; }
.qty span { min-width: 28px; text-align: center; line-height: 30px; font-weight: 700; font-family: var(--mono); }

/* ---------- 견적(조립) 화면 ---------- */
.bld-head { max-width: 1500px; margin: 0 auto; padding: 18px 20px 12px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.bld-head h1 { font-size: 22px; font-weight: 800; margin-right: 6px; }
.bld-head .sp { flex: 1; }
.bld { max-width: 1500px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 330px minmax(0, 1fr) 420px; gap: 14px; align-items: start; }
.bld > * { min-width: 0; }
.stage { position: relative; border: 1px solid var(--line); border-radius: 16px; min-height: 430px; display: flex; align-items: center; justify-content: center; overflow: hidden; background:
  radial-gradient(420px 300px at 50% 55%, rgba(255, 90, 0, .18), transparent 70%),
  linear-gradient(transparent calc(100% - 1px), rgba(255,255,255,.045) 100%) 0 0 / 100% 40px,
  linear-gradient(90deg, transparent calc(100% - 1px), rgba(255,255,255,.045) 100%) 0 0 / 40px 100%, #121214; }
.stage .pc { width: min(60%, 270px); }
.stage .lbl { position: absolute; left: 14px; top: 12px; font-size: 12px; font-weight: 700; color: var(--muted); }
.stage .cap { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font-size: 12px; color: var(--muted); }
.partrow { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.partrow:last-of-type { border-bottom: 0; }
.partrow .pt { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.partrow .pt b { color: var(--text); font-family: var(--mono); font-size: 13px; }
.partrow select { width: 100%; padding: 8px 9px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel2); font-weight: 600; font-size: 13px; outline: none; }
.partrow select:focus { border-color: var(--orange); }
.field { margin-bottom: 16px; }
.field > label { display: block; font-weight: 700; margin-bottom: 7px; font-size: 14px; }
.opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.opts.three { grid-template-columns: repeat(3, 1fr); }
.opt { padding: 10px 6px; border-radius: 9px; background: var(--panel2); border: 1px solid var(--line); font-weight: 600; text-align: center; font-size: 13px; color: #cfcfd6; }
.opt:hover { border-color: #55555e; }
.opt.on { background: rgba(255, 90, 0, .16); border-color: var(--orange); color: var(--white); }
.budget-val { font-family: var(--mono); font-size: 26px; font-weight: 700; color: var(--orange2); }
input[type=range] { width: 100%; accent-color: var(--orange); height: 28px; }
.tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.tab { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); text-align: left; }
.tab b { display: block; font-size: 14px; font-weight: 800; }
.tab span { font-size: 13px; font-weight: 600; color: var(--muted); font-family: var(--mono); }
.tab:hover { border-color: #55555e; }
.tab.on { border-color: var(--orange); background: rgba(255, 90, 0, .12); }
.tab.on span { color: var(--orange2); }
.perf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
.perf div { border-radius: 10px; padding: 10px 12px; background: var(--panel2); }
.perf small { display: block; color: var(--muted); font-weight: 700; font-size: 11px; letter-spacing: .03em; }
.perf b { font-size: 14px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }

/* ---------- 기타 ---------- */
.two { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bankbox { background: #000; border: 1px solid var(--orange); border-radius: 14px; padding: 20px; margin: 14px 0; }
.bankbox .no { font-family: var(--mono); font-size: clamp(24px, 3.4vw, 34px); font-weight: 700; color: var(--orange2); line-height: 1.3; }
.blocks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.block { border-radius: 16px; padding: 20px; min-height: 110px; display: flex; flex-direction: column; gap: 8px; background: var(--panel); border: 1px solid var(--line); }
.block p { font-weight: 700; font-size: 13px; color: var(--muted); }
.block .big { font-family: var(--mono); font-size: 30px; font-weight: 700; line-height: 1; margin-top: auto; }
.block.o { border-color: var(--orange); }
.block.o .big, .block.k .big { color: var(--orange2); }
.faqs { max-width: 860px; display: grid; gap: 8px; }
details.faq { border-radius: 12px; padding: 16px 20px; background: var(--panel); border: 1px solid var(--line); }
details.faq summary { font-weight: 700; cursor: pointer; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--orange); }
details.faq[open] { border-color: var(--orange); }
details.faq[open] summary::after { content: '−'; }
details.faq p { margin-top: 10px; color: var(--muted); }
.modal-bg { position: fixed; inset: 0; background: rgba(0, 0, 0, .7); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; max-width: 540px; width: 100%; max-height: 90vh; overflow: auto; }
.modal .ph { position: relative; aspect-ratio: 16 / 10; background: #000; overflow: hidden; }
.modal .ph img { width: 100%; height: 100%; object-fit: cover; }
.modal .ph .tag { position: absolute; top: 12px; left: 12px; }
.modal .mb { padding: 18px 20px 20px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--white); color: #111; padding: 12px 20px; border-radius: 10px; font-weight: 700; z-index: 200; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); white-space: nowrap; }
.float { position: fixed; right: 16px; bottom: 16px; z-index: 40; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); font-weight: 600; }
.badge { display: inline-block; padding: 2px 9px; border-radius: 6px; font-size: 12px; font-weight: 800; background: rgba(255, 90, 0, .16); color: var(--orange2); }
.badge.done { background: rgba(53, 196, 106, .15); color: var(--green); }
.doc h2 { font-size: 20px; font-weight: 800; margin: 28px 0 8px; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { margin-bottom: 8px; color: #cfcfd6; }
.doc ul { padding-left: 20px; }

/* ---------- 푸터 ---------- */
.footer { border-top: 1px solid var(--line); margin-top: 20px; padding: 36px 24px 30px; color: var(--muted); font-size: 13px; }
.footer .f-in { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; }
.footer .f-links { display: flex; flex-wrap: wrap; gap: 6px 20px; font-weight: 600; justify-content: flex-end; align-content: flex-start; }
.footer .f-links a:hover { color: var(--white); }
.footer .f-info { line-height: 1.8; margin-top: 12px; }
.footer .f-info b { color: #cfcfd6; }
.footer .copy { margin-top: 12px; font-size: 12px; }

/* ---------- 태블릿 · 모바일 ---------- */
@media (max-width: 1180px) {
  .bld { grid-template-columns: 300px minmax(0, 1fr); }
  .bld .col-parts { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero-in, .two, .bld, .footer .f-in { grid-template-columns: minmax(0, 1fr); }
  .cards, .cards.three, .blocks, .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bcard.wide { grid-column: span 2; }
  .hero-r { min-height: 380px; }
  .buildcard { position: relative; transform: none; margin-top: -40px; bottom: 0; }
  .hero-r { flex-direction: column; }
  .nav-menu { display: flex; }
  .nav-ai { display: none; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--panel); border-bottom: 1px solid var(--line); flex-direction: column; gap: 0; padding: 6px 24px 12px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .footer .f-links { justify-content: flex-start; }
  .perf { grid-template-columns: 1fr; }
  .tbl .hide-m { display: none; }
  .stage { min-height: 320px; }
}
@media (max-width: 560px) {
  .wrap, .nav-in, .page-title { padding-left: 16px; padding-right: 16px; }
  .bld, .bld-head { padding-left: 12px; padding-right: 12px; }
  .form-row, .bento, .cards.three { grid-template-columns: 1fr; }
  .bcard.wide { grid-column: auto; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cards { gap: 10px; }
  .pcard .pb, .qcard .qb { padding: 10px; }
  .pcard .name { font-size: 13px; }
  .pcard .price { font-size: 16px; }
  .ask-bar { flex-direction: column; }
  .ask-bar input { padding: 12px 10px; }
  .feats { grid-template-columns: 1fr; }
  .slot span { display: none; }
  .fpsrow { grid-template-columns: 84px minmax(0, 1fr) 54px; }
  .logo small { display: none; }
}
@media (prefers-reduced-motion: reduce) { .pc-blades, .pc-led, .pc-glow { animation: none; } }
@media print {
  .nav-bar, .topnote, .footer, .no-print, .float { display: none !important; }
  body { background: #fff; color: #000; }
  .bld { grid-template-columns: 1fr; }
  .panel { border-color: #ccc; background: #fff; }
}

/* ---------- 영상 (BuildCores 제공) ---------- */
.herovid { width: min(100%, 600px); aspect-ratio: 1; object-fit: contain; display: block; margin: -40px 0 -20px; }
.vcard { overflow: hidden; display: flex; flex-direction: column; }
.vcard video { width: 100%; display: block; }
.vcard video.contain { aspect-ratio: 16 / 10; object-fit: contain; margin-bottom: 14px; }
.vcard video.cover { height: 100%; min-height: 300px; object-fit: cover; position: absolute; inset: 0; }
.vcard.wide { position: relative; min-height: 340px; justify-content: flex-end; }
.vcap { position: relative; padding: 60px 22px 20px; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); }
.vcap p { color: #cfcfd6; font-size: 14px; }
@media (max-width: 900px) { .herovid { margin: -10px 0 -30px; } }

/* ---------- BuildCores 3D 창 ---------- */
.stage #bc3d { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: none; }
.stage.is3d #bc3d { display: block; }
.stage.is3d .pc, .stage.is3d .lbl { display: none; }
.stage.is3d { min-height: 520px; }

/* ---------- 부품 틀로 그린 본체 미리보기 ---------- */
.stage { min-height: 520px; }
.stage .pcview { width: min(86%, 430px); margin: 26px 0 40px; }
@media (max-width: 900px) { .stage { min-height: 400px; } .stage .pcview { width: min(88%, 340px); } }

/* ---------- 3D 미리보기 (견본) ---------- */
#pc3dHost { position: absolute; inset: 0; }
.pc3d-canvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.pc3d-canvas:active { cursor: grabbing; }
.stage.gl #stagePc, .stage.gl .lbl { display: none; }
.stage .cap { z-index: 1; pointer-events: none; }
