/* ==========================================================================
   개인통관고유부호 종합 안내 포털 - 표준 디자인 시스템 (Vanilla CSS)
   - 전 기기(PC·모바일) 1컬럼 중앙 정렬 표준 (최대 너비 800px)
   - 한국어 단어 단위 줄바꿈 전역 적용 (word-break: keep-all)
   - 중요 정보 시각적 위계 & 역할별 카드 구분 (2026-09-16 개정 표준)
   - 모바일 타이틀 2줄 완벽 분리 패턴 (.hero-title-line)
   - 높이 제한 없는 auto 반응형 디스플레이 광고 래퍼 (.ad-placement)
   - 생성형 AI(GEO·AEO) 30초 핵심 요약 박스 (.geo-summary-box)
   - 연관 내부 링크 넥서스 컴포넌트 (.related-nexus-section)
   - 현재 창 열기 원칙 준수 (모든 링크 현재 창 이동)
   ========================================================================== */

/* --- 1. CSS 변수 & 디자인 토큰 --- */
:root {
  --primary: #1e3a8a;        /* 신뢰의 공공 딥 네이비 */
  --primary-light: #2563eb;  /* 로열 블루 */
  --primary-dark: #0f172a;   /* 슬레이트 블랙 */
  --primary-bg: #eff6ff;     /* 연한 소프트 블루 */
  
  --accent: #b45309;         /* 앰버/골드 (주의 및 핵심 강조) */
  --accent-light: #f59e0b;
  --accent-bg: #fffbeb;
  
  --success: #059669;        /* 에메랄드 그린 (발급/정상/안심) */
  --success-bg: #ecfdf5;
  --danger: #dc2626;         /* 레드 (도용/오류/주의) */
  --danger-bg: #fef2f2;
  
  --text-main: #0f172a;
  --text-sub: #334155;
  --text-muted: #64748b;
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 2px 6px rgba(15, 23, 42, 0.06);
  
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
}

/* --- 2. 기본 리셋 & 타이포그래피 --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  word-break: keep-all;       /* 한국어 단어 단위 줄바꿈 전역 적용 */
  overflow-wrap: break-word;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Malgun Gothic", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
}

button, select, input, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* 1컬럼 중앙 정렬 표준 컨테이너 (최대 너비 800px) */
.container {
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* 헤더 전용 확장 컨테이너 (PC 메뉴 줄바꿈 방지 1420px) */
.container-header {
  max-width: 1420px;
}

/* --- 3. 공통 헤더 & 네비게이션 --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.site-logo span.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 1rem;
}

.logo-badge {
  font-size: 0.72rem;
  font-weight: 700;
  background-color: var(--primary-bg);
  color: var(--primary);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  border: 1px solid #bfdbfe;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-sub);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-light);
  background-color: var(--primary-bg);
}

.nav-link.nav-link-diag {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}
.nav-link.nav-link-diag:hover {
  background: #059669;
  color: #ffffff;
}

.nav-link.highlight {
  color: #ffffff;
  background: var(--primary);
  border: 1px solid var(--primary);
}
.nav-link.highlight:hover {
  background: var(--primary-light);
}

/* 모바일 햄버거 버튼 */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2.5px;
  background-color: var(--text-main);
  border-radius: 2px;
  margin: 2.5px 0;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.mobile-menu-btn.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* 모바일 드로어 */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  width: 100%;
  max-height: calc(100vh - 68px);
  overflow-y: auto;
  background: #ffffff;
  border-bottom: 2px solid var(--primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  padding: 16px 20px 32px;
  z-index: 99;
}

.mobile-drawer.open {
  display: block;
}

.drawer-section-title {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 10px 6px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 6px;
}

.mobile-drawer .nav-link {
  display: flex;
  align-items: center;
  padding: 11px 12px;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  margin-bottom: 2px;
}

/* --- 4. 브레드크럼 네비게이션 --- */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 16px;
  margin-bottom: 12px;
}

.breadcrumb-nav a {
  color: var(--text-muted);
}
.breadcrumb-nav a:hover {
  color: var(--primary-light);
  text-decoration: underline;
}
.breadcrumb-nav span.separator {
  color: #cbd5e1;
}
.breadcrumb-nav span.current {
  color: var(--primary);
  font-weight: 700;
}

/* --- 5. 히어로 섹션 & 모바일 2줄 분리 --- */
.hero-section {
  padding: 16px 0 20px;
  text-align: left;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--primary-dark);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.hero-title-line {
  display: inline-block;
  white-space: nowrap;
}

.accent-text {
  color: var(--primary-light);
}

.hero-desc {
  font-size: 1.05rem;
  line-height: 1.68;
  color: var(--text-sub);
  margin-bottom: 18px;
}

