/* ─────────────────────────────────────────────────────────────
   랜딩 페이지

   색은 전부 tokens.css 의 변수를 씁니다. 라이트만 정의하면
   다크는 prefers-color-scheme 미디어쿼리가 알아서 뒤집습니다.
   ───────────────────────────────────────────────────────────── */

.lp {
  /* 히어로 글로우가 뷰포트를 넘겨도 가로 스크롤이 생기지 않게. */
  overflow-x: hidden;
}

/* ── 첫 화면 배분 ────────────────────────────────────────
   네비 + 히어로 + 프로세스 + 지표가 뷰포트 한 칸을 채우고,
   스크롤 유도 버튼이 margin-top:auto 로 바닥에 붙습니다. */
.lp-viewport {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.lp-fold {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}


/* ── 공용 버튼 ───────────────────────────────────────────── */
.lp-btn-primary {
  display: inline-block;
  padding: 17px 46px;
  background: var(--accent);
  color: var(--accent-on);
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 14px 30px var(--accent-shadow-soft);
  transition: all .25s ease;
}

.lp-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px var(--accent-shadow);
}

.lp-btn-primary:active { transform: translateY(-1px); }

.lp-btn-outline {
  display: inline-block;
  padding: 15px 32px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  color: var(--accent);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  transition: all .25s ease;
}

.lp-btn-outline:hover {
  background: var(--accent);
  color: var(--accent-on);
  transform: translateY(-2px);
}

/* ── 히어로 ──────────────────────────────────────────────── */
.lp-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 9vw, 80px) clamp(22px, 5vw, 44px) clamp(40px, 7vw, 66px);
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, var(--bg-glow), transparent 60%);
}

/* 천천히 밝아졌다 어두워지는 배경 글로우. */
.lp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, var(--bg-glow-pulse), transparent 55%);
  animation: lp-glow 6s ease-in-out infinite;
}

.lp-hero-inner { position: relative; }

.lp-eyebrow {
  display: inline-block;
  margin-bottom: 26px;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
}

.lp-hero-title {
  margin: 0 auto;
  max-width: 640px;
  font: 600 clamp(30px, 7vw, 48px)/1.35 var(--font-serif);
  letter-spacing: -1px;
  color: var(--text);
  text-wrap: balance;
}

.lp-hero-lede {
  margin: 28px auto 0;
  max-width: 500px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-muted);
}

.lp-hero-note {
  margin: 16px auto 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-faint);
}

.lp-hero .lp-btn-primary { margin-top: 40px; }

/* ── 여섯 단계 프로세스 ──────────────────────────────────── */
.lp-process {
  padding: clamp(36px, 7vw, 50px) clamp(22px, 5vw, 44px) clamp(40px, 7vw, 60px);
  border-top: 1px solid var(--border);
}

.lp-process-title {
  margin-bottom: 26px;
  text-align: center;
  font: 600 15px var(--font-serif);
  letter-spacing: 1px;
  color: var(--accent);
}

.lp-dashline {
  height: 2px;
  max-width: 560px;
  margin: 0 auto 30px;
  opacity: .55;
  background: repeating-linear-gradient(90deg, var(--accent) 0 10px, transparent 10px 20px);
  background-size: 20px 100%;
  animation: lp-dash .9s linear infinite;
}

.lp-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-step {
  text-align: center;
  animation: lp-step 6s infinite;
}

/* 단계가 하나씩 순서대로 켜지도록 — 사이사이 연결선을 세어 위치를 잡습니다. */
.lp-steps > .lp-step:nth-child(1)  { animation-delay: 0s; }
.lp-steps > .lp-step:nth-child(3)  { animation-delay: 1s; }
.lp-steps > .lp-step:nth-child(5)  { animation-delay: 2s; }
.lp-steps > .lp-step:nth-child(7)  { animation-delay: 3s; }
.lp-steps > .lp-step:nth-child(9)  { animation-delay: 4s; }
.lp-steps > .lp-step:nth-child(11) { animation-delay: 5s; }

.lp-step-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--control-bg);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  font: 600 16px var(--font-serif);
  color: var(--accent);
}

.lp-step-name {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

/* 마지막 단계(영상)는 채워서 도착점임을 보여줍니다. */
.lp-step--final .lp-step-box {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-on);
}

.lp-step--final .lp-step-name {
  color: var(--text);
  font-weight: 700;
}

.lp-step-join {
  flex: none;
  width: 22px;
  height: 1px;
  background: var(--border-strong);
}

/* ── 누적 지표 ───────────────────────────────────────────── */
.lp-stats {
  margin-top: clamp(26px, 3.5vw, 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(18px, 4vw, 40px);
}

.lp-stat { text-align: center; }

.lp-stat-num {
  font: 700 clamp(22px, 3vw, 26px) var(--font-serif);
  color: var(--accent);
}

.lp-stat-label {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--text-faint);
}

