/* ============================================
   鼎科商务科技风格设计系统 - 鼎科信息官网原型
   设计规范：蓝灰主色调，商务科技风格，克制微动效
   ============================================ */

/* ========== 设计令牌（Design Tokens） ========== */
:root {
  /* 色彩系统 - 鼎科商务科技风格 */
  --color-primary: #0052d9; /* 科技蓝 - 鼎科品牌蓝色 */
  --color-primary-light: #4d7fff;
  --color-primary-dark: #0039a6;

  --color-gray-900: #1a1a1a; /* 深灰 - 商务稳重 */
  --color-gray-800: #333333;
  --color-gray-700: #4d4d4d;
  --color-gray-600: #666666;
  --color-gray-500: #808080;
  --color-gray-400: #999999;
  --color-gray-300: #b3b3b3;
  --color-gray-200: #cccccc;
  --color-gray-100: #e6e6e6;
  --color-gray-50: #f5f5f5;

  --color-white: #ffffff;
  --color-black: #000000;

  /* 功能色 */
  --color-success: #52c41a;
  --color-warning: #fa8c16;
  --color-error: #a50000; /* 深红色 - 匹配图片中的深红色调 */
  --color-info: #1890ff;

  /* 背景色 */
  --bg-primary: var(--color-white);
  --bg-secondary: var(--color-gray-50);
  --bg-dark: var(--color-gray-900);

  /* 文字色 */
  --text-primary: var(--color-gray-900);
  --text-secondary: var(--color-gray-700);
  --text-muted: var(--color-gray-600);
  --text-light: var(--color-gray-400);
  --text-on-dark: var(--color-white);

  /* 边框色 */
  --border-color: var(--color-gray-200);
  --border-color-light: var(--color-gray-100);

  /* 阴影 */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 8px 24px rgba(0, 0, 0, 0.12);

  /* 圆角 */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 999px;

  /* 间距系统（基于8px） */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-14: 56px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-28: 112px; /* 模块间距（基于ui-ux-pro-max原则） */
  --space-32: 128px;

  /* 字体 */
  --font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "Consolas", "Monaco", "Courier New", monospace;

  /* 字体大小 */
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 18px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-3xl: 30px;
  --text-4xl: 36px;
  --text-5xl: 48px;
  --text-6xl: 64px;

  /* 行高 */
  --leading-tight: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.75;

  /* 过渡动画 */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

  /* 布局宽度 */
  --container-width: 1280px;
  --container-padding: var(--space-6);

  /* 断点标准 (Breakpoint Tokens) */
  --breakpoint-xxl: 1400px;
  --breakpoint-xl: 1200px;
  --breakpoint-lg: 992px;
  --breakpoint-md: 768px;
  --breakpoint-sm: 576px;
}

/* ========== 重置与全局样式 ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 92px; /* 72px 固定导航栏 + 20px 留白 */
}

body {
  font-family: var(--font-family);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

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


/* ========== 排版样式 ========== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: var(--leading-tight);
  margin-bottom: var(--space-4);
}

h1 {
  font-size: var(--text-5xl);
}

h2 {
  font-size: var(--text-4xl);
}

h3 {
  font-size: var(--text-3xl);
}

h4 {
  font-size: var(--text-2xl);
}

p {
  margin-bottom: var(--space-4);
}

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

/* 正文内链：加粗 + 继承正文颜色 */
.content-link {
  color: inherit;
  font-weight: 700;
}

a:hover {
  color: var(--color-primary-dark);
}

/* ========== 按钮样式 ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-8);
  font-size: var(--text-base);
  font-weight: 500;
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--radius-full); /* 统一全局按钮为胶囊状全圆角 */
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  white-space: nowrap;
  user-select: none;
  gap: var(--space-2);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* 移除全局的 ::after 伪元素，以防在各种不希望出现的地方强制产生箭头。如果需要箭头，在 HTML 里添加 <i> 标签更可控。 */

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  box-shadow: var(--shadow-md);
  /* 移除了 translateY(-1px) 避免抖动 */
}

/* primary 按钮悬浮时箭头的交互 */
.btn-primary:hover i {
  transform: translateX(4px);
}

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

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
  /* 移除了 translateY(-1px) 避免抖动 */
}

.btn-outline:hover i {
  transform: translateX(4px);
  color: var(--color-white);
}

/* Banner 内的按钮：黑框黑字，悬停红底白字 */
.slide .btn-primary,
.slide .btn-outline {
  color: #1a1a2e;
  border-color: #1a1a2e;
  background-color: transparent;
}

.slide .btn-primary:hover,
.slide .btn-outline:hover {
  background-color: #dc2626;
  color: #fff;
  border-color: #dc2626;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.35);
}

.slide .btn-primary:hover i,
.slide .btn-outline:hover i {
  transform: translateX(4px);
}

/* ========== 导航栏样式 ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color-light);
  height: 72px; /* 稍微增加高度以适应低位红线 */
  transition: all var(--transition-normal);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  position: relative;
}

.nav-brand {
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-2);
}

.brand-logo {
  height: 32px; /* 调整 Logo 大小，与文字协调 */
  width: auto;
}

.logo-text {
  font-size: var(--text-2xl); /* 增大鼎科信息文字 */
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.nav-menu {
  flex: 1;
  display: flex;
  justify-content: center;
  height: 100%;
  position: relative; /* 为红线提供定位参考 */
}

.nav-underline {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--color-error);
  transition:
    left 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    width 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 0.3s ease; /* 限制过渡属性，避免干扰 */
  pointer-events: none;
  z-index: 10;
  opacity: 0;
}

/* 移除这里的 hover 自动显示，全部交给 JS 精准控制 */

.nav-primary {
  display: flex;
  list-style: none;
  gap: 0;
  height: 100%;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0; /* 移除 li 上的 padding，移交给 a 标签以确保红线位置同步 */
}

.nav-item > a {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  color: var(--text-primary);
  font-weight: 400;
  font-size: 19px;
  height: 100%;
  padding: 0 30px; /* 统一感应区域：左右各 30px，确保覆盖间隙的一半 */
  transition: color var(--transition-fast);
}

/* 针对第一个项目”产品中心”左侧感应区进行特别扩大 */
.nav-primary .nav-item:first-child > a {
  padding-left: 90px;
}

/* 栏目数 >= 8 时自动缩小内边距，防止换行 */
.nav-primary.nav-compact .nav-item > a {
  padding: 0 15px;
  font-size: 17px;
}
.nav-primary.nav-compact .nav-item:first-child > a {
  padding-left: 35px;
}

.nav-item > a:hover {
  color: var(--color-error);
}

