/* ============================================================
   신재생e통합센터 - "Clean Energy Flow & Professional Trust"
   Primary: Deep Ocean Blue (#0050A0)
   Secondary: Bright Cyan (#00A8E8)
   Background: White (#FFFFFF), Cool Gray (#F5F7FA)
   ============================================================ */

/* ── Fonts ── */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

/* ── Design Tokens ── */
:root {
  --color-primary: #0050A0;
  --color-primary-dark: #003670;
  --color-primary-light: #1a6fc4;
  --color-secondary: #00A8E8;
  --color-accent: #00d4ff;
  --color-gradient: linear-gradient(135deg, #0050A0 0%, #00A8E8 100%);
  --color-gradient-hover: linear-gradient(135deg, #003670 0%, #0090cc 100%);

  --white: #ffffff;
  --bg-body: #F5F7FA;
  --bg-card: #ffffff;
  --bg-light: #EBF2FA;
  --bg-hover: #E3F0FF;

  --border-light: #E2E8F0;
  --border-card: rgba(0, 80, 160, 0.06);

  --text-dark: #0F1B2D;
  --text-medium: #4A5568;
  --text-light: #94A3B8;
  --text-white: #ffffff;
  --text-primary: #0050A0;

  --shadow-sm: 0 1px 3px rgba(0, 80, 160, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 80, 160, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 80, 160, 0.12);
  --shadow-card: 0 2px 16px rgba(0, 80, 160, 0.06);
  --shadow-hover: 0 8px 32px rgba(0, 80, 160, 0.14);
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.12);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;

  --max-width: 1200px;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: var(--bg-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  word-break: keep-all;
  overflow-wrap: break-word;
}

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

ul,
ol {
  list-style: none;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Sub-page Hero (서브페이지 상단) ── */
.page-hero {
  padding-top: calc(var(--header-height) + 48px);
  padding-bottom: 40px;
  background: var(--color-gradient);
  color: var(--text-white);
}

.page-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.page-hero p {
  font-size: 1rem;
  opacity: 0.85;
}

.section-padding {
  padding: 48px 0 60px;
}

/* ── Sub-page Header (기존 서브페이지 상단) ── */
.page-header {
  padding-top: calc(var(--header-height) + 48px);
  padding-bottom: 40px;
  background: var(--color-gradient);
  color: var(--text-white);
}

.page-header h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-white);
}

.page-header p {
  font-size: 1rem;
  opacity: 0.85;
  color: var(--text-white);
}

.page-header .breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 12px;
  opacity: 0.7;
}

.page-header .breadcrumb a {
  color: var(--text-white);
}

.page-header .breadcrumb .sep {
  margin: 0 6px;
}

/* ============================================================
   HEADER / NAVIGATION
   - 히어로 위에선 투명+흰색 글씨
   - 스크롤 시 흰색 배경+파란 글씨
   ============================================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background: #ffffff;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

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

/* 로고: 히어로 위 흰색 → 스크롤 시 파란색 */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-white);
  letter-spacing: -0.02em;
  transition: var(--transition);
}

header.scrolled .logo {
  color: var(--color-primary);
}

.logo svg {
  color: inherit;
  transition: var(--transition);
}

.logo-sub {
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  display: block;
  margin-top: -2px;
  transition: var(--transition);
}

header.scrolled .logo-sub {
  color: var(--text-light);
}

/* 네비게이션 */
.nav-menu {
  display: flex;
  align-items: stretch;
  gap: 4px;
  height: 100%;
}

.nav-menu>li {
  display: flex;
  align-items: center;
}

.nav-item {
  display: flex;
  align-items: center;
  padding: 0 16px;
  height: 28px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}

.nav-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-item.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

header.scrolled .nav-item {
  color: var(--text-medium);
}

header.scrolled .nav-item:hover {
  color: var(--color-primary);
  background: var(--bg-hover);
}

header.scrolled .nav-item.active {
  color: var(--color-primary);
  background: var(--bg-light);
}

/* 헤더 유틸리티 버튼 */
.header-util {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-header-cta {
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--color-secondary);
  color: var(--text-white);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: -0.01em;
}

.btn-header-cta:hover {
  background: #0090cc;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 168, 232, 0.35);
}

/* 모바일 메뉴 토글 */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-white);
  transition: var(--transition);
}

header.scrolled .menu-toggle {
  color: var(--text-dark);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #001a3a;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bg svg {
  width: 100%;
  height: 100%;
}

/* 히어로 오버레이: 어둡고 푸른 그래디언트 */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(0, 40, 90, 0.85) 0%,
      rgba(0, 80, 160, 0.7) 40%,
      rgba(0, 168, 232, 0.5) 100%);
  z-index: 1;
}

/* 히어로 그리드 라인 애니메이션 */
.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.15;
}

.hero-grid-lines::before,
.hero-grid-lines::after {
  content: '';
  position: absolute;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 168, 232, 0.3) 50%, transparent 100%);
}

.hero-grid-lines::before {
  width: 120%;
  height: 1px;
  top: 40%;
  left: -10%;
  animation: gridLine1 8s ease-in-out infinite;
}

.hero-grid-lines::after {
  width: 1px;
  height: 120%;
  left: 60%;
  top: -10%;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 168, 232, 0.3) 50%, transparent 100%);
  animation: gridLine2 10s ease-in-out infinite;
}

@keyframes gridLine1 {

  0%,
  100% {
    opacity: 0.3;
    transform: translateX(-5%);
  }

  50% {
    opacity: 1;
    transform: translateX(5%);
  }
}

@keyframes gridLine2 {

  0%,
  100% {
    opacity: 0.3;
    transform: translateY(-5%);
  }

  50% {
    opacity: 1;
    transform: translateY(5%);
  }
}

/* 파티클 */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(0, 200, 255, 0.5);
  border-radius: 50%;
  animation: float-up linear infinite;
}

@keyframes float-up {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 0.6;
  }

  100% {
    transform: translateY(-10vh) scale(1.2);
    opacity: 0;
  }
}

/* 히어로 컨텐츠 */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 0 90px;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 200, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 28px;
  border: 1px solid rgba(0, 200, 255, 0.2);
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.25;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  max-width: 560px;
}

.hero-buttons,
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  letter-spacing: -0.01em;
  font-family: inherit;
}

.btn-gradient {
  background: var(--color-gradient);
  color: var(--text-white);
  box-shadow: 0 4px 16px rgba(0, 80, 160, 0.35);
}

.btn-gradient:hover {
  background: var(--color-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 80, 160, 0.45);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--text-white);
  box-shadow: 0 4px 12px rgba(0, 80, 160, 0.3);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 80, 160, 0.4);
}

