/* CEO AI — 디자인 시스템 (프리미엄 다크 네이비 + 골드) */
:root {
  --bg: #0a0e1a;
  --bg2: #0f1526;
  --panel: #141b30;
  --panel2: #1a2340;
  --line: rgba(255, 255, 255, 0.09);
  --text: #eef1f9;
  --dim: #9aa4bd;
  --faint: #6b7590;
  --gold: #d4a843;
  --gold2: #e9c96a;
  --blue: #4c8dff;
  --green: #3ecf8e;
  --red: #ff5d5d;
  --radius: 16px;
  --maxw: 1080px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, "Malgun Gothic", sans-serif;
  background: var(--bg); color: var(--text);
  line-height: 1.65; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { font-family: inherit; }

/* ── 내비게이션 ─────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 14, 26, 0.82);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  max-width: var(--maxw); margin: 0 auto; padding: 0 20px;
  height: 58px; display: flex; align-items: center; gap: 22px;
}
.logo { font-weight: 800; font-size: 19px; letter-spacing: 0.02em; }
.logo b { color: var(--gold); }
.nav-links { display: flex; gap: 20px; font-size: 14.5px; color: var(--dim); flex: 1; }
.nav-links a:hover { color: var(--text); }
.nav-links a.on { color: var(--gold2); font-weight: 600; }
.nav-auth { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.chip-p {
  background: rgba(212, 168, 67, 0.14); color: var(--gold2);
  border: 1px solid rgba(212, 168, 67, 0.35);
  padding: 3px 12px; border-radius: 999px; font-weight: 700; font-size: 13px;
}
.btn-ghost {
  color: var(--dim); border: 1px solid var(--line); background: transparent;
  padding: 7px 16px; border-radius: 999px; font-size: 13.5px; cursor: pointer;
}
.btn-ghost:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.25); }
.ham { display: none; background: none; border: 0; color: var(--text); font-size: 22px; cursor: pointer; }
.drawer {
  display: none; position: fixed; inset: 58px 0 auto 0; z-index: 99;
  background: rgba(10, 14, 26, 0.97); border-bottom: 1px solid var(--line);
  flex-direction: column; padding: 12px 24px 20px;
}
.drawer a { padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); font-size: 15px; }
.drawer.open { display: flex; }

/* ── 레이아웃 ─────────────────────────── */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
section { padding: 72px 0; }
.eyebrow {
  color: var(--gold); font-weight: 700; font-size: 13.5px; letter-spacing: 0.14em;
  text-transform: uppercase; margin-bottom: 12px;
}
h1 { font-size: clamp(30px, 5.4vw, 52px); line-height: 1.22; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(24px, 3.6vw, 36px); line-height: 1.3; font-weight: 800; letter-spacing: -0.015em; margin-bottom: 14px; }
h3 { font-size: 18px; font-weight: 700; }
.lead { color: var(--dim); font-size: clamp(15px, 2vw, 17.5px); max-width: 640px; }
.center { text-align: center; }
.center .lead { margin: 0 auto; }

/* ── 히어로 ─────────────────────────── */
.hero {
  position: relative; padding: 140px 0 90px; overflow: hidden;
  background:
    radial-gradient(900px 480px at 70% -10%, rgba(212, 168, 67, 0.13), transparent 60%),
    radial-gradient(700px 420px at 12% 8%, rgba(76, 141, 255, 0.10), transparent 60%),
    var(--bg);
}
.hero .lead { margin-top: 18px; }
.hero-cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.stat-row { display: flex; gap: 26px; margin-top: 44px; flex-wrap: wrap; }
.stat b { display: block; font-size: 24px; color: var(--gold2); font-weight: 800; }
.stat span { color: var(--faint); font-size: 13px; }

/* ── 버튼 ─────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-size: 15px; font-weight: 700;
  cursor: pointer; border: 0; transition: transform 0.15s, box-shadow 0.15s;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  color: #14100a; box-shadow: 0 6px 24px rgba(212, 168, 67, 0.28);
}
.btn-gold:hover { transform: translateY(-1px); }
.btn-line { background: transparent; color: var(--text); border: 1px solid rgba(255, 255, 255, 0.22); }
.btn-line:hover { border-color: var(--gold); color: var(--gold2); }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ── 카드/그리드 ─────────────────────────── */
.grid { display: grid; gap: 18px; margin-top: 38px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: linear-gradient(180deg, var(--panel), var(--bg2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: rgba(212, 168, 67, 0.4); transform: translateY(-2px); }
.card .ico { font-size: 28px; margin-bottom: 14px; display: block; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--dim); font-size: 14.5px; }
.card .tag {
  display: inline-block; margin-top: 14px; font-size: 12.5px; color: var(--gold2);
  background: rgba(212, 168, 67, 0.1); border: 1px solid rgba(212, 168, 67, 0.25);
  padding: 2px 10px; border-radius: 999px;
}
.panel {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
}

/* ── 폼 ─────────────────────────── */
label.f { display: block; font-size: 13.5px; color: var(--dim); margin: 16px 0 6px; font-weight: 600; }
input, textarea, select {
  width: 100%; background: var(--bg2); border: 1px solid var(--line); color: var(--text);
  border-radius: 12px; padding: 12px 14px; font-size: 15px; font-family: inherit;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--gold); }
textarea { resize: vertical; min-height: 90px; }
.msg { margin-top: 14px; font-size: 14px; }
.msg.err { color: var(--red); }
.msg.ok { color: var(--green); }

/* ── 테이블 ─────────────────────────── */
.tbl-wrap { overflow-x: auto; margin-top: 16px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--faint); font-size: 12.5px; font-weight: 600; }
td.num { font-variant-numeric: tabular-nums; }

