/* ============================================================
   건수네 웹 제작소 — 모던 클린 UI (2025 리뉴얼)
   젊고 감각적인 브랜딩 · 화이트 + 인디고 + 옐로우 포인트
   ============================================================ */

/* ── 디자인 토큰 ── */
:root {
  /* Brand Colors */
  --brand-indigo:    #4f46e5;
  --brand-indigo-dark: #3730a3;
  --brand-indigo-light: #818cf8;
  --brand-indigo-bg:  #eef2ff;
  --brand-yellow:    #FBBF24;
  --brand-yellow-dark: #D97706;

  /* Kakao */
  --kakao-yellow: #FEE500;
  --kakao-dark:   #3C1E1E;

  /* Neutral */
  --white:  #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;

  /* Typography */
  --font-base: 'Noto Sans KR', 'Inter', sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.12);
  --shadow-indigo: 0 4px 20px rgba(79,70,229,.25);

  /* Legacy alias (keep compatibility) */
  --cafe-cream:   #f9fafb;
  --cafe-warm:    #eef2ff;
  --cafe-brown:   #4f46e5;
  --cafe-accent:  #4f46e5;
  --cafe-dark:    #111827;
}

/* ── 전역 리셋 & 모바일 가로 스크롤 차단 ── */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}
*, *::before, *::after {
  box-sizing: border-box;
}
section, header, footer, .container {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background: var(--white);
  color: var(--gray-900);
  font-family: var(--font-base);
  -webkit-font-smoothing: antialiased;
}

