:root {
  --bg: #07070b;
  --bg-2: #0d0d14;
  --bg-3: #111119;
  --fg: #f3f4f7;
  --muted: #9aa0ad;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --gold: #d6b46a;
  --gold-2: #f1d493;
  --accent: #6a8bff;
  --max: 1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', 'Noto Sans KR', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-feature-settings: 'tnum' 1;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.hdr {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(7, 7, 11, 0.7);
  border-bottom: 1px solid var(--line);
}
.hdr-row { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1a1a22; display: grid; place-items: center;
  font-weight: 900; font-size: 13px; letter-spacing: 0;
}
.brand-name { font-size: 18px; letter-spacing: -0.01em; }
.nav { display: none; gap: 24px; color: var(--muted); font-size: 14px; }
.nav a:hover { color: var(--fg); }
.hdr-cta { display: flex; gap: 8px; }

@media (min-width: 768px) {
  .nav { display: inline-flex; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 14px;
  border: 1px solid transparent; transition: all .18s ease; cursor: pointer; white-space: nowrap;
}
.btn.lg { padding: 14px 24px; font-size: 15px; }
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1a1a22; border-color: rgba(0,0,0,0.2);
  box-shadow: 0 8px 24px rgba(214, 180, 106, 0.18);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(214, 180, 106, 0.28); }
.btn-outline { color: var(--fg); border-color: var(--line-2); background: rgba(255,255,255,0.02); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost { color: var(--muted); }
.btn-ghost:hover { color: var(--fg); }
.arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(2px); }

/* Hero */
.hero {
  position: relative; padding: 80px 0 96px;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(214,180,106,0.10), transparent 60%),
    radial-gradient(700px 400px at 10% 110%, rgba(106,139,255,0.08), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.hero-grid { display: grid; gap: 56px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.2fr 0.9fr; gap: 80px; } }

.kicker {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: rgba(214,180,106,0.10); color: var(--gold-2);
  font-size: 11px; letter-spacing: 0.2em; font-weight: 600;
  border: 1px solid rgba(214,180,106,0.22);
}
.hero h1 {
  margin: 18px 0 18px; font-size: clamp(36px, 6vw, 64px);
  font-weight: 900; line-height: 1.1; letter-spacing: -0.02em;
  font-family: 'Noto Sans KR', 'Inter', sans-serif;
}
.grad {
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-2) 50%, #fff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 17px; color: #cfd2dc; max-width: 620px; margin: 0 0 28px; }
.lead strong { color: var(--gold-2); font-weight: 600; }

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-points {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 20px 28px; flex-wrap: wrap; color: var(--muted); font-size: 14px;
}
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(214,180,106,0.12);
}

/* Hero card */
.hero-card {
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0));
  border-radius: 20px; padding: 8px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.card-tier {
  background: linear-gradient(180deg, rgba(214,180,106,0.06), transparent);
  border: 1px solid var(--line); border-radius: 14px; padding: 22px;
}
.tier-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 10px 0; border-bottom: 1px dashed var(--line);
  font-size: 15px;
}
.tier-row:last-of-type { border-bottom: 0; }
.tier-row span { color: var(--muted); }
.tier-row b { font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; }
.tier-row.hl b { color: var(--gold-2); font-size: 22px; }
.card-foot {
  margin-top: 14px; text-align: center;
  font-size: 12px; letter-spacing: 0.25em; color: var(--muted);
  text-transform: uppercase;
}

