/* components.css - Header 及组件样式 */

/* ============================================
   通用按钮样式
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #b8011a;
  box-shadow: 0 4px 12px rgba(208, 2, 27, 0.3);
  transform: translateY(-2px);
}

/* ============================================
   Header 模块
   ============================================ */
/* Header 基础样式 */
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo 区域 */
.header__logo-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.header__logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 20px;
  border-radius: 999px;
  background-color: var(--color-primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.08em;
}

.header__logo-text {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* 导航区域 */
.header__nav {
  flex: 1;
}

.header__nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.header__nav-item--has-sub {
  position: relative;
}

.header__nav-text {
  display: inline-flex;
  align-items: center;
}

.header__nav-arrow {
  margin-left: 4px;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #ffffff;
  transform: translateY(2px);
}

/* 二级菜单样式 */
.header__subnav {
  position: absolute;
  top: 100%;
  left: 0;
  transform: none;
  margin-top: 10px;
  padding: 8px 0;
  min-width: 200px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18), 0 0 1px rgba(0, 0, 0, 0.1);
  display: none;
  flex-direction: column;
  z-index: 120;
  backdrop-filter: blur(10px);
}

.header__nav-item--open > .header__subnav {
  display: flex;
}

.header__subnav-item {
  padding: 0;
  position: relative;
}

/* 二级菜单项基础样式 */
.header__subnav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #1f2937;
  white-space: nowrap;
  transition: all 0.2s ease;
  position: relative;
}

.header__subnav-link:hover {
  background: linear-gradient(90deg, rgba(208, 2, 27, 0.08) 0%, transparent 100%);
  color: #d0021b;
  padding-left: 24px;
}

/* 二级菜单项带子菜单标识 */
.header__subnav-item--has-sub > .header__subnav-link::after {
  content: '';
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid #6b7280;
  margin-left: 12px;
  transition: all 0.2s ease;
}

.header__subnav-item--has-sub:hover > .header__subnav-link::after {
  border-left-color: #d0021b;
  transform: translateX(2px);
}

/* 三级菜单容器 */
.header__third-nav {
  position: absolute;
  top: -8px;
  left: 100%;
  margin-left: 8px;
  padding: 8px 0;
  min-width: 180px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18), 0 0 1px rgba(0, 0, 0, 0.1);
  display: none;
  flex-direction: column;
  z-index: 130;
}

.header__subnav-item--has-sub:hover > .header__third-nav {
  display: flex;
}

.header__third-nav-item {
  padding: 0;
}

/* 三级菜单项样式 */
.header__third-nav-link {
  display: flex;
  align-items: center;
  padding: 9px 18px;
  font-size: 13px;
  color: #4b5563;
  white-space: nowrap;
  transition: all 0.2s ease;
  position: relative;
}

.header__third-nav-link::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #d1d5db;
  margin-right: 10px;
  transition: all 0.2s ease;
}

.header__third-nav-link:hover {
  background: rgba(208, 2, 27, 0.05);
  color: #d0021b;
  padding-left: 22px;
}

.header__third-nav-link:hover::before {
  background-color: #d0021b;
  transform: scale(1.3);
}

.header__nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background-color: var(--color-primary);
  transition: width 0.2s ease;
}

.header__nav-link:hover {
  color: #ffffff;
}

.header__nav-link:hover::after {
  width: 100%;
}

.header__nav-link--active {
  color: var(--color-primary);
  font-weight: 500;
}

.header__nav-link--active::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  color: #ffffff;
  font-size: var(--font-size-sm);
}

.header__download,
.header__lang-current {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}

.header__download {
  color: #ffffff;
  font-weight: 500;
}

.header__download-text,
.header__lang-text {
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  padding-top: 1px;
  color: #ffffff;
}

.header__download-icon {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid #ffffff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.12);
}

.header__download-icon::before,
.header__download-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffffff;
}

.header__download-icon::before {
  top: 3px;
  width: 2px;
  height: 8px;
}

.header__download-icon::after {
  bottom: 3px;
  width: 8px;
  height: 2px;
}

.header__actions-divider {
  width: 1px;
  height: 20px;
  background-color: rgba(255, 255, 255, 0.3);
}

.header__lang-current {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
  transform: translateY(2px);
}

.header__lang-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid #ffffff;
  position: relative;
}

.header__lang-icon::before,
.header__lang-icon::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  border: 1px solid #ffffff;
}