/* ── 탑바 ── */
.topbar {
  background: var(--gray-900);
  color: rgba(255,255,255,.85);
  font-size: .82rem;
  padding: 9px 0;
  letter-spacing: .01em;
}
.topbar a {
  color: var(--brand-yellow);
  text-decoration: none;
  font-weight: 700;
}
.topbar a:hover { text-decoration: underline; }
.topbar strong { color: #fff; }

/* ── 네비게이션 ── */
.navbar {
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.navbar.scrolled {
  background: rgba(255,255,255,.98);
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
}
.logo-mark {
  background: var(--brand-indigo) !important;
  border-radius: 10px !important;
}
.logo-text em {
  color: var(--gray-500);
}
.nav-link {
  color: var(--gray-700) !important;
  font-weight: 500;
  transition: color .18s;
}
.nav-link:hover { color: var(--brand-indigo) !important; }

.nav-link--cta {
  background: var(--kakao-yellow) !important;
  color: var(--kakao-dark) !important;
  border-radius: 999px !important;
  padding: 8px 20px !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 10px rgba(254,229,0,.4);
}
.nav-link--cta:hover {
  background: #f0d800 !important;
  transform: translateY(-1px);
}

/* ── 카카오 버튼 공통 ── */
.btn--kakao {
  background: var(--kakao-yellow) !important;
  color: var(--kakao-dark) !important;
  border: none !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 18px rgba(254,229,0,.4);
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn--kakao:hover {
  background: #f0d800 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(254,229,0,.5);
}
.btn--ghost {
  background: rgba(255,255,255,.1) !important;
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,.3) !important;
  font-weight: 600 !important;
  transition: background .2s, border-color .2s;
}
.btn--ghost:hover {
  background: rgba(255,255,255,.18) !important;
  border-color: rgba(255,255,255,.5) !important;
}

/* ── 신뢰 배너 ── */
.trust-banner {
  background: var(--brand-indigo-bg);
  border-top: 1px solid #c7d2fe;
  border-bottom: 1px solid #c7d2fe;
  padding: 20px 0;
}
.trust-item i { color: var(--brand-indigo); }
.trust-item { color: var(--gray-700); }

/* ── Section 공통 ── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-indigo);
  background: var(--brand-indigo-bg);
  border: 1px solid #c7d2fe;
  border-radius: 999px;
  padding: 5px 16px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.section-title {
  color: var(--gray-900);
  font-weight: 900;
}
.section-desc {
  color: var(--gray-500);
}

/* ── PRICING 단일가 ── */
.pricing { background: var(--gray-50); }

.single-price-wrap {
  max-width: 860px;
  margin: 0 auto;
}
.single-price-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 48px rgba(79,70,229,.14);
  border: 2px solid #c7d2fe;
  display: flex;
  gap: 0;
  overflow: hidden;
}
.single-price-card__left {
  background: linear-gradient(160deg, var(--brand-indigo) 0%, var(--brand-indigo-dark) 100%);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  min-width: 260px;
  flex-shrink: 0;
}
.single-price-badge {
  background: rgba(255,255,255,.18);
  color: #fff;
  border-radius: 999px;
  padding: 5px 16px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  border: 1px solid rgba(255,255,255,.25);
}
.single-price-amount {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.single-price-num {
  font-size: 2.6rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.single-price-label {
  font-size: .78rem;
  color: rgba(255,255,255,.75);
}
.single-price-btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}
.single-price-note {
  font-size: .76rem;
  color: rgba(255,255,255,.65);
  margin-top: -8px;
}

.single-price-card__right {
  padding: 40px 40px 40px 36px;
  flex: 1;
}
.single-price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}
.single-price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .96rem;
  color: var(--gray-700);
  font-weight: 500;
}
.single-price-features li i {
  color: var(--brand-indigo);
  font-size: .95rem;
  flex-shrink: 0;
}
.single-price-process-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--brand-indigo-bg);
  border-radius: 12px;
  padding: 16px 20px;
  border-left: 4px solid var(--brand-indigo);
}
.single-price-process-note i {
  color: var(--brand-indigo);
  font-size: 1.05rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.single-price-process-note p {
  font-size: .88rem;
  color: var(--brand-indigo-dark);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 720px) {
  .single-price-card { flex-direction: column; }
  .single-price-card__left { min-width: unset; padding: 32px 24px; align-items: center; text-align: center; }
  .single-price-card__right { padding: 28px 24px; }
  .single-price-features { grid-template-columns: 1fr; }
}

/* ── PROCESS ── */
.process { background: #fff; }
.process-step {
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: 16px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.process-step:hover {
  border-color: var(--brand-indigo);
  box-shadow: var(--shadow-indigo);
  transform: translateY(-4px);
}
.process-step--highlight {
  border-color: var(--brand-indigo) !important;
  background: var(--brand-indigo-bg) !important;
}
.process-step--highlight .process-step__num {
  background: var(--brand-indigo);
  color: #fff;
}
.process-step--highlight .process-step__icon {
  color: var(--brand-indigo);
}

/* ── CONTACT V2 ── */
.contact-v2 { background: var(--gray-50); }

/* ── FOOTER ── */
.footer {
  background: var(--gray-900);
}
.footer__cta {
  margin-top: 12px;
}

/* ── 플로팅 카카오 버튼 ── */
.kakao-float {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 9999;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.kakao-float__inner {
  width: 72px;
  height: 72px;
  background: var(--kakao-yellow);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  box-shadow: 0 6px 24px rgba(0,0,0,.22);
  transition: transform .2s, box-shadow .2s;
  position: relative;
  z-index: 2;
}
.kakao-float:hover .kakao-float__inner {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,.28);
}
.kakao-float__icon {
  width: 30px;
  height: 30px;
  color: var(--kakao-dark);
}
.kakao-float__label {
  font-size: .7rem;
  font-weight: 800;
  color: var(--kakao-dark);
  line-height: 1;
}
.kakao-float__pulse {
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--kakao-yellow);
  opacity: .45;
  animation: kakao-pulse 2.2s ease-out infinite;
  z-index: 1;
}
@keyframes kakao-pulse {
  0%   { transform: scale(1); opacity: .45; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

@media (max-width: 768px) {
  .kakao-float { bottom: 20px; right: 16px; }
  .kakao-float__inner { width: 66px; height: 66px; }
  .kakao-float__pulse { width: 66px; height: 66px; }
}

/* ── pricing note ── */
.pricing__note {
  background: var(--brand-indigo-bg);
  border-left: 3px solid var(--brand-indigo);
  border-radius: 8px;
  padding: 14px 18px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 24px;
}
.pricing__note i { color: var(--brand-indigo); margin-top: 2px; }
.pricing__note p { color: var(--brand-indigo-dark); font-size: .85rem; margin: 0; line-height: 1.6; }

/* ── scroll-top 버튼 ── */
.scroll-top {
  background: var(--brand-indigo);
}

/* ── bg-light ── */
.bg-light {
  background: var(--gray-50) !important;
}

/* ── 전화번호 탑바 강조 ── */
.topbar__right a {
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .04em;
}
