/*
Theme Name: SprayDry-V2
Theme URI: http://www.qf-spraydryer.com/
Author: 上海乔枫实业有限公司
Author URI: http://www.qf-spraydryer.com/
Description: 喷雾干燥机企业主题 - 红色主调 #e71d1d，白底清爽大气
Version: 3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: spraydry-v2
*/

/* ============================================
   SprayDry-V2 Theme v3.0 - 核心样式升级
   红色主调 #e71d1d，白底清爽大气
   ============================================ */

/* ---- CSS变量系统 ---- */
:root {
  --primary: #e71d1d;
  --primary-dark: #c41818;
  --primary-light: #ff4444;
  --primary-gradient: linear-gradient(135deg, #e71d1d 0%, #ff4444 100%);
  --text-dark: #1a1a2e;
  --text-body: #4a4a5a;
  --text-muted: #888;
  --text-light: #aaa;
  --bg-light: #f8f9fa;
  --bg-white: #fff;
  --border: #e8e8e8;
  --border-light: #f0f0f0;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --shadow: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-hover: 0 12px 40px rgba(231,29,29,0.12);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.08);
  --transition: all 0.3s ease;
  --transition-fast: all 0.2s ease;
  --transition-slow: all 0.5s ease;
  --container: 1330px;
  --nav-h: 80px;
}

/* ---- 基础重置 ---- */
*, *::before, *::after { box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  margin: 0;
  padding: 0;
}

/* ============================================
   顶部导航栏
   ============================================ */

/* 顶部信息栏 */
.top-bar {
  background: var(--text-dark);
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  padding: 10px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-left {
  display: flex;
  gap: 24px;
  align-items: center;
}
.top-bar-left span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.top-bar-left a {
  color: rgba(255,255,255,0.9);
  transition: color 0.3s;
}
.top-bar-left a:hover {
  color: var(--primary-light);
}
.top-bar-right {
  display: flex;
  gap: 16px;
  align-items: center;
}
.top-bar-right a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  transition: color 0.3s;
}
.top-bar-right a:hover {
  color: #fff;
}
.top-inquiry {
  background: var(--primary);
  color: #fff !important;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
}
.top-inquiry:hover {
  background: var(--primary-light);
}

/* 主导航 */
.main-header {
  background: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}
.main-header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}
.main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}
.logo img {
  max-height: 50px;
  width: auto;
}
.logo-text span {
  color: var(--primary);
}

/* 导航菜单 */
.nav-main {
  flex: 1;
  display: flex;
  justify-content: center;
}
.nav-list {
  display: flex;
  list-style: none;
  gap: 0;
  margin: 0;
  padding: 0;
}
.nav-list > li {
  position: relative;
}
.nav-list > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 20px;
  height: var(--nav-h);
  color: var(--text-dark);
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s;
  white-space: nowrap;
}
.nav-list > li > a:hover,
.nav-list > li.current-menu-item > a,
.nav-list > li.current-menu-parent > a {
  color: var(--primary);
}
.nav-list > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s;
  border-radius: 2px 2px 0 0;
}
.nav-list > li > a:hover::after,
.nav-list > li.current-menu-item > a::after {
  transform: scaleX(1);
}

/* 下拉菜单 */
.sub-menu-panel,
.mega-menu,
.mega-panel,
.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1001;
}

/* 标准下拉菜单 */
.sub-menu {
  min-width: 200px;
  padding: 12px 0;
  list-style: none;
  margin: 0;
}
.sub-menu li a {
  display: block;
  padding: 12px 20px;
  color: var(--text-body);
  font-size: 14px;
  transition: all 0.3s;
  border-left: 3px solid transparent;
}
.sub-menu li a:hover {
  color: var(--primary);
  background: rgba(231,29,29,0.04);
  border-left-color: var(--primary);
  padding-left: 24px;
}

/* Mega Panel - 产品/案例大面板 */
.mega-panel {
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 600px;
  max-width: 800px;
  padding: 24px;
}
.nav-list > li:hover .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Mega Content */
.mega-content {}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.mega-grid-cases {
  grid-template-columns: repeat(3, 1fr);
}

/* Mega Item */
.mega-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 12px;
  border-radius: var(--radius);
  background: var(--bg-light);
  transition: all 0.3s;
  text-decoration: none;
}
.mega-item:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(231,29,29,0.2);
}
.mega-item:hover h4 { color: #fff; }
.mega-item:hover .mega-count { color: rgba(255,255,255,0.8); }
.mega-item:hover .mega-thumb-placeholder { background: rgba(255,255,255,0.15); color: #fff; }

.mega-thumb {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 12px;
  background: #f0f0f0;
}
.mega-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mega-thumb-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(231,29,29,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 28px;
}
.mega-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(231,29,29,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 24px;
}
.mega-item:hover .mega-icon {
  background: rgba(255,255,255,0.2);
  color: #fff;
}
.mega-info {}
.mega-info h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--text-dark);
}
.mega-count {
  font-size: 12px;
  color: var(--text-muted);
}

/* Mega Footer */
.mega-footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.mega-viewall {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg-light);
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
  border-radius: 20px;
  transition: all 0.3s;
}
.mega-viewall:hover {
  background: var(--primary);
  color: #fff;
}

/* Nav Arrow Icon */
.nav-arrow {
  font-size: 10px;
  transition: transform 0.3s;
  margin-left: 4px;
}
.nav-list > li:hover > a .nav-arrow {
  transform: rotate(180deg);
}

/* Nav Link & Text */
.nav-link {
  display: flex;
  align-items: center;
  height: var(--nav-h);
}
.nav-text {
  font-size: 15px;
  font-weight: 500;
}

/* 右侧CTA */
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  border-radius: var(--radius);
  background: rgba(231,29,29,0.05);
  transition: all 0.3s;
}
.header-phone:hover {
  background: rgba(231,29,29,0.1);
}
.header-phone i {
  color: var(--primary);
  font-size: 18px;
}
.phone-info {
  display: flex;
  flex-direction: column;
}
.phone-label {
  font-size: 11px;
  color: var(--text-muted);
}
.phone-number {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}
}
.header-phone i {
  color: var(--primary);
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--primary-gradient);
  color: #fff;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(231,29,29,0.3);
}

/* 汉堡菜单 */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: all 0.3s;
}

/* 移动端导航 */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1001;
}
.mobile-overlay.open {
  display: block;
}
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: #fff;
  z-index: 1002;
  transition: right 0.3s ease;
  overflow-y: auto;
}
.mobile-nav.open {
  right: 0;
}
.mobile-nav-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--border-light);
}
.mobile-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--text-muted);
}
.mobile-search {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
}
.mobile-search form {
  display: flex;
  gap: 8px;
}
.mobile-search input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
}
.mobile-search button {
  padding: 10px 16px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
}
.mobile-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-menu > li {
  border-bottom: 1px solid var(--border-light);
}
.mobile-menu > li > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  color: var(--text-dark);
  font-size: 15px;
  font-weight: 500;
}
.mobile-sub {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
  background: var(--bg-light);
}
.mobile-sub li a {
  display: block;
  padding: 12px 20px 12px 40px;
  color: var(--text-body);
  font-size: 14px;
}
.sub-arrow {
  padding: 8px;
  transition: transform 0.3s;
}
.sub-arrow.open {
  transform: rotate(180deg);
}
.mobile-bottom {
  padding: 20px;
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}
.mobile-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  margin-bottom: 16px;
  font-weight: 500;
}
.mobile-social {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.mobile-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.3s;
}
.mobile-social a:hover {
  background: var(--primary);
  color: #fff;
}

/* ============================================
   页脚样式
   ============================================ */

/* 经典页脚 (footer.php) */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.7);
  padding-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-about .f-logo {
  margin-bottom: 20px;
}
.footer-about .f-logo img {
  max-height: 50px;
  width: auto;
}
.footer-about p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 24px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s;
}
.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}
.footer-links h4,
.footer-contact h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 24px;
}
.footer-links ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li,
.footer-contact li {
  margin-bottom: 12px;
}
.footer-links a,
.footer-contact li {
  font-size: 14px;
  transition: all 0.3s;
}
.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.footer-contact li i {
  color: var(--primary);
  margin-top: 3px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
}
.footer-bottom a {
  color: rgba(255,255,255,0.7);
}
.footer-bottom a:hover {
  color: var(--primary-light);
}

/* 悬浮客服 */
.float-contact {
  position: fixed;
  right: 20px;
  bottom: 100px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  position: relative;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.float-btn:hover {
  transform: scale(1.1);
}
.float-btn.weixin {
  background: #07c160;
}
.float-btn[href*="qq"] {
  background: #12b7f5;
}
.float-btn[href*="tel"] {
  background: var(--primary);
}
.float-btn[title="回到顶部"] {
  background: var(--text-dark);
}
.float-qr {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  padding: 12px;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  width: 140px;
}
.float-btn.weixin:hover .float-qr {
  opacity: 1;
  visibility: visible;
}
.float-qr img {
  width: 100%;
  border-radius: 4px;
}

/* ============================================
   响应式导航
   ============================================ */
@media (max-width: 1024px) {
  .nav-main,
  .header-right {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .main-header .container {
    height: 60px;
  }
  .logo {
    font-size: 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .float-contact {
    right: 10px;
    bottom: 80px;
  }
  .float-qr {
    display: none;
  }
}

/* ---- 基础重置 ---- */
*, *::before, *::after { box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text-body);
  line-height: 1.6;
  background: var(--bg-white);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; color: var(--text-dark); line-height: 1.3; }
p { margin: 0; }

/* ---- 布局容器 ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.section-sm { padding: 60px 0; }

/* ---- v3.0 通用组件 ---- */

/* 区块标题 */
.section-header-v3 {
  text-align: center;
  margin-bottom: 60px;
}
.section-header-v3 .sub-title-v3 {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-header-v3 h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}
.section-header-v3 .line-v3 {
  width: 60px;
  height: 4px;
  background: var(--primary-gradient);
  margin: 0 auto 20px;
  border-radius: 2px;
}
.section-header-v3 p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* 按钮系统 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 32px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.btn-primary {
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: 0 4px 16px rgba(231,29,29,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(231,29,29,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}
.btn-outline-v3 {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid var(--border);
}
.btn-outline-v3:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.btn-white {
  background: #fff;
  color: var(--primary);
}
.btn-white:hover {
  background: var(--primary);
  color: #fff;
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.btn-lg { padding: 16px 40px; font-size: 16px; }
.btn-block { width: 100%; }

.section-more-v3 {
  text-align: center;
  margin-top: 50px;
}

/* ---- 页面横幅 ---- */
.page-banner {
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.page-banner-sm { height: 280px; }
.banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(26,26,46,0.6) 100%);
}
.page-banner .container {
  position: relative;
  z-index: 2;
}
.page-banner h1 {
  color: #fff;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb i { font-size: 12px; }

/* ---- 核心优势 v3.0 ---- */
.features-v3 { background: var(--bg-light); }
.features-grid-v3 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.feature-card-v3 {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.feature-card-v3:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.feature-icon-v3 {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(231,29,29,0.1) 0%, rgba(255,68,68,0.05) 100%);
  border-radius: 50%;
  transition: var(--transition);
}
.feature-card-v3:hover .icon-bg {
  transform: scale(1.2);
  background: linear-gradient(135deg, rgba(231,29,29,0.2) 0%, rgba(255,68,68,0.1) 100%);
}
.feature-icon-v3 i {
  font-size: 32px;
  color: var(--primary);
  position: relative;
  z-index: 1;
}
.feature-content h4 {
  font-size: 18px;
  margin-bottom: 12px;
}
.feature-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}
.feature-number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 48px;
  font-weight: 800;
  color: rgba(231,29,29,0.06);
  line-height: 1;
}

/* ============================================
   核心优势 v2.0 - 左右环绕证书风格
   ============================================ */
.features-v2 {
  background: var(--bg-white);
  padding: 100px 0;
  overflow: hidden;
}
.features-v2-header {
  text-align: center;
  position: relative;
  margin-bottom: 70px;
}
.features-v2-bg-text {
  font-size: 72px;
  font-weight: 900;
  color: rgba(231,29,29,0.04);
  text-transform: uppercase;
  letter-spacing: 8px;
  line-height: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.features-v2-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.features-v2-title::before,
.features-v2-title::after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}
.features-v2-line {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}
.features-v2-line span {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}
.features-v2-body {
  display: grid;
  grid-template-columns: 1fr 380px 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.features-v2-col {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.features-v2-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.features-v2-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(231,29,29,0.3);
}
.features-v2-content h4 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}
.features-v2-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.features-v2-content ul li {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  position: relative;
  padding-left: 14px;
}
.features-v2-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.5;
}
.features-v2-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.features-v2-circle {
  position: relative;
  width: 340px;
  height: 340px;
}
.features-v2-circle-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 40% 40%, #ff4444 0%, #e71d1d 60%, #c41818 100%);
  border-radius: 50%;
  box-shadow: 0 20px 60px rgba(231,29,29,0.35), inset 0 -10px 30px rgba(0,0,0,0.1);
}
.features-v2-circle-bg::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 40px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.features-v2-cert,
.features-v2-cert-placeholder {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: 220px;
  z-index: 2;
}
.features-v2-cert img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.features-v2-cert-placeholder {
  text-align: center;
  color: rgba(255,255,255,0.9);
}
.features-v2-cert-placeholder i {
  font-size: 64px;
  display: block;
  margin-bottom: 12px;
}
.features-v2-cert-placeholder span {
  font-size: 16px;
  font-weight: 500;
}

/* 模版2响应式 */
@media (max-width: 1100px) {
  .features-v2-body {
    grid-template-columns: 1fr 280px 1fr;
    gap: 24px;
  }
  .features-v2-circle {
    width: 260px;
    height: 260px;
  }
  .features-v2-cert,
  .features-v2-cert-placeholder {
    width: 170px;
  }
}
@media (max-width: 900px) {
  .features-v2-body {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .features-v2-center {
    grid-column: 1 / -1;
    order: -1;
    margin-bottom: 20px;
  }
  .features-v2-circle {
    width: 260px;
    height: 260px;
  }
  .features-v2-bg-text {
    font-size: 48px;
  }
}
@media (max-width: 640px) {
  .features-v2-body {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .features-v2-center {
    order: -1;
  }
  .features-v2-item {
    gap: 12px;
  }
  .features-v2-num {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
  .features-v2-content h4 {
    font-size: 18px;
  }
  .features-v2-title {
    font-size: 28px;
  }
  .features-v2-bg-text {
    font-size: 36px;
  }
  .features-v2-circle {
    width: 220px;
    height: 220px;
  }
  .features-v2-cert,
  .features-v2-cert-placeholder {
    width: 140px;
  }
}

/* ---- 产品中心 v3.1 - 精致卡片优化 ---- */
.prod-filter-v3 {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.pf-btn {
  padding: 10px 24px;
  border-radius: 30px;
  border: 1px solid var(--border);
  background: var(--bg-white);
  color: var(--text-body);
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}
.pf-btn:hover, .pf-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(231,29,29,0.3);
}
.products-grid-v3 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card-v3 {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-light);
}
.product-card-v3:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
  border-color: transparent;
}
.product-thumb-v3 {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.product-thumb-v3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card-v3:hover .product-thumb-v3 img {
  transform: scale(1.08);
}
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: #fff;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(231,29,29,0.3);
}
.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,46,0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.product-card-v3:hover .product-overlay {
  opacity: 1;
}
.overlay-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  background: var(--primary);
  color: #fff;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.35s ease;
}
.overlay-btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
}
.overlay-btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}
.product-card-v3:hover .overlay-btn {
  transform: translateY(0);
  opacity: 1;
}
.product-card-v3:hover .overlay-btn:nth-child(2) {
  transition-delay: 0.1s;
}
.product-info-v3 {
  padding: 20px;
}
.product-info-v3 h4 {
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: 600;
  line-height: 1.4;
}
.product-info-v3 h4 a {
  color: var(--text-dark);
  transition: color 0.3s;
}
.product-info-v3 h4 a:hover { color: var(--primary); }
.product-info-v3 p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-footer-v3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}
.detail-link {
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.detail-link i { transition: transform 0.3s; }
.detail-link:hover i { transform: translateX(4px); }
.inquiry-link {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.3s;
}
.inquiry-link:hover { color: var(--primary); }

/* ---- 数据统计 v3.0 ---- */
.stats-v3 {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.stats-bg {
  position: absolute;
  inset: 0;
  background: url('static/images/stats-bg.jpg') center/cover;
}
.stats-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.92) 0%, rgba(231,29,29,0.85) 100%);
}
.stats-v3 .container { position: relative; z-index: 2; }
.stats-grid-v3 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.stat-item-v3 {
  text-align: center;
  color: #fff;
  position: relative;
}
.stat-icon-v3 {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}
.stat-icon-v3 i { font-size: 28px; }
.stat-number-v3 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-unit { font-size: 24px; }
.stat-label-v3 {
  font-size: 16px;
  opacity: 0.8;
}
.stat-line {
  width: 40px;
  height: 2px;
  background: rgba(255,255,255,0.3);
  margin: 20px auto 0;
}