.nav-item.active > a {
  color: var(--text-primary);
  font-weight: 400;
}

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

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background-color: var(--color-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  list-style: none;
  padding: var(--space-2) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  z-index: 100;
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu a {
  display: block;
  padding: var(--space-3) var(--space-4);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.dropdown-menu a:hover {
  background-color: var(--color-gray-50);
  color: var(--color-primary);
  padding-left: var(--space-6);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.search-toggle {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 18px;
  cursor: pointer;
  padding: var(--space-2);
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  position: relative;
}

.search-label {
  font-size: 16px;
  font-weight: 400;
  position: absolute;
  left: 100%;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
  margin-left: 4px;
}

.search-toggle:hover {
  color: var(--color-error) !important;
  transform: scale(1.1);
}

.search-toggle:hover .search-label {
  color: var(--color-error) !important;
  opacity: 1;
  transform: translateX(0);
}

/* ========== 导航栏内联搜索框 ========== */
.navbar-search {
  display: none;
  align-items: center;
  gap: 12px;
  flex: 1;
  max-width: 800px;
  margin: 0 40px; /* PC端保持一定间距，但不挤压logo */
  opacity: 0;
  transition: opacity 0.2s ease;
  position: relative;
}

/* 确保PC端搜索激活时logo不消失 */
.navbar.search-active .nav-brand {
    display: flex !important;
    flex-shrink: 0;
}

/* 搜索激活时搜索框在导航栏整体居中 */
.navbar.search-active .navbar-search {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  max-width: 70vw;
}


.navbar-search.visible {
  opacity: 1;
}

.navbar-search-icon {
  color: var(--text-muted);
  font-size: 18px;
  flex-shrink: 0;
}

.navbar-search-input {
  flex: 1;
  border: none;
  border-bottom: none;
  background: none;
  font-size: 17px;
  color: var(--text-primary);
  padding: 6px 0;
  outline: none;
  font-family: inherit;
}

.navbar-search-input::placeholder {
  color: var(--color-gray-300);
}

.navbar-search-close {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 10px;
  flex-shrink: 0;
  transition: color 0.2s;
}

.navbar-search-close:hover {
  color: var(--text-primary);
}

/* 首页 Banner 区域例外：允许按钮点击 */
.banner-section .btn {
    pointer-events: auto !important;
}

/* 针对绝对定位容器的点击穿透修正 */
.product-card,
.solution-card,
.case-card,
.news-bento-card {
  cursor: pointer;
  position: relative;
  text-decoration: none !important; /* 确保作为 a 标签时无下划线 */
  color: inherit !important; /* 确保文字颜色不被 a 标签默认颜色覆盖 */
  display: flex;
  flex-direction: column; /* 统一为垂直排列 */
  overflow: hidden; /* 确保圆角和子元素溢出正常 */
  z-index: 1; /* 建立层级，确保伪元素能覆盖子元素 */
}

/* 确保 a 标签内的点击不会被子元素完全阻挡 */
.product-card > *,
.solution-card > *,
.case-card > *,
.news-bento-card > * {
    pointer-events: none;
}

/* 重新允许交互性元素点击 */
.product-card .solution-link {
    display: none;
}
.solution-card .solution-link,
.case-card .solution-link,
.news-bento-card .solution-link {
    pointer-events: auto;
}

/* 搜索结果下拉框 */
.search-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  z-index: 999;
  overflow: hidden;
  animation: dropdownFadeIn 0.18s ease;
}

.search-dropdown.show {
  display: block;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-dropdown-inner {
  max-height: 420px;
  overflow-y: auto;
  padding: 8px 0;
  overscroll-behavior: contain;
}

.search-result-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 20px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

/* ========== 客户案例页面特定样式 ========== */
.case-card-v2:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12) !important;
  border-color: var(--color-primary) !important;
}

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

.case-card-v2:hover h3 {
  color: var(--color-primary) !important;
}

.case-card-v2 h3 {
  font-family: Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 1.13rem;
  margin-bottom: 12px;
  line-height: 1.4;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.case-card-v2 p {
  font-family: Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ≤1920px 案例卡片等比缩小，避免细竖条 */
@media (max-width: 1920px) {
  .filter-status-bar { margin-bottom: 6px !important; }
  .case-card-v2 .case-image-box { height: 130px !important; }
  .case-card-v2 .case-info-box { padding: 10px !important; }
  .case-card-v2 .case-meta { font-size: 0.75rem !important; margin-bottom: 4px !important; }
  .case-card-v2 h3 { font-size: 1rem !important; margin-bottom: 2px !important; }
  .case-card-v2 p { font-size: 0.82rem !important; line-height: 1.5 !important; margin-bottom: 1px !important; }
  .case-card-v2 .solution-link { padding: 6px 16px !important; font-size: 0.82rem !important; }
  .filter-status-bar .btn { padding: 6px 12px !important; font-size: 0.9rem !important; }
  .cases-filter { padding: 12px 0 !important; }
}

/* 行业筛选标签基础样式 */
.filter-tag {
  padding: 8px 24px;
  border-radius: 20px;
  border: 1px solid #ddd;
  background: #fff;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
  font-size: 1.05rem;
  outline: none;
}

.filter-tag:hover {
  border-color: var(--color-primary) !important;
  color: var(--color-primary) !important;
}

.filter-tag.active {
  border-color: var(--color-primary) !important;
  background: var(--color-primary) !important;
  color: white !important;
}

.filter-tag.active:hover {
  color: white !important;
  background-color: var(--color-primary-dark) !important; /* 悬停时深一点点，增加反馈 */
  border-color: var(--color-primary-dark) !important;
}

.page-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
  color: #666;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
}

.page-btn:hover {
  border-color: var(--color-primary) !important;
  color: var(--color-primary) !important;
}

.page-btn.active {
  background: var(--color-primary) !important;
  color: #fff !important;
  border-color: var(--color-primary) !important;
}

.page-btn.active:hover {
  background-color: var(--color-primary-dark) !important;
  color: #fff !important;
}

/* 通用分页箭头样式 */
.page-arrow {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
  color: #666;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-arrow:disabled {
  background: #f5f5f5;
  color: #ccc;
  cursor: not-allowed;
}

.page-arrow:not(:disabled):hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.search-result-item:hover {
  background: var(--bg-secondary, #f5f7fa);
}

.search-result-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: var(--color-primary, #1a6fc4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 14px;
}

.search-result-icon.type-solution {
  background: #0e7a5a;
}
.search-result-icon.type-news {
  background: #7c4dbd;
}
.search-result-icon.type-case {
  background: #d97706;
}
.search-result-icon.type-insight {
  background: #0891b2;
}

/* 搜索加载提示 */
.search-loading {
  padding: 28px 20px;
  text-align: center;
  color: var(--text-muted, #999);
  font-size: 14px;
}

.search-result-body {
  flex: 1;
  min-width: 0;
}

.search-result-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-title em,
.search-result-meta em {
  color: var(--color-primary, #1a6fc4);
  font-style: normal;
  font-weight: 600;
}

.search-result-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.search-no-result {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px 20px;
  color: var(--text-muted);
  font-size: 14px;
}

/* 搜索激活时隐藏导航菜单和操作区（由JS直接控制style，此规则备用） */

/* 此处重复的规则删掉，避免和后面冲突
.nav-item.has-megamenu:hover .megamenu {
    opacity: 1;
    visibility: visible;
    max-height: 800px;
    pointer-events: auto;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: max-height 1s cubic-bezier(0.25, 1, 0.5, 1),
                box-shadow 1s cubic-bezier(0.25, 1, 0.5, 1);
}
*/

/* 增加透明桥接层，防止鼠标斜向移动时 Mega Menu 消失 */
.nav-item.has-megamenu::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 20px; /* 桥接导航项到菜单顶部的距离 */
  background: transparent;
  z-index: 100;
}

.nav-item.has-megamenu.is-open::after {
  display: block;
}

/* ========== 优化相邻导航栏菜单快速切换（平滑与硬切结合） ========== */
/*
   目标逻辑：
   1. 首次把鼠标移入导航栏上的下拉项：播放 0.6s 的慢动作展开。
   2. 在已经展开的两个下拉项之间横向平移：旧的瞬间消失 (0s)，新的瞬间展开 (0s)。
   3. 把鼠标完全移出导航栏：当前展开的菜单播放 0.6s 的慢动作收回。
*/

/* 技巧：当整个 .nav-primary 处于 hover 状态时，给所有的 .megamenu 设定极短的无动画 0s。
   这就意味着在内部横滑时，不论是离开旧的，还是进入新的，都会瞬间切换。 */
/* .nav-primary:hover .megamenu {
    transition: max-height 0s, box-shadow 0s !important;
} */

/* 但是！如果是“首次把鼠标放上去”，我们需要让上面的 0s 规则延迟一下才生效，
   这样“首次展开”的过程就能躲过 0s 的绞杀，享受到 0.6s 的平滑展开。
   这个延迟时间要略大于 0s，但不用等完全展开。我们给 .nav-primary:hover 整体加一个短暂的过渡延迟（通过让透明度不生效的属性来充当计时器）。
   在 CSS 纯方案里，这非常困难。所以我们换一种更聪明的做法：

   在默认情况下，只要你还没离开，就维持正常的 0.6s 收回。 */
.megamenu {
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  background-color: #fff;
  border-top: 1px solid var(--border-color);
  box-shadow: none;
  padding: 0;
  opacity: 1;
  visibility: hidden;
  max-height: 0;
  overflow: hidden;
  /* 【收回动画】：默认慢速收回 (0.8s) */
  transition:
    max-height 0.8s cubic-bezier(0.25, 1, 0.5, 1),
    visibility 0.8s,
    box-shadow 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 99;
  pointer-events: none;
}

/* 【展开动画】：默认慢速展开 (1s) */
.nav-item.has-megamenu.is-open .megamenu {
  opacity: 1;
  visibility: visible;
  max-height: 800px;
  pointer-events: auto;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition:
    max-height 1s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 1s cubic-bezier(0.25, 1, 0.5, 1);
}

/* 【重点：解决横滑时的割裂感】
   横滑意味着“从一个有下拉的项移到另一个有下拉的项”。
   如果我们在 CSS 里用兄弟选择器，当 hover 产品中心时，它的后续兄弟（解决方案）就会受到影响。
*/
/*
.nav-item.has-megamenu:hover ~ .nav-item.has-megamenu .megamenu,
.nav-item.has-megamenu:hover ~ .nav-item.has-megamenu:hover .megamenu {
    transition: max-height 0s, box-shadow 0s !important;
}
*/

/* 更好的无JS终极 CSS :has 方案：如果当前的 .nav-primary 内有【任何一个】 .has-megamenu 被 hover（说明菜单已经展开了），
   此时再去 hover 其他的 .has-megamenu，它们全部变成 0s 动画。
   (目前由于无法判定首次 hover，纯 CSS 最佳方案是利用JS给整个 nav-primary 挂一个 is-active 类)。
   这里我们将通过一段简短的 JS 来完美控制这个逻辑，而不是用 CSS 死磕。
   在 CSS 中，我们只需要写好一个瞬切辅助类： */

.nav-primary.is-switching .megamenu {
  transition: none !important;
}

/* ========== Mega Menu 巨型菜单 ========== */

.megamenu-container {
  display: flex;
  width: 100%;
  max-width: var(--container-width); /* 与解决方案对齐 */
  margin: 0 auto; /* 与解决方案对齐 */
  gap: 60px;
  min-height: 448px; /* 最小高度兜底，实际高度由内容自适应 */
  height: auto; /* 允许自适应 */
  padding: 0; /* 【统一高度】将外部包裹层的 30px padding 取消，依靠内部侧边栏的 40px 撑开（和解决方案逻辑一致） */
  align-items: stretch; /* 确保子元素（包括 banner）高度拉伸 */
  box-sizing: border-box; /* 增加这个 */
}

/* === 产品中心下拉框左侧列表 (重构版：参考解决方案结构) === */
.megamenu-sidebar {
  width: 250px; /* 【统一左侧分割线】宽度从 260px 缩短为 250px，与解决方案完全对齐 */
  flex-shrink: 0;
  border-right: 1px solid var(--border-color);
  padding: 40px 0; /* 【统一高度】从 20px 0 改为 40px 0，与解决方案保持一致 */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.megamenu-tabs {
  list-style: none;
  padding: 0;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.megamenu-tab {
  padding: 16px 16px; /* 【缩短间距】将原本的左右20px改为16px，让出横向空间给文字 */
  font-size: 15px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  border-left: 3px solid transparent;
  font-weight: 400;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px; /* 【缩小间距】图标和文字间距从12px减为10px，更紧凑 */
  position: relative;
  background-color: transparent;
}

.megamenu-tab-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #f5f7fa;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 14px;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.megamenu-tab-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0; /* 防止子元素撑破 flex 容器 */
}

.megamenu-tab-title {
  font-size: 15px;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.megamenu-tab-arrow {
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0;
  transform: translateX(-5px);
  transition: all var(--transition-fast);
  position: absolute;
  right: 20px;
}

/* 悬停和激活状态 */
.megamenu-tab:hover,
.megamenu-tab.active {
  background-color: #fff;
  border-left-color: var(--color-primary);
}

.megamenu-tab:hover .megamenu-tab-icon,
.megamenu-tab.active .megamenu-tab-icon {
  background-color: var(--color-primary);
  color: #fff;
}

.megamenu-tab:hover .megamenu-tab-title,
.megamenu-tab.active .megamenu-tab-title {
  color: var(--color-primary);
  font-weight: 700;
}

.megamenu-tab:hover .megamenu-tab-arrow,
.megamenu-tab.active .megamenu-tab-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--color-primary);
}

/* 中间内容区 */
.megamenu-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center; /* 【新增】让中间所有的内容垂直居中 */
  padding: 40px 0; /* 【统一高度】让中间内容也保持上下 40px 的内边距，与左侧对齐 */
}

.megamenu-pane {
  display: none;
  flex: 1; /* 允许面板在内容区拉伸 */
}

.megamenu-pane.active {
  display: flex;
  flex-direction: column;
}

.megamenu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  flex: 1; /* 允许网格在面板内拉伸 */
  align-content: center; /* 【新增】当网格有多项时，垂直居中对齐 */
}

.megamenu-item {
  display: flex;
  gap: 16px;
  padding: 12px;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s;
}

.megamenu-item:hover {
  background-color: var(--bg-secondary);
}

.megamenu-item-icon {
  width: 40px;
  height: 40px;
  background: #f0f4f8;
  color: var(--color-primary);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.megamenu-item-title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

/* 单个内容的专属高度自适应布局 */
.megamenu-grid:has(> .single-item) {
  display: flex; /* 改为 flex 以支持高度拉伸 */
  flex-direction: column;
  justify-content: center; /* 【修改核心】垂直居中 */
  height: 100%;
  padding-top: 0; /* 移除强行的下移 padding，交给居中去处理 */
  padding-left: 0px;
}

.megamenu-grid .single-item {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: transparent !important;
  cursor: default;
  height: auto;
}

.megamenu-grid .single-item .megamenu-item-icon {
  display: none; /* 按照图片参考，隐藏图标 */
}

.megamenu-grid .single-item .megamenu-item-info {
  display: flex;
  flex-direction: column;
  gap: 16px; /* 标题、描述、按钮之间的自适应间距，稍微拉开一点，更协调 */
}

.megamenu-grid .single-item .megamenu-item-title {
  font-size: 18px; /* 标题从 20px 降至 18px */
  font-weight: 700;
  margin-bottom: 0;
  line-height: 1.2;
}

.megamenu-grid .single-item .megamenu-item-desc {
  font-size: 13px; /* 描述文字从 14px 降至 13px */
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 0;
}

.megamenu-item-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* 右侧推广位 */
.megamenu-banner {
  width: 320px; /* 【修改】宽度增加到 320px，和高度的 320px 一致，形成正方形 */
  min-width: 320px; /* 强制固定宽度，防止在 flex 布局中被压缩 */
  flex-shrink: 0;
  text-decoration: none;
  display: block;
  align-self: center; /* 随下拉框高度增加自动垂直居中 */
}

/* 移除悬停时的上移效果，保持布局稳定 */
.megamenu-banner:hover {
  transform: none;
}

.megamenu-banner-card {
  background: linear-gradient(135deg, #1a6fc4 0%, #0d4a86 100%);
  border-radius: 12px;
  padding: 36px 30px; /* 因为面积变大，增加了内边距让内部呼吸感更好 */
  width: 320px; /* 【修改】宽度增加到 320px，和 a 标签一致 */
  height: 100%; /* 内部 div 直接撑满父级 <a> 的高度 */
  min-height: 320px; /* 【终极杀招】直接给这个蓝色色块写死一个最小高度 */
  color: #fff;
  display: flex;
  flex-direction: column;
  text-align: left; /* 强制内部内容左对齐 */
  box-sizing: border-box; /* 确保 padding 不增加宽度 */
}

.megamenu-banner-card .badge {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  margin-bottom: 16px;
}

.megamenu-banner-card h4 {
  font-size: 18px;
  margin-bottom: 8px;
  line-height: 1.3;
  text-align: left; /* 确保标题左对齐 */
}

.megamenu-banner-card p {
  font-size: 13px;
  opacity: 0.8;
  margin-bottom: auto;
  text-align: left; /* 确保描述文字左对齐 */
}

.megamenu-banner-card .text-link {
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  justify-content: flex-start; /* 确保立即查看文字在弹性布局中靠左 */
  text-align: left;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(5px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 24px; /* 从 30px 缩小 20% */
  height: 19px; /* 从 24px 缩小 20% */
  position: relative;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: left center;
}

.navbar.is-open .mobile-toggle span {
  background-color: var(--color-primary);
}

.navbar.is-open .mobile-toggle span:nth-child(1) {
  transform: rotate(45deg);
}

.navbar.is-open .mobile-toggle span:nth-child(2) {
  width: 0%;
  opacity: 0;
}

.navbar.is-open .mobile-toggle span:nth-child(3) {
  transform: rotate(-45deg);
}

/* ========== 侧边咨询入口 ========== */
.sidebar-contact {
  position: fixed;
  right: var(--space-6);
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001; /* 确保高于导航栏和其他内容 */
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.contact-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 68px; /* 稍微调大一点，显得更大气 */
  height: 68px;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.contact-item:hover {
  transform: translateX(-4px); /* 向左轻微偏移 */
  box-shadow: var(--shadow-xl);
  color: var(--color-primary);
}

.contact-item.phone:hover,
.contact-item.back-to-top:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.contact-item.qr-code:hover {
  background-color: var(
    --color-success
  ); /* 改为微信绿，更符合“关注/扫码”的直觉，且与蓝色系协调 */
  color: var(--color-white);
}

.contact-label {
  font-size: 11px; /* 缩小文字，突出图标 */
  margin-top: var(--space-1);
  font-weight: 500;
}

/* 弹出窗口通用样式 */
.contact-popup {
  position: absolute;
  right: 74px; /* 缩小间距，确保 hover 能够顺滑过渡 */
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background-color: var(--color-white);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  pointer-events: none;
  width: 170px; /* 统一宽度 */
  height: 180px; /* 统一高度 */
  display: flex;
  flex-direction: column;
  justify-content: center; /* 确保内容垂直居中 */
  text-align: center;
  border: 1px solid var(--border-color-light);
}

/* 增加透明桥接层，防止鼠标移动到弹出框时消失 */
.contact-popup::before {
  content: "";
  position: absolute;
  top: 0;
  right: -20px; /* 向按钮方向延伸，填补间隙 */
  width: 20px;
  height: 100%;
  background: transparent;
}

.contact-item:hover .contact-popup,
.contact-item.is-active .contact-popup {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
  pointer-events: auto;
}

/* 弹出窗口装饰小三角 */
.contact-popup::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background-color: var(--color-white);
  border-right: 1px solid var(--border-color-light);
  border-top: 1px solid var(--border-color-light);
}

.popup-title {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-2);
  border-bottom: 1px solid var(--border-color-light);
  padding-bottom: var(--space-2);
  flex-shrink: 0;
}

.phone-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
  justify-content: center;
}

.phone-number {
  font-size: var(--text-base);
  color: var(--color-primary);
  font-weight: 700;
}

.qr-image {
  width: 120px; /* 进一步优化二维码大小 */
  height: 120px;
  display: block;
  margin: 0 auto;
}

/* 回到顶部特定样式 */
.contact-item.back-to-top {
  margin-top: 0; /* 移除多出的 16px (var--space-4) 间距 */
  background-color: var(--color-white);
}

.contact-item.back-to-top:hover {
  background-color: var(--color-gray-900);
  color: var(--color-white);
}

/* ========== Banner轮播图（120分优先级） ========== */
.banner-section {
  position: fixed; /* 固定定位，保持不动 */
  top: 0; /* 从 0 开始，覆盖整个视口 */
  left: 0;
  width: 100%;
  height: 100vh; /* 填满整个屏幕高度 */
  z-index: 1; /* 置于底层 */
  overflow: hidden;
  --dim-opacity: 0; /* 默认亮度正常 */
  user-select: none;
}

.banner-slider {
  position: relative;
  height: 100%;
  z-index: 2;
  user-select: none;
}

/* 轮播项背景 - 每项不同颜色方便区分效果 */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity var(--transition-slow);
  /* CMS 友好型背景处理 */
  background-image: var(--slide-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide.active {
  opacity: 1;
}

.slide-content {
  position: relative;
  height: 100%;
  z-index: 2;
  display: flex;
  align-items: center;
  padding-top: 72px; /* 给顶部导航栏预留出空间 */
}

/* 统一覆盖层，增加文字可读性 */
.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(180, 180, 180, var(--slide-overlay-opacity, 0.25));
  z-index: 1;
  pointer-events: none; /* 【添加】防止遮罩层阻挡鼠标事件 */
}

.slide-text {
  max-width: 1600px;
  margin: 0 auto;
  color: #1a1a2e;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.15);
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity var(--transition-slow),
    transform var(--transition-slow);
  user-select: none;
  position: relative; /* 【添加】确保 z-index 生效 */
  z-index: 10; /* 【添加】确保文字和按钮层级高于所有的背景和遮罩 */
}

.slide.active .slide-text {
  opacity: 1;
  transform: translateY(0);
}

.slide.active .slide-title {
  animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.slide.active .slide-desc {
  animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

.slide.active .slide-actions {
  animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}

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

.slide-title {
  font-size: var(--text-6xl);
  font-weight: 700;
  margin-bottom: var(--space-6);
  line-height: 1.1;
}

.slide-desc {
  font-size: var(--text-xl);
  margin-bottom: var(--space-8);
  opacity: 0.9;
  line-height: 1.6;
}

.slide-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
}

/* 隐藏轮播图按钮的专用类，只需在 HTML 的 <div class="slide-actions"> 上加上 hidden 类即可隐藏该轮播图的按钮 */
.slide-actions.hidden {
  display: none !important;
}

.slider-arrow {
  display: none; /* PC 端不显示，移动端单独开启 */
}

.slider-controls {
  position: absolute;
  bottom: var(--space-28);
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 移除容器限制，让指示点真正居中于屏幕 */
.slider-controls .container {
  max-width: none;
  padding: 0;
  margin: 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

.slider-dots {
  display: flex;
  gap: var(--space-3);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  padding: 0;
}

.dot.active {
  background-color: var(--color-white);
  transform: scale(1.2);
}

.dot:hover {
  background-color: rgba(255, 255, 255, 0.6);
}

/* Banner变暗覆盖层 */
.banner-section::before {
  content: "";
  position: absolute; /* 相对于 banner-section 固定 */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #000; /* 纯黑背景用于变暗 */
  z-index: 5; /* 位于轮播图内容之上，但低于后续模块 */
  pointer-events: none;
  opacity: var(--dim-opacity, 0);
  transition: none; /* 随滚动实时变化，不需要过渡 */
}

/* ========== 产品介绍板块（110分优先级） ========== */
.products-section {
  position: relative;
  z-index: 10; /* 确保覆盖Banner */
  margin-top: 100vh; /* 设置为完整的首屏高度 */
  padding: var(--space-20) 0; /* 恢复 space-20，增加内容高度 */
  background-color: var(--bg-secondary);
  min-height: 100vh; /* 强制模块至少占据一屏高度 */
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1); /* 顶部阴影增加覆盖感 */
}

/* 滚动内容包装器 */
.main-content-wrapper {
  position: relative;
  z-index: 10; /* 确保高于Banner */
  background-color: var(--color-white); /* 统一为白色背景，避免黑色背景透出 */
}

.products-section.active {
  --lift-distance: -80px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  background-color: var(--color-white);
}

.section-header {
  text-align: center;
  margin-bottom: 48px; /* 从 64px 进一步减小到 48px，预留顶部标题显示空间 */
}

.section-title {
  font-size: var(--text-4xl);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
}

.section-subtitle {
  font-size: var(--text-xl);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* 沉浸式全景 5卡片 Bento 布局 */
.products-section .container {
  max-width: 1720px; /* 大幅扩展容器，适配大屏大气感 */
  width: 94%; /* 保持极小的左右边距，营造满屏视觉 */
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(
    2,
    390px
  ); /* 适中高度：从 360px 调回 390px，保持大气感 */
  column-gap: var(--space-8); /* 恢复 32px 间距，保持大气的呼吸感 */
  row-gap: var(--space-8);
  margin-bottom: var(--space-10); /* 恢复底部间距 */
}

/* 重新优化的 5 卡片比例：更宽、更扁、更大气 */
/* 卡片 1：左侧英雄长条 (跨 2 行) */
.product-card:nth-child(1) {
  grid-column: span 4;
  grid-row: span 2;
  height: 812px; /* 390*2 + 32 gap */
}

/* 右侧异步错位排列：进一步横向拉伸 */
.product-card:nth-child(2) {
  grid-column: span 5;
  height: 390px;
}
.product-card:nth-child(3) {
  grid-column: span 3;
  height: 390px;
}
.product-card:nth-child(4) {
  grid-column: span 3;
  height: 390px;
}
.product-card:nth-child(5) {
  grid-column: span 5;
  height: 390px;
}

.product-card {
  /* 基础样式已在顶部通用的 .product-card 中定义 */
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.product-image {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .image-placeholder {
  transform: scale(1.08);
}

/* 高质量商务科技图片背景 */
.ai-platform {
  background-image: url("https://images.unsplash.com/photo-1677442136019-21780ecad995?auto=format&fit=crop&q=80&w=1000");
  background-color: #f5f7fa;
}
/* 大数据分析平台专用背景 - 修复图片无法显示问题 */
.bigdata {
  background-image: url("https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&q=80&w=1200") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-color: #f0f4f8 !important;
}
.cloud {
  background-image: url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&q=80&w=1000");
  background-color: #ffffff;
}
.iot {
  background-image: url("https://images.unsplash.com/photo-1558346490-a72e53ae2d4f?auto=format&fit=crop&q=80&w=1000");
  background-color: #f0f4f8;
}
.security {
  background-image: url("https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&q=80&w=1000");
  background-color: #f5f5f5;
}

.product-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--space-4) var(--space-8) 14px var(--space-8); /* 整体文字再下移 10px (4px -> 14px) */
  /* 优化渐变：增加更多中间停止点使过渡更自然 */
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0.95) 65%,
    rgba(255, 255, 255, 0.7) 80%,
    rgba(255, 255, 255, 0.3) 90%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 2;
}

.product-badge {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  z-index: 3; /* 标签层级最高 */
}

/* ========== 全新解决方案 Mega Menu ========== */
/* 巨型菜单背景 */
/* 取消这里错误的无 hover 的 .megamenu 直接定义，它会导致所有属性混乱 */
/*
.nav-item.has-megamenu .megamenu {
    background-color: #fff;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-top: 1px solid var(--border-color);
}
*/

.sol-menu-container {
  display: flex;
  width: 100%;
  max-width: var(
    --container-width
  ); /* 使用变量 1280px，保持和主内容一样的版心宽度 */
  margin: 0 auto; /* 让整个容器在屏幕中居中 */
  min-height: 448px; /* 最小高度为 448px（5个项目的高度） */
  max-height: 580px; /* 防止方案分类过多时下拉框撑破视口 */
  height: auto; /* 高度随左侧菜单项自适应撑开 */
  padding: 0; /* 【修改】移除外层的 padding，让左侧栏和右侧图片能够真正触及 1280 容器的边缘 */
  background: #fff;
  box-sizing: border-box;
  justify-content: flex-start; /* 左对齐 */
  gap: 0;
  position: relative; /* 增加相对定位 */
}

/* 左侧导航栏 */
.sol-menu-sidebar {
  width: 250px;
  background-color: #fff;
  margin-left: 0;
  padding: 40px 0; /* 给列表上下增加高度（内边距），这会撑开整个容器的高度 */
  border-right: 1px solid var(--border-color-light);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* 分类多时从顶部排列，配合 overflow 使用 */
  overflow-y: auto; /* 分类超限时左侧区域内部滚动 */
  scrollbar-width: thin; /* Firefox 细滚动条 */
  scrollbar-color: #d0d5dd transparent; /* Firefox 滚动条配色 */
  box-sizing: border-box; /* 修复：必须为 border-box 防止撑破父级高度 */
}

/* 侧边栏滚动条美化（WebKit: Chrome / Edge / Safari） */
.sol-menu-sidebar::-webkit-scrollbar {
  width: 5px;
}

.sol-menu-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.sol-menu-sidebar::-webkit-scrollbar-thumb {
  background: #d0d5dd;
  border-radius: 10px;
}

.sol-menu-sidebar::-webkit-scrollbar-thumb:hover {
  background: #b0b5bd;
}

.sol-menu-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  flex: 1; /* 占据侧边栏可用空间 */
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* 不使用 space-evenly，直接从顶部往下排，靠顶部间距和 margin 撑开 */
}

.sol-menu-nav-item {
  padding: 16px 20px; /* 增加上下padding，从12px改为16px */
  font-size: 16px;
  color: var(--text-color);
  cursor: pointer;
  transition: all var(--transition-fast);
  border-left: 3px solid transparent;
  font-weight: 400;
  margin-bottom: 12px; /* 恢复原有的底部间距，更加可控 */
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative; /* 增加相对定位，为右侧箭头绝对定位做准备 */
}

.sol-menu-nav-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f5f7fa;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 13.99px;
  transition: all var(--transition-fast);
}

.sol-menu-nav-item:hover .sol-menu-nav-icon,
.sol-menu-nav-item.active .sol-menu-nav-icon {
  background: var(--color-primary);
  color: #fff;
}

.sol-menu-nav-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sol-menu-nav-title {
  font-size: 15px;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.sol-menu-nav-arrow {
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0;
  transform: translateX(-5px);
  transition: all var(--transition-fast);
  position: absolute; /* 将箭头绝对定位，让它靠在最右边 */
  right: 20px;
}

.sol-menu-nav-item:hover .sol-menu-nav-arrow,
.sol-menu-nav-item.active .sol-menu-nav-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--color-primary);
}

.sol-menu-nav-item:hover .sol-menu-nav-title,
.sol-menu-nav-item.active .sol-menu-nav-title {
  color: var(--color-primary);
}

.sol-menu-nav-item:hover,
.sol-menu-nav-item.active {
  background-color: #fff;
  color: var(--color-primary);
  border-left-color: var(--color-primary);
  font-weight: 700;
}

/* 右侧内容区域 */
.sol-menu-content-area {
  flex: 1; /* 占据剩余全部空间 */
  position: relative; /* 为内部面板提供定位 */
  background: #fff;
  display: flex;
  align-items: center; /* 右侧内容整体垂直居中 */
  min-height: 448px; /* 即使左侧没有内容，也能保证右侧至少有一个高度 */
  box-sizing: border-box;
  overflow: hidden;
}

/* 面板隐藏与显示 */
.sol-menu-panel {
  display: none;
  width: 100%;
  padding-left: 60px; /* 拉开与侧边栏的距离 */
  align-items: stretch; /* 让子元素可以拉伸高度 */
}

.sol-menu-panel.active {
  display: flex;
  align-items: stretch; /* 再次确保这里加上，非常重要 */
  gap: 40px; /* 图文左右间距 */
  animation: solMenuFadeIn 0.4s ease forwards;
}

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

/* 右侧：文字部分 */
.sol-menu-panel-text {
  flex: 0 0 320px; /* 固定文字部分的宽度 */
  display: flex;
  flex-direction: column;
  justify-content: center; /* 只有文字部分垂直居中 */
  padding-right: 20px; /* 增加一点文字和图片的呼吸空间 */
  z-index: 1; /* 确保文字在图片之上（如果有重叠的话） */
}

.sol-menu-title {
  font-size: 18px; /* 【统一大小】原为24px，现与产品中心(.megamenu-grid .single-item .megamenu-item-title)一致 */
  font-weight: 700;
  color: #000;
  margin-bottom: 12px;
  line-height: 1.3;
}

.sol-menu-desc {
  font-size: 13px; /* 【统一大小】原为14px，现与产品中心(.megamenu-grid .single-item .megamenu-item-desc)一致 */
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.sol-menu-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary) !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 28px;
  border: 1px solid var(--color-primary); /* 边框为主色调 */
  border-radius: var(
    --radius-full
  ); /* 全圆角胶囊状，和 solution-link 保持一致 */
  transition: all 0.4s cubic-bezier(0.25, 1, 0.3, 1);
  position: relative;
  z-index: 1;
  width: fit-content;
}

.sol-menu-link:hover {
  border-color: var(--color-primary-dark);
  background-color: var(--color-primary);
  color: #fff !important;
  box-shadow: 0 4px 15px rgba(0, 82, 217, 0.2); /* 蓝色阴影 */
}

.sol-menu-link i {
  transition: transform 0.3s ease;
}

.sol-menu-link:hover i {
  transform: translateX(3px); /* 箭头轻微右移 */
}

/* 右侧：图片部分 */
.sol-menu-panel-image {
  flex: 1; /* 取消固定宽度，让图片占满所有剩余宽度 */
  min-height: 260px; /* 保证图片区域有足够高度，同时让整行图文有统一的视觉体量 */
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  display: block;
}

/* 添加图片左侧虚化渐变遮罩 */
.sol-menu-panel-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 25%; /* 遮罩宽度，控制渐变范围 */
  height: 100%;
  background: linear-gradient(
    to right,
    #fff 0%,
    rgba(255, 255, 255, 0.8) 20%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 2; /* 确保在图片之上 */
  pointer-events: none; /* 防止遮罩阻挡鼠标事件 */
}

.sol-menu-img-bg {
  width: 100%;
  height: 100%; /* 高度充满 */
  position: absolute; /* 绝对定位充满父级，防止内容塌陷 */
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat; /* 确保背景不重复 */
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  background-color: var(--bg-secondary); /* 兜底背景色 */
}

/* 修改：只在鼠标悬停于图片区域时才触发图片放大特效，避免大面积误触 */
.sol-menu-panel-image:hover .sol-menu-img-bg {
  transform: scale(1.05);
}

.solutions-section {
  padding: var(--space-28) 0;
  background-color: var(--color-white);
  min-height: 100vh; /* 确保整个模块至少占据一屏高度 */
  display: flex;
  flex-direction: column;
  justify-content: center; /* 垂直居中内容 */
}

.solutions-section .container {
  max-width: 1720px; /* 与产品介绍板块对齐，使用全宽容器 */
  width: 94%;
}

.solutions-grid {
  display: flex; /* 改为 flex 以支持动态伸缩 */
  gap: 12px; /* 减小间距，使伸缩效果更连贯 */
  margin-bottom: var(--space-10);
  height: 720px; /* 固定高度，确保 flex 子元素拉伸一致 */
}

.solution-card {
  /* 基础样式已在顶部通用的 .solution-card 中定义 */
  flex: 1; /* 初始平分宽度 */
  height: 100%;
  border-radius: var(--radius-xl);
  background-color: var(--color-gray-900);
  transition: all 0.7s cubic-bezier(0.25, 1, 0.3, 1); /* 更丝滑的伸缩曲线 */
  box-shadow: var(--shadow-md);
}

/* 核心：悬停时宽度放大 */
.solutions-grid:hover .solution-card {
  flex: 0.7; /* 悬停在容器时，默认所有卡片微收缩 */
  filter: grayscale(0.4) brightness(0.8); /* 增加背景感 */
}

.solutions-grid .solution-card:hover {
  flex: 2.2; /* 当前悬停项大幅放大 */
  filter: grayscale(0) brightness(1.1); /* 恢复全色并高亮 */
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.solution-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.3, 1);
  z-index: 1;
}

