/* ===========================================
   河北BIM曦汇 v4 — 品牌全量样式表
   品牌名称: 河北BIM曦汇
   副标题: 企业·项目·人才信息平台
   设计语言: 深蓝科技风 × 数据可视化 × 金色点缀
   配色系统: #0B1120 深空蓝 / #1A3A6C 深海蓝 / #2B7DE9 科技蓝 / #E8A020 金色
   =========================================== */

/* === CSS变量 === */
:root {
  /* 品牌色 */
  --brand-navy: #0B1120;
  --brand-deep: #1A3A6C;
  --brand-blue: #2B7DE9;
  --brand-blue-light: #4A9BF5;
  --brand-blue-muted: rgba(43,125,233,0.12);
  --brand-gold: #E8A020;
  --brand-gold-light: #F0B840;
  --brand-gold-muted: rgba(232,160,32,0.12);

  /* 背景色 */
  --bg-primary: #0B1120;
  --bg-secondary: #111827;
  --bg-card: rgba(17,24,39,0.85);
  --bg-glass: rgba(255,255,255,0.03);
  --bg-glass-hover: rgba(255,255,255,0.06);
  --bg-glass-active: rgba(43,125,233,0.1);

  /* 边框 */
  --border-glass: rgba(255,255,255,0.06);
  --border-glass-hover: rgba(255,255,255,0.12);
  --border-brand: rgba(43,125,233,0.2);
  --border-gold: rgba(232,160,32,0.2);

  /* 文字 */
  --text-primary: #E2E8F0;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-on-brand: #FFFFFF;

  /* 渐变 */
  --gradient-hero: linear-gradient(135deg, #2B7DE9 0%, #1A3A6C 40%, #0B1120 70%, #E8A020 100%);
  --gradient-card: linear-gradient(135deg, rgba(43,125,233,0.12) 0%, rgba(26,58,108,0.06) 100%);
  --gradient-cta: linear-gradient(135deg, #1A3A6C 0%, #0B1120 50%, #2B7DE9 100%);
  --gradient-glow: linear-gradient(135deg, rgba(43,125,233,0.3) 0%, rgba(232,160,32,0.1) 50%, transparent 100%);
  --gradient-gold: linear-gradient(135deg, #E8A020 0%, #F0B840 100%);

  /* 间距 */
  --space-2: 8px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;

  /* 圆角 */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* 字体 */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* 阴影 */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.25);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 30px rgba(43,125,233,0.15);
  --shadow-gold: 0 0 20px rgba(232,160,32,0.1);
}

/* === 基础重置 === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* === 科技网格背景 === */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 30%, rgba(43,125,233,0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(232,160,32,0.03) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(43,125,233,0.03) 0%, transparent 50%),
    linear-gradient(rgba(43,125,233,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,125,233,0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 50px 50px, 50px 50px;
  pointer-events: none;
}

/* === 滚动条 === */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--brand-deep); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-blue); }

/* === 容器 === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-6); }

/* === 排版 === */
h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; }
a { color: var(--brand-blue-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--brand-gold); }
img { max-width: 100%; height: auto; }

/* =========================================
   头部导航
   ========================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,17,32,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
}
.site-header .container {
  display: flex;
  align-items: center;
  height: 64px;
  gap: var(--space-4);
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
}
.site-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.site-brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}
.site-brand-tagline {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.main-nav a {
  padding: 6px 14px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  white-space: nowrap;
}
.main-nav a:hover {
  color: var(--text-primary);
  background: var(--bg-glass-hover);
}
.main-nav a.active {
  color: var(--brand-blue-light);
  background: var(--brand-blue-muted);
}
.nav-cta {
  margin-left: 12px;
  padding: 7px 18px !important;
  background: var(--gradient-gold) !important;
  color: #0B1120 !important;
  font-weight: 600;
  font-size: 0.8125rem !important;
  border-radius: var(--radius-full) !important;
  transition: all 0.25s !important;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(232,160,32,0.3) !important;
  background: linear-gradient(135deg, #F0B840 0%, #E8A020 100%) !important;
}

/* 移动端汉堡菜单 */
.mobile-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-secondary);
  margin: 4px auto;
  transition: all 0.3s;
  border-radius: 1px;
}