/* ---- 成功案例 v3.0 ---- */
.cases-grid-v3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.case-card-v3 {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.case-card-v3:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}
.case-thumb-v3 {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.case-thumb-v3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.case-card-v3:hover .case-thumb-v3 img {
  transform: scale(1.08);
}
.case-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
}
.case-overlay-v3 {
  position: absolute;
  inset: 0;
  background: rgba(26,26,46,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.case-card-v3:hover .case-overlay-v3 { opacity: 1; }
.case-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: #fff;
  color: var(--primary);
  border-radius: 30px;
  font-weight: 500;
  transform: translateY(20px);
  transition: all 0.3s ease 0.1s;
}
.case-card-v3:hover .case-view-btn { transform: translateY(0); }
.case-info-v3 { padding: 24px; }
.case-info-v3 h4 {
  font-size: 18px;
  margin-bottom: 10px;
}
.case-info-v3 h4 a:hover { color: var(--primary); }
.case-info-v3 p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.7;
}
.case-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}
.case-footer a {
  color: var(--primary);
  font-weight: 500;
}

/* ---- 关于我们 v3.0 ---- */
.about-v3 { position: relative; overflow: hidden; }
.about-bg-pattern {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><circle cx="2" cy="2" r="1" fill="rgba(231,29,29,0.03)"/></svg>');
  pointer-events: none;
}
.about-grid-v3 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-images { position: relative; }
.about-img-main {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.about-img-main img { width: 100%; }
.about-exp-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary-gradient);
  color: #fff;
  padding: 24px 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.exp-num {
  display: block;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
}
.exp-text {
  font-size: 14px;
  opacity: 0.9;
}
.about-img-float {
  position: absolute;
  top: -30px;
  left: -30px;
  width: 180px;
  height: 180px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: var(--shadow-md);
  z-index: 2;
}
.about-img-float img { width: 100%; height: 100%; object-fit: cover; }
.about-content .sub-title-v3 { text-align: left; }
.about-content h2 { text-align: left; }
.about-content .line-v3 { margin: 0 0 20px; }
.about-desc {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
  color: var(--text-body);
}
.about-checks {
  margin: 24px 0;
}
.about-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 15px;
}
.about-checks li i {
  color: var(--primary);
  font-size: 18px;
}
.about-btns {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

/* ---- 发展历程 v3.3 - 横向滚动之字形时间轴 ---- */
.timeline-v3 { background: var(--bg-light); }

/* 滚动容器 */
.timeline-scroll-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) transparent;
  padding-bottom: 8px;
}
.timeline-scroll-wrap::-webkit-scrollbar {
  height: 6px;
}
.timeline-scroll-wrap::-webkit-scrollbar-track {
  background: transparent;
}
.timeline-scroll-wrap::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

/* 时间轴轨道 - 宽度由内容决定 */
.timeline-zigzag {
  position: relative;
  display: flex;
  align-items: center;
  padding: 100px 40px;
  min-height: 340px;
  gap: 0;
  width: max-content;
  min-width: 100%;
}

/* 贯穿中心线 - 宽度等于内容 */
.timeline-center-line {
  position: absolute;
  top: 50%;
  left: 40px;
  right: 40px;
  transform: translateY(-50%);
  z-index: 0;
  pointer-events: none;
}
.center-line-track {
  height: 3px;
  background: linear-gradient(90deg,
    rgba(231,29,29,0.2) 0%,
    var(--primary) 10%,
    var(--primary) 90%,
    rgba(231,29,29,0.2) 100%
  );
  border-radius: 2px;
}
.center-line-arrow {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(231,29,29,0.35);
  animation: arrowPulse 2s ease-in-out infinite;
}
.center-line-arrow i {
  font-size: 14px;
  margin-left: 2px;
}
@keyframes arrowPulse {
  0%, 100% { transform: translateY(-50%) scale(1); }
  50% { transform: translateY(-50%) scale(1.15); }
}

/* 节点 - 固定宽高，dot绝对定位居中 */
.timeline-z-node {
  width: 160px;
  height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

/* 圆点 - 绝对定位在节点正中心 */
.z-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 4px solid var(--primary);
  box-shadow: 0 0 0 5px rgba(231,29,29,0.1);
  transition: var(--transition);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.timeline-z-node:hover .z-dot {
  transform: translate(-50%, -50%) scale(1.3);
  box-shadow: 0 0 0 10px rgba(231,29,29,0.12);
}

/* 连接线 */
.z-connector {
  width: 2px;
  height: 44px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.node-top .z-connector {
  bottom: 50%;
  margin-bottom: 12px;
  background: linear-gradient(180deg, rgba(231,29,29,0.15), var(--primary));
}
.node-bottom .z-connector {
  top: 50%;
  margin-top: 12px;
  background: linear-gradient(0deg, rgba(231,29,29,0.15), var(--primary));
}

/* 卡片 - 绝对定位在节点上下两端 */
.z-card {
  background: var(--bg-white);
  padding: 16px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  text-align: center;
  transition: var(--transition);
  width: 100%;
  position: absolute;
  left: 0;
}
.node-top .z-card {
  bottom: 50%;
  margin-bottom: 60px;
}
.node-bottom .z-card {
  top: 50%;
  margin-top: 60px;
}
.z-card:hover {
  box-shadow: var(--shadow-card);
  border-color: transparent;
}
.node-top .z-card:hover {
  transform: translateY(-4px);
}
.node-bottom .z-card:hover {
  transform: translateY(4px);
}
.z-year {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}
.z-event {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.5;
}

/* 响应式 */
@media (max-width: 768px) {
  .timeline-zigzag {
    padding: 80px 24px;
    min-height: 300px;
  }
  .timeline-center-line {
    left: 24px;
    right: 24px;
  }
  .center-line-arrow {
    width: 28px;
    height: 28px;
    right: -16px;
  }
  .center-line-arrow i {
    font-size: 11px;
  }
  .timeline-z-node {
    width: 130px;
    height: 240px;
  }
  .node-top .z-card {
    margin-bottom: 52px;
  }
  .node-bottom .z-card {
    margin-top: 52px;
  }
  .z-connector {
    height: 36px;
  }
  .node-top .z-connector {
    margin-bottom: 10px;
  }
  .node-bottom .z-connector {
    margin-top: 10px;
  }
  .z-card {
    padding: 12px 14px;
  }
  .z-year {
    font-size: 18px;
  }
  .z-event {
    font-size: 12px;
  }
  .z-dot {
    width: 16px;
    height: 16px;
    border-width: 3px;
  }
}

/* ---- 合作伙伴 v3.1 - 静态网格 ---- */
.partners-v3 { background: var(--bg-white); }
.partners-grid-v3 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.partner-logo-v3 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  min-height: 100px;
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-white);
  transition: var(--transition);
}
/* 每行第6个去掉右边框 */
.partner-logo-v3:nth-child(6n) {
  border-right: none;
}
/* 最后一行去掉下边框 */
.partner-logo-v3:nth-last-child(-n+6):nth-child(6n+1),
.partner-logo-v3:nth-last-child(-n+6):nth-child(6n+1) ~ .partner-logo-v3 {
  border-bottom: none;
}
.partner-logo-v3:hover {
  background: var(--bg-light);
  box-shadow: inset 0 0 30px rgba(231,29,29,0.04);
}
.partner-logo-v3 img {
  max-width: 80%;
  max-height: 50px;
  object-fit: contain;
  transition: var(--transition);
}
.partner-logo-v3:hover img {
  transform: scale(1.08);
}
@media (max-width: 992px) {
  .partners-grid-v3 {
    grid-template-columns: repeat(4, 1fr);
  }
  .partner-logo-v3:nth-child(6n) {
    border-right: 1px solid var(--border-light);
  }
  .partner-logo-v3:nth-child(4n) {
    border-right: none;
  }
}
@media (max-width: 640px) {
  .partners-grid-v3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .partner-logo-v3:nth-child(4n) {
    border-right: 1px solid var(--border-light);
  }
  .partner-logo-v3:nth-child(3n) {
    border-right: none;
  }
}

/* ---- 资质证书 v3.0 ---- */
.certs-v3 { background: var(--bg-light); }
.certs-slider-wrapper { position: relative; }
.certs-slider {
  overflow: hidden;
  padding: 20px 0;
}
.certs-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease;
}
.cert-item {
  flex: 0 0 calc(20% - 20px);
  text-align: center;
}
.cert-img-wrap {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
  transition: var(--transition);
}
.cert-img-wrap:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.cert-img-wrap img {
  width: 100%;
  height: auto;
}
.cert-item h5 {
  font-size: 14px;
  color: var(--text-body);
}
.slider-arrows {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
}
.slider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-white);
  color: var(--text-body);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-arrow:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ---- 新闻资讯 v3.1 - 现代卡片布局 ---- */
.news-v3 { background: var(--bg-white); padding: 0; }
.news-grid-v3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.news-card-v3 {
  display: flex;
  flex-direction: column;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-light);
}
.news-card-v3:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
  border-color: transparent;
}
.news-featured {
  grid-column: 1 / -1;
  flex-direction: row;
  min-height: 320px;
}
.news-featured .news-thumb-v3 {
  aspect-ratio: auto;
  flex: 0 0 55%;
}
.news-featured .news-info-v3 {
  flex: 1;
  padding: 40px;
  justify-content: center;
}
.news-featured .news-info-v3 h4 {
  font-size: 22px;
}
.news-featured .news-info-v3 p {
  font-size: 15px;
  line-height: 1.8;
}
.news-thumb-v3 {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.news-thumb-v3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.news-card-v3:hover .news-thumb-v3 img { transform: scale(1.06); }
.news-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--primary);
  color: #fff;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  z-index: 2;
}
.news-info-v3 {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--text-muted);
}
.news-meta i {
  margin-right: 4px;
  color: var(--primary);
  opacity: 0.6;
}
.news-info-v3 h4 {
  font-size: 17px;
  margin-bottom: 10px;
  line-height: 1.5;
  font-weight: 600;
}
.news-info-v3 h4 a {
  color: var(--text-dark);
  transition: color 0.3s;
}
.news-info-v3 h4 a:hover { color: var(--primary); }
.news-info-v3 p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}
.news-more {
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s;
}
.news-more:hover {
  gap: 10px;
}
.news-more i { transition: transform 0.3s; }
.news-more:hover i { transform: translateX(4px); }

@media (max-width: 992px) {
  .news-grid-v3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-featured {
    grid-column: 1 / -1;
    flex-direction: column;
    min-height: auto;
  }
  .news-featured .news-thumb-v3 {
    flex: none;
    aspect-ratio: 16/9;
  }
  .news-featured .news-info-v3 {
    padding: 24px;
  }
}
@media (max-width: 640px) {
  .news-grid-v3 {
    grid-template-columns: 1fr;
  }
}

/* ---- CTA v3.0 ---- */
.cta-v3 {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background: var(--primary-gradient);
}
.cta-particles {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
}
.cta-v3 .container { position: relative; z-index: 2; }
.cta-content {
  text-align: center;
  color: #fff;
}
.cta-content h2 {
  color: #fff;
  font-size: 40px;
  margin-bottom: 16px;
}
.cta-content p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}
.cta-contact-info {
  display: flex;
  justify-content: center;
  gap: 40px;
  font-size: 16px;
  opacity: 0.8;
}
.cta-contact-info span {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---- 友情链接 v3.0 ---- */
.links-v3 { background: var(--bg-light); padding: 40px 0; }
.links-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.links-header h4 {
  font-size: 16px;
  color: var(--text-dark);
}
.links-header i { color: var(--primary); }
.links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.link-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-muted);
  transition: var(--transition);
}
.link-item:hover { color: var(--primary); }
.link-dot {
  width: 6px;
  height: 6px;
  background: var(--border);
  border-radius: 50%;
  transition: var(--transition);
}
.link-item:hover .link-dot { background: var(--primary); }

/* ---- 页脚 v3.0 ---- */
.site-footer-v3 {
  background: var(--text-dark);
  color: rgba(255,255,255,0.7);
}
.footer-main { padding: 80px 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-logo {
  margin-bottom: 20px;
}
.footer-logo img {
  max-height: 50px;
  width: auto;
}
.footer-desc {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 24px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition);
}
.social-icon:hover {
  background: var(--primary);
  transform: translateY(-3px);
}
.footer-nav h4,
.footer-products h4,
.footer-contact h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 24px;
}
.footer-nav li,
.footer-products li {
  margin-bottom: 12px;
}
.footer-nav a,
.footer-products a {
  font-size: 14px;
  transition: var(--transition);
}
.footer-nav a:hover,
.footer-products a:hover {
  color: var(--primary);
  padding-left: 4px;
}
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
}
.contact-list li i {
  color: var(--primary);
  margin-top: 3px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

/* ---- 悬浮按钮 ---- */
.floating-btns {
  position: fixed;
  right: 20px;
  bottom: 100px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  position: relative;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.float-btn:hover { transform: scale(1.1); }
.float-phone { background: var(--primary); }
.float-inquiry { background: #ff9500; }
.float-wechat { background: #07c160; }
.float-top {
  background: var(--text-dark);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.float-top.visible {
  opacity: 1;
  visibility: visible;
}
.float-label {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--text-dark);
  color: #fff;
  padding: 6px 12px;
  border-radius: var(--radius);
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.float-btn:hover .float-label {
  opacity: 1;
  visibility: visible;
}

/* ============================================
   列表页通用布局
   ============================================ */
.products-layout-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
}
.products-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}
.sidebar-block {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  overflow: hidden;
}
.sidebar-title {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 10px;
}
.sidebar-title i { color: var(--primary); }
.sidebar-body { padding: 16px; }

/* 分类导航 */
.cat-parent-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cat-parent-link {
  flex: 1;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius);
  transition: var(--transition);
}
.cat-parent-link:hover,
.cat-parent-link.active {
  background: rgba(231,29,29,0.06);
  color: var(--primary);
}
.cat-toggle {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
}
.cat-toggle i { transition: transform 0.3s; }
.cat-parent-row.open .cat-toggle i { transform: rotate(90deg); }
.cat-children {
  padding-left: 12px;
}
.cat-child-link {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: var(--transition);
}
.cat-child-link:hover,
.cat-child-link.active {
  color: var(--primary);
  background: rgba(231,29,29,0.04);
}

/* 新闻侧边栏分类（category.php 使用） */
.cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius);
  transition: var(--transition);
  color: var(--text-body);
}
.cat-link:hover,
.cat-link.active {
  background: rgba(231,29,29,0.06);
  color: var(--primary);
}
.cat-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 600;
  background: var(--primary);
  color: #fff;
  border-radius: 20px;
}