.solution-card:hover .solution-image {
  transform: scale(1.1);
}

/* 高质量 Unsplash 图片背景 */
.bg-exhibition {
  background-image: url("https://images.unsplash.com/photo-1542621334-a254cf47733d?auto=format&fit=crop&q=80&w=1000");
}
.bg-education {
  background-image: url("https://images.unsplash.com/photo-1509062522246-3755977927d7?auto=format&fit=crop&q=80&w=1000");
}
.bg-command {
  background-image: url("https://images.unsplash.com/photo-1454165205744-3b78555e5572?auto=format&fit=crop&q=80&w=1000");
}
.bg-meeting {
  background-image: url("https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&q=80&w=1000");
}
.bg-party {
  background-image: url("https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?auto=format&fit=crop&q=80&w=1000");
}

/* 渐变遮罩：增加动态流光感 */
.solution-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    transparent 100%
  );
  z-index: 2;
  transition: all 0.5s ease;
}

.solution-card:hover .solution-overlay {
  background: linear-gradient(
    to top,
    var(--color-primary-dark) 0%,
    rgba(0, 82, 217, 0.4) 60%,
    transparent 100%
  );
}

.solution-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px;
  z-index: 3;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* 始终保持左对齐布局结构 */
  text-align: left;
  transition: all 0.7s cubic-bezier(0.25, 1, 0.3, 1);
}