.trust-banner-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.trust-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-sub);
  background-color: #f1f5f9;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  border: 1px solid #e2e8f0;
}

/* --- 6. GEO · AEO 30초 핵심 요약 박스 --- */
.geo-summary-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-left: 5px solid #16a34a;
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin: 20px 0 24px 0;
  box-shadow: var(--shadow-sm);
}

.geo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.geo-badge {
  font-size: 0.95rem;
  font-weight: 800;
  color: #15803d;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.geo-sub-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: #166534;
  background: #dcfce7;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.geo-direct-answer {
  font-size: 0.96rem;
  line-height: 1.65;
  color: #14532d;
  font-weight: 600;
  background: #ffffff;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid #dcfce7;
  margin-bottom: 12px;
}

.geo-summary-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.geo-summary-item {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #1f2937;
  position: relative;
  padding-left: 14px;
}

.geo-summary-item::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #16a34a;
  font-weight: bold;
}

.geo-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.geo-fact-card {
  background: #ffffff;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.geo-fact-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

.geo-fact-value {
  font-size: 0.88rem;
  color: #15803d;
  font-weight: 800;
}

/* --- 7. 구글 애드센스 고수익 래퍼 (높이 제한 없음 & auto) --- */
.ad-placement {
  width: 100%;
  max-width: 800px;
  margin: 24px auto;
  padding: 12px;
  box-sizing: border-box;
  text-align: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  /* height / max-height / overflow clipping 지정 금지 */
}

.ad-placement .ad-caption {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ad-placement ins.adsbygoogle {
  display: block;
}

/* --- 8. 홈 전용: 방문자 상황별 5대 빠른 선택지 --- */
.situation-section {
  margin: 24px 0;
}

.section-header-box {
  margin-bottom: 16px;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-desc {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.6;
}

.situation-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.situation-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-left: 5px solid var(--primary-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.situation-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.situation-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.situation-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-bg);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.situation-user-q {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

.situation-action-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 2px;
}

.situation-btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary);
  background: var(--primary-bg);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
}

.situation-card:hover .situation-btn-pill {
  background: var(--primary);
  color: #ffffff;
}

/* 상황 카드 색상 변형 */
.situation-card.card--issue { border-left-color: #2563eb; }
.situation-card.card--lookup { border-left-color: #059669; }
.situation-card.card--change { border-left-color: #6d28d9; }
.situation-card.card--renewal { border-left-color: #d97706; }
.situation-card.card--misuse { border-left-color: #dc2626; }

/* --- 9. 자가진단 및 인터랙티브 폼 (1컬럼 수직) --- */
.calc-form-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
}

.option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.option-item {
  position: relative;
  cursor: pointer;
}

.option-item input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.option-label {
  display: block;
  padding: 13px 14px;
  background: #f8fafc;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-sub);
  text-align: center;
  transition: all var(--transition-fast);
}

.option-item input[type="radio"]:checked + .option-label {
  background: var(--primary-bg);
  border-color: var(--primary-light);
  color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.result-action-box {
  text-align: center;
  padding-top: 18px;
  border-top: 1px dashed var(--border-color);
}

.btn-view-result {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 480px;
  padding: 15px 24px;
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-view-result:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}

.result-action-tip {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* --- 10. 결과 영역 및 펄스 강조 --- */
.result-column-wrapper {
  scroll-margin-top: 85px;
  margin-top: 24px;
}

.result-section-header {
  padding: 14px 20px;
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  border-left: 5px solid var(--accent-light);
  border-radius: 12px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.result-header-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 800;
}

.result-header-badge {
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.2);
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

.result-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-normal);
}

.highlight-pulse {
  animation: pulseHighlight 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes pulseHighlight {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.6);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(37, 99, 235, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
  }
}

/* --- 11. 상태별 알림 박스 (Notice Box) --- */
.notice-box {
  padding: 16px 20px;
  border: 1px solid;
  border-left-width: 5px;
  border-radius: var(--radius-md);
  margin: 18px 0;
  line-height: 1.65;
  font-size: 0.92rem;
}

.notice-box strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.96rem;
}

.notice-box-info {
  background: #eff6ff;
  border-color: #93c5fd;
  border-left-color: #2563eb;
  color: #1e3a8a;
}

.notice-box-warning {
  background: #fffbeb;
  border-color: #fcd34d;
  border-left-color: #f59e0b;
  color: #92400e;
}

.notice-box-danger {
  background: #fef2f2;
  border-color: #fca5a5;
  border-left-color: #ef4444;
  color: #991b1b;
}

.notice-box-success {
  background: #ecfdf5;
  border-color: #6ee7b7;
  border-left-color: #059669;
  color: #065f46;
}

/* --- 12. 공식 링크 안내 박스 (사칭 방지 및 텍스트 URL) --- */
.official-link-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin: 24px 0;
}

.official-link-box .box-title {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.official-link-box .box-desc {
  font-size: 0.88rem;
  color: var(--text-sub);
  margin-bottom: 14px;
}

.official-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.official-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.9rem;
}

.official-link-item .org-name {
  font-weight: 700;
  color: var(--text-main);
}

.official-link-item a {
  font-weight: 700;
  color: var(--primary-light);
  word-break: break-all;
}

.official-link-item a:hover {
  text-decoration: underline;
}

/* 대형 공식 행동 버튼 (CTA) */
.official-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px 20px;
  background: #1e3a8a;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: var(--radius-md);
  margin-top: 14px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
}

.official-cta-btn:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* --- 13. 단계별 절차 카드 (Procedure Step Cards) --- */
.procedure-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}

.step-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.step-number-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--primary);
  color: #ffffff;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
}

