/* ==========================================================
   BizHigher — 브랜드 스타일시트
   토큰: 브랜드가이드 v1 (딥블루 정제 · Pretendard)
   ========================================================== */
:root {
  --blue-600: #0A4DF5;
  --blue-700: #0839C4;
  --blue-300: #7DA2FF;
  --blue-50: #EEF3FF;
  --navy-900: #0A1B4D;
  --ink-900: #111318;
  --ink-600: #4B5563;
  --ink-400: #9CA3AF;
  --gray-50: #F6F7F9;
  --line: #E5E7EB;
  --green-600: #0B9E58;
  --red-600: #D3382F;
}

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

body {
  font-family: 'Pretendard Variable', Pretendard, 'Apple SD Gothic Neo', 'Malgun Gothic', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink-900);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-gray { background: var(--gray-50); }
.section-navy { background: var(--navy-900); }
.center { text-align: center; }

/* ---------- 타이포 ---------- */
.h1 { font-size: 60px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.h2 { font-size: 38px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 44px; text-align: center; }
.h2-left { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin: 36px 0 14px; text-align: left; }
.h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.eyebrow { font-size: 13px; font-weight: 800; color: var(--blue-600); letter-spacing: 0.1em; text-transform: uppercase; text-align: center; margin-bottom: 12px; }
.body-sm { font-size: 15px; line-height: 1.6; color: var(--ink-600); }
.note-text { font-size: 13.5px; color: var(--ink-400); text-align: center; margin-top: 18px; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-block; border-radius: 999px; padding: 14px 28px;
  font-size: 16px; font-weight: 600; text-align: center; cursor: pointer;
  border: none; font-family: inherit; transition: background-color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--blue-600); color: #fff; }
.btn-primary:hover { background: var(--blue-700); }
.btn-ghost { background: transparent; color: var(--ink-900); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink-400); }
.btn-white { background: #fff; color: var(--ink-900); }
.btn-small { padding: 10px 20px; font-size: 14px; }
.btn-block { display: block; width: 100%; }

/* ---------- 네비게이션 ---------- */
.nav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.nav-inner { max-width: 1120px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.logo svg { flex-shrink: 0; }
.logo-accent { color: var(--blue-600); }
.nav-links { display: flex; gap: 24px; margin-left: 8px; }
.nav-link { font-size: 15px; color: var(--ink-600); font-weight: 500; }
.nav-link:hover { color: var(--ink-900); }
.nav-link.active { color: var(--ink-900); font-weight: 700; }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--ink-900); line-height: 1; }
.mobile-menu { display: none; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 20px; }
.mobile-menu a { display: block; padding: 13px 0; font-size: 16px; font-weight: 600; color: var(--ink-900); border-bottom: 1px solid var(--gray-50); }
.mobile-menu .btn { margin-top: 14px; }
.mobile-menu.open { display: block; }

/* ---------- 히어로 ---------- */
.hero { padding: 110px 24px 90px; text-align: center; }
.hero-sub { font-size: 19px; line-height: 1.6; color: var(--ink-600); max-width: 560px; margin: 22px auto 34px; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 46px; font-size: 13.5px; font-weight: 600; letter-spacing: 0.04em; color: var(--ink-400); }