.btn-white {
  background: var(--white);
  color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

.btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

.btn-outline-blue {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline-blue:hover {
  background: var(--color-primary);
  color: var(--text-white);
  transform: translateY(-2px);
}

/* ============================================================
   QUICK ACCESS CARDS (Floating, Glassmorphism)
   ============================================================ */
.quick-cards-section {
  position: relative;
  z-index: 10;
  margin-top: -80px;
  padding-bottom: 80px;
}

.quick-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.quick-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.quick-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-gradient);
  opacity: 0;
  transition: var(--transition);
}

.quick-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 168, 232, 0.3);
}

.quick-card:hover::before {
  opacity: 1;
}

.quick-card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: var(--bg-light);
  transition: var(--transition);
}

.quick-card:hover .quick-card-icon {
  background: var(--color-gradient);
}

.quick-card-icon svg {
  width: 30px;
  height: 30px;
  color: var(--color-primary);
  transition: var(--transition);
}

.quick-card:hover .quick-card-icon svg {
  color: white;
}

.quick-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.quick-card p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ============================================================
   SECTION
   ============================================================ */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1rem;
  color: var(--text-light);
}

/* ============================================================
   INFORMATION HUB (좌우 분할)
   ============================================================ */
.info-hub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.info-hub-left {
  background: linear-gradient(135deg, #EBF2FA 0%, #E3F0FF 100%);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}

.info-hub-left h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

/* 인포그래픽 플로우 */
.infographic-flow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.flow-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.flow-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 80, 160, 0.25);
}

.flow-icon svg {
  width: 24px;
  height: 24px;
}

.flow-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
}

.flow-arrow {
  color: var(--color-secondary);
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: -20px;
}

.link-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
}

.link-text:hover {
  gap: 10px;
  color: var(--color-primary-dark);
}

/* 우측: 실시간 현황 & 알림 */
.info-hub-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 라이브 데이터 위젯 */
.live-widget {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-card);
}

.live-widget h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }

  50% {
    opacity: 0.7;
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
}

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

.counter-item {
  text-align: center;
  padding: 16px 8px;
  border-radius: var(--radius-md);
  background: var(--bg-light);
}

.counter-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.counter-unit {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-secondary);
}

.counter-label {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* 최신 공지사항 */
.notice-widget {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-card);
  flex: 1;
}

.notice-widget h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg-light);
}

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

.notice-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-medium);
  padding: 6px 0;
  transition: var(--transition-fast);
  cursor: pointer;
}

.notice-item:hover {
  color: var(--color-primary);
}

.notice-tag {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background: #FEE2E2;
  color: #DC2626;
}

.notice-tag.info {
  background: #DBEAFE;
  color: #2563EB;
}

/* ============================================================
   CTA BANNER (고객 지원)
   ============================================================ */
.cta-banner {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-card);
}

.cta-banner h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.cta-banner h3 span {
  color: var(--color-primary);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--color-primary-dark);
  padding: 56px 0 0;
  color: rgba(255, 255, 255, 0.6);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 16px;
}

.footer-info p {
  font-size: 0.82rem;
  line-height: 1.8;
  white-space: nowrap;
}

.footer-nav h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition-fast);
}

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

.footer-contact {
  text-align: right;
}

.footer-contact .phone {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.01em;
}

.footer-contact .hours {
  font-size: 0.8rem;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
}

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

.footer-bottom-links a.highlight {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
}

/* 기존 호환용 footer-inner */
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

/* ============================================================
   PAGE HEADER (Sub-pages)
   ============================================================ */
.page-header {
  background: var(--color-gradient);
  padding: 52px 0 44px;
  margin-top: var(--header-height);
}

.page-header h2 {
  color: var(--text-white);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-header p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 8px;
  font-size: 0.95rem;
}

.page-header .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
}

.page-header .breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
}

.page-header .breadcrumb a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.page-header .breadcrumb .sep {
  font-size: 0.7rem;
}

/* ============================================================
   TABS
   ============================================================ */
.tabs-container {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-card);
  position: relative;
}

.tabs-menu {
  display: flex;
  background: #f8fafc;
  padding: 8px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border-bottom: 1px solid var(--border-card);
  gap: 8px;
  position: sticky;
  top: var(--header-height);
  z-index: 90;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.tab-btn {
  flex: 1;
  padding: 14px 20px;
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-medium);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  white-space: nowrap;
  font-family: inherit;
  z-index: 1;
}

.tab-btn:hover {
  color: var(--color-primary);
  background: rgba(0, 80, 160, 0.04);
  transform: translateY(-2px);
}

.tab-btn.active {
  color: var(--color-primary);
  background: var(--bg-card);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.tab-content {
  display: none;
  padding: 36px;
  animation: fadeIn 0.3s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

/* ============================================================
   INNER TABS (Sub-toggles)
   ============================================================ */
.inner-tabs {
  display: flex;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 6px;
  gap: 6px;
  margin-bottom: 24px;
  border: 1px solid var(--border-light);
}

.inner-tab-btn {
  flex: 1;
  padding: 12px;
  background: transparent;
  border: none;
  border-radius: calc(var(--radius-md) - 4px);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-medium);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.inner-tab-btn:hover {
  color: var(--color-primary);
  background: rgba(0, 80, 160, 0.04);
}

.inner-tab-btn.active {
  background: white;
  color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.inner-tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.inner-tab-content.active {
  display: block;
}

/* ============================================================
   ACCORDION (FAQ)
   ============================================================ */
.accordion-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.accordion-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition);
}

.accordion-item.active {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  cursor: pointer;
  transition: var(--transition-fast);
  gap: 12px;
}

.accordion-header:hover {
  background: var(--bg-hover);
}

.accordion-header .q-badge {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  background: var(--bg-light);
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.accordion-item.active .q-badge {
  background: var(--color-primary);
  color: var(--text-white);
}

.accordion-header h4 {
  flex: 1;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
}

.accordion-arrow {
  flex-shrink: 0;
  transition: var(--transition);
  color: var(--text-light);
}

.accordion-item.active .accordion-arrow {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.active .accordion-body {
  max-height: 3000px;
}

.accordion-body-inner {
  padding: 0 24px 24px;
  padding-left: 66px;
}

.accordion-body-inner p,
.accordion-body-inner li {
  font-size: 0.9rem;
  color: var(--text-medium);
  line-height: 1.7;
}

.accordion-body-inner ul {
  margin-top: 8px;
}

.accordion-body-inner li {
  padding-left: 16px;
  position: relative;
  margin-bottom: 4px;
}

.accordion-body-inner li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

.faq-category-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--bg-light);
  padding: 3px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 16px;
}

/* ============================================================
   CARDS (general)
   ============================================================ */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-card);
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: var(--bg-light);
}

