/* 랜딩 전용 스타일. 모바일 단일 컬럼 기준, 데스크톱은 같은 폭을 가운데 둔다. */

:root {
  --gold: #c9a84c;
  --gold-light: #e8c870;
  --purple: #8b5cf6;
  --purple-light: #a78bfa;
  --purple-dark: #4c1d95;
  --bg: #09091e;
  --bg2: #0d0d26;
  --bg3: #121230;
  --text: #ede8f8;
  --muted: rgba(237, 232, 248, 0.6);
  --muted-dim: rgba(237, 232, 248, 0.38);
  --border: rgba(139, 92, 246, 0.18);
  --border-gold: rgba(201, 168, 76, 0.22);
  --ok: #6cc79a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Serif KR', 'Noto Sans KR', serif;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

.ph { max-width: 460px; margin: 0 auto; padding: 0 20px; }

/* ── 언어 선택 바 ── */
.lang-bar {
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  padding: 10px 20px; background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
.lang-bar::-webkit-scrollbar { display: none; }
.lang-bar a {
  display: flex; align-items: center; flex: none;
  font-size: 13px; padding: 10px 14px; min-height: 44px;
  border-radius: 999px; border: 1px solid var(--border);
  color: var(--muted); text-decoration: none; white-space: nowrap;
}
.lang-bar a[aria-current="page"] {
  border-color: var(--purple-light); color: var(--purple-light);
  background: rgba(139, 92, 246, .12);
}

/* ── 상단 바 ── */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 20px; border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.top .logo {
  font-family: 'Cinzel', serif; font-size: 12px; letter-spacing: .16em;
  color: var(--gold); text-decoration: none;
}

/* ── 버튼 ── */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; min-height: 54px; padding: 15px 20px;
  font-family: inherit; font-size: 16px; font-weight: 700; letter-spacing: .01em;
  border-radius: 14px; text-decoration: none; cursor: pointer; border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, #c9a84c 0%, #e8c870 100%);
  color: #09091e;
}
.btn-primary:active { opacity: .9; }
.btn-ghost {
  background: transparent;
  border-color: rgba(139, 92, 246, .4);
  color: var(--purple-light);
}
.btn-ghost:active { background: rgba(139, 92, 246, .1); }

.cta-dual { display: flex; flex-direction: column; gap: 10px; }

/* ── 소셜 프루프 ── */
.social-proof {
  display: flex; align-items: center; gap: 10px;
  margin-top: 20px; padding-top: 20px;
  border-top: 1px solid rgba(139, 92, 246, .12);
}
.sp-avatars { display: flex; }
.sp-av {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--bg);
  margin-right: -8px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--purple-dark), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; color: #fff;
  font-family: 'Noto Sans KR', sans-serif;
}
.sp-avatars .sp-av:nth-child(2) { background: linear-gradient(135deg, #1e40af, #7c3aed); }
.sp-avatars .sp-av:nth-child(3) { background: linear-gradient(135deg, #be185d, #c9a84c); }
.sp-avatars .sp-av:nth-child(4) { background: linear-gradient(135deg, #064e3b, #0369a1); }
.sp-text {
  font-size: 11.5px; color: var(--muted-dim); line-height: 1.5;
  padding-left: 10px;
}
.sp-text strong { color: rgba(237,232,248,.75); }

/* ── 소셜 프루프 칩 ── */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; padding: 6px 13px; border-radius: 999px;
  border: 1px solid rgba(139, 92, 246, .3);
  background: rgba(139, 92, 246, .08);
  color: var(--muted); margin-bottom: 18px;
  font-family: 'Noto Sans KR', sans-serif;
}
.chip-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok); flex-shrink: 0;
  box-shadow: 0 0 6px rgba(108, 199, 154, .6);
}

/* ── 히어로 ── */
.hero { padding: 36px 0 32px; }
.kicker {
  display: block; font-family: 'Cinzel', serif; font-size: 10px; letter-spacing: .2em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 14px;
}
.hero h1 {
  font-size: 32px; line-height: 1.32; font-weight: 800; margin: 0 0 14px;
  color: var(--text); word-break: keep-all; letter-spacing: -.01em;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p {
  font-size: 15px; line-height: 1.95; color: var(--muted); margin: 0 0 26px;
  word-break: keep-all;
}

/* ── 섹션 ── */
.sec { padding: 36px 0; border-top: 1px solid rgba(139, 92, 246, .12); }
.sec-label {
  display: block; font-family: 'Cinzel', serif; font-size: 10px; letter-spacing: .2em;
  color: rgba(201,168,76,.65); text-transform: uppercase; margin-bottom: 10px;
}
.sec h2 {
  font-size: 21px; line-height: 1.45; font-weight: 700; margin: 0 0 8px; color: var(--text);
  word-break: keep-all;
}
.sec > p { font-size: 14px; line-height: 1.95; color: var(--muted); margin: 0 0 20px; word-break: keep-all; }

/* ── 벤토 그리드 (세 체계 섹션) ── */
.bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.bento-wide {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 14px;
  padding: 18px 16px;
  border-radius: 16px;
  border: 1px solid rgba(139, 92, 246, .3);
  background: linear-gradient(135deg, rgba(76,29,149,.25) 0%, rgba(13,13,38,.5) 100%);
}
.bento-wide-num {
  font-family: 'Cinzel', serif; font-size: 42px; font-weight: 700;
  color: rgba(139, 92, 246, .2); line-height: 1; flex-shrink: 0;
}
.bento-wide-desc h3 { font-size: 13px; font-weight: 700; color: var(--gold); margin: 0 0 5px; }
.bento-wide-desc p { font-size: 12px; line-height: 1.7; color: var(--muted-dim); margin: 0; word-break: keep-all; }

/* 세 체계 카드 — 기존 .sys를 대체/확장 */
.sys {
  border-radius: 16px; padding: 16px 14px;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.01) 100%);
  position: relative; overflow: hidden;
}
.sys.full-width { grid-column: 1 / -1; }
.sys::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139,92,246,.4), transparent);
}
.sys-icon { font-size: 20px; display: block; margin-bottom: 10px; }
.sys h3 {
  font-size: 13px; font-weight: 700; margin: 0 0 7px; color: var(--gold-light);
  line-height: 1.3;
}
.sys p { font-size: 12px; line-height: 1.8; color: var(--muted-dim); margin: 0; word-break: keep-all; }