/* Sections */
.sec { padding: 96px 0; }
.sec-dark { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.sec-head h2 {
  margin: 14px 0 14px; font-size: clamp(28px, 4vw, 42px);
  font-weight: 800; letter-spacing: -0.01em; line-height: 1.2;
  font-family: 'Noto Sans KR', 'Inter', sans-serif;
}
.sec-head .sub { color: var(--muted); font-size: 16px; }

/* 3-column */
.three { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .three { grid-template-columns: repeat(3, 1fr); } }
.three-item {
  background: var(--bg-3); border: 1px solid var(--line);
  border-radius: 16px; padding: 28px;
  transition: border-color .2s, transform .2s;
}
.three-item:hover { border-color: var(--line-2); transform: translateY(-2px); }
.three-item .num {
  font-size: 13px; color: var(--gold-2); font-weight: 700;
  letter-spacing: 0.2em;
}
.three-item h3 { font-size: 20px; margin: 14px 0 8px; font-weight: 700; }
.three-item p { color: var(--muted); font-size: 15px; margin: 0; }

/* Roadmap grid */
.roadmap {
  display: grid; gap: 16px;
  grid-template-columns: repeat(1, 1fr);
}
@media (min-width: 640px) { .roadmap { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .roadmap { grid-template-columns: repeat(4, 1fr); } }
.rm {
  position: relative;
  background: var(--bg-3); border: 1px solid var(--line);
  border-radius: 16px; padding: 22px;
  transition: border-color .2s, transform .2s;
}
.rm:hover { border-color: var(--gold); transform: translateY(-2px); }
.rm-num {
  font-size: 12px; color: var(--muted); font-weight: 700;
  letter-spacing: 0.2em;
}
.rm-price {
  font-size: 28px; font-weight: 800; margin: 8px 0 4px;
  font-variant-numeric: tabular-nums;
}
.rm-name {
  font-size: 13px; color: var(--gold-2); font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 12px;
}
.rm p { color: var(--muted); font-size: 14px; margin: 0; }
.rm.rm-top {
  background: linear-gradient(180deg, rgba(214,180,106,0.10), var(--bg-3));
  border-color: rgba(214,180,106,0.35);
}
.rm.rm-top .rm-price { color: var(--gold-2); }
.rm-note {
  margin-top: 32px; text-align: center; color: var(--muted);
  font-size: 13px; line-height: 1.7;
}

/* Steps */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li {
  background: var(--bg-3); border: 1px solid var(--line);
  border-radius: 16px; padding: 28px;
}
.step-num {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(214,180,106,0.12); color: var(--gold-2);
  font-weight: 700; font-size: 16px;
  border: 1px solid rgba(214,180,106,0.3);
}
.steps h3 { font-size: 20px; margin: 16px 0 8px; font-weight: 700; }
.steps p { color: var(--muted); font-size: 15px; margin: 0 0 18px; }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-list details {
  background: var(--bg-3); border: 1px solid var(--line);
  border-radius: 12px; padding: 18px 22px;
  transition: border-color .15s;
}
.faq-list details[open] { border-color: var(--line-2); }
.faq-list summary {
  cursor: pointer; font-weight: 600; font-size: 16px;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+'; color: var(--gold); font-size: 22px; font-weight: 400;
  transition: transform .2s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { color: var(--muted); margin: 14px 0 0; line-height: 1.7; }

/* CTA */
.cta {
  padding: 80px 0; background: var(--bg-2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.cta-row { display: grid; gap: 24px; align-items: center; }
@media (min-width: 768px) { .cta-row { grid-template-columns: 1.4fr 1fr; gap: 48px; } }
.cta h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin: 0 0 8px; line-height: 1.25; }
.cta p { color: var(--muted); margin: 0; font-size: 16px; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
@media (min-width: 768px) { .cta-btns { justify-content: flex-end; } }

/* Footer */
.ftr {
  padding: 48px 0 32px; background: #050507;
  border-top: 1px solid var(--line);
}
.ftr-row {
  display: grid; gap: 24px; grid-template-columns: 1fr;
  padding-bottom: 32px; border-bottom: 1px solid var(--line);
}
@media (min-width: 768px) { .ftr-row { grid-template-columns: 1fr auto; align-items: end; } }
.ftr-desc { color: var(--muted); font-size: 13px; margin: 8px 0 0; }
.ftr-links { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.ftr-links a:hover { color: var(--fg); }
.ftr-fine { padding-top: 24px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.ftr-fine p { margin: 0 0 6px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ════════════════════════════════════════════════
   COSMOS BACKGROUND (2026-06-16) — 움직이는 우주 배경
   cosmos.js 캔버스 별 + CSS 성운 레이어. 텍스트 가독성 보존.
   ════════════════════════════════════════════════ */

/* 캔버스: 전 화면 고정, 콘텐츠 뒤 */
#cosmos-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
}

/* body: 단색 → 딥 스페이스 그라데이션 + 느리게 떠다니는 성운 */
body {
  background:
    radial-gradient(1100px 700px at 78% -8%, rgba(214,180,106,0.10), transparent 62%),
    radial-gradient(900px 620px at 12% 8%, rgba(106,139,255,0.10), transparent 60%),
    radial-gradient(1200px 900px at 50% 120%, rgba(96,72,160,0.12), transparent 65%),
    linear-gradient(180deg, #05050b 0%, #07070f 40%, #060609 100%) !important;
  background-attachment: fixed;
  position: relative;
}

/* 드리프트하는 성운 글로우 (GPU 가속, 콘텐츠 뒤) */
body::before {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(38% 32% at 22% 26%, rgba(106,139,255,0.10), transparent 70%),
    radial-gradient(34% 30% at 80% 18%, rgba(214,180,106,0.09), transparent 70%),
    radial-gradient(46% 40% at 60% 88%, rgba(120,86,200,0.10), transparent 72%);
  filter: blur(18px);
  animation: cosmosDrift 38s ease-in-out infinite alternate;
}
@keyframes cosmosDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-2.5%, 2%, 0) scale(1.06); }
  100% { transform: translate3d(2%, -2.5%, 0) scale(1.03); }
}
@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
}

/* 모든 콘텐츠는 우주 레이어 위 */
body > header,
body > main,
body > footer,
body > .hdr,
body > nav,
body > section,
body > div:not(#cosmos-bg) {
  position: relative;
  z-index: 1;
}

/* HERO: 불투명 배경 제거 → 우주가 선명하게 비침 (첫인상 임팩트) */
.hero {
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(214,180,106,0.12), transparent 60%),
    radial-gradient(700px 400px at 10% 110%, rgba(106,139,255,0.10), transparent 60%),
    transparent !important;
}

/* 헤더: 우주가 살짝 비치는 글래스 */
.hdr {
  background: rgba(7, 7, 13, 0.55) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* 콘텐츠 섹션: 반투명 다크 베일 + blur — 우주는 은은히, 텍스트는 또렷 */
.sec-dark {
  background: rgba(13, 13, 20, 0.78) !important;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

/* 카드류: 우주 위 글래스 패널 (가독성 우선 — 불투명 가까이) */
.three-item,
.rm,
.steps li,
.faq-list details,
.card-tier,
.card {
  background: rgba(17, 17, 25, 0.82) !important;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

/* 푸터: 깊은 우주 바닥 */
footer, .footer {
  background: rgba(5, 5, 7, 0.86) !important;
  position: relative;
  z-index: 1;
}

/* backdrop-filter 미지원 브라우저 폴백 — 불투명도 상향 */
@supports not ((-webkit-backdrop-filter: blur(2px)) or (backdrop-filter: blur(2px))) {
  .hdr { background: rgba(7,7,13,0.92) !important; }
  .sec-dark { background: rgba(13,13,20,0.92) !important; }
  .three-item, .rm, .steps li, .faq-list details, .card-tier, .card { background: rgba(17,17,25,0.94) !important; }
}

/* ═══════════════════════════════════════════════════════════════
   STAGE8 PREMIUM COSMIC UPGRADE (2026-06-16)
   QUANTUM급 글래스모피즘 + 네온글로우 + 골드그라데이션 + 마이크로인터랙션
   레퍼런스: qntmclub.io (cosmic purple) + defi.pots.money (neon clean)
   전부 공유 style.css → 8개 언어 자동 동기화. HTML 구조 무편집.
   cosmos.js 별배경 위에 레이어. cosmos 블록보다 뒤 = 카스케이드 우선.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --glow-gold: rgba(214,180,106,0.55);
  --glow-gold-soft: rgba(214,180,106,0.22);
  --glow-blue: rgba(106,139,255,0.40);
  --glow-violet: rgba(150,110,230,0.35);
  --glass: rgba(18,18,28,0.55);
  --glass-2: rgba(22,22,34,0.62);
  --grad-gold: linear-gradient(135deg, #f1d493 0%, #d6b46a 45%, #b8965a 100%);
}

/* 공통 글래스 패널 믹스인 (gradient border via mask) */
.three-item,
.rm,
.steps li,
.faq-list details,
.hero-card,
.card-tier {
  position: relative;
  background: var(--glass) !important;
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  backdrop-filter: blur(16px) saturate(120%);
  border: 1px solid transparent !important;
  background-clip: padding-box;
  isolation: isolate;
  overflow: hidden;
}
/* 그라데이션 보더 (골드→블루→투명) */
.three-item::before,
.rm::before,
.steps li::before,
.faq-list details::before,
.hero-card::before {
  content: "";
  position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, var(--glow-gold) 0%, var(--glow-blue) 38%, transparent 72%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none; z-index: 0; opacity: 0.7;
  transition: opacity .25s ease;
}
/* 커서 추종 하이라이트 (premium.js가 --mx/--my 주입) */
.three-item::after,
.rm::after,
.steps li::after {
  content: "";
  position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%),
              rgba(241,212,147,0.14), transparent 60%);
  opacity: 0; transition: opacity .3s ease; pointer-events: none; z-index: 0;
}
.three-item > *, .rm > *, .steps li > *, .faq-list details > *,
.hero-card > *, .card-tier > * { position: relative; z-index: 1; }

.three-item:hover, .rm:hover, .steps li:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 18px 48px -12px rgba(0,0,0,0.6), 0 0 0 1px var(--glow-gold-soft);
}
.three-item:hover::before, .rm:hover::before, .steps li:hover::before { opacity: 1; }
.three-item:hover::after, .rm:hover::after, .steps li:hover::after { opacity: 1; }

/* ── 헤더: 글래스 + 하단 글로우 헤어라인 ── */
.hdr { border-bottom: 1px solid transparent; box-shadow: 0 1px 0 var(--glow-gold-soft); }
.brand-mark {
  box-shadow: 0 0 18px var(--glow-gold), inset 0 0 6px rgba(255,255,255,0.3);
  position: relative;
}

/* ── KICKER: 글로우 펄스 펄 ── */
.kicker {
  position: relative;
  background: linear-gradient(135deg, rgba(214,180,106,0.16), rgba(106,139,255,0.10)) !important;
  box-shadow: 0 0 22px -6px var(--glow-gold), inset 0 0 0 1px rgba(214,180,106,0.25);
  backdrop-filter: blur(6px);
}

/* ── HERO ── */
.hero h1 { text-shadow: 0 2px 40px rgba(214,180,106,0.12); }
.grad {
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-2) 40%, #fff 70%, var(--gold-2) 100%);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: goldShimmer 6s linear infinite;
  filter: drop-shadow(0 0 18px rgba(214,180,106,0.25));
}
@keyframes goldShimmer { to { background-position: 220% center; } }
.lead strong { text-shadow: 0 0 16px var(--glow-gold-soft); }
.dot { animation: dotPulse 2.4s ease-in-out infinite; }
@keyframes dotPulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(214,180,106,0.12); }
  50%     { box-shadow: 0 0 0 6px rgba(214,180,106,0.04), 0 0 12px var(--glow-gold); }
}

