/* ==========================================================================
   국민연금 종합도우미 모던 디자인 시스템 (style.css)
   - 전 기기(PC·모바일) 1컬럼 중앙 정렬 표준 (max-width: 800px)
   - 네이비 & 골드 신뢰성 중심 고수익 최적화 아키텍처
   ========================================================================== */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

:root {
  /* 테마 컬러 팔레트 */
  --primary: #1e3a8a;
  --primary-light: #2563eb;
  --primary-dark: #0f172a;
  --primary-bg: #eff6ff;
  
  --accent: #b45309;
  --accent-light: #d97706;
  --accent-gold: #f59e0b;
  --accent-bg: #fffbeb;
  
  --success: #059669;
  --success-bg: #ecfdf5;
  --danger: #dc2626;
  --danger-bg: #fef2f2;
  --warning: #d97706;
  --warning-bg: #fffbeb;
  
  --text-main: #0f172a;
  --text-sub: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  
  --border: #e2e8f0;
  --border-focus: #2563eb;
  --border-strong: #cbd5e1;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-card: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.10);
  
  --header-height: 68px;
  --content-max-width: 800px;
}

/* 1. 전역 리셋 & 가독성 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.7;
  letter-spacing: -0.015em;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 2. 헤더 & 글로벌 네비게이션 (1060px 메뉴 쪼개짐 방지) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}

.site-header .header-container {
  width: 100%;
  max-width: 1420px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #1e3a8a, #0f172a);
  color: #fbbf24;
  font-size: 1rem;
  font-weight: 900;
  border-radius: 9px;
  box-shadow: 0 2px 6px rgba(30, 58, 138, 0.25);
}

.site-logo .sub-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #d97706;
  background: #fffbeb;
  border: 1px solid #fef3c7;
  padding: 2px 7px;
  border-radius: 6px;
  margin-left: 2px;
}

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

.nav-link {
  font-size: 0.88rem;
  font-weight: 700;
  padding: 8px 11px;
  white-space: nowrap;
  flex-shrink: 0;
  color: var(--text-sub);
  border-radius: 8px;
  transition: all 0.15s ease;
}

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

.nav-link.highlight {
  color: #b45309;
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--bg-subtle);
  gap: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--text-main);
  transition: all 0.2s ease;
}

@media (max-width: 1060px) {
  .main-nav { display: none !important; }
  .mobile-menu-btn { display: flex !important; }
}

/* 모바일 드로어 네비게이션 */
.mobile-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background: #ffffff;
  z-index: 1001;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transition: right 0.25s ease;
  overflow-y: auto;
}

.drawer-header {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.drawer-close-btn {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  padding: 4px;
}

.drawer-menu-list {
  list-style: none;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer-menu-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  border-radius: 8px;
  transition: background 0.15s;
}

.drawer-menu-item a:hover {
  background: var(--primary-bg);
  color: var(--primary-light);
}

.mobile-drawer-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-drawer.active {
  right: 0;
}

/* 3. 메인 레이아웃 규격 (1컬럼 800px 중앙 정렬) */
.page-container {
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 32px 20px 60px;
  flex: 1;
}

/* 히어로 타이틀 */
.page-hero {
  margin-bottom: 28px;
  text-align: left;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1e40af;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.hero-title {
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

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

.accent-text {
  color: var(--primary-light);
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-sub);
}

@media (max-width: 540px) {
  .hero-title {
    font-size: 1.6rem;
    line-height: 1.35;
  }
  .hero-title-line {
    display: block !important;
    white-space: nowrap !important;
  }
}

/* AI 30초 핵심 요약 박스 (.geo-summary-box) */
.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 28px;
  box-shadow: var(--shadow-sm);
}

.geo-summary-box .summary-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.98rem;
  font-weight: 800;
  color: #166534;
  margin-bottom: 10px;
}

.geo-summary-box .summary-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.geo-summary-box .summary-list li {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #1f2937;
  position: relative;
  padding-left: 15px;
}

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