.solution-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
  position: relative;
  left: 50%; /* 配合 transform 实现平滑对齐切换 */
  transform: translateX(-50%);
  white-space: nowrap;
  transition: all 0.7s cubic-bezier(0.25, 1, 0.3, 1);
}

.solution-card:hover .solution-title {
  font-size: 28px; /* 展开时标题稍微变大 */
  left: 0;
  transform: translateX(0);
}

.solution-desc {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  max-width: 450px;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.2s ease,
    transform 0.5s ease;
  white-space: normal;
}

.solution-card:hover .solution-desc {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.5s ease 0.3s,
    transform 0.5s ease 0.3s;
}

/* ========== 针对巨型菜单等非暗色背景里的 solution-link 重写样式 ========== */
.megamenu .solution-link,
.sol-menu-panel .solution-link,
.news-section .solution-link,
.news-magazine-wrapper .solution-link,
.cases-main-section .solution-link {
  color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  opacity: 1; /* 始终显示，而不是在 hover 才显示 */
  background-color: transparent;
  width: fit-content; /* 增加限制：防止在 flex 列布局中被横向拉伸占满整行 */
}

.news-section .solution-link,
.news-magazine-wrapper .solution-link {
  padding: 6px 20px;
  font-size: 13px;
}

.megamenu .solution-link:hover,
.sol-menu-panel .solution-link:hover,
.news-section .solution-link:hover,
.news-magazine-wrapper .solution-link:hover {
  background-color: var(--color-primary);
  color: #fff !important;
  border-color: var(--color-primary) !important;
  box-shadow: 0 4px 15px rgba(0, 82, 217, 0.2);
}