/* 热门文章 */
.hot-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}
.hot-item:last-child { border-bottom: none; }
.hot-item:hover .hot-title { color: var(--primary); }
.hot-rank {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--text-muted);
  flex-shrink: 0;
}
.hot-rank.rank-1,
.hot-rank.rank-2,
.hot-rank.rank-3 {
  background: var(--primary);
  color: #fff;
}
.hot-title {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

/* 侧边栏联系 */
.sc-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(231,29,29,0.05) 0%, rgba(255,68,68,0.02) 100%);
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.sc-phone i {
  width: 40px;
  height: 40px;
  background: var(--primary-gradient);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sc-phone strong {
  display: block;
  font-size: 18px;
  color: var(--primary);
}
.sc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 8px;
  transition: var(--transition);
}
.sc-btn:hover {
  background: var(--primary-dark);
}
.sc-btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}
.sc-btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

/* 热门文章 */
.hot-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
  transition: var(--transition);
}
.hot-item:last-child { border-bottom: none; }
.hot-item:hover { color: var(--primary); }
.hot-rank {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  background: var(--bg-light);
  color: var(--text-muted);
  flex-shrink: 0;
}
.hot-rank.rank-1 { background: #ff4d4f; color: #fff; }
.hot-rank.rank-2 { background: #ff7a45; color: #fff; }
.hot-rank.rank-3 { background: #ffa940; color: #fff; }

/* 列表头部 */
.archive-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border-light);
}
.archive-header h2 { font-size: 24px; }
.archive-count {
  font-size: 14px;
  color: var(--text-muted);
}

/* 产品网格（列表页） */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.product-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.product-card:hover .product-thumb img { transform: scale(1.05); }
.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,46,0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: var(--transition);
}
.product-card:hover .product-overlay { opacity: 1; }
.product-info { padding: 20px; }
.product-info h4 {
  font-size: 16px;
  margin-bottom: 8px;
}
.product-info h4 a:hover { color: var(--primary); }
.product-info p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* 案例网格 */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.case-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.case-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.case-card:hover .case-thumb img { transform: scale(1.05); }
.case-info { padding: 20px; }
.case-info h4 { font-size: 16px; margin-bottom: 8px; }

/* 新闻列表 */
.news-list { display: flex; flex-direction: column; gap: 20px; }
.news-item {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.news-item:hover { box-shadow: var(--shadow-card); }
.news-item-thumb { overflow: hidden; }
.news-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.news-item:hover .news-item-thumb img { transform: scale(1.05); }
.news-item-body { padding: 24px 24px 24px 0; }
.news-item-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--text-muted);
}
.news-item-body h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.news-item-body h3 a:hover { color: var(--primary); }
.news-item-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}
.news-item-more {
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
}

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius);
  background: var(--bg-white);
  border: 1px solid var(--border);
  font-size: 14px;
  transition: var(--transition);
}
.pagination a:hover,
.pagination .current {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ============================================
   详情页样式
   ============================================ */

/* 产品详情 */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}
.product-gallery { position: relative; }
.gallery-main-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-light);
}
.gallery-main {
  position: relative;
  aspect-ratio: 4/3;
}
/* Custom Gallery Slides */
.gallery-main .gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  cursor: zoom-in;
  z-index: 1;
}
.gallery-main .gallery-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
.gallery-main .gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-main.no-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Gallery Navigation Arrows */
.gallery-main-wrap {
  position: relative;
}
.gallery-main-wrap .gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  font-size: 16px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-main-wrap .gallery-nav:hover {
  background: var(--primary);
}
.gallery-main-wrap .gallery-nav.prev { left: 16px; }
.gallery-main-wrap .gallery-nav.next { right: 16px; }
.gallery-main-wrap .gallery-nav:disabled,
.gallery-main-wrap .gallery-nav[disabled] { opacity: 0.3; cursor: not-allowed; }
/* 视频封面轮播项 */
.gallery-slide-video {
  cursor: pointer;
}
.gallery-slide-video .video-cover {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-slide-video .video-cover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.35);
  transition: background 0.3s;
}
.gallery-slide-video:hover .video-cover::before {
  background: rgba(0,0,0,0.25);
}
.gallery-slide-video .video-play-icon {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}
.gallery-slide-video .video-play-icon i {
  font-size: 56px;
  display: block;
  margin-bottom: 6px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  transition: transform 0.3s;
}
.gallery-slide-video:hover .video-play-icon i {
  transform: scale(1.1);
}
.gallery-slide-video .video-play-icon span {
  font-size: 13px;
  font-weight: 500;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

/* 缩略图视频项 */
.thumb-video .thumb-video-inner {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.thumb-video .thumb-video-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.35);
}
.thumb-video .thumb-video-inner i {
  position: relative;
  z-index: 2;
  font-size: 24px;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.thumb-video.active .thumb-video-inner::before,
.thumb-video:hover .thumb-video-inner::before {
  background: rgba(212, 35, 42, 0.5);
}

.gallery-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.thumb-item {
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  flex-shrink: 0;
}
.thumb-item.active,
.thumb-item:hover { border-color: var(--primary); }
.thumb-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

.product-info-panel h1 {
  font-size: 28px;
  margin-bottom: 12px;
}
.product-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.product-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--text-muted);
}
.product-desc {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-light);
}
.product-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.product-share {
  display: flex;
  align-items: center;
  gap: 12px;
}
.product-share a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  transition: var(--transition);
}
.share-wx { background: #07c160; }
.share-wb { background: #e6162d; }
.share-qq { background: #12b7f5; }

/* 产品内容标签页 */
.product-content-tabs { margin-bottom: 60px; }
.tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border-light);
  margin-bottom: 30px;
}
.tab-btn {
  padding: 14px 32px;
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}
.tab-btn.active {
  color: var(--primary);
}
.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
}
.tab-panel { display: none; animation: sdTabFadeIn 0.3s ease; }
.tab-panel.active { display: block; }
@keyframes sdTabFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 文章详情 */
.article-wrap { background: var(--bg-white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }
.article-header { text-align: center; margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px solid var(--border-light); }
.article-header h1 { font-size: 28px; margin-bottom: 16px; }
.article-meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 14px;
  color: var(--text-muted);
}
.article-featured-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 30px;
}
.article-featured-img img { width: 100%; }

/* 文章正文 */
.article-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-body);
}
.article-body h2,
.article-body h3 {
  margin: 30px 0 16px;
  color: var(--text-dark);
}
.article-body p { margin-bottom: 16px; }
.article-body img {
  border-radius: var(--radius);
  margin: 20px 0;
}
.article-body blockquote {
  border-left: 4px solid var(--primary);
  padding: 16px 24px;
  background: var(--bg-light);
  margin: 20px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.article-body a { color: var(--primary); }
.article-body a:hover { text-decoration: underline; }
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.article-body th,
.article-body td {
  padding: 12px;
  border: 1px solid var(--border);
  text-align: left;
}
.article-body th {
  background: var(--bg-light);
  font-weight: 600;
}

/* 文章标签 */
.article-tags {
  margin: 30px 0;
  padding: 20px 0;
  border-top: 1px solid var(--border-light);
}
.tags-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-right: 8px;
}
.article-tags a {
  display: inline-block;
  padding: 4px 12px;
  background: var(--bg-light);
  border-radius: 20px;
  font-size: 13px;
  margin: 4px;
  transition: var(--transition);
}
.article-tags a:hover {
  background: var(--primary);
  color: #fff;
}

/* 文章分享 */
.article-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}
.article-share a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
}

/* 文章导航 */
.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid var(--border-light);
}
.article-nav-prev,
.article-nav-next {
  padding: 20px;
  background: var(--bg-light);
  border-radius: var(--radius);
}
.article-nav-next { text-align: right; }
.article-nav span {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.article-nav a {
  font-size: 15px;
  font-weight: 500;
}
.article-nav a:hover { color: var(--primary); }

/* 相关产品 */
.related-products { margin-top: 60px; }
.related-products .section-header-v3 { margin-bottom: 30px; }
.related-products .section-header-v3 h3 { font-size: 24px; }

/* ============================================
   关于我们页面
   ============================================ */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.about-intro-text .sub-title-v3 { text-align: left; }
.about-intro-text h2 { text-align: left; }
.about-intro-text .line-v3 { margin: 0 0 20px; }
.about-intro-text p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-intro-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.about-intro-img img { width: 100%; }

.about-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 80px;
}
.about-stat-item {
  text-align: center;
  padding: 40px 20px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.about-stat-num {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.about-stat-unit {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}
.about-stat-label {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

.culture-section { margin-bottom: 80px; }
.culture-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.culture-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.culture-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}
.culture-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(231,29,29,0.1) 0%, rgba(255,68,68,0.05) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.culture-icon i {
  font-size: 28px;
  color: var(--primary);
}
.culture-card h4 {
  font-size: 18px;
  margin-bottom: 10px;
}
.culture-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   联系我们页面
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-info-panel .sub-title-v3 { text-align: left; }
.contact-info-panel h2 { text-align: left; }
.contact-info-panel .line-v3 { margin: 0 0 20px; }
.contact-info-panel > p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 30px;
}
.contact-info-list { margin-bottom: 30px; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  transition: var(--transition);
}
.contact-info-item:hover {
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}
.cii-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
}
.cii-content h5 {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.cii-content p {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
}
.contact-qr {
  text-align: center;
  padding: 24px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
}
.contact-qr h5 { margin-bottom: 16px; }
.contact-qr img {
  max-width: 160px;
  margin: 0 auto 12px;
  border-radius: var(--radius);
}
.contact-qr p { font-size: 13px; color: var(--text-muted); }

.contact-form-panel {
  background: var(--bg-white);
  padding: 40px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}
.contact-form-panel h3 {
  font-size: 24px;
  margin-bottom: 8px;
}
.contact-form-panel > p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 30px;
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-dark);
}
.form-group label i { color: var(--primary); font-size: 12px; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  transition: var(--transition);
  font-family: inherit;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(231,29,29,0.1);
}

/* 验证码 */
.captcha-question {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 2px 10px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  margin-left: 6px;
  user-select: none;
}

/* 验证码状态 */
input.captcha-valid {
  border-color: #00a32a !important;
  box-shadow: 0 0 0 3px rgba(0,163,42,0.1) !important;
  background: #edfaef !important;
}
input.captcha-invalid {
  border-color: #d63638 !important;
  box-shadow: 0 0 0 3px rgba(214,54,56,0.1) !important;
  background: #fcf0f1 !important;
}
.captcha-tip {
  display: block;
  margin-top: 6px;
  font-size: 13px;
}
.captcha-tip-ok {
  color: #00a32a;
}
.captcha-tip-err {
  color: #d63638;
}
.captcha-tip i {
  margin-right: 4px;
}