.card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.5;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: 12px;
  transition: var(--transition-fast);
}

.card-link:hover {
  gap: 8px;
}

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

.quick-menu .card {
  text-align: center;
  cursor: pointer;
}

/* ============================================================
   PROCESS TIMELINE
   ============================================================ */
.process-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding: 40px 0;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--border-light);
  z-index: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  flex: 1;
  cursor: pointer;
  transition: var(--transition);
}

.process-step:hover .step-circle {
  transform: scale(1.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.step-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e2e8f0;
  /* 비활성 배경 */
  color: var(--text-medium);
  /* 비활성 텍스트 */
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 12px;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.step-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-medium);
  /* 기본 텍스트 색상 */
  transition: var(--transition);
}

/* 활성 상태 (클릭된 단계) */
.process-step.active .step-circle {
  background: var(--color-primary);
  color: var(--text-white);
  transform: scale(1.15);
  box-shadow: 0 4px 20px rgba(0, 80, 160, 0.3);
}

.process-step.active .step-label {
  color: var(--color-primary);
  font-weight: 800;
  max-width: 100px;
  line-height: 1.3;
}

.step-sub {
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 4px;
  max-width: 110px;
}

.step-detail {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-card);
  margin-top: 24px;
  display: none;
  animation: fadeIn 0.3s ease;
}

.step-detail.active {
  display: block;
}

.step-detail h3 {
  color: var(--color-primary);
  font-size: 1.1rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg-light);
}

/* ============================================================
   INFO BOXES
   ============================================================ */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.info-box {
  background: var(--bg-light);
  border-left: 4px solid var(--color-primary);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.info-box h4 {
  color: var(--color-primary);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.info-box p,
.info-box li {
  font-size: 0.88rem;
  color: var(--text-medium);
  line-height: 1.6;
}

.info-box.warning {
  background: #fff5f5;
  border-color: #e53e3e;
}

.info-box.warning h4 {
  color: #c53030;
}

.info-box.notice {
  background: #fff8e1;
  border-color: #f59e0b;
}

.info-box.notice h4 {
  color: #d97706;
}

/* ============================================================
   PROCESS STEPS SECTOR LAYOUT
   ============================================================ */
.process-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

@media (max-width: 992px) {
  .process-content-grid {
    grid-template-columns: 1fr;
  }
}

.sector-layout {
  padding: 24px;
  border-radius: var(--radius-md);
  height: 100%;
  border: 1px solid transparent;
}

.sector-layout h4 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sector-blue {
  background: #F0F7FF;
  border-color: #D1E5FB;
}

.sector-blue h4 {
  color: #0050A0;
}

.sector-red {
  background: #FFF5F5;
  border-color: #FED7D7;
}

.sector-red h4 {
  color: #E53E3E;
}

.sector-yellow {
  background: #FFFBEB;
  border-color: #FEF3C7;
  margin-top: 20px;
}

.sector-yellow h4 {
  color: #B45309;
}

.timeline-days {
  font-size: 0.68rem;
  color: var(--text-medium);
  font-weight: 600;
  white-space: nowrap;
  background: transparent;
  padding: 0 4px;
  margin: 0 -15px;
  z-index: 1;
  position: relative;
  top: 0px;
  border: none;
}


/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge-danger {
  background: #fee2e2;
  color: #dc2626;
}

.badge-info {
  background: #dbeafe;
  color: #2563eb;
}

.badge-success {
  background: #d1fae5;
  color: #059669;
}

.badge-warning {
  background: #fef3c7;
  color: #d97706;
}

/* ============================================================
   TABLES
   ============================================================ */
table {
  border-collapse: collapse;
  border: 0.1mm solid #ddd;
}

table th,
table td {
  border: 0.1mm solid #ddd;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  border: 0.1mm solid #ddd;
  margin-top: 12px;
}

.data-table thead tr {
  background: var(--bg-light);
}

.data-table th {
  padding: 14px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: left;
  border: 0.1mm solid #ddd;
}

.data-table td {
  padding: 12px 16px;
  font-size: 0.88rem;
  color: var(--text-medium);
  border: 0.1mm solid #ddd;
}

.data-table tbody tr:hover {
  background: var(--bg-hover);
}

/* ============================================================
   CHECKLIST
   ============================================================ */
.checklist {
  list-style: none;
}

.checklist li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 0.9rem;
  color: var(--text-medium);
  line-height: 1.5;
}

.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--color-primary);
  border-radius: 4px;
  background: var(--bg-light);
}

.checklist li.checked::before {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.checklist li.checked::after {
  content: '✓';
  position: absolute;
  left: 3px;
  top: 10px;
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
}

/* ============================================================
   DOCUMENTS / FILE LIST
   ============================================================ */
.file-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: pointer;
}

.file-item:hover {
  border-color: var(--color-primary);
  background: var(--bg-hover);
  transform: translateX(4px);
}

.file-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: white;
}

.file-icon.pdf {
  background: #ef4444;
}

.file-icon.hwp {
  background: #3b82f6;
}

.file-icon.doc {
  background: #2563eb;
}

.file-icon.jpg {
  background: #10b981;
}

.file-info {
  flex: 1;
  min-width: 0;
}

.file-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-meta {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 2px;
}

.file-download {
  flex-shrink: 0;
  color: var(--color-primary);
  transition: var(--transition-fast);
}

.file-item:hover .file-download {
  transform: translateY(2px);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.contact-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-card);
}

.contact-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg-light);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
}

.contact-item svg {
  flex-shrink: 0;
  color: var(--color-primary);
  margin-top: 2px;
}

.contact-item strong {
  font-size: 0.85rem;
  color: var(--text-dark);
  display: block;
}

.contact-item span {
  font-size: 0.85rem;
  color: var(--text-medium);
}

/* ============================================================
   COMPARISON TABLE (용량별)
   ============================================================ */
.comparison-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.comparison-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-card);
}

.comparison-card .card-label {
  padding: 12px 20px;
  background: var(--color-primary);
  color: var(--text-white);
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
}

.comparison-card .card-label.highlight {
  background: var(--color-secondary);
}

.comparison-card .card-body {
  padding: 20px;
}

.comparison-card .card-body li {
  padding: 6px 0;
  font-size: 0.88rem;
  color: var(--text-medium);
  position: relative;
  padding-left: 18px;
}

.comparison-card .card-body li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

/* ============================================================
   NOTICE BANNER (기존 호환)
   ============================================================ */