/* 프라이머리 버튼: 글로시 + 글로우 + 샤인 스윕 */
.btn-primary {
  position: relative; overflow: hidden;
  background: var(--grad-gold) !important;
  box-shadow: 0 10px 30px -6px var(--glow-gold), inset 0 1px 0 rgba(255,255,255,0.45) !important;
}
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  transition: left .6s ease;
}
.btn-primary:hover::after { left: 130%; }
.btn-primary:hover { transform: translateY(-2px) scale(1.015) !important; box-shadow: 0 16px 40px -6px var(--glow-gold) !important; }
.btn-outline { backdrop-filter: blur(6px); }
.btn-outline:hover { box-shadow: 0 0 24px -8px var(--glow-gold); background: rgba(214,180,106,0.06) !important; }

/* HERO CARD: 떠다니는 프리미엄 글래스 + 골드 글로우 + 장식 크리스털 */
.hero-card {
  border-radius: 22px !important; padding: 10px !important;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.7), 0 0 60px -20px var(--glow-gold);
  animation: heroFloat 7s ease-in-out infinite;
}
@keyframes heroFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.hero-card::after {  /* 뒤쪽 글로우 오브 */
  content:""; position:absolute; width:200px; height:200px; right:-60px; top:-60px;
  background: radial-gradient(circle, var(--glow-gold), transparent 70%);
  filter: blur(20px); z-index:-1; pointer-events:none;
}
.card-tier { background: linear-gradient(180deg, rgba(214,180,106,0.08), rgba(255,255,255,0.01)) !important; }
.tier-row.hl {
  margin: 4px -10px 0; padding: 12px 10px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(214,180,106,0.18), rgba(214,180,106,0.04));
  box-shadow: inset 0 0 0 1px rgba(214,180,106,0.3), 0 0 24px -8px var(--glow-gold);
}
.tier-row.hl b { text-shadow: 0 0 16px var(--glow-gold); }

