/* Wealthy — 앱 소개 사이트 / 조용한 럭셔리 (다크 + 샴페인 골드 + 명조) */

:root {
  --ink: #0b0c11;
  --bg: #0d0f15;
  --surface: #14161d;
  --surface-2: #1a1d26;
  --line: #232733;
  --line-soft: #1c2029;
  --gold: #c2a35b;
  --gold-deep: #8f6320;
  --gold-light: #f6e39c;
  --ivory: #ede8dd;
  --sub: #9a958a;
  --sub-dim: #6e6a60;
  --up: #c0524a;   /* 상승(적) — 한국 증시 관례 */
  --down: #5b7fa6; /* 하락(청) */
  --maxw: 1120px;
  --serif-en: "Playfair Display", Georgia, serif;
  --serif-ko: "Nanum Myeongjo", serif;
  --sans: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 은은한 골드 글로우 배경 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(60vw 50vh at 78% -5%, rgba(194, 163, 91, 0.10), transparent 60%),
    radial-gradient(50vw 40vh at 0% 100%, rgba(143, 99, 32, 0.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* 타이포 */
h1, h2, h3 { font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.serif { font-family: var(--serif-ko); }
.gold { color: var(--gold); }
.muted { color: var(--sub); }
.eyebrow {
  font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(11, 12, 17, 0.55);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease;
}
.nav.scrolled { background: rgba(11, 12, 17, 0.85); border-bottom-color: var(--line-soft); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand__name { font-family: var(--serif-en); font-size: 22px; letter-spacing: 0.01em; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a:not(.btn) { color: var(--sub); font-size: 15px; transition: color .2s; }
.nav__links a:not(.btn):hover { color: var(--ivory); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s;
}
/* 앱 기본 버튼 스타일(단색 골드 + 어두운 글자 + radius.md) 그대로 적용 */
.btn--gold {
  color: #11141b;
  background: var(--gold);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(194, 163, 91, 0.28);
}
.btn--gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(194, 163, 91, 0.4); }
.btn--ghost { color: var(--ivory); border-color: var(--line); background: rgba(255,255,255,0.02); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

/* 스토어 배지 */
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 11px 18px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color .2s, transform .2s;
}
.badge:hover { border-color: var(--gold); transform: translateY(-2px); }
.badge svg { width: 24px; height: 24px; flex: none; color: var(--ivory); }
.badge__txt { display: flex; flex-direction: column; line-height: 1.1; }
.badge__small { font-size: 11px; color: var(--sub); }
.badge__big { font-size: 16px; font-weight: 600; }
.badge__soon { font-size: 10px; color: var(--gold); letter-spacing: .08em; }

/* ===== Hero ===== */
.hero { padding: 86px 0 72px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 {
  font-size: clamp(40px, 6vw, 66px); margin: 18px 0 22px; line-height: 1.08;
}
.hero h1 .en { font-family: var(--serif-en); font-style: italic; color: var(--gold); }
.hero h1 .ko { font-family: var(--serif-ko); }
.hero__lead { font-size: 18px; color: var(--sub); max-width: 30em; margin-bottom: 32px; }
.hero__actions { display: flex; flex-direction: column; gap: 18px; }

/* 폰 목업 */
.phone {
  width: 290px; margin: 0 auto; border-radius: 40px; padding: 12px;
  background: linear-gradient(160deg, #2a2d36, #0e0f14);
  box-shadow: 0 40px 90px rgba(0,0,0,0.55), 0 0 0 1px rgba(194,163,91,0.12);
}
.phone__screen {
  border-radius: 30px; background: var(--ink); padding: 22px 18px 26px;
  border: 1px solid #1d2129; overflow: hidden;
}
.scr__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.scr__brand { font-family: var(--serif-en); font-size: 16px; color: var(--ivory); }
.scr__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.scr__label { font-size: 11px; color: var(--sub); letter-spacing: .04em; }
.scr__asset { font-size: 30px; font-weight: 700; margin: 2px 0 4px; letter-spacing: -0.02em; }
.scr__chg { font-size: 13px; color: var(--up); font-weight: 600; }

.donut { width: 150px; height: 150px; margin: 22px auto 16px; position: relative; }
.donut__ring {
  width: 100%; height: 100%; border-radius: 50%;
  background: conic-gradient(
    var(--gold) 0 40%,
    var(--gold-deep) 40% 64%,
    #d8c18a 64% 82%,
    var(--sub-dim) 82% 100%
  );
  -webkit-mask: radial-gradient(circle 47px at center, transparent 98%, #000 100%);
          mask: radial-gradient(circle 47px at center, transparent 98%, #000 100%);
}
.donut__center {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.donut__center .v { font-size: 20px; font-weight: 700; }
.donut__center .k { font-size: 10px; color: var(--sub); }
.scr__rows { display: flex; flex-direction: column; gap: 9px; }
.scr__row { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.scr__row .nm { display: flex; align-items: center; gap: 8px; color: var(--ivory); }
.scr__chip { width: 9px; height: 9px; border-radius: 3px; }
.scr__pct { color: var(--sub); }
.scr__ment {
  margin-top: 16px; padding: 11px 13px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line-soft);
  font-family: var(--serif-ko); font-size: 12.5px; color: var(--ivory);
}

/* ===== Section 공통 ===== */
section { padding: 84px 0; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin: 14px 0 14px; }
.section-head p { color: var(--sub); font-size: 17px; }

/* ===== Value band (rich vs wealthy) ===== */
.value { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: linear-gradient(180deg, rgba(20,22,29,0.4), transparent); }
.value__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.value__card { padding: 34px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); }
.value__card .tag { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--sub-dim); }
.value__card.is-wealthy { border-color: rgba(194,163,91,0.45); box-shadow: 0 0 0 1px rgba(194,163,91,0.12) inset; }
.value__card.is-wealthy .tag { color: var(--gold); }
.value__card h3 { font-family: var(--serif-en); font-size: 30px; margin: 8px 0 12px; }
.value__card p { color: var(--sub); font-size: 15px; }

/* ===== Features ===== */
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  padding: 30px 26px; border-radius: 18px; background: var(--surface);
  border: 1px solid var(--line); transition: transform .25s, border-color .25s;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(194,163,91,0.4); }
.feature__icon {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: rgba(194,163,91,0.10); border: 1px solid rgba(194,163,91,0.25); margin-bottom: 18px;
}
.feature__icon svg { width: 26px; height: 26px; color: var(--gold); }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--sub); font-size: 14.5px; }

/* ===== Privacy band ===== */
.privacy-band { text-align: center; }
.privacy-band__icon {
  width: 64px; height: 64px; border-radius: 18px; margin: 0 auto 22px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(194,163,91,0.10); border: 1px solid rgba(194,163,91,0.28);
}
.privacy-band__icon svg { width: 32px; height: 32px; color: var(--gold); }
.privacy-band h2 { font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 16px; }
.privacy-band p { color: var(--sub); font-size: 17px; max-width: 640px; margin: 0 auto; }

/* ===== CTA ===== */
.cta { text-align: center; scroll-margin-top: 68px; }
.cta__box {
  border-radius: 28px; padding: 64px 32px; border: 1px solid var(--line);
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(194,163,91,0.12), transparent 60%),
    var(--surface);
}
.cta img { width: 76px; height: 76px; border-radius: 18px; margin: 0 auto 22px; }
.cta h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 12px; }
.cta h2 .en { font-family: var(--serif-en); font-style: italic; color: var(--gold); }
.cta p { color: var(--sub); margin-bottom: 30px; }
.cta .badges { justify-content: center; }

/* ===== Footer ===== */
footer { border-top: 1px solid var(--line-soft); padding: 48px 0 60px; }
.footer__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; }
.footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer__brand img { width: 28px; height: 28px; border-radius: 8px; }
.footer__brand span { font-family: var(--serif-en); font-size: 20px; }
.footer__slogan { color: var(--sub); font-family: var(--serif-ko); font-size: 14px; }
.footer__links { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer__links a { color: var(--sub); transition: color .2s; }
.footer__links a:hover { color: var(--gold); }
.footer__copy { width: 100%; color: var(--sub-dim); font-size: 13px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line-soft); }

/* ===== 본문 페이지(개인정보) ===== */
.doc { padding: 64px 0 90px; }
.doc__wrap { max-width: 760px; margin: 0 auto; }
.doc h1 { font-family: var(--serif-ko); font-size: 36px; margin-bottom: 8px; }
.doc .updated { color: var(--sub-dim); font-size: 14px; margin-bottom: 40px; }
.doc h2 { font-size: 21px; margin: 36px 0 12px; color: var(--ivory); }
.doc p, .doc li { color: var(--sub); font-size: 15.5px; }
.doc ul { padding-left: 20px; margin: 10px 0; }
.doc li { margin: 6px 0; }
.doc strong { color: var(--ivory); }
.doc .lead { color: var(--ivory); font-size: 17px; }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
.nav__toggle { display: none; background: none; border: 0; color: var(--ivory); cursor: pointer; }
@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__copy { text-align: center; }
  .hero__actions { align-items: center; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .features__grid { grid-template-columns: 1fr 1fr; }
  .value__grid { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .nav__links.open {
    display: flex; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--ink); border-bottom: 1px solid var(--line);
    padding: 8px 24px 18px;
  }
  .nav__links.open a { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .nav__links.open .btn { margin-top: 12px; justify-content: center; }
  .nav__toggle { display: block; }
}
@media (max-width: 560px) {
  .features__grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 48px; }
  section { padding: 64px 0; }
}
