@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700;800;900&display=swap');

/* ==========================================================================
   GL컴퓨터자수 - 공식 스타일시트
   모던, 신뢰성, 딥 네이비 & 인더스트리얼 슬레이트 (이모지/형광/SNS 제거)
   ========================================================================== */

:root {
  --primary: #0f172a;          /* Deep Slate Navy */
  --primary-light: #1e293b;
  --accent: #1e40af;           /* Deep Classic Navy Blue */
  --accent-hover: #1d4ed8;
  --accent-soft: rgba(30, 64, 175, 0.06);
  --accent-badge: #f1f5f9;
  --accent-badge-text: #0f172a;
  
  --secondary: #334155;
  --border-color: #e2e8f0;
  --border-subtle: #f1f5f9;
  
  --bg-main: #ffffff;
  --bg-sub: #f8fafc;
  --bg-dark: #0f172a;
  
  --text-main: #0f172a;
  --text-sub: #475569;
  --text-muted: #94a3b8;
  --text-light: #f8fafc;
  
  --header-height: 88px;
  --container-max: 1200px;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.08);
  
  --motion-curve: cubic-bezier(0.16, 1, 0.3, 1);
  --motion-duration: 3.0s;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Noto Sans KR', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
  -webkit-font-smoothing: antialiased;
}

body {
  line-height: 1.65;
  overflow-x: hidden;
  word-break: keep-all;
}

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

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

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

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

/* ==========================================================================
   1. 스크롤 페이드인 + 라이징 애니메이션 (최초 로딩 1회만 적용, 3초 부드러운 전환)
   ========================================================================== */
.fade-rising {
  opacity: 0;
  transform: translateY(35px);
  will-change: opacity, transform;
}

.fade-rising.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 3.0s cubic-bezier(0.16, 1, 0.3, 1),
              transform 3.0s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 모든 객체가 같은 속도(3초)로 균일하게 전환되도록 딜레이 통일 */
.stagger-1, .stagger-2, .stagger-3, .stagger-4 {
  transition-delay: 0s !important;
}

/* 히어로 텍스트 전용 방향 애니메이션 (3초 부드러운 전환) */
@keyframes heroSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-45px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroSlideUp {
  0% {
    opacity: 0;
    transform: translateY(45px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-anim-down {
  opacity: 0;
  animation: heroSlideDown 3.0s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: opacity, transform;
}

.hero-anim-up {
  opacity: 0;
  animation: heroSlideUp 3.0s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: opacity, transform;
}

/* ==========================================================================
   2. 상단 네비게이션바 (줄바꿈 방지 및 단정한 레이아웃)
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all 0.25s ease;
}

.header.scrolled {
  height: var(--header-height);
  box-shadow: var(--shadow-sm);
}

.header.scrolled .logo img {
  height: 48px;
}

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

.logo img {
  height: 48px;
  width: auto;
  display: block;
  transition: height 0.2s ease;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  gap: 42px;
  margin: 0 auto;
}

.nav-item {
  position: relative;
  white-space: nowrap;
}

.nav-link {
  display: inline-block;
  padding: 10px 18px;
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  border-radius: 6px;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

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

/* 드롭다운 서브메뉴: 줄바꿈 없이 여유 있는 너비 */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #ffffff;
  min-width: 200px;
  padding: 10px 0;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s var(--motion-curve);
  list-style: none;
  z-index: 1010;
}

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

.nav-dropdown li a {
  display: block;
  padding: 10px 20px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-sub);
  white-space: nowrap;
  transition: all 0.15s ease;
}

.nav-dropdown li a:hover {
  background: var(--bg-sub);
  color: var(--accent);
  padding-left: 24px;
}

.nav-call-btn {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: #ffffff !important;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 6px;
  white-space: nowrap;
  cursor: default;
  user-select: all;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-call-btn:hover {
  background: #1e293b;
  color: #93c5fd !important;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
}

/* ==========================================================================
   3. 메인 히어로 섹션 (자수 가동 영상 배경)
   ========================================================================== */
.hero-section {
  position: relative;
  height: 52vh;
  min-height: 440px;
  max-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: var(--header-height);
  background: #090d16;
}

.hero-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(0.92);
  opacity: 0.65;
  filter: brightness(0.88);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.85) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  padding: 60px 20px;
  color: #ffffff;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #f1f5f9;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 4px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-title .text-accent {
  color: #93c5fd;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: #cbd5e1;
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 34px;
}

