/* 动画效果样式 */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

.btn {
  transition: all 0.3s ease;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.floating {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

.slide-in-left.active {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

.slide-in-right.active {
  opacity: 1;
  transform: translateX(0);
}

.content-box {
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
}

.content-box:hover {
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  transform: translateY(-5px);
}

.content-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #FFC321);
  transition: all 0.8s ease;
}

.content-box:hover::before {
  left: 0;
}

.tech img {
  transition: all 0.5s ease;
}

.tech:hover img {
  transform: scale(1.02);
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

/* 原有页面样式 */
#topIndex {
  position: relative;
  width: 100%;
  background-size: 100% 100%;
  overflow: hidden;
}

#topIndex .home-box .left {
  width: 50vw;
}

#topIndex .home-box .left .btn {
  margin-bottom: 1vw;
  padding: 0.4vw 1vw;
  display: table;
  background: #FFC321;
  color: #333;
  border-radius: 1vw;
}

#topIndex .home-box .left .home-title {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 4vw;
  color: #333;
}

#topIndex .home-box .left .home-bt {
  margin-top: 2vw;
  font-size: 1vw;
  color: #333;
}

#topIndex .home-box .right img {
  width: 26vw;
}

#topIndex .home-box {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 8vw;
  box-sizing: border-box;
  color: #fff;
}

.tech {
  margin: 0 8vw 6vw;
}

.tech .techTop {
  margin-bottom: 3vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #333333;
}

.tech .techTop .title {
  font-weight: 600;
  width: 30vw;
  font-size: 3vw;
}

.tech .techTop .text {
  width: 40vw;
  font-size: 1vw;
}

.tech img {
  width: 100%;
}

.content-box {
  margin: 6vw 8vw;
  padding: 2vw;
  background: #312F31;
  font-size: 1vw;
  color: #FFFFFF;
  line-height: 1.6;
} 