.notice-banner {
  background: linear-gradient(135deg, #fff8e1 0%, #fff3cd 100%);
  border: 1px solid #ffd54f;
  border-radius: var(--radius-md);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.notice-banner .notice-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.notice-banner p {
  font-size: 0.9rem;
  color: #5d4037;
  line-height: 1.5;
}

.notice-banner strong {
  color: #e65100;
}

/* ============================================================
   STEP LIST (Vertical Timeline)
   ============================================================ */
.step-list {
  position: relative;
  padding-left: 30px;
  margin-top: 20px;
}

.step-item {
  position: relative;
  padding-bottom: 28px;
}

.step-item::before {
  content: '';
  position: absolute;
  left: -21px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 4px var(--bg-light);
  z-index: 2;
}

.step-item::after {
  content: '';
  position: absolute;
  left: -16px;
  top: 18px;
  width: 2px;
  height: calc(100% - 12px);
  background: var(--border-light);
  z-index: 1;
}

.step-item:last-child::after {
  display: none;
}

.step-title {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-medium);
  line-height: 1.5;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-primary {
  color: var(--color-primary);
}

.text-center {
  text-align: center;
}

.mt-16 {
  margin-top: 16px;
}

.mt-24 {
  margin-top: 24px;
}

.mt-32 {
  margin-top: 32px;
}

.mb-16 {
  margin-bottom: 16px;
}

.mb-24 {
  margin-bottom: 24px;
}

.gap-16 {
  gap: 16px;
}

.gap-20 {
  gap: 20px;
}

.content-page {
  padding: 40px 0 60px;
}

.content-wrapper {
  max-width: 960px;
  margin: 0 auto;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .quick-cards {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .info-hub {
    grid-template-columns: 1fr;
  }

  .process-timeline {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }

  .process-timeline::before {
    display: none;
  }

  .process-step {
    flex: 0 0 calc(20% - 16px);
  }

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

  .info-hub {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cta-banner {
    flex-direction: column;
    text-align: center;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-contact {
    text-align: left;
  }
}

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

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero {
    min-height: 520px;
  }

  .hero-content {
    padding: 100px 0 140px;
  }

  .section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .page-header h2 {
    font-size: 1.4rem;
  }

  .quick-cards {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .quick-cards-section {
    margin-top: -60px;
  }

  .quick-card {
    padding: 24px 20px;
  }

  .quick-menu {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .nav-menu {
    display: none;
  }

  .nav-menu.show {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    border-top: 1px solid var(--border-light);
  }

  .nav-menu.show .nav-item {
    color: var(--text-medium);
  }

  .nav-menu.show .nav-item:hover {
    color: var(--color-primary);
  }

  .menu-toggle {
    display: flex;
  }

  .header-util {
    display: none;
  }

  .tabs-menu {
    flex-direction: column;
  }

  .tab-btn {
    text-align: left;
  }

  .process-timeline {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 24px;
  }

  .process-timeline::before {
    display: block;
    top: 24px;
    bottom: 24px;
    left: 47px;
    /* padding 24px + half of 48px circle - 1px line width */
    width: 2px;
    height: auto;
  }

  .process-step {
    flex-direction: row;
    width: 100%;
    text-align: left;
    align-items: flex-start;
  }

  .step-circle {
    margin-bottom: 0;
    margin-right: 16px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
  }

  .step-label {
    margin-top: 14px;
    font-size: 0.95rem;
  }

  .footer-top {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    align-items: center;
  }

  .footer-contact {
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .counter-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .infographic-flow {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .quick-cards {
    grid-template-columns: 1fr;
  }

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

  .process-step {
    flex: 0 0 calc(50% - 12px);
  }

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

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

  .container {
    padding: 0 16px;
  }

  .card {
    padding: 20px;
  }

  .tab-content {
    padding: 20px;
  }

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

  .infographic-flow {
    gap: 12px;
  }

  .flow-item {
    flex: 1 1 30%;
  }

  .flow-arrow {
    display: none;
  }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ═══ Search Section (검색바 - 흰색 콘텐츠 영역) ═══ */
.search-section {
  background: var(--bg-body);
  padding: 28px 0 20px;
  text-align: center;
}

.search-section .faq-search-wrapper {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.search-section .faq-search-box,
.faq-search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: white;
  border-radius: 12px;
  padding: 4px;
  box-shadow: 0 2px 12px rgba(0, 50, 100, 0.08);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.search-section .faq-search-box:focus-within,
.faq-search-box:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 4px 20px rgba(0, 80, 160, 0.12);
}

.search-section .faq-search-box input,
.faq-search-box input {
  flex: 1;
  border: none;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-family: inherit;
  border-radius: 10px;
  outline: none;
  color: #1a202c;
}

.faq-search-btn {
  background: #0050A0;
  color: white;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.faq-search-btn:hover {
  background: #003670;
}

.search-section .faq-popular-keywords,
.faq-popular-keywords {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.search-section .faq-popular-keywords span,
.faq-popular-keywords span {
  font-size: 0.8rem;
  color: var(--text-light);
}

.search-section .keyword-tag,
.keyword-tag {
  font-size: 0.78rem;
  color: var(--color-primary);
  background: var(--bg-hover);
  padding: 4px 12px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid rgba(0, 80, 160, 0.1);
}

.search-section .keyword-tag:hover,
.keyword-tag:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

/* 고도화된 검색 결과 항목 스타일 */
.search-result-item {
  display: block;
  padding: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  text-decoration: none;
  transition: all 0.25s ease;
  border-radius: 12px;
  margin-bottom: 8px;
}

.search-result-item:hover {
  background: rgba(0, 80, 160, 0.04);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.result-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.result-cat {
  display: inline-block;
  padding: 3px 10px;
  background: #E0F2FE;
  color: #0369A1;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 20px;
}

.jump-tag {
  display: inline-block;
  padding: 3px 10px;
  background: #F0FDFA;
  color: #0D9488;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 20px;
  border: 1px solid #CCFBF1;
}

.result-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.result-desc {
  display: block;
  font-size: 0.9rem;
  color: var(--text-medium);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-clamp: 2;
}

.result-icon {
  font-style: normal;
  font-size: 1.1rem;
}

.download-item {
  border-left: 4px solid #3B82F6;
  background: #F0F7FF;
}

/* ═══ Contact Table Enhancement ═══ */
.contact-table th {
  background: #EBF2FA;
  color: #0050A0;
  font-weight: 700;
}

.tel-link {
  color: #0050A0;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: all 0.2s ease;
}

.tel-link:hover {
  color: #00A8E8;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}


/* ============================================================
 MEGA DROPDOWN NAVIGATION (KPX/해줌 스타일)
 ============================================================ */
.has-submenu {
  position: relative;
}

.mega-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 40, 100, 0.15), 0 0 0 1px rgba(0, 80, 160, 0.06);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 280px;
  z-index: 100;
  padding: 0;
  overflow: visible;
}

.mega-dropdown::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 15px;
  background: transparent;
}

.has-submenu:hover .mega-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-dropdown-inner {
  padding: 24px 28px;
}

.mega-dropdown h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.mega-dropdown p {
  font-size: 0.85rem;
  color: var(--text-medium);
  line-height: 1.6;
  margin-bottom: 14px;
}

.mega-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-links li {
  margin-bottom: 4px;
}

.mega-links li a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-medium);
  font-weight: 500;
  transition: all 0.2s ease;
}

.mega-links li a:hover {
  background: var(--bg-light);
  color: var(--color-primary);
  padding-left: 16px;
}

.mega-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  transition: all 0.2s ease;
}

.mega-link:hover {
  color: var(--color-secondary);
  gap: 4px;
}

/* ============================================================
 QUICK CARDS GRID (해줌 스타일 4-Card)
 ============================================================ */
.quick-cards-section {
  padding: 80px 0;
  background: var(--white);
}

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

.quick-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
}

.quick-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-secondary);
}

.quick-card-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  padding: 24px;
  overflow: hidden;
}

.quick-card-img img {
  max-width: 120px;
  max-height: 120px;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.quick-card:hover .quick-card-img img {
  transform: scale(1.08);
}

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

.quick-card-body h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.quick-card-body p {
  font-size: 0.85rem;
  color: var(--text-medium);
  line-height: 1.6;
  flex: 1;
}

.quick-card-arrow {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-primary);
  transition: all 0.3s ease;
}

.quick-card:hover .quick-card-arrow {
  color: var(--color-secondary);
  gap: 4px;
}

/* ============================================================
 PROMO BANNER SECTION (해줌 스타일)
 ============================================================ */
/* ============================================================
 STEP DOWNLOADS (process.html)
 ============================================================ */
.step-downloads {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed var(--border-light);
}

.step-downloads h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.step-download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

.step-download-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-light);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.step-download-btn:hover {
  background: #E8F4FD;
  border-color: var(--color-primary);
  transform: translateX(3px);
}

.step-download.file-item:hover {
  background: #f8fafc;
  border-color: var(--color-primary-light);
  transform: translateY(-2px);
}

.file-stats {
  margin-left: auto;
  margin-right: 15px;
  font-size: 0.8rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  background: #f1f5f9;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.file-item:hover .file-stats {
  background: #e2e8f0;
  color: var(--color-primary);
}

.download-count {
  font-weight: 600;
}

.dl-ext {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 22px;
  border-radius: 4px;
  background: var(--color-primary);
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

/* ============================================================
 USER TYPE CARDS & QUICK FORMS
 ============================================================ */
.user-type-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.quick-forms-section a:hover {
  background: var(--bg-light) !important;
  border-color: var(--color-primary) !important;
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .user-type-section>div {
    grid-template-columns: 1fr !important;
  }

  .center-intro-section>div {
    grid-template-columns: 1fr !important;
  }
}

.promo-section {
  padding: 0 0 80px;
  background: var(--white);
}

.promo-slider {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.promo-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 40px;
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  cursor: pointer;
}

.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.promo-primary {
  background: linear-gradient(135deg, #0050A0, #007DD4);
  color: white;
}

.promo-accent {
  background: linear-gradient(135deg, #4FA8D1, #76BBD9);
  color: white;
}

.promo-text {
  flex: 1;
}

.promo-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.promo-text h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.promo-text p {
  font-size: 0.85rem;
  opacity: 0.85;
  line-height: 1.5;
  word-break: keep-all;
}

.promo-btn {
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.2s ease;
  white-space: nowrap;
  margin-left: 24px;
}

.promo-btn:hover {
  background: rgba(255, 255, 255, 0.35);
}

/* ============================================================
 PROCESS FLOW MINI (Info Hub 내부)
 ============================================================ */
.process-flow-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 32px 0;
  padding: 24px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.flow-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.flow-step span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
}

.flow-arrow {
  font-size: 1.2rem;
  color: var(--color-secondary);
  font-weight: 700;
  margin-top: -16px;
}

/* ============================================================
 DEPARTMENT INTRO (에너지효율부 업무 소개)
 ============================================================ */
.dept-intro {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
}

.dept-intro h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg-light);
}

.dept-intro ul {
  list-style: none;
  padding: 0;
}

.dept-intro li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.88rem;
  color: var(--text-medium);
  line-height: 1.6;
}

/* ============================================================
 SECTION LABEL
 ============================================================ */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 12px;
  padding: 4px 12px;
  background: rgba(0, 168, 232, 0.08);
  border-radius: 4px;
}

