/* ─────────────────────────────────────────────
   트래픽 충전소 · 클린 미니멀(애플풍) / 모바일 우선
   ───────────────────────────────────────────── */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --text-3: #86868b;
  --line: #d2d2d7;
  --line-soft: #e8e8ed;
  --accent: #e0392b;
  --accent-press: #c12c20;
  --dark: #1d1d1f;
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1080px;
  --nav-h: 52px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }

body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    system-ui, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
s { color: var(--text-3); }
.accent { color: var(--accent); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.container--narrow { max-width: 760px; }
.br-pc { display: none; }

/* ───────── 공통 타이포 ───────── */
.eyebrow {
  font-size: 14px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--accent); margin-bottom: 12px;
}
.section { padding: clamp(72px, 12vw, 128px) 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto clamp(40px, 6vw, 64px); }
.section__title {
  font-size: clamp(28px, 5.2vw, 48px); font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.1;
}
.section__sub { margin-top: 16px; font-size: clamp(16px, 2.2vw, 19px); color: var(--text-2); }

/* ───────── 버튼 ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; font-weight: 600; font-size: 17px; line-height: 1;
  padding: 14px 26px; border-radius: 980px; border: 1px solid transparent;
  cursor: pointer; transition: background .2s, color .2s, opacity .2s, transform .1s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn--sm { font-size: 15px; padding: 9px 18px; }
.btn--block { display: flex; width: 100%; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-press); }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--light { background: #fff; color: var(--dark); }
.btn--light:hover { background: #e8e8ed; }
.btn--text { background: none; color: var(--accent); padding: 14px 8px; }
.btn--text:hover { text-decoration: underline; }

/* 카톡 CTA "준비 중" 회색 처리 (script.js 의 KAKAO_URL 입력 시 자동 해제) */
.btn.is-pending {
  background: #e3e3e8 !important; color: #9a9aa0 !important;
  border-color: transparent !important; cursor: not-allowed; pointer-events: none;
}
.btn.is-pending::after { content: " · 준비 중"; font-weight: 500; font-size: .9em; }
.btn--text.is-pending { background: none !important; }

