/* =========================================================
   Oracle 성능 진단 리포트 — 랜딩 페이지 (시안)
   프로필 사이트(시안 A)와 같은 색 체계를 사용
   ========================================================= */
:root {
  --bg: #0d1412;
  --surface: #121c19;
  --surface-2: #16231f;
  --line: #22302b;
  --text: #d3ded9;
  --muted: #8a9c95;
  --faint: #5d6e67;
  --heading: #eef5f1;
  --accent: #6ee7b7;
  --accent-line: rgba(110, 231, 183, .4);
  --accent-dim: rgba(110, 231, 183, .12);
  --warn: #f0b35a;
  --mono: "JetBrains Mono", "Cascadia Code", Consolas, monospace;
  --sans: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 15px/1.75 var(--sans); word-break: keep-all; -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(900px 500px at 80% -10%, rgba(110, 231, 183, .08), transparent 70%);
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--bg); }
p { margin: 0 0 14px; }
strong { color: var(--heading); font-weight: 600; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 32px; }

/* ---------- 상단 바 ---------- */
.top { position: sticky; top: 0; z-index: 10; background: rgba(13, 20, 18, .85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--heading); }
.brand small { font: 12px var(--mono); color: var(--muted); font-weight: 400; }
.mark { position: relative; width: 28px; height: 28px; border-radius: 50%; overflow: hidden; flex: none; box-shadow: 0 0 0 1.5px rgba(110, 231, 183, .55); }
.mark img { position: absolute; max-width: none; width: 153.85%; left: -26.92%; top: -23.85%; filter: hue-rotate(-25deg) saturate(.9) brightness(1.35) contrast(1.15); }
.top nav { display: flex; gap: 22px; font: 13px var(--mono); color: var(--muted); }
.top nav a:hover { color: var(--accent); }

/* ---------- 공통 ---------- */
section { padding: 72px 0; border-top: 1px solid var(--line); }
.kicker { margin: 0 0 10px; font: 600 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
h2 { margin: 0 0 10px; font-size: 26px; line-height: 1.35; color: var(--heading); letter-spacing: -.02em; }
.sub { color: var(--muted); max-width: 640px; margin-bottom: 32px; }
.badge { display: inline-block; font: 600 11px var(--mono); letter-spacing: .06em; padding: 3px 10px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); }
.badge.live { color: var(--accent); border-color: var(--accent-line); }
.mail-addr { margin: 0 0 18px; font: 12px var(--mono); color: var(--muted); }
.badge.soon { color: var(--warn); border-color: rgba(240, 179, 90, .45); }
.btn { display: inline-block; padding: 12px 22px; border-radius: 8px; font: 600 14px var(--mono); border: 1px solid var(--accent); color: var(--accent); transition: background .2s; }
.btn:hover { background: var(--accent-dim); }
.btn.solid { background: var(--accent); color: var(--bg); }
.btn.solid:hover { filter: brightness(1.08); }
.btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }

/* ---------- 첫 화면 ---------- */
.hero { padding: 88px 0 80px; border-top: 0; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { margin: 16px 0 18px; font-size: clamp(34px, 5vw, 52px); line-height: 1.15; letter-spacing: -.03em; color: var(--heading); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { font-size: 17px; color: var(--muted); max-width: 520px; }
.actions.center { justify-content: center; }
.btn-link { color: var(--accent); border-bottom: 1px solid var(--accent-line); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.note { margin-top: 14px; font-size: 13px; color: var(--faint); }

/* 리포트 미리보기 카드 */
.report { position: relative; padding: 22px; border-radius: 14px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.report-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font: 12px var(--mono); color: var(--muted); }
.report h3 { margin: 0 0 12px; font-size: 16px; color: var(--heading); }
.bar-row { display: grid; grid-template-columns: 70px 1fr 56px; gap: 10px; align-items: center; margin: 8px 0; font: 12px var(--mono); color: var(--muted); }
.bar { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: var(--faint); }
.bar.after i { background: var(--accent); }
.bar i.w-full { width: 100%; }
.bar i.w-after { width: 7%; }   /* 0.9s / 12.4s */
.report ul { margin: 14px 0 0; padding-left: 18px; font-size: 13px; }
.report .sample { position: absolute; top: -10px; right: 16px; }

/* ---------- 카드 그리드 ---------- */
.grid { display: grid; gap: 14px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { padding: 20px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.card h3 { margin: 0 0 6px; font-size: 16px; color: var(--heading); }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.card .ico { display: block; margin-bottom: 10px; font: 600 13px var(--mono); color: var(--accent); }

/* 리포트 구성 */
.toc-list { counter-reset: r; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-radius: 12px; overflow: hidden; }
.toc-list li { background: var(--surface); padding: 18px 20px 18px 64px; position: relative; }
.toc-list li::before { counter-increment: r; content: "0" counter(r); position: absolute; left: 20px; top: 18px; font: 600 13px var(--mono); color: var(--accent); }
.toc-list b { display: block; color: var(--heading); }
.toc-list span { font-size: 14px; color: var(--muted); }

/* 자료 체크리스트 */
.check { list-style: none; margin: 0; padding: 0; }
.check li { padding: 10px 0 10px 30px; position: relative; border-top: 1px dashed var(--line); }
.check li:first-child { border-top: 0; }
.check li::before { content: "✓"; position: absolute; left: 4px; color: var(--accent); }
.check li.no::before { content: "✕"; color: var(--faint); }
pre { margin: 18px 0 0; padding: 16px 18px; border-radius: 10px; background: #0a100e; border: 1px solid var(--line); overflow-x: auto; font: 12.5px/1.7 var(--mono); color: #b8d8cb; }
pre .c { color: var(--faint); }

/* 진행 절차 */
.flow { counter-reset: f; }
.flow .card { position: relative; padding-top: 44px; }
.flow .card::before { counter-increment: f; content: "STEP 0" counter(f); position: absolute; top: 18px; left: 20px; font: 600 11px var(--mono); letter-spacing: .1em; color: var(--accent); }

/* 근거 수치 */
.proof b { display: block; font: 700 28px var(--mono); color: var(--heading); letter-spacing: -.02em; }
.proof b small { font-size: 15px; color: var(--accent); }

/* FAQ */
details { border-top: 1px solid var(--line); padding: 16px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; font-weight: 600; color: var(--heading); display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--mono); color: var(--accent); }
details[open] summary::after { content: "−"; }
details p { margin: 10px 0 0; color: var(--muted); }

/* 마지막 안내 */
.final { text-align: center; }
.final .sub { margin-left: auto; margin-right: auto; }

footer { padding: 28px 0 48px; border-top: 1px solid var(--line); font: 12px var(--mono); color: var(--faint); }
footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
footer a:hover { color: var(--accent); }

/* ---------- 반응형 ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .top nav a:not(.keep) { display: none; }
  .brand small { display: none; }
  section { padding: 56px 0; }
  .hero { padding: 56px 0; }
  .g2, .g3, .g4, .toc-list { grid-template-columns: 1fr; }
  h2 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
