/* ==========================================================
   영단컷(WordCut) 소개 홈페이지 — v3 (2026-09-19)
   원칙: 큼직하고 굵게 · 한 섹션에 한 메시지 · 색은 네이비/블루/흰색
   흐름: 약속 → 근거 → 문제·해결 → 학습 방법 → 제안 → 망설임 해소 → 가입
   색상 기준: docs/BRAND_GUIDE.md
   ========================================================== */

:root {
  --navy: #081835;
  --navy-2: #13254A;
  --blue: #005CFB;
  --blue-deep: #0047C4;
  --sky: #8FB8FF;
  --ice: #EEF4FF;
  --gray: #F5F7FB;
  --line: #E4E9F2;
  --text: #25304A;
  --muted: #7A849A;
  --white: #FFFFFF;

  --max: 1180px;
  --header-h: 96px;
  --r: 28px;
  --shadow-phone: 0 40px 90px rgba(8, 24, 53, .22);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

.inner { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sec { padding: 150px 0; }
.eyebrow { font-size: 20px; font-weight: 900; color: var(--blue); }
.sec-title {
  margin-top: 14px;
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 900; line-height: 1.15; letter-spacing: -.05em;
  color: var(--navy);
}
.sec-title em { font-style: normal; color: var(--blue); }
.sec-desc { margin-top: 22px; font-size: clamp(19px, 2vw, 24px); font-weight: 700; color: var(--muted); }
.center { text-align: center; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 72px; padding: 0 48px; border-radius: 999px;
  font-size: 22px; font-weight: 900;
  background: var(--blue); color: var(--white);
  box-shadow: 0 14px 30px rgba(0, 92, 251, .28);
  transition: background .2s, transform .2s var(--ease);
}
.btn:hover { background: var(--blue-deep); transform: translateY(-3px); }
.btn.ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 3px var(--navy); }
.btn.ghost:hover { background: var(--navy); color: var(--white); }
.btn.white { background: var(--white); color: var(--blue); box-shadow: 0 14px 30px rgba(0, 0, 0, .18); }
.btn.white:hover { background: var(--ice); }

/* 제안 배지 */
.offer {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px;
  background: var(--navy); color: var(--white);
  font-size: 18px; font-weight: 900;
}
.offer i { font-style: normal; color: var(--sky); }
.trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 24px; font-size: 18px; font-weight: 800; color: var(--muted); }
.trust span::before { content: "✓ "; color: var(--blue); font-weight: 900; }

/* ---------- 헤더 ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); transition: background .2s, box-shadow .2s; }
.header.scrolled { background: rgba(255, 255, 255, .95); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(8px); }
.header .inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo img { height: 64px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 18px; font-weight: 800; color: var(--navy); }
.nav a { white-space: nowrap; }
@media (max-width: 1240px) { .nav { gap: 22px; font-size: 17px; } .nav .nav-sub { display: none; } }
@media (max-width: 1024px) { .nav { gap: 16px; font-size: 16px; } }
.nav a:hover { color: var(--blue); }
.nav .nav-cta { padding: 12px 24px; border-radius: 999px; background: var(--blue); color: var(--white); }
.nav .nav-cta:hover { background: var(--blue-deep); color: var(--white); }

/* ---------- 휴대폰 틀 (실제 앱 화면) ---------- */
.phone {
  position: relative; width: 390px; flex: none;
  padding: 18px; border-radius: 60px; background: var(--navy);
  box-shadow: var(--shadow-phone);
}
.phone img { width: 100%; border-radius: 44px; aspect-ratio: 600 / 1283; object-fit: cover; object-position: top; }
.phone .caption {
  position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%);
  padding: 12px 22px; border-radius: 999px; white-space: nowrap;
  background: var(--blue); color: var(--white);
  font-size: 17px; font-weight: 900;
  box-shadow: 0 12px 26px rgba(0, 92, 251, .3);
}

/* ---------- 1. 첫 화면 ---------- */
.hero { padding: calc(var(--header-h) + 80px) 0 130px; background: linear-gradient(180deg, var(--ice), var(--white)); overflow: hidden; }
.hero .inner { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.hero h1 {
  margin-top: 28px;
  font-size: clamp(58px, 9vw, 124px);
  font-weight: 900; line-height: 1.06; letter-spacing: -.06em;
  color: var(--navy);
}
.hero h1 em { font-style: normal; color: var(--blue); }
.hero .lead { margin-top: 30px; font-size: clamp(21px, 2.3vw, 29px); font-weight: 800; line-height: 1.45; color: var(--text); }
.hero .btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }

