@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

/* ── 토큰 ───────────────────────────────────────── */
:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --gray-1: #f5f5f5;
  --gray-2: #e8e8e8;
  --gray-3: #9e9e9e;
  --gray-4: #555555;
  --max-w: 660px;
  --gap: 88px;
}

/* ── 리셋 ───────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Pretendard', -apple-system, sans-serif;
  background: var(--white);
  color: var(--black);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── 레이아웃 ──────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

section {
  padding: var(--gap) 0;
  background: var(--white);
}

hr {
  border: none;
  border-top: 1px solid var(--gray-2);
}

/* ── 타이포그래피 ───────────────────────────────── */
h1 {
  font-size: clamp(30px, 5.5vw, 46px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
}

p {
  color: var(--gray-4);
  font-size: 15px;
  line-height: 1.85;
}

.lead {
  font-size: 17px;
  color: var(--gray-4);
  line-height: 1.8;
}

.label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-3);
  margin-bottom: 20px;
}

/* ── 헤더 ──────────────────────────────────────── */
.site-header {
  padding: 22px 0;
  border-bottom: 1px solid var(--gray-2);
}

.site-logo {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--black);
  text-decoration: none;
}

/* ── 히어로 ─────────────────────────────────────── */
.hero {
  padding: 100px 0 80px;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero .lead {
  max-width: 500px;
  margin-bottom: 48px;
}

/* ── 폼 ─────────────────────────────────────────── */
.email-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 380px;
}

.email-form input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  border: 1px solid var(--gray-2);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.15s;
  background: var(--white);
  color: var(--black);
}

.email-form input[type="email"]:focus {
  border-color: var(--black);
}

.email-form input[type="email"]::placeholder {
  color: var(--gray-3);
}

/* ── 버튼 ──────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 24px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: opacity 0.15s;
  letter-spacing: -0.01em;
}

.btn:hover {
  opacity: 0.75;
}

.btn-primary {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  width: 100%;
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border-color: var(--gray-2);
}

.btn-buy {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  width: 100%;
  font-size: 16px;
  padding: 18px 24px;
}

/* ── 피드백 ────────────────────────────────────── */
.form-note {
  font-size: 13px;
  color: var(--gray-3);
}

.form-error {
  font-size: 13px;
  color: #c0392b;
  display: none;
}

.form-error.visible {
  display: block;
}

/* ── 다운로드 섹션 ─────────────────────────────── */
.download-section {
  display: none;
}

.download-section.visible {
  display: block;
}

.download-section h2 {
  margin-bottom: 12px;
}

.download-btn-wrap {
  margin: 28px 0 48px;
}

/* ── 유튜브 embed ──────────────────────────────── */
.video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: var(--black);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}

.video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-cta {
  font-size: 14px;
  color: var(--gray-4);
}

.video-cta a {
  color: var(--black);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── 문제 제기 섹션 ────────────────────────────── */
.problem-section h2 {
  margin-bottom: 24px;
}

.problem-list {
  list-style: none;
  margin-top: 32px;
}

.problem-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-1);
  font-size: 15px;
  color: var(--gray-4);
  line-height: 1.7;
}

.problem-list li:first-child {
  border-top: 1px solid var(--gray-1);
}

.problem-list strong {
  display: block;
  color: var(--black);
  font-size: 15px;
  margin-bottom: 4px;
}

/* ── 솔루션 섹션 ───────────────────────────────── */
.solution-section h2 {
  margin-bottom: 20px;
}

.solution-section .lead {
  margin-bottom: 40px;
}

.solution-point {
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-1);
}

.solution-point:first-of-type {
  border-top: 1px solid var(--gray-1);
}

.solution-point h3 {
  margin-bottom: 6px;
}

.solution-point p {
  font-size: 14px;
}

/* ── 구성 트랙 ─────────────────────────────────── */
.package-header h2 {
  margin-bottom: 12px;
}

.package-header .lead {
  margin-bottom: 40px;
}

.track-list {
  list-style: none;
}

.track-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-1);
  font-size: 15px;
  color: var(--black);
}

.track-list li:first-child {
  border-top: 1px solid var(--gray-1);
}

.track-meta {
  font-size: 13px;
  color: var(--gray-3);
}

/* ── 비교 ──────────────────────────────────────── */
.compare {
  margin-top: 48px;
}

.compare h3 {
  margin-bottom: 24px;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.compare-grid .col-head {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-3);
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-2);
}

.compare-grid .col-head.right {
  color: var(--black);
}

.compare-grid .compare-cell {
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-1);
  font-size: 14px;
  color: var(--gray-4);
  line-height: 1.6;
  padding-right: 16px;
}

