/* ============================================================
   보당당 - 숨은 보험금 찾기 랜딩페이지
   톤앤매너 : 딥그린 + 골드 (모바일 퍼스트)
   ============================================================ */

/* ---------- 폰트 (SUIT) ---------- */
@font-face {
  font-family: "SUIT";
  src: url("../font/SUIT-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "SUIT";
  src: url("../font/SUIT-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "SUIT";
  src: url("../font/SUIT-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "SUIT";
  src: url("../font/SUIT-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "SUIT";
  src: url("../font/SUIT-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "SUIT";
  src: url("../font/SUIT-Heavy.ttf") format("truetype");
  font-weight: 900;
  font-display: swap;
}

/* ---------- 변수 ---------- */
:root {
  --bg: #06110e;            /* 가장 어두운 딥그린 */
  --bg-soft: #081b2f;       /* 네이비 */
  --surface: #0f2530;       /* 딥그린 + 네이비 카드 표면 */
  --surface-2: #123447;
  --line: rgba(132, 192, 179, 0.18);
  --gold: #e2c285;
  --gold-strong: #f0d9a8;
  --gold-deep: #d3a35c;
  --green: #2e7d5b;
  --navy: #071a2f;
  --navy-soft: #0d2744;
  --mint: #66b9a5;
  --text: #f6f3ec;
  --text-sub: #e3ebe4;
  --text-dim: #c2ccc4;
  --danger: #ff8a76;
  --radius: 18px;
  --maxw: 480px;
}

/* ---------- 리셋 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  font-family: "SUIT", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;           /* 가로 스크롤/흔들림 원천 차단 (지원 브라우저) */
  max-width: 100vw;
  word-break: keep-all;       /* 한글 단어 단위 줄바꿈 */
  overflow-wrap: break-word;  /* 긴 단어만 예외적으로 줄바꿈 허용 */
}

/* 본문 영역도 한 번 더 가로 고정 (애니메이션 요소가 화면 밖으로 나가도 흔들리지 않게) */
main {
  overflow-x: hidden;
  overflow-x: clip;
}
/* 단어 단위 줄바꿈을 양쪽 줄 길이가 비슷하도록 배분 (지원 브라우저) */
h1, h2, h3,
.hero__sub, .section__desc, .done__desc,
.partners__caption, .hero__note {
  text-wrap: balance;
}
p { text-wrap: pretty; }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input { font-family: inherit; }
em { font-style: normal; }

.gold-text {
  display: inline-block;
  color: #ff4d3d;
  font-size: 1.14em;
  font-weight: 900;
  text-shadow:
    0 0 18px rgba(255, 77, 61, 0.45),
    0 2px 8px rgba(0, 0, 0, 0.5);
  transform-origin: center;
  animation: accent-pulse 2.4s ease-in-out infinite;
}
@keyframes accent-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.14); }
}

/* ---------- 등장 애니메이션 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ============================================================
   헤더
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11, 17, 14, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__brand { display: flex; align-items: center; }
.header__logo {
  height: 58px;
  width: auto;
  border-radius: 12px; /* 원본 라운드 모서리의 흰 여백을 잘라내는 역할 */
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.55);
}
.header__cta {
  display: inline-block;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  background: linear-gradient(180deg, #ff8a70 0%, #ff4d3d 55%, #e8362a 100%);
  padding: 11px 18px;
  border-radius: 14px;
  /* 3D 입체감 : 아래 단차 + 글로우 + 상단 하이라이트 */
  box-shadow:
    0 5px 0 #a8261b,
    0 9px 18px rgba(255, 77, 61, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  animation: header-cta-bounce 2.6s ease-in-out infinite;
}
.header__cta:active {
  transform: translateY(5px);
  box-shadow:
    0 0 0 #a8261b,
    0 3px 10px rgba(255, 77, 61, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
@keyframes header-cta-bounce {
  0%, 100% { transform: translateY(0); }
  8% { transform: translateY(-2px); }
  16% { transform: translateY(0); }
}

/* ============================================================
   보험사 전광판
   ============================================================ */
.partners {
  padding: 106px 0 18px;
  background: var(--bg);
  overflow: hidden;
}
.partners__caption {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.partners__track {
  display: flex;
  width: max-content;
  animation: partners-roll 12s linear infinite;
}
.partners__group { display: flex; }
.plogo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 8px;
  padding: 12px 22px;
  background: #f7f6f2;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}
.plogo img {
  height: 24px;
  width: auto;
  display: block;
}
@keyframes partners-roll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   히어로
   ============================================================ */
.hero {
  position: relative;
  padding: 30px 20px 56px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(46, 125, 91, 0.35), transparent 70%),
    var(--bg);
}
.hero__glow {
  position: absolute;
  top: 36%; left: 50%;
  width: 480px; height: 480px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(226, 194, 133, 0.14), transparent 65%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
}
.hero__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--gold);
  margin-bottom: 24px;
}
.hero__badge::before,
.hero__badge::after {
  content: "";
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(226, 194, 133, 0.55));
}
.hero__badge::after {
  background: linear-gradient(90deg, rgba(226, 194, 133, 0.55), transparent);
}
.hero__title {
  font-size: clamp(34px, 9.6vw, 46px);
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.hero__title em {
  display: inline-block;
  color: #ff4d3d;
  position: relative;
  text-shadow:
    0 0 16px rgba(255, 77, 61, 0.45),
    0 2px 8px rgba(0, 0, 0, 0.5);
  transform-origin: center;
  animation: hero-danger-pulse 2.6s ease-in-out infinite;
}
.hero__title em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 9px;
  background: rgba(255, 77, 61, 0.22);
  z-index: -1;
  border-radius: 3px;
}
.hero__title .gold-text {
  display: inline-block;
  font-size: 1em;
  background: linear-gradient(135deg, #fff4c2 0%, #ffe08a 48%, #ffc857 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  transform-origin: center;
  animation: hero-gold-pulse 2.6s ease-in-out infinite;
}
@keyframes hero-danger-pulse {
  0%, 100% { transform: scale(1.08); }
  50% { transform: scale(0.96); }
}
@keyframes hero-gold-pulse {
  0%, 100% { transform: scale(0.96); }
  50% { transform: scale(1.08); }
}
.hero__sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-sub);
  margin-bottom: 8px;
}
.hero__sub strong {
  color: #ff4d3d;
  font-weight: 800;
  text-shadow: 0 0 14px rgba(255, 77, 61, 0.4);
}
.hero__sub em {
  color: #ffd979;
  font-weight: 800;
  text-shadow: 0 0 14px rgba(255, 217, 121, 0.4);
}

