/* 客户评价板块样式 */
.testimonials-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231565c0' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 80px;
  position: relative;
  z-index: 1;
}

.testimonial-card {
  background: white;
  border-radius: 24px;
  padding: 50px 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 120px;
  font-family: Georgia, serif;
  line-height: 1;
  color: #e3f2fd;
  z-index: 0;
  opacity: 0.5;
}

.testimonial-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 30px 90px rgba(21, 101, 192, 0.15);
}

.testimonial-rating {
  display: flex;
  gap: 4px;
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
}

.testimonial-rating svg {
  width: 20px;
  height: 20px;
  color: #ffc107;
  filter: drop-shadow(0 2px 4px rgba(255, 193, 7, 0.4));
  transition: transform 0.3s ease;
}

.testimonial-card:hover .testimonial-rating svg {
  transform: scale(1.1);
}

.testimonial-text {
  font-size: 17px;
  line-height: 1.9;
  color: #424242;
  margin-bottom: 35px;
  position: relative;
  z-index: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 25px;
  border-top: 2px solid #e3f2fd;
  position: relative;
  z-index: 1;
}

.author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1565c0 0%, #42a5f5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: white;
  box-shadow: 0 4px 15px rgba(21, 101, 192, 0.3);
}

.author-info {
  flex: 1;
}

.author-name {
  font-size: 18px;
  font-weight: 700;
  color: #1565c0;
  margin-bottom: 4px;
}

.author-title {
  font-size: 14px;
  color: #757575;
  font-weight: 500;
}

/* 动画效果 */
.animate-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 响应式 */
@media (max-width: 768px) {
  .testimonials-section {
    padding: 80px 0;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .testimonial-card {
    padding: 40px 30px;
  }

  .testimonial-text {
    font-size: 16px;
  }

  .testimonial-card::before {
    font-size: 100px;
  }
}