/* =========================================
   Hero区
   ========================================= */
.hero {
  position: relative;
  padding: var(--space-20, 80px) 0 var(--space-12, 48px);
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 50% at 50% 20%, rgba(43,125,233,0.08), transparent),
    radial-gradient(ellipse 60% 40% at 30% 60%, rgba(232,160,32,0.04), transparent);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  background: var(--brand-gold-muted);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  color: var(--brand-gold-light);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-4);
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  background: linear-gradient(135deg, #E2E8F0 0%, #4A9BF5 50%, #E8A020 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 10px;
  line-height: 1.15;
}
.hero p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto var(--space-8);
  line-height: 1.6;
}
.hero-search-wrap {
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}
.hero-search {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1.5px solid var(--border-brand);
  border-radius: var(--radius-full);
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: var(--shadow-glow);
}
.hero-search:focus-within {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(43,125,233,0.15), 0 0 40px rgba(43,125,233,0.08);
}
.hero-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 14px 20px;
  color: var(--text-primary);
  font-size: 0.9375rem;
  font-family: inherit;
}
.hero-search input::placeholder { color: var(--text-muted); }
.hero-search button {
  padding: 10px 24px;
  margin: 4px;
  background: var(--brand-blue);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s;
  font-family: inherit;
  white-space: nowrap;
}
.hero-search button:hover {
  background: var(--brand-blue-light);
  transform: scale(1.02);
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}
.hero-tags a,
.hero-tags .tag-link {
  padding: 4px 14px;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s;
}
.hero-tags a:hover,
.hero-tags .tag-link:hover {
  background: var(--brand-blue-muted);
  border-color: var(--border-brand);
  color: var(--brand-blue-light);
}

/* =========================================
   数据亮点
   ========================================= */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-8) 0;
  flex-wrap: wrap;
}
.stat-item {
  text-align: center;
  padding: 14px 28px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  min-width: 110px;
  transition: all 0.3s;
}
.stat-item:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}
.stat-item .stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--brand-blue-light);
  line-height: 1.2;
}
.stat-item .stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* =========================================
   分类卡片 (BIM服务分类)
   ========================================= */
.section-title {
  text-align: center;
  margin-bottom: var(--space-8);
}
.section-title h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.section-title p {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}
.category-card {
  position: relative;
  padding: var(--space-6) var(--space-4);
  background: var(--gradient-card);
  border: 1px solid var(--border-brand);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
  overflow: hidden;
}
.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(43,125,233,0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-glow);
}
.category-card:hover::before { opacity: 1; }
.category-card .cat-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.category-card .cat-icon svg {
  width: 36px;
  height: 36px;
}
.category-card .cat-icon-use {
  fill: none;
  stroke: var(--brand-blue-light);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.category-card .cat-icon-gold {
  fill: none;
  stroke: var(--brand-gold);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.category-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}
.category-card .cat-count {
  font-size: 0.8rem;
  color: var(--brand-blue-light);
  font-weight: 500;
  position: relative;
  z-index: 1;
}

/* =========================================
   精选推荐企业
   ========================================= */
.featured-section {
  margin-bottom: var(--space-12);
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--space-4);
}
.featured-card {
  padding: var(--space-6);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
  position: relative;
}
.featured-card:hover {
  border-color: var(--border-brand);
  background: var(--bg-glass-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}
.featured-card .fc-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 10px;
}
.featured-card .fc-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--brand-blue-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  overflow: hidden;
}
.featured-card .fc-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-card .fc-info { flex: 1; }
.featured-card .fc-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
  margin-bottom: 3px;
}
.featured-card .fc-name:hover { color: var(--brand-blue-light); }
.featured-card .fc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.featured-card .fc-tag {
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 500;
  background: var(--brand-blue-muted);
  color: var(--brand-blue-light);
}
.featured-card .fc-tag-gold {
  background: var(--brand-gold-muted);
  color: var(--brand-gold-light);
}
.featured-card .fc-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 8px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.featured-card .fc-stats {
  display: flex;
  gap: var(--space-4);
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border-glass);
}
.featured-card .fc-stat {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.featured-card .fc-stat strong {
  color: var(--text-secondary);
  font-weight: 600;
}

/* =========================================
   CTA 区域
   ========================================= */
.cta-section {
  position: relative;
  padding: var(--space-16) var(--space-6);
  margin: var(--space-12) 0;
  text-align: center;
  background: var(--gradient-cta);
  border: 1px solid var(--border-brand);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(43,125,233,0.08), transparent);
  pointer-events: none;
}
.cta-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
}
.cta-section p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: var(--space-6);
  position: relative;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  background: var(--gradient-gold);
  color: #0B1120 !important;
  font-weight: 700;
  font-size: 0.9375rem;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  font-family: inherit;
  position: relative;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(232,160,32,0.3);
}
.cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 28px;
  background: transparent;
  color: var(--text-secondary) !important;
  font-weight: 500;
  font-size: 0.875rem;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  margin-left: 10px;
  font-family: inherit;
}
.cta-btn-secondary:hover {
  border-color: var(--border-brand);
  color: var(--brand-blue-light) !important;
}