/* 提交按钮禁用状态 */
button:disabled,
.btn-submit:disabled,
.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.map-section { margin-top: 80px; }
.map-container {
  height: 400px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-placeholder {
  text-align: center;
  color: var(--text-muted);
}
.map-placeholder i { font-size: 48px; margin-bottom: 16px; }

/* ============================================
   响应式设计
   ============================================ */
@media (max-width: 1024px) {
  .features-grid-v3,
  .products-grid-v3,
  .stats-grid-v3,
  .cases-grid-v3,
  .about-grid-v3,
  .culture-grid,
  .about-stats-row,
  .products-grid,
  .cases-grid,
  .news-grid-v3,
  .contact-grid,
  .about-intro,
  .product-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-card-v3,
  .news-featured {
    grid-template-columns: 1fr;
  }
  .news-featured .news-thumb-v3 { aspect-ratio: 16/9; }
  .news-info-v3,
  .news-featured .news-info-v3 { padding: 20px; }
  .products-layout-inner {
    grid-template-columns: 1fr;
  }
  .products-sidebar {
    position: relative;
    top: 0;
  }
  .section { padding: 60px 0; }
  .page-banner { height: 300px; }
  .page-banner h1 { font-size: 32px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  /* 手机端核心优势/产品列表/成功案例保持两列 */
  .features-grid-v3,
  .products-grid-v3,
  .cases-grid-v3,
  .products-grid,
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .feature-card-v3 { padding: 24px 16px; }
  .feature-icon-v3 { width: 60px; height: 60px; }
  .feature-icon-v3 i { font-size: 24px; }
  .case-card-v3 .case-info-v3 { padding: 16px; }
  .case-card-v3 .case-info-v3 h4 { font-size: 15px; }
  .product-card .product-info { padding: 16px; }
  .product-card .product-info h4 { font-size: 15px; }
  .stats-grid-v3,
  .culture-grid,
  .about-stats-row,
  .contact-grid,
  .about-intro,
  .product-detail-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .about-grid-v3 { grid-template-columns: 1fr; }
  .about-img-float { display: none; }
  .about-exp-badge { right: 10px; bottom: 10px; }
  .news-item { grid-template-columns: 1fr; }
  .news-item-thumb { aspect-ratio: 16/9; }
  .news-item-body { padding: 20px; }
  .cta-btns { flex-direction: column; align-items: center; }
  .cta-contact-info { flex-direction: column; gap: 12px; }
  .cert-item { flex: 0 0 calc(50% - 12px); }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav-next { text-align: left; }
  .section-header-v3 h2 { font-size: 28px; }
  .page-banner { height: 240px; }
  .page-banner h1 { font-size: 26px; }
  .floating-btns { right: 10px; bottom: 80px; }
  .float-label { display: none; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .tab-nav { overflow-x: auto; }
  .tab-btn { white-space: nowrap; }
  .gallery-main .owl-nav button {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
  .thumb-item {
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 15px; }
  .section { padding: 40px 0; }
  .section-header-v3 h2 { font-size: 24px; }
  .feature-card-v3 { padding: 20px 12px; }
  .stat-number-v3 { font-size: 36px; }
  .page-banner { height: 200px; }
  .cert-item { flex: 0 0 100%; }
  /* 超小屏幕也保持两列，但进一步压缩 */
  .features-grid-v3,
  .products-grid-v3,
  .cases-grid-v3,
  .products-grid,
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .feature-icon-v3 { width: 48px; height: 48px; }
  .feature-icon-v3 i { font-size: 20px; }
  .feature-card-v3 h4 { font-size: 14px; }
  .feature-card-v3 p { font-size: 12px; }
}

/* ===== Product List Page Layout ===== */

.products-layout {
    background: #f8f9fa;
    padding: 40px 0 60px;
}

/* 产品列表页头部横幅 */
.page-banner {
    position: relative;
    height: 320px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.page-banner .banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.page-banner .banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(26,26,46,0.6) 100%);
}
.page-banner .container {
    position: relative;
    z-index: 2;
}
.page-banner h1 {
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}
.page-banner h1 i {
    color: var(--primary, #e71d1d);
    margin-right: 12px;
}
.page-banner p {
    color: rgba(255,255,255,0.8);
    font-size: 16px;
}

.products-layout-inner {
    max-width: 1330px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
}

/* Left Sidebar */

.products-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-block {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 20px;
    overflow: hidden;
}

.sidebar-title {
    background: linear-gradient(135deg, #e71d1d 0%, #c41212 100%);
    color: #fff;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-title i {
    font-size: 18px;
}

/* Category Navigation */

.cat-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cat-nav li {
    border-bottom: 1px solid #f0f0f0;
}

.cat-nav li:last-child {
    border-bottom: none;
}

.cat-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.25s ease;
}

.cat-nav a i {
    color: #999;
    font-size: 12px;
    margin-right: 10px;
    transition: all 0.25s ease;
}

.cat-nav .count {
    background: #f5f5f5;
    color: #999;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
    transition: all 0.25s ease;
}

.cat-nav li:hover > a {
    background: #fff5f5;
    color: #e71d1d;
}

.cat-nav li:hover > a i {
    color: #e71d1d;
}

.cat-nav li:hover > a .count {
    background: #e71d1d;
    color: #fff;
}

.cat-nav li.active > a {
    background: #e71d1d;
    color: #fff;
}

.cat-nav li.active > a i {
    color: #fff;
}

.cat-nav li.active > a .count {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

/* ===== Category Tree (三级分类通用) ===== */
.cat-sub {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #fafbfc;
    border-top: 1px dashed #e8e8e8;
}

.cat-sub li {
    border-bottom: 1px solid #f0f0f0;
}

.cat-sub li:last-child {
    border-bottom: none;
}

/* 一级分类 */
.cat-level-0 > .cat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.25s ease;
}

.cat-level-0 > .cat-link .cat-name {
    display: flex;
    align-items: center;
    flex: 1;
}

.cat-level-0 > .cat-link .cat-name i {
    color: #999;
    font-size: 12px;
    margin-right: 10px;
    transition: all 0.25s ease;
}

/* 二级分类 */
.cat-level-1 > .cat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px 10px 36px;
    color: #666;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.cat-level-1 > .cat-link .cat-name i {
    color: #bbb;
    font-size: 11px;
    margin-right: 8px;
    transition: all 0.25s ease;
}

/* 三级分类 */
.cat-level-2 > .cat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 20px 8px 52px;
    color: #888;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.cat-level-2 > .cat-link .cat-name i {
    color: #ccc;
    font-size: 10px;
    margin-right: 6px;
    transition: all 0.25s ease;
}

/* 计数标签 */
.cat-link .count {
    background: #f0f0f0;
    color: #999;
    font-size: 11px;
    padding: 1px 7px;
    border-radius: 8px;
    margin-left: 8px;
}

/* 折叠图标 */
.has-children .toggle-icon {
    margin-left: 8px;
    font-size: 11px;
    color: #bbb;
    transition: transform 0.3s ease;
    cursor: pointer;
    padding: 4px;
}

.has-children[data-collapsed="1"] .toggle-icon {
    transform: rotate(-90deg);
}

.has-children[data-collapsed="0"] .toggle-icon {
    transform: rotate(0deg);
}

/* 折叠状态 */
.has-children[data-collapsed="1"] > .cat-sub {
    display: none;
}

.has-children[data-collapsed="0"] > .cat-sub {
    display: block;
}

/* Hover 效果 */
.cat-nav li:hover > .cat-link {
    background: #fff5f5;
    color: #e71d1d;
}

.cat-nav li:hover > .cat-link i {
    color: #e71d1d;
}

.cat-nav li:hover > .cat-link .count {
    background: #e71d1d;
    color: #fff;
}

/* Active 状态 */
.cat-nav li.active > .cat-link {
    background: #e71d1d;
    color: #fff;
}

.cat-nav li.active > .cat-link i {
    color: #fff;
}

.cat-nav li.active > .cat-link .count {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.cat-nav li.active > .cat-link .toggle-icon {
    color: rgba(255,255,255,0.7);
}

/* 祖先激活状态（当前路径上的父分类） */
.cat-nav li.ancestor-active > .cat-link {
    background: #fff0f0;
    color: #e71d1d;
}

.cat-nav li.ancestor-active > .cat-link i {
    color: #e71d1d;
}


.products-grid, .case-grid-new, .news-list {
    contain: layout style paint;
}
.product-card, .case-card-new, .news-item {
    will-change: transform;
    transform: translateZ(0);
}
.cert-item, .timeline-node-wrapper {
    will-change: transform;
}
#certsSlider, #timelineSlider {
    contain: layout style;
}

/* Contact Block */

.contact-block .contact-info {
    padding: 20px;
}

.contact-item {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item > i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e71d1d;
    font-size: 16px;
    flex-shrink: 0;
}

.contact-item .label {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 2px;
}

.contact-item .value {
    display: block;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.sidebar-inquiry-btn,
.sidebar-contact-btn {
    display: block;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.25s ease;
}

.sidebar-inquiry-btn {
    background: linear-gradient(135deg, #e71d1d 0%, #c41212 100%);
    color: #fff;
    margin: 0 20px 10px;
    border-radius: 8px;
}

.sidebar-inquiry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231,29,29,0.35);
    color: #fff;
}

.sidebar-contact-btn {
    color: #e71d1d;
    border: 2px solid #e71d1d;
    margin: 0 20px 20px;
    border-radius: 8px;
}

.sidebar-contact-btn:hover {
    background: #e71d1d;
    color: #fff;
}

/* Right Product Main */

.products-main {
    min-width: 0;
}

.section-head {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #eee;
}

.section-head h2 {
    font-size: 24px;
    color: #222;
    margin: 0 0 8px;
    font-weight: 600;
}

.section-head p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.section-head strong {
    color: #e71d1d;
}

/* Product Grid in List Page */

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

.products-grid .product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.35s ease;
}

.products-grid .product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.card-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #f5f5f5;
}

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

.products-grid .product-card:hover .card-thumb img {
    transform: scale(1.08);
}

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #e71d1d 0%, #c41212 100%);
    color: #fff;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(231,29,29,0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.products-grid .product-card:hover .card-overlay {
    opacity: 1;
}

.view-btn,
.inquiry-btn-sm {
    padding: 10px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s ease;
}

.view-btn {
    background: #fff;
    color: #e71d1d;
}

.view-btn:hover {
    background: #fff;
    transform: scale(1.05);
    color: #e71d1d;
}

.inquiry-btn-sm {
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: 2px solid #fff;
}

.inquiry-btn-sm:hover {
    background: #fff;
    color: #e71d1d;
}

.card-body {
    padding: 20px;
}

.card-body h3 {
    margin: 0 0 10px;
    font-size: 17px;
    font-weight: 600;
}

.card-body h3 a {
    color: #222;
    text-decoration: none;
    transition: color 0.25s ease;
}

.card-body h3 a:hover {
    color: #e71d1d;
}

.card-body > p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #f0f0f0;
}

.detail-link {
    color: #e71d1d;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.25s ease;
}

.detail-link:hover {
    color: #c41212;
}

.detail-link i {
    transition: transform 0.25s ease;
}

.detail-link:hover i {
    transform: translateX(4px);
}

.inquiry-link {
    color: #999;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.25s ease;
}

.inquiry-link:hover {
    color: #e71d1d;
}

/* Empty State */

.empty-state {
    grid-column: 1/-1;
    text-align: center;
    padding: 80px 40px;
    color: #999;
}

.empty-state i {
    font-size: 60px;
    margin-bottom: 20px;
    color: #ddd;
}

.empty-state p {
    font-size: 18px;
    margin: 0 0 8px;
    color: #666;
}

.empty-state small {
    font-size: 14px;
}

/* Breadcrumb Bar */

.breadcrumb-bar {
    background: #fff;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
}

.breadcrumb-bar .container {
    max-width: 1330px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-bar a {
    color: #666;
    text-decoration: none;
}

.breadcrumb-bar a:hover {
    color: #e71d1d;
}

.breadcrumb-bar span {
    color: #333;
}

/* Pagination in List Page */

.products-main .pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.products-main .pagination .nav-links {
    display: flex;
    gap: 8px;
}

.products-main .pagination a,
.products-main .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: all 0.25s ease;
}

.products-main .pagination a:hover {
    border-color: #e71d1d;
    color: #e71d1d;
    background: #fff5f5;
}

.products-main .pagination .current {
    background: #e71d1d;
    border-color: #e71d1d;
    color: #fff;
}

/* Responsive for Product List Page */

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .products-layout-inner {
        grid-template-columns: 1fr;
    }
    
    .products-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .sidebar-block {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .products-sidebar {
        grid-template-columns: 1fr;
    }
    
    .section-head h2 {
        font-size: 20px;
    }
}




/* ===== News-Specific Styles (category.php) ===== */
/* Layout reuses .products-layout / .products-sidebar / .products-main for consistency */

/* Hot Articles */

.hot-list-wrap {
    padding: 8px 0;
}

.hot-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 20px;
    transition: background 0.25s ease;
    text-decoration: none;
    border-bottom: 1px dashed #f0f0f0;
}

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

.hot-item:hover {
    background: #fff5f5;
}

.hot-item:hover .hot-title {
    color: #e71d1d;
}

.hot-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.hot-rank.rank-1 {
    background: linear-gradient(135deg, #e71d1d, #ff3b3b);
    color: #fff;
}

.hot-rank.rank-2 {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #fff;
}

.hot-rank.rank-3 {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: #fff;
}

.hot-rank.rank-4,
.hot-rank.rank-5 {
    background: #f0f0f0;
    color: #999;
}

.hot-title {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    flex: 1;
    transition: color 0.25s ease;
}

/* News List Items */

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    transition: all 0.25s ease;
}

.news-item:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-color: #fff5f5;
}

.news-thumb {
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.news-thumb img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-item:hover .news-thumb img {
    transform: scale(1.05);
}

.news-body {
    min-width: 0;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #999;
}

.news-meta i {
    font-size: 12px;
}

.news-meta .meta-cat {
    color: #e71d1d;
}

.news-body h3 {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.news-body h3 a {
    color: #333;
    transition: color 0.25s ease;
}

.news-body h3 a:hover {
    color: #e71d1d;
}

.news-body > p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #e71d1d;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s ease;
}

.read-more:hover {
    color: #c41212;
}

.read-more i {
    transition: transform 0.25s ease;
}

.read-more:hover i {
    transform: translateX(4px);
}

/* News Responsive */

@media (max-width: 768px) {
    .news-item {
        grid-template-columns: 1fr;
    }
    .news-thumb img {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .news-meta {
        flex-wrap: wrap;
        gap: 10px;
    }
    .news-item {
        padding: 16px;
    }
}


/* ===== Article Detail (single.php) ===== */

.article-detail {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.article-header {
    padding: 32px 32px 24px;
    border-bottom: 1px solid var(--border-light);
}

.article-header h1 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.article-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-muted);
}

.article-meta .meta-item i {
    font-size: 13px;
    color: var(--primary);
}

.article-featured {
    margin: 0 32px 24px;
    border-radius: var(--radius);
    overflow: hidden;
}

.article-featured img {
    width: 100%;
    height: auto;
}

.article-body {
    padding: 0 32px 24px;
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-body);
}

.article-body p {
    margin-bottom: 18px;
}

.article-body h2,
.article-body h3,
.article-body h4 {
    margin: 32px 0 16px;
    color: var(--text-dark);
}

.article-body h2 {
    font-size: 22px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.article-body h3 {
    font-size: 19px;
}

.article-body ul,
.article-body ol {
    margin: 16px 0;
    padding-left: 28px;
}

.article-body ul {
    list-style: disc;
}

.article-body ol {
    list-style: decimal;
}

.article-body li {
    margin-bottom: 8px;
}

.article-body img {
    border-radius: var(--radius);
    margin: 20px 0;
    box-shadow: var(--shadow);
}

.article-body blockquote {
    margin: 24px 0;
    padding: 20px 24px;
    background: var(--bg-warm);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.article-body blockquote p:last-child {
    margin-bottom: 0;
}

.article-body a {
    color: var(--primary);
    border-bottom: 1px dashed var(--primary);
}

.article-body a:hover {
    border-bottom-style: solid;
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.article-body th,
.article-body td {
    padding: 12px 16px;
    border: 1px solid var(--border);
    text-align: left;
}

.article-body th {
    background: var(--bg-light);
    font-weight: 600;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 20px 32px;
    background: var(--bg-warm);
    border-top: 1px solid var(--border-light);
}

.article-tags i {
    color: var(--primary);
    font-size: 14px;
}

.article-tags a {
    display: inline-block;
    padding: 6px 14px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-muted);
    transition: var(--transition);
}

.article-tags a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* Share Bar */
.share-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 32px;
    background: linear-gradient(to right, var(--primary-bg), var(--white));
    border-top: 1px solid var(--border-light);
}

.share-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.share-label i {
    margin-right: 6px;
    color: var(--primary);
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 18px;
    transition: var(--transition);
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.share-btn.share-wechat:hover {
    background: #07c160;
    border-color: #07c160;
    color: #fff;
}

.share-btn.share-weibo:hover {
    background: #e6162d;
    border-color: #e6162d;
    color: #fff;
}

.share-btn.share-qq:hover {
    background: #12b7f5;
    border-color: #12b7f5;
    color: #fff;
}

.share-btn.share-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* Article Navigation */
.article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 24px 32px;
    border-top: 1px solid var(--border-light);
}

.article-nav a {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 20px;
    background: var(--bg-light);
    border-radius: var(--radius);
    transition: var(--transition);
    text-decoration: none;
}

.article-nav a:hover {
    background: var(--primary-soft);
    transform: translateY(-2px);
}

.article-nav .nav-prev {
    text-align: left;
}

.article-nav .nav-next {
    text-align: right;
    align-items: flex-end;
}

.article-nav i {
    color: var(--primary);
    font-size: 12px;
}

.article-nav span {
    font-size: 12px;
    color: var(--text-muted);
}

.article-nav strong {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-nav .nav-disabled {
    padding: 16px 20px;
    background: var(--bg-warm);
    color: var(--text-light);
    cursor: not-allowed;
}

.article-nav .nav-disabled span {
    color: var(--text-light);
}

/* Related Articles */
.related-articles {
    margin-top: 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 28px 32px;
}

.related-articles h3 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.related-articles h3 i {
    color: var(--primary);
}

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

.related-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--radius);
    transition: var(--transition);
    text-decoration: none;
}

.related-item:hover {
    background: var(--primary-soft);
    transform: translateY(-2px);
}

