/* GlanceTranslate — 랜딩 & 문서 공통 스타일
   미니멀 다크. 그라데이션·과장 없이 여백과 타이포로만 구성. */

:root {
  --bg:        #000000;
  --surface:   #101012;
  --surface-2: #17171a;
  --line:      rgba(255,255,255,.10);
  --text:      #f5f5f7;
  --muted:     #86868b;
  --accent:    #2997ff;
  --green:     #30d158;
  --warn:      #ff9f0a;
  --danger:    #ff453a;
  --radius:    14px;
  --wrap:      980px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Pretendard",
               "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; }

/* ── Nav ─────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0,0,0,.72);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 52px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--text); font-size: 15px; font-weight: 600; }
.brand:hover { text-decoration: none; }
.brand-icon { width: 22px; height: 22px; border-radius: 5px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--muted); font-size: 13.5px; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ── Hero ────────────────────────────────────────── */
.hero { padding: 120px 0 96px; text-align: center; }
.hero-title {
  margin: 0;
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
}
.hero-sub {
  margin: 20px 0 0;
  font-size: clamp(19px, 2.4vw, 25px);
  font-weight: 400;
  color: var(--muted);
  letter-spacing: -0.02em;
}
.hero-meta { margin: 18px 0 0; font-size: 13px; color: var(--muted); }

.btn {
  display: inline-block;
  margin-top: 34px;
  padding: 13px 30px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  transition: opacity .15s ease;
}
.btn:hover { opacity: .85; text-decoration: none; }
/* 아직 받을 수 없는 상태. 누를 수 있는 것처럼 보이면 고장으로 읽힌다. */
.btn-pending { background: #8b8b93; cursor: default; }
.btn-pending:hover { opacity: 1; }

/* ── 앱 미리보기 목업 ─────────────────────────────── */
.shot {
  max-width: 420px;
  margin: 72px auto 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.shot-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.shot-title { font-size: 13px; font-weight: 600; }
.shot-key {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px; color: var(--muted);
  border: 1px solid var(--line); border-radius: 5px; padding: 2px 7px;
}
.shot-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.panel {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
}
.panel-out { border-color: rgba(41,151,255,.28); background: rgba(41,151,255,.06); }
.panel-label { display: block; font-size: 10.5px; font-weight: 600; color: var(--muted); margin-bottom: 5px; }
.panel p { margin: 0; font-size: 14.5px; line-height: 1.5; }
.shot-foot { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--muted); padding-top: 2px; }
.dot-live { width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex: none; }

/* ── Statement ───────────────────────────────────── */
.statement { padding: 96px 0; border-top: 1px solid var(--line); }
.statement p {
  margin: 0;
  font-size: clamp(21px, 3vw, 32px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.025em;
  color: var(--muted);
  max-width: 760px;
}
.statement em { font-style: normal; color: var(--text); }

/* ── Sections ────────────────────────────────────── */
.section { padding: 96px 0; border-top: 1px solid var(--line); }
.section-alt { background: var(--surface); }
.section-title { margin: 0; font-size: clamp(28px, 4vw, 40px); font-weight: 600; letter-spacing: -0.03em; }
.section-sub { margin: 10px 0 0; color: var(--muted); font-size: 16px; }
.section-note { margin: 32px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.65; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 1px;
  margin-top: 48px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.card { background: var(--bg); padding: 28px 26px; }
.section-alt .card { background: var(--surface); }
.card h3 { margin: 0 0 9px; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.card p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.62; }
.tag {
  font-size: 10.5px; font-weight: 600; color: var(--muted);
  border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px;
  vertical-align: middle; margin-left: 4px;
}

.facts { list-style: none; padding: 0; margin: 44px 0 0; display: grid; gap: 1px;
         grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
         background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts li { background: var(--surface); padding: 24px; }
.facts strong { display: block; font-size: 15.5px; font-weight: 600; margin-bottom: 6px; }
.facts span { font-size: 13.5px; color: var(--muted); }

/* ── Pricing ─────────────────────────────────────── */
.price-wrap { text-align: center; }
.price { margin-top: 34px; font-size: clamp(46px, 7vw, 68px); font-weight: 600; letter-spacing: -0.04em; }
.price-sub { margin: 8px 0 0; color: var(--muted); font-size: 15.5px; }
.price-wrap .section-note { max-width: 460px; margin-left: auto; margin-right: auto; }

/* ── Footer ──────────────────────────────────────── */
.foot { padding: 56px 0 72px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 24px; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--text); }
.foot-biz p { margin: 4px 0; line-height: 1.75; }
.foot-copy { margin-top: 24px; color: #5a5a60; }

/* 배포 전 실제 값으로 교체해야 하는 자리 */
.fill {
  background: rgba(255,69,58,.14);
  border: 1px dashed rgba(255,69,58,.5);
  border-radius: 4px;
  padding: 0 5px;
  color: #ff9f95;
  font-size: .93em;
  white-space: nowrap;
}

/* ── 약관 / 개인정보처리방침 문서 ─────────────────── */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 24px 110px; font-size: 15.5px; line-height: 1.78; }
.doc h1 { font-size: 32px; font-weight: 600; letter-spacing: -0.03em; margin: 10px 0 4px; }
.doc h2 { font-size: 19px; font-weight: 600; margin: 40px 0 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.doc h3 { font-size: 15.5px; font-weight: 600; margin: 24px 0 6px; color: #c9cdd6; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 7px 0; }
.doc-meta { color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.doc-footer { margin-top: 52px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13.5px; }

.callout { background: rgba(48,209,88,.09); border: 1px solid rgba(48,209,88,.28);
           border-radius: 12px; padding: 16px 18px; margin: 20px 0 8px; font-size: 14.5px; }
.doc .note { color: var(--muted); font-size: 14px; }
.doc .warn { background: rgba(255,159,10,.09); border: 1px solid rgba(255,159,10,.28);
             border-radius: 12px; padding: 14px 16px; font-size: 14.5px; }
.doc-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 13.5px; display: block; overflow-x: auto; }
.doc-table th, .doc-table td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.doc-table th { background: var(--surface-2); font-weight: 600; white-space: nowrap; }
.contact { list-style: none; padding-left: 0; }
.contact li { margin: 5px 0; }

/* ── 반응형 ──────────────────────────────────────── */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 76px 0 64px; }
  .section, .statement { padding: 68px 0; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 12.5px; }
  .shot { margin-top: 52px; }
}