/* ============================================================
 HERO SCROLL INDICATOR
 ============================================================ */
.hero-scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.5);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* ============================================================
 STATS GRID
 ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.stat-card {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  background: var(--bg-hover);
  transform: translateY(-2px);
}

.stat-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.stat-detail-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.6;
  word-break: keep-all;
  min-height: 3.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  padding: 12px;
  border-radius: 8px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--color-secondary);
  font-weight: 800;
  margin-bottom: 10px;
  display: block;
  letter-spacing: -0.01em;
}

/* ============================================================
 CTA SECTION
 ============================================================ */
.cta-section {
  padding: 40px 0;
  background: var(--color-gradient);
  text-align: center;
}

.cta-content h2 {
  font-size: 2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.cta-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

.cta-content p strong {
  color: var(--color-accent);
}

.cta-info {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.cta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 600;
}

.cta-item svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

/* ============================================================
 FOOTER ENHANCEMENTS
 ============================================================ */
.footer-mail-notice {
  margin-top: 12px;
  padding: 10px 14px;
  background: rgba(0, 168, 232, 0.08);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--color-secondary);
  line-height: 1.5;
  border-left: 3px solid var(--color-secondary);
}

.footer-region {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.7;
  white-space: nowrap;
}

.footer-region strong {
  display: block;
  margin-bottom: 2px;
  color: var(--text-light);
  font-size: 0.82rem;
  font-weight: 700;
}

.cta-emails {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cta-emails div {
  font-size: 0.95rem;
}

.cta-emails small {
  font-size: 0.75rem;
  opacity: 0.8;
  margin-left: 6px;
  font-weight: 400;
}

.footer-sites {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin: 16px 0;
  flex-wrap: wrap;
}

.footer-sites span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-light);
}

.footer-sites a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  padding: 4px 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  transition: all 0.2s ease;
}

.footer-sites a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-accent);
}

/* ============================================================
 NOTICE BADGE STYLES
 ============================================================ */
.notice-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--bg-light);
  color: var(--color-primary);
  flex-shrink: 0;
}

.notice-badge.important {
  background: #FEF2F2;
  color: #DC2626;
}