/* 兼容深色背景原本的 solution-link */
.solution-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 28px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-full);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.3, 1);
  position: relative;
  z-index: 1;
  width: fit-content; /* 增加统一限制，防止变形 */
}

.solution-card:hover .solution-link {
  opacity: 1;
  transition: opacity 0.5s ease 0.4s;
}

.solution-link:hover {
  border-color: #fff; /* 悬停时仅边框变亮，增加清晰度 */
  background-color: rgba(
    255,
    255,
    255,
    0.1
  ); /* 极淡的白色叠加，模拟高光感而非填充 */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.solution-link i {
  transition: transform 0.3s ease;
}

.solution-link:hover i {
  transform: translateX(3px); /* 仅让小箭头轻微右移，替代按钮整体上移，更高级 */
}

/* ========== 成功案例板块（80分优先级） ========== */
.cases-section {
  padding: var(--space-24) 0;
  background-color: var(--bg-secondary); /* 改为浅灰背景，与上下板块协调 */
  color: var(--text-primary);
  overflow: hidden;
}

.cases-section .section-title {
  color: var(--text-primary); /* 标题恢复深色 */
}

.cases-section .section-subtitle {
  color: var(--text-secondary); /* 副标题恢复深色 */
}

.cases-carousel-container {
  position: relative;
  /*
    4个卡片宽度：382px * 4 = 1528px
    3个卡片间距：var(--space-6) 即 1.5rem (默认24px) * 3 = 72px
    总计 1600px
    为了防止有些边框/阴影被裁切，增加冗余宽度（比如左右各加20px）
    并确保内容不会因为微小的像素计算误差被折叠
  */
  width: calc(382px * 4 + var(--space-6) * 3 + 40px);
  max-width: 100vw;
  margin-top: var(--space-12);
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

.cases-action {
  text-align: center;
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
}

.cases-action .btn {
  font-size: 1.1rem; /* 字体变大 */
  padding: 0.88rem 2.2rem; /* 增加内边距 */
}

.cases-carousel-wrapper {
  overflow: hidden;
  padding: var(--space-4) 20px; /* 增加左右 padding 避免阴影被裁减 */
  width: max-content;
  margin: 0 auto;
}

.cases-carousel {
  display: flex;
  gap: var(--space-6);
  width: max-content;
  /* 动画由 JS 控制 */
}

.case-card {
  /* 基础样式已在顶部通用的 .case-card 中定义 */
  width: 382px; /* 恢复指定的大宽度 */
  height: 540px; /* 恢复指定的大高度 */
  flex-shrink: 0;
  background-color: var(--color-white); /* 白色卡片，在浅灰背景上凸显 */
  border: 2px solid transparent; /* 改为透明边框，预留2px位置避免hover时抖动 */
  border-radius: var(--radius-xl); /* 更大的圆角 */
  transition: all 0.4s cubic-bezier(0.25, 1, 0.3, 1);
  box-shadow: 0 0 0 1px var(--border-color-light), var(--shadow-sm); /* 用box-shadow模拟1px的默认边框 */
}

.case-card:hover {
  transform: scale(1.03); /* 稍微减小放大比例，保持商务克制 */
  box-shadow: var(--shadow-xl); /* 悬浮大阴影，同时覆盖掉默认的1px模拟边框 */
  border-color: var(--color-primary); /* 使用更深的蓝色 */
  z-index: 10;
}

.case-card-image {
  width: 100%;
  height: 260px; /* 恢复大图片高度 */
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.case-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  pointer-events: none;
}

.case-card:hover .case-card-image img {
  transform: scale(1.08); /* 图片轻微放大 */
}

.case-card-content {
  padding: var(--space-8) var(--space-6); /* 恢复大内边距 */
  display: flex;
  flex-direction: column;
  flex: 1;
}

.case-card-title {
  font-family: Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: var(--text-2xl); /* 恢复大标题字号 */
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--text-primary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.case-card-desc {
  font-family: Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: var(--text-base); /* 恢复大描述文字 */
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-6);
  display: -webkit-box;
  -webkit-line-clamp: 4; /* 恢复显示4行 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

/* 专门针对 case-card 里的 solution-link 进行样式重置，确保在白色背景卡片上显示正常 */
.case-card .solution-link {
  align-self: flex-start;
  margin-top: auto;
  color: var(--color-primary) !important; /* 强制使用蓝色文字 */
  border: 1px solid var(--color-primary); /* 蓝色边框 */
  opacity: 1; /* 强制显示 */
  background-color: transparent;
  padding: 10px 24px; /* 恢复大按钮 */
  font-size: var(--text-base); /* 恢复大按钮字体 */
}

.case-card .solution-link:hover {
  background-color: var(--color-primary);
  color: var(--color-white) !important;
  box-shadow: 0 4px 10px rgba(0, 82, 217, 0.2);
}

/* ========== 新闻资讯板块（60分优先级） ========== */
.news-section {
  padding: var(--space-20) 0;
  background-color: var(--color-white);
}

.news-section .container {
  max-width: 1720px; /* 大幅扩展容器，适配大屏大气感 */
  width: 94%; /* 保持极小的左右边距，营造满屏视觉 */
}

.news-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-8); /* 增大间距到 32px，保持大气感 */
  margin: 0 auto;
}

.news-bento-card {
  /* 基础样式已在顶部通用的 .news-bento-card 中定义 */
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.04);
  transition: all var(--transition-normal);
}

.news-bento-card:hover {
  transform: translateY(-8px); /* 增大上浮距离 */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px var(--color-primary-light);
}

.news-bento-image {
  overflow: hidden;
}

.news-bento-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.news-bento-card:hover .news-bento-image img {
  transform: scale(1.08);
}

.news-bento-content {
  padding: var(--space-8); /* 增大内边距 */
  display: flex;
  flex-direction: column;
}

.news-bento-title {
  font-size: var(--text-xl); /* 增大标题字号 */
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 700;
  transition: color var(--transition-fast);
}

.news-bento-card:hover .news-bento-title {
  color: var(--color-primary);
}

.news-bento-desc {
  font-size: var(--text-base); /* 增大描述字号 */
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-6);
  display: -webkit-box;
  -webkit-line-clamp: 3; /* 允许显示3行 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.news-bento-actions {
  display: flex;
  margin-top: auto;
}

/* 左侧两个大卡片 (各占4列) */
.large-card {
  grid-column: span 4;
  flex-direction: column;
  height: 640px; /* 高度从 520px 增加到 640px */
}

.large-card .news-bento-image {
  height: 360px; /* 图片高度增加 */
  width: 100%;
}

.large-card .news-bento-content {
  padding: var(--space-10) var(--space-8);
  flex: 1;
}

/* 右侧小卡片列 (占4列) */
.news-bento-small-column {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  gap: var(--space-8); /* 间距与网格一致 */
  height: 640px;
}

.small-card {
  flex: 1;
  flex-direction: row !important; /* 强制覆盖全局的 column 排列 */
  align-items: stretch;
}

.small-card .news-bento-content {
  flex: 1;
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.small-card .news-bento-image {
  width: 240px; /* 宽度从 180px 增加到 240px */
  height: 100%;
  flex-shrink: 0;
}

.small-card .news-bento-title {
  -webkit-line-clamp: 2; /* 小卡片标题也允许2行 */
}

.small-card .news-bento-desc {
  -webkit-line-clamp: 2;
}
.small-card .solution-link {
  white-space: nowrap;
  padding: 6px 12px;
  font-size: 12px;
}

.news-action {
  text-align: center;
  margin-top: var(--space-12);
  margin-bottom: var(--space-4);
}

.news-action .btn {
  font-size: 1.1rem;
  padding: 0.88rem 2.2rem;
}



/* ========== 关于我们 (about.html) 专用样式 ========== */
.about-page .sub-page-banner {
    display: none;
}

/* 页面主干 */
.about-main {
    padding-top: 72px;
}

/* 通用区域标题 */
.about-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-section-title {
    margin-bottom: 24px;
}

.about-section-header .section-desc {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 1.6;
}

.about-timeline-section .about-section-header {
    margin-bottom: 80px;
}

/* 各区域 padding */
.about-intro-section,
.about-achievements-section,
.about-advantages-section,
.about-timeline-section {
    padding: 100px 0;
}

/* 关于鼎科板块背景色 */
.about-intro-section {
    background-color: #f8f9fa;
}

/* 关于鼎科板块容器扩宽 */
.about-intro-section .container {
    max-width: 1600px;
    width: 92%;
}

.about-advantages-section {
    background: #ffffff;
}

.about-timeline-section {
    background: #f8f9fa;
}

.about-video-banner {
    position: relative;
    height: 750px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: #fff;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-static-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* 极大幅度调低蒙层暗度，仅保留微弱阴影以保证白字清晰度 */
    z-index: 1;
}

.about-video-banner .container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.about-video-banner .hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 2px;
}

.about-video-banner .hero-subtitle {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0.9;
}

/* ========== 公司简介 ========== */
.intro-two-col {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.intro-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    line-height: 2.4;
}

.intro-text p {
    line-height: 2.4;
}

.intro-body {
    font-size: 16px;
    color: #000;
    line-height: 2.6;
    margin-bottom: 20px;
}

.intro-body:last-of-type {
    margin-bottom: 28px;
}

/* 产品列表 */
.intro-products {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 16px 12px;
    justify-content: space-between;
}

.intro-product-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: #f8faff;
    border: 1px solid rgba(0, 82, 217, 0.25);
    border-radius: 10px;
    font-size: 15px;
    color: #333;
    font-weight: 500;
    transition: all 0.3s;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.intro-product-item:hover {
    background: #f0f4ff;
    border-color: var(--color-primary-light);
    transform: translateX(4px);
    color: #333;
}

.intro-product-item i {
    font-size: 18px;
    color: var(--color-primary);
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

/* 右侧图片 - 通过JS动态设置高度匹配左侧，先设置默认高度避免闪烁 */
.intro-image {
    flex: 0 0 720px;
    width: 720px;
    height: 380px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.intro-image:hover img {
    transform: scale(1.04);
}

.intro-image-accent {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(0, 0, 0, 0.7);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 16px 28px;
    color: #fff;
    text-align: center;
}

.intro-image-num {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.intro-image-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

/* ========== 数据成就板块 ========== */
.about-achievements-section {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.about-achievements-section .container {
    max-width: 1600px;
}

.about-achievements-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.3) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.25) 0%, transparent 30%),
        radial-gradient(circle at 50% 70%, rgba(255, 255, 255, 0.2) 0%, transparent 35%),
        radial-gradient(circle at 25% 85%, rgba(255, 255, 255, 0.28) 0%, transparent 28%),
        radial-gradient(circle at 75% 90%, rgba(255, 255, 255, 0.22) 0%, transparent 32%);
    pointer-events: none;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.achievement-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.7);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.25);
    transition: all 0.4s ease;
}

.achievement-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

.achievement-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    border-radius: 16px;
    font-size: 28px;
    color: #fff;
    transition: all 0.4s ease;
}

.achievement-item:hover .achievement-icon {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    transform: scale(1.15);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.achievement-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.achievement-num {
    font-size: 26px;
    font-weight: 700;
    color: #1e3a8a;
    line-height: 1;
    letter-spacing: 0;
}

.achievement-label {
    font-size: 18px;
    font-weight: 500;
    color: #1e40af;
    margin-top: 4px;
}

.achievement-desc {
    font-size: 15px;
    color: #475569;
    margin: 0;
    line-height: 1.6;
    font-weight: 400;
}

/* 文字类型的成就卡片（非数字） */
.achievement-item-text .achievement-content {
    padding-top: 10px;
}

.achievement-item-text .achievement-num {
}

.achievement-item-text .achievement-desc {
    font-size: 15px;
    margin-top: 4px;
}


/* ========== 核心优势 ========== */
.about-advantages-section {
    background: #ffffff;
}

.advantages-stagger-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 24px;
    align-items: start;
}