.hero-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-main {
  background: var(--accent);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 6px;
  transition: background 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.btn-main:hover {
  background: var(--accent-hover);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

/* ==========================================================================
   4. 서브페이지 배너 (Subpage Hero Banner)
   ========================================================================== */
.subpage-banner {
  background: var(--primary);
  color: #ffffff;
  padding: 44px 0 38px;
  margin-top: var(--header-height);
  text-align: center;
  position: relative;
}

.subpage-banner h1 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.subpage-banner p {
  color: #94a3b8;
  font-size: 1.05rem;
}

/* 서브페이지 내부 네비게이션 탭 (Reference video frame 009 & 020 스타일) */
.subnav-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.subnav-tab {
  padding: 10px 24px;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.subnav-tab:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.subnav-tab.active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

/* ==========================================================================
   5. 통계 배너
   ========================================================================== */
.stats-banner {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 40px 0;
}

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

.stat-box {
  text-align: center;
  border-right: 1px solid var(--border-color);
  padding: 0 10px;
}

.stat-box:last-child {
  border-right: none;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-sub);
}

/* ==========================================================================
   6. 섹션 공통 헤더
   ========================================================================== */
.section {
  padding: 85px 0;
}

.section-alt {
  background: var(--bg-sub);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-badge {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

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

/* ==========================================================================
   7. 솔루션 카드
   ========================================================================== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.solution-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

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

.solution-code {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.solution-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

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

/* ==========================================================================
   8. 레퍼런스 갤러리 (6개 메인 표시 및 전체보기)
   ========================================================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ref-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

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

.ref-card-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f1f5f9;
}

.ref-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.ref-card:hover .ref-card-img {
  transform: scale(1.04);
}

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

.ref-category-chip {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  background: var(--accent-badge);
  color: var(--accent-badge-text);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 4px;
  margin-bottom: 10px;
}

.ref-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.4;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ref-specs-list {
  list-style: none;
  font-size: 0.86rem;
  color: var(--text-sub);
  line-height: 1.5;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.ref-specs-list li {
  padding-left: 12px;
  position: relative;
  margin-bottom: 4px;
}

.ref-specs-list li::before {
  content: '-';
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

.more-btn-wrap {
  text-align: center;
  margin-top: 48px;
}

.btn-more {
  display: inline-block;
  background: #ffffff;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 38px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.btn-more:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* ==========================================================================
   9. 회사소개 페이지 전용 레이아웃 (레퍼런스 영상 020번 프레임 1:1)
   ========================================================================== */
.about-hero-callout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: -50px;
  position: relative;
  z-index: 10;
  margin-bottom: 60px;
}

.callout-box {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.callout-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

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

.about-philosophy {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 70px;
}

.about-philosophy h2 {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.about-philosophy p {
  font-size: 1.1rem;
  color: var(--text-sub);
  line-height: 1.8;
}

/* 4대 가치 원형 다이어그램 (레퍼런스 영상) */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}

.value-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 32px 20px;
  text-align: center;
}

.value-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}

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

/* 공장 설비 & 위치 */
.facility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.facility-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #0f172a;
}

.facility-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.facility-text h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}

.facility-text p {
  color: var(--text-sub);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.info-table th {
  text-align: left;
  padding: 12px 0;
  color: var(--primary);
  font-weight: 700;
  width: 120px;
  border-bottom: 1px solid var(--border-color);
}

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

/* ==========================================================================
   10. 모달 슬라이더 (상세보기)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-backdrop.open {
  display: flex;
  opacity: 1;
}

.modal-box {
  background: #ffffff;
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  border-radius: 10px;
  overflow-y: auto;
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 18px;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
}

.modal-slider-area {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #0f172a;
}

.modal-slider-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
}

.modal-nav-btn.prev { left: 14px; }
.modal-nav-btn.next { right: 14px; }

.modal-body {
  padding: 28px;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}

.modal-meta-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
}

.modal-meta-table th {
  background: #f8fafc;
  width: 130px;
  text-align: left;
  padding: 10px 14px;
  color: var(--text-sub);
  border-bottom: 1px solid var(--border-color);
}

.modal-meta-table td {
  padding: 10px 14px;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-color);
}

.modal-desc-box {
  background: #f8fafc;
  padding: 18px;
  border-radius: 6px;
  color: var(--text-sub);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==========================================================================
   11. 푸터 (Footer)
   ========================================================================== */
.footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 55px 0 35px;
  font-size: 0.92rem;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 36px;
  width: auto;
  margin-bottom: 16px;
}

.footer-info-lines {
  line-height: 1.8;
  color: #cbd5e1;
}

.footer-info-lines strong {
  color: #ffffff;
}

.footer-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  line-height: 2;
}

.footer-links a {
  color: #94a3b8;
  transition: color 0.15s ease;
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid #1e293b;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}

/* ==========================================================================
   12. 반응형 미디어 쿼리
   ========================================================================== */
@media (max-width: 1024px) {
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .about-hero-callout { grid-template-columns: 1fr; }
  .facility-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }
  
  .nav-menu { display: none; }
  .nav-call-btn { display: none; }
  .mobile-menu-btn { display: block; }
  
  .solutions-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ==========================================================================
   13. 레퍼런스 페이지 필터바 & 빈 상태 스타일 보강
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-sub);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.filter-count {
  font-size: 0.8rem;
  background: rgba(0, 0, 0, 0.08);
  padding: 2px 8px;
  border-radius: 12px;
}

.filter-btn.active .filter-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  background: #ffffff;
  border: 1px dashed var(--border-color);
  border-radius: 8px;
  color: var(--text-sub);
  font-size: 1.1rem;
}