/* =========================================
   最新资讯 (首页)
   ========================================= */
.news-section { margin-bottom: var(--space-12); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-4);
}
.news-card {
  padding: var(--space-5);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
}
.news-card:hover {
  border-color: var(--border-brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.news-card .nc-cat {
  font-size: 0.7rem;
  color: var(--brand-blue-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}
.news-card .nc-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
  margin-bottom: 6px;
  line-height: 1.4;
}
.news-card .nc-title:hover { color: var(--brand-blue-light); }
.news-card .nc-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card .nc-meta {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* =========================================
   Footer
   ========================================= */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
  padding: var(--space-12) 0 var(--space-8);
  margin-top: var(--space-12);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-brand .fb-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand .fb-logo img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}
.footer-brand .fb-name {
  font-size: 1rem;
  font-weight: 600;
}
.footer-brand p {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.footer-col a {
  display: block;
  font-size: 0.825rem;
  color: var(--text-muted);
  padding: 3px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--brand-blue-light); }
.footer-divider {
  border: none;
  border-top: 1px solid var(--border-glass);
  margin: 0 0 var(--space-6);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* =========================================
   列表页面 (分类列表)
   ========================================= */
.page-hero {
  position: relative;
  padding: var(--space-12) 0 var(--space-8);
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 30%, rgba(43,125,233,0.06), transparent);
  pointer-events: none;
}
.page-hero h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  position: relative;
  z-index: 1;
  margin-bottom: 6px;
}
.page-hero p {
  color: var(--text-muted);
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

/* 列表内容 */
.list-page {
  position: relative;
  padding: var(--space-8) 0 var(--space-16);
}
.list-page h2 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin: var(--space-8) 0 var(--space-4);
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.list-page .filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--space-6);
}
.list-page .filter-pills a,
.list-page .pill-link {
  display: inline-block;
  padding: 8px 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.25s;
}
.list-page .filter-pills a:hover,
.list-page .pill-link:hover {
  background: var(--brand-blue-muted);
  border-color: var(--border-brand);
  color: var(--brand-blue-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(43,125,233,0.1);
}
.list-page .filter-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: var(--space-6);
}
.list-page .filter-cards a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: var(--gradient-card);
  border: 1px solid var(--border-brand);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.25s;
  min-width: 120px;
}
.list-page .filter-cards a:hover {
  background: linear-gradient(135deg, rgba(43,125,233,0.18), rgba(26,58,108,0.1));
  border-color: var(--brand-blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  color: var(--text-primary);
}

/* 企业/项目卡片网格 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}
.card-grid .card {
  padding: var(--space-5);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
}
.card-grid .card:hover {
  border-color: var(--border-brand);
  background: var(--bg-glass-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.card-grid .card h3 {
  font-size: 1rem;
  font-weight: 600;
}
.card-grid .card h3 a {
  color: var(--text-primary);
}
.card-grid .card h3 a:hover { color: var(--brand-blue-light); }
.card-grid .card .card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 8px 0;
}
.card-grid .card .tag {
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 500;
  background: var(--brand-blue-muted);
  color: var(--brand-blue-light);
}
.card-grid .card .tag-gold {
  background: var(--brand-gold-muted);
  color: var(--brand-gold-light);
}
.card-grid .card .card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-grid .card .card-meta {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* =========================================
   内容页 (企业详情、文章等)
   ========================================= */
.content-page {
  padding: var(--space-8) 0 var(--space-16);
  max-width: 860px;
  margin: 0 auto;
}
.content-page h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: var(--space-4);
}
.content-page .content-body {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.75;
}
.content-page .content-body p {
  margin-bottom: var(--space-4);
}
.content-page .content-body ul,
.content-page .content-body ol {
  margin: var(--space-4) 0;
  padding-left: 20px;
}
.content-page .content-body li {
  margin-bottom: 6px;
  color: var(--text-secondary);
}
.content-page .content-body img,
.content-image {
  width: 100%;
  border-radius: var(--radius-lg);
  margin: var(--space-6) 0;
  border: 1px solid var(--border-glass);
}
.content-page .content-body blockquote {
  padding: var(--space-4) var(--space-6);
  margin: var(--space-4) 0;
  background: var(--bg-glass);
  border-left: 3px solid var(--brand-blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* =========================================
   表格 (兼容旧内容)
   ========================================= */
.content-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 4px;
  margin: var(--space-4) 0;
}
.content-table thead th {
  padding: 8px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-align: left;
  background: transparent;
  border: none;
}
.content-table tbody tr {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  transition: all 0.2s;
}
.content-table tbody tr:hover {
  background: var(--bg-glass-hover);
  transform: translateX(2px);
}
.content-table td {
  padding: 10px 14px;
  border: 1px solid var(--border-glass);
  font-size: 0.875rem;
  color: var(--text-primary);
}
.content-table td:first-child {
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  border-right: none;
}
.content-table td:last-child {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  border-left: none;
}
.content-table td:not(:first-child):not(:last-child) {
  border-left: none;
  border-right: none;
}
.content-table td a {
  color: var(--text-primary);
  font-weight: 500;
}
.content-table td a:hover { color: var(--brand-blue-light); }

/* =========================================
   面包屑导航
   ========================================= */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: var(--space-4) 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--brand-blue-light); }
