/* ===================================================================
   SalonFlow 랜딩페이지 — 딥그린 + 골드 (라이트 모드 고정)

   로그인 전 화면은 항상 밝게 보이도록 고정했습니다.
   기기가 다크모드여도 바뀌지 않습니다. (아래 color-scheme 참고)
   =================================================================== */
:root {
  color-scheme: light;                 /* 브라우저가 어둡게 뒤집지 않도록 */
  --bg: #faf8f3;
  --bg-2: #f2efe7;
  --panel: #ffffff;
  --panel-2: #f5f2ea;
  --line: rgba(28, 33, 29, .12);
  --text: #1c211d;
  --muted: #5f675f;
  --gold: #96721f;
  --gold-soft: rgba(150, 114, 31, .10);
  --gold-ink: #fdf6e8;
  --green: #1f5c4a;
  --green-soft: rgba(31, 92, 74, .10);
  --good: #2f7d47;
  --warn: #9a6b13;
  --bad: #b03a2e;
  --radius: 16px;
  --font: 'Manrope', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.center { text-align: center; }

/* ------------------------------- 헤더 ------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 248, 243, .88); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, background .2s ease;
}
.site-header.stuck { border-bottom-color: var(--line); }
.header-in { display: flex; align-items: center; gap: 26px; height: 66px; }
.brand { font-weight: 900; font-size: 20px; letter-spacing: -.5px; }
.brand span { color: var(--gold); }
.site-nav { display: flex; gap: 22px; margin-left: 12px; }
.site-nav a { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.site-nav a:hover { color: var(--text); }
.header-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }

.btn {
  border: 1px solid var(--line); background: transparent; color: var(--text);
  border-radius: 10px; padding: 10px 16px; font-size: 13px; font-weight: 700;
  transition: transform .12s ease, background .16s ease, border-color .16s ease;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
}
.btn:hover { background: rgba(28, 33, 29, .05); }
.btn:active { transform: translateY(1px); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.btn.gold:hover { background: #7d5e18; }
.btn.green { background: var(--green); border-color: var(--green); color: #eaf3ef; }
.btn.green:hover { background: #27705a; }
.btn.lg { padding: 15px 28px; font-size: 14.5px; border-radius: 12px; }
.btn.block { width: 100%; }
.btn.ghost { border-color: transparent; color: var(--muted); }
.btn.ghost:hover { color: var(--text); }
.btn:disabled { opacity: .5; cursor: default; }

/* ------------------------------- 히어로 ------------------------------- */
.hero { position: relative; padding: 76px 0 40px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -30% 30% 40% -20%;
  background: radial-gradient(circle at 30% 40%, rgba(31, 92, 74, .10), transparent 62%);
  filter: blur(20px); pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; inset: -10% -25% 30% 45%;
  background: radial-gradient(circle at 60% 30%, rgba(150, 114, 31, .08), transparent 60%);
  filter: blur(24px); pointer-events: none;
}
.hero-in { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: 46px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; background: var(--gold-soft);
  color: var(--gold); border: 1px solid rgba(150, 114, 31, .30);
  padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; margin-bottom: 20px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
h1.hero-title {
  font-size: clamp(30px, 3.9vw, 46px); line-height: 1.22; letter-spacing: -1.2px;
  font-weight: 900; margin: 0 0 18px; word-break: keep-all; overflow-wrap: break-word;
}
h1.hero-title em { font-style: normal; color: var(--gold); }
.hero-sub { font-size: 15.5px; color: var(--muted); margin: 0 0 30px; max-width: 500px; word-break: keep-all; }
.hero-sub b { color: var(--text); font-weight: 700; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 12.5px; color: var(--muted); }
.hero-note b { color: var(--gold); }

/* 히어로 목업 */
.mock {
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 30px 70px rgba(28, 33, 29, .13); overflow: hidden;
}
.mock-bar {
  display: flex; align-items: center; gap: 6px; padding: 11px 14px;
  border-bottom: 1px solid var(--line); background: var(--bg-2);
}
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2c3833; display: block; }
.mock-bar span { margin-left: 8px; font-size: 11px; color: var(--muted); }
.mock-body { padding: 18px; }

.mini-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.mini-kpi { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 13px; }
.mini-kpi span { font-size: 10.5px; color: var(--muted); display: block; }
.mini-kpi b { font-size: 17px; font-weight: 800; display: block; margin-top: 4px; letter-spacing: -.3px; }
.mini-kpi b.gold { color: var(--gold); }

.mini-chart {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px 14px 10px;
}
.mini-chart h4 { margin: 0 0 12px; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.mini-bars { display: flex; align-items: flex-end; gap: 10px; height: 104px; }
.mini-bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mini-bar-pair { display: flex; align-items: flex-end; gap: 4px; height: 84px; }
.mini-bar {
  width: 13px; border-radius: 4px 4px 2px 2px; height: 0;
  transition: height 1.1s cubic-bezier(.2, .8, .2, 1);
}
.mini-bar.prev { background: #36423b; }
.mini-bar.cur { background: linear-gradient(180deg, #c9a44e, var(--gold)); }
.mini-bar-col small { font-size: 9.5px; color: var(--muted); }

.mini-row {
  display: flex; align-items: center; gap: 9px; padding: 9px 0; border-bottom: 1px solid var(--line);
  font-size: 12px; opacity: 0; transform: translateY(6px);
}
.mini-row:last-child { border-bottom: 0; }
.mini-row.in { animation: rowIn .5s ease forwards; }
@keyframes rowIn { to { opacity: 1; transform: none; } }
.mini-row .t { color: var(--gold); font-weight: 700; width: 40px; }
.mini-row .n { font-weight: 700; }
.mini-row .s { margin-left: auto; color: var(--muted); font-size: 11px; }

.float-card {
  position: absolute; background: var(--panel); border: 1px solid var(--line);
  border-radius: 13px; padding: 11px 14px; box-shadow: 0 16px 34px rgba(28, 33, 29, .14);
  font-size: 12px; display: flex; align-items: center; gap: 9px;
  animation: floaty 4.6s ease-in-out infinite;
}
.float-card b { color: var(--gold); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.float-1 { right: -26px; top: -20px; animation-delay: .2s; }
.float-2 { left: -30px; bottom: -18px; animation-delay: 1.4s; }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px rgba(47,125,71,.16); }

/* ------------------------------ 업종 바 ------------------------------ */
.industry-bar { padding: 26px 0 8px; }
.industry-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.industry-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--panel); font-size: 13px; font-weight: 600; color: var(--muted);
}
.industry-chip svg { width: 15px; height: 15px; color: var(--gold); }
.industry-caption { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 14px; }

/* ------------------------------ 섹션 공통 ------------------------------ */
section { padding: 84px 0; }
.sec-head { max-width: 660px; margin: 0 auto 46px; text-align: center; }
.sec-tag {
  display: inline-block; color: var(--gold); font-size: 12px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px;
}
.sec-head h2 {
  font-size: clamp(24px, 2.9vw, 34px); line-height: 1.3; letter-spacing: -.8px; margin: 0 0 14px;
  font-weight: 900; word-break: keep-all;
}
.sec-head p { color: var(--muted); font-size: 15px; margin: 0; word-break: keep-all; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ------------------------------ 문제 제기 ------------------------------ */
.pain { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pain-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.pain-card .q { font-size: 14.5px; font-weight: 800; margin: 0 0 10px; color: #2b332c; }
.pain-card .q::before { content: '“'; color: var(--gold); font-size: 22px; line-height: 0; margin-right: 2px; }
.pain-card .q::after { content: '”'; color: var(--gold); font-size: 22px; line-height: 0; margin-left: 2px; }
.pain-card .a { font-size: 13px; color: var(--muted); margin: 0; word-break: keep-all; }
.pain-card .a b { color: var(--gold); font-weight: 700; }

/* ------------------------------ 기능 ------------------------------ */
.feature-row {
  display: grid; grid-template-columns: 1fr 1.08fr; gap: 48px; align-items: center; margin-bottom: 92px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.rev > .feature-text { order: 2; }
.feature-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 9px; background: var(--gold-soft);
  color: var(--gold); font-weight: 800; font-size: 13px; margin-bottom: 16px;
}
.feature-text h3 { font-size: 23px; letter-spacing: -.6px; margin: 0 0 12px; font-weight: 800; word-break: keep-all; }
.feature-text p { color: var(--muted); font-size: 14.5px; margin: 0 0 18px; word-break: keep-all; }
.feature-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.feature-list li { display: flex; gap: 10px; font-size: 13.5px; color: #333c35; }
.feature-list li svg { width: 17px; height: 17px; color: var(--good); flex: 0 0 auto; margin-top: 2px; }

/* 기능 목업 공통 */
.shot { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: 0 18px 40px rgba(28,33,29,.10); }
.shot-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.shot-head b { font-size: 12.5px; }
.shot-head span { font-size: 11px; color: var(--muted); }

/* 예약보드 목업 */
.board-mock { display: grid; grid-template-columns: 38px repeat(3, 1fr); gap: 0; font-size: 10px; }
.board-mock .bh {
  padding: 7px 4px; border-bottom: 1px solid var(--line); color: var(--muted); font-weight: 700; text-align: center;
}
.board-mock .bt { padding: 6px 5px; color: var(--muted); text-align: right; border-top: 1px solid var(--line); }
.board-mock .bc { border-top: 1px solid var(--line); border-left: 1px solid var(--line); min-height: 27px; padding: 2px; }
.board-mock .ev {
  border-radius: 6px; padding: 4px 5px; font-size: 9.5px; font-weight: 700; line-height: 1.3;
  background: var(--gold-soft); border: 1px solid rgba(150,114,31,.35); color: #6f5416;
  opacity: 0; transform: scale(.94); animation: pop .45s ease forwards;
}
.board-mock .ev.g { background: rgba(47,125,71,.12); border-color: rgba(47,125,71,.35); color: #256139; }
.board-mock .ev.b { background: rgba(48,96,163,.10); border-color: rgba(48,96,163,.32); color: #2c5896; }
@keyframes pop { to { opacity: 1; transform: none; } }

/* 도넛 */
.donut-row { display: flex; gap: 16px; align-items: center; justify-content: center; }
.donut-mini { position: relative; width: 108px; height: 108px; }
.donut-mini svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut-mini circle { fill: none; stroke-width: 13; }
.donut-mini .seg { transition: stroke-dashoffset 1.2s cubic-bezier(.2,.8,.2,1); }
.donut-center-mini {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
}
.donut-center-mini b { font-size: 16px; font-weight: 800; }
.donut-center-mini span { font-size: 9px; color: var(--muted); }
.legend-mini { display: flex; flex-direction: column; gap: 7px; font-size: 11.5px; }
.legend-mini div { display: flex; align-items: center; gap: 7px; }
.legend-mini i { width: 9px; height: 9px; border-radius: 50%; }

/* 선불권 카드 */
.wallet-mock { display: flex; flex-direction: column; gap: 10px; }
.wallet-item {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 11px; padding: 12px 14px;
  display: flex; align-items: center; gap: 10px; font-size: 12px;
}
.wallet-item .nm { font-weight: 700; }
.wallet-item .rest { margin-left: auto; color: var(--gold); font-weight: 800; }
.wallet-item .chip {
  background: var(--gold-soft); color: var(--gold); font-size: 10px; font-weight: 700;
  padding: 3px 8px; border-radius: 999px;
}
.progress { height: 6px; border-radius: 3px; background: var(--panel-2); overflow: hidden; margin-top: 8px; }
.progress i { display: block; height: 100%; width: 0; background: var(--gold); transition: width 1.2s cubic-bezier(.2,.8,.2,1); }

/* ------------------------------ AI 섹션 ------------------------------ */
.ai-section { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); }
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.ai-badge {
  display: inline-flex; align-items: center; gap: 8px; background: var(--green-soft);
  border: 1px solid rgba(31,92,74,.35); color: #1b5040; padding: 7px 14px;
  border-radius: 999px; font-size: 12px; font-weight: 700; margin-bottom: 18px;
}
.chat-mock {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 22px 50px rgba(28,33,29,.12); overflow: hidden;
}
.chat-head {
  display: flex; align-items: center; gap: 9px; padding: 13px 16px;
  border-bottom: 1px solid var(--line); background: var(--bg-2); font-size: 12.5px; font-weight: 700;
}
.chat-head .ai-dot {
  width: 22px; height: 22px; border-radius: 50%; background: var(--green);
  display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 11px; font-weight: 800;
}
.chat-body { padding: 16px; display: flex; flex-direction: column; gap: 11px; min-height: 306px; }
.bubble {
  max-width: 84%; padding: 10px 14px; border-radius: 13px; font-size: 12.5px; line-height: 1.55;
  opacity: 0; transform: translateY(8px); animation: rowIn .45s ease forwards;
}
.bubble.me { align-self: flex-end; background: var(--gold-soft); border: 1px solid rgba(150,114,31,.28); color: #6f5416; }
.bubble.ai { align-self: flex-start; background: var(--bg-2); border: 1px solid var(--line); }
.bubble .act {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px;
  background: rgba(47,125,71,.12); color: #256139; border-radius: 8px; padding: 5px 10px; font-size: 11px; font-weight: 700;
}
.typing { display: inline-flex; gap: 4px; align-items: center; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: blink 1.1s infinite; }
.typing i:nth-child(2) { animation-delay: .18s; }
.typing i:nth-child(3) { animation-delay: .36s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }

.ai-feature-list { display: grid; gap: 12px; margin-top: 24px; }
.ai-feature {
  display: flex; gap: 12px; background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 16px;
}
.ai-feature .ic {
  width: 32px; height: 32px; border-radius: 9px; background: var(--gold-soft); color: var(--gold);
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.ai-feature .ic svg { width: 17px; height: 17px; }
.ai-feature b { display: block; font-size: 13px; margin-bottom: 3px; }
.ai-feature span { font-size: 12px; color: var(--muted); word-break: keep-all; }

/* ------------------------------ 비교표 ------------------------------ */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
table.compare { width: 100%; border-collapse: collapse; min-width: 620px; }
table.compare th, table.compare td { padding: 15px 18px; text-align: center; font-size: 13.5px; border-bottom: 1px solid var(--line); }
table.compare th:first-child, table.compare td:first-child { text-align: left; font-weight: 600; }
table.compare thead th { font-size: 12.5px; color: var(--muted); font-weight: 700; background: var(--bg-2); }
table.compare thead th.us { color: var(--gold); font-size: 14px; background: rgba(212,175,106,.08); }
table.compare td.us { background: rgba(150,114,31,.07); font-weight: 700; color: #6f5416; }
table.compare tr:last-child td { border-bottom: 0; }
.tick { color: var(--good); font-weight: 800; }
.cross { color: #9aa199; }
.partial { color: var(--warn); }
.compare-note { font-size: 11.5px; color: var(--muted); margin-top: 12px; text-align: center; }

/* ------------------------------ 요금제 ------------------------------ */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; display: flex; flex-direction: column; position: relative;
  transition: transform .2s ease, border-color .2s ease;
}
.plan-card:hover { transform: translateY(-4px); border-color: rgba(212,175,106,.34); }
.plan-card.featured { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(150,114,31,.35), 0 22px 46px rgba(28,33,29,.12); }
.plan-flag {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--gold-ink); font-size: 10.5px; font-weight: 800;
  padding: 4px 12px; border-radius: 999px; white-space: nowrap;
}
.plan-name { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.plan-desc { font-size: 12px; color: var(--muted); min-height: 34px; margin-bottom: 14px; }
.plan-price { font-size: 27px; font-weight: 900; letter-spacing: -1px; }
.plan-price small { font-size: 12.5px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan-features { list-style: none; padding: 18px 0 0; margin: 16px 0 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan-features li { font-size: 12.5px; display: flex; gap: 9px; color: #333c35; }
.plan-features li svg { width: 15px; height: 15px; color: var(--good); flex: 0 0 auto; margin-top: 2px; }
.plan-features li.off { color: #9aa199; }
.plan-features li.off svg { color: #b3bab4; }

/* 문자·카카오톡은 요금제에 포함이 아닙니다 — 카드마다 한 줄로 알려 줍니다. */
.plan-msgnote {
  margin: 0 0 12px;
  padding: 9px 11px;
  border: 1px dashed var(--line);
  border-radius: 9px;
  background: var(--bg-2);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  line-height: 1.6;
  word-break: keep-all;
}
.plan-msgnote span { display: block; font-weight: 600; opacity: .85; }

/* ------------------- 문자 요금 안내 (요금제 표 아래) ------------------- */
.msg-price {
  max-width: 880px;
  margin: 34px auto 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px;
}
.msg-price-head h3 { margin: 0 0 8px; font-size: 17px; font-weight: 800; }
.msg-price-head p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.75; word-break: keep-all; }
.msg-price-head p b { color: var(--text); }
.msg-price-list {
  list-style: none; margin: 20px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.msg-price-list li {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px 14px;
  background: var(--bg-2);
  text-align: center;
}
.msg-price-list .mp-name { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.msg-price-list .mp-won { display: block; margin: 7px 0 5px; font-size: 24px; font-weight: 900; color: var(--gold); }
.msg-price-list .mp-sub { display: block; font-size: 11.5px; color: var(--muted); word-break: keep-all; }
.msg-price-foot {
  margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--muted); line-height: 1.8; word-break: keep-all;
}
.msg-price-foot b { color: var(--text); }
@media (max-width: 640px) {
  .msg-price-list { grid-template-columns: 1fr; }
  .msg-price { padding: 20px 16px; }
}

/* ------------------------------ FAQ ------------------------------ */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq-q {
  width: 100%; background: transparent; border: 0; color: var(--text); text-align: left;
  padding: 17px 20px; font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 12px;
}
.faq-q .mark { color: var(--gold); font-weight: 900; }
.faq-q .arrow { margin-left: auto; transition: transform .22s ease; color: var(--muted); }
.faq-item.open .faq-q .arrow { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { margin: 0; padding: 0 20px 18px 46px; font-size: 13px; color: var(--muted); word-break: keep-all; }

/* ------------------------------ CTA / 푸터 ------------------------------ */
.cta {
  background: linear-gradient(135deg, rgba(31,92,74,.10), rgba(150,114,31,.07));
  border: 1px solid rgba(212,175,106,.24); border-radius: 22px; padding: 56px 40px; text-align: center;
}
.cta h2 { font-size: clamp(23px, 2.8vw, 32px); margin: 0 0 12px; letter-spacing: -.8px; font-weight: 900; word-break: keep-all; }
.cta p { color: #3c453d; margin: 0 0 26px; font-size: 14.5px; word-break: keep-all; }
.cta .hero-cta { justify-content: center; }

.site-footer { border-top: 1px solid var(--line); padding: 34px 0 44px; color: var(--muted); font-size: 12.5px; }
.footer-in { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer-in .brand { font-size: 16px; }
.footer-links { margin-left: auto; display: flex; gap: 18px; }
.footer-links a:hover { color: var(--text); }

/* ------------------------------ 모달 ------------------------------ */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(28, 33, 29, .42); backdrop-filter: blur(3px);
  display: none; align-items: center; justify-content: center; z-index: 200; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px;
  width: 460px; max-width: 100%; max-height: 90vh; overflow-y: auto;
  box-shadow: 0 34px 80px rgba(28, 33, 29, .22); animation: modalIn .22s ease;
}
.modal.wide { width: 620px; }
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px 14px;
}
.modal-head h3 { margin: 0; font-size: 17px; font-weight: 800; letter-spacing: -.4px; }
.modal-head .sub { font-size: 12px; color: var(--muted); margin-top: 4px; }
.modal-close {
  width: 30px; height: 30px; border: 0; background: transparent; color: var(--muted);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: var(--panel-2); color: var(--text); }
.modal-close svg { width: 16px; height: 16px; }
.modal-body { padding: 4px 24px 20px; }
.modal-foot { padding: 0 24px 24px; display: flex; gap: 8px; }
.modal-foot .btn { flex: 1; }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12px; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.field label .req { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; height: 42px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg-2); color: var(--text); font-family: inherit; font-size: 13.5px;
  padding: 0 13px; outline: none; transition: border-color .15s ease;
}
.field textarea { height: auto; padding: 11px 13px; resize: vertical; }
.field input:focus, .field select:focus { border-color: var(--gold); }
.field input::placeholder { color: #98a09a; }
.field .hint { font-size: 11px; color: var(--muted); margin-top: 6px; }
.field.err input, .field.err select { border-color: var(--bad); }

.field-row { display: flex; gap: 8px; }
.field-row .field { flex: 1; margin-bottom: 0; }
.field-row .btn { height: 42px; flex: 0 0 auto; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.checkline { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); cursor: pointer; }
.checkline input { width: 15px; height: 15px; accent-color: var(--gold); }
.link-row { display: flex; gap: 14px; justify-content: center; margin-top: 16px; font-size: 12px; }
.link-row button { background: none; border: 0; color: var(--muted); font-size: 12px; }
.link-row button:hover { color: var(--gold); text-decoration: underline; }
.form-msg {
  padding: 11px 14px; border-radius: 10px; font-size: 12.5px; margin-bottom: 14px; display: none; line-height: 1.6;
}
.form-msg.show { display: block; }
.form-msg.bad { background: rgba(176,58,46,.10); color: #8e2e24; border: 1px solid rgba(176,58,46,.28); }
.form-msg.good { background: rgba(47,125,71,.10); color: #1f6237; border: 1px solid rgba(47,125,71,.28); }
.form-msg.info { background: var(--gold-soft); color: #6f5416; border: 1px solid rgba(150,114,31,.26); }

.code-box {
  background: var(--bg-2); border: 1px dashed rgba(212,175,106,.5); border-radius: 12px;
  padding: 22px; text-align: center; margin: 6px 0 16px;
}
.code-box span { font-size: 12px; color: var(--muted); display: block; margin-bottom: 8px; }
.code-box b {
  font-size: 30px; font-weight: 900; letter-spacing: 4px; color: var(--gold); display: block;
}
.code-box .copy { margin-top: 12px; }
.result-list { display: flex; flex-direction: column; gap: 8px; }
.result-item {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; display: flex; align-items: center; gap: 10px; font-size: 13px;
}
.result-item b { color: var(--gold); }
.result-item .role { margin-left: auto; font-size: 11px; color: var(--muted); }

/* ------------------------------ 반응형 ------------------------------ */
@media (max-width: 980px) {
  .hero-in, .ai-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 26px; margin-bottom: 64px; }
  .feature-row.rev > .feature-text { order: 0; }
  .pain-grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .site-nav { display: none; }
  .float-1, .float-2 { display: none; }
  section { padding: 62px 0; }
}
@media (max-width: 560px) {
  .plans { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  .header-actions .btn.ghost { display: none; }
  .hero { padding: 48px 0 20px; }
  .cta { padding: 40px 22px; }
}

/* 요금제 이름 옆 작은 표 (예: 1인샵 전용) */
.plan-badge {
  display: inline-block; margin-left: 7px; padding: 2px 8px; border-radius: 999px;
  font-size: 10.5px; font-weight: 800; vertical-align: middle;
  background: rgba(212,175,106,.18); color: #8a6212; border: 1px solid rgba(212,175,106,.5);
}

/* 가입 동의 (이용약관 · 개인정보) */
.agree-box {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px 12px;
  background: rgba(0, 0, 0, .02);
}
.agree-line {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0 0 9px;
  font-size: 13.5px;
  line-height: 1.6;
  cursor: pointer;
}
.agree-line:last-of-type { margin-bottom: 4px; }
.agree-line input { margin-top: 3px; flex: none; width: 15px; height: 15px; cursor: pointer; }
.agree-line a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.agree-line .req { color: #c0563c; font-weight: 700; }
.agree-box .hint { margin: 8px 0 0; }

/* ===================== 가입 전 약관 동의 창 =====================
 *   가입 정보를 입력하기 **전에** 먼저 뜹니다.
 *   필수 두 가지에 체크해야 [동의하고 가입 진행] 이 열립니다.
 * ------------------------------------------------------------- */
.agree-line.agree-all {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 14px;
  margin-bottom: 14px;
  background: rgba(212, 175, 106, .1);
  font-size: 14.5px;
}
.agree-line.agree-all small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}
.agree-item {
  border-top: 1px solid var(--line);
  padding: 12px 0 2px;
}
.agree-item:first-of-type { border-top: 0; }
.agree-item .agree-line { margin-bottom: 7px; }
.req-tag, .opt-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 5px;
  margin-right: 3px;
  vertical-align: 1px;
}
.req-tag { color: #a8412a; background: rgba(192, 86, 60, .14); }
.opt-tag { color: var(--muted); background: rgba(0, 0, 0, .06); }

/* 읽을 내용 — 길어도 창이 늘어나지 않게 안쪽에서만 스크롤합니다 */
.agree-read {
  max-height: 170px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 11px 13px;
  margin: 0 0 12px 24px;
  background: rgba(0, 0, 0, .02);
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--muted);
  /* 아래가 잘려 있다는 것을 알 수 있게 옅은 그림자를 둡니다 (스크롤됩니다) */
  box-shadow: inset 0 -14px 12px -12px rgba(28, 33, 29, .22);
}
.agree-read ul { margin: 0; padding-left: 16px; }
.agree-read li { margin-bottom: 6px; }
.agree-read li:last-child { margin-bottom: 0; }
.agree-read b { color: var(--text); font-weight: 700; }
.agree-read small { display: block; font-size: 11.5px; }

.agree-table { width: 100%; border-collapse: collapse; margin-bottom: 9px; }
.agree-table th, .agree-table td {
  border: 1px solid var(--line);
  padding: 6px 8px;
  text-align: left;
  vertical-align: top;
  font-size: 12px;
  line-height: 1.6;
}
.agree-table th { background: rgba(0, 0, 0, .04); font-weight: 700; color: var(--text); }
.agree-warn {
  margin: 0 0 9px;
  padding: 8px 10px;
  border-radius: 7px;
  background: rgba(192, 86, 60, .1);
  color: #a8412a;
  font-size: 12px;
  line-height: 1.6;
}
.agree-warn b { color: #a8412a; }

#agreeNext:disabled { opacity: .45; cursor: not-allowed; }

/* 가입 창 안의 "동의 완료" 표시 */
.agree-done .agree-done-line {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}
.agree-done .agree-done-line b { color: #2f7d5c; }
.agree-done .agree-done-line span { color: var(--muted); font-size: 12.5px; }
.linkish {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 12.5px;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

/* ============ 주소 찾기 층 (v3.25.1) — 가입 창 위에 띄웁니다 ============ */
.pc-layer {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.45); padding: 16px;
}
.pc-layer[hidden] { display: none; }
.pc-box {
  width: 100%; max-width: 480px; height: min(560px, calc(100vh - 32px));
  background: #fff; border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.pc-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border-bottom: 1px solid #e6e6e6; color: #17181a; font-size: 15px;
}
.pc-close {
  width: 32px; height: 32px; border: 0; background: transparent; cursor: pointer; color: #555;
  display: flex; align-items: center; justify-content: center; border-radius: 8px;
}
.pc-close:hover { background: #f2f2f2; }
.pc-close svg { width: 18px; height: 18px; }
.pc-frame { flex: 1; min-height: 0; position: relative; }
.pc-frame iframe { width: 100% !important; height: 100% !important; border: 0; }
.pc-foot {
  display: flex; align-items: center; justify-content: flex-end; gap: 8px;
  padding: 10px 14px; border-top: 1px solid #e6e6e6; font-size: 12.5px; color: #666;
}
.pc-foot button {
  border: 1px solid #d0d0d0; background: #fff; color: #17181a; border-radius: 8px;
  padding: 6px 12px; font-size: 12.5px; font-family: inherit; cursor: pointer;
}

/* 월 결제 / 1년 결제 (v3.31.0) */
.cycle-toggle { display: flex; gap: 4px; width: max-content; margin: -8px auto 12px; padding: 4px; border-radius: 99px;
  background: var(--bg); border: 1px solid var(--line); }
.cycle-toggle button { border: 0; background: transparent; padding: 8px 16px; border-radius: 99px; font: inherit; font-weight: 700;
  font-size: 13.5px; color: var(--muted); cursor: pointer; }
.cycle-toggle button.on { background: var(--green); color: #fff; }
.cycle-toggle em { font-style: normal; font-size: 11px; font-weight: 800; margin-left: 4px; padding: 1px 7px; border-radius: 99px;
  background: var(--green-soft); color: var(--green); }
.cycle-toggle button.on em { background: rgba(255,255,255,.2); color: #fff; }
.cycle-note { text-align: center; font-size: 13px; color: var(--muted); margin: 0 auto 22px; max-width: 640px; }
.plan-price .price-sub { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-top: 2px; }
.plan-price .price-sub s { opacity: .7; }
.lang-switch { border: 1px solid var(--line); background: var(--panel); color: var(--text); border-radius: 10px;
  padding: 7px 8px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
@media (max-width: 720px) { .lang-switch { padding: 6px 4px; font-size: 12px; } }
/* 카카오 알림톡은 한국에만 (v3.31.0) */
html[data-region]:not([data-region="KR"]) [data-kr-only] { display: none !important; }