/* ---------- 2. 근거 숫자 ---------- */
.proof { padding: 100px 0; background: var(--navy); color: var(--white); }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .14); }
.stat .num {
  font-size: clamp(44px, 5.2vw, 72px); font-weight: 900; line-height: 1;
  letter-spacing: -.05em; font-variant-numeric: tabular-nums;
}
.stat .num small { font-size: .42em; margin-left: 4px; letter-spacing: 0; }
.stat .label { margin-top: 16px; font-size: 20px; font-weight: 800; color: var(--sky); }
.proof .basis { margin-top: 44px; text-align: center; font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .5); }

/* ---------- 3. 문제 vs 해결 ---------- */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 80px; }
.vs-card { padding: 54px 48px; border-radius: var(--r); }
.vs-card.old { background: var(--gray); }
.vs-card.new { background: var(--blue); color: var(--white); }
.vs-card .who { font-size: 20px; font-weight: 900; color: var(--muted); }
.vs-card.new .who { color: var(--sky); }
.vs-card h3 { margin-top: 10px; font-size: clamp(30px, 3.4vw, 44px); font-weight: 900; letter-spacing: -.04em; line-height: 1.2; }
.vs-card.old h3 { color: var(--navy); }
.vs-card ul { margin-top: 34px; display: flex; flex-direction: column; gap: 20px; }
.vs-card li { display: flex; gap: 14px; font-size: clamp(18px, 1.8vw, 22px); font-weight: 800; line-height: 1.45; }
.vs-card li::before { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; font-weight: 900; }
.vs-card.old li { color: var(--muted); }
.vs-card.old li::before { content: "✕"; background: #E1E6EF; color: var(--muted); }
.vs-card.new li::before { content: "✓"; background: var(--white); color: var(--blue); }

/* ---------- 4. 학습 방법 ---------- */
.method-sec { background: var(--gray); }
.steps-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 50px; }
.steps-nav a {
  padding: 14px 26px; border-radius: 999px;
  background: var(--white); color: var(--navy);
  font-size: 19px; font-weight: 900;
  box-shadow: inset 0 0 0 2px var(--line);
  transition: background .2s, color .2s;
}
.steps-nav a b { color: var(--blue); margin-right: 6px; }
.steps-nav a:hover { background: var(--navy); color: var(--white); }
.method-list { margin-top: 120px; display: flex; flex-direction: column; gap: 170px; }
.method { display: flex; align-items: center; justify-content: center; gap: 110px; }
.method:nth-child(even) { flex-direction: row-reverse; }
.method-text { max-width: 540px; }
.method .no {
  display: inline-block; padding: 8px 18px; border-radius: 999px;
  background: var(--navy); color: var(--white);
  font-size: 18px; font-weight: 900;
}
.method h3 {
  margin-top: 22px;
  font-size: clamp(40px, 4.8vw, 62px); font-weight: 900; line-height: 1.15;
  letter-spacing: -.05em; color: var(--navy);
}
.method h3 em { font-style: normal; color: var(--blue); }
.method .summary { margin-top: 20px; font-size: clamp(19px, 1.9vw, 23px); font-weight: 700; color: var(--muted); }
.method ul { margin-top: 36px; display: flex; flex-direction: column; gap: 18px; }
.method li {
  position: relative; padding-left: 42px;
  font-size: clamp(18px, 1.8vw, 21px); font-weight: 800; color: var(--navy); line-height: 1.5;
}
.method li::before {
  content: ""; position: absolute; left: 0; top: .2em;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.method li b { color: var(--blue); }
.schedule { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.schedule span { padding: 10px 16px; border-radius: 14px; background: var(--white); color: var(--blue); font-size: 18px; font-weight: 900; box-shadow: inset 0 0 0 2px var(--line); }
.schedule span:first-child { background: var(--blue); color: var(--white); box-shadow: none; }
.schedule span:last-child { background: var(--navy); color: var(--white); box-shadow: none; }

/* ---------- 5. 중간 가입 띠 ---------- */
.band { padding: 90px 0; background: var(--blue); color: var(--white); }
.band .inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.band h2 { font-size: clamp(32px, 4.2vw, 54px); font-weight: 900; line-height: 1.2; letter-spacing: -.05em; }
.band p { margin-top: 10px; font-size: 20px; font-weight: 800; color: rgba(255, 255, 255, .8); }

/* ---------- 6. 제안 (요금) ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 80px; }
.plan { display: flex; flex-direction: column; padding: 48px 40px; border-radius: var(--r); background: var(--gray); }
.plan.best { background: var(--navy); color: var(--white); position: relative; }
.plan .tag { font-size: 18px; font-weight: 900; color: var(--blue); }
.plan.best .tag { color: var(--sky); }
.plan h3 { margin-top: 10px; font-size: 30px; font-weight: 900; letter-spacing: -.03em; }
.plan .price { margin-top: 18px; font-size: 64px; font-weight: 900; line-height: 1; letter-spacing: -.05em; }
.plan .price small { font-size: 22px; font-weight: 800; letter-spacing: 0; }
.plan ul { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.plan li { font-size: 19px; font-weight: 700; }
.plan li::before { content: "✓  "; font-weight: 900; color: var(--blue); }
.plan.best li::before { color: var(--sky); }
.plan .ribbon {
  position: absolute; top: -18px; right: 32px;
  padding: 8px 18px; border-radius: 999px;
  background: var(--blue); color: var(--white); font-size: 16px; font-weight: 900;
}
.plans-note { margin-top: 36px; text-align: center; font-size: 17px; font-weight: 700; color: var(--muted); }

/* ---------- 7. 자주 묻는 질문 ---------- */
.faq { background: var(--gray); }
.faq-list { max-width: 900px; margin: 70px auto 0; border-top: 3px solid var(--navy); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 34px 4px; font-size: clamp(20px, 2.1vw, 25px); font-weight: 900; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 40px; font-weight: 300; color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 4px 34px; font-size: 19px; font-weight: 600; line-height: 1.7; color: var(--muted); }

/* ---------- 8. 마지막 가입 ---------- */
.final { padding: 160px 0; background: var(--navy); color: var(--white); text-align: center; }
.final h2 { font-size: clamp(52px, 8vw, 112px); font-weight: 900; line-height: 1.06; letter-spacing: -.06em; }
.final h2 em { font-style: normal; color: var(--sky); }
.final p { margin-top: 26px; font-size: clamp(20px, 2.2vw, 26px); font-weight: 800; color: rgba(255, 255, 255, .8); }
.final .btn { margin-top: 50px; }
.final .trust { justify-content: center; color: rgba(255, 255, 255, .7); }
.final .trust span::before { color: var(--sky); }
.final .soon { margin-top: 18px; font-size: 16px; font-weight: 700; color: rgba(255, 255, 255, .5); }

/* ---------- 푸터 ---------- */
.footer { padding: 50px 0; background: #050F24; color: rgba(255, 255, 255, .55); font-size: 15px; font-weight: 600; }
.footer .inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 26px; font-weight: 800; color: var(--white); }

/* ---------- 모바일 하단 고정 버튼 ---------- */
.sticky-cta {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
  display: none; height: 64px; border-radius: 999px;
  align-items: center; justify-content: center;
  background: var(--blue); color: var(--white); font-size: 20px; font-weight: 900;
  box-shadow: 0 12px 30px rgba(0, 92, 251, .35);
  transform: translateY(140%); transition: transform .3s var(--ease);
}
.sticky-cta.show { transform: none; }

/* ---------- 나타나기 효과 ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ========== 반응형 ========== */
@media (max-width: 1024px) {
  .hero .inner { flex-direction: column; text-align: center; }
  .hero .btns, .hero .trust { justify-content: center; }
  .method, .method:nth-child(even) { flex-direction: column; gap: 60px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
  .stat:nth-child(3) { border-left: 0; }
  .versus { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; row-gap: 40px; }
  .band .inner { flex-direction: column; text-align: center; }
}
@media (max-width: 760px) {
  :root { --header-h: 74px; }
  .inner { padding: 0 20px; }
  .sec { padding: 100px 0; }
  .logo img { height: 46px; }
  .nav a:not(.nav-cta) { display: none; }
  .nav .nav-cta { padding: 10px 18px; font-size: 16px; }
  .hero { padding: calc(var(--header-h) + 44px) 0 100px; }
  .hero .btns { flex-direction: column; }
  .offer { font-size: 15px; padding: 10px 16px; }
  .trust { gap: 14px; font-size: 16px; }
  .btn { height: 64px; font-size: 20px; padding: 0 34px; }
  .phone { width: 300px; padding: 14px; border-radius: 50px; }
  .phone img { border-radius: 38px; }
  .phone .caption { font-size: 15px; padding: 10px 18px; }
  .proof { padding: 80px 0; }
  .stat .num { font-size: 40px; }
  .stat .label { font-size: 17px; }
  .vs-card { padding: 40px 28px; }
  .steps-nav a { padding: 12px 18px; font-size: 16px; }
  .method-list { margin-top: 80px; gap: 120px; }
  .method ul { margin-top: 28px; }
  .band { padding: 70px 0; }
  .plan { padding: 40px 30px; }
  .plan .price { font-size: 54px; }
  .final { padding: 110px 0; }
  .sticky-cta { display: flex; }
  .footer { padding-bottom: 110px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