.breadcrumb .sep { color: var(--text-muted); opacity: 0.4; }

/* =========================================
   空状态
   ========================================= */
.empty-state {
  text-align: center;
  padding: var(--space-12);
}
.empty-state .icon {
  font-size: 3rem;
  display: block;
  margin-bottom: var(--space-4);
  opacity: 0.5;
}
.empty-state h3 {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.empty-state p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* =========================================
   动画
   ========================================= */
.animate-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.5s ease forwards;
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* =========================================
   响应式
   ========================================= */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .featured-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .site-header .container { height: 56px; }
  .main-nav { display: none; }
  .mobile-toggle { display: block; }
  .mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
  .mobile-toggle.active span:nth-child(2) { opacity: 0; }
  .mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: rgba(11,17,32,0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    padding: var(--space-4);
    gap: 2px;
  }
  .main-nav.open a { padding: 10px 14px; width: 100%; }
  .nav-cta { margin-left: 0; text-align: center; }
  .hero { padding: var(--space-12) 0 var(--space-8); }
  .hero h1 { font-size: 1.6rem; }
  .hero p { font-size: 0.875rem; }
  .hero-search { flex-direction: column; border-radius: var(--radius-lg); }
  .hero-search input { width: 100%; padding: 12px 16px; }
  .hero-search button { width: calc(100% - 8px); margin: 0 4px 4px; }
  .category-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .category-card { padding: var(--space-4) 8px; }
  .category-card .cat-icon { width: 36px; height: 36px; }
  .category-card .cat-icon svg { width: 28px; height: 28px; }
  .category-card h3 { font-size: 0.8rem; }
  .featured-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .site-brand-tagline { display: none; }
  .cta-btn-secondary { margin-left: 0; margin-top: 10px; }
}

@media (max-width: 480px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { min-width: 80px; padding: 10px 14px; }
  .stat-item .stat-num { font-size: 1.3rem; }
  .hero-search input { font-size: 0.875rem; }
}