.hero__visual { margin: 10px auto 6px; max-width: 360px; }
.hero__visual img {
  animation: float 4.5s ease-in-out infinite;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55));
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 18px 0 34px;
  padding: 22px 0;
  border-top: 1px solid rgba(226, 194, 133, 0.18);
  border-bottom: 1px solid rgba(226, 194, 133, 0.18);
}
.stat {
  padding: 2px 4px;
  position: relative;
}
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: rgba(226, 194, 133, 0.16);
}
.stat__num {
  display: block;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff4c2 0%, #ffe08a 48%, #ffc857 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat__num .count {
  font-variant-numeric: tabular-nums;
}
.stat__label {
  display: block;
  font-size: 13.5px;
  color: var(--text-sub);
  margin-top: 6px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* 메인 CTA 버튼 */
.btn-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  max-width: 360px;
  padding: 19px 24px;
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #ff8a70 0%, #ff4d3d 48%, #e8362a 100%);
  border-radius: 16px;
  box-shadow:
    0 12px 34px rgba(255, 77, 61, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: cta-pulse 2.4s ease-in-out infinite;
  transition: transform 0.15s ease;
}
.btn-cta:active { transform: scale(0.97); }
@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 12px 34px rgba(255, 77, 61, 0.48), inset 0 1px 0 rgba(255,255,255,0.35); }
  50% { box-shadow: 0 12px 46px rgba(255, 99, 82, 0.7), inset 0 1px 0 rgba(255,255,255,0.35); }
}
.btn-cta__shine {
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.68), transparent);
  animation: shine 2.8s ease-in-out infinite;
}
@keyframes shine {
  0% { left: -80%; }
  55%, 100% { left: 130%; }
}
.hero__note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-dim);
  font-weight: 600;
}

