/* ==========================================================================
   N잡라운지 공통 헤더·푸터·메인페이지 스타일
   ========================================================================== */
:root {
  --y: #FDB400;
  --yd: #E89E00;
  --yl: #FFF6DB;
  --ink: #1F1F1F;
  --gray: #6B6B6B;
  --border: #E4E4E4;
  --bg: #FAFAFA;
  --font: "Pretendard Variable","Pretendard",-apple-system,BlinkMacSystemFont,system-ui,"Segoe UI","Apple SD Gothic Neo","Malgun Gothic",sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
h1,h2,h3,p,figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; margin: 0; border: 0; cursor: pointer; background: none; }
svg { flex: none; }

/* ══════════════════════════════════════════════════════
   공통 헤더
   ══════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  height: 64px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
.logo {
  flex: none;
  display: inline-flex;
  align-items: center;
  width: 140px;
  max-height: 48px;
}
.logo img { width: auto; height: auto; max-width: 100%; max-height: 44px; }

/* GNB (데스크톱) */
.gnb {
  display: none;
  align-items: center;
  gap: 2px;
  flex: 1;
  margin-left: 24px;
}
.gnb-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray);
  transition: color .15s, background .15s;
}
.gnb-link:hover { color: var(--ink); background: #f5f5f5; }
.gnb-link.is-active { color: var(--ink); font-weight: 700; }

.header-actions { display: none; align-items: center; margin-left: auto; }

.btn-chat-header {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  background: var(--y);
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  border-radius: 8px;
  border: 2px solid var(--yd);
  white-space: nowrap;
  transition: background .15s;
}
.btn-chat-header:hover { background: var(--yd); }

/* 햄버거 */
.btn-hamburger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  margin-left: auto;
  color: var(--ink);
}
.btn-hamburger svg { width: 22px; height: 22px; }

/* 모바일 드롭다운 */
.mobile-menu {
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 8px 0 16px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 0 16px;
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--gray);
  border-radius: 8px;
}
.mobile-nav-link.is-active { color: var(--ink); }
.mobile-nav-link:hover { background: #f5f5f5; color: var(--ink); }
.mobile-nav-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 10px;
  background: var(--y);
  color: var(--ink);
  font-weight: 800;
  font-size: 15px;
  border-radius: 10px;
  border: 2px solid var(--yd);
}

@media (min-width: 768px) {
  .gnb { display: flex; }
  .header-actions { display: flex; }
  .btn-hamburger { display: none; }
}

/* ══════════════════════════════════════════════════════
   공통 푸터
   ══════════════════════════════════════════════════════ */
.site-footer {
  background: #1a1a1a;
  color: #aaa;
  padding: 32px 20px;
  font-size: 13px;
  line-height: 1.7;
  word-break: keep-all;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0 4px;
  margin-bottom: 8px;
}
.footer-row span { white-space: nowrap; }
.footer-row em { font-style: normal; color: #777; }
.footer-row i {
  font-style: normal;
  color: #555;
  margin: 0 4px;
}
.footer-copy { color: #555; margin-top: 4px; }

/* ══════════════════════════════════════════════════════
   공통 버튼 스타일
   ══════════════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  background: var(--y);
  color: var(--ink);
  font-weight: 800;
  font-size: 16px;
  border-radius: 12px;
  border: 2px solid var(--yd);
  cursor: pointer;
  transition: background .15s, transform .1s;
  text-align: center;
}
.btn-primary:hover { background: var(--yd); }
.btn-primary:active { transform: scale(0.98); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  border-radius: 12px;
  border: 2px solid var(--ink);
  cursor: pointer;
  transition: opacity .15s;
}
.btn-secondary:hover { opacity: 0.85; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  border-radius: 12px;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: border-color .15s;
}
.btn-outline:hover { border-color: var(--ink); }

/* ══════════════════════════════════════════════════════
   메인페이지 / 준비중 페이지 베이스 스타일
   ══════════════════════════════════════════════════════ */
.main-page { background: var(--bg); }

.section-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.section-wrap-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 섹션 공통 */
.sec {
  padding: 80px 0;
}
.sec-sm { padding: 60px 0; }
@media (max-width: 767px) {
  .sec { padding: 56px 0; }
  .sec-sm { padding: 44px 0; }
}

.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--yd);
  letter-spacing: .14em;
  margin-bottom: 12px;
}
.sec-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -.03em;
  margin-bottom: 20px;
}
.sec-lead {
  font-size: 17px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 40px;
  word-break: keep-all;
}

