/* ==========================================================================
   더밸류연구소 (THE VALUE METRIA) - Global Design System & Core Styles
   Based on Storyboard v6.0 & Brand Guidelines
   ========================================================================== */

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

:root {
  /* Brand Palette (TheValueMetria Brand Color Guide v2) */
  --color-primary: #0e6eb8;
  --color-primary-hover: #0b5894;
  --color-primary-light: #e8f1f9;
  --color-primary-soft: rgba(14, 110, 184, 0.08);

  --color-accent: #8ec31f;
  --color-accent-hover: #7ba81b;
  --color-accent-light: #f4fae8;

  /* Neutrals */
  --color-navy: #032245;
  --color-navy-dark: #032245;
  --color-navy-light: #0d386b;
  --color-dark: #032245;
  --color-body: #334155;
  --color-muted: #64748b;
  --color-light: #94a3b8;
  --color-border: #d9dce3;
  --color-border-light: #edf2f7;
  --color-bg-light: #f8fafc;
  --color-white: #ffffff;

  /* Status */
  --color-danger: #ef4444;
  --color-success: #10b981;

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(3, 34, 69, 0.05);
  --shadow-sm: 0 4px 6px -1px rgba(3, 34, 69, 0.06), 0 2px 4px -2px rgba(3, 34, 69, 0.04);
  --shadow-md: 0 10px 15px -3px rgba(3, 34, 69, 0.08), 0 4px 6px -4px rgba(3, 34, 69, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(3, 34, 69, 0.08), 0 8px 10px -6px rgba(3, 34, 69, 0.04);
  --shadow-hover: 0 20px 30px -10px rgba(14, 110, 184, 0.18);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Layout */
  --container-max: 1240px;
  --header-height: 86px;
  --topbar-height: 38px;

  /* Typography */
  --font-base: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  color: var(--color-body);
  background-color: var(--color-bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  outline: none;
  border: none;
  background: none;
}

button {
  cursor: pointer;
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==========================================================================
   Top Utility Bar (스토리보드 image8 스타일 반영)
   ========================================================================== */
.top-utility-bar {
  background-color: #f8fafc;
  border-bottom: 1px solid var(--color-border);
  height: var(--topbar-height);
  font-size: 0.84rem;
  color: var(--color-muted);
}

.top-utility-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-notice-ticker {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  white-space: nowrap;
  max-width: 70%;
}

.top-notice-badge {
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  letter-spacing: -0.2px;
}

.top-notice-link {
  color: var(--color-dark);
  font-weight: 500;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.top-notice-link:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.top-user-menu {
  display: flex;
  align-items: center;
  gap: 14px;
}

.top-user-menu a {
  color: var(--color-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.top-user-menu a:hover {
  color: var(--color-primary);
}

.top-user-menu .divider {
  width: 1px;
  height: 12px;
  background-color: var(--color-border);
}

/* ==========================================================================
   Site Header & GNB (스토리보드 확정 메뉴트리 4대 메뉴)
   1. 독립리서치 | 2. 데이터 | 3. 인사이트 | 4. 더밸류연구소는
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.98);
}

.main-navbar {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Logo (요청사항 1: 메인 상단 CI 크기 약 1.3배 확대) */
.site-logo {
  display: flex;
  align-items: center;
  height: 58px;
}

.site-logo img {
  height: 55px;
  max-height: 55px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.site-logo:hover img {
  transform: scale(1.02);
}

/* GNB Navigation (요청사항 2: 상단 네비게이션 메뉴 글자 약 1.3배 확대 및 CI 균형 조정) */
.gnb-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.gnb-item {
  position: relative;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.gnb-link {
  display: inline-block;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-navy);
  padding: 8px 4px;
  position: relative;
  letter-spacing: -0.5px;
}

.gnb-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
  transition: width 0.25s ease;
}

.gnb-item:hover .gnb-link,
.gnb-item.active .gnb-link {
  color: var(--color-primary);
}

.gnb-item:hover .gnb-link::after,
.gnb-item.active .gnb-link::after {
  width: 100%;
}

/* GNB Submenu Dropdown */
.gnb-dropdown {
  position: absolute;
  top: calc(var(--header-height) - 4px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--color-white);
  min-width: 190px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1010;
}

.gnb-item:hover .gnb-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.gnb-dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-body);
}

.gnb-dropdown a:hover {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  padding-left: 22px;
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark);
  font-size: 1.05rem;
  border: 1px solid transparent;
  transition: var(--transition);
}

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

.btn-mega-menu {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-dark);
  background: var(--color-white);
  transition: var(--transition);
}

.btn-mega-menu:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-light);
}

.mobile-menu-toggle {
  display: none;
}