.header__lang-icon::before {
  inset: 3px;
}

.header__lang-icon::after {
  inset: 6px;
}

.header__lang-arrow {
  font-size: 10px;
  transform: translateY(1px);
}

.header__lang-wrapper {
  position: relative;
}

.header__lang-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  padding: 6px 0;
  min-width: 140px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
  display: none;
  flex-direction: column;
  z-index: 120;
}

.header__lang-dropdown--open {
  display: flex;
}

.header__lang-option {
  padding: 6px 14px;
  background: transparent;
  border: none;
  text-align: left;
  font-size: var(--font-size-sm);
  color: #111827;
  cursor: pointer;
  white-space: nowrap;
}

.header__lang-option:hover {
  background: rgba(17, 24, 39, 0.06);
}

.header__lang-option--active {
  color: var(--color-primary);
}

/* 移动端菜单按钮（汉堡） */
.header__menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.header__menu-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

.header__menu-toggle:focus {
  outline: none;
}

.header__menu-bar {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background-color: var(--color-text-main);
  transition: all 0.3s ease;
}

/* 汉堡菜单激活状态 - 变成X */
.header__menu-toggle--active .header__menu-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header__menu-toggle--active .header__menu-bar:nth-child(2) {
  opacity: 0;
}

.header__menu-toggle--active .header__menu-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* 响应式适配 */
@media (max-width: 960px) {
  .header__inner {
    padding: 10px 16px;
  }

  /* 移动端菜单 - 下拉式 */
  .header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    padding: 0;
    max-height: 75vh;
    overflow-y: auto;
    border-radius: 0 0 12px 12px;
  }
  
  .header__nav--mobile-open {
    display: block;
    animation: slideDown 0.25s ease-out;
  }
  
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .header__nav-list {
    flex-direction: column;
    gap: 0;
  }
  
  .header__nav-item {
    border-bottom: 1px solid #f0f0f0;
  }
  
  .header__nav-item:last-child {
    border-bottom: none;
  }
  
  /* 一级菜单 */
  .header__nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    color: #333 !important;
    font-size: 15px;
    font-weight: 500;
    background: #fff;
    transition: background 0.2s ease;
  }
  
  .header__nav-text {
    color: #333 !important;
    transition: color 0.2s ease;
  }
  
  .header__nav-item--open > .header__nav-link {
    background: #fff;
  }
  
  .header__nav-item--open > .header__nav-link .header__nav-text {
    color: #D0021B !important;
    font-weight: 600;
  }
  
  /* 箭头 - 简约风格 */
  .header__nav-arrow {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    transition: all 0.25s ease;
  }
  
  .header__nav-item--open > .header__nav-link .header__nav-arrow {
    background: transparent;
  }
  
  .header__nav-arrow::after {
    content: '';
    width: 7px;
    height: 7px;
    border-right: 1.5px solid #999;
    border-bottom: 1.5px solid #999;
    transform: rotate(45deg);
    transition: all 0.25s ease;
    margin-top: -3px;
  }
  
  .header__nav-item--open > .header__nav-link .header__nav-arrow::after {
    transform: rotate(-135deg);
    border-color: #D0021B;
    margin-top: 3px;
  }
  
  /* 二级菜单 - 简约风格 */
  .header__subnav {
    display: none !important;
    position: static !important;
    background: #fafafa !important;
    box-shadow: none !important;
    border: none !important;
    margin: 0 !important;
    padding: 4px 0 12px !important;
  }
  
  .header__nav-item--open > .header__subnav {
    display: block !important;
    animation: fadeIn 0.2s ease;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  .header__subnav-item {
    border: none;
  }
  
  .header__subnav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px 12px 36px;
    color: #555 !important;
    font-size: 14px;
    font-weight: 400;
    background: transparent;
    transition: all 0.15s ease;
    position: relative;
  }
  
  /* 移除小圆点图标 */
  .header__subnav-link::before {
    display: none;
  }
  
  .header__subnav-link:active,
  .header__subnav-item--open > .header__subnav-link {
    background: transparent;
    color: #D0021B !important;
    font-weight: 500;
  }
  
  /* 二级菜单箭头 */
  .header__subnav-link--has-sub::after {
    content: '';
    width: 6px;
    height: 6px;
    border-right: 1.5px solid #bbb;
    border-bottom: 1.5px solid #bbb;
    transform: rotate(45deg);
    transition: all 0.25s ease;
    margin-top: -2px;
  }
  
  .header__subnav-item--open > .header__subnav-link--has-sub::after {
    transform: rotate(-135deg);
    border-color: #D0021B;
    margin-top: 2px;
  }
  
  /* 三级菜单 - 简约风格 */
  .header__third-nav {
    display: none !important;
    position: static !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    margin: 0 !important;
    padding: 4px 0 8px !important;
  }
  
  .header__subnav-item--open > .header__third-nav {
    display: block !important;
    animation: fadeIn 0.2s ease;
  }
  
  .header__third-nav-item {
    margin: 0;
  }
  
  .header__third-nav-link {
    display: block;
    padding: 10px 20px 10px 52px;
    color: #777 !important;
    font-size: 13px;
    font-weight: 400;
    background: transparent;
    transition: all 0.15s ease;
    border-radius: 0;
  }
  
  .header__third-nav-link:active {
    background: transparent;
    color: #D0021B !important;
  }

  .header__actions {
    display: none;
  }

  .header__menu-toggle {
    display: inline-flex;
  }
}