/* ---------- 그리드·카드 ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step-card { background: #fff; border-radius: 16px; padding: 30px; }
.step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--blue-600); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 17px; margin-bottom: 16px; }
.tl-tag { font-size: 12px; font-weight: 800; color: var(--blue-600); letter-spacing: 0.06em; margin-bottom: 8px; }

.prod-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; transition: box-shadow .15s ease, border-color .15s ease; }
.prod-card:hover { border-color: var(--blue-300); box-shadow: 0 8px 30px rgba(10, 77, 245, 0.08); }
.prod-card-more { background: var(--gray-50); border-style: dashed; justify-content: center; gap: 10px; }
.prod-card .h3 { margin-top: 2px; }
.card-cta { margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--blue-600); }

.badge { display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px; background: var(--blue-50); color: var(--blue-600); margin-bottom: 12px; }
.badge-green { background: #E7F7EE; color: #0B7A3E; }
.badge-dark { background: var(--ink-900); color: #fff; }

.price-row { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 16px; }
.price { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.price-sub { font-size: 13px; color: var(--ink-400); font-weight: 500; }

/* ---------- 통계 (네이비) ---------- */
.section-navy .h2 { color: #fff; }
.stat-box { text-align: center; padding: 16px; }
.stat { font-size: 52px; font-weight: 800; letter-spacing: -0.03em; color: #fff; margin-bottom: 10px; }
.stat-label { font-size: 14.5px; line-height: 1.6; color: var(--blue-300); }

/* ---------- 가격 티어 ---------- */
.tier { background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 32px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.tier-pop { border-color: var(--blue-600); box-shadow: 0 12px 40px rgba(10, 77, 245, 0.12); }
.tier-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--blue-600); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.tier-price { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; }
.tier-per { font-size: 15px; color: var(--ink-400); font-weight: 500; }
.tier .btn { margin-top: 12px; }

/* ---------- CTA 밴드 ---------- */
.cta-band { background: var(--blue-600); padding: 88px 24px; text-align: center; }
.cta-title { font-size: 38px; font-weight: 800; letter-spacing: -0.02em; color: #fff; margin-bottom: 12px; }
.cta-sub { font-size: 17px; color: #DCE7FF; margin-bottom: 30px; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-q { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.faq-a { font-size: 15px; line-height: 1.65; color: var(--ink-600); }

/* ---------- 페이지 헤더 ---------- */
.page-head { padding: 64px 24px 8px; }
.page-title { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 10px; }
.page-sub { font-size: 17px; color: var(--ink-600); margin-bottom: 24px; }
.banner { background: var(--blue-50); border: 1px solid #CDD9FF; border-radius: 12px; padding: 14px 20px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.banner .badge { margin-bottom: 0; }
.banner-text { font-size: 14.5px; font-weight: 600; }

/* ---------- 가격 리스트 ---------- */
.price-list { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.price-item { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.price-item:last-child { border-bottom: none; }
.price-item:hover { background: var(--gray-50); }
.price-item-name { font-size: 16px; font-weight: 700; display: block; }
.price-item-meta { font-size: 13px; color: var(--ink-400); }
.price-item-price { font-size: 18px; font-weight: 800; color: var(--blue-600); white-space: nowrap; }

/* ---------- 서비스 상세 ---------- */
.detail-head { padding: 56px 24px 24px; }
.back-link { font-size: 14px; color: var(--ink-400); display: inline-block; margin-bottom: 20px; }
.back-link:hover { color: var(--ink-600); }
.detail-title { font-size: 42px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 10px; }
.detail-sub { font-size: 18px; color: var(--ink-600); margin-bottom: 28px; }
.pricebox { border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.pricebox-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.pricebox-price { font-size: 36px; font-weight: 800; letter-spacing: -0.02em; }
.pricebox-sub { font-size: 14px; color: var(--ink-400); font-weight: 500; }
.pricebox .btn + .btn { margin-top: 10px; }
.pricebox-secure { font-size: 12.5px; color: var(--ink-400); text-align: center; margin-top: 12px; }
.detail-body { padding: 40px 24px 24px; }
.includes-list { list-style: none; margin: 0 0 8px; }
.includes-list li { padding: 8px 0 8px 28px; position: relative; font-size: 16px; line-height: 1.6; color: var(--ink-600); }
.includes-list li::before { content: "✓"; position: absolute; left: 2px; color: var(--blue-600); font-weight: 800; }
.detail-desc p { font-size: 16px; line-height: 1.7; color: var(--ink-600); margin-bottom: 14px; }

/* ---------- 무료 진단 폼 ---------- */
.audit-hero { padding: 88px 24px; text-align: center; }
.audit-form { display: flex; flex-direction: column; gap: 12px; max-width: 480px; margin: 36px auto 0; }
.input { border: 1.5px solid var(--line); border-radius: 12px; padding: 16px 18px; font-size: 16px; font-family: inherit; color: var(--ink-900); background: #fff; }
.input:focus { outline: none; border-color: var(--blue-600); }
.form-msg { display: none; border-radius: 12px; padding: 16px 18px; font-size: 15px; font-weight: 600; margin-top: 4px; }
.form-msg.success { display: block; background: #E7F7EE; color: #0B7A3E; }
.form-msg.error { display: block; background: #FDEBEA; color: var(--red-600); }

/* ---------- 푸터 ---------- */
.footer { background: var(--gray-50); padding: 56px 24px 32px; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; margin-bottom: 36px; }
.footer-brand { max-width: 280px; }
.footer-desc { font-size: 13.5px; line-height: 1.6; color: var(--ink-600); margin-top: 12px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-head { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.footer-link { font-size: 13.5px; color: var(--ink-600); }
.footer-link:hover { color: var(--ink-900); }
.footer-copy { font-size: 12.5px; color: var(--ink-400); border-top: 1px solid var(--line); padding-top: 20px; }

/* ---------- 반응형 ---------- */
@media (max-width: 991px) {
  .grid4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .h1 { font-size: 36px; }
  .h2 { font-size: 27px; }
  .section { padding: 56px 0; }
  .hero { padding: 64px 20px 56px; }
  .hero-sub { font-size: 16px; }
  .grid3, .grid4 { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .cta-band { padding: 56px 20px; }
  .cta-title { font-size: 27px; }
  .page-title { font-size: 32px; }
  .detail-title { font-size: 30px; }
  .stat { font-size: 38px; }
  .price-item { padding: 16px 18px; }
}
