:root {
  --bg: #070b17;
  --bg-2: #0c1224;
  --panel: rgba(22, 28, 50, 0.72);
  --panel-solid: #121a31;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #e9edf9;
  --muted: #8f99b8;
  --accent: #6d95ff;
  --accent-2: #9b6bff;
  --ok: #3ddc97;
  --radius: 18px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.65 "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
code { font: 0.88em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: rgba(255,255,255,.07); padding: 2px 6px; border-radius: 6px; word-break: break-all; }
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.25; margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 780px; }
.muted { color: var(--muted); }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 11px 20px; border-radius: 12px; font-weight: 600; border: 0; cursor: pointer;
  color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 30px rgba(109, 149, 255, 0.35);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 36px rgba(109, 149, 255, 0.45); filter: brightness(1.06); }
.btn-lg { padding: 15px 26px; font-size: 17px; border-radius: 14px; }
.btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 10px; }
.btn-ghost { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px var(--line-2); }

/* 내비게이션 */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(7, 11, 23, 0.7); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 17px; white-space: nowrap; }
.brand b { font-weight: 700; }
.links { display: flex; gap: 24px; margin-left: auto; font-size: 15px; color: var(--muted); }
.links a:hover { color: var(--text); }

/* 히어로 */
.hero { position: relative; padding: 96px 0 110px; overflow: hidden; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; pointer-events: none; }
.g1 { width: 520px; height: 520px; background: #3657ff; top: -160px; left: -120px; }
.g2 { width: 460px; height: 460px; background: #8a4dff; bottom: -200px; right: -80px; opacity: .38; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
  opacity: .5;
}
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted);
  padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line-2);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