.related-thumb {
    width: 100px;
    height: 75px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-item:hover .related-thumb img {
    transform: scale(1.1);
}

.related-info {
    min-width: 0;
}

.related-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.related-item:hover .related-info h4 {
    color: var(--primary);
}

.related-date {
    font-size: 12px;
    color: var(--text-muted);
}

/* Article Responsive */
@media (max-width: 992px) {
    .article-header h1 {
        font-size: 24px;
    }
    .article-header,
    .article-body,
    .share-bar,
    .article-nav {
        padding-left: 20px;
        padding-right: 20px;
    }
    .article-featured {
        margin-left: 20px;
        margin-right: 20px;
    }
    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .article-meta {
        gap: 16px;
    }
    .article-nav {
        grid-template-columns: 1fr;
    }
    .article-nav .nav-next {
        text-align: left;
        align-items: flex-start;
    }
    .related-articles {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .article-header {
        padding: 24px 16px 16px;
    }
    .article-header h1 {
        font-size: 20px;
    }
    .article-body {
        padding: 0 16px 16px;
        font-size: 15px;
    }
    .share-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}


/* ===== 案例列表页 CSS ===== */
.case-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.case-card-new {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}
.case-card-new:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(231,29,29,0.15);
}

.case-thumb-wrap {
    position: relative;
    aspect-ratio: 3/2;
    overflow: hidden;
}
.case-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.case-card-new:hover .case-thumb-wrap img {
    transform: scale(1.05);
}
.case-thumb-wrap .cat-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #e71d1d, #c4161c);
    color: #fff;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
}