/* luna 클립 버튼 (체계 카드 안) */
.luna-clip {
  position: relative; width: 100%; aspect-ratio: 4 / 3;
  border-radius: 10px; overflow: hidden; margin: 0 0 12px;
  background: var(--bg3) center 22% / cover no-repeat;
  border: 0; padding: 0; cursor: pointer;
}
.luna-clip.playing { aspect-ratio: 540 / 960; }
.luna-clip video { display: block; width: 100%; height: 100%; object-fit: cover; }
.luna-clip .play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(9,9,30,.3); color: var(--gold); font-size: 14px;
}
.luna-clip .play span {
  display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 16px;
  border: 1px solid rgba(201,168,76,.5); border-radius: 999px;
  background: rgba(9,9,30,.75); font-weight: 600; font-size: 13px;
}
.luna-clip.playing .play { display: none; }

/* ── 가격 카드 ── */
.prod {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 16px;
  padding: 22px 18px; margin-bottom: 12px; position: relative;
}
.prod.featured {
  border-color: rgba(139, 92, 246, .45);
  background: linear-gradient(145deg, rgba(76,29,149,.2) 0%, rgba(13,13,38,.8) 100%);
}
.prod.featured::after {
  content: ''; position: absolute; inset: -1px; border-radius: 16px; pointer-events: none;
  background: linear-gradient(135deg, rgba(139,92,246,.3) 0%, rgba(201,168,76,.2) 50%, transparent 100%);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  padding: 1px;
}
.prod .badge {
  position: absolute; top: -10px; left: 18px;
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  background: linear-gradient(135deg, #c9a84c, #e8c870);
  color: #09091e; font-weight: 700;
  padding: 3px 10px; border-radius: 999px;
}
.prod h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; color: var(--text); }
.prod .price { font-size: 24px; font-weight: 800; color: var(--gold); margin: 0 0 12px; }
.prod .price small { font-size: 13px; font-weight: 400; color: var(--muted-dim); }
.prod > p { font-size: 13.5px; line-height: 1.9; color: var(--muted); margin: 0 0 14px; word-break: keep-all; }
.prod ul { margin: 0 0 18px; padding: 0; list-style: none; }
.prod li {
  font-size: 13px; line-height: 1.9; color: var(--muted);
  display: flex; align-items: flex-start; gap: 8px;
  padding: 6px 0; border-bottom: 1px solid rgba(139,92,246,.08);
}
.prod li::before { content: '✦'; color: var(--gold); font-size: 8px; margin-top: 5px; flex-shrink: 0; }
.prod .sys-tag { font-size: 11px; letter-spacing: .08em; color: rgba(237,232,248,.3); margin: 0 0 14px; }
.prod .btn { margin-top: 2px; }

.soon {
  border: 1px dashed rgba(139,92,246,.2); border-radius: 12px; padding: 16px 18px;
  font-size: 13px; line-height: 1.9; color: var(--muted-dim); word-break: keep-all;
  margin-bottom: 12px;
}

.fineprint {
  padding: 26px 0 34px; font-size: 12px; line-height: 1.9;
  color: rgba(237, 232, 248, .32); word-break: keep-all;
}

/* ── LUNA 히어로 영상 ── */
.luna-hero {
  position: relative; margin: 0 0 0;
  border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(139, 92, 246, .25);
  background: var(--bg2);
  aspect-ratio: 540 / 675;
}
.luna-hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 100% 50% at 50% 100%, rgba(9,9,30,.85) 0%, transparent 60%);
}
.luna-hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, transparent 55%, rgba(9,9,30,.95) 100%);
}
.luna-hero video { display: block; width: 100%; height: 100%; object-fit: cover; }
.luna-sound {
  position: absolute; right: 12px; top: 12px; z-index: 3;
  width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid rgba(139,92,246,.4); background: rgba(9,9,30,.65);
  color: var(--purple-light); font-size: 15px; cursor: pointer; line-height: 1;
}

/* luna-hero 위에 겹치는 텍스트 (옵션) */
.luna-hero-label {
  position: absolute; bottom: 18px; left: 18px; right: 18px; z-index: 2;
  font-family: 'Cinzel', serif; font-size: 10px; letter-spacing: .2em;
  color: rgba(237,232,248,.5); text-align: center; text-transform: uppercase;
  pointer-events: none;
}