/* 4. 카드 디자인 시스템 (3.3절 표준) */
.card-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.feature-card {
  --card-color: #1e40af;
  --card-tint: #eff6ff;
  display: block;
  padding: 26px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 5px solid var(--card-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.card--check { --card-color: #1e40af; --card-tint: #eff6ff; }
.card--calc  { --card-color: #6d28d9; --card-tint: #f5f3ff; }
.card--docs  { --card-color: #0f766e; --card-tint: #f0fdfa; }
.card--gold  { --card-color: #b45309; --card-tint: #fffbeb; }

a.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10);
  border-color: #cbd5e1;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--card-tint);
  color: var(--card-color);
  font-size: 1.3rem;
  font-weight: 700;
}

.card-label {
  color: var(--card-color);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.card-title {
  margin: 8px 0;
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.4;
}

.card-desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-sub);
}

.card-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--card-color);
  font-weight: 700;
  font-size: 0.92rem;
}

/* 5. 1컬럼 계산기 & 진단 폼 UX (15절 표준) */
.calc-single-column-container {
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.calc-form-card,
.calc-result-card {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: var(--shadow-card);
}

@media (max-width: 640px) {
  .calc-form-card,
  .calc-result-card {
    padding: 20px 18px;
  }
}

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

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

.form-label .required {
  color: var(--danger);
  margin-left: 3px;
}

.form-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.5;
}

/* 인풋 2px 테두리 & 우측 단위 고정 */
.input-with-unit {
  position: relative;
  display: flex;
  align-items: center;
}

.form-input, .form-select {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  background: #ffffff;
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-md);
  transition: all 0.15s ease;
  appearance: none;
}

.input-with-unit .form-input {
  padding-right: 50px;
}

.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.input-unit {
  position: absolute;
  right: 16px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  pointer-events: none;
}

/* 실시간 한글 금액 변환 배지 */
.korean-currency-badge {
  display: inline-block;
  font-size: 0.86rem;
  font-weight: 700;
  color: #1e40af;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 3px 10px;
  border-radius: 6px;
  margin-top: 8px;
  min-height: 26px;
}

/* 원클릭 퀵 조정 칩 */
.quick-adjust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.chip-btn {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-sub);
  transition: all 0.15s ease;
}

.chip-btn:hover {
  background: var(--primary-bg);
  color: var(--primary-light);
  border-color: #bfdbfe;
}

.chip-btn.reset {
  color: var(--danger);
  background: var(--danger-bg);
  border-color: #fecaca;
}

/* 라디오 / 옵션 선택 그리드 */
.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}

.option-box {
  position: relative;
}

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

.option-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 10px;
  background: #ffffff;
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-sub);
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
  min-height: 56px;
}

.option-box input:checked + .option-label {
  border-color: var(--primary-light);
  background: var(--primary-bg);
  color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary-light);
}

/* 폼 하단 결과 확인 대형 액션 버튼 */
.result-action-box {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed var(--border);
  text-align: center;
}

.btn-view-result {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 440px;
  height: 56px;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
  transition: all 0.2s ease;
}

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

.btn-view-result .arrow-icon {
  font-size: 1.3rem;
  animation: bounceDown 1.5s infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

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

/* 6. 결과 리포트 섹션 & 시각적 헤더 */
.result-column-wrapper {
  scroll-margin-top: 85px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-result-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  font-size: 0.88rem;
  font-weight: 800;
  color: #1e3a8a;
  background: #eff6ff;
  border-radius: 8px;
}

.result-section-header {
  padding: 18px 24px;
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  border-left: 6px solid var(--accent-gold);
  border-radius: var(--radius-md);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
}

.result-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.result-header-title h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.result-header-badge {
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.4);
  padding: 4px 10px;
  border-radius: 20px;
}

/* 펄스 강조 애니메이션 */
.highlight-pulse {
  animation: pulseGlow 1.2s ease-in-out;
}

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

/* 결과 대형 수치 박스 */
.result-highlight-card {
  background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%);
  border: 2px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  margin-bottom: 20px;
}

.result-highlight-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
}

.result-value {
  margin: 10px 0;
  font-size: clamp(2.2rem, 6vw, 2.9rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1.15;
}

.result-sub-info {
  font-size: 0.9rem;
  color: var(--text-sub);
}

/* 상세 분석 표 */
.result-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.92rem;
}

.result-table th, .result-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.result-table th {
  background: var(--bg-subtle);
  color: var(--text-main);
  font-weight: 700;
  width: 40%;
}