/* 左侧大卡片 */
.advantage-stagger-hero {
    height: 100%;
}

/* 右侧4个小卡片容器 */
.advantages-stagger-right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    height: 100%;
}

.advantage-stagger-card {
    position: relative;
    padding: 28px 32px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    transition: all 0.4s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.advantage-stagger-card:hover {
    border-color: #3b82f6;
    background: #ffffff;
    box-shadow: 0 16px 48px rgba(59, 130, 246, 0.15);
    transform: translateY(-8px);
}

/* 左侧大卡片样式 */
.advantage-stagger-hero {
    display: flex;
    align-items: center;
    padding: 40px 48px;
    color: #fff;
}

.advantage-stagger-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.advantage-stagger-hero:hover .advantage-stagger-bg {
    transform: scale(1.05);
}

.advantage-stagger-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(30,58,138,0.75) 100%);
    z-index: 1;
}

.advantage-stagger-content {
    position: relative;
    z-index: 10;
}

.advantage-stagger-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    border-radius: 16px;
    font-size: 22px;
    color: #fff;
    margin-bottom: 14px;
    transition: all 0.4s ease;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
}

.advantage-stagger-card:hover .advantage-stagger-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.35);
}

/* 通用小卡片样式 */
.advantage-stagger-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    line-height: 1.4;
}

.advantage-stagger-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

/* Hero大卡片样式 - 写在后面覆盖通用样式 */
.advantage-stagger-hero .advantage-stagger-icon {
    width: 52px;
    height: 52px;
    font-size: 24px;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}

.advantage-stagger-hero h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
    position: relative;
    z-index: 10;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.advantage-stagger-hero p {
    font-size: 14px;
    line-height: 1.6;
    color: #ffffff;
    margin: 0;
    position: relative;
    z-index: 10;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* ========== 荣誉资质板块 ========== */
.about-honors-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.honors-image-wrapper {
    max-width: 1400px;
    margin: 60px auto 0;
    text-align: center;
}

.honors-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.honors-image:hover {
    transform: scale(1.02);
}

/* ========== 业务咨询板块 ========== */
.about-inquiry-section {
    padding: 100px 0;
    background: #ffffff;
}

.inquiry-modern-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 60px;
}

.inquiry-brand-card {
    background: #2b63d9;
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    box-shadow: 0 10px 40px rgba(0, 82, 204, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.inquiry-brand-card:hover {
    box-shadow: 0 15px 50px rgba(0, 82, 204, 0.2);
}

.inquiry-brand-card::before {
    display: none;
}

.brand-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.brand-item {
    flex: 1;
    color: #ffffff;
    max-width: 33.33%;
}

.brand-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.brand-role {
    font-size: 1.15rem;
    font-weight: 600;
    color: #f8e000;
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-role i {
    font-size: 1.4rem;
    color: #f8e000;
}

.brand-name {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.95);
    word-break: break-all;
}

.inquiry-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.contact-card {
    background: linear-gradient(to bottom, #ffffff, #f5f9ff);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 8, 26, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
    transition: all 0.3s ease;
    border: 2px solid var(--color-primary);
}

.card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 82, 204, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-primary);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 82, 204, 0.1);
}

.contact-card:hover .contact-icon {
    background: var(--color-primary);
    color: #ffffff;
    transform: rotateY(360deg);
}

.card-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.contact-info {
    width: 100%;
}

.contact-details .main-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.contact-details .sub-value {
    font-size: 0.9rem;
    color: #666;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 82, 204, 0.15);
    border-color: var(--color-primary);
    background: #ffffff;
}



/* ========== 横向滚动时间轴 ========== */
.timeline-h-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 60px 0;
    cursor: grab;
    user-select: none;
}

.timeline-h-wrapper:active {
    cursor: grabbing;
}

.timeline-h-wrapper::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary) 20%, var(--color-primary) 80%, transparent);
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
}

.timeline-h-track {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 0 calc(30vw - 160px);
    will-change: transform;
}

.timeline-h-item {
    flex-shrink: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 320px;
}

/* 卡在上方 */
.timeline-h-item .card-above {
    order: 0;
    margin-bottom: 60px;
}

/* 卡在下方 */
.timeline-h-item .card-below {
    order: 2;
    margin-top: 60px;
}

/* 时间节点圆点 */
.timeline-h-dot {
    order: 1;
    width: 16px;
    height: 16px;
    background: #fff;
    border: 3px solid var(--color-primary);
    border-radius: 50%;
    z-index: 2;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s;
}

.timeline-h-item:hover .timeline-h-dot {
    background: var(--color-primary);
    box-shadow: 0 0 0 8px rgba(0, 82, 217, 0.15);
    transform: scale(1.3);
}

/* 卡片样式 */
.timeline-h-card {
    width: 300px;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #eee;
    transition: all 0.3s;
    position: relative;
}

.timeline-h-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 82, 217, 0.12);
    border-color: var(--color-primary-light);
}

/* 卡片连接线（从卡片到圆点） */
.card-above::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 50%;
    width: 2px;
    height: 30px;
    background: #ddd;
    transform: translateX(-50%);
}

.card-below::after {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    width: 2px;
    height: 30px;
    background: #ddd;
    transform: translateX(-50%);
}

.timeline-h-year {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: var(--color-primary);
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.timeline-h-card h4 {
    font-size: 17px;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.timeline-h-card p {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
    margin: 0;
}

/* 右侧渐变遮罩 */
.timeline-h-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 120px;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(270deg, #f8f9fa 30%, transparent);
}

/* 左侧遮罩 */
.timeline-h-fade-left {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 120px;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(90deg, #f8f9fa 30%, transparent);
}


/* ========== 页脚样式 ========== */
.footer {
  background-color: var(--color-gray-900);
  color: var(--color-white);
  padding: 25px 0 var(--space-8);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.link-title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-6);
  color: var(--color-white);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-3);
}

.footer-links a {
  color: var(--color-gray-400);
  transition: color var(--transition-fast);
}

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

.footer-links i {
  width: 20px;
  margin-right: var(--space-2);
  color: var(--color-primary-light);
}

.footer-contact-group li {
  display: flex;
  align-items: flex-start;
}
.footer-contact-group li i {
  flex-shrink: 0;
  margin-top: 3px;
}
.footer-contact-group li span {
  flex: 1;
  min-width: 0;
}

.footer-bottom {
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-gray-800);
  display: flex;
  justify-content: space-between;
  color: var(--color-gray-500);
  font-size: var(--text-sm);
}

/* ========== 行业观察 Mega Menu (网格卡片式布局) ========== */
.insights-menu-container {
  width: 100%;
  max-width: var(--container-width); /* 1280px */
  margin: 0 auto;
  padding: 40px 0; /* 与其他菜单保持高度一致 */
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.insights-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color-light);
}

.insights-header-text {
  max-width: 800px;
}

.insights-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.insights-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* 右侧热门推荐 */
.insights-header-featured {
  display: flex;
  align-items: center;
  background-color: #f8f9fa;
  padding: 8px 16px;
  border-radius: 4px;
  border-left: 3px solid var(--color-primary);
  transition: all 0.3s ease;
  margin-bottom: 4px;
  text-decoration: none;
}

.insights-header-featured:hover {
  background-color: #f1f3f5;
  box-shadow: var(--shadow-sm);
}

.featured-label {
  font-size: 12px;
  color: var(--text-light);
  margin-right: 12px;
  background: #ffffff;
  padding: 2px 8px;
  border-radius: 2px;
  border: 1px solid #e0e0e0;
  transition: all 0.3s ease;
}

.insights-header-featured:hover .featured-label {
  border-color: var(--color-primary-light);
  color: var(--color-primary);
}

.featured-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.featured-link i {
  font-size: 12px;
  margin-left: 8px;
  color: var(--text-light);
  transition: transform 0.3s ease, color 0.3s ease;
}

.insights-header-featured:hover .featured-link {
  color: var(--color-primary);
}

.insights-header-featured:hover .featured-link i {
  color: var(--color-primary);
  transform: translateX(4px);
}

/* 使用 auto-fill 支持极致的扩展性，默认四列 (4x2 = 8格) */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  width: 100%;
}

.insight-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 20px;
  background-color: var(--bg-secondary); /* 鼎科典型的灰底 (#f5f5f5) */
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

/* 底部蓝色进度条微动效 (鼎科科技风格常用设计) */
.insight-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  background-color: var(--color-primary);
  transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.insight-card:hover {
  background-color: var(--color-white);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.insight-card:hover::after {
  width: 100%;
}

.insight-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--color-white);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.insight-card:hover .insight-icon {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: scale(1.05); /* 图标轻微放大 */
}

.insight-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.insight-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  transition: color var(--transition-fast);
  line-height: 1.4;
}

.insight-card:hover .insight-title {
  color: var(--color-primary);
}

.insight-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 箭头指示器 - 克制且高级的交互 */
.insight-arrow {
  color: var(--text-light);
  font-size: 12px;
  margin-top: 4px; /* 与标题对齐 */
  align-self: flex-start;
  opacity: 0;
  transform: translateX(-10px);
  transition: all var(--transition-normal);
}

.insight-card:hover .insight-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--color-primary);
}

/* ========== 行业观察文章详情页 (insight-detail.html) ========== */
.article-main {
  animation: slideUp 0.6s cubic-bezier(0.25, 1, 0.5, 1) both;
}

.article-content h2 {
  margin-top: 48px;
  margin-bottom: 24px;
  padding-left: 16px;
  border-left: 4px solid var(--color-primary);
  font-size: 28px;
}

.article-content p {
  margin-bottom: 24px;
  text-align: justify;
}

.article-content img {
  max-width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin: 32px 0;
}

.sidebar-news-item:hover h4 {
  color: var(--color-primary) !important;
}


/* 鼎科商务科技风格 - 强化版抽象流体与晶体背景 */
.bg-tech-pattern {
  background-color: #f0f4f8; /* 稍微加深底色，让亮部更明显 */
  position: relative;
  overflow: hidden;
  z-index: 0;
}

/* 巨大的科技光晕 - 确保可见 */
.bg-tech-pattern::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -100px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 82, 217, 0.12) 0%, rgba(0, 82, 217, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
}

.bg-tech-pattern::after {
  content: "";
  position: absolute;
  bottom: -200px;
  left: -150px;
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, rgba(0, 82, 217, 0.08) 0%, rgba(0, 82, 217, 0) 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: -1;
}

/* 不规则几何切割线条与环境光 */
.tech-light-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    /* 右上角斜切面 */
    linear-gradient(135deg, rgba(255,255,255,0.4) 0%, transparent 40%),
    /* 中部动感斜线条 */
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 150px,
      rgba(0, 82, 217, 0.02) 150px,
      rgba(0, 82, 217, 0.02) 151px
    );
  pointer-events: none;
  z-index: -1;
}

/* 侧边不规则装饰点阵 */
.floating-dots {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(0, 82, 217, 0.15) 1.5px, transparent 1.5px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, transparent 30%, black 100%);
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
}

.bg-tech-pattern > * {
  position: relative;
  z-index: 1;
}

/* ========== 行业观察列表页 (insight-list.html) ========== */
.insights-main-section .container {
  max-width: 1600px;
  width: 92%;
}

#insights-list-container {
  min-height: 400px;
}

.insight-list-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--color-primary-light) !important;
}