.lp-stat-divider {
  width: 1px;
  height: 34px;
  background: var(--border-strong);
}

/* ── 스크롤 유도 ─────────────────────────────────────────── */
.lp-scroll-cue {
  margin-top: auto;
  margin-bottom: clamp(18px, 3vw, 30px);
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 6px 10px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  transition: color .2s;
}

.lp-scroll-cue:hover { color: var(--accent); }

.lp-scroll-cue-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
}

.lp-scroll-cue-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  animation: lp-bounce 1.6s ease-in-out infinite;
}

/* ── 문제 제기 ───────────────────────────────────────────── */
.lp-problem {
  padding: clamp(40px, 6vw, 60px) clamp(22px, 6vw, 60px);
  scroll-margin-top: 0;
  background: var(--bg-alt);
}

.lp-section-title {
  margin: 0 0 clamp(30px, 6vw, 48px);
  text-align: center;
  font: 600 clamp(24px, 6vw, 30px)/1.4 var(--font-serif);
  color: var(--text);
}

.lp-problem-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 600px;
  margin: 0 auto;
}

.lp-problem-item {
  display: flex;
  gap: 20px;
}

.lp-problem-num {
  flex: none;
  width: 24px;
  font: 600 22px var(--font-serif);
  color: var(--accent);
}

.lp-problem-item h3 {
  margin: 0 0 10px;
  font: 700 18px var(--font-sans);
  color: var(--text);
}

.lp-problem-item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--text-muted);
}

/* 결론 — "5~10시간을 단 30분으로" */
.lp-verdict {
  max-width: 560px;
  margin: 52px auto 0;
  padding-top: 44px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.lp-verdict-lede {
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-muted);
}

.lp-verdict-label {
  margin-bottom: 6px;
  font: 600 15px var(--font-serif);
  letter-spacing: 1px;
  color: var(--text-faint);
}

.lp-verdict-stat {
  font: 600 clamp(34px, 9vw, 44px) var(--font-serif);
  line-height: 1.1;
  color: var(--accent);
}

.lp-verdict-note {
  max-width: 420px;
  margin: 28px auto 0;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--text-muted);
}

/* ── 성과 인증 ───────────────────────────────────────────── */
.lp-proof {
  padding: clamp(44px, 8vw, 64px) clamp(22px, 5vw, 44px);
  text-align: center;
}

.lp-proof-title {
  margin: 0 0 14px;
  font: 600 26px var(--font-serif);
  color: var(--text);
}

.lp-proof-lede {
  margin: 0 0 30px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text-muted);
}

/* ── 마무리 CTA ──────────────────────────────────────────── */
.lp-cta {
  padding: clamp(48px, 8vw, 74px) clamp(22px, 5vw, 44px);
  text-align: center;
  background: radial-gradient(ellipse at 50% 100%, var(--bg-glow-strong), transparent 65%);
  border-top: 1px solid var(--border);
}

.lp-cta-title {
  margin: 0 0 20px;
  font: 600 clamp(25px, 6.5vw, 32px)/1.45 var(--font-serif);
  color: var(--text);
}

.lp-cta-lede {
  max-width: 440px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-muted);
}

.lp-cta-fine {
  margin: 14px auto 0;
  font-size: 12.5px;
  color: var(--text-faint);
}

.lp-cta .lp-btn-primary {
  margin-top: 36px;
  padding-inline: 48px;
}

/* ── 애니메이션 ──────────────────────────────────────────── */
@keyframes lp-step {
  0%, 16%   { opacity: 1;  transform: translateY(-5px) scale(1.05); }
  17%, 100% { opacity: .5; transform: translateY(0) scale(1); }
}

@keyframes lp-dash {
  to { background-position: 20px 0; }
}

@keyframes lp-glow {
  0%, 100% { opacity: .35; }
  50%      { opacity: .75; }
}

@keyframes lp-bounce {
  0%, 100% { transform: translateY(0);   opacity: .7; }
  50%      { transform: translateY(6px); opacity: 1; }
}

/* 스크롤에 맞춰 올라오며 나타나기.
   JS 가 없으면 no-js 클래스가 남아 처음부터 보이게 둡니다. */
html:not(.no-js) [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity .7s cubic-bezier(.2, .7, .2, 1),
    transform .7s cubic-bezier(.2, .7, .2, 1);
}

html:not(.no-js) [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ── 모션 최소화 선호 ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .lp-hero::before,
  .lp-dashline,
  .lp-step,
  .lp-scroll-cue-arrow {
    animation: none;
  }

  .lp-btn-primary:hover,
  .lp-btn-outline:hover {
    transform: none;
  }

  html:not(.no-js) [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