.result-table td {
  color: var(--text-sub);
  font-weight: 600;
}

.result-table tr:last-child th,
.result-table tr:last-child td {
  border-bottom: none;
}

/* URL 바이럴 공유 배너 */
.share-banner-box {
  margin: 20px 0;
  padding: 16px 20px;
  background: #fffbeb;
  border: 1px dashed #f59e0b;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.share-banner-content strong {
  display: block;
  font-size: 0.92rem;
  color: #92400e;
  margin-bottom: 2px;
}

.share-banner-content p {
  font-size: 0.82rem;
  color: #b45309;
  margin: 0;
}

.btn-share-url {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: #d97706;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 700;
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s ease;
}

.btn-share-url:hover {
  background: #b45309;
}

@media (max-width: 600px) {
  .share-banner-box {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }
  .btn-share-url {
    justify-content: center;
  }
}

/* 7. 상태별 안내 상자 (.notice-box) */
.notice-box {
  padding: 18px 20px;
  border: 1px solid;
  border-left-width: 5px;
  border-radius: var(--radius-md);
  margin: 20px 0;
  font-size: 0.92rem;
  line-height: 1.65;
}

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

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

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

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

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

/* 8. 본문 콘텐츠 스타일 (1500자 이상 심층 아티클) */
.article-section {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  box-shadow: var(--shadow-card);
  margin-bottom: 28px;
}

@media (max-width: 640px) {
  .article-section {
    padding: 22px 18px;
  }
}

.article-section h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 28px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--bg-subtle);
}

.article-section h2:first-of-type {
  margin-top: 0;
}

.article-section h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 22px 0 10px;
}

.article-section p {
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--text-sub);
  margin-bottom: 16px;
}

.article-section ul, .article-section ol {
  padding-left: 22px;
  margin-bottom: 18px;
}

.article-section li {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-sub);
  margin-bottom: 8px;
}

/* 데이터 테이블 */
.data-table-wrapper {
  overflow-x: auto;
  margin: 22px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  text-align: left;
}

.data-table th {
  background: #f1f5f9;
  color: var(--primary-dark);
  font-weight: 800;
  padding: 12px 16px;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}

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

.data-table tbody tr:hover {
  background: #f8fafc;
}

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

/* FAQ 아코디언 */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}

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

.faq-question {
  width: 100%;
  padding: 16px 20px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  background: #ffffff;
  transition: background 0.15s;
}

.faq-question:hover {
  background: var(--bg-subtle);
}

.faq-icon {
  font-size: 1.1rem;
  color: var(--primary-light);
  transition: transform 0.2s ease;
}

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

.faq-answer {
  display: none;
  padding: 16px 20px;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-sub);
  background: #f8fafc;
  border-top: 1px solid var(--border);
}

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

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

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

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

.nexus-header h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.nexus-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.nexus-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  color: inherit;
  transition: all 0.2s ease;
}

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

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

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

.nexus-card h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.nexus-card p {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--text-muted);
  flex-grow: 1;
  margin-bottom: 12px;
}

.nexus-card-link {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-top: auto;
}

@media (max-width: 640px) {
  .nexus-grid {
    grid-template-columns: 1fr;
  }
}

/* 10. 반응형 구글 애드센스 래퍼 (.ad-placement) */
.ad-placement {
  width: 100%;
  max-width: 800px;
  margin: 28px auto;
  padding: 14px 12px;
  box-sizing: border-box;
  text-align: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
}

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

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

@media (max-width: 768px) {
  .ad-placement {
    margin: 20px auto;
    padding: 10px 8px;
  }
}

/* 11. 토스트 알림 (복사 완료 등) */
.toast-container {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #0f172a;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.toast-container.show {
  opacity: 1;
  transform: translateX(-50%) translateY(-10px);
}

/* 12. 푸터 (표준 규격) */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 44px 20px 32px;
  border-top: 1px solid #1e293b;
  margin-top: auto;
}

.footer-container {
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.footer-admin-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-admin-bar a {
  color: #cbd5e1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-admin-bar a:hover {
  color: #ffffff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #1e293b;
  font-size: 0.84rem;
}

.footer-copyright {
  margin-top: 16px;
  font-size: 0.8rem;
  color: #64748b;
}