.notice-item a {
  font-size: 0.85rem;
  color: var(--text-medium);
  transition: color 0.2s ease;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notice-item a:hover {
  color: var(--color-primary);
}

.notice-date {
  font-size: 0.75rem;
  color: var(--text-light);
  flex-shrink: 0;
  margin-left: 8px;
}

/* ============================================================
 HERO DESCRIPTION (hero-desc alias)
 ============================================================ */
.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  max-width: 560px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

/* ============================================================
 RESPONSIVE - 8-item Nav adjustments
 ============================================================ */
@media (max-width: 1280px) {
  .nav-item {
    padding: 8px 8px;
    font-size: 0.8rem;
  }

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

  .promo-slider {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .mega-dropdown {
    display: none !important;
  }

  .quick-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .info-hub-grid {
    grid-template-columns: 1fr;
  }

  .process-flow-mini {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .quick-cards-grid {
    grid-template-columns: 1fr;
  }

  .promo-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
  }

  .promo-btn {
    margin-left: 0;
  }

  .cta-info {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-content {
    padding: 100px 0 120px;
  }

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

  .footer-sites {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ============================================================
 NOTICE BOARD
 ============================================================ */
.notice-board {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.notice-board-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px 28px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.notice-board-item:hover {
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.notice-board-item.pinned {
  border-left: 4px solid var(--color-primary);
  background: var(--bg-light);
}

.notice-board-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  background: #FEF2F2;
  color: #DC2626;
  white-space: nowrap;
  flex-shrink: 0;
}

.notice-board-badge.info {
  background: var(--bg-light);
  color: var(--color-primary);
}

.notice-board-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.notice-board-content p {
  font-size: 0.85rem;
  color: var(--text-medium);
  line-height: 1.6;
}

.notice-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--text-light);
}

.notice-link {
  color: var(--color-primary) !important;
  font-weight: 700;
}

.notice-widget {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
}

.notice-widget h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.notice-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
}

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

/* ============================================================
 POLICY PAGE
 ============================================================ */
.content-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-card);
  overflow-x: auto;
}

.policy-section {
  margin-bottom: 40px;
}

.policy-section h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.policy-intro {
  font-size: 1rem;
  color: var(--text-medium);
  line-height: 1.7;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.policy-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
}

.policy-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-secondary);
}

.policy-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  background: var(--bg-light);
}

.policy-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  flex-shrink: 0;
}

.policy-step h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-dark);
}

.policy-detail {
  padding: 20px 24px;
}

.policy-detail h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.policy-detail ul {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}

.policy-detail li {
  font-size: 0.85rem;
  color: var(--text-medium);
  line-height: 1.7;
  padding: 3px 0 3px 16px;
  position: relative;
}

.policy-detail li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-secondary);
}

.policy-highlight {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
}

.policy-highlight.positive {
  background: #ECFDF5;
  color: #059669;
}

.policy-highlight.warning {
  background: #FFFBEB;
  color: #D97706;
}

.policy-highlight.negative {
  background: #FEF2F2;
  color: #DC2626;
}

.cancel-process {
  margin-bottom: 48px;
}

.cancel-process h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 24px;
}

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

.cancel-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
}

.cancel-step-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  flex-shrink: 0;
}

.cancel-step h4 {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.cancel-step p {
  font-size: 0.82rem;
  color: var(--text-medium);
  line-height: 1.6;
}

.cancel-step strong {
  color: var(--color-primary);
}

.policy-notice,
.cost-notes {
  padding: 24px;
  background: #F0F9FF;
  border-radius: var(--radius-md);
  border: 1px solid #BAE6FD;
}

.policy-notice h3,
.cost-notes h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.policy-notice ul,
.cost-notes ul {
  list-style: none;
  padding: 0;
}

.policy-notice li,
.cost-notes li {
  font-size: 0.85rem;
  color: var(--text-medium);
  line-height: 1.7;
  padding: 4px 0 4px 16px;
  position: relative;
}

.policy-notice li::before,
.cost-notes li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-secondary);
}

/* ============================================================
 CONSTRUCTION COST PAGE
 ============================================================ */
.cost-structure {
  margin-bottom: 48px;
}

.cost-structure h3,
.cost-process h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.cost-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cost-item {
  text-align: center;
  padding: 28px 20px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.cost-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.cost-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.cost-icon.blue {
  background: var(--color-primary);
}

.cost-icon.cyan {
  background: var(--color-secondary);
}

.cost-icon.green {
  background: #059669;
}

.cost-icon.orange {
  background: #D97706;
}

.cost-item h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.cost-item p {
  font-size: 0.82rem;
  color: var(--text-medium);
  line-height: 1.5;
}

.cost-process {
  margin-bottom: 48px;
}

.cost-timeline {
  position: relative;
  padding-left: 40px;
}

.cost-timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-light);
}

.cost-timeline-item {
  position: relative;
  padding: 0 0 28px;
}

.cost-timeline-item:last-child {
  padding-bottom: 0;
}

.cost-timeline-marker {
  position: absolute;
  left: -40px;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
  z-index: 1;
}

.cost-timeline-content h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.cost-timeline-content p {
  font-size: 0.85rem;
  color: var(--text-medium);
  line-height: 1.6;
}

.timeline-note {
  display: inline-block;
  padding: 2px 8px;
  background: var(--bg-light);
  border-radius: 4px;
  font-size: 0.78rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-top: 4px;
}

.page-cta-box {
  margin-top: 48px;
  padding: 32px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  text-align: center;
}

.page-cta-box p {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.page-cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Info Hub Grid */
.info-hub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.info-hub-left {
  background: linear-gradient(135deg, #EBF2FA 0%, #E3F0FF 100%);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-hub-left h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.3;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.info-hub-desc {
  font-size: 1rem;
  color: var(--text-medium);
  line-height: 1.7;
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-accent), #00A8E8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

  .cancel-steps {
    grid-template-columns: 1fr;
  }

  .info-hub-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .content-card {
    padding: 24px;
  }

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

  .notice-board-item {
    flex-direction: column;
    gap: 8px;
  }
}

/* ============================================================
 BULLETIN BOARD (게시판 스타일)
 ============================================================ */

/* 검색 영역 */
.board-search-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.board-total {
  font-size: 0.9rem;
  color: var(--text-medium);
}

.board-total strong {
  color: var(--color-primary);
  font-weight: 700;
}

.board-search-box {
  display: flex;
  align-items: center;
  gap: 6px;
}

.board-select {
  padding: 9px 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-dark);
  background: var(--white);
  cursor: pointer;
  outline: none;
  transition: var(--transition-fast);
}

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

.board-search-input {
  padding: 9px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  width: 220px;
  outline: none;
  transition: var(--transition-fast);
}

.board-search-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 80, 160, 0.08);
}