/* ============================================
   海报轮播模块
   ============================================ */
.hero-banner {
  position: relative;
  width: 100%;
  height: 720px;
  overflow: hidden;
  background-color: #000;
  border: none;
  margin: 0;
  padding: 0;
}

.hero-banner__wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-banner__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  pointer-events: none;
}

.hero-banner__slide--active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.hero-banner__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-banner__content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  z-index: 2;
  max-width: 800px;
  padding: 0 24px;
}

.hero-banner__title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.hero-banner__desc {
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* 指示器 - 隐藏 */
.hero-banner__indicators {
  display: none;
}

/* 切换按钮 - 隐藏 */
.hero-banner__prev,
.hero-banner__next {
  display: none;
}

/* 右下角信息框 */
.hero-banner__info-box {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  align-items: stretch;
  gap: 0;
  z-index: 15;
}

.hero-banner__info-text {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.05em;
  white-space: nowrap;
  background-color: var(--color-primary);
  padding: 20px 80px;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  display: flex;
  align-items: center;
}

.hero-banner__info-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 60px;
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  border-right: 2px solid rgba(255, 255, 255, 0.7);
  border-bottom: 2px solid rgba(255, 255, 255, 0.7);
}

.hero-banner__info-current,
.hero-banner__info-total {
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  color: rgba(0, 0, 0, 0.7);
}

.hero-banner__info-divider {
  font-size: 16px;
  color: rgba(0, 0, 0, 0.5);
}