.compare-grid .compare-cell.right {
  color: var(--black);
  font-weight: 500;
  padding-right: 0;
}

/* ── 크리에이터 ────────────────────────────────── */
.creator-section h2 {
  margin-bottom: 16px;
}

.creator-section .lead {
  margin-bottom: 40px;
}

.stat-list {
  list-style: none;
}

.stat-list li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-1);
}

.stat-list li:first-child {
  border-top: 1px solid var(--gray-1);
}

.stat-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  min-width: 56px;
  padding-top: 2px;
  flex-shrink: 0;
}

.stat-desc {
  font-size: 14px;
  color: var(--gray-4);
  line-height: 1.65;
}

/* ── 가격 ──────────────────────────────────────── */
.pricing-section h2 {
  margin-bottom: 12px;
}

.pricing-section .lead {
  margin-bottom: 40px;
}

.price-block {
  margin-bottom: 32px;
}

.price-original {
  font-size: 14px;
  color: var(--gray-3);
  text-decoration: line-through;
  margin-bottom: 6px;
}

.price-launch-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  border: 1px solid var(--black);
  display: inline-block;
  padding: 3px 8px;
  margin-bottom: 12px;
}

.price-main {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.price-main .unit {
  font-size: 22px;
  font-weight: 400;
  color: var(--gray-4);
}

.price-note {
  font-size: 13px;
  color: var(--gray-3);
  margin-bottom: 32px;
}

.cta-group {
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── 정책 ──────────────────────────────────────── */
.policy-section h2 {
  margin-bottom: 32px;
}

.policy-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-1);
}

.policy-item:first-of-type {
  border-top: 1px solid var(--gray-1);
}

.policy-item h3 {
  margin-bottom: 6px;
}

.policy-item p {
  font-size: 14px;
}

/* ── 푸터 ──────────────────────────────────────── */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--gray-2);
}

.site-footer p {
  font-size: 13px;
  color: var(--gray-3);
}

.site-footer a {
  color: var(--gray-3);
}

/* ── 유틸 ──────────────────────────────────────── */
.mt-12 {
  margin-top: 12px;
}

.mt-20 {
  margin-top: 20px;
}

.mt-32 {
  margin-top: 32px;
}

.mt-48 {
  margin-top: 48px;
}

/* ── 히어로 텍스트 등장 애니메이션 ────────────────── */
@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes colorReveal {
  from {
    color: #b0b0b0;
  }

  to {
    color: var(--black);
  }
}

.hero-line1 {
  display: block;
  animation: slideUpFade 0.7s cubic-bezier(0.22, 1, 0.36, 1) both,
    colorReveal 0.9s ease both;
  animation-delay: 0.05s;
}

.hero-line2 {
  display: block;
  animation: slideUpFade 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.22s;
}

.hero-sub-anim {
  animation: slideUpFade 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.38s;
}

.hero-form-anim {
  animation: slideUpFade 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.52s;
}

/* ── 스크롤 페이드인 ─────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
}

.reveal.is-visible {
  animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* 딜레이 스태거 */
.reveal-d1 {
  animation-delay: 0.05s;
}

.reveal-d2 {
  animation-delay: 0.14s;
}

.reveal-d3 {
  animation-delay: 0.23s;
}

.reveal-d4 {
  animation-delay: 0.32s;
}

/* ── 섹션 아이템 호버 인터랙션 ─────────────────────── */
.problem-list li {
  transition: transform 0.2s ease, padding-left 0.2s ease;
  cursor: default;
}

.problem-list li:hover {
  transform: translateX(6px);
}

.solution-point {
  transition: transform 0.2s ease;
  cursor: default;
}

.solution-point:hover {
  transform: translateX(6px);
}

.stat-list li {
  transition: transform 0.2s ease;
  cursor: default;
}

.stat-list li:hover {
  transform: translateX(6px);
}

.policy-item {
  transition: transform 0.2s ease;
  cursor: default;
}

.policy-item:hover {
  transform: translateX(6px);
}

.track-list li {
  transition: transform 0.2s ease;
  cursor: default;
}

.track-list li:hover {
  transform: translateX(6px);
}

/* ── 반응형 ─────────────────────────────────────── */
@media (max-width: 520px) {
  :root {
    --gap: 60px;
  }

  h1 {
    font-size: 28px;
  }

  .compare-grid {
    grid-template-columns: 1fr;
  }

  .compare-grid .col-head:first-child,
  .compare-grid .compare-cell:not(.right) {
    display: none;
  }
}