:root {
  --bg: #060a12;
  --ink: #eef3f8;
  --muted: rgba(238, 243, 248, 0.66);
  --faint: rgba(238, 243, 248, 0.42);
  --accent: #7be8d9;
  --glass: rgba(255, 255, 255, 0.055);
  --glass-strong: rgba(255, 255, 255, 0.09);
  --line: rgba(255, 255, 255, 0.14);
  --radius: 24px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2 { text-wrap: balance; }
p { text-wrap: pretty; }

/* ── 배경: 유리 뒤에서 비치는 빛 ── */
.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; will-change: transform; }
.orb-a { width: 620px; height: 620px; left: -160px; top: -180px; background: #1aa7a0; animation: drift 26s ease-in-out infinite alternate; }
.orb-b { width: 560px; height: 560px; right: -180px; top: 22vh; background: #2f55d9; animation: drift 32s ease-in-out infinite alternate-reverse; }
.orb-c { width: 480px; height: 480px; left: 28%; bottom: -260px; background: #c8642a; opacity: 0.32; animation: drift 38s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(60px, 40px, 0) scale(1.08); } }

/* ── 유리 ── */
.glass {
  background: linear-gradient(140deg, var(--glass-strong), var(--glass));
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 24px 60px -30px rgba(0, 0, 0, 0.7);
}

.card { border-radius: var(--radius); padding: 28px; }

/* ── 상단 메뉴 ── */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  z-index: 10;
  width: min(calc(100% - 32px), var(--maxw));
  display: flex; align-items: center; gap: 24px;
  padding: 10px 12px 10px 20px;
  border-radius: 999px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.01em; }
.brand svg { color: var(--accent); }
.nav nav { display: flex; gap: 24px; margin-left: auto; font-size: 15px; color: var(--muted); }
.nav nav a:hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px;
  background: var(--ink); color: #07101a;
  font-weight: 650; font-size: 16px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-1px); background: #fff; }
.btn-small { padding: 9px 18px; font-size: 14px; }
.btn-ghost { background: var(--glass-strong); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ── 첫 화면 ── */
main { width: min(calc(100% - 40px), var(--maxw)); margin: 0 auto; }

.hero { padding: 168px 0 40px; text-align: center; }
.eyebrow { color: var(--accent); font-size: 15px; font-weight: 600; letter-spacing: 0.02em; }
h1 {
  margin-top: 18px;
  font-size: clamp(40px, 7.2vw, 84px);
  line-height: 1.12; letter-spacing: -0.035em; font-weight: 750;
}
h1 em { font-style: normal; color: var(--accent); }
.lead { margin: 26px auto 0; max-width: 640px; color: var(--muted); font-size: clamp(17px, 1.6vw, 19px); }
.hero-actions { margin-top: 34px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.stage { margin: 72px 0 0; padding: 14px; border-radius: 32px; }
.stage-frame { position: relative; border-radius: 20px; overflow: hidden; background: #000; }
.stage img { display: block; width: 100%; height: auto; }
.stage figcaption { padding: 14px 8px 4px; color: var(--faint); font-size: 14px; }

.tag {
  position: absolute;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 7px; border-radius: 999px;
  font-size: 14px; font-weight: 600; white-space: nowrap;
  background: rgba(10, 16, 26, 0.5);
}
.tag b {
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); color: #062019; font-size: 13px;
}
.tag-1 { left: 4%; top: 6%; }
.tag-2 { right: 4%; top: 6%; }
.tag-3 { right: 4%; top: 52%; }
.tag-4 { left: 4%; bottom: 15%; }

/* ── 본문 ── */
.section { padding: 72px 0; }
.section, .stage { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.section.in, .stage.in { opacity: 1; transform: none; }

h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.22; letter-spacing: -0.028em; font-weight: 720; }
h3 { font-size: 20px; letter-spacing: -0.015em; font-weight: 680; }
.sub { margin-top: 12px; color: var(--muted); font-size: 19px; }
.note { margin-top: 24px; color: var(--faint); font-size: 15px; }
.card p { color: var(--muted); }
.card h3 + p { margin-top: 8px; }

.big { font-size: clamp(40px, 5vw, 58px); line-height: 1.05; font-weight: 740; letter-spacing: -0.035em; color: var(--ink) !important; }
.big small { margin-left: 4px; font-size: 0.38em; font-weight: 600; letter-spacing: -0.01em; color: var(--muted); }
.label { margin-top: 10px; font-size: 15px; }

.flow { margin-top: 36px; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 16px; }
.arrow { color: var(--faint); font-size: 24px; }
.dim .big { color: var(--faint) !important; }

.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.num { display: block; margin-bottom: 36px; color: var(--accent); font-size: 14px; font-weight: 650; font-variant-numeric: tabular-nums; }

.stats { margin-top: 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.outputs { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.wide-card { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; padding: 40px; }
.wide-card p { margin-top: 14px; max-width: 620px; }
.pill {
  flex: none; padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(123, 232, 217, 0.45); color: var(--accent);
  font-size: 13px; font-weight: 600;
}

.contact { padding: 56px 32px; text-align: center; }
.contact p { margin: 14px auto 28px; max-width: 520px; }

.footer { padding: 40px 20px 56px; text-align: center; color: var(--muted); font-size: 15px; }
.fine { margin-top: 8px; color: var(--faint); font-size: 13px; }

.wide { display: inline; }

/* ── 좁은 화면 ── */
@media (max-width: 900px) {
  .steps, .stats { grid-template-columns: repeat(2, 1fr); }
  .num { margin-bottom: 20px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav nav { display: none; }
  .nav .btn-small { margin-left: auto; }
  .hero { padding-top: 128px; }
  .wide { display: none; }
  .stage { margin-top: 48px; padding: 8px; border-radius: 22px; }
  .stage-frame { border-radius: 14px; overflow: visible; background: none; }
  .stage img { border-radius: 14px; }
  /* 좁은 화면에서는 꼬리표를 그림 아래에 나란히 둔다 */
  .tag { position: static; margin: 10px 6px 0 0; font-size: 13px; }
  .section { padding: 52px 0; }
  .card { padding: 22px; }
  .flow { grid-template-columns: 1fr; }
  .arrow { transform: rotate(90deg); justify-self: center; }
  .outputs { grid-template-columns: 1fr; }
  .wide-card { flex-direction: column-reverse; gap: 16px; padding: 26px; }
  .contact { padding: 40px 22px; }
}

@media (max-width: 420px) {
  .steps, .stats { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb { animation: none; }
  .section, .stage { opacity: 1; transform: none; transition: none; }
}
