/* ==========================================================================
   디지털 구독 & OTT 할인 비교 포털 - 표준 모던 디자인 시스템 (style.css)
   규격: 전 기기(PC·모바일) 1컬럼 중앙 정렬 (max-width: 820px)
   ========================================================================== */

:root {
  --primary-dark: #0f172a;
  --primary: #1e3a8a;
  --primary-light: #2563eb;
  --primary-subtle: #eff6ff;
  --accent: #b45309;
  --accent-light: #f59e0b;
  --accent-subtle: #fffbeb;
  --success: #15803d;
  --success-light: #22c55e;
  --success-subtle: #f0fdf4;
  --danger: #b91c1c;
  --danger-subtle: #fef2f2;
  --text-main: #0f172a;
  --text-sub: #334155;
  --text-muted: #64748b;
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --border-focus: #3b82f6;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.12);
  --container-max-width: 820px;
}

*, *::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: -apple-system, BlinkMacSystemFont, "Pretendard", "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   헤더 (Header) & 네비게이션
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

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

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
}

.site-logo svg, .site-logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.site-logo .logo-badge {
  font-size: 0.72rem;
  font-weight: 700;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0f172a;
  padding: 2px 7px;
  border-radius: 6px;
}

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

.nav-link {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 7px 11px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
}

.nav-link.highlight {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
}

/* ==========================================================================
   헤더 드롭다운 네비게이션 (.nav-item-dropdown, .nav-dropdown-menu)
   ========================================================================== */
.nav-item-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: none;
  color: #cbd5e1;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 7px 11px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  font-family: inherit;
}

.nav-dropdown-btn:hover,
.nav-item-dropdown:hover .nav-dropdown-btn,
.nav-item-dropdown:focus-within .nav-dropdown-btn {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-dropdown-btn.active {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
}

.nav-dropdown-arrow {
  font-size: 0.65rem;
  transition: transform 0.2s ease;
  opacity: 0.7;
}

.nav-item-dropdown:hover .nav-dropdown-arrow,
.nav-item-dropdown:focus-within .nav-dropdown-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

/* 드롭다운 메뉴 본체 */
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 8px; /* 마우스 이동 브릿지 */
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.2s;
  z-index: 1000;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-inner {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 5px 15px rgba(0, 0, 0, 0.2);
  padding: 14px;
  min-width: 230px;
  backdrop-filter: blur(16px);
}

/* 메가 드롭다운 (2열 서비스 메뉴) */
.dropdown-mega {
  min-width: 460px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.dropdown-col-title {
  font-size: 0.76rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.5px;
  padding: 4px 8px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 6px;
}

.dropdown-link-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.dropdown-item:hover {
  background: rgba(37, 99, 235, 0.2);
  color: #60a5fa;
  transform: translateX(3px);
}

.dropdown-item.active {
  background: rgba(37, 99, 235, 0.35);
  color: #93c5fd;
  font-weight: 800;
}

.dropdown-item-badge {
  font-size: 0.7rem;
  font-weight: 800;
  background: rgba(37, 99, 235, 0.3);
  color: #93c5fd;
  padding: 1px 6px;
  border-radius: 4px;
}

/* 모바일 메뉴 버튼 */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  cursor: pointer;
}

/* 모바일 드로어 네비게이션 */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  background: #0f172a;
  border-bottom: 2px solid #2563eb;
  padding: 20px;
  z-index: 99;
  flex-direction: column;
  gap: 12px;
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.mobile-nav-drawer.open {
  display: flex;
}

.mobile-nav-link {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.04);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background: #1e3a8a;
  color: #38bdf8;
}

/* 모바일 드로어 그룹 스타일 */
.mobile-nav-group {
  margin-bottom: 12px;
}

.mobile-nav-group-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  padding-left: 6px;
}

.mobile-nav-group-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-sublink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.mobile-nav-sublink:hover,
.mobile-nav-sublink.active {
  background: rgba(37, 99, 235, 0.2);
  border-color: #3b82f6;
  color: #ffffff;
}

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

/* ==========================================================================
   레이아웃 컨테이너 (1컬럼 중앙 정렬 규격: max-width 820px)
   ========================================================================== */
.main-wrapper {
  flex: 1;
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 24px 18px 60px;
}

/* 빵부스러기 네비게이션 */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--primary-light);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs .sep {
  color: #94a3b8;
}

