:root {
  --bg: #ffffff;
  --bg-alt: #f2fafb;
  --card: #ffffff;
  --line: #dfe9ec;
  --text: #0f172a;
  --muted: #5b6b82;
  --accent: #0B7F89;
  --accent-bright: #29B6C1;
  --accent-soft: #DFF6F8;
  --accent-2: #29B6C1;
  --radius: 16px;
  --max: 1140px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.accent { background: linear-gradient(90deg, var(--accent), var(--accent-bright)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: .85rem; letter-spacing: .12em; margin-bottom: 10px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid var(--accent);
  background: var(--accent); color: #ffffff; font-weight: 700; font-size: 1rem;
  cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(18,158,168,.32); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); box-shadow: none; }
.btn-sm { padding: 8px 16px; font-size: .9rem; }
.btn-block { width: 100%; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; }
.brand small { display: block; font-size: .65rem; letter-spacing: .18em; color: var(--muted); font-weight: 600; line-height: 1; }
.menu { display: flex; align-items: center; gap: 26px; font-weight: 500; color: var(--muted); }
.menu a:not(.btn):hover { color: var(--text); }
.menu .btn { color: #ffffff; }
.menu-btn { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; }
.menu-btn span { display: block; height: 2px; width: 22px; background: var(--text); margin: 5px auto; transition: .2s; }

/* hero */
.hero { padding: 90px 0 80px; background: radial-gradient(800px 420px at 85% 15%, rgba(18,158,168,.16), transparent), radial-gradient(700px 400px at 5% 95%, rgba(18,158,168,.08), transparent), linear-gradient(180deg, #ffffff, #f2fafb); }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.25; font-weight: 800; letter-spacing: -.02em; }
.lead { margin: 22px 0 30px; color: var(--muted); font-size: 1.1rem; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; color: var(--muted); font-size: .95rem; }

.pc-card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: 0 30px 70px rgba(15,23,42,.12); }
.pc-case { position: relative; height: 230px; border-radius: 14px; background: linear-gradient(160deg, #0a2226, #10373d); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: 18px; }
.fan { width: 56px; height: 56px; border-radius: 50%; border: 3px solid #5fd6de; box-shadow: 0 0 18px rgba(95,214,222,.6), inset 0 0 12px rgba(95,214,222,.4); background: repeating-conic-gradient(rgba(95,214,222,.35) 0 20deg, transparent 20deg 60deg); animation: spin 2.4s linear infinite; }
.gpu { position: absolute; right: 18px; top: 50%; width: 55%; height: 34px; border-radius: 6px; background: linear-gradient(90deg, #14424a, #1b5a63); border: 1px solid #2a7680; box-shadow: 0 0 18px rgba(18,158,168,.45); }
.glow { position: absolute; inset: auto 0 0 0; height: 6px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); filter: blur(2px); }
@keyframes spin { to { transform: rotate(360deg); } }
.spec { margin-top: 20px; display: grid; gap: 10px; }
.spec div { display: flex; justify-content: space-between; padding: 10px 14px; border-radius: 10px; background: var(--bg-alt); font-size: .95rem; }
.spec b { color: var(--accent); }
.spec span { color: var(--muted); }

/* sections */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; margin-bottom: 50px; }
.section h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.3; letter-spacing: -.02em; margin-bottom: 12px; }
.section-head p:not(.eyebrow) { color: var(--muted); }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--accent); transform: translateY(-4px); }
.card .icon { font-size: 2rem; margin-bottom: 14px; }
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { color: var(--muted); }

/* plans */
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 20px 50px rgba(18,158,168,.14); }
.plan-tag { font-size: .85rem; color: var(--accent); font-weight: 700; }
.plan h3 { font-size: 1.5rem; margin: 4px 0; }
.price { font-size: 1.7rem; font-weight: 800; margin-bottom: 18px; }
.plan ul { list-style: none; margin-bottom: 26px; flex: 1; }
.plan li { padding: 9px 0 9px 24px; border-bottom: 1px dashed var(--line); color: var(--muted); position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.split > div > p:not(.eyebrow) { color: var(--muted); margin: 14px 0 26px; }
.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; padding: 16px 20px; }
.checklist b { display: block; }
.checklist span { color: var(--muted); font-size: .95rem; }

/* steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.steps span { font-size: 2rem; font-weight: 800; color: var(--accent); opacity: .85; }
.steps h3 { margin: 6px 0; }
.steps p { color: var(--muted); }

.why div { padding: 24px; border-top: 3px solid var(--accent); background: var(--card); border-radius: 0 0 var(--radius) var(--radius); }
.why strong { font-size: 1.1rem; }
.why p { color: var(--muted); margin-top: 6px; }

/* faq */
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
summary { cursor: pointer; padding: 18px 22px; font-weight: 600; list-style: none; position: relative; padding-right: 50px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--accent); }
details[open] summary::after { content: "−"; }
details p { padding: 0 22px 20px; color: var(--muted); }

/* contact */
.contact-list { list-style: none; display: grid; gap: 14px; }
.contact-list li { display: grid; grid-template-columns: 90px 1fr; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.contact-list span { color: var(--muted); }
.contact-list a { color: var(--accent); font-weight: 600; }
.contact-list em { font-style: normal; }
.form { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 30px; display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.form input, .form select, .form textarea { font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-weight: 400; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(18,158,168,.18); }
.form-note { font-size: .9rem; color: var(--accent); min-height: 1.2em; }
.form-note.error { color: #dc2626; }

/* footer */
.footer { padding: 40px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.biz { color: var(--muted); font-size: .85rem; margin-top: 14px; line-height: 1.8; }
.copy { color: var(--muted); font-size: .85rem; }

.call-fab { display: none; position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: var(--accent); align-items: center; justify-content: center; font-size: 1.5rem; box-shadow: 0 10px 30px rgba(15,23,42,.25); z-index: 60; color: #fff; }

/* responsive */
@media (max-width: 960px) {
  .hero-inner, .split { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .hero { padding: 56px 0; }
  .section { padding: 64px 0; }
  .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .call-fab { display: flex; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .fan { animation: none; } html { scroll-behavior: auto; } }

/* price table */
.price-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.price-table th, .price-table td { padding: 18px 22px; border-bottom: 1px solid var(--line); text-align: left; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }
.price-table th { font-weight: 600; }
.price-table th small { display: block; color: var(--muted); font-weight: 400; font-size: .85rem; }
.price-table td { text-align: right; font-weight: 800; white-space: nowrap; }
.price-table td.free { color: var(--accent); }
.contact-list em a { color: var(--accent); font-size: .9rem; }
@media (max-width: 1100px) and (min-width: 1001px) { .menu { gap: 18px; font-size: .94rem; } }

/* light theme polish */
.card, .plan, .steps li, .checklist li, details, .form, .price-table, .why div { box-shadow: 0 4px 18px rgba(15,23,42,.05); }
.card:hover { box-shadow: 0 14px 34px rgba(15,23,42,.10); }
.glow { background: linear-gradient(90deg, #129EA8, #DFF6F8); }
.form input, .form select, .form textarea { background: #f8fafc; }
.footer { background: #0a2226; color: #e2eef0; border-top: 0; }
.footer .biz, .footer .copy, .footer .brand small { color: #8fb3b8; }

/* brand logo refresh */
.brand-logo { width: auto; height: 38px; }
.footer .brand-logo { height: 32px; background: #ffffff; border-radius: 8px; padding: 4px 6px; box-sizing: content-box; }
.brand { letter-spacing: -.01em; }
.brand small { color: var(--accent-bright); }
.nav { border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(18,158,168,.06); }
.menu a:not(.btn):hover { color: var(--accent); }
.eyebrow { display: inline-block; background: var(--accent-soft); padding: 4px 12px; border-radius: 999px; font-size: .78rem; }
.btn:hover { background: var(--accent-bright); border-color: var(--accent-bright); }
.btn-ghost:hover { background: var(--accent-soft); border-color: var(--accent-bright); color: var(--accent); }
.spec div { background: var(--accent-soft); }

/* blog */
.menu-static { display: flex !important; align-items: center !important; position: static !important; flex-direction: row !important; background: none !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; gap: 18px; }
.blog .section { padding-top: 60px; }
.post-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.post-card { display: block; padding: 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .15s, border-color .15s; }
.post-card h3 { font-size: 1.15rem; line-height: 1.45; margin: 6px 0 10px; }
.post-card p:last-child { color: var(--muted); font-size: .95rem; }
.post-date { color: var(--accent); font-size: .85rem; font-weight: 600; }
.post { padding: 48px 20px 80px; }
.post .back { color: var(--muted); font-size: .92rem; }
.post .back:hover { color: var(--accent); }
.post h1 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); line-height: 1.35; letter-spacing: -.02em; margin: 8px 0 28px; }
.post-body { font-size: 1.06rem; line-height: 1.85; }
.post-body > * + * { margin-top: 1.1em; }
.post-body h2 { font-size: 1.4rem; margin-top: 2em; padding-left: 12px; border-left: 4px solid var(--accent-bright); line-height: 1.4; }
.post-body h3, .post-body h4 { font-size: 1.15rem; margin-top: 1.6em; }
.post-body ul, .post-body ol { padding-left: 1.4em; }
.post-body li + li { margin-top: .35em; }
.post-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.post-body strong { color: var(--text); }
.post-body blockquote { background: var(--accent-soft); border-left: 4px solid var(--accent-bright); padding: 14px 18px; border-radius: 0 12px 12px 0; }
.post-body figure img { border-radius: 12px; border: 1px solid var(--line); margin: 0 auto; }
.post-body code { background: var(--bg-alt); padding: 2px 6px; border-radius: 6px; font-size: .92em; }
.post-body hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.table-wrap { overflow-x: auto; }
.post-body table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.post-body th, .post-body td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.post-body th { background: var(--accent-soft); }
.tags { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.tag { background: var(--bg-alt); color: var(--muted); padding: 4px 10px; border-radius: 999px; font-size: .85rem; }
.post-cta { margin-top: 40px; padding: 26px; border-radius: var(--radius); background: var(--accent-soft); border: 1px solid #bfe9ed; }
.post-cta p { margin-bottom: 16px; }
.menu-static a { padding: 0 !important; border: 0 !important; margin: 0 !important; }
.menu-static .btn { padding: 8px 16px !important; }

/* ===== 매입 ===== */
.buy-steps { margin-top: 28px; }
.buy-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.buy-notes div { background: var(--accent-soft); border-radius: var(--radius); padding: 22px 24px; }
.buy-notes strong { display: block; margin-bottom: 6px; color: var(--accent); }
.buy-notes p { color: var(--muted); font-size: .95rem; }
.buy-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
@media (max-width: 900px) { .buy-notes { grid-template-columns: 1fr; } }

/* ===== PC 조립해보기 ===== */
.diy { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.diy-pick h3 { font-size: 1.05rem; margin: 22px 0 10px; }
.diy-pick h3:first-child { margin-top: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; cursor: pointer; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text); font-weight: 600; transition: .15s; }
.chip:hover { border-color: var(--accent-bright); }
.chip.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.diy-parts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.part { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; box-shadow: 0 4px 18px rgba(15,23,42,.05); }
.part-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.part-icon { font-size: 1.2rem; }
.part-head em { margin-left: auto; font-style: normal; font-size: .75rem; font-weight: 700; color: var(--accent); background: var(--accent-soft); padding: 2px 8px; border-radius: 999px; }
.part-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.opt { font: inherit; font-size: .85rem; cursor: pointer; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg-alt); color: var(--text); }
.opt.on { background: var(--accent-soft); border-color: var(--accent-bright); color: var(--accent); font-weight: 700; }
.part-desc { color: var(--muted); font-size: .85rem; margin-top: 8px; }
.diy-summary { position: sticky; top: 90px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 20px 50px rgba(15,23,42,.08); display: grid; gap: 14px; }
.diy-summary h3 { font-size: 1.1rem; }
.meters { display: grid; gap: 10px; }
.meter { display: grid; grid-template-columns: 78px 1fr 64px; align-items: center; gap: 10px; font-size: .9rem; }
.meter b { font-size: .8rem; color: var(--accent); text-align: right; }
.diy .bar { height: 10px; background: var(--bg-alt); border-radius: 999px; overflow: hidden; }
.diy .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent-bright), var(--accent)); border-radius: 999px; transition: width .4s ease; }
.diy-warn { list-style: none; display: grid; gap: 6px; font-size: .88rem; color: #9a5b00; }
.diy-warn .ok { color: var(--accent); }
.diy-progress { display: grid; gap: 8px; }
.diy-step { font-size: .9rem; font-weight: 600; }
.diy-note { font-size: .8rem; color: var(--muted); }
@media (max-width: 900px) { .diy { grid-template-columns: 1fr; } .diy-summary { position: static; } }
@media (max-width: 560px) { .diy-parts { grid-template-columns: 1fr; } }

/* 메뉴가 많아져서 1000px 이하에서는 햄버거 메뉴 */
@media (max-width: 1000px) {
  .menu-btn { display: block; }
  .menu { position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 18px; display: none; }
  .menu.open { display: flex; }
  .menu a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu .btn { margin-top: 12px; border-bottom: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
