/* ── Lampstand AI — 공용 스타일 (Toss-inspired) ── */

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

:root {
  --bg:          #ffffff;
  --text:        #0d0d0d;
  --text-2:      #4b5563;
  --text-3:      #9ca3af;
  --accent:      #2563eb;
  --accent-h:    #1d4ed8;
  --accent-light:#eff6ff;
  --brand:       #b8941e;
  --border:      #e5e7eb;
  --surface:     #f9fafb;
  --surface-2:   #f3f4f6;
  --font:        'Pretendard Variable', 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }

/* ── 레이아웃 ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ── 버튼 ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 22px; border-radius: 8px;
  font-size: 0.92rem; font-weight: 600; font-family: var(--font);
  cursor: pointer; border: none; text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.btn-primary  { background: var(--accent); color: #fff; }
.btn-primary:hover  { background: var(--accent-h); }
.btn-secondary { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-secondary:hover { border-color: #9ca3af; background: var(--surface); }
.btn-dark { background: var(--text); color: #fff; }
.btn-dark:hover { background: #1f2937; }
.btn-lg { padding: 14px 28px; font-size: 1rem; border-radius: 10px; }

/* ── 서브페이지 히어로 (공통) ── */
.page-hero {
  padding: 80px 0 64px;
  min-height: 280px;
  position: relative;
  background: url('https://images.unsplash.com/photo-1480561807109-e2aa33f23be8?w=1400&q=80&fit=crop&auto=format') center/cover no-repeat;
  border-bottom: 1px solid #e4d9c4;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(253,250,245,0.88);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .section-label { margin-bottom: 12px; }
.page-hero h1 {
  font-size: clamp(2rem,4vw,2.8rem); font-weight:900;
  letter-spacing:-0.035em; margin-bottom:16px;
  color: #111;
}
.page-hero p { font-size:1.05rem; color:var(--text-2); max-width:560px; line-height:1.75; margin: 0 auto; }

/* ── 섹션 공통 타이포 ── */
.section-label {
  font-size: 0.78rem; font-weight: 700; color: var(--accent);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800; letter-spacing: -0.025em; line-height: 1.2;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1rem; color: var(--text-2); line-height: 1.75;
}

/* ── 헤더 ── */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  font-size: 1.05rem; font-weight: 800; color: var(--text);
  text-decoration: none; display: flex; align-items: center; gap: 8px;
  letter-spacing: -0.02em;
}
.logo img { width: 28px; height: 28px; object-fit: contain; flex-shrink: 0; }
.logo-ai { color: var(--brand); }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a {
  font-size: 0.88rem; font-weight: 500; color: var(--text-2);
  text-decoration: none; transition: color 0.15s;
}
.site-nav a:hover { color: var(--text); }

/* ── 푸터 ── */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.footer-brand { font-size: 1rem; font-weight: 800; margin-bottom: 10px; }
.footer-tagline { font-size: 0.85rem; color: var(--text-2); line-height: 1.6; margin-bottom: 16px; }
.footer-biz { font-size: 0.76rem; color: var(--text-3); line-height: 1.9; }
.footer-col-title {
  font-size: 0.78rem; font-weight: 700; color: var(--text);
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px;
}
.footer-col a {
  display: block; font-size: 0.85rem; color: var(--text-2);
  text-decoration: none; margin-bottom: 10px; transition: color 0.15s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { font-size: 0.78rem; color: var(--text-3); }

/* ── 카카오 플로팅 버튼 ── */
.kakao-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 52px; height: 52px; border-radius: 50%;
  background: #FEE500; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.14);
  transition: transform 0.15s, box-shadow 0.15s;
}
.kakao-float:hover { transform: scale(1.06); box-shadow: 0 6px 22px rgba(0,0,0,0.18); }
.kakao-float svg { width: 28px; height: 28px; }

/* ── 햄버거 메뉴 버튼 ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 201;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── 반응형 ── */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .header-inner {
    flex-wrap: wrap;
    height: auto;
    min-height: 64px;
    align-items: center;
    padding: 0;
  }
  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 0 0 12px;
    border-top: 1px solid var(--border);
    order: 3;
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    font-size: 1rem; font-weight: 500;
    padding: 13px 4px;
    border-bottom: 1px solid var(--surface-2);
    color: var(--text-2);
  }
  .site-nav a:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