.step-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
}

.step-desc {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.65;
}

/* --- 14. 연관 내부 링크 넥서스 컴포넌트 (.related-nexus-section) --- */
.related-nexus-section {
  margin: 36px 0 24px;
  padding: 28px 22px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  text-align: center;
}

.nexus-header {
  margin-bottom: 20px;
}

.nexus-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.nexus-header h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.nexus-header p {
  font-size: 0.88rem;
  color: #64748b;
}

.nexus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  text-align: left;
}

.nexus-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 16px;
  color: inherit;
  transition: all 0.2s ease;
  position: relative;
}

.nexus-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  border-color: #3b82f6;
}

.nexus-card-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: #2563eb;
  background: #eff6ff;
  padding: 2px 8px;
  border-radius: 6px;
  align-self: flex-start;
  margin-bottom: 8px;
}

.nexus-card-icon {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.nexus-card h4 {
  font-size: 0.96rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.nexus-card p {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #64748b;
  flex-grow: 1;
  margin-bottom: 10px;
}

.nexus-card-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: #2563eb;
  margin-top: auto;
}

/* --- 15. 자주 묻는 질문 FAQ (아코디언) --- */
.content-section {
  margin: 32px 0;
}

.content-section h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--primary-light);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  text-align: left;
  background: none;
}

.faq-question:hover {
  background-color: #f8fafc;
}

.faq-q-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--primary-bg);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  margin-right: 6px;
  flex-shrink: 0;
}

.faq-arrow {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 18px 18px;
  font-size: 0.9rem;
  line-height: 1.68;
  color: var(--text-sub);
  border-top: 1px solid #f1f5f9;
  background-color: #fafbfc;
}

.faq-item.active .faq-answer {
  display: block;
}

/* 본문 일반 문단 및 리스트 */
.prose {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text-sub);
}

.prose p {
  margin-bottom: 16px;
}

.prose h3 {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 24px 0 10px;
}

.prose ul, .prose ol {
  margin-bottom: 18px;
  padding-left: 20px;
}

.prose ul {
  list-style: disc;
}
.prose ol {
  list-style: decimal;
}

.prose li {
  margin-bottom: 8px;
  line-height: 1.65;
}

/* 비교 테이블 */
.comparison-table-wrapper {
  overflow-x: auto;
  margin: 20px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  font-size: 0.88rem;
  text-align: left;
}

.comparison-table th {
  background: #f1f5f9;
  color: var(--text-main);
  font-weight: 800;
  padding: 12px 14px;
  border-bottom: 2px solid var(--border-color);
}

.comparison-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-sub);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

/* --- 16. 공통 푸터 --- */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 44px 0 36px;
  margin-top: 54px;
  border-top: 1px solid #1e293b;
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-brand {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #1e293b;
}

.footer-links a {
  color: #cbd5e1;
  font-weight: 600;
}
.footer-links a:hover {
  color: #38bdf8;
  text-decoration: underline;
}

.footer-disclaimer {
  font-size: 0.8rem;
  line-height: 1.65;
  color: #64748b;
  background: #172033;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid #1e293b;
}

.footer-admin-info {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: #64748b;
}

/* --- 17. 반응형 미디어 쿼리 --- */
@media (max-width: 1060px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-btn {
    display: flex !important;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 1.55rem;
    line-height: 1.35;
  }
  .hero-title-line {
    display: block !important;
    white-space: nowrap !important;
  }
  .option-grid {
    grid-template-columns: 1fr;
  }
  .geo-facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nexus-grid {
    grid-template-columns: 1fr;
  }
  .situation-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .situation-btn-pill {
    width: 100%;
    justify-content: center;
  }
  .ad-placement {
    margin: 18px auto;
    padding: 10px 8px;
  }
}