/* ============================================================
   실시간 티커
   ============================================================ */
.ticker {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
  overflow: hidden;
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-roll 16s linear infinite;
}
.ticker__group { display: flex; }
.ticker__group span {
  white-space: nowrap;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-sub);
  padding: 0 26px;
}
@keyframes ticker-roll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   공통 섹션
   ============================================================ */
.section { padding: 64px 20px; }
.section__inner { max-width: var(--maxw); margin: 0 auto; }
.section__title {
  font-size: clamp(27px, 7.8vw, 36px);
  font-weight: 900;
  line-height: 1.38;
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.section__desc {
  text-align: center;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-sub);
  margin-bottom: 32px;
}

/* ============================================================
   WHY 섹션
   ============================================================ */
.why { background: var(--bg); }
.why__visual {
  position: relative;
  max-width: 320px;
  margin: 0 auto 30px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.why__visual img { width: 100%; }
.why__visual-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 36px 18px 16px;
  background: linear-gradient(transparent, rgba(8, 12, 10, 0.92));
  text-align: center;
}
.why__visual-caption strong {
  display: block;
  font-size: 22px;
  font-weight: 900;
  color: var(--gold-strong);
}
.why__visual-caption span { font-size: 15px; color: var(--text-sub); }

.checklist { list-style: none; display: grid; }
.checklist__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 4px;
}
.checklist__item + .checklist__item {
  border-top: 1px solid rgba(226, 194, 133, 0.1);
}
.checklist__icon {
  flex: 0 0 auto;
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 900;
  color: #14110a;
  background: linear-gradient(135deg, var(--gold-strong), var(--gold-deep));
  margin-top: 2px;
}
.checklist__item strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 5px;
  letter-spacing: -0.01em;
}
.checklist__item p { font-size: 15.5px; line-height: 1.6; color: var(--text-sub); }

/* ============================================================
   FIND 섹션 (혜택 카드)
   ============================================================ */
.find {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(46, 125, 91, 0.18), transparent 70%),
    var(--bg-soft);
}
.find__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.find__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 0 18px;
  text-align: center;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.find__card:hover { transform: translateY(-4px); border-color: rgba(226, 194, 133, 0.4); }
.find__img { display: block; margin-bottom: 14px; }
.find__img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.find__card strong {
  display: block;
  font-size: 17.5px;
  font-weight: 800;
  color: var(--gold-strong);
  margin: 0 12px 7px;
}
.find__card p { font-size: 14.5px; color: var(--text-sub); line-height: 1.6; margin: 0 12px; }

/* ============================================================
   HOW 섹션 (진행 절차)
   ============================================================ */
.how { background: var(--bg); }
.how__visual { max-width: 300px; margin: 6px auto 30px; }
.how__visual img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.how__steps { list-style: none; display: grid; gap: 0; position: relative; }
.how__step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  position: relative;
  padding-bottom: 26px;
}
.how__step:last-child { padding-bottom: 0; }
.how__step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 19px; top: 44px; bottom: 4px;
  width: 2px;
  background: linear-gradient(var(--gold-deep), rgba(226, 194, 133, 0.08));
}
.how__num {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 900;
  font-size: 17px;
  color: var(--gold-strong);
  background: var(--surface-2);
  border: 1.5px solid var(--gold-deep);
}
.how__step strong { display: block; font-size: 18.5px; font-weight: 800; margin-bottom: 5px; letter-spacing: -0.01em; }
.how__step p { font-size: 15.5px; line-height: 1.6; color: var(--text-sub); }

