/* 产品优势板块增强样式 */
/* 引入Dina字体 */
@font-face {
  font-family: 'Dina';
  src: url('../images/DINA.otf');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
.features {
  padding: 120px 0;
  background-color: #FFF;
}

.features .container {
  max-width: 1440px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

/* 特性项样式 */
.feature-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* 悬停效果 - 只保留向上移动 */
.feature-item:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* 数字计数器样式 */
.feature-icon {
  font-size: 5.5rem; /* 增大字体大小，使Dina字体更加醒目 */
  margin-bottom: 25px;
  color: #000; /* 使用纯色而不是变量，确保颜色一致 */
  position: relative;
  display: inline-block;
  transition: all 0.3s ease;
  font-weight: normal; /* Dina字体不需要加粗 */
  line-height: 1;
  font-family: 'Dina', monospace; /* 使用Dina字体 */
  letter-spacing: 0; /* Dina是等宽字体，不需要调整字间距 */
}

.feature-icon .counter {
  display: inline-block;
  min-width: 1.5em; /* 确保数字变化时宽度稳定 */
  text-align: right;
  transition: transform 0.2s ease;
  will-change: transform, contents;
  font-family: 'Dina', monospace; /* 确保数字使用Dina字体 */
}

.feature-icon .plus {
  font-size: 1.2rem;
  vertical-align: super;
  margin-left: 2px;
  font-weight: 300;
  color: #000; /* 使用纯色而不是变量，确保颜色一致 */
  font-family: 'Dina', monospace; /* 确保加号也使用Dina字体 */
}

/* 数字底部装饰线 */
.feature-icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 2px;
  bottom: -5px;
  left: 0;
  z-index: -1;
}

/* 标题样式 */
.feature-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}

/* 文字描述样式 */
.feature-text {
  font-size: 1rem;
  color: #666;
  line-height: 1.7;
}

/* 响应式样式 */
@media (max-width: 992px) {
  .features-grid {
    gap: 30px;
  }
  
  .feature-item {
    padding: 30px 20px;
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}
