/* Stampa 랜딩 — 브랜드 토큰(brand-guide) + 스크롤 리빌. 의존성 0. */
:root {
  --black: #050505;
  --navy: #071B34;
  --navy-2: #0A2240;
  --cyan: #12C7EA;
  --mist: #F4F7FA;
  --line: #D8E2EA;
  --text: #17253A;
  --muted: #5E6D80;
  --ink-red: #D32F20;

  --w: min(1080px, 92vw);
  --radius: 14px;
  --dur: 700ms;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
section, article { scroll-margin-top: 84px; } /* 고정 네비 가림 방지 */
html { scroll-behavior: smooth; }
body {
  font-family: 'Pretendard', 'Inter', -apple-system, 'Apple SD Gothic Neo',
    'Noto Sans KR', system-ui, sans-serif;
  background: var(--navy);
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.cyan { color: var(--cyan); }
.star { color: var(--cyan); font-weight: 900; }

/* ── 스크롤 리빌(transform/opacity 만) ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 90ms; }
.reveal.d2 { transition-delay: 180ms; }
.reveal.d3 { transition-delay: 270ms; }
.reveal.d4 { transition-delay: 360ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue, .phone, .mask-face span { animation: none !important; }
}

/* ── 네비 ── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px max(4vw, 20px);
  background: color-mix(in srgb, var(--navy) 82%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav nav { display: flex; gap: 22px; align-items: center; font-size: 14px; }
.nav nav a { opacity: 0.85; }
.nav nav a:hover { opacity: 1; color: var(--cyan); }
.nav-cta {
  border: 1px solid var(--cyan); color: var(--cyan);
  padding: 7px 14px; border-radius: 8px; font-weight: 700;
}
.nav-cta:hover { background: var(--cyan); color: var(--navy) !important; }

/* ── Hero ── */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center;
  padding: 110px 4vw 80px; text-align: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: -20%;
  background:
    radial-gradient(640px 420px at 70% 12%, rgba(18,199,234,0.16), transparent 60%),
    radial-gradient(520px 380px at 18% 78%, rgba(18,199,234,0.08), transparent 60%),
    var(--navy);
}
.hero-inner { position: relative; width: var(--w); }
.hero-eyebrow {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: clamp(10px, 1.4vw, 13px); letter-spacing: 0.22em;
  color: var(--cyan); margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(34px, 6.4vw, 72px); line-height: 1.12;
  font-weight: 900; letter-spacing: -0.02em;
}
.hero-sub { margin: 22px auto 0; max-width: 560px;
  color: rgba(255,255,255,0.72); font-size: clamp(14px, 1.8vw, 17px); }
.hero-ctas { margin-top: 30px; display: flex; gap: 12px; justify-content: center; }
.btn { padding: 13px 26px; border-radius: 10px; font-weight: 800; font-size: 15px;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--cyan); color: var(--navy);
  box-shadow: 0 8px 28px rgba(18,199,234,0.35); }
