/*=============== VALUE SECTION ENHANCEMENTS - 优化后的Value部分样式 ===============*/

.value {
  background: linear-gradient(180deg, 
    var(--container-color) 0%, 
    var(--body-color) 100%);
  padding: 4.5rem 0;
}

.value__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.value__intro {
  font-size: var(--normal-font-size);
  color: var(--text-color);
  line-height: 1.8;
  margin-top: 1rem;
}

.value__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.value__card {
  background: var(--container-color);
  padding: 2.5rem 2rem;
  border-radius: 1.5rem;
  border: 2px solid var(--border-color);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.value__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--first-color), var(--second-color));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.value__card:hover::before {
  transform: scaleX(1);
}

.value__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px hsla(228, 66%, 45%, .15);
  border-color: var(--first-color);
}

.value__card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--first-color-lighten), var(--border-color));
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
}

.value__card-icon i {
  font-size: 2.5rem;
  color: var(--first-color);
  transition: all 0.3s ease;
}

.value__card:hover .value__card-icon {
  background: linear-gradient(135deg, var(--first-color), var(--second-color));
  transform: scale(1.1) rotate(5deg);
}

.value__card:hover .value__card-icon i {
  color: white;
  transform: scale(1.1);
}

.value__card-title {
  font-size: var(--h3-font-size);
  color: var(--title-color);
  margin-bottom: 1rem;
  font-weight: var(--font-semi-bold);
}

.value__card-description {
  font-size: var(--small-font-size);
  color: var(--text-color);
  line-height: 1.7;
}

/*=============== 响应式设计 ===============*/
@media screen and (max-width: 768px) {
  .value__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .value__card {
    padding: 2rem 1.5rem;
  }
  
  .value__card-icon {
    width: 70px;
    height: 70px;
  }
  
  .value__card-icon i {
    font-size: 2rem;
  }
}

/*=============== 暗色主题适配 ===============*/
.dark-theme .value__card {
  background: var(--container-color);
  border-color: var(--border-color);
}

.dark-theme .value__card:hover {
  border-color: var(--first-color);
}

.dark-theme .value__card-icon {
  background: var(--container-color);
}

/*=============== 动画效果 ===============*/
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.value__card {
  animation: fadeInUp 0.6s ease-out;
}

.value__card:nth-child(1) {
  animation-delay: 0.1s;
}

.value__card:nth-child(2) {
  animation-delay: 0.2s;
}

.value__card:nth-child(3) {
  animation-delay: 0.3s;
}

.value__card:nth-child(4) {
  animation-delay: 0.4s;
}