/* ── 리포트 뷰 ─────────────────────────── */
.report {
  background: #fdfcf8; color: #23211c; border-radius: var(--radius);
  padding: 36px 34px; margin-top: 22px; line-height: 1.75;
}
.report h1 { font-size: 24px; color: #17150f; margin-bottom: 14px; line-height: 1.35; }
.report h2 {
  font-size: 18px; color: #17150f; margin: 26px 0 10px; padding-bottom: 6px;
  border-bottom: 2px solid #e5ded0;
}
.report p { margin: 10px 0; font-size: 15px; }
.report li { margin: 6px 0 6px 20px; font-size: 15px; }
.report blockquote { border-left: 3px solid var(--gold); padding-left: 14px; color: #6d675c; margin: 12px 0; font-size: 14px; }
.report strong { color: #17150f; }
.plog { margin-top: 18px; font-size: 13.5px; color: var(--dim); }
.plog div { padding: 3px 0; }
.plog .done::before { content: "✓ "; color: var(--green); }
.plog .doing::before { content: "⏳ "; }

/* ── 기타 ─────────────────────────── */
.notice {
  border: 1px solid rgba(212, 168, 67, 0.3); background: rgba(212, 168, 67, 0.07);
  border-radius: 12px; padding: 14px 18px; font-size: 14px; color: var(--dim); margin-top: 18px;
}
.notice b { color: var(--gold2); }
.steps { counter-reset: st; margin-top: 30px; display: grid; gap: 14px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step::before {
  counter-increment: st; content: counter(st);
  flex: 0 0 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(212, 168, 67, 0.14); color: var(--gold2); font-weight: 800; border: 1px solid rgba(212, 168, 67, 0.3);
}
.step h3 { margin-bottom: 3px; }
.step p { color: var(--dim); font-size: 14.5px; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 26px 0; }

footer { border-top: 1px solid var(--line); padding: 44px 0 60px; margin-top: 40px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--faint); font-size: 13px; }
footer .flinks { display: flex; gap: 18px; }
footer .flinks a:hover { color: var(--text); }

@media (max-width: 860px) {
  .g3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .ham { display: block; }
  .g2, .g3 { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
  .hero { padding: 110px 0 64px; }
  .report { padding: 26px 20px; }
}