/* ==========================================================================
   히어로 섹션 (Hero Section)
   ========================================================================== */
.hero-section {
  text-align: center;
  padding: 32px 16px 28px;
  margin-bottom: 28px;
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.hero-badge-capsule {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1e3a8a;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--primary-dark);
  margin-bottom: 14px;
  word-break: keep-all;
}

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

.hero-title .accent-text {
  color: #2563eb;
  position: relative;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-sub);
  max-width: 680px;
  margin: 0 auto 24px;
  line-height: 1.65;
}

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

/* ==========================================================================
   실시간 검색기 (Search Bar)
   ========================================================================== */
.search-box-wrapper {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}

.search-input-group {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 2px solid #3b82f6;
  border-radius: var(--radius-lg);
  padding: 6px 14px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.15);
  transition: all 0.2s ease;
}

.search-input-group:focus-within {
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.25);
}

.search-icon {
  font-size: 1.25rem;
  color: #64748b;
  margin-right: 10px;
}

.search-input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 1.02rem;
  color: var(--text-main);
  background: transparent;
  padding: 8px 0;
}

.search-results-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-height: 320px;
  overflow-y: auto;
  z-index: 50;
  text-align: left;
}

.search-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  color: var(--text-main);
  transition: background 0.15s ease;
}

.search-result-item:hover {
  background: var(--primary-subtle);
}

.search-result-title {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-result-badge {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 6px;
  background: #e2e8f0;
  color: #475569;
}

/* ==========================================================================
   AI / GEO 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: 24px 0 30px;
  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: 12px;
}

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

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

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

/* ==========================================================================
   카드 스택 & 특화 카드 시스템 (Card System)
   ========================================================================== */
.card-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

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

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.card--calc { --card-color: #2563eb; --card-tint: #eff6ff; }
.card--finder { --card-color: #0d9488; --card-tint: #f0fdfa; }
.card--compare { --card-color: #7c3aed; --card-tint: #f5f3ff; }
.card--coupon { --card-color: #d97706; --card-tint: #fffbeb; }
.card--gamsgo { --card-color: #e11d48; --card-tint: #fff1f2; }

.card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.card-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--card-color);
  background: var(--card-tint);
  padding: 4px 10px;
  border-radius: 6px;
}

.card-icon {
  font-size: 1.8rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.card-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-sub);
  margin-bottom: 14px;
}

.card-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--card-color);
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
}

/* ==========================================================================
   그리드 뷰 (2열 / 3열 반응형)
   ========================================================================== */
.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 700px) {
  .card-grid-2, .card-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* 서비스 아이템 카드 */
.service-item-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  position: relative;
}

.service-item-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #3b82f6;
}

.service-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.service-card-icon {
  font-size: 1.7rem;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: #f1f5f9;
  border-radius: 10px;
}

.service-card-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text-main);
}

.service-card-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--border-color);
}

.price-strike {
  font-size: 0.85rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.price-discount {
  font-size: 1.15rem;
  font-weight: 800;
  color: #2563eb;
}

/* ==========================================================================
   인터랙티브 도구 컨테이너 (계산기, 진단기)
   규격: 전 기기 1컬럼 중앙 정렬 (max-width 820px)
   ========================================================================== */
.calc-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

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

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

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

.form-hint {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 5px;
}

/* 뚜렷한 2px 테두리 입력창 */
.input-with-unit {
  position: relative;
  display: flex;
  align-items: center;
}

.form-input-control {
  width: 100%;
  height: 50px;
  padding: 0 52px 0 16px;
  border: 2px solid #cbd5e1;
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  background: #ffffff;
  outline: none;
  transition: all 0.2s ease;
}

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

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

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

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

.chip-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-sub);
  cursor: pointer;
  transition: all 0.15s ease;
}

.chip-btn:hover {
  background: #e2e8f0;
  color: var(--text-main);
}

.chip-btn.active {
  background: #1e3a8a;
  color: #ffffff;
  border-color: #1e3a8a;
}

/* 라디오 / 체크박스 선택 박스 */
.selection-box-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (max-width: 540px) {
  .selection-box-group {
    grid-template-columns: 1fr;
  }
}

.selection-box {
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
}

.selection-box:hover {
  border-color: #93c5fd;
  background: #f8fafc;
}

.selection-box input[type="radio"],
.selection-box input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #2563eb;
  cursor: pointer;
}