.insight-list-item:hover .insight-img-box img {
  transform: scale(1.1);
}

.insight-list-item:hover h3 {
  color: var(--color-primary) !important;
}

.insight-list-item .solution-link {
  color: var(--color-primary) !important;
  border-color: var(--color-primary-light);
  opacity: 1; /* 始终显示 */
  padding: 8px 24px;
}

.insight-list-item .solution-link:hover {
  background-color: var(--color-primary);
  color: #fff !important;
  border-color: var(--color-primary);
}

/* 详情页补充样式 */
.article-content ul li::marker {
  color: var(--color-primary);
}

.sidebar-news-item h4 {
  transition: color 0.3s;
}

/* ========== 新闻资讯单列杂志风格 (Magazine Style) ========== */
.news-main-section .container {
  max-width: 1400px; /* 强制容器宽度与列表一致 */
  width: 92%;
}

/* 新闻分类与搜索栏 (鼎科风格) */
.news-filter-bar {
  margin-bottom: 50px;
  padding: 24px 40px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.news-filter-btn {
  background: none;
  border: none;
  padding: 8px 0;
  margin: 0 12px;
  font-size: 17px;
  color: #666;
  cursor: pointer;
  position: relative;
  transition: all 0.3s;
  font-weight: 500;
}

.news-filter-btn:first-child {
  margin-left: 0;
}

.news-filter-btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #c00; /* 鼎科红 */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
}

.news-filter-btn:hover {
  color: #333;
}

.news-filter-btn.active {
  color: #c00;
  font-weight: 700;
}

.news-filter-btn.active::after {
  width: 100%;
}

.news-search-box input:focus {
  border-color: #c00 !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(204, 0, 0, 0.05);
}

.news-search-box button:hover {
  background: #a00 !important;
  transform: scale(1.05);
}

.news-magazine-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1400px; /* 宽度保持 1400px */
  width: 100%; /* 内部撑满 container */
  margin: 0 auto;
}

.news-mag-card {
  display: flex;
  gap: 0; /* 移除图片和文字之间的间距，改用文字内边距控制 */
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: 0; /* 移除卡片内边距，实现图片“不要边” */
  border: 1px solid var(--border-color-light);
  transition: all 0.3s ease; /* 统一使用标准 0.3s 动画，解决动画不稳导致的抖动 */
  cursor: pointer;
  position: relative;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  min-height: 280px; /* 确保卡片有足够高度 */
}

/* 移除之前错误的伪元素补偿层 */

.news-mag-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0, 82, 217, 0.12);
  border-color: var(--color-primary-light);
}

/* 恢复标准图片盒样式 */
.news-mag-img-box {
  width: 440px;
  height: 280px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.news-magazine-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1400px; /* 宽度保持 1400px */
  width: 100%; /* 内部撑满 container */
  margin: 0 auto;
}

.news-mag-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 强制填充 */
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  display: block;
}

.news-mag-card:hover .news-mag-img-box img {
  transform: scale(1.1);
}

/* 图片上的分类标签 */
.news-mag-category-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--color-primary);
  color: #fff;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 82, 217, 0.4);
}

/* 右侧内容盒 */
.news-mag-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 50px; /* 适度调整内边距，配合整体细长风格 */
}

.news-mag-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 13px;
  color: var(--text-light);
}

.news-mag-meta span i {
  margin-right: 5px;
  color: var(--color-primary-light);
}

.news-mag-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 15px;
  line-height: 1.4;
  transition: color var(--transition-fast);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-mag-card:hover .news-mag-title {
  color: var(--color-primary);
}

.news-mag-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 25px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.news-mag-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}



/* ============================================
   详情页样式 - 使用 detail- 前缀避免冲突
   适用于：文章详情、产品详情、解决方案详情
   ============================================ */

/* 面包屑导航 */
.detail-breadcrumb-section {
  background: #ffffff;
  padding: 20px 0;
  padding-top: 92px;
  border-bottom: 1px solid #e6e6e6;
}

.detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #666;
}

.detail-breadcrumb a {
  color: #666;
  transition: color 0.2s;
  text-decoration: none;
}

.detail-breadcrumb a:hover {
  color: #0052d9;
}

.detail-breadcrumb i {
  font-size: 10px;
  color: #999;
}

.detail-breadcrumb span,
.detail-breadcrumb .no-link {
  color: #666;
  font-weight: 400;
}

/* 详情页容器 */
.detail-container {
  padding: 40px 0 120px 0;
  background: #f5f5f5;
}

.detail-container .container {
  max-width: 1600px;
}

.detail-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
  position: relative;
}

/* 主内容区 */
.detail-main {
  background: #ffffff;
  padding: 60px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.detail-header {
  margin-bottom: 48px;
}

.detail-title {
  font-size: 42px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.4;
  margin-bottom: 32px;
  letter-spacing: -0.5px;
  text-align: center;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: center;
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid #e6e6e6;
}

.detail-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  color: #666666;
}

.detail-meta-item i {
  color: #999999;
  font-size: 16px;
}

/* 文章内容 */
.detail-content {
  font-size: 18px;
  line-height: 1.8;
  color: #4d4d4d;
}

.detail-content img {
  max-width: 100%;
  height: auto;
}

.detail-content h2 {
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
  margin-top: 36px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #0052d9;
}

.detail-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin-top: 32px;
  margin-bottom: 16px;
}

.detail-content p {
  margin-bottom: 16px;
}

.detail-content ul,
.detail-content ol {
  margin: 20px 0;
  padding-left: 32px;
}

.detail-content li {
  margin-bottom: 12px;
}

/* 标签 */
.detail-tags {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #e6e6e6;
}

.detail-tag-label {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.detail-tag {
  display: inline-block;
  padding: 4px 12px;
  background: #f5f5f5;
  color: #4d4d4d;
  font-size: 14px;
  border-radius: 4px;
  transition: all 0.2s;
}

.detail-tag:hover {
  background: #0052d9;
  color: #ffffff;
}

/* 上下篇导航 */
.detail-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 60px;
  padding-top: 60px;
  border-top: 1px solid #eeeeee;
}

.detail-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: #f8f9fa;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  transition: all 0.3s;
  overflow: hidden;
}

.detail-nav-item:hover {
  background: #0052d9;
  border-color: #0052d9;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 82, 217, 0.15);
}

.detail-nav-prev {
  justify-content: flex-start;
}

.detail-nav-next {
  justify-content: flex-end;
}

.detail-nav-tip {
  font-size: 16px;
  color: #0052d9;
  font-weight: 600;
  flex-shrink: 0;
}

.detail-nav-item:hover .detail-nav-tip {
  color: #ffffff;
}

.detail-nav-text {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.detail-nav-title {
  font-size: 16px;
  font-weight: 400;
  color: #333;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

.detail-nav-item:hover .detail-nav-title {
  color: #ffffff;
}

.detail-nav-item i {
  font-size: 18px;
  color: #0052d9;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.detail-nav-prev:hover i {
  transform: translateX(-5px);
}

.detail-nav-next:hover i {
  transform: translateX(5px);
}

.detail-nav-item:hover i {
  color: #ffffff;
}

/* 侧边栏 */
.detail-sidebar {
  position: sticky;
  top: 100px;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  height: fit-content; /* 关键：确保侧边栏在伸缩布局中不被拉伸，以便 sticky 正常工作 */
}

.detail-sidebar-card {
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  padding: 24px;
}

.detail-sidebar-title {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #0052d9;
}

/* 相关推荐 */
.detail-related {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-related-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 4px;
  transition: all 0.2s;
}

.detail-related-item:hover {
  background: #f5f5f5;
}

.detail-related-thumb {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
  border-radius: 4px;
  overflow: hidden;
}

.detail-related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-related-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0; /* 关键：强制 flex 子元素可以缩小，从而让单行截断生效 */
}

.detail-related-title {
  /* 强制使用西文字体的省略号风格（底边三个点） */
  font-family: Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.4;
  display: block;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}

.detail-related-item:hover .detail-related-title {
  color: #0052d9;
}

.detail-related-date {
  font-size: 12px;
  color: #999;
}

/* 资料下载 */
.detail-download {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-download-item {
  display: flex;
  align-items: center;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  transition: all 0.2s;
  overflow: hidden;
}

.detail-download-item:hover {
  background: #f0f7ff;
  border-color: #0052d9;
}

.detail-download-link {
  flex: 1;
  min-width: 0;
}

.detail-download-item .fa-file-pdf {
  font-size: 20px;
  color: #e74c3c;
  flex-shrink: 0;
}

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

.detail-download-title {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.detail-download-item:hover .detail-download-title {
  color: #0052d9;
}

.detail-download-tip {
  font-size: 12px;
  color: #999;
}

.detail-download-btn {
  flex-shrink: 0;
}

.detail-download-btn .fa-download {
  font-size: 20px;
  color: #0052d9;
  opacity: 0;
  transition: opacity 0.2s;
}

.detail-download-item:hover .detail-download-btn .fa-download {
  opacity: 1;
}

.detail-download-btn:hover .fa-download {
  opacity: 1 !important;
  animation: downloadBounce 0.6s ease infinite;
}

@keyframes downloadBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* 二维码关注卡片 */
.detail-qr-card {
  background: linear-gradient(135deg, #0052d9 0%, #0039a6 100%);
  text-align: center;
  padding: 30px 24px;
}

.detail-qr-text {
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.6;
  opacity: 0.95;
}

.detail-qr-image {
  width: 150px;
  height: 150px;
  margin: 0 auto;
  display: block;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: #ffffff;
  padding: 8px;
}
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #ffffff;
  color: #0052d9;
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
  transition: all 0.3s;
}

/* ========== 文章富内容元素 ========== */

/* 文章头图 */
.detail-featured-image {
  margin: 0 0 40px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.detail-featured-image img {
  width: 100%;
  display: block;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

/* 导语段落 — 独立背景框 + 纯黑文字，与正文区分 */
.detail-content .detail-lead {
  font-size: 18px;
  line-height: 1.9;
  color: #000;
  font-weight: 500;
  margin-bottom: 32px;
  padding: 20px 24px;
  background: #faf9f6;
  border: 1px solid #e8e5df;
  border-radius: 8px;
}

/* 引用块 */
.detail-pullquote {
  border-left: 5px solid #0052d9;
  background: #f5f5f5;
  padding: 28px 36px;
  margin: 36px 0;
  font-size: 18px;
  font-style: italic;
  color: #1a1a1a;
  line-height: 1.7;
  border-radius: 0 8px 8px 0;
  position: relative;
}

.detail-pullquote::before {
  content: "\201C";
  position: absolute;
  top: 4px;
  left: 16px;
  font-size: 72px;
  color: #0052d9;
  opacity: 0.12;
  font-style: normal;
  line-height: 1;
  font-family: Georgia, serif;
}

.detail-pullquote cite {
  display: block;
  margin-top: 16px;
  font-size: 14px;
  font-style: normal;
  color: #999;
  text-align: right;
}

/* 高亮信息框 */
.detail-highlight-box {
  padding: 24px 28px;
  margin: 32px 0;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.7;
  background: rgba(0, 82, 217, 0.04);
  border-left: 4px solid #0052d9;
}

.detail-highlight-box h4 {
  font-size: 17px;
  font-weight: 600;
  color: #0052d9;
  margin-bottom: 12px;
}

/* 数据统计卡片组 */
.detail-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  margin: 36px 0;
}

.detail-stat-item {
  text-align: center;
  padding: 32px 20px;
  background: #f5f5f5;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.detail-stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.detail-stat-number {
  font-size: 36px;
  font-weight: 700;
  color: #0052d9;
  line-height: 1.2;
  margin-bottom: 8px;
}

.detail-stat-label {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.detail-stat-desc {
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}

/* 内文插图 */
.detail-inline-image {
  margin: 36px 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.detail-inline-image img {
  width: 100%;
  display: block;
}

.detail-image-caption {
  text-align: center;
  font-size: 13px;
  color: #999;
  padding: 12px 16px;
  background: #f5f5f5;
  line-height: 1.5;
}



/* ============================================
   产品详情页和解决方案详情页专用样式
   使用 prod- 和 sol- 前缀避免冲突
   ============================================ */

/* 产品优势区 */
.prod-advantages {
  padding: 80px 0;
  background: #ffffff;
}

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

.prod-section-title {
  font-size: 40px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.prod-section-subtitle {
  font-size: 18px;
  color: #666;
}

.prod-advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.prod-advantage-card {
  text-align: center;
  padding: 32px;
  background: #f5f5f5;
  border-radius: 12px;
  transition: all 0.3s;
}

.prod-advantage-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background: #ffffff;
}

.prod-advantage-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0052d9 0%, #4d7fff 100%);
  color: #ffffff;
  font-size: 32px;
  border-radius: 12px;
}

.prod-advantage-title {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.prod-advantage-desc {
  font-size: 14px;
  color: #4d4d4d;
  line-height: 1.6;
}

/* 解决方案Hero区 */
.sol-hero {
  background: linear-gradient(135deg, #0052d9 0%, #0039a6 100%);
  padding: 100px 0 120px;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.sol-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.sol-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-12);
  align-items: center;
}

.sol-category {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: var(--space-4);
  letter-spacing: 1px;
}

.sol-hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: var(--space-6);
  line-height: 1.2;
}

.sol-hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-8);
  max-width: 600px;
  line-height: 1.6;
}

.sol-highlights {
  display: flex;
  gap: var(--space-10);
  margin-bottom: var(--space-10);
}

.sol-highlight-item {
  border-left: 2px solid rgba(255, 255, 255, 0.3);
  padding-left: var(--space-4);
}

.sol-highlight-number {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sol-highlight-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.sol-hero-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.sol-hero-image:hover img {
  transform: scale(1.05);
}

/* 核心优势区域背景微调 - 让卡片更明显 */
.prod-advantages {
  background-color: #fcfcfd !important; /* 极淡的灰蓝色背景 */
}

/* 核心优势卡片优化 - 完美的 CMS 自适应布局 */
.prod-advantages-grid {
  display: grid;
  /* 核心逻辑：最小宽度 280px，最大 1fr。这确保了在 1200px 容器下：
     - 4个时：自动排成 4 列 (1200/4 = 300px > 280px)
     - 6个时：自动排成 3x2 布局
  */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  max-width: 1400px;
  margin: 0 auto;
}

/* 移除之前硬编码的 repeat(3, 1fr) 限制 */

.prod-advantage-card {
  background: var(--color-white);
  padding: 40px 30px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05); /* 极淡的边框 */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02); /* 非常微妙的投影 */
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: center; /* 保持图标和文字居中 */
  align-items: center;
}

/* 解决卡片悬停抽搐问题 */
.prod-advantage-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

.prod-advantage-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 82, 217, 0.1);
  border-color: rgba(0, 82, 217, 0.1);
}