/* ==========================================================================
   Hero Section (스토리보드 Slide 5, 6 모션 비디오 & 핵심 바로가기 2선)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 580px;
  height: calc(82vh - var(--header-height));
  max-height: 720px;
  display: flex;
  align-items: center;
  color: var(--color-white);
  overflow: hidden;
  background-color: #032245;
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
  filter: brightness(1.08) contrast(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* 요청사항 3: 메인 상단 모션 그래픽 배경 톤을 밝고 산뜻한 브랜드 다크네이비-블루 톤으로 조정 */
  background: linear-gradient(135deg, rgba(3, 34, 69, 0.68) 0%, rgba(111, 111, 111, 0.38) 55%, rgba(232, 241, 249, 0.16) 100%);
  
  z-index: 2;
}

.hero-container {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-content {
  max-width: 780px;
  margin-bottom: 44px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  color: #a5f3fc;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 20px;
  animation: fadeInDown 0.8s ease;
}

.hero-badge-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-accent);
  box-shadow: 0 0 10px var(--color-accent);
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -1px;
  margin-bottom: 18px;

  word-break: keep-all;
}

.hero-title .highlight1 {
  color: #0E6EB8;


}

.hero-title .highlight2 {
  color: #8EC31F;


}

.hero-desc {
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.7;
  color: #cbd5e1;
  word-break: keep-all;
  max-width: 660px;
}

/* Slide 6 Dual Core Cards: 독립리서치 바로가기 & 데이터 바로가기 */
.hero-dual-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
}

.hero-nav-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* 요청사항 4: 독립리서치·데이터 영역 이미지 배경 통일 - 화이트 배경으로 통일하여 이질감 해소 */
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  color: var(--color-navy);
  box-shadow: 0 16px 36px rgba(3, 34, 69, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.25s ease;
  cursor: pointer;
  text-decoration: none;
}

.hero-nav-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 24px 44px rgba(14, 110, 184, 0.25);
  border-color: var(--color-primary);
}

.hero-nav-card-info {
  display: flex;
  flex-direction: column;
}

.hero-nav-card-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.hero-nav-card.research .hero-nav-card-label {
  color: var(--color-primary);
}

.hero-nav-card.data .hero-nav-card-label {
  color: var(--color-accent);
}

.hero-nav-card-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.hero-nav-card-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 6px;
}

.hero-nav-card-action i {
  transition: transform 0.25s ease;
}

.hero-nav-card:hover .hero-nav-card-action i {
  transform: translateX(4px);
}

/* 이미지 컨테이너 배경을 화이트 및 은은한 배지로 일체화하여 이질감 완전 제거 */
.hero-nav-card-visual {
  width: 86px;
  height: 86px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: var(--color-primary-light);
  padding: 10px;
}

.hero-nav-card.data .hero-nav-card-visual {
  background: #f4fae8;
}

.hero-nav-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.hero-nav-card:hover .hero-nav-card-visual img {
  transform: scale(1.1) rotate(2deg);
}

/* ==========================================================================
   Section Common Layout & Headers
   ========================================================================== */
.section-wrapper {
  padding: 80px 0;
}

.section-wrapper.bg-white {
  background-color: var(--color-white);
}

.section-wrapper.bg-soft {
  background-color: #f1f5f9;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 18px;
}

.section-header-titles {
  max-width: 800px;
}

.section-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: -0.8px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 24px;
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
}

.section-subtitle {
  font-size: 1.02rem;
  color: var(--color-muted);
  font-weight: 400;
  letter-spacing: -0.3px;
}

.section-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.section-more-link:hover {
  background-color: var(--color-primary-light);
  transform: translateX(3px);
}

/* ==========================================================================
   Section 1: 최신 독립리서치 (Slide 8, image9 디자인 100% 매칭)
   ========================================================================== */
.research-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.research-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

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

.research-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #f1f5f9;
  overflow: hidden;
}

.research-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.research-card:hover .research-card-media img {
  transform: scale(1.05);
}

.research-card-lock-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(15, 28, 48, 0.85);
  backdrop-filter: blur(4px);
  color: #facc15;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.research-card-body {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.research-card-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.research-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
  line-height: 1.3;
}

.research-card-subtitle {
  font-size: 0.96rem;
  color: var(--color-body);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
  word-break: keep-all;
}

.research-card-footer {
  border-top: 1px solid var(--color-border-light);
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--color-muted);
}

.research-card-author {
  font-weight: 500;
  color: #475569;
}

/* ==========================================================================
   Section 2: 데이터 (Slide 9, image10 디자인 100% 매칭)
   Left: 대형 피처드 카드 / Right: 4개 리스트 카드 (조회수 + 다운로드수 탑재)
   ========================================================================== */
.data-section-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.35fr;
  gap: 28px;
}