/* ============================================================
   신청 섹션 돋보기 캐릭터 애니메이션
   ============================================================ */
.inspector {
  position: relative;
  height: 150px;
  margin-bottom: 4px;
  pointer-events: none;
}
.inspector__img {
  position: absolute;
  left: 50%;
  top: 0;
  height: 175px;
  width: auto;
  mix-blend-mode: screen; /* 검정 배경을 페이지에 자연스럽게 녹임 */
  opacity: 0;
  transform: translate(60px, -70px) rotate(16deg) scale(0.45);
}
/* 섹션 도착(is-play) → 우측 상단에서 타이틀 위로 날아와 멈춤 + 둥실거림 */
.inspector.is-play .inspector__img {
  animation:
    inspector-in 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards,
    inspector-float 3.4s ease-in-out 1.4s infinite;
}
@keyframes inspector-in {
  from {
    opacity: 0;
    transform: translate(60px, -70px) rotate(16deg) scale(0.45);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -14px) rotate(0deg) scale(1);
  }
}
@keyframes inspector-float {
  0%, 100% { transform: translate(-50%, -14px); }
  50% { transform: translate(-50%, -24px); }
}
/* 돋보기 도착 1초 뒤부터 반짝이는 별 */
.inspector__spark {
  position: absolute;
  color: var(--gold-strong);
  text-shadow: 0 0 10px rgba(240, 217, 168, 0.9);
  opacity: 0;
  transform: scale(0);
}
.inspector.is-play .inspector__spark {
  animation: spark-twinkle 1.5s ease-in-out infinite;
}
.inspector__spark.sp1 { left: calc(50% - 78px); top: 6px;  font-size: 20px; }
.inspector__spark.sp2 { left: calc(50% + 58px); top: -6px; font-size: 15px; }
.inspector__spark.sp3 { left: calc(50% + 74px); top: 64px; font-size: 22px; }
.inspector__spark.sp4 { left: calc(50% - 60px); top: 84px; font-size: 13px; }
.inspector.is-play .sp1 { animation-delay: 1s; }
.inspector.is-play .sp2 { animation-delay: 1.25s; }
.inspector.is-play .sp3 { animation-delay: 1.5s; }
.inspector.is-play .sp4 { animation-delay: 1.8s; }
@keyframes spark-twinkle {
  0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.15) rotate(40deg); }
}

/* ============================================================
   신청 퍼널
   ============================================================ */
.apply {
  background:
    radial-gradient(ellipse 90% 70% at 50% 100%, rgba(46, 125, 91, 0.22), transparent 70%),
    var(--bg-soft);
  padding-bottom: 90px;
}
.funnel {
  background: var(--surface);
  border: 1px solid rgba(226, 194, 133, 0.22);
  border-radius: 22px;
  padding: 26px 22px 30px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  position: relative;
}
.funnel__progress {
  height: 6px;
  background: rgba(226, 194, 133, 0.12);
  border-radius: 999px;
  overflow: hidden;
}
.funnel__progress-bar {
  height: 100%;
  width: 25%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-strong));
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.funnel__step-label {
  margin: 12px 0 4px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-align: center;
}

.funnel__step { display: none; }
.funnel__step.is-active { display: block; animation: step-in 0.4s ease; }
@keyframes step-in {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}
.funnel__q {
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  line-height: 1.5;
  margin: 14px 0 22px;
  letter-spacing: -0.02em;
}

.funnel__options { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.funnel__options--col { grid-template-columns: 1fr; }
.opt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 18px 14px;
  font-size: 17.5px;
  font-weight: 700;
  color: var(--text);
  background: var(--surface-2);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.18s, background 0.18s, transform 0.12s;
}
.opt:active { transform: scale(0.97); }
.opt:hover { border-color: rgba(226, 194, 133, 0.5); }
.opt.is-selected {
  border-color: var(--gold);
  background: rgba(226, 194, 133, 0.12);
  color: var(--gold-strong);
}
.opt__emoji { font-size: 20px; }