h1 { font-size: clamp(36px, 5.2vw, 60px); font-weight: 800; margin: 22px 0 20px; }
.grad { background: linear-gradient(120deg, #8fb0ff 0%, #b18cff 60%, #ff9ad5 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: #b9c2dc; max-width: 540px; margin: 0 0 32px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hint { margin: 16px 0 0; font-size: 14px; color: var(--muted); }

/* 데스크톱 목업 */
.mock { perspective: 1400px; }
.mock-screen {
  position: relative; aspect-ratio: 16 / 10.5; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line-2); box-shadow: var(--shadow), 0 0 0 8px rgba(255,255,255,.03);
  background:
    radial-gradient(circle at 78% 20%, rgba(255, 154, 213, .55), transparent 40%),
    radial-gradient(circle at 20% 85%, rgba(61, 220, 151, .35), transparent 45%),
    linear-gradient(135deg, #1b2b6b 0%, #3a1f73 55%, #0f1735 100%);
  transform: rotateY(-8deg) rotateX(4deg); transition: transform .5s ease;
}
.mock:hover .mock-screen { transform: rotateY(0) rotateX(0); }
.m-icons { position: absolute; top: 4%; left: 3%; display: grid; grid-template-columns: repeat(2, 64px); gap: 8px 6px; }
.m-ico { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 10px; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.m-ico i {
  font-style: normal; width: 38px; height: 38px; display: grid; place-items: center; font-size: 18px; border-radius: 11px;
  background: color-mix(in srgb, var(--c) 30%, rgba(255,255,255,.12)); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
}
.m-win {
  position: absolute; left: 36%; top: 13%; width: 46%; border-radius: 10px; overflow: hidden;
  background: rgba(22, 27, 45, .9); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 18px 40px rgba(0,0,0,.45);
  animation: float 6s ease-in-out infinite;
}
.m-bar { display: flex; align-items: center; gap: 5px; padding: 7px 10px; background: rgba(255,255,255,.05); font-size: 10px; color: var(--muted); }
.m-bar b { width: 8px; height: 8px; border-radius: 50%; background: #ff6b6b; }
.m-bar b:nth-child(2) { background: #ffd166; }
.m-bar b:nth-child(3) { background: #3ddc97; margin-right: 6px; }
.m-body { padding: 12px 12px 16px; display: grid; gap: 8px; }
.ln { height: 7px; border-radius: 4px; background: rgba(255,255,255,.14); }
.m-sticky {
  position: absolute; right: 5%; bottom: 17%; width: 26%; padding: 10px; font-size: 10px; line-height: 1.6;
  color: #3a2c00; background: #ffe58a; border-radius: 4px; transform: rotate(3deg); box-shadow: 0 10px 24px rgba(0,0,0,.35);
  animation: float 7s ease-in-out infinite reverse;
}
.m-task {
  position: absolute; left: 0; right: 0; bottom: 0; height: 9%; display: flex; align-items: center; gap: 6px; padding: 0 10px;
  background: rgba(14, 18, 32, .6); backdrop-filter: blur(10px); border-top: 1px solid rgba(255,255,255,.08);
}
.m-start { width: 16px; height: 16px; border-radius: 5px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.m-tab { width: 46px; height: 12px; border-radius: 4px; background: rgba(255,255,255,.1); }
.m-tab.on { background: rgba(109,149,255,.45); }
.m-task .sp { flex: 1; }
.m-clock { font-size: 10px; color: #cfd6ea; }
@keyframes float { 50% { transform: translateY(-6px); } }
.m-sticky { animation-name: floatR; }
@keyframes floatR { 0%, 100% { transform: rotate(3deg); } 50% { transform: rotate(3deg) translateY(-5px); } }

/* 섹션 공통 */
.section { padding: 100px 0; }
.section.alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.section h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; margin-bottom: 44px; }
.sub { margin: -28px 0 36px; color: var(--muted); }

/* 사이트 모음 */
.sites { position: relative; overflow: hidden; }
.sites::before {
  content: ""; position: absolute; width: 700px; height: 700px; left: 50%; top: -260px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(109,149,255,.16), transparent 65%); pointer-events: none;
}
.sites .wrap { position: relative; }
.sites h2 { margin-bottom: 44px; }
.sites-sub { max-width: 760px; font-size: 17px; line-height: 1.75; color: #b9c2dc; }
.sites-sub b { color: var(--text); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0 0 40px; }
.stats div {
  padding: 22px 20px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); text-align: center;
}
.stats b {
  display: block; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
  background: linear-gradient(120deg, #8fb0ff, #b18cff); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stats span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }

.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: stretch; margin-bottom: 48px; }
.cmp { padding: 26px 28px; border-radius: var(--radius); border: 1px solid var(--line); }
.cmp h3 { font-size: 18px; margin-bottom: 14px; }
.cmp ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 15px; }
.cmp-foot { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.cmp-old { background: rgba(255,255,255,.025); color: var(--muted); }
.cmp-old h3 { color: #c3cbe2; }
.cmp-old li { text-decoration: line-through; text-decoration-color: rgba(255,107,107,.55); }
.cmp-old .cmp-foot { color: #ff8c8c; }
.cmp-new { background: linear-gradient(135deg, rgba(109,149,255,.16), rgba(155,107,255,.12)); border-color: rgba(109,149,255,.45); color: #dfe5f7; }
.cmp-new .cmp-foot { color: var(--ok); }
.cmp-arrow { display: grid; place-items: center; font-size: 28px; color: var(--accent); }

.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat {
  --c: var(--accent);
  position: relative; padding: 18px 18px 16px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line);
  overflow: hidden; transition: transform .2s ease, border-color .2s ease;
}
.cat::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--c); opacity: .8; }
.cat:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 55%, transparent); }
.cat-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.cat-ic {
  width: 36px; height: 36px; flex: none; display: grid; place-items: center; font-size: 19px; border-radius: 10px;
  background: color-mix(in srgb, var(--c) 22%, transparent);
}
.cat-head b { font-size: 15px; line-height: 1.3; }
.cat-head small { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }
.cat-top { display: flex; flex-wrap: wrap; gap: 5px; }
.cat-top span {
  font-size: 12px; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.06); color: #c3cbe2;
  white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis;
}
.cat-top span:first-child { background: color-mix(in srgb, var(--c) 25%, transparent); color: #fff; }
.cat-more { text-align: center; margin-top: 22px; }
.hint.center { text-align: center; }

/* 기능 카드 */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  padding: 28px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(109,149,255,.4); background: rgba(28, 36, 64, .8); }
.card .ic {
  width: 48px; height: 48px; display: grid; place-items: center; font-size: 24px; border-radius: 14px; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(109,149,255,.22), rgba(155,107,255,.18)); border: 1px solid var(--line-2);
}
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* 단계 */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { display: flex; gap: 18px; padding: 28px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.steps .n {
  flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.steps h3 { font-size: 18px; margin: 6px 0 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }

/* 다운로드 */
.tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); margin-bottom: 24px; }
.tabs button {
  border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 600; cursor: pointer;
  padding: 9px 22px; border-radius: 10px; transition: background .15s, color .15s;
}
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { background: rgba(109,149,255,.2); color: #fff; box-shadow: inset 0 0 0 1px rgba(109,149,255,.45); }
.dl-panel { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; align-items: start; }
.dl-list { display: grid; gap: 12px; }
.dl-item {
  display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line); transition: border-color .15s, transform .15s, background .15s;
}
.dl-item:hover { border-color: rgba(109,149,255,.5); transform: translateY(-2px); background: rgba(28, 36, 64, .85); }
.dl-item.primary { border-color: rgba(109,149,255,.45); background: linear-gradient(135deg, rgba(109,149,255,.14), rgba(155,107,255,.1)); }
.dl-os { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid var(--line-2); }
.dl-os svg { width: 24px; height: 24px; }
.dl-meta { flex: 1; min-width: 0; }
.dl-meta b { display: block; font-size: 16px; }
.dl-meta span { display: block; font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; margin-left: 8px; vertical-align: 2px; background: rgba(61,220,151,.15); color: var(--ok); }
.dl-arrow { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.dl-empty { padding: 28px; border-radius: var(--radius); border: 1px dashed var(--line-2); color: var(--muted); }
.dl-guide { padding: 26px; border-radius: var(--radius); background: var(--panel-solid); border: 1px solid var(--line); }
.dl-guide h3 { font-size: 17px; margin-bottom: 14px; }
.dl-guide ol { margin: 0; padding-left: 20px; color: #c3cbe2; font-size: 15px; }
.dl-guide li { margin-bottom: 8px; }
.dl-guide .req { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
summary {
  list-style: none; cursor: pointer; padding: 18px 40px 18px 0; font-weight: 600; font-size: 17px; position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s;
}
details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
details p { margin: 0 0 20px; color: #b9c2dc; }

/* 푸터 */
.foot { padding: 32px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a:hover { color: var(--text); text-decoration: underline; }

/* 문서 페이지 (개인정보처리방침) */
.doc { padding: 64px 0 96px; }
.doc h1 { font-size: clamp(30px, 4vw, 40px); margin: 0 0 8px; }
.doc .meta { color: var(--muted); margin: 0 0 40px; font-size: 15px; }
.doc h2 { font-size: 21px; margin: 44px 0 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.doc p, .doc li { color: #c3cbe2; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc .summary { padding: 22px 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid rgba(109,149,255,.35); }
.doc .summary ul { margin: 8px 0 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.doc th { color: var(--text); font-weight: 700; white-space: nowrap; }
.doc td { color: #c3cbe2; }
.doc .todo { background: rgba(255, 209, 102, .16); color: #ffd166; padding: 1px 6px; border-radius: 6px; }

/* 반응형 */
@media (max-width: 960px) {
  .hero { padding: 64px 0 80px; }
  .hero-in { grid-template-columns: 1fr; gap: 48px; }
  .mock-screen { transform: none; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .compare { grid-template-columns: 1fr; }
  .cmp-arrow { transform: rotate(90deg); }
  .steps { grid-template-columns: 1fr; }
  .dl-panel { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .links { display: none; }
  .nav-in { justify-content: space-between; }
  .grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .m-icons { grid-template-columns: repeat(2, 52px); }
  .m-ico i { width: 30px; height: 30px; font-size: 14px; }
  .m-ico span { display: none; }
  .tabs { display: flex; }
  .tabs button { flex: 1; padding: 9px 8px; }
  .dl-item { padding: 16px; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
