/* ============================================================
   DESIGN TOKENS
============================================================ */
:root {
  --ink:        #18121f;
  --canvas:     #fbf9ff;
  --violet:     #7c3aed;
  --magenta:    #d6409f;
  --coral:      #fb7185;
  --emerald:    #10b981;
  --muted:      #6b6478;
  --border:     #ece8f3;
  --card:       #ffffff;
  --bg-subtle:  #f4f0fc;
  --amber:      #f59e0b;

  --grad:       linear-gradient(135deg, var(--violet), var(--magenta), var(--coral));
  --grad-h:     linear-gradient(135deg, #6d28d9, #be185d, #f43f5e);

  --r-card:     16px;
  --r-btn:      10px;
  --shadow-sm:  0 1px 3px rgba(24,18,31,.07);
  --shadow-md:  0 4px 16px rgba(24,18,31,.10);
  --shadow-lg:  0 12px 40px rgba(124,58,237,.18);

  --font:       Pretendard, -apple-system, "Apple SD Gothic Neo", "Segoe UI", system-ui, sans-serif;
  --font-disp:  "Clash Display", "Pretendard", system-ui, sans-serif;

  --transition: .2s cubic-bezier(.4,0,.2,1);
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
html, body { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: var(--font); }

/* ============================================================
   LAYOUT
============================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
section { padding: 96px 0; }

/* ============================================================
   TYPOGRAPHY
============================================================ */
h1, h2 { font-family: var(--font-disp); letter-spacing: -.03em; line-height: 1.15; color: var(--ink); }
h3 { font-size: 1.2rem; font-weight: 700; color: var(--ink); }
h4 { font-size: 1rem; font-weight: 700; color: var(--ink); }
p { color: var(--muted); }

.grad-text {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-text-sm {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}
.emerald { color: var(--emerald); }
.violet  { color: var(--violet); }
.amber   { color: var(--amber); }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--violet);
  background: rgba(124,58,237,.1);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 12px; }
.section-header p { font-size: .95rem; max-width: 560px; margin: 0 auto; }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 24px;
  border-radius: var(--r-btn);
  font-size: .9rem;
  font-weight: 600;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-grad {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 4px 18px rgba(124,58,237,.35);
}
.btn-grad:hover { background: var(--grad-h); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(124,58,237,.45); }
.btn-grad:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }

.btn-grad-sm {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: .82rem; font-weight: 600;
  background: var(--grad); color: #fff;
  border: none;
  transition: all var(--transition);
  box-shadow: 0 2px 10px rgba(124,58,237,.3);
}
.btn-grad-sm:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(124,58,237,.4); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { background: var(--bg-subtle); border-color: var(--violet); color: var(--violet); }
.btn-ghost:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }

.btn-ghost-sm {
  display: inline-flex; align-items: center;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: .82rem; font-weight: 600;
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
  transition: all var(--transition);
}
.btn-ghost-sm:hover { border-color: var(--violet); color: var(--violet); }

.btn-cta-white {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 1rem; font-weight: 700;
  background: #fff; color: var(--violet);
  border: none;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
  transition: all var(--transition);
}
.btn-cta-white:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,.2); }

.btn-cta-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 1rem; font-weight: 700;
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.3);
  transition: all var(--transition);
}
.btn-cta-ghost:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.5); }