.board-search-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 9px 18px;
  background: var(--color-primary);
  color: var(--text-white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.board-search-btn:hover {
  background: var(--color-primary-dark);
}

/* 게시판 테이블 */
.board-table-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.board-table {
  width: 100%;
  border-collapse: collapse;
}

.board-table thead {
  background: var(--bg-light);
  border-bottom: 2px solid var(--color-primary);
}

.board-table thead th {
  padding: 14px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  white-space: nowrap;
}

.board-table tbody tr {
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-fast);
}

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

.board-table tbody tr:hover {
  background: var(--bg-hover);
}

.board-table tbody td {
  padding: 14px 16px;
  font-size: 0.88rem;
  color: var(--text-dark);
}

/* 고정(공지) 행 */
.board-table tbody tr.pinned {
  background: rgba(0, 80, 160, 0.03);
}

.board-table tbody tr.pinned:hover {
  background: rgba(0, 80, 160, 0.07);
}

/* 컬럼 너비 */
.col-num {
  width: 80px;
  text-align: center;
}

.col-date {
  width: 120px;
  text-align: center;
  color: var(--text-light) !important;
}

.col-view {
  width: 80px;
  text-align: center;
  color: var(--text-light) !important;
}

.col-title {
  text-align: left;
}

.col-title a {
  color: var(--text-dark);
  font-weight: 500;
  display: inline;
  transition: var(--transition-fast);
}

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

/* 배지: 공지 고정 */
.badge-pin {
  display: inline-block;
  padding: 3px 10px;
  background: var(--color-primary);
  color: var(--text-white);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
}

/* 배지: 카테고리 */
.badge-category {
  display: inline-block;
  padding: 2px 8px;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 3px;
  margin-right: 6px;
  background: var(--bg-light);
  color: var(--color-primary);
  vertical-align: middle;
}

.badge-category.important {
  background: #FEF2F2;
  color: #DC2626;
}

/* New 배지 */
.new-badge {
  display: inline-block;
  padding: 1px 5px;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--white);
  background: #EF4444;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
  line-height: 1.4;
}

/* 검색 결과 없음 */
.board-no-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  gap: 12px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.board-no-result p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.board-no-result span {
  font-size: 0.88rem;
  color: var(--text-light);
}

/* 페이지네이션 */
.board-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 24px;
}

.page-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text-medium);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.page-btn:hover:not(:disabled):not(.active) {
  background: var(--bg-hover);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.page-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--text-white);
  font-weight: 700;
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
  .board-search-area {
    flex-direction: column;
    align-items: stretch;
  }

  .board-search-box {
    width: 100%;
  }

  .board-search-input {
    flex: 1;
    width: auto;
  }

  .col-view {
    display: none;
  }

  .col-num {
    width: 60px;
  }

  .col-date {
    width: 90px;
    font-size: 0.78rem !important;
  }

  .board-table thead th,
  .board-table tbody td {
    padding: 12px 10px;
    font-size: 0.82rem;
  }
}

@media (max-width: 480px) {
  .col-date {
    display: none;
  }

  .col-num {
    width: 50px;
    font-size: 0.78rem;
  }

  .badge-pin {
    font-size: 0.68rem;
    padding: 2px 6px;
  }
}

/* ============================================================
 FAQ 카테고리 탭
 ============================================================ */
.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border-light);
}

.faq-tab {
  padding: 10px 22px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  background: var(--white);
  color: var(--text-medium);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.faq-tab:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(0, 80, 160, 0.04);
}

.faq-tab.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--text-white);
  font-weight: 700;
}

.faq-result-count {
  font-size: 0.88rem;
  color: var(--text-medium);
  margin-bottom: 16px;
}

.faq-result-count strong {
  color: var(--color-primary);
  font-weight: 700;
}

@media (max-width: 640px) {
  .faq-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
    gap: 6px;
  }

  .faq-tab {
    padding: 8px 16px;
    font-size: 0.82rem;
  }
}

/* ============================================================
 INTEGRATED SEARCH UI
 ============================================================ */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 26, 58, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-modal {
  width: 90%;
  max-width: 800px;
  background: white;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.search-overlay.active .search-modal {
  transform: translateY(0);
}

.search-header {
  display: flex;
  align-items: center;
  padding: 24px 32px;
  border-bottom: 1px solid var(--border-light);
  gap: 20px;
}

.search-input-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

#globalSearchInput {
  width: 100%;
  border: none;
  background: transparent;
  padding: 12px 40px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  outline: none;
}

#globalSearchInput::placeholder {
  color: var(--text-light);
}

.clear-btn {
  position: absolute;
  right: 0;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
  padding: 4px;
}

.close-search {
  background: var(--bg-light);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-dark);
}

.close-search:hover {
  background: #eee;
  transform: rotate(90deg);
}

.search-body {
  max-height: 60vh;
  overflow-y: auto;
  padding: 32px;
}

.suggestion-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.suggestion-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.s-tag {
  background: var(--bg-light);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-medium);
  cursor: pointer;
  transition: all 0.2s;
}

.s-tag:hover {
  background: var(--color-primary);
  color: white;
}

/* 검색 결과 아이템 */
.search-result-item {
  display: block;
  text-decoration: none;
  padding: 20px;
  border-radius: 16px;
  transition: all 0.2s;
  border-bottom: 1px solid #f1f5f9;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background: #f8fafc;
}

.result-cat {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  background: rgba(0, 80, 160, 0.1);
  color: var(--color-primary);
  border-radius: 4px;
  margin-bottom: 8px;
}

.result-title {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.result-desc {
  display: block;
  font-size: 0.9rem;
  color: var(--text-medium);
  line-height: 1.5;
}

.no-results {
  text-align: center;
  padding: 40px 0;
}

.no-results p {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.no-results span {
  color: var(--text-light);
  font-size: 0.9rem;
}

.search-trigger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.search-trigger:hover {
  background: rgba(255, 255, 255, 0.1);
}

header.scrolled .search-trigger:hover {
  background: rgba(0, 80, 160, 0.05);
}

.search-trigger img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  /* 투명 헤더: 흰색 */
  transition: all 0.2s ease;
}

header.scrolled .search-trigger img {
  /* 스크롤 후: 브랜드 블루(#0050A0)로 변환 */
  filter: invert(19%) sepia(85%) saturate(2250%) hue-rotate(195deg) brightness(91%) contrast(105%);
}

.search-icon-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  /* 모달 내부: 브랜드 블루(#0050A0) */
  filter: invert(19%) sepia(85%) saturate(2250%) hue-rotate(195deg) brightness(91%) contrast(105%);
}

.search-trigger:hover {
  background: rgba(0, 80, 160, 0.05);
}