.btn-ghost { border: 1px solid rgba(255,255,255,0.28); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

/* 폰 목업 */
.phone {
  margin: 56px auto 0; width: min(300px, 74vw); aspect-ratio: 9 / 18.6;
  border-radius: 38px; border: 3px solid rgba(255,255,255,0.16);
  background: #0B0F14; position: relative; padding: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(18,199,234,0.12);
  animation: phoneFloat 7s ease-in-out infinite;
}
@keyframes phoneFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 36%; height: 18px; background: #000; border-radius: 10px; z-index: 2; }
.phone-screen { position: relative; width: 100%; height: 100%;
  border-radius: 28px; overflow: hidden;
  background: linear-gradient(160deg, #18222e 0%, #0c1219 55%, #131c26 100%); }
.vf-corner { position: absolute; width: 22px; height: 22px;
  border: 2.5px solid var(--cyan); opacity: 0.9; }
.vf-corner.tl { top: 44px; left: 14px; border-right: 0; border-bottom: 0; }
.vf-corner.tr { top: 44px; right: 14px; border-left: 0; border-bottom: 0; }
.vf-corner.bl { bottom: 118px; left: 14px; border-right: 0; border-top: 0; }
.vf-corner.br { bottom: 118px; right: 14px; border-left: 0; border-top: 0; }
.vf-center { position: absolute; inset: 0 0 90px 0; display: grid; place-items: center; }
.vf-banner { position: absolute; inset: auto 0 0 0; padding: 10px 14px 14px;
  background: rgba(0,0,0,0.62); text-align: left; }
.vf-clock { font-family: 'Pretendard', sans-serif; font-weight: 800;
  font-size: 26px; letter-spacing: 0.02em; }
.vf-meta { font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 8.5px; line-height: 1.55; color: rgba(255,255,255,0.78); margin-top: 4px; }
.scroll-cue { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 38px; border: 2px solid rgba(255,255,255,0.35); border-radius: 14px; }
.scroll-cue span { position: absolute; top: 6px; left: 50%; width: 4px; height: 8px;
  margin-left: -2px; border-radius: 2px; background: var(--cyan);
  animation: cue 1.6s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ── 기능 ── */
.features { width: var(--w); margin: 0 auto; padding: 90px 0 30px; }
.sec-title { font-size: clamp(26px, 4.2vw, 44px); font-weight: 900;
  letter-spacing: -0.02em; text-align: center; margin-bottom: 18px; }
.sec-sub { text-align: center; color: rgba(255,255,255,0.65); margin-bottom: 30px; }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 60px);
  align-items: center; padding: 56px 0; }
.feat:nth-child(odd) .feat-visual { order: -1; }
.feat-no { font-family: 'IBM Plex Mono', monospace; color: var(--cyan);
  letter-spacing: 0.2em; font-size: 13px; margin-bottom: 10px; }
.feat h3 { font-size: clamp(21px, 2.8vw, 30px); font-weight: 800; margin-bottom: 12px; }
.feat p { color: rgba(255,255,255,0.7); font-size: 15px; max-width: 46ch; }
.feat-visual { border-radius: var(--radius); min-height: 250px;
  display: grid; place-items: center; padding: 26px; position: relative; overflow: hidden; }
.card-dark { background: linear-gradient(160deg, #0d1726, #0A2240);
  border: 1px solid rgba(18,199,234,0.18); }
.card-light { background: var(--mist); border: 1px solid var(--line); color: var(--text); }

.wm-demo { font-family: 'IBM Plex Mono', monospace; width: 100%; max-width: 330px;
  background: rgba(0,0,0,0.45); padding: 18px 20px; border-radius: 10px;
  border-left: 3px solid var(--cyan); }
.wm-line { font-size: 12.5px; color: rgba(255,255,255,0.85); line-height: 1.8; }
.wm-line.big { font-family: 'Pretendard', sans-serif; font-size: 30px; font-weight: 800; }
.wm-line.dim { color: rgba(255,255,255,0.5); }
.wm-line.code { color: var(--cyan); letter-spacing: 0.08em; margin-top: 6px; }

.mask-demo { position: relative; width: 100%; height: 230px; }
.mask-face { position: absolute; width: 86px; height: 86px; border-radius: 50%;
  background: #233246; display: grid; place-items: center; font-size: 52px;
  border: 2px dashed rgba(18,199,234,0.6); }
.mask-face span { animation: maskBob 2.6s ease-in-out infinite; display: block; }
@keyframes maskBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.mask-face.f-a { left: 8%; top: 18%; }
.mask-face.f-b { right: 12%; top: 8%; }
.mask-face.f-c { left: 40%; bottom: 6%; border-color: rgba(255,255,255,0.25); }
.mask-face.f-c::after { content: '탭 = 해제'; font-size: 11px;
  color: rgba(255,255,255,0.6); font-family: 'Pretendard', sans-serif; }

.stamps-demo { min-height: 280px; }
.stamps-demo .stamp { position: absolute; filter: drop-shadow(0 6px 14px rgba(7,27,52,0.18)); }
.stamp.s1 { left: 7%; top: 16%; transform: rotate(-7deg); }
.stamp.s2 { right: 8%; top: 40%; transform: rotate(4deg); }
.stamp.s3 { left: 16%; bottom: 10%; }
.stamp.s4 { right: 22%; top: 8%; }

.dual-demo { gap: 14px; display: flex; flex-wrap: wrap; justify-content: center; }
.dual { width: 150px; aspect-ratio: 3/4; border-radius: 10px; display: grid;
  place-items: center; text-align: center; font-weight: 800; line-height: 1.5; }
.dual span { font-family: 'IBM Plex Mono', monospace; font-weight: 400;
  font-size: 10.5px; color: rgba(255,255,255,0.55); }
.dual.orig { background: #131c2a; border: 1px dashed rgba(255,255,255,0.3); }
.dual.stamped { background: #0E2A3D; border: 1.5px solid var(--cyan); }

.geo-demo { flex-direction: column; display: flex; gap: 14px; justify-content: center; }
.geo-row { background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 18px; font-size: 14.5px; font-weight: 600; display: flex;
  align-items: center; gap: 12px; }
.geo-flag { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 700;
  background: var(--navy); color: #fff; border-radius: 6px; padding: 4px 8px; }
.geo-flag.us { background: var(--cyan); color: var(--navy); }

/* ── 차별점: 후보정 vs 실시간 ── */
.how { width: var(--w); margin: 0 auto; padding: 90px 0 70px; text-align: center; }
.how .sec-title { line-height: 1.25; }
.flow-compare { display: flex; align-items: stretch; justify-content: center;
  gap: clamp(14px, 3vw, 40px); margin-top: 36px; flex-wrap: wrap; }
.flow { flex: 1 1 280px; max-width: 380px; border-radius: var(--radius);
  padding: 26px 24px; text-align: left; }
.flow-old { background: #11192600; border: 1px dashed rgba(255,255,255,0.22); }
.flow-new { background: linear-gradient(170deg, #0E2A3D, #0d1726);
  border: 1.5px solid var(--cyan); box-shadow: 0 14px 44px rgba(18,199,234,0.14); }
.flow-label { font-family: 'IBM Plex Mono', monospace; font-size: 12px;
  letter-spacing: 0.16em; color: rgba(255,255,255,0.55); margin-bottom: 16px; }
.flow-label.cyan { color: var(--cyan); }
.flow-steps { list-style: none; display: grid; gap: 12px; }
.flow-steps li { display: flex; align-items: center; gap: 12px; font-size: 15px;
  font-weight: 600; color: rgba(255,255,255,0.82); }
.flow-steps li.done { color: var(--cyan); font-weight: 800; }
.fs-no { flex: none; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-family: 'IBM Plex Mono', monospace;
  font-size: 12px; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.6); }
.fs-no.on { background: var(--cyan); color: var(--navy); font-weight: 800; }
.fs-check { flex: none; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: var(--cyan); color: var(--navy);
  font-weight: 900; font-size: 14px; }
.flow-note { margin-top: 18px; font-size: 12.5px; color: rgba(255,255,255,0.5);
  font-family: 'IBM Plex Mono', monospace; }
.flow-note.on { color: var(--cyan); }
.flow-vs { align-self: center; font-size: 30px; color: rgba(255,255,255,0.3);
  font-weight: 800; }

/* ── 두 얼굴: 표현 + 인증 ── */
.pillars { width: var(--w); margin: 0 auto; padding: 70px 0 90px; text-align: center; }
.pillar-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-top: 36px; text-align: left; }
.pillar { border-radius: var(--radius); padding: 34px 30px;
  background: #0d1726; border: 1px solid rgba(255,255,255,0.1);
  transition: transform 240ms var(--ease), border-color 240ms var(--ease); }
.pillar:hover { transform: translateY(-6px); border-color: rgba(18,199,234,0.45); }
.pillar.hot { border: 1.5px solid var(--cyan);
  background: linear-gradient(170deg, #0E2A3D, #0d1726);
  box-shadow: 0 16px 48px rgba(18,199,234,0.16); }
.pillar-tag { display: inline-block; font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; letter-spacing: 0.16em; font-weight: 700; padding: 5px 12px;
  border-radius: 20px; background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7); margin-bottom: 16px; }
.pillar-tag.cyan { background: var(--cyan); color: var(--navy); }
.pillar h3 { font-size: clamp(20px, 2.6vw, 27px); font-weight: 800; margin-bottom: 12px; }
.pillar > p { color: rgba(255,255,255,0.72); font-size: 14.5px; margin-bottom: 18px; }
.pillar-list { list-style: none; display: grid; gap: 10px; }
.pillar-list li { font-size: 13.5px; color: rgba(255,255,255,0.82);
  padding-left: 22px; position: relative; }
.pillar-list li::before { content: '✦'; position: absolute; left: 0;
  color: var(--cyan); font-size: 12px; }

/* ── 플랜 ── */
.plans { width: var(--w); margin: 0 auto; padding: 90px 0; }
.promo { display: flex; gap: 14px; align-items: center; margin: 8px auto 34px;
  max-width: 620px; background: linear-gradient(120deg, rgba(18,199,234,0.16), rgba(18,199,234,0.05));
  border: 1px solid rgba(18,199,234,0.4); border-radius: 12px; padding: 14px 18px; }
.promo-badge { font-family: 'IBM Plex Mono', monospace; font-size: 11px;
  font-weight: 700; letter-spacing: 0.14em; background: var(--cyan);
  color: var(--navy); border-radius: 6px; padding: 4px 8px; flex: none; }
.promo h4 { font-size: 15px; }
.promo p { font-size: 12.5px; color: rgba(255,255,255,0.65); }
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan { background: #0d1726; border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 26px 22px;
  transition: transform 220ms var(--ease), border-color 220ms var(--ease); }
.plan:hover { transform: translateY(-6px); border-color: rgba(18,199,234,0.5); }
.plan.hot { border: 1.5px solid var(--cyan);
  background: linear-gradient(170deg, #0E2A3D, #0d1726);
  box-shadow: 0 14px 44px rgba(18,199,234,0.16); }
.plan-name { font-weight: 900; font-size: 19px; }
.plan-tag { color: rgba(255,255,255,0.55); font-size: 12.5px; margin-top: 2px; }
.plan-price { font-family: 'IBM Plex Mono', monospace; color: var(--cyan);
  margin: 14px 0 16px; font-size: 14px; }
.plan ul { list-style: none; display: grid; gap: 9px; }
.plan li { font-size: 13.5px; color: rgba(255,255,255,0.8);
  padding-left: 22px; position: relative; }
.plan li::before { content: '✓'; position: absolute; left: 0; color: var(--cyan);
  font-weight: 800; }

/* ── 팩 스토어 ── */
.packs { background: var(--mist); color: var(--text); padding: 90px 0; }
.packs .sec-title { color: var(--navy); }
.packs .sec-sub { color: var(--muted); }
.pack-grid { width: var(--w); margin: 0 auto; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px;
  max-width: 840px; }
.pack { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: grid; gap: 12px; justify-items: start;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease); }
.pack:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(7,27,52,0.12); }
.pack img { width: 86px; height: 86px; object-fit: contain; }
.pack h4 { font-size: 17px; color: var(--navy); }
.pack p { font-size: 13px; color: var(--muted); }
.pack-size { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--muted); }
.pack-cta { border: 1.5px solid var(--cyan); color: #0b8fae; border-radius: 8px;
  padding: 8px 14px; font-weight: 800; font-size: 13px; }
.pack-cta:hover { background: var(--cyan); color: var(--navy); }

/* ── 다운로드 ── */
.get { text-align: center; padding: 110px 4vw; background:
  radial-gradient(600px 380px at 50% 0%, rgba(18,199,234,0.14), transparent 65%), var(--navy); }
.get-icon { margin: 0 auto 22px; border-radius: 20px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.4); }
.store-badges { display: flex; gap: 14px; justify-content: center; margin-top: 28px; }
.badge { border: 1.5px solid rgba(255,255,255,0.35); border-radius: 12px;
  padding: 14px 30px; font-weight: 800; }
.badge:hover { border-color: var(--cyan); color: var(--cyan); }
.badge.off { opacity: 0.45; pointer-events: none; }
.get-note { margin-top: 16px; color: rgba(255,255,255,0.5); font-size: 13px; }

/* ── footer ── */
.footer { border-top: 1px solid rgba(255,255,255,0.08); padding: 34px 4vw;
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center;
  justify-content: space-between; color: rgba(255,255,255,0.55); font-size: 13px; }
.footer nav { display: flex; gap: 18px; }
.footer a:hover { color: var(--cyan); }

/* ── 반응형 ── */
@media (max-width: 880px) {
  .feat { grid-template-columns: 1fr; padding: 40px 0; }
  .feat:nth-child(odd) .feat-visual { order: 0; }
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar-grid { grid-template-columns: 1fr; }
  .flow-vs { transform: rotate(90deg); }
}
@media (max-width: 560px) {
  .nav nav a:not(.nav-cta) { display: none; }
  .plan-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: center; }
}