/* ============================================================
   BADGES & PILLS
============================================================ */
.badge {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: .7rem; font-weight: 700;
  padding: 2px 8px; border-radius: 20px;
  letter-spacing: .02em;
}
.badge-nano    { background: #fef3c7; color: #92400e; }
.badge-micro   { background: #dbeafe; color: #1e40af; }
.badge-middle  { background: #ede9fe; color: #5b21b6; }
.badge-insta   { background: #fce7f3; color: #9d174d; }
.badge-blog    { background: #dcfce7; color: #166534; }
.badge-youtube { background: #fee2e2; color: #991b1b; }
.badge-warning { background: #fef9c3; color: #854d0e; }
.badge-success { background: #d1fae5; color: #065f46; }
/* 서비스 소개용 예시 프로필 표식 (표시광고법: 실검증 인플루언서와 구분) */
.badge-seed    { background: #fef3c7; color: #b45309; }
/* 검증 파이프라인 상태 배지 — 비공개(블라인드) 카드용 */
.badge-reviewing { background: #fef3c7; color: #b45309; } /* 검토중 — 앰버 */
.badge-preparing { background: #e0e7ff; color: #4338ca; } /* 등록준비중 — 인디고(구분 톤) */
/* ── 이메일 소유 확인 / 비밀번호 재설정 (2026-07-26 신설) ────────────────
   입력칸 옆에 「인증코드 받기」 버튼을 붙인다. 모바일(≤480)에서는 버튼이
   눌리기 좁아지므로 세로로 떨어뜨리고 폭을 100%로 준다. */
.reg-email-row { display: flex; gap: 8px; align-items: stretch; }
.reg-email-row input { flex: 1 1 auto; min-width: 0; }
.reg-email-row .btn-sm {
  flex: 0 0 auto; white-space: nowrap;
  padding: 0 14px; font-size: 13px; font-weight: 700;
  /* 탭 타깃 최소 44×44 (WCAG 2.5.8). box-sizing·테두리·소수점 반올림으로 44 를 아슬아슬하게
     밑도는 일이 있어(실측 43px) 여유를 두고 46 으로 잡는다. */
  min-height: 46px;
  box-sizing: border-box;
}
.inq-hint { margin: 6px 0 0; font-size: 12px; line-height: 1.5; color: #6b7280; }
.mem-lead { margin: 0 0 14px; font-size: 13.5px; line-height: 1.6; color: #4b5563; }
@media (max-width: 480px) {
  .reg-email-row { flex-direction: column; }
  .reg-email-row .btn-sm { width: 100%; }
}

/* 예시 — 운영팀 샘플 프로필(실제 회원 아님). 실존 인물로 오인되지 않도록 카드마다 붙는다.
   중립 회색 + 점선 테두리로 "데이터가 아님"을 시각적으로 구분한다(2026-07-26 오너 지시). */
.badge-sample {
  background: #f1f5f9; color: #475569;
  border: 1px dashed #94a3b8;
  font-weight: 700; letter-spacing: .02em;
}

.pill {
  display: inline-block;
  font-size: .75rem; font-weight: 500;
  color: var(--muted);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px 12px;
}

/* ============================================================
   NAV
============================================================ */
#main-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,249,255,.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
#main-nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 16px rgba(24,18,31,.06);
}
.nav-inner {
  display: flex; align-items: center;
  height: 68px; gap: 36px;
}
.nav-logo {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-disp);
  font-size: 1.05rem; font-weight: 700;
  color: var(--ink); flex-shrink: 0;
}
.nav-logo em { font-style: normal; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-logo-mark {
  width: 34px; height: 34px;
  background: var(--grad);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(124,58,237,.35);
}
.nav-links {
  display: flex; gap: 24px; flex: 1;
}
.nav-links a {
  font-size: .88rem; font-weight: 500;
  color: var(--muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--violet); font-weight: 600; }
.nav-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.nav-login {
  font-size: .88rem; font-weight: 500;
  color: var(--muted); background: none; border: none;
  transition: color var(--transition); padding: 6px 8px;
}
.nav-login:hover { color: var(--ink); }
.nav-hamburger {
  display: none;
  background: none; border: none;
  color: var(--ink);
  padding: 6px; border-radius: 8px;
  transition: background var(--transition);
}
.nav-hamburger:hover { background: var(--bg-subtle); }

/* ============================================================
   HERO
============================================================ */
.hero {
  padding: 112px 0 88px;
  position: relative; overflow: hidden;
  background: var(--canvas);
}
.hero-mesh {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 440px;
  gap: 72px; align-items: center;
  position: relative; z-index: 1;
}
.hero-copy { }
.hero-eyebrow { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.eyebrow-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .78rem; font-weight: 600;
  background: #fff; border: 1px solid var(--border);
  color: var(--muted);
  padding: 5px 12px; border-radius: 20px;
  box-shadow: var(--shadow-sm);
}
.chip-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 3px rgba(16,185,129,.2);
  flex-shrink: 0;
}
.chip-muted { }
.chip-muted strong { color: var(--violet); }

.hero-h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: 22px; }
.hero-sub { font-size: 1.05rem; color: var(--muted); margin-bottom: 36px; max-width: 520px; line-height: 1.7; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 52px; }
.hero-stats { display: flex; gap: 28px; align-items: center; padding-top: 36px; border-top: 1px solid var(--border); }
.hero-stat { }
.hero-stat-num {
  font-family: var(--font-disp);
  font-size: 2rem; font-weight: 700;
  color: var(--ink); line-height: 1;
}
.stat-plus, .stat-pct { font-size: 1.2rem; color: var(--violet); }
.hero-stat-label { font-size: .78rem; color: var(--muted); margin-top: 4px; }
.hero-stat-div { width: 1px; height: 36px; background: var(--border); flex-shrink: 0; }

/* Hero visual */
.hero-visual {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 24px;
  position: relative;
}
.hv-badge {
  position: absolute; top: -13px; right: 20px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .75rem; font-weight: 700;
  background: var(--emerald); color: #fff;
  padding: 5px 14px; border-radius: 20px;
  box-shadow: 0 4px 14px rgba(16,185,129,.35);
}
.hv-brief {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-subtle); border-radius: 12px;
  padding: 14px 16px; margin-bottom: 12px;
}
.hv-brief-avi {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad); color: #fff;
  font-size: 1rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hv-brief-name { font-size: .9rem; font-weight: 700; color: var(--ink); }
.hv-brief-meta { font-size: .75rem; color: var(--muted); margin-top: 2px; }
.hv-connector { margin-bottom: 10px; }
.hv-matches { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.hv-match-row {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-subtle); border-radius: 10px;
  padding: 8px 12px;
}
.hv-match-avi {
  width: 36px; height: 36px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 2px solid var(--border);
}
.hv-match-info { flex: 1; min-width: 0; }
.hv-match-name { font-size: .82rem; font-weight: 700; color: var(--ink); display: block; }
.hv-match-cat { font-size: .72rem; color: var(--muted); display: block; }
.score-ring-wrap { position: relative; flex-shrink: 0; }
.score-ring { display: block; }
.ring-num {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 800;
  color: var(--violet);
  font-family: var(--font-disp);
}
.hv-footnote { font-size: .68rem; color: var(--muted); margin-bottom: 12px; }
.hv-kpi-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.hv-kpi-cell {
  background: var(--bg-subtle); border-radius: 10px;
  padding: 10px 12px; text-align: center;
}
.hv-kpi-val { font-size: 1rem; font-weight: 800; color: var(--ink); line-height: 1.2; }
.hv-kpi-lbl { font-size: .68rem; color: var(--muted); margin-top: 2px; }

/* ============================================================
   BRAND STRIP
============================================================ */
.brand-strip {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.brand-strip-inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.brand-strip-label { font-size: .78rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.brand-logos { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.brand-logo-item {
  font-family: var(--font-disp);
  font-size: .9rem; font-weight: 700;
  color: var(--muted); opacity: .6;
  transition: opacity var(--transition);
}
.brand-logo-item:hover { opacity: 1; }
.brand-sep { width: 1px; height: 16px; background: var(--border); }

/* ============================================================
   HOW IT WORKS
============================================================ */
#how-it-works { background: var(--card); }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.step-card {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 32px 28px;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.step-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: rgba(124,58,237,.25); }
.step-num-badge {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad);
  color: #fff; font-size: 1.1rem; font-weight: 800;
  font-family: var(--font-disp);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(124,58,237,.3);
}
.step-icon-wrap {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--bg-subtle);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.step-card h3 { margin-bottom: 10px; }
.step-card p { font-size: .9rem; line-height: 1.7; }
.step-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }

/* ============================================================
   KOL GRID
============================================================ */
#kol-grid { background: var(--bg-subtle); }
.filter-bar {
  display: flex; gap: 8px; flex-wrap: wrap;
  align-items: center; margin-bottom: 32px;
}
.filter-label { font-size: .8rem; font-weight: 700; color: var(--muted); }
.filter-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: .82rem; font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: var(--card);
  color: var(--muted);
  transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--violet); color: var(--violet); }
.filter-btn.active { background: var(--violet); color: #fff; border-color: var(--violet); box-shadow: 0 2px 8px rgba(124,58,237,.3); }
.filter-sep { width: 1px; height: 24px; background: var(--border); margin: 0 4px; }

.kol-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.kol-card[data-hidden="true"] { display: none; }

/* Loading skeleton cards (shown while fetching influencers) */
.kol-skeleton {
  height: 300px;
  border-radius: var(--r-card);
  border: 1px solid var(--border);
  background: linear-gradient(90deg, var(--card) 25%, var(--bg-subtle) 50%, var(--card) 75%);
  background-size: 200% 100%;
  animation: kolSkeletonPulse 1.4s ease infinite;
}
@keyframes kolSkeletonPulse {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .kol-skeleton { animation: none; background: var(--bg-subtle); }
}

/* Empty state (no influencers / no filter match) */
.kol-empty {
  grid-column: 1 / -1;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  text-align: center;
  padding: 48px 16px;
}
.kol-empty p { color: var(--muted); font-size: .92rem; margin: 0; }

.kol-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  cursor: pointer;
  position: relative; overflow: hidden;
}
.kol-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: rgba(124,58,237,.2); }
/* 비공개(검토중·등록준비중) 카드 — 점선 중립 테두리 + 옅은 배경으로 공개 카드와 시각 구분 */
.kol-card.kc-blind { border-style: dashed; border-color: #d9d3e6; background: linear-gradient(180deg, #faf9fc, var(--card)); }
.kol-card.kc-blind:hover { border-color: #c4bcd6; }
.kol-card:hover .kc-sparkline { opacity: 1; transform: translateY(0); }
.kol-card:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }

.kc-top { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.kc-avi-wrap { position: relative; flex-shrink: 0; }
.kc-avi {
  width: 52px; height: 52px; border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}
/* Initial-letter avatar placeholder (empty photo — no external placeholder service) */
.kc-avi-ph, .hv-avi-ph {
  background: linear-gradient(135deg, var(--violet), var(--coral));
  color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
}
.kc-avi-ph { width: 52px; height: 52px; font-size: 1.1rem; }
.hv-avi-ph { width: 36px; height: 36px; font-size: .85rem; }
/* 블라인드 아바타 — 자물쇠 실루엣(개인정보 비공개 상태) */
.kc-avi-blind {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, #ece9f3, #ddd7e8);
  color: #8a8299;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--border);
  flex-shrink: 0;
}
.kc-verified {
  position: absolute; bottom: 0; right: -2px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--emerald);
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--card);
}
.kc-info { flex: 1; min-width: 0; }
.kc-name { font-size: .9rem; font-weight: 700; color: var(--ink); margin-bottom: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kc-handle { font-size: .72rem; color: var(--muted); margin-bottom: 6px; }
.kc-badges { display: flex; gap: 4px; flex-wrap: wrap; }

.kc-stats {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 8px;
  background: var(--bg-subtle); border-radius: 10px;
  padding: 10px 12px; margin-bottom: 12px;
}
.kc-stat { }
.kc-stat-val { font-size: .95rem; font-weight: 800; color: var(--ink); }
.kc-stat-lbl { font-size: .68rem; color: var(--muted); }

.kc-perf { margin-bottom: 8px; }
.kc-perf-row { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; }
.kc-perf-lbl { font-size: .72rem; color: var(--muted); width: 48px; flex-shrink: 0; }
.kc-bar-wrap { flex: 1; height: 5px; background: var(--border); border-radius: 3px; overflow: hidden; }
.kc-bar { height: 5px; border-radius: 3px; background: var(--bc, var(--violet)); width: 0; transition: width .8s cubic-bezier(.4,0,.2,1); }
.kc-bar.animated { width: var(--bw, 0); }
.kc-perf-val { font-size: .72rem; font-weight: 700; width: 34px; text-align: right; }

/* Sparkline — revealed on hover */
.kc-sparkline {
  margin-bottom: 10px; padding: 8px 0 4px;
  opacity: 0; transform: translateY(6px);
  transition: opacity .2s, transform .2s;
  border-top: 1px solid var(--border);
}
.kc-sparkline svg { width: 100%; height: 32px; display: block; }
.kc-sparkline span { font-size: .65rem; color: var(--muted); display: block; margin-top: 2px; }

.kc-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--border);
}
.kc-price { font-size: .85rem; font-weight: 700; color: var(--ink); }
.kc-price span { font-size: .72rem; font-weight: 400; color: var(--muted); }

.kol-more-wrap { text-align: center; margin-top: 36px; }
/* 예시 프로필 각주 — 컨시어지 모델 안내 (표시광고법 안전) */
.kol-note {
  margin: 22px auto 0; max-width: 720px; text-align: center;
  font-size: .8rem; line-height: 1.55; color: var(--muted);
  word-break: keep-all; overflow-wrap: break-word;
}
.kol-note .kol-note-chip {
  display: inline-block; font-size: .68rem; font-weight: 700;
  background: #fef3c7; color: #b45309; border-radius: 20px;
  padding: 1px 8px; margin-right: 5px; vertical-align: baseline;
}

/* ============================================================
   RATE CARD
============================================================ */
#rate-card { background: var(--card); }

.tab-nav {
  display: flex; gap: 4px;
  background: var(--bg-subtle); border-radius: 12px;
  padding: 4px; width: fit-content;
  margin-bottom: 32px; flex-wrap: wrap;
}
.tab-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px;
  border-radius: 9px;
  font-size: .85rem; font-weight: 600;
  border: none; background: transparent;
  color: var(--muted);
  transition: all var(--transition);
}
.tab-btn.active { background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); }
.tab-btn:hover:not(.active) { color: var(--ink); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.rate-table-wrap { overflow-x: auto; margin-bottom: 24px; }
table { width: 100%; border-collapse: collapse; font-size: .88rem; }
th {
  background: var(--bg-subtle); text-align: left;
  padding: 11px 16px;
  font-size: .72rem; font-weight: 700;
  color: var(--muted); letter-spacing: .05em; text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
td { padding: 13px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--bg-subtle); }
.rv { font-weight: 700; color: var(--ink); }
.rs { font-size: .78rem; color: var(--muted); }
.rate-note {
  background: var(--bg-subtle); border-radius: 10px;
  padding: 14px 18px; font-size: .82rem; color: var(--muted);
}
.rate-note strong { color: var(--ink); }

/* Package cards */
.pkg-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; margin-bottom: 40px; }
.pkg-card {
  padding: 20px 16px;
  border-radius: var(--r-card);
  border: 1.5px solid var(--border);
  background: var(--card);
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.pkg-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--violet); }
.pkg-featured { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124,58,237,.12); }
.pkg-featured-tag {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff;
  font-size: .7rem; font-weight: 700;
  padding: 3px 12px; border-radius: 10px;
  white-space: nowrap;
}
.pkg-tier { font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 5px; }
.pkg-price { font-family: var(--font-disp); font-size: 1.7rem; font-weight: 700; color: var(--ink); line-height: 1; margin-bottom: 2px; }
.pkg-price-sub { font-size: .7rem; color: var(--muted); margin-bottom: 12px; }
.pkg-divider { border: none; border-top: 1px solid var(--border); margin: 12px 0; }
.pkg-meta { font-size: .8rem; color: var(--muted); line-height: 1.7; margin-bottom: 10px; }
.pkg-meta strong { color: var(--ink); }
.pkg-kpi { background: var(--bg-subtle); border-radius: 8px; padding: 8px 10px; font-size: .75rem; color: var(--muted); margin-bottom: 14px; line-height: 1.7; }
.pkg-kpi strong { color: var(--ink); }
.pkg-btn {
  width: 100%; padding: 9px; border-radius: 9px;
  font-size: .82rem; font-weight: 700;
  border: none; transition: all var(--transition);
}
.pkg-btn-primary { background: var(--grad); color: #fff; box-shadow: 0 2px 10px rgba(124,58,237,.3); }
.pkg-btn-primary:hover { background: var(--grad-h); }
.pkg-btn-outline { background: transparent; color: var(--violet); border: 1.5px solid var(--violet); }
.pkg-btn-outline:hover { background: rgba(124,58,237,.06); }
.pkg-footnote { font-size: .75rem; color: var(--muted); margin-top: 14px; text-align: center; }
.take-rate-section { margin-top: 40px; }
.take-rate-section h4 { margin-bottom: 16px; }
.seed-row td { background: #fffbeb; }

/* ============================================================
   SETTLEMENT
============================================================ */
#settlement { background: var(--bg-subtle); }
.flow-steps {
  display: flex; align-items: flex-start;
  gap: 0; margin-bottom: 48px;
}
.flow-step { text-align: center; flex: 1; padding: 0 6px; }
.flow-arrow { flex-shrink: 0; padding: 22px 0 0; display: flex; align-items: flex-start; }
.flow-icon-wrap {
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
  border: 2px solid var(--border);
  background: var(--card);
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), background var(--transition);
}
.flow-icon-wrap.active { border-color: var(--violet); background: rgba(124,58,237,.06); }
.flow-icon-wrap.success { border-color: var(--emerald); background: rgba(16,185,129,.06); }
.flow-icon-wrap.warning { border-color: var(--amber); background: rgba(245,158,11,.06); }
.flow-step-num {
  position: absolute; top: -6px; right: -6px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--grad); color: #fff;
  font-size: .65rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.flow-step-title { font-size: .85rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.flow-step-desc { font-size: .72rem; color: var(--muted); line-height: 1.5; }

.flow-timeline {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 16px;
  margin-bottom: 48px;
}
.flow-time-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-card); padding: 20px;
  box-shadow: var(--shadow-sm);
}
.ftl { font-size: .7rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 5px; }
.ftv { font-family: var(--font-disp); font-size: 1.3rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.ftn { font-size: .78rem; color: var(--muted); }

.compliance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 36px; }
.compliance-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-card); padding: 24px; box-shadow: var(--shadow-sm); }
.compliance-card h4 { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.checklist { display: flex; flex-direction: column; gap: 10px; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; font-size: .85rem; color: var(--muted); }
.check-ok {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--emerald); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.check-warn {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--amber); color: #fff;
  font-size: .7rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.checklist li strong { color: var(--ink); }

/* Money flow */
.money-flow { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-card); padding: 28px; box-shadow: var(--shadow-sm); }
.money-flow h4 { margin-bottom: 20px; }
.money-flow-row { display: flex; align-items: center; gap: 0; flex-wrap: wrap; gap: 6px; }
.mf-cell { background: var(--bg-subtle); border-radius: 10px; padding: 14px 16px; text-align: center; min-width: 110px; }
.mf-brand { background: rgba(124,58,237,.08); }
.mf-plat  { background: rgba(245,158,11,.08); }
.mf-kol   { background: rgba(16,185,129,.08); min-width: 150px; }
.mf-lbl   { font-size: .72rem; color: var(--muted); margin-bottom: 4px; }
.mf-val   { font-family: var(--font-disp); font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.mf-sub   { font-size: .68rem; color: var(--muted); margin-top: 2px; }
.mf-arrow { flex-shrink: 0; }
.mf-plus  { font-size: 1.2rem; color: var(--border); font-weight: 700; flex-shrink: 0; }

/* ============================================================
   WHY US
============================================================ */
#why-us { background: var(--card); }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-bottom: 56px; }
.trust-card {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.trust-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.trust-icon-wrap {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.violet-bg  { background: rgba(124,58,237,.1); }
.emerald-bg { background: rgba(16,185,129,.1); }
.magenta-bg { background: rgba(214,64,159,.1); }
.coral-bg   { background: rgba(251,113,133,.1); }
.trust-title { font-size: .95rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.trust-desc { font-size: .85rem; color: var(--muted); line-height: 1.65; }

.vs-section { }
.vs-section h3 { margin-bottom: 20px; }
.vs-table th:nth-child(2) { background: rgba(16,185,129,.06); }
.vs-us-col { background: rgba(16,185,129,.06) !important; }
.vs-us { color: var(--emerald); font-weight: 600; }
.vs-them { color: var(--muted); }

/* ============================================================
   FAQ
============================================================ */
#faq { background: var(--bg-subtle); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
}
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px;
  font-size: .95rem; font-weight: 700; color: var(--ink);
  background: none; border: none; text-align: left;
  gap: 12px; transition: color var(--transition);
}
.faq-q:hover { color: var(--violet); }
.faq-q[aria-expanded="true"] { color: var(--violet); }
.faq-chevron { flex-shrink: 0; transition: transform var(--transition); color: var(--muted); }
.faq-q[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s cubic-bezier(.4,0,.2,1), padding .25s;
  font-size: .88rem; color: var(--muted); line-height: 1.7;
  padding: 0 24px;
}
.faq-a.open { max-height: 300px; padding: 0 24px 18px; }

/* ============================================================
   CTA SECTION
============================================================ */
.cta-section {
  position: relative; overflow: hidden;
  background: var(--ink);
  padding: 96px 0;
}
.cta-bg-blob {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
}
.cta-bg-blob svg { width: 100%; height: 100%; }
.cta-inner {
  position: relative; z-index: 1;
  text-align: center;
}
.cta-score-ring {
  display: inline-block; margin-bottom: 28px;
}
.cta-ring-text { font-family: var(--font-disp); }
.cta-section h2 {
  font-family: var(--font-disp);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #fff; margin-bottom: 16px; letter-spacing: -.03em;
}
.cta-section p { color: rgba(255,255,255,.7); font-size: 1rem; margin-bottom: 36px; }
.cta-section p strong { color: #fff; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.cta-note { font-size: .78rem; color: rgba(255,255,255,.4); }

/* ============================================================
   FOOTER
============================================================ */
footer {
  background: var(--ink);
  color: #fff;
  padding: 56px 0 36px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-logo {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-disp);
  font-size: 1rem; font-weight: 700;
  margin-bottom: 14px;
}
.footer-logo-mark {
  width: 28px; height: 28px;
  background: var(--grad);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.footer-desc { font-size: .82rem; color: rgba(255,255,255,.45); line-height: 1.75; }
.footer-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 18px; }
.footer-tags span {
  background: rgba(255,255,255,.07); border-radius: 5px;
  padding: 2px 8px; font-size: .68rem; color: rgba(255,255,255,.35);
}
.footer-operator { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-operator-logo { width: 140px; height: auto; opacity: .75; }
.footer-heading {
  font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  color: rgba(255,255,255,.35); margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: .85rem; color: rgba(255,255,255,.55); transition: color var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,.08);
  font-size: .75rem; color: rgba(255,255,255,.3);
  flex-wrap: wrap; gap: 16px;
}
.footer-disclaimer { color: rgba(255,255,255,.18); }
.footer-right { text-align: right; line-height: 1.9; }
.footer-biz { font-size: .75rem; color: rgba(255,255,255,.4); line-height: 1.9; }
.footer-biz a { color: rgba(255,255,255,.55); text-decoration: underline; }
.footer-biz a:hover { color: #fff; }

/* ============================================================
   SCROLL REVEAL
============================================================ */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s cubic-bezier(.4,0,.2,1), transform .5s cubic-bezier(.4,0,.2,1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1100px) {
  .kol-grid { grid-template-columns: repeat(3,1fr); }
  .pkg-grid { grid-template-columns: repeat(3,1fr); }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 480px; }
  .steps-grid { grid-template-columns: 1fr; }
  .kol-grid { grid-template-columns: repeat(2,1fr); }
  .flow-steps { flex-direction: column; align-items: center; }
  .flow-arrow { transform: rotate(90deg); padding: 4px 0; }
  .flow-timeline { grid-template-columns: repeat(2,1fr); }
  .compliance-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-actions .btn-ghost-sm { display: none; }
  .nav-inner { gap: 16px; }
  /* Right-edge fade hint: tables scroll horizontally on mobile */
  .rate-table-wrap { position: relative; }
  .rate-table-wrap::after {
    content: "";
    position: absolute; top: 0; right: 0; width: 40px; height: 100%;
    background: linear-gradient(to left, var(--card), rgba(255,255,255,0));
    pointer-events: none;
  }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  section { padding: 64px 0; }
  .hero { padding: 80px 0 56px; }
  .hero-h1 { font-size: 2rem; }
  .kol-grid { grid-template-columns: 1fr; }
  .pkg-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hv-kpi-row { grid-template-columns: 1fr; }
  .tab-nav { flex-direction: column; width: 100%; }
  .money-flow-row { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   PREFERS-REDUCED-MOTION
============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .kc-bar { width: var(--bw, 0) !important; transition: none !important; }
  .ring-fill { transition: none !important; }
}

/* ============================================================
   FOCUS VISIBLE (a11y)
============================================================ */
:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 2px;
}

/* ============================================================
   MAIN POPUP (site-wide notice)
   z-index 250 — below inquiry modal (300)
============================================================ */
.rp-popup-overlay {
  position: fixed; inset: 0; z-index: 250;
  background: rgba(20,12,40,.55);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: rpPopupFade .25s ease;
}
.rp-popup-card {
  position: relative;
  width: 100%; max-width: 420px; margin: 20px;
  max-height: calc(100vh - 40px); overflow-y: auto;
  background: #fff; border-radius: 20px;
  box-shadow: 0 30px 80px rgba(40,20,80,.3);
  padding: 30px 28px 22px;
  font-family: var(--font);
  animation: rpPopupIn .3s cubic-bezier(.4,0,.2,1);
}
.rp-popup-accent {
  position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: var(--grad);
  border-radius: 20px 20px 0 0;
}
.rp-popup-x {
  position: absolute; top: 16px; right: 16px;
  width: 34px; height: 34px;
  border: none; border-radius: 50%;
  background: #f1eef7; color: #6b6478;
  font-size: 20px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.rp-popup-x:hover { background: #e7e1f2; }
.rp-popup-title {
  font-size: 1.25rem; font-weight: 800;
  color: var(--ink);
  margin: 4px 36px 10px 0;
  line-height: 1.35;
}
.rp-popup-body {
  font-size: .92rem; color: #4d465c;
  line-height: 1.65;
  white-space: pre-line;
  word-break: break-word;
  margin-bottom: 18px;
}
.rp-popup-cta {
  display: block; width: 100%;
  text-align: center;
  background: var(--grad); color: #fff;
  font-size: .92rem; font-weight: 700;
  padding: 12px 18px; border-radius: 12px;
  box-shadow: 0 4px 18px rgba(124,58,237,.35);
  transition: all var(--transition);
  margin-bottom: 14px;
}
.rp-popup-cta:hover { background: var(--grad-h); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(124,58,237,.45); }
.rp-popup-footer {
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.rp-popup-btn {
  border: none; background: none; cursor: pointer;
  font-family: inherit;
  font-size: .82rem; font-weight: 600; color: #6b6478;
  padding: 6px 8px; border-radius: 8px;
  transition: all var(--transition);
}
.rp-popup-btn:hover { color: var(--ink); background: #f1eef7; }
.rp-popup-dot { color: #c9c2d6; }
@keyframes rpPopupFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rpPopupIn {
  from { opacity: 0; transform: translateY(16px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rp-popup-overlay, .rp-popup-card { animation: none !important; }
}

/* ============================================
   Korean line-break: headings & short labels
   wrap at word (eojeol) boundaries, not mid-word
   ============================================ */
h1, h2, h3,
.hero-h1, .hero-sub, .hero-stat-label, .faq-q {
  word-break: keep-all;
  overflow-wrap: break-word;
}


