/* ==========================================================================
   모두펫 랜딩 페이지 (Figma: 동물등록신청)
   ========================================================================== */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');

:root {
  --navy: #144196;
  --navy-dark: #0f3273;
  --g900: #191F28;
  --g600: #6B7684;
  --g400: #8b95a1;
  --line: #eef1f5;
  --blue50: #E8F3FF;
  --blue600: #2272EB;
  --yellow: #FAA131;
  --yellow50: #FFF9E7;
  --green: #02A262;
  --green50: #E6FAF2;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: 'Pretendard Variable', Pretendard, -apple-system, 'Malgun Gothic', sans-serif;
  color: var(--g900);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  letter-spacing: -0.02em;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; width: 100%; }

/* 버튼 */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  height: 64px; padding: 0 36px; border: 0; cursor: pointer;
  background: var(--navy); color: #fff; border-radius: 100px;
  font-size: 18px; font-weight: 700; letter-spacing: -0.03em;
  box-shadow: 0 12px 16px rgba(20,65,150,0.16); transition: background .15s;
}
.btn-primary:hover { background: var(--navy-dark); }
.btn-primary.small { height: 44px; padding: 0 24px; font-size: 15px; box-shadow: none; }

/* ── 헤더 ───────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: 90px; display: flex; align-items: center;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.site-header .logo img { height: 30px; width: auto; }
.gnb { display: flex; gap: 44px; }
.gnb a { font-size: 17px; font-weight: 600; color: var(--g900); }
.gnb a:hover { color: var(--navy); }

/* ── 히어로 ─────────────────────────────── */
.hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--blue50) 100%);
  padding: 120px 0 100px;
}
.hero .inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.hero-copy { display: flex; flex-direction: column; gap: 40px; }
.hero-copy h1 { margin: 0; font-size: 60px; font-weight: 700; line-height: 1.5; letter-spacing: -0.025em; }
.hero-copy h1 .accent { color: var(--navy); }
.hero-copy .sub { margin: 0; font-size: 24px; font-weight: 600; color: var(--g600); letter-spacing: -0.025em; }
.hero-mockup { flex: 0 0 auto; width: 364px; }