.selection-box.selected {
  border-color: #2563eb;
  background: #eff6ff;
}

.selection-label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}

/* ==========================================================================
   결과 확인 액션 버튼 & 스무스 스크롤 규격
   ========================================================================== */
.result-action-box {
  margin: 28px 0 10px;
  padding-top: 24px;
  border-top: 2px dashed #e2e8f0;
  text-align: center;
}

.btn-view-result {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 520px;
  min-height: 54px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  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 25px rgba(37, 99, 235, 0.45);
}

.btn-view-result .arrow-icon {
  font-size: 1.25rem;
  transition: transform 0.2s ease;
}

.btn-view-result:hover .arrow-icon {
  transform: translateY(3px);
}

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

/* 결과 영역 헤더 배너 */
.result-column-wrapper {
  scroll-margin-top: 85px;
}

.mobile-result-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 24px 0 16px;
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 700;
  position: relative;
}

.mobile-result-divider::before, .mobile-result-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #cbd5e1;
  margin: 0 12px;
}

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

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

.result-header-badge {
  font-size: 0.75rem;
  font-weight: 700;
  background: #f59e0b;
  color: #0f172a;
  padding: 3px 9px;
  border-radius: 6px;
}

/* 펄스 강조 애니메이션 */
@keyframes highlightPulse {
  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); }
}

.highlight-pulse {
  animation: highlightPulse 1.2s ease-out;
}

/* ==========================================================================
   URL 공유 엔진 배너 (.share-banner-box)
   ========================================================================== */
.share-banner-box {
  background: #fffbeb;
  border: 2px dashed #f59e0b;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

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

.btn-share-url {
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #ffffff;
  border: none;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-share-url:hover {
  background: linear-gradient(135deg, #b45309, #78350f);
}

@media (max-width: 580px) {
  .share-banner-box {
    flex-direction: column;
    text-align: center;
  }
  .btn-share-url {
    width: 100%;
  }
}

/* ==========================================================================
   제휴 CTA 카드 (Affiliate Action Box)
   ========================================================================== */
.affiliate-cta-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  border: 1px solid #38bdf8;
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  color: #ffffff;
  margin: 32px 0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25);
  position: relative;
  overflow: hidden;
}

.affiliate-cta-box::after {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-header-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  background: #f59e0b;
  color: #0f172a;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.affiliate-cta-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #ffffff;
}

.affiliate-cta-desc {
  font-size: 0.95rem;
  color: #cbd5e1;
  margin-bottom: 20px;
  line-height: 1.6;
}

.coupon-copy-row {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.coupon-code-text {
  font-family: monospace;
  font-size: 1.35rem;
  font-weight: 900;
  color: #fbbf24;
  letter-spacing: 1.5px;
}

.btn-copy-code {
  background: #ffffff;
  color: #0f172a;
  border: none;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: auto;
}

.btn-copy-code:hover {
  background: #f1f5f9;
}

.btn-affiliate-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 50px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(34, 197, 94, 0.4);
  transition: all 0.2s ease;
}

.btn-affiliate-link:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #16a34a, #15803d);
}

.cta-sub-notice {
  display: block;
  text-align: center;
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 10px;
}

/* ==========================================================================
   표 (Table) 및 비교 매트릭스
   ========================================================================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: #ffffff;
}

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

.styled-table th {
  background: #f8fafc;
  color: var(--text-main);
  font-weight: 800;
  padding: 12px 16px;
  border-bottom: 2px solid var(--border-color);
  white-space: nowrap;
}

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

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

.styled-table td.strong {
  font-weight: 800;
  color: var(--text-main);
}

.badge-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}

.badge-blue { background: #dbeafe; color: #1e40af; }
.badge-green { background: #dcfce7; color: #166534; }
.badge-gold { background: #fef3c7; color: #92400e; }

/* ==========================================================================
   안내 및 경고 상자 (Notice Boxes)
   ========================================================================== */
.notice-box {
  padding: 18px 20px;
  border: 1px solid;
  border-left-width: 5px;
  border-radius: var(--radius-md);
  margin: 22px 0;
}