.hero-banner__info-prev,
.hero-banner__info-next {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: transparent;
  color: rgba(0, 0, 0, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-left: 8px;
}

.hero-banner__info-prev:hover,
.hero-banner__info-next:hover {
  border-color: rgba(0, 0, 0, 0.4);
  background: rgba(0, 0, 0, 0.05);
  color: rgba(0, 0, 0, 0.9);
}

/* 响应式 - 海报模块 */
@media (max-width: 960px) {
  .hero-banner {
    height: 500px;
  }

  .hero-banner__title {
    font-size: 32px;
  }

  .hero-banner__desc {
    font-size: 16px;
  }

  .hero-banner__prev,
  .hero-banner__next {
    width: 40px;
    height: 40px;
  }

  .hero-banner__prev {
    left: 16px;
  }

  .hero-banner__next {
    right: 16px;
  }

  .hero-banner__indicators {
    bottom: 24px;
  }

  .hero-banner__info-box {
    bottom: 0;
    right: 0;
    gap: 0;
  }

  .hero-banner__info-text {
    font-size: 24px;
    padding: 16px 50px;
  }

  .hero-banner__info-nav {
    padding: 16px 40px;
  }

  .hero-banner__info-current,
  .hero-banner__info-total {
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .hero-banner {
    height: 400px;
  }

  .hero-banner__title {
    font-size: 24px;
  }

  .hero-banner__desc {
    font-size: 14px;
  }

  .hero-banner__info-box {
    bottom: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-banner__info-text {
    font-size: 18px;
    padding: 12px 30px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 0;
  }

  .hero-banner__info-nav {
    padding: 12px 30px;
    border-right: 2px solid rgba(255, 255, 255, 0.7);
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    border-left: 2px solid rgba(255, 255, 255, 0.7);
  }

  .hero-banner__info-current,
  .hero-banner__info-total {
    font-size: 14px;
  }
}

/* ============================================
   系统按钮模块
   ============================================ */
.system-buttons {
  padding: 60px 0;
  background-color: #ffffff;
}

.system-buttons__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 50px;
}

.system-button-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.system-button {
  flex: 0 0 auto;
  width: 120px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F5F5F5;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  color: #666666;
}

.system-button-wrapper:hover .system-button {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.system-button--active {
  background-color: var(--color-primary);
  color: #ffffff;
}

.system-button__label {
  font-size: 16px;
  color: #333333;
  text-align: center;
  line-height: 1.4;
  font-weight: 400;
}

.system-button-wrapper--active .system-button__label {
  font-weight: 500;
}

/* ============================================
   主推产品模块
   ============================================ */
.featured-products {
  padding: 80px 0;
  background-color: #ffffff;
}

.featured-products__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 标题区 */
.featured-products__header {
  text-align: center;
  margin-bottom: 60px;
}

.featured-products__title {
  font-size: 24px;
  color: #333333;
  font-weight: 700;
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.featured-products__subtitle {
  font-size: 14px;
  color: #666666;
  margin: 0;
  line-height: 1.6;
}

/* 产品卡片网格 */
.featured-products__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* 产品卡片 */
.product-card {
  background-color: #ffffff;
  display: flex;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.product-card:hover {
  transform: translateY(-8px) translateZ(0);
  box-shadow: 0 12px 32px rgba(208, 2, 27, 0.15);
}

/* 产品图片 */
.product-card__image {
  flex: 0 0 40%;
  overflow: hidden;
  background-color: #f5f5f5;
  position: relative;
  aspect-ratio: 4 / 3;
}

.product-card__image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.product-card:hover .product-card__image img {
  transform: scale(1.05) translateZ(0);
}

/* 产品信息 */
.product-card__info {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-card__name {
  font-size: 16px;
  color: #333333;
  font-weight: 700;
  margin: 0 0 16px 0;
  line-height: 1.4;
}

.product-card__params {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-card__params li {
  font-size: 14px;
  color: #666666;
  line-height: 2;
  margin-bottom: 4px;
}

.product-card__params li:last-child {
  margin-bottom: 0;
}

/* ============================================
   案例方案模块
   ============================================ */
.case-solutions {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.case-solutions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 标题区 */
.case-solutions__header {
  text-align: center;
  margin-bottom: 60px;
}

.case-solutions__title {
  font-size: 24px;
  color: #333333;
  font-weight: 700;
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.case-solutions__subtitle {
  font-size: 14px;
  color: #666666;
  margin: 0;
  line-height: 1.6;
}

/* 主案例区 */
.case-solutions__featured {
  margin-bottom: 30px;
}

.featured-case {
  display: flex;
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.featured-case:hover {
  transform: translateY(-4px) translateZ(0);
  box-shadow: 0 8px 24px rgba(208, 2, 27, 0.12);
}

.featured-case__image {
  flex: 0 0 70%;
  position: relative;
  overflow: hidden;
  background-color: #f5f5f5;
  aspect-ratio: 16 / 9;
}

.featured-case__image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.featured-case:hover .featured-case__image img {
  transform: scale(1.03) translateZ(0);
}

.featured-case__info {
  flex: 1;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #ffffff;
}

.featured-case__title {
  font-size: 18px;
  color: #333333;
  font-weight: 700;
  margin: 0 0 16px 0;
  line-height: 1.4;
}

.featured-case__divider {
  width: 40px;
  height: 3px;
  background-color: var(--color-primary);
  margin-bottom: 24px;
}

.featured-case__details {
  margin-bottom: 30px;
}

.featured-case__detail {
  font-size: 14px;
  color: #666666;
  line-height: 2;
  margin: 0;
}

.featured-case__button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #333333;
  font-size: 14px;
  transition: color 0.3s ease;
  align-self: flex-start;
}

.featured-case__button:hover {
  color: var(--color-primary);
}

.featured-case__button-text {
  font-weight: 500;
}

.featured-case__button-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-case__button:hover .featured-case__button-icon {
  transform: rotate(90deg);
  box-shadow: 0 4px 12px rgba(208, 2, 27, 0.3);
}

/* 案例缩略区 */
.case-solutions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.case-card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.case-card__image {
  position: relative;
  overflow: hidden;
  background-color: #f5f5f5;
  aspect-ratio: 4 / 3;
}

.case-card__image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.case-card:hover .case-card__image img {
  transform: scale(1.05);
}

.case-card__label {
  padding: 16px;
  font-size: 14px;
  color: #333333;
  text-align: center;
  margin: 0;
  line-height: 1.6;
}

/* ============================================
   新闻资讯模块
   ============================================ */
.news-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.news-section__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 标题区 */
.news-section__header {
  text-align: center;
  margin-bottom: 60px;
}

.news-section__title {
  font-size: 24px;
  color: #333333;
  font-weight: 700;
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.news-section__subtitle {
  font-size: 14px;
  color: #666666;
  margin: 0;
  line-height: 1.6;
}

/* 资讯卡片区 */
.news-section__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.news-card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.news-card:hover {
  transform: translateY(-6px) translateZ(0);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.news-card__image {
  position: relative;
  overflow: hidden;
  background-color: #f5f5f5;
  aspect-ratio: 10 / 8.7;
}

.news-card__image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.news-card:hover .news-card__image img {
  transform: scale(1.05);
}

.news-card__content {
  padding: 20px;
}

.news-card__date {
  display: block;
  font-size: 12px;
  color: #999999;
  margin-bottom: 12px;
}

.news-card__title {
  font-size: 16px;
  color: #333333;
  font-weight: 700;
  margin: 0 0 12px 0;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  /* 多行文本省略（WebKit 标准写法） */
  display: -webkit-box;
  -webkit-line-clamp: 2; /* autoprefixer: ignore next */
  -webkit-box-orient: vertical; /* autoprefixer: ignore next */
}

.news-card__desc {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
  margin: 0 0 16px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  /* 多行文本省略（WebKit 标准写法） */
  display: -webkit-box;
  -webkit-line-clamp: 2; /* autoprefixer: ignore next */
  -webkit-box-orient: vertical; /* autoprefixer: ignore next */
}

.news-card__link {
  display: inline-block;
  font-size: 14px;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.news-card__link:hover {
  color: #b8011a;
}

/* 底部功能区 */
.news-section__footer {
  border-top: 1px solid #e5e5e5;
  padding-top: 40px;
}

.news-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

/* 咨询热线 */
.news-footer__hotline {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 右侧操作区（下载按钮 + 社交图标） */
.news-footer__actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hotline-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fef2f2;
  border-radius: 50%;
}

.hotline-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hotline-label {
  font-size: 12px;
  color: #999999;
}

.hotline-number {
  font-size: 24px;
  color: #333333;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.hotline-number:hover {
  color: var(--color-primary);
}

/* 资料下载按钮（红色边框白色背景） */
.news-footer__download {
  padding: 10px 24px;
  gap: 8px;
  background-color: #ffffff;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 600;
}

.news-footer__download:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.news-footer__download:hover svg path {
  fill: #ffffff;
}

.news-footer__download svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.news-footer__download svg path {
  fill: var(--color-primary);
  transition: fill 0.3s ease;
}

/* 社交媒体图标 */
.news-footer__social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #f5f5f5;
  color: #999999;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

/* 响应式 - 系统按钮 */
@media (max-width: 960px) {
  .system-buttons {
    padding: 40px 0;
  }

  .system-buttons__container {
    gap: 35px;
    flex-wrap: wrap;
  }

  .system-button-wrapper {
    gap: 8px;
  }

  .system-button {
    width: 100px;
    height: 83px;
  }

  .system-button svg {
    width: 40px;
    height: 40px;
  }

  .system-button__label {
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  .system-buttons__container {
    gap: 25px;
  }

  .system-button {
    width: 80px;
    height: 67px;
  }

  .system-button svg {
    width: 32px;
    height: 32px;
  }
}

/* 响应式 - 主推产品 */
@media (max-width: 960px) {
  .featured-products {
    padding: 60px 0;
  }

  .featured-products__header {
    margin-bottom: 40px;
  }

  .featured-products__title {
    font-size: 20px;
  }

  .featured-products__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-card {
    flex-direction: column;
  }

  .product-card__image {
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .product-card__info {
    padding: 20px;
  }
}

@media (max-width: 640px) {
  .featured-products {
    padding: 40px 0;
  }

  .featured-products__header {
    margin-bottom: 30px;
  }

  .featured-products__title {
    font-size: 18px;
  }

  .featured-products__subtitle {
    font-size: 12px;
  }

  .featured-products__grid {
    gap: 20px;
  }

  .product-card__image {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .product-card__info {
    padding: 16px;
  }

  .product-card__name {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .product-card__params li {
    font-size: 12px;
    line-height: 1.8;
  }
}

/* 响应式 - 案例方案 */
@media (max-width: 960px) {
  .case-solutions {
    padding: 60px 0;
  }

  .case-solutions__header {
    margin-bottom: 40px;
  }

  .case-solutions__title {
    font-size: 20px;
  }

  .featured-case {
    flex-direction: column;
  }

  .featured-case__image {
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .featured-case__info {
    padding: 30px 24px;
  }

  .case-solutions__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .case-solutions {
    padding: 40px 0;
  }

  .case-solutions__header {
    margin-bottom: 30px;
  }

  .case-solutions__title {
    font-size: 18px;
  }

  .case-solutions__subtitle {
    font-size: 12px;
  }

  .featured-case__info {
    padding: 24px 20px;
  }

  .featured-case__title {
    font-size: 16px;
  }

  .featured-case__detail {
    font-size: 12px;
  }

  .case-solutions__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .case-card__label {
    padding: 12px;
    font-size: 12px;
  }
}

/* 响应式 - 新闻资讯 */
@media (max-width: 960px) {
  .news-section {
    padding: 60px 0;
  }

  .news-section__header {
    margin-bottom: 40px;
  }

  .news-section__title {
    font-size: 20px;
  }

  .news-section__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
  }

  .news-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .news-footer__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .news-footer__download {
    width: 100%;
    justify-content: center;
  }

  .news-footer__social {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .news-section {
    padding: 40px 0;
  }

  .news-section__header {
    margin-bottom: 30px;
  }

  .news-section__title {
    font-size: 18px;
  }

  .news-section__subtitle {
    font-size: 12px;
  }

  .news-section__grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 30px;
  }

  .news-card__content {
    padding: 16px;
  }

  .news-card__title {
    font-size: 14px;
  }

  .news-card__desc {
    font-size: 12px;
  }

  .news-footer__hotline {
    width: 100%;
  }

  .news-footer__actions {
    width: 100%;
  }

  .hotline-number {
    font-size: 16px;
  }

  .news-footer__download {
    width: 100%;
  }

  .news-footer__social {
    width: 100%;
    justify-content: center;
  }
}

/* ==================== 页尾模块 ==================== */
.footer {
  background-color: #333333;
  color: #ffffff;
  width: 100%;
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

/* 导航区 */
.footer__nav {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 40px;
}

.footer__column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__column-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  padding-bottom: 8px;
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links li {
  line-height: 1.5;
}

.footer__links a {
  font-size: 13px;
  color: #999999;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
}

.footer__links a:hover {
  color: #ffffff;
}

/* 二维码区 */
.footer__qrcode {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer__qrcode-image {
  width: 100px;
  height: 100px;
  background-color: #ffffff;
  border: 2px solid #666666;
  display: block;
}

.footer__qrcode-text {
  font-size: 12px;
  color: #ffffff;
  text-align: center;
  line-height: 1.6;
  margin: 0;
}

/* 版权区 */
.footer__copyright {
  border-top: 1px solid #666666;
  padding: 24px 20px;
  background-color: #333333;
}

.footer__copyright-text {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 12px;
  color: #f5f5f5;
  text-align: center;
  line-height: 1.8;
}

.footer__copyright-separator {
  margin: 0 12px;
}

.footer__copyright-separator::before {
  content: '';
  margin-right: 12px;
}

/* 响应式 - 页尾 */
@media (max-width: 960px) {
  .footer__container {
    flex-direction: column;
    gap: 40px;
    padding: 40px 20px 30px;
  }

  .footer__nav {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .footer__qrcode {
    align-self: center;
  }
}

@media (max-width: 640px) {
  .footer__container {
    padding: 30px 20px;
  }

  .footer__nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .footer__column {
    gap: 12px;
  }

  .footer__column-title {
    font-size: 14px;
  }

  .footer__links {
    gap: 10px;
  }

  .footer__links a {
    font-size: 13px;
  }

  .footer__copyright {
    padding: 20px 20px;
  }

  .footer__copyright-text {
    font-size: 11px;
  }

  .footer__copyright-separator {
    display: block;
    margin: 4px 0;
  }

  .footer__copyright-separator::before {
    content: none;
    margin: 0;
  }
}
