/* ==================== 滚动动画 ==================== */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}

/* Banner入场动画 */
.banner-slide.active .banner-tag {
  animation: fadeInUp 0.6s ease 0.2s both;
}

.banner-slide.active .banner-content h1 {
  animation: fadeInUp 0.6s ease 0.4s both;
}

.banner-slide.active .banner-content p {
  animation: fadeInUp 0.6s ease 0.6s both;
}

.banner-slide.active .banner-btns {
  animation: fadeInUp 0.6s ease 0.8s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* 装饰圆圈动画 */
.deco-circle-1 {
  animation: floatSlow 8s ease-in-out infinite;
}

.deco-circle-2 {
  animation: floatSlow 6s ease-in-out infinite reverse;
}

@keyframes floatSlow {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-20px, 20px);
  }
}

/* 数字滚动 */
.stat-number {
  transition: all 0.3s ease;
}

/* 卡片悬浮光效 */
.business-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(46,48,146,0.03) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.business-card:hover::after {
  opacity: 1;
}

/* 时间线动画 */
.timeline-item {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.timeline-item.animated {
  opacity: 1;
  transform: translateX(0);
}

/* 案例卡片切换动画 */
.case-card {
  transition: all 0.4s ease;
}

.case-card.hidden {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  position: absolute;
}

/* 新闻卡片动画 */
.news-card {
  transition: all 0.3s ease;
}

.news-card.hidden {
  display: none;
}

/* 荣誉卡片悬浮 */
.honor-card {
  transition: all 0.3s ease;
}

.honor-card:hover .honor-icon {
  transform: scale(1.15);
  transition: transform 0.3s ease;
}

/* 平滑锚点偏移 */
.section {
  scroll-margin-top: 72px;
}

/* 页面Banner动画 */
.page-banner-content .page-banner-tag {
  animation: fadeInUp 0.6s ease 0.2s both;
}

.page-banner-content h1 {
  animation: fadeInUp 0.6s ease 0.3s both;
}

.page-banner-content p {
  animation: fadeInUp 0.6s ease 0.4s both;
}

.case-stats-inline {
  animation: fadeInUp 0.6s ease 0.5s both;
}

/* 加载骨架 */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* 回到顶部按钮动画 */
.back-to-top {
  transition: all 0.3s ease;
}

/* 表单焦点动画 */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 0 3px rgba(139,124,255,0.15);
}