.notice-box-info { background: #eff6ff; border-color: #93c5fd; color: #1e3a8a; }
.notice-box-warning { background: #fffbeb; border-color: #f59e0b; color: #92400e; }
.notice-box-danger { background: #fef2f2; border-color: #ef4444; color: #991b1b; }
.notice-box-success { background: #f0fdf4; border-color: #22c55e; color: #166534; }

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

.notice-box p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   구글 애드센스 전용 래퍼 (.ad-placement)
   규격: 높이 제한/잘림 없음, 반응형 display
   ========================================================================== */
.ad-placement {
  width: 100%;
  max-width: var(--container-max-width);
  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;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

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

/* ==========================================================================
   연관 내부 링크 넥서스 (.related-nexus-section)
   규격: 사이트 내 순환 탐색 유도 4대 카드
   ========================================================================== */
.related-nexus-section {
  margin: 44px 0 28px;
  padding: 32px 24px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  text-align: center;
}

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

.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.35rem;
  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: 16px;
  text-align: left;
}

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

.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.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.4rem;
  margin-bottom: 6px;
}

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

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

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

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

/* ==========================================================================
   FAQ 아코디언 컴포넌트
   ========================================================================== */
.faq-section {
  margin: 36px 0;
}

.faq-section h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--primary-dark);
}

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

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

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

.faq-answer {
  display: none;
  padding: 0 20px 16px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-sub);
  border-top: 1px dashed #f1f5f9;
  background: #fafafa;
}

.faq-item.active .faq-answer {
  display: block;
  padding-top: 14px;
}

.faq-toggle-icon {
  font-size: 0.85rem;
  transition: transform 0.2s ease;
  color: #94a3b8;
}

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

/* ==========================================================================
   토스트 알림 (Toast Notification)
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast-message {
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: toastFadeIn 0.3s ease;
  pointer-events: auto;
}

@keyframes toastFadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   풋터 (Footer) - 운영자 정보 및 신뢰도 규격 (Section 8)
   ========================================================================== */
.site-footer {
  margin-top: auto;
  background: #0f172a;
  color: #94a3b8;
  padding: 40px 20px 30px;
  border-top: 1px solid #1e293b;
  font-size: 0.88rem;
  line-height: 1.7;
}

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

.footer-admin-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.footer-admin-bar a {
  color: #cbd5e1;
  text-decoration: none;
}

.footer-admin-bar a:hover {
  color: #38bdf8;
  text-decoration: underline;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 14px 0;
}

.footer-disclaimer-text {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 14px;
}

/* ==========================================================================
   콘텐츠 섹션 & 문서 가독성 디자인 시스템 (Content Section & Guide Styles)
   ========================================================================== */
.content-section {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  margin: 28px 0;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.2s ease;
  scroll-margin-top: 80px;
}

@media (max-width: 640px) {
  .content-section {
    padding: 22px 16px;
    margin: 20px 0;
  }
}

.content-section:hover {
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.07);
}

.section-title-wrap {
  margin-bottom: 16px;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 14px;
}

.section-title-wrap h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
  line-height: 1.4;
  margin-top: 6px;
}

.sub-badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: -0.01em;
}

/* 2열 기능/안전 카드 그리드 */
.feature-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 20px 0;
}

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

.feature-item-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 20px 18px;
  transition: all 0.2s ease;
}

.feature-item-card:hover {
  background: #ffffff;
  border-color: #3b82f6;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.08);
}

.feature-item-card .f-icon {
  font-size: 1.6rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}

.feature-item-card h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.feature-item-card p {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

/* 타임라인 단계별 카드 (Step Cards) */
.timeline-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 22px 0;
}

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 5px solid #2563eb;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.step-card:hover {
  transform: translateX(4px);
  border-color: #2563eb;
  box-shadow: var(--shadow-md);
}

.step-num {
  font-size: 0.78rem;
  font-weight: 900;
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.step-body h4 {
  font-size: 1.08rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.step-body p {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 540px) {
  .step-card {
    flex-direction: column;
    gap: 10px;
  }
}

/* 고대비 비교 테이블 스타일 */
.styled-table,
.styled-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  text-align: left;
}

.styled-table th,
.styled-compare-table th {
  background: #f1f5f9;
  color: #0f172a;
  font-weight: 800;
  padding: 13px 16px;
  border-bottom: 2px solid #cbd5e1;
  white-space: nowrap;
}

.styled-table td,
.styled-compare-table td {
  padding: 13px 16px;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
  line-height: 1.6;
}

.styled-table tr:hover,
.styled-compare-table tr:hover {
  background: #f8fafc;
}

/* 테이블 내 추천 플랫폼 다이렉트 전환 버튼 (.btn-table-cta) */
.btn-table-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  color: #1d4ed8;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.08);
}