/* Left Special Data Feature Card */
.special-data-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.special-data-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.special-data-thumb-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #0f1c30;
  overflow: hidden;
  position: relative;
}

.special-data-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.special-data-card:hover .special-data-thumb-wrap img {
  transform: scale(1.03);
}

.special-data-content {
  padding: 26px 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.special-badge-pill {
  display: inline-block;
  align-self: flex-start;
  background: #e0f2fe;
  color: #0284c7;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}

.special-data-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: -0.6px;
  margin-bottom: 10px;
}

.special-data-desc {
  font-size: 0.96rem;
  color: var(--color-body);
  line-height: 1.6;
  margin-bottom: 22px;
  word-break: keep-all;
  flex-grow: 1;
}

.special-data-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--color-border-light);
  padding-top: 18px;
}

.btn-navy {
  /* 요청사항 5: 자료보기 버튼 등 어두운 색상을 브랜드 블루(#0E6EB8)로 밝고 세련되게 조정 */
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 10px rgba(14, 110, 184, 0.25);
  transition: all 0.25s ease;
}

.btn-navy:hover {
  background-color: var(--color-primary-hover);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(14, 110, 184, 0.35);
}

.data-stats-info {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.data-stats-info span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Right 4 Data List Stack */
.data-news-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.data-news-item {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: var(--transition);
}

.data-news-item:hover {
  border-color: var(--color-primary);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.data-news-info {
  flex-grow: 1;
}

.data-news-meta {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.data-news-meta .date-text {
  color: var(--color-muted);
  font-weight: 400;
}

.data-news-item-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: -0.4px;
  margin-bottom: 6px;
}

.data-news-item-desc {
  font-size: 0.92rem;
  color: var(--color-body);
  margin-bottom: 8px;
}

.data-news-metrics {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.8rem;
  color: var(--color-light);
}

.data-news-metrics span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.data-news-metrics .downloads-count {
  color: var(--color-accent-hover);
  font-weight: 600;
}

/* ==========================================================================
   Section 3: 투자 인사이트 & 최신 뉴스 (Slide 10)
   Filter Tabs: 전체 / 뉴스(유안타 MTS) / AI∙알고리즘 / 칼럼 / 첫걸음 / 행복 / 북리뷰
   ========================================================================== */
.insight-tabs-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.insight-tab-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-body);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  white-space: nowrap;
  transition: var(--transition);
}

.insight-tab-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.insight-tab-btn.active {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  box-shadow: 0 4px 10px rgba(0, 98, 184, 0.25);
}

.insight-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.insight-article-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  cursor: pointer;
}

.insight-article-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.insight-header-badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.insight-category-badge {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
}

.insight-mts-badge {
  font-size: 0.74rem;
  font-weight: 600;
  color: #0369a1;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.insight-card-title {
  font-size: 1.18rem;
  font-weight: 750;
  color: var(--color-navy);
  line-height: 1.4;
  letter-spacing: -0.4px;
  margin-bottom: 10px;
  word-break: keep-all;
}

.insight-card-summary {
  font-size: 0.92rem;
  color: var(--color-body);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.insight-card-footer {
  border-top: 1px solid var(--color-border-light);
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--color-muted);
}

/* ==========================================================================
   Section 4: 더밸류연구소 소식 (Slide 11: 보도자료 & 알립니다)
   ========================================================================== */
.notice-press-split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.notice-box {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 28px 30px;
  box-shadow: var(--shadow-xs);
}

.notice-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--color-dark);
  padding-bottom: 12px;
}

.notice-box-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.notice-box-list {
  display: flex;
  flex-direction: column;
}

.notice-box-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border-light);
  gap: 16px;
  font-size: 0.94rem;
  transition: var(--transition);
}

.notice-box-item:last-child {
  border-bottom: none;
}

.notice-item-link {
  color: var(--color-dark);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex-grow: 1;
}

.notice-box-item:hover .notice-item-link {
  color: var(--color-primary);
  padding-left: 4px;
}

.notice-pin-tag {
  background: #fef2f2;
  color: #dc2626;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  margin-right: 6px;
}

.notice-date-text {
  font-size: 0.82rem;
  color: var(--color-light);
  white-space: nowrap;
}

/* ==========================================================================
   Footer (Slide 7, 12, 14 및 1.txt 필수정보)
   요청사항 5: 메인 하단 푸터 어두운 색상을 브랜드 다크 네이비(#032245)로 세련되게 조정
   ========================================================================== */
.site-footer {
  background-color: var(--color-navy);
  color: #94a3b8;
  padding: 56px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
}

.footer-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 24px;
  margin-bottom: 30px;
}