/* ── 섹션 헤드: 골드 악센트 글로우 라인 ── */
.sec-head { position: relative; }
.sec-head h2 .grad, .sec-head h2 { }
.sec-head::after {
  content:""; display:block; width:60px; height:3px; margin:20px auto 0;
  background: var(--grad-gold); border-radius: 3px;
  box-shadow: 0 0 16px var(--glow-gold);
}
/* 닷그리드 텍스처 (POTS 영감) — sec-dark 미묘하게 */
.sec-dark { position: relative; }
.sec-dark::before {
  content:""; position:absolute; inset:0; pointer-events:none; z-index:0; opacity:0.5;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask: radial-gradient(60% 60% at 50% 40%, #000, transparent 75%);
          mask: radial-gradient(60% 60% at 50% 40%, #000, transparent 75%);
}
.sec-dark > * { position: relative; z-index: 1; }

/* ── 컨셉 카드: nth-child 글로우 SVG 아이콘 (HTML 무편집) ── */
.three-item .num { display: inline-block; margin-bottom: 4px; }
.three-item::after { } /* (커서 글로우는 위 공통) */
.three .three-item h3 { margin-top: 56px; }   /* 아이콘 자리 확보 */
.three .three-item { padding-top: 30px; }
.three .three-item > .num { position: relative; }
/* 아이콘은 별도 박스 — :nth-child 로 3종 */
.three .three-item::before { z-index: 0; } /* 보더 유지 */
.three .three-item .num::before {
  content: ""; position: absolute; left: 0; top: -46px;
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(214,180,106,0.18), rgba(106,139,255,0.10));
  box-shadow: inset 0 0 0 1px rgba(214,180,106,0.3), 0 0 24px -8px var(--glow-gold);
  background-repeat: no-repeat; background-position: center; background-size: 26px 26px;
}
/* 1) 실물가치 확보 — 다이아 카드 */
.three .three-item:nth-child(1) .num::before {
  background-image:
    linear-gradient(135deg, rgba(214,180,106,0.18), rgba(106,139,255,0.10)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f1d493' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5' width='19' height='14' rx='2.5'/%3E%3Cpath d='M2.5 9.5h19'/%3E%3Cpath d='M12 12.5l2 2-2 2-2-2z'/%3E%3C/svg%3E");
}
/* 2) 멤버십 활성화 — 별/크라운 */
.three .three-item:nth-child(2) .num::before {
  background-image:
    linear-gradient(135deg, rgba(214,180,106,0.18), rgba(106,139,255,0.10)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f1d493' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l2.5 5.2 5.7.8-4.1 4 1 5.7L12 21l-5.1 2.5 1-5.7-4.1-4 5.7-.8z'/%3E%3C/svg%3E");
}
/* 3) Stage1 진입 통로 — 포털/노드 */
.three .three-item:nth-child(3) .num::before {
  background-image:
    linear-gradient(135deg, rgba(214,180,106,0.18), rgba(106,139,255,0.10)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f1d493' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='12' r='2.4'/%3E%3Ccircle cx='18' cy='6' r='2.4'/%3E%3Ccircle cx='18' cy='18' r='2.4'/%3E%3Cpath d='M8 11l8-4M8 13l8 4'/%3E%3C/svg%3E");
}

/* ── ROADMAP: 글래스 + 단계별 글로우 점증 + Stage8 크라운 ── */
.rm-num {
  display: inline-grid; place-items: center; width: 30px; height: 30px;
  border-radius: 8px; color: var(--gold-2) !important;
  background: rgba(214,180,106,0.12); box-shadow: inset 0 0 0 1px rgba(214,180,106,0.25);
  letter-spacing: 0 !important; margin-bottom: 10px;
}
.rm-price {
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text;
  color: transparent !important;
  filter: drop-shadow(0 0 10px var(--glow-gold-soft));
}
.rm.rm-top {
  background: linear-gradient(180deg, rgba(214,180,106,0.16), rgba(18,18,28,0.6)) !important;
  box-shadow: 0 0 40px -10px var(--glow-gold);
}
.rm.rm-top::before { opacity: 1; background: linear-gradient(140deg, var(--glow-gold), var(--glow-gold) 30%, var(--glow-blue) 70%); }
.rm.rm-top::after {  /* 다이아몬드 크라운 마크 */
  content: ""; opacity: 1 !important; position: absolute; top: 14px; right: 14px;
  width: 26px; height: 26px; background: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f1d493' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l4-5h10l4 5-9 11z'/%3E%3Cpath d='M3 9h18M9 4l-2 5 5 11M15 4l2 5-5 11'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; filter: drop-shadow(0 0 8px var(--glow-gold));
}

/* ── STEPS: 글로우 넘버 + 연결선 ── */
.step-num {
  background: linear-gradient(135deg, rgba(214,180,106,0.2), rgba(106,139,255,0.12)) !important;
  box-shadow: 0 0 24px -6px var(--glow-gold), inset 0 0 0 1px rgba(214,180,106,0.35) !important;
  color: var(--gold-2) !important;
}
@media (min-width: 768px) {
  .steps { position: relative; }
  .steps li:not(:last-child)::after {
    content: ""; opacity: 0.5; position: absolute; top: 46px; right: -10px;
    width: 20px; height: 2px; background: linear-gradient(90deg, var(--glow-gold), transparent);
    z-index: 2; border-radius: 2px;
  }
}

/* ── FAQ: 글래스 + 글로우 마커 ── */
.faq-list details[open] { box-shadow: 0 0 30px -12px var(--glow-gold); }
.faq-list summary::after { text-shadow: 0 0 12px var(--glow-gold); }
.faq-list details[open] summary { color: var(--gold-2); }

/* ── 푸터: 상단 글로우 헤어라인 ── */
.ftr { position: relative; }
.ftr::before {
  content:""; position:absolute; top:0; left:0; right:0; height:1px;
  background: linear-gradient(90deg, transparent, var(--glow-gold), transparent);
}

/* ═══ 스크롤 리빌 (premium.js 토글) ═══ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ═══ 모션 감소 존중 ═══ */
@media (prefers-reduced-motion: reduce) {
  .grad { animation: none; }
  .dot { animation: none; }
  .hero-card { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn-primary::after { display: none; }
}

/* backdrop 미지원 폴백 */
@supports not ((-webkit-backdrop-filter: blur(2px)) or (backdrop-filter: blur(2px))) {
  .three-item, .rm, .steps li, .faq-list details, .hero-card, .card-tier { background: rgba(18,18,28,0.94) !important; }
}

/* ═══════════════════════════════════════════════════════════════
   STAGE8 DYNAMIC LAYER (2026-06-16) — 콘텐츠 역동성
   회전 네온보더 + 카운트업 + 3D틸트 + 플로팅 + CTA브리딩 + 오로라 + 리치리빌
   featured만 상시회전(성능). reduced-motion 전면 존중.
   premium 블록보다 뒤 = 카스케이드 우선.
   ═══════════════════════════════════════════════════════════════ */

@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

/* ── 회전 네온 보더 (featured 5: 컨셉3 + Stage8 + 히어로카드) ── */
.three .three-item::before,
.rm.rm-top::before,
.hero-card::before {
  background: conic-gradient(from var(--ang),
      transparent 0deg, var(--glow-gold) 48deg, #fff2cc 70deg,
      var(--glow-blue) 120deg, var(--glow-violet) 160deg, transparent 210deg, transparent 360deg) !important;
  opacity: 0.9 !important;
  animation: angSpin 7s linear infinite;
}
@keyframes angSpin { to { --ang: 360deg; } }

/* ── 플로팅 아이콘 / 배지 (스태거) ── */
.three .three-item .num::before { animation: floatY 4s ease-in-out infinite; }
.three .three-item:nth-child(2) .num::before { animation-delay: -1.3s; }
.three .three-item:nth-child(3) .num::before { animation-delay: -2.6s; }
.rm-num   { animation: floatY 5.5s ease-in-out infinite; }
.step-num { animation: floatY 5s ease-in-out infinite; }
.steps li:nth-child(2) .step-num { animation-delay: -1.6s; }
.steps li:nth-child(3) .step-num { animation-delay: -3.2s; }
.rm.rm-top::after { animation: floatY 4.5s ease-in-out infinite; }  /* 크라운 둥둥 */
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ── CTA 브리딩 글로우 ── */
.btn-primary { animation: ctaBreathe 3.4s ease-in-out infinite; }
@keyframes ctaBreathe {
  0%,100% { box-shadow: 0 10px 30px -6px var(--glow-gold), inset 0 1px 0 rgba(255,255,255,0.45); }
  50%     { box-shadow: 0 16px 46px -4px var(--glow-gold), 0 0 34px -4px var(--glow-gold), inset 0 1px 0 rgba(255,255,255,0.55); }
}

/* ── HERO 오로라 (움직이는 글로우) ── */
.hero::after {
  content: ""; position: absolute; left: -10%; right: -10%; top: -10%; height: 130%;
  z-index: 0; pointer-events: none;
  background:
    radial-gradient(42% 48% at 28% 28%, rgba(214,180,106,0.12), transparent 70%),
    radial-gradient(40% 46% at 74% 62%, rgba(106,139,255,0.12), transparent 70%),
    radial-gradient(30% 40% at 55% 90%, rgba(150,110,230,0.10), transparent 70%);
  filter: blur(34px);
  animation: auroraShift 18s ease-in-out infinite alternate;
}
@keyframes auroraShift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(4%,3%,0) scale(1.1); }
}

/* ── 리치 스크롤 리빌 (scale + blur-in) ── */
.reveal {
  opacity: 0; transform: translateY(30px) scale(0.965); filter: blur(5px);
  transition: opacity .75s cubic-bezier(.2,.7,.2,1), transform .75s cubic-bezier(.2,.7,.2,1), filter .6s ease;
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; filter: none; }

/* ── 카운트업 진행 중 탭틀 방지 ── */
.rm-price, .tier-row b { font-variant-numeric: tabular-nums; }

/* ── 3D 틸트용 perspective (JS가 transform 주입) ── */
.three-item, .rm { transform-style: preserve-3d; }

/* ═══ reduced-motion: 모든 상시 모션 정지 ═══ */
@media (prefers-reduced-motion: reduce) {
  .three .three-item::before, .rm.rm-top::before, .hero-card::before { animation: none; }
  .three .three-item .num::before, .rm-num, .step-num, .rm.rm-top::after { animation: none; }
  .btn-primary { animation: none; }
  .hero::after { animation: none; }
  .reveal { filter: none; transform: none; }
}

/* ═══════════════════════════════════════════════════════════════
   STAGE8 ICON FIX + FLASHY v05 (2026-06-16)
   ① 컨셉 아이콘 오버플로 근본수정: absolute(top:-46px) → in-flow
   ② preserve-3d 제거로 overflow:hidden 클리핑 복원(이중 안전)
   ③ 더 화려하게: 전 카드 회전 네온보더 + 아이콘 글로우펄스 + 가격펄스 + 스테이지명 shimmer
   ═══════════════════════════════════════════════════════════════ */

/* ── ① 아이콘 인플로우 배치 (오버플로 영구 차단) ── */
.three .three-item { padding-top: 28px !important; }
.three .three-item h3 { margin-top: 16px !important; }
.three .three-item .num {
  display: flex !important; flex-direction: column; align-items: flex-start;
  gap: 12px; position: relative; margin: 0 0 4px !important;
}
.three .three-item .num::before {
  position: static !important; top: auto !important; left: auto !important;
  display: block;
  width: 56px !important; height: 56px !important; border-radius: 16px;
  background-size: 30px 30px !important;
  box-shadow: 0 0 30px -4px var(--glow-gold), inset 0 1px 0 rgba(255,255,255,0.4), inset 0 0 0 1px rgba(241,212,147,0.45) !important;
  animation: floatY 4s ease-in-out infinite, iconPulse 2.8s ease-in-out infinite !important;
}
.three .three-item:nth-child(2) .num::before { animation-delay: -1.3s, -0.7s !important; }
.three .three-item:nth-child(3) .num::before { animation-delay: -2.6s, -1.4s !important; }
@keyframes iconPulse {
  0%,100% { box-shadow: 0 0 26px -6px var(--glow-gold), inset 0 1px 0 rgba(255,255,255,0.4), inset 0 0 0 1px rgba(241,212,147,0.45); }
  50%     { box-shadow: 0 0 46px 0 var(--glow-gold), inset 0 1px 0 rgba(255,255,255,0.55), inset 0 0 0 1px rgba(241,212,147,0.75); }
}

/* ── ② preserve-3d 제거 → overflow:hidden 클리핑 복원 (틸트는 transform 내 perspective()로 동작, preserve-3d 불필요) ── */
.three-item, .rm { transform-style: flat !important; }

/* ── ③ 더 화려하게: 회전 네온보더 전 카드 확장 (featured-only 해제) ── */
.three .three-item::before,
.rm::before,
.steps li::before,
.hero-card::before {
  background: conic-gradient(from var(--ang),
      transparent 0deg, var(--glow-gold) 44deg, #fff2cc 66deg,
      var(--glow-blue) 112deg, var(--glow-violet) 152deg, transparent 202deg, transparent 360deg) !important;
  opacity: 0.95 !important;
  animation: angSpin 7s linear infinite !important;
}
/* 스태거/방향 차이로 생동감 */
.rm:nth-child(2n)::before     { animation-duration: 8.5s !important; }
.rm:nth-child(3n)::before     { animation-direction: reverse !important; }
.steps li:nth-child(2)::before { animation-delay: -2.3s !important; }
.steps li:nth-child(3)::before { animation-delay: -4.6s !important; }
.three .three-item:nth-child(2)::before { animation-delay: -2s !important; }
.three .three-item:nth-child(3)::before { animation-delay: -4s !important; }

/* 가격 글로우 펄스 */
.rm-price { animation: pricePulse 3s ease-in-out infinite; }
@keyframes pricePulse {
  0%,100% { filter: drop-shadow(0 0 8px var(--glow-gold-soft)); }
  50%     { filter: drop-shadow(0 0 18px var(--glow-gold)); }
}

/* 스테이지명 골드 shimmer */
.rm-name {
  background: linear-gradient(90deg, var(--gold) 0%, #fff 50%, var(--gold) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent !important;
  animation: goldShimmer 4.5s linear infinite;
}

/* 히어로 카드 보더 더 밝게 */
.hero-card::before { opacity: 1 !important; }

/* ── reduced-motion: 신규 모션 정지 ── */
@media (prefers-reduced-motion: reduce) {
  .three .three-item .num::before { animation: none !important; }
  .rm-price { animation: none; }
  .rm-name { animation: none; }
}

/* fix(2026-06-23): 언어 선택 드롭다운 클릭이 본문에 가로채이던 회귀 수정.
   cosmos 배경 작업(2026-06-16)이 body>.hdr 를 z-index:1 로 덮어 main(z:1)이
   DOM 뒤라서 헤더를 덮음 → 드롭다운(z:60, 헤더 컨텍스트 내부)이 본문 아래로 렌더.
   헤더 스택을 본문 위로 올려 드롭다운 클릭 복원. (레이아웃/스크롤 동작 불변) */
body > .hdr { z-index: 100; }