.btn-table-cta:hover {
  background: #2563eb;
  color: #ffffff !important;
  border-color: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-table-cta.btn-pickleplus {
  background: #f0fdfa;
  border-color: #99f6e4;
  color: #0f766e;
  box-shadow: 0 1px 3px rgba(13, 148, 136, 0.08);
}

.btn-table-cta.btn-pickleplus:hover {
  background: #0d9488;
  color: #ffffff !important;
  border-color: #0d9488;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

.btn-table-cta .cta-partner-badge {
  font-weight: 800;
}

.btn-table-cta .cta-code-tag {
  background: #ffffff;
  border: 1px dashed currentColor;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.74rem;
  font-family: monospace;
  font-weight: 900;
}

.btn-table-cta:hover .cta-code-tag {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  border-style: solid;
}

.btn-table-cta .cta-arrow-text {
  font-size: 0.76rem;
  font-weight: 800;
  display: inline-block;
  transition: transform 0.2s ease;
}

.btn-table-cta:hover .cta-arrow-text {
  transform: translateX(2px);
}

/* 상단 핵심 요약 카드 내 즉시 추천 플랫폼 다이렉트 링크 바 */
.quick-platform-actions {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed #bfdbfe;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quick-action-title {
  font-size: 0.86rem;
  font-weight: 800;
  color: #1e3a8a;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.quick-action-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-quick-platform {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  color: #ffffff;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.btn-quick-platform.btn-gamsgo {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
}

.btn-quick-platform.btn-gamsgo:hover {
  background: linear-gradient(135deg, #1e40af, #1d4ed8);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}

.btn-quick-platform.btn-pickleplus {
  background: linear-gradient(135deg, #0f766e, #0d9488);
}

.btn-quick-platform.btn-pickleplus:hover {
  background: linear-gradient(135deg, #115e59, #0f766e);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.35);
}

.btn-quick-platform .badge-coupon-pill {
  background: rgba(255, 255, 255, 0.25);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
}

@media (max-width: 540px) {
  .quick-action-buttons {
    flex-direction: column;
  }
  .btn-quick-platform {
    width: 100%;
    justify-content: center;
  }
}

.highlight-price {
  color: #2563eb;
  font-weight: 800;
}

.save-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  background: #dcfce7;
  color: #15803d;
  padding: 2px 8px;
  border-radius: 6px;
}

/* 안내 및 경고 알림 박스 */
.info-alert-box {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-left: 5px solid #0284c7;
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin: 20px 0;
  color: #0369a1;
}

.info-alert-box h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0c4a6e;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.danger-alert-box {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-left: 5px solid #ef4444;
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin: 20px 0;
  color: #991b1b;
}

.danger-alert-box h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #7f1d1d;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 목차 네비게이션 (TOC) */
.toc-box {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
}

.toc-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (max-width: 600px) {
  .toc-list {
    grid-template-columns: 1fr;
  }
}

.toc-item a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
  text-decoration: none;
  transition: all 0.2s ease;
}

.toc-item a:hover {
  background: #eff6ff;
  border-color: #3b82f6;
  color: #1d4ed8;
  transform: translateX(3px);
}

.toc-badge {
  font-size: 0.72rem;
  font-weight: 900;
  background: #2563eb;
  color: #ffffff;
  padding: 1px 6px;
  border-radius: 4px;
}

/* ==========================================================================
   자주 묻는 질문 아코디언 (.faq-section, .faq-item)
   ========================================================================== */
.faq-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.faq-item:hover {
  border-color: #93c5fd;
}

.faq-item.active {
  border-color: #3b82f6;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.1);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 16px 20px;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--primary-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  line-height: 1.5;
  transition: background 0.2s ease, color 0.2s ease;
}

.faq-question:hover {
  background: #f8fafc;
  color: var(--primary-light);
}

.faq-item.active .faq-question {
  background: #eff6ff;
  color: #1d4ed8;
}

.faq-toggle-icon {
  font-size: 0.8rem;
  color: #64748b;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
  color: #1d4ed8;
}

.faq-answer {
  display: none;
  padding: 16px 20px 20px 20px;
  font-size: 0.92rem;
  line-height: 1.75;
  color: #334155;
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
}

.faq-item.active .faq-answer {
  display: block;
  animation: fadeIn 0.25s ease-out;
}