.case-body {
    padding: 16px 18px 18px;
}
.case-body h3 {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin: 0 0 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.case-body h3 a:hover { color: #e71d1d; }
.case-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}
.case-meta span { margin-right: 12px; }
.case-body p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.read-more {
    font-size: 13px;
    color: #e71d1d;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s;
}
.read-more:hover { gap: 8px; }

/* ===== 响应式 ===== */
@media (max-width: 1200px) {
    .case-grid-new { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .case-grid-new { grid-template-columns: 1fr; }
    .products-layout-inner { grid-template-columns: 1fr !important; }
    .products-sidebar { display: none; }
}
/* Timeline */
.timeline-section{padding:60px 0;background:#f9f9f9}
.timeline-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:30px;margin-top:40px}
.timeline-item{text-align:center;padding:25px;background:#fff;border-radius:12px;box-shadow:0 4px 20px rgba(0,0,0,.05);transition:transform .3s,box-shadow .3s}
.timeline-item:hover{transform:translateY(-5px);box-shadow:0 8px 30px rgba(231,29,29,.1)}
.timeline-year{font-size:36px;font-weight:700;color:#e71d1d;margin-bottom:10px}
.timeline-content p{margin:0;color:#666;font-size:14px;line-height:1.6}

/* ===== 案例内页详情 - v2.0 视觉升级版 ===== */
.case-detail { padding: 60px 0; background: linear-gradient(180deg, #fafbfc 0%, #f5f7fa 100%); }
.case-wrap { background: #fff; border-radius: 16px; box-shadow: 0 8px 40px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.04); overflow: hidden; border: 1px solid rgba(0,0,0,0.04); }

/* 案例头部 - 视觉升级 */
.case-header { padding: 48px 48px 32px; background: linear-gradient(135deg, #fff 0%, #fafbfc 100%); border-bottom: 1px solid var(--border-light); position: relative; }
.case-header::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--primary-gradient); }
.case-header h1 { font-size: 32px; font-weight: 800; color: var(--text-dark); margin-bottom: 24px; line-height: 1.3; letter-spacing: -0.02em; }
.case-meta-bar { display: flex; flex-wrap: wrap; gap: 12px; }
.case-meta-bar span { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--text-body); background: #fff; padding: 10px 18px; border-radius: 50px; border: 1px solid var(--border-light); box-shadow: var(--shadow-sm); transition: var(--transition); }
.case-meta-bar span:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow); }
.case-meta-bar span i { color: var(--primary); font-size: 14px; width: 16px; text-align: center; }

/* 案例摘要 - 视觉升级 */
.case-excerpt { padding: 32px 48px; background: linear-gradient(135deg, #fff8f8 0%, #fff 60%, #f8fbff 100%); border-bottom: 1px solid var(--border-light); position: relative; }
.case-excerpt::after { content: '\f10d'; font-family: 'Font Awesome 5 Free'; font-weight: 900; position: absolute; top: 20px; right: 40px; font-size: 48px; color: var(--primary); opacity: 0.06; }
.case-excerpt p { font-size: 17px; line-height: 1.9; color: var(--text-body); margin: 0; font-weight: 400; }

/* 案例图集 - 视觉升级 */
.case-gallery-wrap { padding: 48px; border-bottom: 1px solid var(--border-light); }
.case-gallery-wrap h3 { font-size: 22px; font-weight: 700; color: var(--text-dark); margin-bottom: 28px; display: flex; align-items: center; gap: 12px; }
.case-gallery-wrap h3 i { color: var(--primary); font-size: 20px; }
.case-gallery-wrap h3::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--border-light) 0%, transparent 100%); margin-left: 16px; }
.case-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-gallery-item { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; cursor: pointer; box-shadow: var(--shadow-sm); transition: var(--transition); }
.case-gallery-item:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.case-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.case-gallery-item:hover img { transform: scale(1.1); }
.gallery-item-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.6) 100%); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 20px; opacity: 0; transition: opacity 0.4s ease; }
.case-gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay i { color: #fff; font-size: 20px; width: 48px; height: 48px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(231,29,29,0.4); }

/* 案例视频 - 视觉升级 */
.case-video-wrap { padding: 48px; border-bottom: 1px solid var(--border-light); }
.case-video-wrap h3 { font-size: 22px; font-weight: 700; color: var(--text-dark); margin-bottom: 28px; display: flex; align-items: center; gap: 12px; }
.case-video-wrap h3 i { color: var(--primary); font-size: 20px; }
.case-video-wrap h3::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--border-light) 0%, transparent 100%); margin-left: 16px; }
.case-video-player { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-md); }
.case-video-player video, .case-video-player iframe { width: 100%; display: block; }
.case-video-player video { max-height: 520px; background: #000; }
.video-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 12px; }
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* 案例内容 - 视觉升级 */
.case-body { padding: 48px; }
.case-body h2 { font-size: 26px; font-weight: 700; color: var(--text-dark); margin: 48px 0 24px; padding-bottom: 16px; border-bottom: 2px solid var(--border-light); position: relative; }
.case-body h2::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 60px; height: 2px; background: var(--primary-gradient); }
.case-body h3 { font-size: 21px; font-weight: 600; color: var(--text-dark); margin: 36px 0 18px; }
.case-body p { font-size: 16px; line-height: 1.9; color: var(--text-body); margin-bottom: 18px; }
.case-body ul, .case-body ol { margin: 20px 0; padding-left: 28px; }
.case-body li { font-size: 16px; line-height: 1.9; color: var(--text-body); margin-bottom: 10px; }
.case-body img { max-width: 100%; height: auto; border-radius: 12px; margin: 24px 0; box-shadow: var(--shadow-sm); }
.case-body blockquote { border-left: 4px solid var(--primary); padding: 20px 28px; margin: 28px 0; background: linear-gradient(135deg, #fff8f8 0%, #f8fbff 100%); border-radius: 0 12px 12px 0; font-style: italic; color: var(--text-muted); font-size: 16px; line-height: 1.8; }

/* 项目成果 - 视觉升级 */
.case-results { padding: 48px; background: linear-gradient(135deg, #fff8f8 0%, #fff 50%, #f0f7ff 100%); border-top: 1px solid var(--border-light); position: relative; }
.case-results::before { content: ''; position: absolute; top: 0; left: 48px; right: 48px; height: 3px; background: var(--primary-gradient); border-radius: 0 0 3px 3px; }
.case-results h3 { font-size: 22px; font-weight: 700; color: var(--text-dark); margin-bottom: 24px; display: flex; align-items: center; gap: 12px; }
.case-results h3 i { color: var(--primary); font-size: 20px; }
.results-content { font-size: 16px; line-height: 1.9; color: var(--text-body); }
.results-content ul { list-style: none; padding: 0; }
.results-content li { position: relative; padding-left: 32px; margin-bottom: 14px; font-size: 16px; }
.results-content li::before { content: '\f00c'; font-family: 'Font Awesome 5 Free'; font-weight: 900; position: absolute; left: 0; top: 2px; color: #fff; background: var(--primary); width: 22px; height: 22px; border-radius: 50%; font-size: 10px; display: flex; align-items: center; justify-content: center; }

/* 案例分享 - 视觉升级 */
.article-share { padding: 28px 48px; border-top: 1px solid var(--border-light); display: flex; align-items: center; gap: 16px; background: linear-gradient(90deg, #fafbfc 0%, #fff 100%); }
.article-share span { font-size: 14px; color: var(--text-muted); font-weight: 500; }
.article-share a { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; transition: var(--transition); box-shadow: var(--shadow-sm); }
.share-wx { background: #07c160; color: #fff; }
.share-wb { background: #e6162d; color: #fff; }
.share-qq { background: #12b7f5; color: #fff; }
.article-share a:hover { transform: translateY(-4px) scale(1.1); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }

/* 案例导航 - 视觉升级 */
.article-nav { padding: 32px 48px; border-top: 1px solid var(--border-light); display: grid; grid-template-columns: 1fr 1fr; gap: 24px; background: linear-gradient(180deg, #fafbfc 0%, #fff 100%); }
.article-nav-prev, .article-nav-next { padding: 24px; background: #fff; border-radius: 12px; border: 1px solid var(--border-light); transition: var(--transition); position: relative; overflow: hidden; }
.article-nav-prev::before, .article-nav-next::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--primary-gradient); opacity: 0; transition: opacity 0.3s; }
.article-nav-prev:hover, .article-nav-next:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--primary); }
.article-nav-prev:hover::before, .article-nav-next:hover::before { opacity: 1; }
.article-nav span { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.article-nav a { font-size: 16px; font-weight: 600; color: var(--text-dark); text-decoration: none; transition: color 0.3s; line-height: 1.5; display: block; }
.article-nav a:hover { color: var(--primary); }
.article-nav em { font-size: 15px; color: var(--text-light); font-style: normal; }
.article-nav-next { text-align: right; }
.article-nav-next::before { left: auto; right: 0; }

/* 侧边栏相关案例 */
.sidebar-related .related-case-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border-light); text-decoration: none; transition: var(--transition); }
.sidebar-related .related-case-item:last-child { border-bottom: none; }
.sidebar-related .related-case-item:hover { transform: translateX(4px); }
.sidebar-related .related-case-thumb { width: 72px; height: 54px; border-radius: 8px; overflow: hidden; flex-shrink: 0; box-shadow: var(--shadow-sm); }
.sidebar-related .related-case-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.sidebar-related .related-case-item:hover .related-case-thumb img { transform: scale(1.1); }
.sidebar-related .related-case-info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.sidebar-related .related-case-info h4 { font-size: 14px; font-weight: 600; color: var(--text-dark); margin: 0 0 6px; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; transition: color 0.3s; }
.sidebar-related .related-case-item:hover .related-case-info h4 { color: var(--primary); }
.sidebar-related .related-case-info span { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.sidebar-related .related-case-info span i { font-size: 11px; }

/* 案例内页响应式 */
@media (max-width: 991px) {
    .case-header { padding: 36px 32px 24px; }
    .case-header h1 { font-size: 26px; }
    .case-meta-bar span { font-size: 12px; padding: 8px 14px; }
    .case-excerpt, .case-gallery-wrap, .case-video-wrap, .case-body, .case-results { padding: 32px; }
    .case-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .article-share, .article-nav { padding: 24px 32px; }
    .case-body h2 { font-size: 22px; }
    .case-body h3 { font-size: 19px; }
    .case-body p, .case-body li { font-size: 15px; }
}
@media (max-width: 768px) {
    .case-header { padding: 28px 24px 20px; }
    .case-header h1 { font-size: 22px; }
    .case-meta-bar { gap: 8px; }
    .case-meta-bar span { font-size: 12px; padding: 6px 12px; }
    .case-excerpt, .case-gallery-wrap, .case-video-wrap, .case-body, .case-results { padding: 24px; }
    .case-gallery-grid { grid-template-columns: 1fr; }
    .article-share, .article-nav { padding: 20px 24px; }
    .article-nav { grid-template-columns: 1fr; gap: 16px; }
    .article-nav-next { text-align: left; }
    .case-body h2 { font-size: 20px; }
    .case-body h3 { font-size: 17px; }
    .case-body p, .case-body li { font-size: 15px; }
}

/* Certs */
.certs-section{padding:60px 0}
.certs-slider-wrap{position:relative;overflow:hidden;margin-top:40px;width:100%;cursor:pointer}
.certs-slider-track{display:flex;gap:20px;width:max-content;will-change:transform}
/* 轮播状态 */
.certs-slider-wrap .certs-slider-track{animation:none}
.certs-slider-wrap.paused .certs-slider-track{animation:none}
.certs-slider-track .cert-item{width:190px;flex-shrink:0;text-align:center}
.cert-item{text-align:center}
.cert-img{background:#fff;border-radius:8px;padding:12px;box-shadow:0 4px 15px rgba(0,0,0,.05);transition:transform .3s}
.cert-img:hover{transform:scale(1.05)}
.cert-img img{max-width:100%;height:auto;border-radius:4px;display:block}
.cert-title{margin-top:10px;font-size:13px;color:#666;line-height:1.4}

/* 平板 ≤1024px - 显示4个 */
@media(max-width:1024px){
    .certs-slider-track .cert-item{width:220px}
}

/* 手机 ≤768px - 显示3个 */
@media(max-width:768px){
    .certs-slider-track .cert-item{width:220px}
}

/* 小手机 ≤480px - 显示2个 */
@media(max-width:480px){
    .certs-slider-track .cert-item{width:160px}
    .cert-img{padding:10px}
    .cert-title{font-size:12px}
}


/* CTA */
.cta-section{padding:80px 0;background:linear-gradient(135deg,#e71d1d 0,#c41e3a 100%)}
.cta-content{display:flex;align-items:center;justify-content:space-between;gap:40px;flex-wrap:wrap}
.cta-text h2{color:#fff;font-size:32px;margin:0 0 10px}
.cta-text p{color:rgba(255,255,255,.9);font-size:16px;margin:0}
.cta-buttons{display:flex;gap:15px;flex-wrap:wrap}
.btn-white{background:#fff;color:#e71d1d;border-color:#fff}
.btn-white:hover{background:#f5f5f5;border-color:#f5f5f5}
.btn-outline-white{background:transparent;color:#fff;border:2px solid #fff}
.btn-outline-white:hover{background:#fff;color:#e71d1d}


/* Links */
/* ===== Links Section ===== */
.links-section{padding:50px 0;background:linear-gradient(180deg,var(--bg-warm) 0%,#f0f0f0 100%);border-top:1px solid var(--border)}
.links-header{text-align:center;margin-bottom:30px}
.links-sub{display:inline-block;font-size:12px;color:var(--primary);font-weight:600;letter-spacing:2px;text-transform:uppercase;margin-bottom:8px}
.links-title{font-size:22px;color:var(--text-dark);margin:0;font-weight:600}
.links-list{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:12px 20px}
.links-item{display:inline-flex;align-items:center;gap:8px;padding:10px 20px;background:var(--white);border:1px solid var(--border);border-radius:var(--radius);color:var(--text-body);font-size:14px;transition:var(--transition);text-decoration:none}
.links-item:hover{border-color:var(--primary);color:var(--primary);box-shadow:var(--shadow);transform:translateY(-2px)}
.links-item i{color:var(--primary);font-size:14px}
.links-item svg{opacity:0;transition:var(--transition-fast)}
.links-item:hover svg{opacity:0.5}


/* Object-fit fallback for IE11 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .thumb img,
    .case-card .thumb img,
    .news-card .thumb img,
    .product-card .thumb img,
    .about-preview-images img {
        width: 100%;
        height: auto;
    }
}


/* Smooth scroll fallback: handled by JS polyfill in polyfills.js */


/* Aspect-ratio fallback for IE11 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .thumb { position: relative; padding-bottom: 75%; height: 0; overflow: hidden; }
    .thumb img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
    .case-card .thumb { padding-bottom: 66.67%; }
    .news-card .thumb { padding-bottom: 60%; }
}




/* ===== Timeline v5 - 圆点严格对齐中心线 ===== */
.timeline-scroll-wrap {
    position: relative;
    overflow: hidden;
    margin-top: 40px;
    padding: 20px 0;
    cursor: pointer;
}
.timeline-track {
    display: flex;
    align-items: center;
    gap: 0;
    width: max-content;
    will-change: transform;
    padding: 0 20px;
}
/* 默认暂停 */
.timeline-scroll-wrap.paused .timeline-track {
    animation: none;
    transform: none;
}

/* 中间水平线 - 用绝对定位在容器上 */
.timeline-scroll-wrap::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 3px;
    background: linear-gradient(90deg, #e71d1d 0%, #ff6b6b 50%, #e71d1d 100%);
    border-radius: 2px;
    z-index: 0;
    transform: translateY(-50%);
}

/* 节点包装器 - 三行网格：上、中、下 */
.timeline-node-wrapper {
    display: grid;
    grid-template-rows: 1fr auto 1fr;
    align-items: center;
    justify-items: center;
    width: 200px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

/* 上半部分 */
.timeline-top {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    min-height: 100px;
    padding-bottom: 15px;
}

/* 中间 - 圆点 */
.timeline-center {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 30px;
}
.timeline-dot {
    width: 20px;
    height: 20px;
    background: #fff;
    border: 4px solid #e71d1d;
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(231,29,29,0.15);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

/* 下半部分 */
.timeline-bottom {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    min-height: 100px;
    padding-top: 15px;
}

/* 占位符 */
.timeline-spacer {
    width: 100%;
    height: 20px;
}

/* 卡片 */
.timeline-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    width: 180px;
    position: relative;
}

/* 上方卡片的三角箭头 - 指向下方圆点 */
.timeline-top .timeline-card::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #fff;
}

/* 下方卡片的三角箭头 - 指向上方圆点 */
.timeline-bottom .timeline-card::after {
    content: '';
    position: absolute;
    left: 50%;
    top: -10px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #fff;
}

.timeline-year {
    font-size: 28px;
    font-weight: 800;
    color: #e71d1d;
    margin-bottom: 8px;
    line-height: 1;
}
.timeline-event {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

/* 箭头 */
.timeline-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    align-self: center;
}
.timeline-arrow svg {
    animation: arrowPulse 1.5s ease-in-out infinite;
}
@keyframes arrowPulse {
    0%, 100% { transform: translateX(0); opacity: 0.6; }
    50% { transform: translateX(5px); opacity: 1; }
}

/* 响应式 */
@media(max-width:768px){
    .timeline-node-wrapper { width: 160px; }
    .timeline-card { width: 140px; padding: 16px; }
    .timeline-year { font-size: 22px; }
    .timeline-top, .timeline-bottom { min-height: 80px; }
    .timeline-arrow { width: 30px; }
    .timeline-arrow svg { width: 30px; }
}
@media(max-width:480px){
    .timeline-node-wrapper { width: 130px; }
    .timeline-card { width: 110px; padding: 12px; }
    .timeline-year { font-size: 18px; }
    .timeline-event { font-size: 12px; }
    .timeline-top, .timeline-bottom { min-height: 60px; }
}

/* ===== Links Header Left Align ===== */
.links-header {
    text-align: left !important;
    margin-bottom: 30px;
}



/* ===== Sidebar Templates Width Fix ===== */
.tpl-grid-sidebar .products-layout-inner,
.tpl-list-sidebar .products-layout-inner,
.tax-template-grid-sidebar .products-layout-inner,
.tax-template-list-sidebar .products-layout-inner {
    grid-template-columns: 260px 1fr !important;
}
.tpl-grid-sidebar .products-sidebar,
.tpl-list-sidebar .products-sidebar,
.tax-template-grid-sidebar .products-sidebar,
.tax-template-list-sidebar .products-sidebar {
    display: block !important;
}

/* ===== Taxonomy Template Styles ===== */

/* --- Grid Layout (3 columns products, 2 columns news) --- */
.tpl-grid.products-grid,
.tpl-grid.case-grid-new,
.tax-template-grid .products-grid,
.tax-template-grid .case-grid-new {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px;
}
.tpl-grid.news-list,
.tax-template-grid .news-list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px;
}
.tpl-grid.news-list .news-item,
.tax-template-grid .news-list .news-item {
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.tpl-grid.news-list .news-thumb,
.tax-template-grid .news-list .news-thumb {
    width: 100% !important;
    height: 200px;
    flex: none;
}
.tpl-grid.news-list .news-body,
.tax-template-grid .news-list .news-body {
    padding: 20px;
}

/* --- Grid + Sidebar (same as grid, sidebar kept) --- */
.tpl-grid-sidebar.products-grid,
.tpl-grid-sidebar.case-grid-new,
.tax-template-grid-sidebar .products-grid,
.tax-template-grid-sidebar .case-grid-new {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px;
}
.tpl-grid-sidebar.news-list,
.tax-template-grid-sidebar .news-list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px;
}

/* --- List Layout (horizontal cards) --- */
.tpl-list.products-grid,
.tpl-list.case-grid-new,
.tax-template-list .products-grid,
.tax-template-list .case-grid-new,
.tpl-list.news-list,
.tax-template-list .news-list {
    display: flex !important;
    flex-direction: column;
    gap: 20px;
}
.tpl-list .product-card,
.tpl-list .case-card-new,
.tax-template-list .product-card,
.tax-template-list .case-card-new,
.tpl-list.news-list .news-item,
.tax-template-list .news-list .news-item {
    display: flex !important;
    flex-direction: row;
    align-items: stretch;
    max-width: 100%;
}
.tpl-list .card-thumb,
.tpl-list .case-thumb-wrap,
.tax-template-list .card-thumb,
.tax-template-list .case-thumb-wrap,
.tpl-list.news-list .news-thumb,
.tax-template-list .news-list .news-thumb {
    width: 320px;
    flex-shrink: 0;
    min-height: 220px;
}
.tpl-list .card-body,
.tpl-list .case-body,
.tax-template-list .card-body,
.tax-template-list .case-body,
.tpl-list.news-list .news-body,
.tax-template-list .news-list .news-body {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* --- List + Sidebar (same as list, sidebar kept) --- */
.tpl-list-sidebar.products-grid,
.tpl-list-sidebar.case-grid-new,
.tax-template-list-sidebar .products-grid,
.tax-template-list-sidebar .case-grid-new,
.tpl-list-sidebar.news-list,
.tax-template-list-sidebar .news-list {
    display: flex !important;
    flex-direction: column;
    gap: 20px;
}

/* --- Card Layout (large rounded shadows) --- */
.tpl-card.products-grid,
.tpl-card.case-grid-new,
.tax-template-card .products-grid,
.tax-template-card .case-grid-new,
.tpl-card.news-list,
.tax-template-card .news-list {
    gap: 30px;
}
.tpl-card .product-card,
.tpl-card .case-card-new,
.tax-template-card .product-card,
.tax-template-card .case-card-new,
.tpl-card.news-list .news-item,
.tax-template-card .news-list .news-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tpl-card .product-card:hover,
.tpl-card .case-card-new:hover,
.tax-template-card .product-card:hover,
.tax-template-card .case-card-new:hover,
.tpl-card.news-list .news-item:hover,
.tax-template-card .news-list .news-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 50px rgba(0,0,0,0.15);
}
.tpl-card .card-thumb img,
.tpl-card .case-thumb-wrap img,
.tax-template-card .card-thumb img,
.tax-template-card .case-thumb-wrap img,
.tpl-card.news-list .news-thumb img,
.tax-template-card .news-list .news-thumb img {
    border-radius: 20px 20px 0 0;
}

/* --- Media Layout (alternating left/right) --- */
.tpl-media.products-grid,
.tpl-media.case-grid-new,
.tax-template-media .products-grid,
.tax-template-media .case-grid-new,
.tpl-media.news-list,
.tax-template-media .news-list {
    display: flex !important;
    flex-direction: column;
    gap: 30px;
}
.tpl-media .product-card:nth-child(even),
.tpl-media .case-card-new:nth-child(even),
.tax-template-media .product-card:nth-child(even),
.tax-template-media .case-card-new:nth-child(even),
.tpl-media.news-list .news-item:nth-child(even),
.tax-template-media .news-list .news-item:nth-child(even) {
    flex-direction: row-reverse !important;
}
.tpl-media .product-card,
.tpl-media .case-card-new,
.tax-template-media .product-card,
.tax-template-media .case-card-new,
.tpl-media.news-list .news-item,
.tax-template-media .news-list .news-item {
    display: flex !important;
    flex-direction: row;
    align-items: stretch;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.tpl-media .card-thumb,
.tpl-media .case-thumb-wrap,
.tax-template-media .card-thumb,
.tax-template-media .case-thumb-wrap,
.tpl-media.news-list .news-thumb,
.tax-template-media .news-list .news-thumb {
    width: 45%;
    flex-shrink: 0;
}
.tpl-media .card-body,
.tpl-media .case-body,
.tax-template-media .card-body,
.tax-template-media .case-body,
.tpl-media.news-list .news-body,
.tax-template-media .news-list .news-body {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ===== Taxonomy Style Themes ===== */

/* --- Red Theme --- */
.tax-style-red .page-header,
.tpl-red .page-header {
    background: linear-gradient(135deg, #e71d1d 0%, #c41e3a 100%) !important;
}
.tax-style-red .sidebar-title,
.tpl-red .sidebar-title {
    background: linear-gradient(135deg, #e71d1d 0%, #c41e3a 100%) !important;
}

/* --- Dark Theme --- */
.tax-style-dark .page-header,
.tpl-dark .page-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
}
.tax-style-dark .sidebar-title,
.tpl-dark .sidebar-title {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
}
.tax-style-dark .products-sidebar,
.tpl-dark .products-sidebar {
    background: #f0f0f5;
}

/* --- Clean (Minimal) Theme --- */
.tax-style-clean .products-sidebar .sidebar-block,
.tpl-clean .products-sidebar .sidebar-block {
    box-shadow: none;
    border: 1px solid #e4e7f0;
    border-radius: 4px;
}
.tax-style-clean .sidebar-title,
.tpl-clean .sidebar-title {
    background: #f7f8fc !important;
    color: #1a1a2e !important;
    border-bottom: 2px solid #e71d1d;
}
.tax-style-clean .product-card,
.tax-style-clean .case-card-new,
.tpl-clean .product-card,
.tpl-clean .case-card-new,
.tax-style-clean .news-item,
.tpl-clean .news-item {
    box-shadow: none;
    border: 1px solid #e4e7f0;
    border-radius: 4px;
}

/* --- Card Theme --- */
.tax-style-card .product-card,
.tax-style-card .case-card-new,
.tpl-card-style .product-card,
.tpl-card-style .case-card-new,
.tax-style-card .news-item,
.tpl-card-style .news-item {
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    border: none;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.tax-style-card .product-card:hover,
.tax-style-card .case-card-new:hover,
.tpl-card-style .product-card:hover,
.tpl-card-style .case-card-new:hover,
.tax-style-card .news-item:hover,
.tpl-card-style .news-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 24px 60px rgba(0,0,0,0.18);
}
.tax-style-card .page-header,
.tpl-card-style .page-header {
    border-radius: 0 0 40px 40px;
}

/* --- Border Theme --- */
.tax-style-border .product-card,
.tax-style-border .case-card-new,
.tpl-border .product-card,
.tpl-border .case-card-new,
.tax-style-border .news-item,
.tpl-border .news-item {
    border: 2px solid #e4e7f0;
    border-radius: 8px;
    box-shadow: none;
    transition: border-color 0.3s ease, transform 0.3s ease;
}
.tax-style-border .product-card:hover,
.tax-style-border .case-card-new:hover,
.tpl-border .product-card:hover,
.tpl-border .case-card-new:hover,
.tax-style-border .news-item:hover,
.tpl-border .news-item:hover {
    border-color: #e71d1d;
    transform: translateY(-4px);
}

/* ===== Responsive: Mobile ===== */
@media(max-width:768px) {
    .tpl-grid.products-grid,
    .tpl-grid.case-grid-new,
    .tax-template-grid .products-grid,
    .tax-template-grid .case-grid-new,
    .tpl-grid-sidebar.products-grid,
    .tpl-grid-sidebar.case-grid-new,
    .tax-template-grid-sidebar .products-grid,
    .tax-template-grid-sidebar .case-grid-new {
        grid-template-columns: 1fr !important;
    }
    .tpl-grid.news-list,
    .tax-template-grid .news-list,
    .tpl-grid-sidebar.news-list,
    .tax-template-grid-sidebar .news-list {
        grid-template-columns: 1fr !important;
    }
    .tpl-list .product-card,
    .tpl-list .case-card-new,
    .tax-template-list .product-card,
    .tax-template-list .case-card-new,
    .tpl-list.news-list .news-item,
    .tax-template-list .news-list .news-item,
    .tpl-media .product-card,
    .tpl-media .case-card-new,
    .tax-template-media .product-card,
    .tax-template-media .case-card-new,
    .tpl-media.news-list .news-item,
    .tax-template-media .news-list .news-item {
        flex-direction: column !important;
    }
    .tpl-list .card-thumb,
    .tpl-list .case-thumb-wrap,
    .tpl-media .card-thumb,
    .tpl-media .case-thumb-wrap,
    .tax-template-list .card-thumb,
    .tax-template-list .case-thumb-wrap,
    .tax-template-media .card-thumb,
    .tax-template-media .case-thumb-wrap,
    .tpl-list.news-list .news-thumb,
    .tax-template-list .news-list .news-thumb,
    .tpl-media.news-list .news-thumb,
    .tax-template-media .news-list .news-thumb {
        width: 100% !important;
    }
    .tpl-media .product-card:nth-child(even),
    .tpl-media .case-card-new:nth-child(even),
    .tax-template-media .product-card:nth-child(even),
    .tax-template-media .case-card-new:nth-child(even),
    .tpl-media.news-list .news-item:nth-child(even),
    .tax-template-media .news-list .news-item:nth-child(even) {
        flex-direction: column !important;
    }
}

/* =====================================================
   Hero Section v3.0 - 全屏震撼幻灯片
   ===================================================== */

.hero-v3 {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
    background: #0a0a0a;
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide-v3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
    z-index: 1;
}

.hero-slide-v3.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 6s ease;
}

.hero-slide-v3.active .hero-bg {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, rgba(231,29,29,0.15) 100%);
    z-index: 1;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.hero-slide-v3 .container {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content-v3 {
    max-width: 700px;
    color: #fff;
    padding: 0 20px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--primary, #e71d1d);
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
}

.hero-slide-v3.active .hero-tag {
    animation: fadeInDown 0.8s ease forwards;
}

.tag-line {
    display: block;
    width: 30px;
    height: 2px;
    background: var(--primary, #e71d1d);
}

.hero-content-v3 h1 {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
    opacity: 0;
    transform: translateY(30px);
}

.hero-slide-v3.active .hero-content-v3 h1 {
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-content-v3 h1 span {
    color: var(--primary, #e71d1d);
}

.hero-content-v3 p {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    margin-bottom: 35px;
    opacity: 0;
    transform: translateY(30px);
}

.hero-slide-v3.active .hero-content-v3 p {
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.hero-buttons-v3 {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
}

.hero-slide-v3.active .hero-buttons-v3 {
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.btn-glow {
    position: relative;
    box-shadow: 0 0 20px rgba(231,29,29,0.3);
    transition: all 0.3s ease;
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(231,29,29,0.5);
    transform: translateY(-2px);
}

.btn-ghost-v3 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-ghost-v3:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
    color: #fff;
}

/* 进度指示器 */
.hero-progress {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 10;
}

.progress-item {
    position: relative;
    width: 60px;
    height: 3px;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    overflow: hidden;
}

.progress-item .progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--primary, #e71d1d);
    transition: width 0.1s linear;
}

.progress-item.active .progress-bar {
    width: 100%;
    transition: width 5s linear;
}

.progress-num {
    position: absolute;
    top: -20px;
    left: 0;
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    font-weight: 600;
    transition: color 0.3s;
}

.progress-item.active .progress-num {
    color: var(--primary, #e71d1d);
}

/* 滚动提示 */
.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 10;
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
}

.scroll-hint .mouse {
    width: 22px;
    height: 36px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 12px;
    position: relative;
}

.scroll-hint .wheel {
    width: 4px;
    height: 8px;
    background: rgba(255,255,255,0.6);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    100% { top: 18px; opacity: 0; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

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

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

/* Hero响应式 */
@media (max-width: 991px) {
    .hero-content-v3 h1 { font-size: 40px; }
    .hero-content-v3 p { font-size: 16px; }
}

@media (max-width: 768px) {
    .hero-v3 { min-height: 500px; max-height: 700px; }
    .hero-content-v3 h1 { font-size: 28px; }
    .hero-content-v3 p { font-size: 14px; margin-bottom: 25px; }
    .hero-buttons-v3 { flex-direction: column; gap: 10px; }
    .hero-buttons-v3 .btn { width: 100%; text-align: center; justify-content: center; }
    .hero-progress { bottom: 60px; gap: 12px; }
    .progress-item { width: 40px; }
    .scroll-hint { display: none; }
    .hero-tag { font-size: 11px; letter-spacing: 2px; }
}

@media (max-width: 480px) {
    .hero-content-v3 h1 { font-size: 24px; }
    .hero-content-v3 { padding: 0 15px; }
}

/* =====================================================
   Header & Navigation v3.0
   ===================================================== */

/* 顶部信息栏 */
.top-bar {
    background: #1a1a1a;
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 25px;
    align-items: center;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-left a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.top-bar-left a:hover {
    color: var(--primary, #e71d1d);
}

.top-bar-left i {
    color: var(--primary, #e71d1d);
    font-size: 12px;
}

.top-bar-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

.top-bar-right a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
}

.top-bar-right a:hover {
    color: var(--primary, #e71d1d);
}

.top-inquiry {
    background: var(--primary, #e71d1d);
    color: #fff !important;
    padding: 5px 15px;
    border-radius: 3px;
    font-size: 12px !important;
}

.top-inquiry:hover {
    background: #c91919;
    color: #fff !important;
}

/* 主导航 */
.main-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    z-index: 1000;
    transition: all 0.3s ease;
}

.main-header.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.12);
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 45px;
    width: auto;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: 1px;
}

.logo-text span {
    color: var(--primary, #e71d1d);
}

/* 主导航菜单 */
.nav-main {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.nav-list > li {
    position: relative;
}

.nav-list > li > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 22px;
    height: 80px;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
}

.nav-list > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary, #e71d1d);
    transition: all 0.3s;
    transform: translateX(-50%);
}

.nav-list > li:hover > a,
.nav-list > li.current-menu-item > a,
.nav-list > li.current-menu-parent > a {
    color: var(--primary, #e71d1d);
}

.nav-list > li:hover > a::after,
.nav-list > li.current-menu-item > a::after {
    width: 30px;
}

.nav-list > li > a .nav-arrow {
    font-size: 10px;
    transition: transform 0.3s;
    opacity: 0.6;
}

.nav-list > li:hover > a .nav-arrow {
    transform: rotate(180deg);
}

/* 下拉菜单 */
.nav-list .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    border-radius: 4px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    list-style: none;
    z-index: 100;
}

.nav-list > li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-list .sub-menu li a {
    display: block;
    padding: 10px 25px;
    color: #555;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.nav-list .sub-menu li a:hover {
    color: var(--primary, #e71d1d);
    background: rgba(231,29,29,0.03);
    border-left-color: var(--primary, #e71d1d);
    padding-left: 28px;
}

/* 右侧CTA */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.3s;
}

.header-phone i {
    color: var(--primary, #e71d1d);
    font-size: 16px;
}

.header-phone:hover {
    color: var(--primary, #e71d1d);
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary, #e71d1d);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
}

.btn-cta:hover {
    background: #c91919;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(231,29,29,0.3);
    color: #fff;
}

/* 汉堡菜单 */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    transition: all 0.3s;
}

/* 移动端导航 */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

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

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100%;
    background: #fff;
    z-index: 9999;
    transition: right 0.4s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.mobile-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #333;
    cursor: pointer;
    padding: 5px;
}

.mobile-search {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.mobile-search form {
    display: flex;
    gap: 10px;
}

.mobile-search-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.mobile-search button {
    padding: 10px 15px;
    background: var(--primary, #e71d1d);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.mobile-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.mobile-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu li a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.2s;
}

.mobile-menu li a:hover {
    color: var(--primary, #e71d1d);
    background: rgba(231,29,29,0.03);
}

.mobile-menu .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #f8f8f8;
    display: none;
}

.mobile-menu .sub-menu.active {
    display: block;
}

.mobile-menu .sub-menu li a {
    padding-left: 40px;
    font-size: 14px;
    color: #666;
}

.mobile-menu .toggle-icon {
    float: right;
    transition: transform 0.3s;
    font-size: 12px;
}

.mobile-menu .toggle-icon.active {
    transform: rotate(180deg);
}

.mobile-bottom {
    padding: 20px;
    border-top: 1px solid #eee;
    background: #f8f8f8;
}

.mobile-call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: var(--primary, #e71d1d);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.mobile-social {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.mobile-social a {
    color: #666;
    font-size: 20px;
    transition: color 0.3s;
}

.mobile-social a:hover {
    color: var(--primary, #e71d1d);
}

/* Header响应式 */
@media (max-width: 1199px) {
    .nav-list > li > a { padding: 0 15px; font-size: 14px; }
    .header-right { gap: 15px; }
    .btn-cta { padding: 10px 18px; font-size: 13px; }
}

@media (max-width: 991px) {
    .top-bar { display: none; }
    .nav-main, .header-right { display: none; }
    .hamburger { display: flex; }
    .main-header .container { height: 65px; }
    .logo img { height: 38px; }
}

@media (max-width: 768px) {
    .main-header .container { height: 60px; }
    .logo-text { font-size: 20px; }
}

/* =====================================================
   Footer v3.0
   ===================================================== */

.site-footer {
    background: #1a1a1a;
    color: rgba(255,255,255,0.7);
}

.footer-main {
    padding: 80px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
}

.footer-brand .logo-text {
    color: #fff;
    font-size: 22px;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 25px;
    color: rgba(255,255,255,0.6);
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-info a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-contact-info a:hover {
    color: var(--primary, #e71d1d);
}

.footer-contact-info i {
    color: var(--primary, #e71d1d);
    font-size: 14px;
    width: 20px;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary, #e71d1d);
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links li a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.footer-links li a::before {
    content: '';
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 5px solid var(--primary, #e71d1d);
    opacity: 0;
    transition: opacity 0.3s;
}

.footer-links li a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-links li a:hover::before {
    opacity: 1;
}

.footer-qr {
    display: flex;
    gap: 15px;
}

.footer-qr img {
    width: 100px;
    height: 100px;
    border-radius: 4px;
    object-fit: cover;
}

.footer-qr span {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    display: block;
    text-align: center;
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 25px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.footer-copy a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-copy a:hover {
    color: var(--primary, #e71d1d);
}

.footer-icp {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

.footer-icp a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-icp a:hover {
    color: var(--primary, #e71d1d);
}

/* 悬浮按钮 */
.float-buttons {
    position: fixed;
    right: 20px;
    bottom: 80px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.float-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.float-phone { background: var(--primary, #e71d1d); }
.float-wechat { background: #07c160; }
.float-top { background: #333; }

.float-top.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

/* Footer响应式 */
@media (max-width: 991px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 30px; }
    .footer-main { padding: 60px 0 40px; }
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 35px; }
    .footer-bottom .container { flex-direction: column; gap: 15px; text-align: center; }
    .float-buttons { right: 15px; bottom: 70px; }
    .float-btn { width: 44px; height: 44px; font-size: 18px; }
}

/* =====================================================
   Section Common Styles v3.0
   ===================================================== */

.section {
    padding: 100px 0;
    position: relative;
}

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

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--primary, #e71d1d);
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-label .label-line {
    display: block;
    width: 30px;
    height: 2px;
    background: var(--primary, #e71d1d);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.3;
}

.section-title span {
    color: var(--primary, #e71d1d);
}

.section-desc {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* =====================================================
   Features Section v3.0
   ===================================================== */

.features-section {
    background: #fff;
    padding: 100px 0;
}

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

.feature-card {
    text-align: center;
    padding: 40px 25px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #f0f0f0;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary, #e71d1d);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transform: translateY(-5px);
    border-color: transparent;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(231,29,29,0.08);
    border-radius: 50%;
    font-size: 28px;
    color: var(--primary, #e71d1d);
    transition: all 0.3s;
}

.feature-card:hover .feature-icon {
    background: var(--primary, #e71d1d);
    color: #fff;
    transform: rotateY(360deg);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.feature-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* =====================================================
   Products Section v3.0
   ===================================================== */

.products-section {
    background: #f8f8f8;
    padding: 100px 0;
}

.product-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.product-tab {
    padding: 10px 25px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 30px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.product-tab:hover,
.product-tab.active {
    background: var(--primary, #e71d1d);
    color: #fff;
    box-shadow: 0 5px 15px rgba(231,29,29,0.3);
}

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

.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
}

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

.product-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(231,29,29,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-overlay a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: #fff;
    color: var(--primary, #e71d1d);
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.product-card:hover .product-overlay a {
    transform: translateY(0);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a1a;
    line-height: 1.4;
}

.product-info p {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
}

/* =====================================================
   Stats Section v3.0
   ===================================================== */

.stats-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: 50px 50px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    color: #fff;
}

.stat-icon {
    font-size: 40px;
    color: var(--primary, #e71d1d);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.stat-number span {
    color: var(--primary, #e71d1d);
}

.stat-label {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
}

/* =====================================================
   Cases Section v3.0
   ===================================================== */

.cases-section {
    background: #fff;
    padding: 100px 0;
}

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

.case-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

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

.case-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    transition: all 0.3s;
}

.case-overlay h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.case-overlay p {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

/* =====================================================
   About Section v3.0
   ===================================================== */

.about-section {
    background: #fff;
    padding: 100px 0;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-images .img-main {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.about-images .img-main img {
    width: 100%;
    height: auto;
    display: block;
}

.about-images .img-sub {
    position: absolute;
    bottom: -30px;
    right: -20px;
    width: 200px;
    border-radius: 8px;
    overflow: hidden;
    border: 5px solid #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-images .img-sub img {
    width: 100%;
    height: auto;
    display: block;
}

.about-images .experience-badge {
    position: absolute;
    top: 30px;
    left: -20px;
    background: var(--primary, #e71d1d);
    color: #fff;
    padding: 20px 25px;
    border-radius: 8px;
    text-align: center;
}

.experience-badge .num {
    font-size: 36px;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.experience-badge .text {
    font-size: 13px;
    opacity: 0.9;
}

.about-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
    line-height: 1.3;
}

.about-content h2 span {
    color: var(--primary, #e71d1d);
}

.about-content > p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #555;
}

.about-features li i {
    color: var(--primary, #e71d1d);
    font-size: 14px;
}

/* =====================================================
   Timeline Section v3.0
   ===================================================== */

.timeline-section {
    background: #f8f8f8;
    padding: 100px 0;
}

.timeline-slider {
    position: relative;
    overflow: hidden;
}

.timeline-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
}

.timeline-item {
    flex: 0 0 calc(25% - 22.5px);
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: all 0.3s;
}

.timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.timeline-year {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary, #e71d1d);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.timeline-year::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary, #e71d1d);
    border-radius: 50%;
}

.timeline-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.timeline-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* =====================================================
   Partners Section v3.0
   ===================================================== */

/* =====================================================
   Certs Section v3.0
   ===================================================== */

.certs-section {
    background: #f8f8f8;
    padding: 100px 0;
}

.certs-slider {
    position: relative;
    overflow: hidden;
}

.certs-track {
    display: flex;
    gap: 25px;
    transition: transform 0.5s ease;
}

.cert-card {
    flex: 0 0 calc(20% - 20px);
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: all 0.3s;
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.cert-card img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 4px;
}

.cert-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.cert-card p {
    font-size: 12px;
    color: #888;
}

/* =====================================================
   News Section v3.1 - 杂志风格左右分栏
   ===================================================== */

.news-section {
    background: #fff;
    padding: 0;
}

/* 杂志布局容器 */
.news-magazine-v3 {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 30px;
    align-items: start;
}

/* ===== 左侧大图精选 ===== */
.news-featured-v3 {
    background: #fff;
    border-radius: var(--radius-lg, 12px);
    overflow: hidden;
    box-shadow: var(--shadow-card, 0 8px 32px rgba(0,0,0,0.08));
    transition: all 0.4s ease;
}

.news-featured-v3:hover {
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

.news-f-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.news-f-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-featured-v3:hover .news-f-thumb img {
    transform: scale(1.05);
}

.news-f-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    pointer-events: none;
}

.news-f-cat {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary, #e71d1d);
    color: #fff;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    z-index: 2;
}

.news-f-content {
    padding: 28px 28px 32px;
}

.news-f-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 14px;
    font-size: 13px;
    color: #888;
}

.news-f-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-f-meta i {
    color: var(--primary, #e71d1d);
    font-size: 12px;
}

.news-f-content h3 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.news-f-content h3 a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s;
}

.news-f-content h3 a:hover {
    color: var(--primary, #e71d1d);
}

.news-f-content > p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 18px;
}

.news-f-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary, #e71d1d);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
}

.news-f-more i {
    transition: transform 0.3s;
}

.news-f-more:hover {
    gap: 12px;
}

.news-f-more:hover i {
    transform: translateX(4px);
}

/* ===== 右侧文章列表 ===== */
.news-side-list-v3 {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-side-item {
    display: grid;
    grid-template-columns: 110px 1fr auto;
    gap: 16px;
    align-items: center;
    background: #fff;
    border-radius: var(--radius, 8px);
    padding: 14px 16px;
    box-shadow: var(--shadow-sm, 0 1px 4px rgba(0,0,0,0.04));
    border: 1px solid var(--border-light, #f0f0f0);
    transition: all 0.3s ease;
}

.news-side-item:hover {
    box-shadow: var(--shadow-md, 0 4px 16px rgba(0,0,0,0.08));
    border-color: transparent;
    transform: translateX(4px);
}

.news-side-thumb {
    width: 110px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.news-side-item:hover .news-side-thumb img {
    transform: scale(1.08);
}

.news-side-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.news-side-cat {
    display: inline-block;
    width: fit-content;
    font-size: 12px;
    color: var(--primary, #e71d1d);
    background: rgba(231,29,29,0.08);
    padding: 3px 10px;
    border-radius: 3px;
    font-weight: 500;
}

.news-side-info h4 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-side-info h4 a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s;
}

.news-side-info h4 a:hover {
    color: var(--primary, #e71d1d);
}

.news-side-meta {
    font-size: 12px;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-side-meta i {
    font-size: 11px;
}

/* 日期方块 */
.news-side-datebox {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: var(--bg-light, #f8f9fa);
    border-radius: 8px;
    flex-shrink: 0;
    border: 1px solid var(--border-light, #f0f0f0);
}

.side-day {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary, #e71d1d);
    line-height: 1;
}

.side-ym {
    font-size: 11px;
    color: #999;
    margin-top: 2px;
}

/* ===== 旧版兼容（保留） ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.news-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.news-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary, #e71d1d);
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    text-align: center;
    line-height: 1.2;
}

.news-date .day {
    font-size: 22px;
    font-weight: 700;
    display: block;
}

.news-date .month {
    font-size: 11px;
    text-transform: uppercase;
}

.news-info {
    padding: 20px;
}

.news-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 12px;
    color: #888;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-info h3 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.news-info h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.news-info h3 a:hover {
    color: var(--primary, #e71d1d);
}

.news-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* ===== News 响应式 ===== */
@media (max-width: 1199px) {
    .news-magazine-v3 {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .news-f-content h3 {
        font-size: 20px;
    }
}

@media (max-width: 991px) {
    .news-magazine-v3 {
        grid-template-columns: 1fr;
    }
    .news-featured-v3 {
        max-width: 600px;
        margin: 0 auto;
    }
    .news-side-list-v3 {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .news-side-item {
        grid-template-columns: 90px 1fr auto;
        gap: 12px;
        padding: 12px;
    }
    .news-side-thumb {
        width: 90px;
        height: 68px;
    }
    .news-side-info h4 {
        font-size: 14px;
    }
    .news-side-datebox {
        width: 46px;
        height: 46px;
    }
    .side-day {
        font-size: 16px;
    }
    .news-f-content {
        padding: 20px 20px 24px;
    }
    .news-f-content h3 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .news-side-item {
        grid-template-columns: 80px 1fr;
        gap: 10px;
    }
    .news-side-thumb {
        width: 80px;
        height: 60px;
    }
    .news-side-datebox {
        display: none;
    }
    .news-f-content h3 {
        font-size: 16px;
    }
}

/* =====================================================
   CTA Section v3.0
   ===================================================== */

.cta-section {
    background: linear-gradient(135deg, var(--primary, #e71d1d) 0%, #c91919 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.cta-text h2 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.cta-text p {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
}

.cta-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    background: #fff;
    color: var(--primary, #e71d1d);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
}

.btn-white:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    color: var(--primary, #e71d1d);
}

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    background: transparent;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    border: 2px solid rgba(255,255,255,0.5);
    transition: all 0.3s;
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    color: #fff;
}

/* =====================================================
   Links Section v3.0
   ===================================================== */

.links-section {
    background: #f0f0f0;
    padding: 40px 0;
}

.links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 25px;
    justify-content: center;
}

.links-list a {
    font-size: 13px;
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.links-list a:hover {
    color: var(--primary, #e71d1d);
}

/* =====================================================
   Section Responsive
   ===================================================== */

@media (max-width: 1199px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .timeline-item { flex: 0 0 calc(33.333% - 20px); }
    .cert-card { flex: 0 0 calc(25% - 18.75px); }
}

@media (max-width: 991px) {
    .section { padding: 70px 0; }
    .section-title { font-size: 28px; }
    .about-layout { grid-template-columns: 1fr; gap: 40px; }
    .about-images .img-sub { display: none; }
    .about-images .experience-badge { left: 20px; }
    .cases-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .cta-content { flex-direction: column; text-align: center; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .timeline-item { flex: 0 0 calc(50% - 15px); }
    .cert-card { flex: 0 0 calc(33.333% - 16.67px); }
}

@media (max-width: 768px) {
    .section { padding: 50px 0; }
    .section-title { font-size: 24px; }
    .section-header { margin-bottom: 40px; }
    .features-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr; }
    .cases-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .news-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-number { font-size: 36px; }
    .about-features { grid-template-columns: 1fr; }
    .timeline-item { flex: 0 0 calc(100% - 0px); }
    .cert-card { flex: 0 0 calc(50% - 12.5px); }
    .cta-text h2 { font-size: 24px; }
    .cta-buttons { flex-direction: column; width: 100%; }
    .cta-buttons .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .cert-card { flex: 0 0 100%; }
}

/* ===== Footer v3.0 - 企业级底部 ===== */
.footer {
  background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1a 100%);
  color: rgba(255,255,255,0.75);
}

.footer-main {
  padding: 70px 0 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 50px;
}

/* 公司信息 */
.footer-about {}
.footer-logo {
  margin-bottom: 20px;
}
.footer-logo img {
  max-height: 50px;
  width: auto;
  filter: brightness(1.1);
}
.footer-logo .logo-text {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -1px;
  color: #fff;
}
.footer-logo .logo-primary {
  color: var(--primary);
}
.footer-desc {
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.65);
}

/* 社交媒体 */
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  font-size: 18px;
  transition: all 0.3s;
  position: relative;
}
.footer-social a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(231,29,29,0.4);
}
.footer-social .social-weixin {
  position: relative;
}
.footer-social .social-qr {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 8px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 100;
}
.footer-social .social-qr img {
  width: 100px;
  height: 100px;
  display: block;
}
.footer-social .social-weixin:hover .social-qr {
  opacity: 1;
  visibility: visible;
  bottom: calc(100% + 10px);
}

/* 链接区 */
.footer-links h4,
.footer-contact h4 {
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-links h4 i,
.footer-contact h4 i {
  color: var(--primary);
  font-size: 16px;
}
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 14px;
}
.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  transition: all 0.3s;
  display: inline-block;
}
.footer-links a:hover {
  color: var(--primary);
  transform: translateX(6px);
}

/* 联系方式 */
.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-contact .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.footer-contact .contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(231,29,29,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.footer-contact .contact-icon i {
  color: var(--primary);
  font-size: 14px;
}
.footer-contact .contact-info {
  display: flex;
  flex-direction: column;
}
.footer-contact .contact-label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 2px;
}
.footer-contact .contact-info a,
.footer-contact .contact-info span {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
}
.footer-contact .contact-info a:hover {
  color: var(--primary);
}

/* 微信二维码 */
.footer-qr {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-qr img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.2);
}
.footer-qr span {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* 版权栏 */
.footer-bottom {
  background: rgba(0,0,0,0.3);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom .copyright {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.footer-bottom .footer-legal {
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer-bottom .footer-legal a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s;
}
.footer-bottom .footer-legal a:hover {
  color: var(--primary);
}
.footer-bottom .footer-tech {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.footer-bottom .footer-tech a {
  color: rgba(255,255,255,0.7);
  transition: color 0.3s;
}
.footer-bottom .footer-tech a:hover {
  color: var(--primary);
}

/* Footer 响应式 */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .footer-main {
    padding: 60px 0 40px;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .footer-main {
    padding: 50px 0 30px;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-bottom .footer-legal {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-main {
    padding: 40px 0 25px;
  }
  .footer-social a {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
  .footer-qr {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== 悬浮客服 ===== */
.float-contact {
  position: fixed;
  right: 20px;
  bottom: 100px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 15px rgba(231,29,29,0.4);
  transition: all 0.3s;
}
.float-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 6px 25px rgba(231,29,29,0.5);
}
.float-btn.weixin {
  position: relative;
}
.float-qr {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  white-space: nowrap;
}
.float-qr img {
  width: 120px;
  height: 120px;
  display: block;
}
.float-btn.weixin:hover .float-qr {
  opacity: 1;
  visibility: visible;
  right: calc(100% + 15px);
}

/* ===== 友情链接（已隐藏） ===== */
.footer-links-bar {
  display: none !important;
}

/* ===== 科技感兜底背景（分类/单页未上传背景图时使用） ===== */
.banner-bg-tech {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(135deg, #0a0e27 0%, #1a1f4b 40%, #0d1137 70%, #080b1f 100%);
  overflow: hidden;
}
.banner-bg-tech::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(212, 35, 42, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 35, 42, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 2;
}
.banner-bg-tech::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 70%, rgba(212, 35, 42, 0.12) 0%, transparent 40%),
              radial-gradient(circle at 70% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 35%),
              radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  animation: sdTechPulse 8s ease-in-out infinite;
  z-index: 1;
}
@keyframes sdTechPulse {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50% { transform: scale(1.05) rotate(1deg); opacity: 0.85; }
}
.banner-bg-tech .tech-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(212, 35, 42, 0.25), transparent);
  height: 1px;
  width: 100%;
  z-index: 3;
}
.banner-bg-tech .tech-line:nth-child(1) { top: 25%; animation: sdTechLineMove 6s linear infinite; }
.banner-bg-tech .tech-line:nth-child(2) { top: 50%; animation: sdTechLineMove 8s linear infinite 1s; }
.banner-bg-tech .tech-line:nth-child(3) { top: 75%; animation: sdTechLineMove 7s linear infinite 2s; }
@keyframes sdTechLineMove {
  0% { transform: translateX(-100%); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateX(100%); opacity: 0; }
}
.banner-bg-tech .tech-dot {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(212, 35, 42, 0.5);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(212, 35, 42, 0.4);
  z-index: 3;
}
.banner-bg-tech .tech-dot:nth-child(4) { top: 20%; left: 15%; animation: sdTechDotBlink 3s ease-in-out infinite; }
.banner-bg-tech .tech-dot:nth-child(5) { top: 35%; left: 70%; animation: sdTechDotBlink 4s ease-in-out infinite 0.5s; }
.banner-bg-tech .tech-dot:nth-child(6) { top: 60%; left: 40%; animation: sdTechDotBlink 3.5s ease-in-out infinite 1s; }
.banner-bg-tech .tech-dot:nth-child(7) { top: 80%; left: 85%; animation: sdTechDotBlink 5s ease-in-out infinite 1.5s; }
.banner-bg-tech .tech-dot:nth-child(8) { top: 45%; left: 25%; animation: sdTechDotBlink 4.5s ease-in-out infinite 2s; }
.banner-bg-tech .tech-dot:nth-child(9) { top: 15%; left: 55%; animation: sdTechDotBlink 3.8s ease-in-out infinite 2.5s; }
@keyframes sdTechDotBlink {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.8); }
}
.banner-bg-tech .tech-hex {
  position: absolute;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(212, 35, 42, 0.1);
  transform: rotate(45deg);
  z-index: 2;
}
.banner-bg-tech .tech-hex:nth-child(10) { top: 10%; right: 10%; animation: sdTechHexSpin 20s linear infinite; }
.banner-bg-tech .tech-hex:nth-child(11) { bottom: 15%; left: 5%; width: 80px; height: 80px; animation: sdTechHexSpin 25s linear infinite reverse; }
.banner-bg-tech .tech-hex:nth-child(12) { top: 40%; right: 25%; width: 60px; height: 60px; animation: sdTechHexSpin 18s linear infinite; }
@keyframes sdTechHexSpin {
  0% { transform: rotate(45deg); }
  100% { transform: rotate(405deg); }
}
/* 科技感背景上的文字需要更亮 */
.page-banner:has(.banner-bg-tech) .container h1,
.page-banner:has(.banner-bg-tech) .container p {
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

/* ===== 在线留言页面 ===== */
.inquiry-section {
  background: linear-gradient(180deg, #f8f9fa 0%, #f0f2f5 100%);
  padding: 60px 0 80px;
}
.inquiry-wrap {
  max-width: 900px;
  margin: 0 auto;
}
.inquiry-header {
  text-align: center;
  margin-bottom: 40px;
}
.inquiry-header h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.inquiry-header p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}
.inquiry-header .inquiry-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(231,29,29,0.25);
}
.inquiry-header .inquiry-icon i {
  font-size: 32px;
  color: #fff;
}
.inquiry-form-card {
  background: #fff;
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.04);
}
.inquiry-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.inquiry-form .form-group {
  margin-bottom: 0;
}
.inquiry-form .form-group.full-width {
  grid-column: 1 / -1;
}
.inquiry-form .form-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-dark);
}
.inquiry-form .form-group label .req {
  color: var(--primary);
  font-weight: 700;
}
.inquiry-form .form-control {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border-light);
  border-radius: 10px;
  font-size: 15px;
  transition: var(--transition);
  font-family: inherit;
  background: #fafbfc;
  color: var(--text-dark);
}
.inquiry-form .form-control::placeholder {
  color: var(--text-light);
}
.inquiry-form .form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(231,29,29,0.08);
}
.inquiry-form select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}
.inquiry-form textarea.form-control {
  resize: vertical;
  min-height: 140px;
}
.inquiry-form .submit-wrap {
  text-align: center;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}
.inquiry-form .btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 48px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  background: var(--primary-gradient);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(231,29,29,0.3);
}
.inquiry-form .btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(231,29,29,0.4);
}
.inquiry-form .btn-submit:active {
  transform: translateY(-1px);
}
.inquiry-form .btn-submit i {
  font-size: 18px;
}
.inquiry-form .captcha-question {
  background: var(--primary);
  color: #fff;
  padding: 2px 10px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  margin-left: 6px;
  user-select: none;
}
.inquiry-info-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.inquiry-info-item {
  background: #fff;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition);
}
.inquiry-info-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.inquiry-info-item i {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 16px;
  display: block;
}
.inquiry-info-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.inquiry-info-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* 在线留言响应式 */
@media (max-width: 768px) {
  .inquiry-section { padding: 40px 0 60px; }
  .inquiry-header h2 { font-size: 26px; }
  .inquiry-form-card { padding: 28px 24px; }
  .inquiry-form .form-row { grid-template-columns: 1fr; gap: 20px; }
  .inquiry-info-bar { grid-template-columns: 1fr; gap: 16px; }
  .inquiry-form .btn-submit { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  .inquiry-header h2 { font-size: 22px; }
  .inquiry-form-card { padding: 24px 20px; }
  .inquiry-form .form-control { padding: 12px 14px; font-size: 14px; }
}

/* ===== 产品视频弹窗 ===== */
.sd-video-overlay {
  backdrop-filter: blur(4px);
}
.sd-video-wrap {
  max-width: 90vw;
  max-height: 90vh;
}
.sd-video-wrap video,
.sd-video-wrap iframe {
  max-width: 100%;
  max-height: calc(90vh - 80px);
  display: block;
}
.sd-video-close:hover {
  background: rgba(255,255,255,0.3) !important;
}