.prod-advantage-card:hover::before {
  bottom: -20px;
}

.prod-advantage-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.prod-advantage-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

.prod-advantage-card:hover::after {
  transform: scaleX(1);
}

.prod-advantage-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 82, 217, 0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--color-primary);
  margin-bottom: var(--space-6);
  transition: all 0.3s ease;
}

.prod-advantage-card:hover .prod-advantage-icon {
  background: var(--color-primary);
  color: var(--color-white);
  transform: none;
}

.prod-advantage-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: var(--space-4);
  color: var(--color-text-dark);
}

.prod-advantage-desc {
  color: var(--color-text-light);
  font-size: 15px;
  line-height: 1.6;
}

/* 详情页主体布局 */
.detail-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--space-10);
  align-items: stretch; /* 确保左右两栏等高，实现底部对齐 */
  position: relative;
}

.detail-main {
  background: var(--color-white);
  padding: var(--space-12);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.detail-content h2 {
  font-size: 28px;
  font-weight: 700;
  margin: var(--space-10) 0 var(--space-6);
  padding-left: var(--space-4);
  border-left: 4px solid var(--color-primary);
}

.detail-content h2:first-child {
  margin-top: 0;
}

.detail-content p {
  font-size: 16px;
  color: #444;
  line-height: 1.8;
  margin-bottom: var(--space-6);
}

.detail-content ul {
  margin-bottom: var(--space-8);
}

.detail-content li {
  position: relative;
  padding-left: var(--space-6);
  margin-bottom: var(--space-3);
  color: #555;
}

.detail-content li::before {
  content: "00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

.detail-highlight-box {
  background: #f0f7ff;
  border-radius: 12px;
  padding: var(--space-8);
  border: 1px solid rgba(0, 82, 217, 0.1);
  margin: var(--space-8) 0;
}

.detail-sidebar-card {
  background: var(--color-white);
  padding: var(--space-8);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  margin-bottom: var(--space-8);
}

.detail-sidebar-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid #f0f0f0;
  position: relative;
}

/* 技术参数表格 */
.tech-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-8) 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #eee;
}

.tech-specs-table tr {
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

.tech-specs-table tr:last-child {
  border-bottom: none;
}

.tech-specs-table tr:hover {
  background-color: #f9f9fb;
}

.tech-specs-table td {
  padding: var(--space-4) var(--space-6);
  font-size: 15px;
  line-height: 1.6;
}

.tech-specs-table .spec-label {
  font-weight: 600;
  width: 180px;
  color: var(--color-text-dark);
  background-color: #f8f9fa;
}

.tech-specs-table .spec-value {
  color: var(--color-text-light);
}

/* 侧边栏二维码卡片增强 - 采用品牌蓝背景提升视觉冲击力 */
.detail-qr-card {
  text-align: center;
  background: #4d7fff !important; /* 使用用户指定的品牌蓝色 */
  color: #ffffff !important;
  border: none !important;
  margin-bottom: 0 !important; /* 关键：移除最后一张卡片的底部边距以实现精确对齐 */
}

.detail-qr-text {
  font-weight: 600;
  color: #ffffff !important; /* 确保在蓝色背景下文字为白色 */
  line-height: 1.5;
  margin-bottom: var(--space-4);
}

.detail-qr-image {
  width: 140px;
  height: 140px;
  margin: 0 auto;
  padding: 8px; /* 减小内边距，让二维码主体更突出 */
  background: #ffffff; /* 二维码区域保持白色以确保可扫描性 */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}


.sol-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.sol-hero-actions {
  display: flex;
  gap: 20px;
}

.sol-hero-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.sol-category {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
  margin-bottom: 16px;
}

.sol-hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.sol-hero-subtitle {
  font-size: 20px;
  line-height: 1.6;
  opacity: 0.95;
  margin-bottom: 40px;
}

.sol-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.sol-highlight-item {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.sol-highlight-number {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sol-highlight-label {
  font-size: 14px;
  opacity: 0.9;
}

.sol-hero-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.sol-hero-image img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  display: block;
}



/* ========== 解决方案详情页增强样式 ========== */

.sol-arch-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  perspective: 1000px;
}

.arch-layer {
  position: relative;
  padding: 24px 32px;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(0, 82, 217, 0.08);
  background: #fff;
}

.arch-layer:hover {
  transform: translateY(-5px) translateZ(10px);
  box-shadow: 0 15px 35px rgba(0, 82, 217, 0.1);
  border-color: rgba(0, 82, 217, 0.2);
  z-index: 10;
}

/* 各层级配色与装饰 - 统一采用品牌深蓝色调 */
.arch-layer-app,
.arch-layer-platform,
.arch-layer-network,
.arch-layer-perception {
  border-left: 5px solid #0052d9;
  background: #f0f7ff;
}

.layer-badge {
  font-weight: 700;
  color: #0052d9;
  font-size: 18px;
  letter-spacing: 0.5px;
}

.arch-nodes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.arch-node {
  background: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #333;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.arch-layer:hover .arch-node {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.arch-node:hover {
  border-color: var(--color-primary-light);
  color: var(--color-primary);
  transform: scale(1.02);
}

.arch-node i {
  color: var(--color-primary);
  font-size: 16px;
}


.hidden-desktop {
  display: none;
}

/* ========== 页面管理 (page.php) ========== */

/* --- Banner --- */
.page-banner {
  background: #000c2d;
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-align: center;
  position: relative; overflow: hidden;
}
.page-banner.is-image::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
}
.page-banner-canvas {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; z-index: 0;
}
.page-banner-bg {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover; background-position: center;
  opacity: 0.15; mix-blend-mode: luminosity;
}
.page-banner-inner {
  position: relative; z-index: 1; pointer-events: none;
}
.page-banner-title {
  font-size: 3.5rem; margin-bottom: 1.5rem;
  font-weight: 700; letter-spacing: 2px;
}
.page-banner-subtitle {
  font-size: 2.25rem; opacity: 0.9;
  max-width: 900px; margin: 0 auto; line-height: 1.6;
}

/* --- 文章详情 --- */
.page-article-wrapper { padding-top: 72px; }
.page-breadcrumb-section { padding-top: 20px; }
.page-breadcrumb-container { max-width: 1600px; }

/* --- 内容列表 --- */
.page-list-main { padding-top: 72px; min-height: 100vh; }
.page-list-section { padding: 80px 0; }
.page-list-breadcrumb {
  margin-bottom: 40px;
  display: flex; align-items: center; gap: 10px;
  color: var(--text-muted); font-size: 14px;
}
.page-list-breadcrumb a { color: inherit; }
.page-list-breadcrumb i { font-size: 10px; opacity: 0.5; }
.page-list-current { color: var(--text-primary); }
.page-list-empty {
  text-align: center; padding: 100px 0; color: #999;
}
.page-list-empty i {
  font-size: 3rem; opacity: 0.3; margin-bottom: 15px;
}

/* --- 卡片网格 --- */
.page-list-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 30px; transition: opacity 0.3s;
}

/* --- 卡片基础样式（原本为 insight-list.php / page.php 中的 inline style） --- */
.insight-list-item {
  background: #fff; border-radius: 10px; overflow: hidden;
  border: 1px solid #eee; transition: all 0.3s;
  cursor: pointer; display: flex; flex-direction: column;
  position: relative; min-height: 400px;
}
.insight-img-box {
  width: 100%; height: 180px; overflow: hidden; position: relative;
}
.insight-img-box img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s;
}
.insight-info-box {
  padding: 16px; flex: 1; display: flex; flex-direction: column;
}
.insight-date {
  font-size: 12px; color: #999; margin-bottom: 8px;
}
.insight-info-box h3 {
  font-size: 1.05rem; margin-bottom: 10px;
  color: var(--text-primary); line-height: 1.4; transition: color 0.3s;
}
.insight-info-box > p {
  font-size: 0.85rem; color: #666; line-height: 1.5;
  margin-bottom: 16px; overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.insight-info-bottom { margin-top: auto; }

/* --- 分页器 --- */
#page-pagination {
  margin-top: 60px;
  display: flex; justify-content: center; gap: 10px;
}
.page-ellipsis {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
}
.page-arrow.is-disabled {
  color: #ccc !important;
  pointer-events: none; opacity: 0.4;
}

/* --- 上下篇导航禁用 --- */
.detail-nav-item.is-disabled {
  opacity: 0.5; pointer-events: none;
}

/* --- 微信弹窗二维码 --- */
.wechat-popup img { width: 140px; }