/* ── 공통 섹션 타이틀 ─────────────────────── */
.section { padding: 100px 0; }
.section.tint { background: #f8fafc; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 { margin: 0; font-size: 44px; font-weight: 700; letter-spacing: -0.03em; }
.section-head p { margin: 16px 0 0; font-size: 20px; color: var(--g600); font-weight: 500; }

/* ── 비교 (무엇이 달라졌을까요) ───────────── */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; }
.compare-card { border-radius: 24px; padding: 40px; min-height: 387px; }
.compare-card.old { background: #f1f3f6; }
.compare-card.new { background: #fff; border: 2px solid var(--navy); box-shadow: 0 20px 40px rgba(20,65,150,0.10); }
.compare-card .cc-head { margin-bottom: 24px; }
.compare-card .cc-name { font-size: 22px; font-weight: 700; }
.compare-card.old .cc-name { color: var(--g600); }
.compare-card .cc-badge { display: inline-block; margin-top: 10px; font-size: 18px; font-weight: 700; }
.compare-card.old .cc-badge { color: #e0574e; }
.compare-card.new .cc-badge { color: var(--navy); }
.compare-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.compare-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 17px; color: var(--g900); }
.compare-card.old .compare-list li { color: var(--g600); }
.compare-list .dot { flex: 0 0 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--g400); margin-top: 12px; }
.compare-list .check { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 2px; }
.compare-arrow { color: var(--navy); flex: 0 0 auto; }
.compare-arrow svg { display: block; }

/* ── 지원 3카드 ───────────────────────────── */
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.support-card {
  border-radius: 32px; padding: 40px; height: 480px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.support-card .label { font-size: 18px; font-weight: 600; }
.support-card h3 { margin: 12px 0 0; font-size: 24px; font-weight: 600; line-height: 1.6; color: var(--g900); }
.support-card .illust { align-self: flex-end; }
.support-card .illust img { width: auto; }
.support-card.c1 { background: var(--yellow50); } .support-card.c1 .label { color: var(--yellow); }
.support-card.c2 { background: var(--green50); } .support-card.c2 .label { color: var(--green); }
.support-card.c3 { background: var(--blue50); } .support-card.c3 .label { color: var(--blue600); }
.support-note { margin: 20px 0 0; text-align: right; font-size: 14px; color: var(--g400); }

/* ── 이용방법 STEP (스크롤 고정 + 텍스트·이미지 교체) ─────────── */
.steps-scroll { position: relative; height: 400vh; }          /* 4단계 × 100vh */
.steps-sticky { position: sticky; top: 90px; height: calc(100vh - 90px); min-height: 560px; display: flex; align-items: center; }
.steps-stage { position: relative; width: 100%; height: 70%; }
.step-panel {
  position: absolute; inset: 0; display: flex; align-items: center; gap: 80px;
  opacity: 0; transform: translateY(24px); pointer-events: none;
  transition: opacity .45s ease, transform .45s ease;
}
.step-panel.active { opacity: 1; transform: none; pointer-events: auto; }
.step-text { flex: 1; }
.step-badge { display: inline-block; font-size: 24px; font-weight: 700; color: var(--navy); margin-bottom: 20px; }
.step-text h3 { margin: 0 0 20px; font-size: 34px; font-weight: 700; line-height: 1.35; letter-spacing: -0.03em; }
.step-text p { margin: 0; font-size: 18px; color: var(--g600); font-weight: 500; }
.step-visual { flex: 0 0 460px; max-width: 460px; }
.step-visual img { width: 100%; height: auto; border-radius: 32px; }
/* 진행 표시 (STEP dots) */
.steps-dots { position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%); display: flex; gap: 10px; }
.steps-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: #d5dbe3; transition: all .2s; }
.steps-dots button.on { background: var(--navy); width: 28px; border-radius: 6px; }

/* ── FAQ 아코디언 ─────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 16px; }
.faq-item { border: 1px solid var(--line); border-radius: 20px; background: #fff; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; gap: 16px; padding: 28px 32px;
  font-size: 20px; font-weight: 600; color: var(--g900);
}
.faq-q .q-mark { flex: 0 0 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: 10px; background: var(--blue50); color: var(--navy); font-weight: 800; font-size: 18px; }
.faq-q .q-text { flex: 1; }
.faq-q .chev { flex: 0 0 auto; color: var(--g400); transition: transform .2s; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); color: var(--navy); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a-inner { padding: 0 32px 28px 88px; font-size: 17px; color: var(--g600); line-height: 1.8; }
.faq-item.open .faq-a { max-height: 400px; }

/* ── CTA 밴드 + 푸터 ─────────────────────── */
.cta-band { background: var(--navy); border-radius: 32px; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; padding: 40px 48px; margin-bottom: 56px; }
.cta-band .cta-copy h3 { margin: 0 0 20px; font-size: 28px; font-weight: 700; color: #fff; line-height: 1.4; }
.cta-band .btn-primary { background: #fff; color: var(--navy); box-shadow: none; }
.cta-band .btn-primary:hover { background: #eaf1fb; }
.cta-band .cta-mockup { flex: 0 0 auto; align-self: flex-end; margin: -40px 0 -40px; }
.cta-band .cta-mockup img { height: 228px; width: auto; }

.site-footer { border-top: 1px solid var(--line); padding: 48px 0; }
.site-footer .company { font-size: 20px; font-weight: 700; color: var(--g900); }
.site-footer .addr { margin-top: 16px; font-size: 15px; color: var(--g600); line-height: 1.8; }
.site-footer .copyright { margin-top: 20px; font-size: 13px; color: var(--g400); }

/* ── 반응형 ─────────────────────────────── */
@media (max-width: 1024px) {
  .hero-copy h1 { font-size: 44px; }
  .section-head h2 { font-size: 34px; }
  .step-text h3 { font-size: 28px; }
}
@media (max-width: 860px) {
  .gnb { display: none; }
  .hero { padding: 64px 0; }
  .hero .inner { flex-direction: column; text-align: center; }
  .hero-copy { align-items: center; gap: 28px; }
  .hero-copy h1 { font-size: 34px; }
  .hero-copy .sub { font-size: 17px; }
  .hero-mockup { width: 260px; }
  .section { padding: 64px 0; }
  .compare { grid-template-columns: 1fr; }
  .compare-arrow { transform: rotate(90deg); margin: 0 auto; }
  .support-grid { grid-template-columns: 1fr; }
  .support-card { height: auto; min-height: 340px; }
  .steps-scroll { height: auto; }
  .steps-sticky { position: static; height: auto; min-height: 0; display: block; }
  .steps-stage { position: static; height: auto; }
  .step-panel { position: static; opacity: 1; transform: none; pointer-events: auto; flex-direction: column; gap: 28px; text-align: center; margin-bottom: 56px; }
  .step-visual { flex-basis: auto; width: 280px; margin: 0 auto; }
  .steps-dots { display: none; }
  .cta-band { flex-direction: column; text-align: center; gap: 24px; padding: 32px; }
  .cta-band .cta-mockup { margin: 0; }
  .section-head h2 { font-size: 28px; }
  .faq-q { font-size: 17px; padding: 20px; }
  .faq-a-inner { padding: 0 20px 20px 20px; }
}