.scrolled .search-trigger:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* ═══ 접수취소 사유 서브탭 & 카드 UI ═══ */
.reason-subtab {
  padding: 10px 20px;
  border: 2px solid var(--border-light);
  border-radius: 24px;
  background: var(--bg-white);
  color: var(--text-medium);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.reason-subtab:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.reason-subtab.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

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

.reason-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.reason-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 80, 160, 0.1);
}

.reason-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.reason-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.reason-card p {
  font-size: 0.85rem;
  color: var(--text-medium);
  line-height: 1.6;
  margin: 0;
}

.reason-note {
  display: block;
  font-size: 0.78rem;
  color: var(--color-primary);
  font-weight: 500;
  margin-top: 8px;
}

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

  .reason-subtabs {
    flex-wrap: wrap;
  }
}

/* ============================================================
   MAIN DASHBOARD (SMP/REC & QUICK LINKS)
   ============================================================ */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.dash-price-board {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.dash-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
}

.dash-time {
  font-size: 0.85rem;
  font-weight: 600;
  color: #10B981;
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
}

.price-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.price-card {
  background: var(--bg-body);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition-fast);
}

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

.price-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-medium);
  width: 35%;
}

.price-value-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex: 1;
  justify-content: flex-end;
}

.price-currency {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
}

.price-value {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-dark);
  font-family: 'Consolas', 'Courier New', monospace;
  letter-spacing: -1px;
  transition: color 0.3s;
}

.price-unit {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-left: 4px;
}

.price-change {
  font-size: 0.95rem;
  font-weight: 700;
  width: 25%;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.price-change.up {
  color: #DC2626;
}

.price-change.down {
  color: #2563EB;
}

.change-icon {
  font-size: 0.8rem;
}

.dash-notice {
  font-size: 0.8rem;
  color: var(--text-light);
  border-top: 1px dashed var(--border-light);
  padding-top: 16px;
  text-align: right;
}

/* Quick Links Right Side */
.dash-quick-links {
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.dash-link-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.link-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.agency-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--bg-body);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  text-decoration: none;
}

.agency-card:hover {
  background: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.agency-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
}

.kepco-icon {
  color: #0050A0;
}

.kpx-icon {
  color: #00A8E8;
}

.kea-icon {
  color: #10B981;
}

.tax-icon {
  color: #4F46E5;
}

.agency-info {
  flex: 1;
}

.agency-info h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
  transition: color 0.3s;
}

.agency-info p {
  font-size: 0.85rem;
  color: var(--text-medium);
  margin: 0;
  transition: color 0.3s;
}

.agency-arrow {
  font-size: 1.2rem;
  color: var(--text-light);
  transition: color 0.3s, transform 0.3s;
}

.agency-card:hover .agency-info h4,
.agency-card:hover .agency-info p,
.agency-card:hover .agency-arrow {
  color: white;
}

.agency-card:hover .agency-arrow {
  transform: translateX(4px);
}

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

@media (max-width: 768px) {
  .price-card {
    flex-wrap: wrap;
    gap: 12px;
  }

  .price-title {
    width: 100%;
  }

  .price-value-box {
    justify-content: flex-start;
  }

  .price-change {
    width: auto;
    justify-content: flex-start;
    margin-left: auto;
  }
}

/* ============================================================
   FLOATING DASHBOARDS (Left & Right)
   ============================================================ */
.floating-dash-left,
.floating-dash-right {
  position: absolute;
  top: calc(var(--header-height) + 40px);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Position Left */
.floating-dash-left {
  left: 32px;
  width: 280px;
}

/* Position Right */
.floating-dash-right {
  right: 32px;
  width: 280px;
}

/* Hero container needs to not overlap */
.hero-content {
  margin: 0 auto;
}

/* Make cards fit in the narrow floating columns */
.auto-shrink {
  padding: 24px 20px !important;
  width: 100%;
}

.dash-header h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.dash-time {
  font-size: 0.75rem;
  display: block;
}

.price-card {
  padding: 16px !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 8px !important;
}

.price-title {
  width: 100% !important;
  font-size: 0.9rem !important;
}

.price-value-box {
  width: 100% !important;
  justify-content: flex-start !important;
}

/* Compact Quick Links */
.compact-card {
  padding: 12px 14px !important;
  gap: 12px !important;
}

.compact-card .agency-icon {
  width: 36px !important;
  height: 36px !important;
  font-size: 0.75rem !important;
}

.compact-card h4 {
  font-size: 0.95rem !important;
  margin: 0 !important;
}

/* If screen is too narrow to fit sidebars, hide them or make them block */
@media (max-width: 1400px) {

  .floating-dash-left,
  .floating-dash-right {
    display: none;
    /* Hide floating sidebars on small screens to prevent overlap */
  }
}

/* ============================================================
   MINI FLOATING WIDGETS (Fixed, Sleek)
   ============================================================ */
.floating-widget-container {
  position: fixed;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  /* Let clicks pass through the container */
  z-index: 900;
  opacity: 0;
  /* Hidden initially at top */
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
}

.floating-widget-container.show {
  opacity: 1;
  visibility: visible;
}

.mini-widget {
  width: 120px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  pointer-events: auto;
  /* Enable clicks on widgets themselves */
  transition: all 0.3s;
}

.mini-widget:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.mini-header {
  background: var(--color-primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mini-body {
  padding: 5px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
}

.mini-row span {
  color: var(--text-medium);
  font-weight: 600;
}

.mini-row strong {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-family: 'Consolas', monospace;
}

.mini-row small {
  font-size: 0.6rem;
}

.mini-row small.up {
  color: #DC2626;
}

.mini-row small.down {
  color: #2563EB;
}

.mini-links {
  display: flex;
  flex-direction: column;
}

.mini-links a {
  display: block;
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-medium);
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
  transition: var(--transition-fast);
}

.mini-links a:last-child {
  border-bottom: none;
}

.mini-links a:hover {
  background: var(--bg-hover);
  color: var(--color-primary);
  padding-left: 14px;
}

/* Footer Blend State */
.floating-widget-container.footer-blend .mini-widget {
  background: rgba(10, 20, 40, 0.85);
  /* Matches typical dark footer */
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.floating-widget-container.footer-blend .mini-widget:hover {
  background: rgba(10, 20, 40, 0.95);
}

.floating-widget-container.footer-blend .mini-header {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
}

.floating-widget-container.footer-blend .mini-row span,
.floating-widget-container.footer-blend .mini-row strong,
.floating-widget-container.footer-blend .mini-links a {
  color: rgba(255, 255, 255, 0.8) !important;
  border-color: rgba(255, 255, 255, 0.1);
}

.floating-widget-container.footer-blend .mini-links a:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 1400px) {
  .floating-widget-container {
    display: none;
  }
}