/* 团队介绍板块样式 */
.team-section {
  padding: 120px 0;
  background: white;
  position: relative;
  overflow: hidden;
}

.team-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e3f2fd, transparent);
}

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

.team-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid #f0f0f0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 60px rgba(21, 101, 192, 0.15);
  border-color: #42a5f5;
}

.team-photo {
  position: relative;
  height: 280px;
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  overflow: hidden;
}

.team-avatar {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1565c0 0%, #42a5f5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  font-weight: 700;
  color: white;
  box-shadow: 0 10px 40px rgba(21, 101, 192, 0.4);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.team-card:hover .team-avatar {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 15px 50px rgba(21, 101, 192, 0.5);
}

.team-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(21, 101, 192, 0.9) 0%, rgba(66, 165, 245, 0.9) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.team-card:hover .team-overlay {
  opacity: 1;
}

.team-social {
  display: flex;
  gap: 20px;
}

.social-link {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
  transform: translateY(20px);
  opacity: 0;
}

.team-card:hover .social-link {
  transform: translateY(0);
  opacity: 1;
}

.team-card:hover .social-link:nth-child(1) {
  transition-delay: 0.1s;
}

.team-card:hover .social-link:nth-child(2) {
  transition-delay: 0.2s;
}

.social-link:hover {
  background: white;
  color: #1565c0;
  transform: translateY(-5px) scale(1.1);
}

.social-link svg {
  width: 22px;
  height: 22px;
}

.team-info {
  padding: 30px 25px;
  text-align: center;
}

.team-info h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1565c0;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.team-card:hover .team-info h3 {
  color: #0d47a1;
}

.team-role {
  display: inline-block;
  padding: 6px 18px;
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  color: #1565c0;
  font-size: 14px;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 18px;
  transition: all 0.3s ease;
}

.team-card:hover .team-role {
  background: linear-gradient(135deg, #1565c0 0%, #42a5f5 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(21, 101, 192, 0.3);
}

.team-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #757575;
  margin: 0;
}

/* 动画效果 */
.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: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .team-photo {
    height: 250px;
  }

  .team-avatar {
    width: 120px;
    height: 120px;
    font-size: 56px;
  }
}

@media (max-width: 768px) {
  .team-section {
    padding: 80px 0;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .team-photo {
    height: 220px;
  }

  .team-avatar {
    width: 100px;
    height: 100px;
    font-size: 48px;
  }

  .team-info {
    padding: 25px 20px;
  }

  .team-info h3 {
    font-size: 22px;
  }
}