/* ─────── 히어로 ─────── */
.hero {
  background: var(--y);
  padding: 80px 20px 88px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  right: -60px;
  top: 20%;
  width: 300px;
  height: 200px;
  background: rgba(255,255,255,.22);
  border-radius: 40px;
  transform: rotate(-10deg);
}
.hero-inner { position: relative; max-width: 780px; margin: 0 auto; }
.hero-badge {
  display: inline-block;
  background: var(--ink);
  color: var(--y);
  font-size: 13px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 20px;
  letter-spacing: .04em;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.04em;
  margin-bottom: 16px;
  word-break: keep-all;
}
.hero-sub {
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 36px;
  color: rgba(0,0,0,.7);
  word-break: keep-all;
}
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ─────── 카드 그리드 ─────── */
.card-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card-grid-2 {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
}
.card-y {
  background: var(--yl);
  border-color: var(--yl);
  border-radius: 16px;
  padding: 28px 24px;
}
.card-icon {
  font-size: 28px;
  margin-bottom: 14px;
  line-height: 1;
}
.card-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.4;
}
.card-desc {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.6;
  word-break: keep-all;
}

/* ─────── 대상 카드 ─────── */
.target-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.target-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.target-num {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--y);
  font-weight: 900;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.target-body { flex: 1; }
.target-title { font-weight: 800; font-size: 16px; margin-bottom: 4px; }
.target-desc { font-size: 14px; color: var(--gray); line-height: 1.55; word-break: keep-all; }

/* ─────── 리포트 소개 ─────── */
.report-sec { background: var(--ink); color: #fff; padding: 80px 0; }
.report-sec .kicker { color: var(--y); }
.report-sec .sec-title { color: #fff; }
.report-sec .sec-lead { color: rgba(255,255,255,.7); }
.part-list {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-bottom: 32px;
}
.part-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 22px 20px;
}
.part-badge {
  display: inline-block;
  background: var(--y);
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  letter-spacing: .04em;
}
.part-name { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.method-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.method-list li {
  font-size: 13.5px;
  color: rgba(255,255,255,.65);
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}
.method-list li::before {
  content: "·";
  position: absolute;
  left: 3px;
  color: var(--y);
}

.report-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.report-meta-item {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 14px;
  color: rgba(255,255,255,.8);
}
.report-meta-item b { color: #fff; }
.report-cta {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
}
.report-cta p { color: rgba(255,255,255,.75); margin-bottom: 20px; font-size: 16px; line-height: 1.6; word-break: keep-all; }

/* ─────── 혜택 섹션 ─────── */
.benefit-list {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.benefit-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
}
.benefit-icon {
  flex: none;
  width: 40px;
  height: 40px;
  background: var(--yl);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.benefit-body { flex: 1; }
.benefit-title { font-weight: 800; font-size: 15px; margin-bottom: 4px; }
.benefit-desc { font-size: 13.5px; color: var(--gray); line-height: 1.55; word-break: keep-all; }

/* ─────── 원칙 섹션 ─────── */
.principle-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.principle-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
}
.principle-icon {
  flex: none;
  font-size: 22px;
  margin-top: 2px;
}
.principle-body { flex: 1; }
.principle-title { font-weight: 800; font-size: 17px; margin-bottom: 6px; }
.principle-desc { font-size: 15px; color: var(--gray); line-height: 1.65; word-break: keep-all; }

/* ─────── FAQ ─────── */
.faq-bg { background: #fff; }
.faq-list {
  border-top: 1px solid var(--border);
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  min-height: 60px;
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-summary::before { content: "Q. "; color: var(--yd); font-weight: 900; flex: none; }
.faq-icon {
  flex: none;
  font-size: 22px;
  color: var(--gray);
  margin-top: -2px;
  transition: transform .2s;
}
details[open] .faq-icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0 0 20px 28px;
  font-size: 15px;
  color: #444;
  line-height: 1.7;
  word-break: keep-all;
}
.faq-answer::before { content: "A. "; font-weight: 900; color: var(--gray); }

/* ─────── 최종 CTA ─────── */
.cta-sec {
  background: var(--y);
  padding: 80px 20px;
  text-align: center;
}
.cta-sec h2 {
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 900;
  letter-spacing: -.03em;
  margin-bottom: 14px;
  line-height: 1.25;
  word-break: keep-all;
}
.cta-sec p {
  font-size: 17px;
  color: rgba(0,0,0,.65);
  margin-bottom: 32px;
  line-height: 1.6;
  word-break: keep-all;
}
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ─────── 준비중 페이지 ─────── */
.coming-wrap {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
}
.coming-inner { max-width: 560px; }
.coming-badge {
  display: inline-block;
  background: var(--yl);
  color: var(--yd);
  font-size: 13px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
  letter-spacing: .04em;
}
.coming-inner h1 {
  font-size: clamp(26px, 5vw, 38px);
  font-weight: 900;
  letter-spacing: -.03em;
  margin-bottom: 16px;
  line-height: 1.25;
}
.coming-inner p {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 32px;
  word-break: keep-all;
}
.coming-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* 햄버거 JS 토글 */
.mobile-menu[hidden] { display: none; }