.footer-logo img {
  height: 38px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-nav-links a {
  color: #cbd5e1;
  font-weight: 500;
  font-size: 0.9rem;
}

.footer-nav-links a.highlight {
  color: #38bdf8;
  font-weight: 700;
}

.footer-nav-links a:hover {
  color: var(--color-white);
  text-decoration: underline;
}

.footer-content-row {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-company-details {
  max-width: 720px;
  line-height: 1.8;
  color: #94a3b8;
}

.footer-company-details strong {
  color: #e2e8f0;
}

.footer-info-line {
  margin-bottom: 6px;
}

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

/* Family Site Select Box (스토리보드 Slide 12: 하단 오른쪽 배치) */
.footer-family-site-wrap {
  min-width: 240px;
}

.family-site-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.family-site-select {
  width: 100%;
  padding: 10px 14px;
  background: #1e293b;
  color: #f1f5f9;
  border: 1px solid #334155;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  cursor: pointer;
  appearance: auto;
}

.family-site-select:focus {
  border-color: var(--color-primary);
}

/* ==========================================================================
   Modals & Overlays
   1. 유료회원 결제안내 모달 (Slide 8 지시)
   2. 데이터 상세/다운로드 모달
   3. 전체메뉴 (메가메뉴) 오버레이
   4. 통합 검색 모달
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 19, 34, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px -12px rgba(3, 34, 69, 0.35);
  width: 100%;
  /* 요청사항 6: 독립리서치 팝업 여백 2배 확대에 맞추어 다이얼로그 너비도 여유 있게 확대 */
  max-width: 680px;
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.modal-backdrop.active .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-header {
  /* 요청사항 6: 상·하·좌·우 여백 약 2배 확대 */
  padding: 30px 48px;
  background: #f8fafc;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-navy);
}

.modal-close-btn {
  font-size: 1.3rem;
  color: var(--color-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn:hover {
  background: #e2e8f0;
  color: var(--color-dark);
}

.modal-body {
  /* 요청사항 6: 팝업 내부 상·하·좌·우 여백을 현재(28px)보다 약 2배 정도 확대 (48px 52px) */
  padding: 48px 52px;
  max-height: 75vh;
  overflow-y: auto;
}

/* Premium Lock Modal Specifics */
.premium-modal-visual {
  text-align: center;
  margin-bottom: 28px;
}

.premium-modal-icon {
  width: 76px;
  height: 76px;
  background: #eff6ff;
  border: 2px solid #bfdbfe;
  color: var(--color-primary);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.premium-modal-badge {
  display: inline-block;
  background: #fef3c7;
  color: #b45309;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.premium-plan-card {
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  background: #f0f7ff;
  margin: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.premium-plan-price {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--color-primary);
}

.premium-features-list {
  margin: 24px 0;
}

.premium-features-list li {
  font-size: 0.92rem;
  color: var(--color-body);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.premium-features-list li i {
  color: var(--color-accent-hover);
}

/* Mega Menu Full Overlay */
.mega-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 19, 34, 0.96);
  backdrop-filter: blur(16px);
  z-index: 2100;
  color: var(--color-white);
  padding: 40px 0 60px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  max-height: 100vh;
  overflow-y: auto;
}

.mega-menu-overlay.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 20px;
  margin-bottom: 36px;
}

.mega-menu-title-group {
  display: flex;
  flex-direction: column;
}

.mega-menu-badge {
  font-size: 0.76rem;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 1px;
}

.mega-menu-heading {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-white);
}

.btn-mega-close {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-mega-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}

.mega-col-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #38bdf8;
  border-bottom: 2px solid rgba(56, 189, 248, 0.3);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.mega-col-title a:hover {
  color: var(--color-white);
}

.mega-col-list li {
  margin-bottom: 12px;
}

.mega-col-list a {
  color: #cbd5e1;
  font-size: 0.98rem;
  font-weight: 500;
}

.mega-col-list a:hover {
  color: #38bdf8;
  padding-left: 6px;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 14px 22px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  border-left: 4px solid var(--color-accent);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 500;
  pointer-events: auto;
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .gnb-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .btn-mega-menu {
    display: none;
  }

  .research-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .data-section-grid {
    grid-template-columns: 1fr;
  }

  .insight-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mega-menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
    --topbar-height: auto;
  }

  .top-utility-inner {
    flex-direction: column;
    padding: 8px 16px;
    gap: 6px;
    align-items: flex-start;
  }

  .top-notice-ticker {
    max-width: 100%;
  }

  .hero-section {
    min-height: 520px;
    height: auto;
    padding: 60px 0;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-dual-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .research-grid {
    grid-template-columns: 1fr;
  }

  .insight-cards-grid {
    grid-template-columns: 1fr;
  }

  .notice-press-split {
    grid-template-columns: 1fr;
  }

  .footer-top-row,
  .footer-content-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-family-site-wrap {
    width: 100%;
  }

  .mega-menu-grid {
    grid-template-columns: 1fr;
  }
}