/* 입력 필드 */
.funnel__inputs { display: grid; gap: 13px; margin-bottom: 20px; }
.field { display: block; text-align: left; }
.field__label {
  display: block;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}
.field input {
  width: 100%;
  padding: 16px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  background: var(--bg-soft);
  border: 1.5px solid rgba(226, 194, 133, 0.28);
  border-radius: 13px;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.field input::placeholder { color: var(--text-dim); font-weight: 600; }
.field input:focus {
  border-color: var(--gold-strong);
  box-shadow: 0 0 0 3px rgba(240, 217, 168, 0.12);
}

/* 동의 영역 */
.agrees {
  display: grid;
  gap: 4px;
  margin-bottom: 18px;
  padding: 8px 4px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.agree {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 4px;
  cursor: pointer;
  user-select: none;
}
.agree input { position: absolute; opacity: 0; pointer-events: none; }
.agree__box {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  border-radius: 7px;
  border: 1.5px solid var(--gold);
  display: grid;
  place-items: center;
  transition: background 0.15s, border-color 0.15s;
}
.agree__box::after {
  content: "✓";
  font-size: 13px;
  font-weight: 900;
  color: #14110a;
  opacity: 0;
}
.agree input:checked + .agree__box {
  background: linear-gradient(135deg, var(--gold-strong), var(--gold-deep));
  border-color: var(--gold);
}
.agree input:checked + .agree__box::after { opacity: 1; }
.agree__text { flex: 1; font-size: 15px; font-weight: 700; color: var(--text); }
.agree__text em { color: #ffe08a; font-weight: 900; margin-right: 2px; }
.agree__view {
  flex: 0 0 auto;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--gold-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 4px;
}

/* 제출 버튼 */
.btn-submit {
  width: 100%;
  padding: 18px;
  font-size: 18.5px;
  font-weight: 800;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, #ff8a70 0%, #ff4d3d 48%, #e8362a 100%);
  box-shadow:
    0 12px 34px rgba(255, 77, 61, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: opacity 0.2s, transform 0.12s, box-shadow 0.2s, background 0.2s;
}
.btn-submit:active:not(:disabled) { transform: scale(0.98); }
.btn-submit:disabled {
  opacity: 1;
  cursor: not-allowed;
}
.funnel__safe {
  margin-top: 13px;
  text-align: center;
  font-size: 13.5px;
  color: var(--text-dim);
  font-weight: 600;
}

/* 이전 버튼 */
.funnel__back {
  display: block;
  margin: 18px auto 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dim);
  padding: 6px 10px;
}
.funnel__back:hover { color: var(--text-sub); }

/* 완료 화면 */
.funnel__step--done { text-align: center; padding: 18px 0 10px; }
.done__icon {
  width: 68px; height: 68px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 30px;
  font-weight: 900;
  color: #14110a;
  background: linear-gradient(135deg, var(--gold-strong), var(--gold-deep));
  box-shadow: 0 10px 30px rgba(226, 194, 133, 0.4);
  animation: done-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes done-pop {
  from { transform: scale(0.3); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.done__title { font-size: 24px; font-weight: 900; margin-bottom: 12px; }
.done__desc { font-size: 16.5px; line-height: 1.7; color: var(--text-sub); }
.done__desc strong { color: var(--gold-strong); font-weight: 800; }

/* ============================================================
   푸터
   ============================================================ */
.footer {
  background: #070b09;
  border-top: 1px solid var(--line);
  padding: 44px 20px 110px;
  text-align: center;
}
.footer__logo {
  width: 110px;
  margin: 0 auto 14px;
  border-radius: 12px;
  opacity: 0.95;
}
.footer__brand { font-size: 15.5px; color: var(--text-sub); margin-bottom: 14px; }
.footer__brand strong { color: var(--gold); font-weight: 800; }
.footer__info { font-size: 13.5px; color: var(--text-dim); line-height: 1.7; margin-bottom: 14px; }
.footer__link {
  display: inline-block;
  margin-top: 6px;
  color: var(--gold-strong);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer__copy { font-size: 12.5px; color: #9faaa2; font-weight: 600; }

/* ============================================================
   하단 고정 CTA
   ============================================================ */
.float-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(transparent, rgba(7, 11, 9, 0.9) 40%);
  transform: translateY(110%);
  transition: transform 0.35s ease;
  pointer-events: none;
}
.float-cta.is-shown { transform: translateY(0); pointer-events: auto; }
.float-cta__btn {
  display: block;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 17px;
  text-align: center;
  font-size: 17.5px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #ff8a70 0%, #ff4d3d 48%, #e8362a 100%);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(255, 77, 61, 0.5);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* ============================================================
   모달
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: flex-end;
  justify-content: center;
}
.modal.is-open { display: flex; }
.modal__dim {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 5, 0.72);
  backdrop-filter: blur(3px);
  animation: dim-in 0.25s ease;
}
@keyframes dim-in { from { opacity: 0; } to { opacity: 1; } }
.modal__panel {
  position: relative;
  width: 100%;
  max-width: var(--maxw);
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px 22px 0 0;
  padding: 22px 20px calc(20px + env(safe-area-inset-bottom));
  animation: sheet-up 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes sheet-up {
  from { transform: translateY(60px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.modal__head h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.modal__close {
  flex: 0 0 auto;
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text-sub);
  font-size: 14px;
}
.modal__body {
  overflow-y: auto;
  flex: 1;
  padding-right: 4px;
}
.terms { font-size: 15px; color: var(--text-sub); line-height: 1.75; }
.terms h4 {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--gold-strong);
  margin: 18px 0 5px;
}
.terms p { margin-bottom: 4px; }
.modal__ok {
  margin-top: 16px;
  width: 100%;
  padding: 16px;
  font-size: 17px;
  font-weight: 800;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, #ff8a70 0%, #ff4d3d 48%, #e8362a 100%);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* 알림 팝업 */
.modal--alert { align-items: center; padding: 0 24px; }
.modal__panel--alert {
  border-radius: 20px;
  max-width: 350px;
  text-align: center;
  padding: 28px 22px 20px;
  animation: alert-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes alert-pop {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.alert__icon {
  width: 52px; height: 52px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 900;
  color: #14110a;
  background: linear-gradient(135deg, var(--gold-strong), var(--gold-deep));
}
.alert__title { font-size: 19.5px; font-weight: 800; margin-bottom: 8px; }
.alert__msg { font-size: 15.5px; color: var(--text-sub); line-height: 1.65; white-space: pre-line; }

/* 로딩 팝업 */
.modal--loading { align-items: center; padding: 0 24px; }
.modal__panel--loading {
  border-radius: 22px;
  max-width: 360px;
  text-align: center;
  padding: 30px 24px 24px;
}
.loading__ring {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 4px solid rgba(102, 185, 165, 0.18);
  border-top-color: var(--mint);
  animation: loading-spin 0.85s linear infinite;
}
@keyframes loading-spin {
  to { transform: rotate(360deg); }
}
.loading__title {
  font-size: 19px;
  font-weight: 900;
  margin-bottom: 8px;
}
.loading__msg {
  color: var(--text-sub);
  font-size: 14.5px;
  line-height: 1.6;
}
.loading__bar {
  height: 8px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(102, 185, 165, 0.12);
}
.loading__bar span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2e7d5b, #66b9a5, #0d2744);
  animation: loading-bar 1.2s ease-in-out infinite;
}
@keyframes loading-bar {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(250%); }
}

/* ============================================================
   태블릿/PC 보정 (모바일 퍼스트)
   ============================================================ */
@media (min-width: 768px) {
  .partners { padding-top: 120px; }
  .hero { padding-top: 36px; }
  .section { padding: 80px 20px; }
  .modal { align-items: center; padding: 24px; }
  .modal__panel { border-radius: 22px; }
}

/* 모션 최소화 환경 배려 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