/* ───────── 헤더 / 네비 ───────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent; transition: border-color .25s;
}
.nav.scrolled { border-bottom-color: var(--line-soft); }
.nav__inner {
  max-width: var(--maxw); height: 100%; margin: 0 auto; padding: 0 22px;
  display: flex; align-items: center; gap: 18px;
}
.nav__brand { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.nav__links { display: none; margin-left: auto; gap: 28px; }
.nav__links a { font-size: 15px; color: var(--text); opacity: .85; transition: opacity .2s; }
.nav__links a:hover { opacity: 1; }
.nav .btn { margin-left: auto; }
.nav__links + .btn { margin-left: 4px; }

/* 모바일 햄버거 */
.nav__toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; margin-left: 2px; padding: 0 9px;
  background: none; border: none; cursor: pointer;
}
.nav__toggle span { display: block; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* 모바일 드롭다운 */
.nav__links.open {
  display: flex; flex-direction: column; gap: 0;
  position: fixed; top: var(--nav-h); left: 0; right: 0; margin: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line-soft); padding: 8px 22px 16px;
}
.nav__links.open a { font-size: 18px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.nav__links.open a:last-child { border-bottom: none; }

/* ───────── 히어로 ───────── */
.hero {
  padding: calc(var(--nav-h) + clamp(56px, 13vw, 130px)) 0 clamp(56px, 11vw, 110px);
  text-align: center;
}
.hero__title {
  font-size: clamp(38px, 9vw, 80px); font-weight: 700;
  letter-spacing: -0.035em; line-height: 1.05; margin-bottom: 22px;
}
.hero__sub { font-size: clamp(17px, 2.6vw, 21px); color: var(--text-2); margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; }
.hero__pills {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center; margin-top: 36px;
}
.hero__pills li {
  font-size: 14px; color: var(--text-2);
  padding: 7px 16px; border: 1px solid var(--line); border-radius: 980px;
}

/* ───────── 안전성 비교 ───────── */
.eyebrow--warn { color: #c12c20; }
.compare { display: grid; gap: 18px; grid-template-columns: 1fr; }
.compare__card { border-radius: var(--radius); padding: 26px 28px 30px; border: 1px solid var(--line-soft); }
.compare__card--danger { background: #fdf1ef; border-color: #f1c4be; border-top: 5px solid #e0392b; box-shadow: 0 6px 22px rgba(224,57,43,0.08); }
.compare__card--safe { background: #eff8f2; border-color: #bfe2ca; border-top: 5px solid #1f9d4d; box-shadow: 0 6px 22px rgba(31,157,77,0.10); }
.compare__tag {
  display: inline-block; font-size: 13px; font-weight: 700;
  padding: 5px 13px; border-radius: 980px; margin-bottom: 16px;
}
.compare__card--danger .compare__tag { background: #f6d6d2; color: #b32d20; }
.compare__card--safe .compare__tag { background: #cdead6; color: #1f7a3d; }
.compare__title { font-size: 23px; font-weight: 800; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 2px solid; letter-spacing: -0.02em; }
.compare__card--danger .compare__title { color: #c12c20; }
.compare__card--safe .compare__title { color: #1f7a3d; }
.compare__card ul { list-style: none; display: grid; gap: 13px; }
.compare__card li { position: relative; padding-left: 28px; font-size: 15.5px; line-height: 1.5; }
.compare__card--danger li::before { content: "✕"; position: absolute; left: 0; top: 0; color: #fff; background: #e0392b; width: 19px; height: 19px; border-radius: 50%; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.compare__card--safe li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #fff; background: #1f9d4d; width: 19px; height: 19px; border-radius: 50%; font-size: 12px; font-weight: 700; display: grid; place-items: center; }

/* 키워드 형광 강조 */
.hl { font-weight: 700; border-radius: 5px; padding: 1px 6px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hl--danger { background: #f7d2cc; color: #a82619; }
.hl--safe { background: #c6ead1; color: #18743a; }

.compare__punch {
  text-align: center; margin-top: 34px; line-height: 1.45;
  font-size: clamp(20px, 3.2vw, 27px); font-weight: 700; letter-spacing: -0.02em;
}

/* ───────── 구매절차 ───────── */
.steps { display: grid; gap: 22px; grid-template-columns: 1fr; }
.step {
  background: var(--bg); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 32px 28px;
}
.section--alt .step { background: #fff; }
.step__num { font-size: 40px; font-weight: 700; color: var(--accent); letter-spacing: -0.02em; }
.step__title { font-size: 22px; font-weight: 700; margin: 8px 0 10px; }
.step__desc { color: var(--text-2); font-size: 16px; }
.step__box {
  margin-top: 20px; background: var(--bg-alt); border-radius: var(--radius-sm);
  padding: 20px 22px;
}
.section--alt .step__box { background: var(--bg-alt); }
.step__box-label { font-weight: 700; font-size: 15px; margin-bottom: 12px; }
.step__box ul { list-style: none; display: grid; gap: 9px; }
.step__box li { position: relative; padding-left: 18px; font-size: 15px; color: var(--text-2); }
.step__box li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.step__note { margin-top: 14px; font-size: 14px; color: var(--text-3); }

/* ───────── 채널 없어도 OK 안내 카드 ───────── */
.callout {
  margin-top: clamp(28px, 5vw, 44px); text-align: center;
  background: #fff; border: 1px solid var(--line-soft);
  border-top: 4px solid var(--accent); border-radius: var(--radius);
  padding: clamp(28px, 5vw, 44px);
}
.callout .eyebrow { margin-bottom: 10px; }
.callout__title { font-size: clamp(21px, 3.6vw, 30px); font-weight: 700; letter-spacing: -0.02em; }
.callout__text { color: var(--text-2); font-size: clamp(15px, 2.2vw, 18px); margin: 12px auto 0; max-width: 560px; }
.callout__steps { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 22px 0 24px; }
.callout__steps span {
  font-size: 14px; font-weight: 600; color: var(--text);
  background: var(--bg-alt); border: 1px solid var(--line-soft);
  border-radius: 980px; padding: 8px 16px;
}

/* ───────── 판매가격 ───────── */
.pricing { display: grid; gap: 18px; grid-template-columns: 1fr; }
.pricing.pricing--single { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
.plan {
  position: relative; background: #fff; border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column;
}
.plan--featured { border-color: var(--accent); box-shadow: 0 8px 30px rgba(224,57,43,0.10); }
.plan__badge {
  position: absolute; top: -12px; left: 24px;
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 700;
  padding: 5px 12px; border-radius: 980px; letter-spacing: 0.02em;
}
.plan__badge--muted { background: var(--dark); }
.plan__name { font-size: 20px; font-weight: 700; }
.plan__tag { font-size: 13px; font-weight: 600; color: var(--accent); margin-left: 4px; }
.plan__desc { color: var(--text-2); font-size: 15px; margin: 8px 0 18px; flex: 1; }
.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.plan__price s { font-size: 16px; }
.plan__price strong { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.plan__plus { font-size: 15px; color: var(--text-2); font-weight: 600; }
.plan--wide { flex-direction: column; gap: 18px; }
.pricing__note {
  text-align: center; margin-top: 28px; font-size: 15px; color: var(--text-2);
}

/* ───────── 혜택 / 성공요인 ───────── */
.benefits { display: grid; gap: 18px; grid-template-columns: 1fr; }
.benefit {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 28px 24px;
}
.section--alt .benefit { background: #fff; }
.benefit__num { font-size: 15px; font-weight: 700; color: var(--accent); }
.benefit h3 { font-size: 19px; font-weight: 700; margin: 6px 0 8px; }
.benefit p { color: var(--text-2); font-size: 15px; }

/* ───────── 가이드 영상 게시판 ───────── */
.guide-group { margin-bottom: clamp(40px, 6vw, 60px); }
.guide-group:last-child { margin-bottom: 0; }
.guide-group__title { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.guide-group__desc { color: var(--text-2); font-size: 16px; margin: 6px 0 22px; }
.guide-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.guide-card { display: flex; flex-direction: column; }
.guide-thumb {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-sm);
  background: repeating-linear-gradient(135deg, #ebebef, #ebebef 12px, #e4e4ea 12px, #e4e4ea 24px);
  border: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: center;
  /* 회색 처리: 영상 미제작 상태 */
  filter: grayscale(1); opacity: 0.85;
}
.guide-thumb::after {
  content: "준비 중"; position: absolute; top: 10px; right: 10px;
  font-size: 11px; font-weight: 700; color: #fff; background: rgba(60,60,67,0.55);
  padding: 4px 9px; border-radius: 980px;
}
.guide-thumb__play {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.85); display: block; position: relative;
}
.guide-thumb__play::before {
  content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%,-50%);
  border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #9a9aa0;
}
.guide-card__title { font-size: 16px; font-weight: 600; margin-top: 14px; }
/* 각주: 회색 처리 */
.guide-card__note { margin-top: 6px; font-size: 13px; color: var(--text-3); }

/* ───────── 성과 스크린샷 자리 ───────── */
.proof__label { font-size: 18px; font-weight: 700; margin: 36px 0 18px; }
.proof__label:first-of-type { margin-top: 0; }
.shot-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.shot {
  aspect-ratio: 16 / 10; border-radius: var(--radius-sm);
  border: 1.5px dashed var(--line); background: #fff;
  display: flex; align-items: center; justify-content: center;
  /* 실제 캡처는 background-image 로 교체: background:url('assets/xxx.png') center/cover; border:none; */
}
.shot--mobile { aspect-ratio: 3 / 4; }
.shot figcaption { font-size: 13px; color: var(--text-3); padding: 0 16px; text-align: center; }

/* ───────── FAQ ───────── */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line-soft); }
.faq__item { border-bottom: 1px solid var(--line-soft); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 2px; position: relative;
  font-size: 17px; font-weight: 600;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-weight: 400; color: var(--text-3); transition: transform .25s;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__body { padding: 0 40px 22px 2px; }
.faq__body p { color: var(--text-2); font-size: 16px; }

/* ───────── 전자책 ───────── */
.ebook {
  display: grid; gap: 32px; align-items: center; grid-template-columns: 1fr;
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: clamp(28px, 5vw, 48px);
}
.ebook__cover {
  aspect-ratio: 3 / 4; max-width: 220px; border-radius: var(--radius-sm);
  background: linear-gradient(150deg, #2b2b30, #1d1d1f);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: #fff; font-weight: 700; font-size: 20px; line-height: 1.35;
  box-shadow: 0 14px 36px rgba(0,0,0,0.18);
}
.ebook__cover span { padding: 0 16px; border-left: 3px solid var(--accent); padding-left: 16px; }
.ebook__text .btn { margin-top: 22px; }

/* ───────── 최종 CTA (다크) ───────── */
.cta-final { background: var(--dark); color: #fff; padding: clamp(64px, 11vw, 112px) 0; text-align: center; }
.cta-final h2 { font-size: clamp(28px, 5vw, 44px); font-weight: 700; letter-spacing: -0.025em; }
.cta-final p { color: #b0b0b6; font-size: clamp(16px, 2.2vw, 19px); margin: 14px 0 30px; }

/* ───────── 푸터 ───────── */
.footer { background: var(--bg-alt); padding: 48px 0 56px; font-size: 14px; color: var(--text-2); }
.footer__top { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; padding-bottom: 22px; border-bottom: 1px solid var(--line-soft); }
.footer__brand { font-size: 18px; font-weight: 700; color: var(--text); }
.footer__links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__links a:hover { color: var(--text); }
.footer__notes { padding: 22px 0; display: grid; gap: 6px; color: var(--text-3); font-size: 13px; }
.footer__copy { color: var(--text-3); font-size: 13px; }

/* ───────── 스크롤 등장 애니메이션 ───────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ───────── 반응형: 태블릿 ───────── */
@media (min-width: 700px) {
  .br-pc { display: inline; }
  .compare { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .pricing { grid-template-columns: repeat(2, 1fr); }
  .plan--wide { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
  .plan--wide .btn { width: auto; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .benefits--3 { grid-template-columns: repeat(3, 1fr); }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .shot-grid { grid-template-columns: repeat(3, 1fr); }
  .ebook { grid-template-columns: 220px 1fr; }
}

/* ───────── 반응형: 데스크톱 ───────── */
@media (min-width: 960px) {
  .nav__links { display: flex; }
  .nav__toggle { display: none; }
  .nav .btn { margin-left: 0; }
  .benefits { grid-template-columns: repeat(4, 1fr); }
  .guide-grid { grid-template-columns: repeat(3, 1fr); }
}

/* 모션 최소화 선호 사용자 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
