/* ===============================
   产品详情页专用样式（product-1.html 等）
================================== */

#scrollUp {
  right: 30px;
  z-index: 33;
  bottom: 40px;
  text-align: center;
}

#scrollUp i {
  height: 40px;
  width: 40px;
  line-height: 40px;
  background: #0657cf;
  border-radius: 3px;
  font-size: 14px;
  -webkit-transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  transition: all 500ms ease;
  display: block;
  color: #fff;
}

#scrollUp i:hover {
  background: #333;
  color: #fff;
}

.product-detail {
  padding: 48px 0 80px;
  background: #f8f9fc;
}

.product-detail-inner {
  margin: 0 auto;
}

/* 主图 */
.detail-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  margin-bottom: 32px;
}

.detail-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* 产品价值 / 摘要条 */
.product-value {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 24px;
  margin-bottom: 40px;
  background: linear-gradient(135deg, #0657cf 0%, #0a7aff 50%, #2889e4 100%);
  color: #fff;
  font-size: 16px;
  line-height: 1.7;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(6, 87, 207, 0.25);
}

.product-value .product-value-icon {
  flex-shrink: 0;
  font-size: 26px;
  color: rgba(255, 255, 255, 0.95);
  margin-top: 2px;
}

/* 产品介绍区块 */
.core-function {
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.core-function > h3 {
  font-size: 24px;
  font-weight: 600;
  color: #0c0c24;
  margin: 0 0 28px;
  padding-bottom: 12px;
  border-bottom: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
  grid-column: 1 / -1;
  position: relative;
}

.core-function > h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #0657cf 0%, #0a7aff 50%, #2889e4 100%);
  border-radius: 2px;
}

.core-function > h3 .h3-icon,
.product-advantage > h3 .h3-icon {
  margin-right: 10px;
  color: #0657cf;
  font-size: 22px;
  vertical-align: middle;
}

.core-function > h3 .en,
.product-advantage > h3 .en {
  font-size: 16px;
  font-weight: 500;
  color: #999;
  margin-left: auto;
  opacity: 0.9;
}

.core-function-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  width: 100%;
  box-sizing: border-box;
}

.core-function-item-text h4 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  line-height: 1.6;
  margin: 0;
}

.core-function-item-img {
  border-radius: 8px;
  overflow: hidden;
}

.core-function-item-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* 产品优势区块 */
.product-advantage {
  margin-bottom: 0;
}

.product-advantage > h3 {
  font-size: 24px;
  font-weight: 600;
  color: #0c0c24;
  margin: 0 0 28px;
  padding-bottom: 12px;
  border-bottom: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
  position: relative;
}

.product-advantage > h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #0657cf 0%, #0a7aff 50%, #2889e4 100%);
  border-radius: 2px;
}

.product-advantage-item {
  position: relative;
  padding: 24px 24px 24px 30px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.product-advantage-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, #0657cf 0%, #0a7aff 50%, #2889e4 100%);
  border-radius: 6px 0 0 6px;
}

.product-advantage-item:last-child {
  margin-bottom: 0;
}

.product-advantage-item h4 {
  font-size: 18px;
  font-weight: 600;
  color: #0657cf;
  margin: 0 0 12px;
}

.product-advantage-item p {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  margin: 0;
}

/* 响应式：平板及以下 */
@media (max-width: 768px) {
  .product-detail {
    padding: 32px 0 56px;
  }

  .detail-img {
    margin-bottom: 24px;
  }

  .product-value {
    padding: 16px 20px;
    margin-bottom: 32px;
    font-size: 15px;
  }

  .core-function {
    grid-template-columns: 1fr;
  }

  .core-function-item {
    gap: 16px;
    padding: 20px;
  }

  .core-function-item-text h4 {
    font-size: 17px;
  }

  .product-advantage-item {
    padding: 20px 20px 20px 26px;
    margin-bottom: 16px;
  }

  .product-advantage-item h4 {
    font-size: 17px;
  }

  .product-advantage-item p {
    font-size: 14px;
  }
}

/* 响应式：小屏 */
@media (max-width: 576px) {
  .product-detail {
    padding: 24px 0 40px;
  }

  .product-detail-inner {
    padding: 0 4px;
  }

  .detail-img {
    border-radius: 8px;
    margin-bottom: 20px;
  }

  .product-value {
    padding: 14px 16px;
    margin-bottom: 28px;
    font-size: 14px;
  }

  .core-function > h3,
  .product-advantage > h3 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .core-function-item {
    padding: 16px;
    margin-bottom: 20px;
  }

  .core-function-item-text h4 {
    font-size: 16px;
  }

  .product-advantage-item {
    padding: 16px 16px 16px 22px;
  }

  .product-advantage-item::before {
    width: 5px;
    border-radius: 5px 0 0 5px;
  }
}
