/* 无人机巡航系统首页动画效果样式 */

/* ===== 基础动画配置 ===== */
:root {
  --animation-duration-fast: 0.3s;
  --animation-duration-normal: 0.6s;
  --animation-duration-slow: 1.2s;
  --animation-easing: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --animation-easing-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ===== 页面可见性控制 ===== */
/* 当页面不可见时暂停所有动画 */
.page-hidden * {
  animation-play-state: paused !important;
  transition-duration: 0s !important;
}

/* 确保动画在页面可见时正常运行 */
.page-visible * {
  animation-play-state: running;
}

/* GPU加速优化 */
.gpu-accelerated {
  will-change: transform, opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
    padding-top: 70px;
}

/* "查看更多案例"链接动画效果 */
.view-more {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.view-more.animate {
  opacity: 1;
  transform: translateY(0);
}

.view-more a {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 8px;
  padding: 12px 20px;
  /* background: linear-gradient(135deg, transparent 0%, rgba(0, 87, 194, 0.05) 100%); */
  border: 2px solid transparent;
  background-clip: padding-box;
}

.view-more a:hover {
  transform: translateY(-2px) scale(1.02);
  /* background: linear-gradient(135deg, rgba(0, 87, 194, 0.1) 0%, rgba(0, 87, 194, 0.15) 100%);
  border-color: rgba(0, 87, 194, 0.2);
  box-shadow: 0 8px 25px rgba(0, 87, 194, 0.15); */
}

.view-more a:active {
  transform: translateY(0) scale(0.98);
  transition: all 0.1s ease;
}

/* 文字颜色动画 */
.view-more a span {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
  background: linear-gradient(45deg, var(--primary-color), var(--primary-color));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
}

.view-more a:hover span {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: textGradientShift 2s ease-in-out infinite;
}

@keyframes textGradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* 箭头图标动画 */
.view-more a img {
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: brightness(1) saturate(1);
}

.view-more a:hover img {
  transform: translateX(8px) rotate(5deg) scale(1.1);
  filter: brightness(1.2) saturate(1.3);
}

/* 点击波纹效果 */
.view-more a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(0, 87, 194, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.6s ease;
  z-index: 1;
}

.view-more a:active::before {
  width: 300px;
  height: 300px;
  transition: all 0.3s ease;
}

/* 悬浮光效 */
.view-more a::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
  z-index: 1;
}

.view-more a:hover::after {
  left: 100%;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .view-more a:hover {
    transform: translateY(-1px) scale(1.01);
  }
  
  .view-more a:hover img {
    transform: translateX(4px) rotate(3deg) scale(1.05);
  }
  
  .view-more a::after {
    display: none;
  }
}



/* Cases Banner 动画 */
.cases-banner {
  position: relative;
  overflow: hidden;
}

.cases-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(0, 87, 194, 0.1), rgba(255, 107, 107, 0.1), rgba(78, 205, 196, 0.1));
  background-size: 400% 400%;
  animation: casesBannerGradient 8s ease-in-out infinite;
  z-index: 1;
}

.cases-banner .carousel-content {
  position: relative;
  z-index: 2;
  animation: casesBannerFadeIn 1.5s ease-out;
}

.cases-banner .carousel-content h1 {
  animation: casesTextSlideUp 1s ease-out 0.3s both;
  transform: perspective(1000px) rotateX(15deg);
  transition: transform 0.6s ease;
}

.cases-banner .carousel-content h1:hover {
  transform: perspective(1000px) rotateX(0deg) scale(1.02);
}

.cases-banner .carousel-content p {
  animation: casesTextSlideUp 1s ease-out 0.6s both;
  opacity: 0;
}

/* Case Items 动画 */
.case-page-item {
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.case-page-item.animate {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.case-page-item:nth-child(1).animate { animation-delay: 0.1s; }
.case-page-item:nth-child(2).animate { animation-delay: 0.3s; }
.case-page-item:nth-child(3).animate { animation-delay: 0.5s; }
.case-page-item:nth-child(4).animate { animation-delay: 0.7s; }
.case-page-item:nth-child(5).animate { animation-delay: 0.9s; }
.case-page-item:nth-child(6).animate { animation-delay: 1.1s; }
.case-page-item:nth-child(7).animate { animation-delay: 1.3s; }

.case-page-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.case-page-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 87, 194, 0.1), transparent);
  transition: left 0.8s ease;
  z-index: 1;
}

.case-page-item:hover::before {
  left: 100%;
}

/* Case Statistics 动画 */
.stat-value span {
  display: inline-block;
  transition: all 0.3s ease;
}

.stat-value.counting span {
  animation: casesNumberPulse 0.1s ease-in-out;
}

.stat-values-item {
  opacity: 0;
  transform: scale(0.8) rotateY(15deg);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-values-item.animate {
  opacity: 1;
  transform: scale(1) rotateY(0deg);
}

.stat-values-item:hover {
  transform: scale(1.1) rotateY(-5deg);
}

/* Case Images 动画 */
.case-page-image img {
  opacity: 0;
  transform: scale(0.9) rotateZ(2deg);
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0.9) saturate(0.8);
}

.case-page-image img.animate {
  opacity: 1;
  transform: scale(1) rotateZ(0deg);
  filter: brightness(1) saturate(1);
}

.case-page-image img:hover {
  transform: scale(1.05) rotateZ(-1deg);
  filter: brightness(1.1) saturate(1.2);
}

/* Customized Solutions 动画 */
.customized-solutions {
  position: relative;
  overflow: hidden;
}

.customized-solutions::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 87, 194, 0.15), transparent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: casesCustomizedPulse 4s ease-in-out infinite;
  z-index: 1;
}

.customized-solutions-content {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.customized-solutions-content.animate {
  opacity: 1;
  transform: translateY(0);
}

.customized-solutions-content h2 {
  animation: casesCustomizedTextGlow 2s ease-in-out infinite alternate;
}

.customized-solutions-btns .btn {
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.customized-solutions-btns .btn.animate {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.customized-solutions-btns .btn:nth-child(1).animate { animation-delay: 0.2s; }
.customized-solutions-btns .btn:nth-child(2).animate { animation-delay: 0.4s; }

.customized-solutions-btns .btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 87, 194, 0.2);
}

.customized-solutions-btns .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.customized-solutions-btns .btn:hover::before {
  left: 100%;
}



/* Solutions Banner 动画 */
.solutions-banner {
  position: relative;
  overflow: hidden;
}

.solutions-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(0, 123, 255, 0.1), rgba(40, 167, 69, 0.1), rgba(255, 193, 7, 0.1));
  background-size: 400% 400%;
  animation: solutionsBannerGradient 8s ease-in-out infinite;
  z-index: 1;
}

.solutions-banner .carousel-content {
  position: relative;
  z-index: 2;
  animation: solutionsBannerFadeIn 1.5s ease-out;
}

.solutions-banner .carousel-content h1 {
  animation: solutionsTextSlideUp 1s ease-out 0.3s both;
  transform: perspective(1000px) rotateX(15deg);
  transition: transform 0.6s ease;
}

.solutions-banner .carousel-content h1:hover {
  transform: perspective(1000px) rotateX(0deg) scale(1.02);
}

.solutions-banner .carousel-content p {
  animation: solutionsTextSlideUp 1s ease-out 0.6s both;
  opacity: 0;
}


/* Problems Section 动画 */
.problems-grid {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.problems-grid.animate {
  opacity: 1;
  transform: translateY(0);
}

.problem-item {
  position: relative;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.problem-item.animate {
  transform: translateY(0);
  opacity: 1;
}

.problem-item:nth-child(1).animate { animation-delay: 0.1s; }
.problem-item:nth-child(2).animate { animation-delay: 0.3s; }
.problem-item:nth-child(3).animate { animation-delay: 0.5s; }

.problem-item:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.problem-item:hover .problem-icon {
  animation: solutionsProblemIconBounce 0.6s ease-out;
}

/* Values Section 动画 */
.solutions-content-values {
  position: relative;
  overflow: hidden;
}

.solutions-content-values::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 70%, rgba(0, 123, 255, 0.1), transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(40, 167, 69, 0.1), transparent 50%);
  animation: solutionsValuesBackground 10s ease-in-out infinite;
  z-index: 1;
}

.solutions-content-values .container {
  position: relative;
  z-index: 2;
}

.solutions-content-values img {
  opacity: 0;
  transform: scale(0.8) rotateY(15deg);
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.solutions-content-values img.animate {
  opacity: 1;
  transform: scale(1) rotateY(0deg);
}

/* Architecture Section 动画 */
.solutions-content-architecture {
  position: relative;
}

.solutions-content-architecture::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.2), transparent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: solutionsArchitecturePulse 4s ease-in-out infinite;
  z-index: 1;
}

.solutions-content-architecture img {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: perspective(1000px) rotateX(30deg) scale(0.9);
  transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.solutions-content-architecture img.animate {
  opacity: 1;
  transform: perspective(1000px) rotateX(0deg) scale(1);
}

/* Process Section 动画 */
.solutions-content-process {
  position: relative;
  overflow: hidden;
}

.solutions-content-process::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.1), transparent);
  animation: solutionsProcessSweep 6s ease-in-out infinite;
}

.solutions-content-process img {
  opacity: 0;
  transform: translateX(-50px) rotateZ(-5deg);
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.solutions-content-process img.animate {
  opacity: 1;
  transform: translateX(0) rotateZ(0deg);
}

/* Scenarios Section 动画 */
.scenario-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.scenario-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}


.scenario-content {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.scenario-content.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===== H2 标题统一动画效果 ===== */

/* 通用h2标题动画 */
/* h2 {
  position: relative;
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 50%, #00d4ff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 4px rgba(22, 93, 255, 0.2)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
  will-change: transform, opacity, background-position;
  animation: h2GradientShift 3s ease-in-out infinite alternate;
} */

/* h2标题渐变动画 */
/* @keyframes h2GradientShift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
} */

/* h2标题悬停效果 */
/* h2:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 4px 8px rgba(22, 93, 255, 0.3)) drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
  animation-duration: 1.5s;
} */

/* h2标题激活状态 */
h2.animate,
.section-header.animate h2,
.animate h2 {
  opacity: 1;
  transform: translateY(0);
}

/* h2标题下划线动画 */
h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0px;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--primary-color) 20%, var(--primary-color) 80%, transparent 100%);
  border-radius: 2px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
  box-shadow: 0 2px 4px rgba(22, 93, 255, 0.3);
}

/* h2标题下划线激活状态 */
h2.animate::after,
.section-header.animate h2::after,
.animate h2::after {
  width: 16px;
  height: 3px;
}

/* Section Headers 动画 */
.section-header {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.section-header.animate {
  opacity: 1;
  transform: translateY(0);
}

.section-header h2 {
  position: relative;
  display: inline-block;
}

/* 特殊h2标题样式覆盖 */
.case-page-title {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.case-page-title.animate {
  opacity: 1;
  transform: translateY(0);
}

.case-page-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--primary-color) 20%, var(--primary-color) 80%, transparent 100%);
  border-radius: 2px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.case-page-title.animate::after {
 display: none;
 
}

/* 关键帧动画 */
@keyframes solutionsBannerGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes solutionsBannerFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes solutionsTextSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px) perspective(1000px) rotateX(30deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) perspective(1000px) rotateX(15deg);
  }
}

@keyframes solutionsBreadcrumbSweep {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

@keyframes solutionsBreadcrumbItemFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes solutionsBreadcrumbActive {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

@keyframes solutionsProblemIconBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1) rotate(5deg); }
}

@keyframes solutionsValuesBackground {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

@keyframes solutionsArchitecturePulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.6;
  }
}

@keyframes solutionsProcessSweep {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

/* h2标题移动端优化 */
@media (max-width: 768px) {
  h2 {
    font-size: 24px;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  h2::after {
    bottom: -6px;
    height: 2px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
  }
  
  .case-page-title {
    font-size: 20px;
    transform: translateY(20px);
  }
  
  .case-page-title::after {
    bottom: -6px;
    height: 2px;
  }
}

@media (max-width: 576px) {
  h2 {
    font-size: 20px;
    transform: translateY(15px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  h2::after {
    bottom: -4px;
    height: 2px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.15s;
  }
  
  .case-page-title {
    font-size: 18px;
    transform: translateY(15px);
  }
}

/* 移动端适配 */
@media (max-width: 768px) {
  .solutions-banner .carousel-content h1 {
    transform: perspective(800px) rotateX(10deg);
  }
  
  .solutions-banner .carousel-content h1:hover {
    transform: perspective(800px) rotateX(0deg) scale(1.01);
  }
  
  .problem-item:hover {
    transform: translateY(-5px) scale(1.02);
  }
  
  .solutions-content-architecture::before {
    width: 150px;
    height: 150px;
  }
}

/* GPU加速优化 */
.gpu-accelerated {
  will-change: transform, opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
  padding-top: 70px;
}

/* 减少动画偏好设置支持 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  h2 {
    animation: none !important;
    background: var(--secondary-color) !important;
    -webkit-text-fill-color: var(--secondary-color) !important;
    filter: none !important;
  }
}

/* 移动端性能优化 */
@media (max-width: 768px) {
  h2 {
    animation-duration: 2s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    transform: translateZ(0);
    backface-visibility: hidden;
  }
  
  h2.animate {
    animation-play-state: running;
  }
}

/* 低性能设备优化 */
@media (max-width: 576px) and (max-resolution: 150dpi) {
  h2 {
    animation: none;
    background: var(--secondary-color);
    -webkit-text-fill-color: var(--secondary-color);
    filter: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  
  h2::after {
    transition: width 0.3s ease;
  }
}

/* ===== 页面加载动画 ===== */

/* 淡入向上动画 */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--animation-duration-normal) var(--animation-easing);
}

.fade-in-up.animate {
  opacity: 1;
  transform: translateY(0);
}

/* 淡入向下动画 */
.fade-in-down {
  opacity: 0;
  transform: translateY(-30px);
  transition: all var(--animation-duration-normal) var(--animation-easing);
}

.fade-in-down.animate {
  opacity: 1;
  transform: translateY(0);
}

/* 淡入向左动画 */
.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all var(--animation-duration-normal) var(--animation-easing);
}

.fade-in-left.animate {
  opacity: 1;
  transform: translateX(0);
}

/* 淡入向右动画 */
.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all var(--animation-duration-normal) var(--animation-easing);
}

.fade-in-right.animate {
  opacity: 1;
  transform: translateX(0);
}

/* 缩放淡入动画 */
.fade-in-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--animation-duration-normal) var(--animation-easing);
}

.fade-in-scale.animate {
  opacity: 1;
  transform: scale(1);
}

/* ===== 轮播图动画 ===== */

/* 无人机飞行动画 */
.drone-flight {
  animation: droneComplexFlight 12s ease-in-out forwards;
}

@keyframes droneComplexFlight {
  /* 阶段1: 从底部开始，从小变大 (0-20%) */
  0% {
    transform: translateX(-100px) translateY(950px) scale(0.1) rotate(0deg);
    opacity: 0.8;
  }
  10% {
    transform: translateX(0) translateY(300px) scale(0.2) rotate(2deg);
    opacity: 0.9;
  }
  20% {
    transform: translateX(0) translateY(200px) scale(0.3) rotate(0deg);
    opacity: 1;
  }
  
  /* 阶段2: S型运动开始 (20-80%) */
  30% {
    transform: translateX(50px) translateY(150px) scale(0.4) rotate(8deg);
  }
  40% {
    transform: translateX(80px) translateY(100px) scale(0.5) rotate(12deg);
  }
  50% {
    transform: translateX(40px) translateY(50px) scale(0.6) rotate(-5deg);
  }
  60% {
    transform: translateX(100px) translateY(20px) scale(0.7) rotate(-10deg);
  }
  70% {
    transform: translateX(120px) translateY(30px) scale(0.8) rotate(-8deg);
  }
  80% {
    transform: translateX(130px) translateY(40px) scale(0.9) rotate(3deg);
  }
  
  /* 阶段3: 到达顶部并悬停 (80-100%) */
  90% {
    transform: translateX(140px) translateY(60px) scale(1) rotate(0deg);
  }
  100% {
    transform: translateX(-250px) translateY(80px) scale(1) rotate(2deg);
  }
}

/* 悬停后的微动画 */
.drone-flight.hovering {
  animation: droneHovering 3s ease-in-out infinite;
}

@keyframes droneHovering {
  0%, 100% {
    transform: translateX(-249px) translateY(80px) scale(1) rotate(0deg);
  }
  25% {
    transform: translateX(-250px) translateY(70px) scale(1) rotate(2deg);
  }
  50% {
    transform: translateX(-249px) translateY(70px) scale(1) rotate(0deg);
  }
  75% {
    transform: translateX(-250px) translateY(80px) scale(1) rotate(-2deg);
  }
}

/* 打字机效果 */
.typewriter {
  overflow: hidden;
  border-right: 2px solid var(--primary-color);
  white-space: nowrap;
  animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: var(--primary-color);
  }
}

/* 轮播图内容动画 */
.carousel-content-animated {
  animation: slideInFromLeft 1s var(--animation-easing) forwards;
}

@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== 滚动触发动画 ===== */

/* AOS 自定义动画 */
[data-aos="fade-up-custom"] {
  transform: translate3d(0, 40px, 0);
  opacity: 0;
  transition-property: transform, opacity;
}

[data-aos="fade-up-custom"].aos-animate {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

[data-aos="slide-in-left"] {
  transform: translate3d(-100px, 0, 0);
  opacity: 0;
  transition-property: transform, opacity;
}

[data-aos="slide-in-left"].aos-animate {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

[data-aos="slide-in-right"] {
  transform: translate3d(100px, 0, 0);
  opacity: 0;
  transition-property: transform, opacity;
}

[data-aos="slide-in-right"].aos-animate {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

/* 交错动画延迟 */
.stagger-animation:nth-child(1) { animation-delay: 0.1s; }
.stagger-animation:nth-child(2) { animation-delay: 0.2s; }
.stagger-animation:nth-child(3) { animation-delay: 0.3s; }
.stagger-animation:nth-child(4) { animation-delay: 0.4s; }
.stagger-animation:nth-child(5) { animation-delay: 0.5s; }
.stagger-animation:nth-child(6) { animation-delay: 0.6s; }

/* ===== 交互动画 ===== */

/* 卡片悬停动画 */
.card-hover {
  transition: all var(--animation-duration-fast) var(--animation-easing);
  cursor: pointer;
}

.card-hover:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* 按钮悬停动画 */
.btn-animated {
  position: relative;
  overflow: hidden;
  transition: all var(--animation-duration-fast) var(--animation-easing);
}

.btn-animated::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left var(--animation-duration-normal) var(--animation-easing);
}

.btn-animated:hover::before {
  left: 100%;
}

.btn-animated:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 87, 194, 0.3);
}

/* 图标旋转动画 */
.icon-rotate {
  transition: transform var(--animation-duration-fast) var(--animation-easing);
}

.icon-rotate:hover {
  transform: rotate(360deg);
}

/* ===== 视差滚动效果 ===== */

.parallax-element {
  will-change: transform;
  transition: transform 0.1s ease-out;
}

/* ===== 加载动画 ===== */

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity var(--animation-duration-slow) var(--animation-easing);
}

.loading-overlay.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ===== 平滑滚动 ===== */

html {
  scroll-behavior: smooth;
}

/* ===== 性能优化 ===== */

.gpu-accelerated {
  will-change: transform, opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
    padding-top: 70px;
}

/* ===== 响应式动画 ===== */

@media (max-width: 768px) {
  /* 移动端简化动画 */
  .fade-in-up,
  .fade-in-down,
  .fade-in-left,
  .fade-in-right {
    transform: none;
  }
  
  .fade-in-up.animate,
  .fade-in-down.animate,
  .fade-in-left.animate,
  .fade-in-right.animate {
    transform: none;
  }
  
  .card-hover:hover {
    transform: none;
  }
  
  .drone-flight {
    animation-duration: 4s;
  }
}

@media (max-width: 480px) {
  /* 小屏幕进一步简化 */
  .typewriter {
    animation: none;
    border-right: none;
    white-space: normal;
  }
  
  .btn-animated:hover {
    transform: none;
  }
}

/* ===== 数据统计递增动画 ===== */
.stat-value {
  font-size: 48px;
  font-weight: bold;
  color: #333;
  transition: all var(--animation-duration-normal) var(--animation-easing);
}

.stat-item.animate .stat-value {
  transform: scale(1.1);
}

/* ===== 合作伙伴Logo网格布局 ===== */
.partner-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 30px 20px;
  /* padding: 20px 20px; */
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  justify-items: center;
  /* 初始状态：从下向上动画 */
  opacity: 0;
  transform: translateY(50px);
  transition: all var(--animation-duration-normal) var(--animation-easing);
}

/* 滚动触发动画类 */
.partner-logos.animate {
  opacity: 1;
  transform: translateY(0);
}

.partner-logos img {
  height: 100px;
  width: auto;
  max-width: 170px;
  opacity: 0;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

/* 当容器动画触发后，Logo依次显示 */
.partner-logos.animate img {
  animation: logoFadeIn 0.6s ease forwards;
}

.partner-logos.animate img:nth-child(1) { animation-delay: 0.1s; }
.partner-logos.animate img:nth-child(2) { animation-delay: 0.2s; }
.partner-logos.animate img:nth-child(3) { animation-delay: 0.3s; }
.partner-logos.animate img:nth-child(4) { animation-delay: 0.4s; }
.partner-logos.animate img:nth-child(5) { animation-delay: 0.5s; }
.partner-logos.animate img:nth-child(6) { animation-delay: 0.6s; }
.partner-logos.animate img:nth-child(7) { animation-delay: 0.7s; }
.partner-logos.animate img:nth-child(8) { animation-delay: 0.8s; }
.partner-logos.animate img:nth-child(9) { animation-delay: 0.9s; }
.partner-logos.animate img:nth-child(10) { animation-delay: 1.0s; }
.partner-logos.animate img:nth-child(11) { animation-delay: 1.1s; }
.partner-logos.animate img:nth-child(12) { animation-delay: 1.2s; }

.partner-logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.1);
}

@keyframes logoFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 0.7;
    transform: translateY(0);
  }
}

/* ===== 案例卡片交错动画 ===== */
.case-item {
  opacity: 0;
  transform: translateY(50px);
  transition: all var(--animation-duration-normal) var(--animation-easing);
}

.case-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.case-item:nth-child(1) { transition-delay: 0.1s; }
.case-item:nth-child(2) { transition-delay: 0.2s; }
.case-item:nth-child(3) { transition-delay: 0.3s; }
.case-item:nth-child(4) { transition-delay: 0.4s; }
.case-item:nth-child(5) { transition-delay: 0.5s; }
.case-item:nth-child(6) { transition-delay: 0.6s; }

/* 案例卡片悬停增强效果 */
.case-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* ===== Tab区域fly-line延伸动画 ===== */
/* Tab切换时的连接线延伸动画 */
@keyframes flyLineTabSwitching {
  0% {
    width: 0;
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
  100% {
    width: calc(100% - 40px);
    opacity: 0.8;
  }
}

.fly-line.tab-switching {
  animation: flyLineTabSwitching 0.8s var(--animation-easing) forwards;
  border-color: var(--primary-color) !important;
}

/* ===== 应用场景卡片视差效果 ===== */
.scenario-item {
  will-change: transform;
  transition: transform 0.1s ease-out;
}

.scenario-item .scenario-cover {
  overflow: hidden;
  will-change: transform;
}

.scenario-item .scenario-cover img {
  will-change: transform;
  transition: transform 0.1s ease-out;
}

/* 视差滚动效果 */
.scenario-item.parallax-active .scenario-cover img {
  transform: translateY(var(--parallax-offset, 0px));
}

/* 场景卡片悬停增强 */
.scenario-item:hover {
  transform: translateY(-5px);
}

.scenario-item:hover .scenario-cover img {
  transform: scale(1.05) translateY(var(--parallax-offset, 0px));
}

/* ===== 系统架构图分层显示动画 ===== */
.system-architecture {
  position: relative;
}

.architecture-table {
  position: relative;
  overflow: hidden;
}

.architecture-table img {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: all var(--animation-duration-slow) var(--animation-easing);
  will-change: transform, opacity;
}

.architecture-table.animate img {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* 架构图分层动画效果 */
@keyframes architectureLayerFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.architecture-layer {
  opacity: 0;
  animation: architectureLayerFadeIn 0.8s var(--animation-easing) forwards;
}

.architecture-layer:nth-child(1) { animation-delay: 0.2s; }
.architecture-layer:nth-child(2) { animation-delay: 0.4s; }
.architecture-layer:nth-child(3) { animation-delay: 0.6s; }
.architecture-layer:nth-child(4) { animation-delay: 0.8s; }
.architecture-layer:nth-child(5) { animation-delay: 1.0s; }

/* 移动端优化 */
@media (max-width: 768px) {
  .partner-logos-scroll {
    animation-duration: 20s;
  }
  
  .case-item:nth-child(n) {
    transition-delay: 0.1s;
  }
  
  .stat-value {
    font-size: 36px;
  }
  
  /* 移动端Tab动画简化 */
  .fly-line.tab-switching {
    animation-duration: 0.5s;
  }
  
  /* 移动端视差效果减弱 */
  .scenario-item.parallax-active .scenario-cover img {
    transform: translateY(calc(var(--parallax-offset, 0px) * 0.5));
  }
  
  .scenario-item:hover {
    transform: none;
  }
  
  .scenario-item:hover .scenario-cover img {
    transform: scale(1.02) translateY(calc(var(--parallax-offset, 0px) * 0.5));
  }
  
  /* 移动端架构图动画简化 */
  .architecture-table img {
    transition-duration: 0.8s;
  }
  
  .architecture-layer {
    animation-duration: 0.6s;
  }
}

@media (max-width: 480px) {
  /* 小屏幕进一步简化动画 */
  .fly-line.tab-switching {
    animation-duration: 0.3s;
  }
  
  /* 禁用视差效果 */
  .scenario-item.parallax-active .scenario-cover img {
    transform: none;
  }
  
  .scenario-item:hover .scenario-cover img {
    transform: scale(1.01);
  }
  
  /* 移动端智慧巡检动画简化 */
  .smart-inspection.a6-animate .text-content h2 {
    animation-duration: 1.5s;
  }
  
  .smart-inspection.a6-animate .text-content p {
    animation-duration: 2s;
  }
  
  .smart-inspection.a6-animate::before {
    animation-duration: 6s;
  }
}


.smart-inspection {
  position: relative;
  overflow: hidden;
}

/* 背景粒子效果 */
.smart-inspection::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 30%, rgba(54, 203, 203, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(0, 87, 194, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 40% 80%, rgba(54, 203, 203, 0.05) 0%, transparent 50%);
  opacity: 0;
  animation: particleFloat 8s ease-in-out infinite;
  z-index: 1;
}

.smart-inspection.a6-animate::before {
  opacity: 1;
}

@keyframes particleFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: 0.3;
  }
  25% {
    transform: translateY(-20px) scale(1.1);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-10px) scale(0.9);
    opacity: 0.8;
  }
  75% {
    transform: translateY(-30px) scale(1.05);
    opacity: 0.4;
  }
}

/* 文字内容3D变换动画 */
.smart-inspection .text-content {
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.smart-inspection .text-content h2 {
  opacity: 0;
  transform: rotateX(-90deg) translateZ(-50px);
  transform-origin: bottom center;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.smart-inspection.a6-animate .text-content h2 {
  opacity: 1;
  transform: rotateX(0deg) translateZ(0px);
  animation: textReveal3D 2.5s ease-out forwards;
}

@keyframes textReveal3D {
  0% {
    opacity: 0;
    transform: rotateX(-90deg) translateZ(-50px) scale(0.7);
  }
  40% {
    opacity: 0.8;
    transform: rotateX(-30deg) translateZ(-20px) scale(0.9);
  }
  70% {
    opacity: 0.95;
    transform: rotateX(15deg) translateZ(15px) scale(1.1);
  }
  100% {
    opacity: 1;
    transform: rotateX(0deg) translateZ(0px) scale(1);
  }
}

/* 段落文字逐字显示动画 */
.smart-inspection .text-content p {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.smart-inspection.a6-animate .text-content p {
  opacity: 1;
  transform: translateY(0);
  animation: typewriterReveal 3s ease-out 0.8s forwards;
}

@keyframes typewriterReveal {
  0% {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(5px);
  }
  20% {
    opacity: 0.3;
    transform: translateY(15px);
    filter: blur(3px);
  }
  50% {
    opacity: 0.7;
    transform: translateY(5px);
    filter: blur(1px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
  }
}

/* 按钮磁性悬浮效果 */
.smart-inspection .btn {
  position: relative;
  overflow: hidden;
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.6s ease-out;
}

.smart-inspection.a6-animate .btn {
  transform: translateY(0);
  opacity: 1;
  animation: buttonMagneticFloat 4s ease-in-out 1.5s infinite;
}

@keyframes buttonMagneticFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 5px 15px rgba(0, 87, 194, 0.3);
  }
  25% {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 87, 194, 0.4);
  }
  50% {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 6px 20px rgba(0, 87, 194, 0.35);
  }
  75% {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 10px 30px rgba(0, 87, 194, 0.45);
  }
}

/* 按钮内部光波效果 */
.smart-inspection .btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.6s ease-out;
  z-index: 1;
}

.smart-inspection.a6-animate .btn:hover::before {
  width: 200px;
  height: 200px;
  animation: rippleEffect 1.2s ease-out;
}

@keyframes rippleEffect {
  0% {
    width: 0;
    height: 0;
    opacity: 0.8;
  }
  50% {
    width: 100px;
    height: 100px;
    opacity: 0.4;
  }
  100% {
    width: 200px;
    height: 200px;
    opacity: 0;
  }
}

/* 整体容器进入动画 */
.smart-inspection.a6-animate {
  animation: sectionSlideIn 1.5s ease-out forwards;
}

@keyframes sectionSlideIn {
  0% {
    transform: translateX(-100px);
    opacity: 0;
    filter: blur(10px);
  }
  30% {
    transform: translateX(-30px);
    opacity: 0.3;
    filter: blur(5px);
  }
  70% {
    transform: translateX(10px);
    opacity: 0.8;
    filter: blur(1px);
  }
  100% {
    transform: translateX(0);
    opacity: 1;
    filter: blur(0px);
  }
}

/* 无人机巡航系统首页动画效果样式 */

/* ===== 基础动画配置 ===== */
:root {
  --animation-duration-fast: 0.3s;
  --animation-duration-normal: 0.6s;
  --animation-duration-slow: 1.2s;
  --animation-easing: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --animation-easing-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ===== 页面可见性控制 ===== */
/* 当页面不可见时暂停所有动画 */
.page-hidden * {
  animation-play-state: paused !important;
  transition-duration: 0s !important;
}

/* 确保动画在页面可见时正常运行 */
.page-visible * {
  animation-play-state: running;
}

/* GPU加速优化 */
.gpu-accelerated {
  will-change: transform, opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
    padding-top: 70px;
}

/* 减少动画偏好设置支持 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}



/* 地图控制按钮动画 */
.map-control-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 悬停动画效果 */
.map-control-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 87, 194, 0.15);
  background-color: var(--primary-color) !important;
  color: var(--white) !important;
}

/* 点击动画效果 */
.map-control-btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 8px rgba(0, 87, 194, 0.2);
}

/* 激活状态过渡动画 */
.map-control-btn.map-active {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 87, 194, 0.25);
}

/* 波纹点击效果 */
.map-control-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.map-control-btn:active::before {
  width: 300px;
  height: 300px;
}

/* 入场动画 */
@keyframes mapBtnSlideIn {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.map-controls {
  animation: mapControlsSlideUp 0.8s ease-out;
}

@keyframes mapControlsSlideUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.map-control-btn:nth-child(1) {
  animation: mapBtnSlideIn 0.6s ease-out 0.1s both;
}

.map-control-btn:nth-child(2) {
  animation: mapBtnSlideIn 0.6s ease-out 0.2s both;
}

.map-control-btn:nth-child(3) {
  animation: mapBtnSlideIn 0.6s ease-out 0.3s both;
}

/* 波纹动画关键帧 */
@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}

/* 移动端适配 */
@media (max-width: 768px) {
  .map-control-btn:hover {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 4px 15px rgba(0, 87, 194, 0.12);
  }
  
  .map-control-btn:active::before {
    width: 200px;
    height: 200px;
  }
}


.contact-header {
  position: relative;
  overflow: hidden;
}

.contact-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 40%, rgba(54, 203, 203, 0.15) 0%, transparent 60%),
              radial-gradient(circle at 70% 60%, rgba(0, 87, 194, 0.12) 0%, transparent 60%),
              radial-gradient(circle at 50% 20%, rgba(54, 203, 203, 0.08) 0%, transparent 50%);
  opacity: 0;
  animation: contactParticleFloat 10s ease-in-out infinite;
  z-index: 1;
}

.contact-header.contact-a6-animate::before {
  opacity: 1;
}

@keyframes contactParticleFloat {
  0%, 100% {
    transform: translateY(0) scale(1) rotate(0deg);
    opacity: 0.4;
  }
  25% {
    transform: translateY(-15px) scale(1.1) rotate(90deg);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-8px) scale(0.95) rotate(180deg);
    opacity: 0.9;
  }
  75% {
    transform: translateY(-25px) scale(1.05) rotate(270deg);
    opacity: 0.5;
  }
}

.contact-header .header-inner {
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
  perspective: 1200px;
}

.contact-header .header-inner h1 {
  opacity: 0;
  transform: rotateY(-90deg) translateZ(-60px);
  transform-origin: center center;
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contact-header.contact-a6-animate .header-inner h1 {
  opacity: 1;
  transform: rotateY(0deg) translateZ(0px);
  animation: contactTitle3D 2.8s ease-out forwards;
}

@keyframes contactTitle3D {
  0% {
    opacity: 0;
    transform: rotateY(-90deg) translateZ(-60px) scale(0.7);
  }
  40% {
    opacity: 0.8;
    transform: rotateY(-30deg) translateZ(-20px) scale(0.9);
  }
  70% {
    opacity: 0.95;
    transform: rotateY(15deg) translateZ(15px) scale(1.1);
  }
  100% {
    opacity: 1;
    transform: rotateY(0deg) translateZ(0px) scale(1);
  }
}

.contact-header .header-inner p {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.contact-header.contact-a6-animate .header-inner p {
  opacity: 1;
  transform: translateY(0);
  animation: contactSubtitleReveal 3.2s ease-out 0.6s forwards;
}

@keyframes contactSubtitleReveal {
  0% {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(8px);
  }
  30% {
    opacity: 0.4;
    transform: translateY(20px);
    filter: blur(4px);
  }
  70% {
    opacity: 0.8;
    transform: translateY(5px);
    filter: blur(1px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
  }
}


.contact-hotline {
  position: relative;
  overflow: hidden;
}

.contact-hotline .hotline-number {
  opacity: 0;
  transform: scale(0.5);
  transition: all 1s ease-out;
}

.contact-hotline.contact-a6-animate .hotline-number {
  opacity: 1;
  transform: scale(1);
  animation: numberCountUp 2.5s ease-out forwards;
}

@keyframes numberCountUp {
  0% {
    opacity: 0;
    transform: scale(0.5) rotateX(-180deg);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.2) rotateX(-90deg);
  }
  80% {
    opacity: 0.9;
    transform: scale(1.1) rotateX(-30deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotateX(0deg);
  }
}

.contact-hotline .hotline-buttons .hotline-btn {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s ease-out;
}

.contact-hotline.contact-a6-animate .hotline-buttons .hotline-btn {
  opacity: 1;
  transform: translateY(0);
  animation: buttonMagneticRise 2s ease-out forwards;
}

.contact-hotline.contact-a6-animate .hotline-buttons .hotline-btn:nth-child(1) {
  animation-delay: 0.3s;
}

.contact-hotline.contact-a6-animate .hotline-buttons .hotline-btn:nth-child(2) {
  animation-delay: 0.6s;
}

@keyframes buttonMagneticRise {
  0% {
    opacity: 0;
    transform: translateY(60px) scale(0.8);
    box-shadow: 0 0 0 rgba(0, 87, 194, 0);
  }
  60% {
    opacity: 0.8;
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 87, 194, 0.3);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    box-shadow: 0 8px 20px rgba(0, 87, 194, 0.2);
  }
}


.contact-cards {
  position: relative;
}

.contact-cards .qrcode-card,
.contact-cards .info-card,
.contact-cards .info-card-list-item {
  opacity: 0;
  transform: translateX(-100px) rotateY(-45deg);
  transition: all 1s ease-out;
}

.contact-cards.contact-a6-animate .qrcode-card {
  opacity: 1;
  transform: translateX(0) rotateY(0deg);
  animation: cardFlyIn 1.5s ease-out forwards;
  animation-delay: 0.2s;
}

.contact-cards.contact-a6-animate .info-card {
  opacity: 1;
  transform: translateX(0) rotateY(0deg);
  animation: cardFlyIn 1.5s ease-out forwards;
  animation-delay: 0.4s;
}

.contact-cards.contact-a6-animate .info-card-list-item:nth-child(1) {
  opacity: 1;
  transform: translateX(0) rotateY(0deg);
  animation: cardFlyIn 1.5s ease-out forwards;
  animation-delay: 0.6s;
}

.contact-cards.contact-a6-animate .info-card-list-item:nth-child(2) {
  opacity: 1;
  transform: translateX(0) rotateY(0deg);
  animation: cardFlyIn 1.5s ease-out forwards;
  animation-delay: 0.8s;
}

@keyframes cardFlyIn {
  0% {
    opacity: 0;
    transform: translateX(-100px) rotateY(-45deg) scale(0.8);
  }
  60% {
    opacity: 0.8;
    transform: translateX(20px) rotateY(10deg) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateX(0) rotateY(0deg) scale(1);
  }
}


.contact-form {
  position: relative;
}

.contact-form .form-title h2,
.contact-form .form-title p {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.contact-form.contact-a6-animate .form-title h2 {
  opacity: 1;
  transform: translateY(0);
  animation: formTitleReveal 2s ease-out forwards;
}

.contact-form.contact-a6-animate .form-title p {
  opacity: 1;
  transform: translateY(0);
  animation: formTitleReveal 2s ease-out 0.3s forwards;
}

@keyframes formTitleReveal {
  0% {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
  }
}

.contact-form .form-group {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease-out;
}

.contact-form.contact-a6-animate .form-group:nth-child(1) {
  opacity: 1;
  transform: translateX(0);
  animation: formFieldSlideIn 1.2s ease-out 0.5s forwards;
}

.contact-form.contact-a6-animate .form-group:nth-child(2) {
  opacity: 1;
  transform: translateX(0);
  animation: formFieldSlideIn 1.2s ease-out 0.7s forwards;
}

.contact-form.contact-a6-animate .form-group:nth-child(3) {
  opacity: 1;
  transform: translateX(0);
  animation: formFieldSlideIn 1.2s ease-out 0.9s forwards;
}

.contact-form.contact-a6-animate .form-group:nth-child(4) {
  opacity: 1;
  transform: translateX(0);
  animation: formFieldSlideIn 1.2s ease-out 1.1s forwards;
}

@keyframes formFieldSlideIn {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.contact-form .submit-btn {
  opacity: 0;
  transform: translateY(40px) scale(0.9);
  transition: all 0.8s ease-out;
}

.contact-form.contact-a6-animate .submit-btn {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: submitButtonRise 2s ease-out 1.5s forwards;
}

@keyframes submitButtonRise {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
    box-shadow: 0 0 0 rgba(0, 87, 194, 0);
  }
  70% {
    opacity: 0.9;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 87, 194, 0.4);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    box-shadow: 0 8px 20px rgba(0, 87, 194, 0.3);
  }
}


.customized-solutions {
  position: relative;
  overflow: hidden;
}

.customized-solutions::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(54, 203, 203, 0.1) 0%, transparent 50%),
              linear-gradient(-45deg, rgba(0, 87, 194, 0.1) 0%, transparent 50%);
  opacity: 0;
  animation: solutionsBackgroundFlow 8s ease-in-out infinite;
  z-index: 1;
}

.customized-solutions.contact-a6-animate::before {
  opacity: 1;
}

@keyframes solutionsBackgroundFlow {
  0%, 100% {
    transform: translateX(0) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translateX(20px) scale(1.1);
    opacity: 0.6;
  }
}

.customized-solutions .customized-solutions-content {
  position: relative;
  z-index: 2;
  opacity: 1;
  transform: translateX(0);
  transition: all 1.2s ease-out;
}

.customized-solutions.contact-a6-animate .customized-solutions-content {
  opacity: 1;
  transform: translateX(0);
  animation: solutionsSlideIn 2s ease-out forwards;
}

@keyframes solutionsSlideIn {
  0% {
    opacity: 0;
    transform: translateX(-80px);
    filter: blur(8px);
  }
  60% {
    opacity: 0.8;
    transform: translateX(10px);
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0px);
  }
}

.customized-solutions .customized-solutions-btns .btn {
  position: relative;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease-out;
}

.customized-solutions.contact-a6-animate .customized-solutions-btns .btn:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  animation: solutionsButtonRise 1.5s ease-out 0.5s forwards;
}

.customized-solutions.contact-a6-animate .customized-solutions-btns .btn:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  animation: solutionsButtonRise 1.5s ease-out 0.8s forwards;
}

@keyframes solutionsButtonRise {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 按钮光波效果 */
.customized-solutions .btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.6s ease-out;
  z-index: 1;
}

.customized-solutions.contact-a6-animate .btn:hover::before {
  width: 200px;
  height: 200px;
  animation: contactRippleEffect 1.2s ease-out;
}

@keyframes contactRippleEffect {
  0% {
    width: 0;
    height: 0;
    opacity: 0.8;
  }
  50% {
    width: 100px;
    height: 100px;
    opacity: 0.4;
  }
  100% {
    width: 200px;
    height: 200px;
    opacity: 0;
  }
}

/* Cases页面关键帧动画 */
@keyframes casesBannerGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes casesBannerFadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes casesTextSlideUp {
  0% {
    opacity: 0;
    transform: translateY(50px) rotateX(30deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

@keyframes casesNumberPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@keyframes casesCustomizedPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.6;
  }
}

@keyframes casesCustomizedTextGlow {
  0% {
    text-shadow: 0 0 5px rgba(0, 87, 194, 0.3);
  }
  100% {
    text-shadow: 0 0 20px rgba(0, 87, 194, 0.6), 0 0 30px rgba(0, 87, 194, 0.4);
  }
}

/* 移动端Cases页面动画适配 */
@media (max-width: 768px) {
  .cases-banner .carousel-content h1 {
    animation-duration: 1.2s;
  }
  
  .cases-banner .carousel-content p {
    animation-duration: 1.5s;
  }
  
  .case-page-item {
    transition-duration: 0.6s;
  }
  
  .case-page-item:hover {
    transform: translateY(-5px) scale(1.01);
  }
  
  .stat-values-item:hover {
    transform: scale(1.05) rotateY(-3deg);
  }
  
  .case-page-image img:hover {
    transform: scale(1.03) rotateZ(-0.5deg);
  }
  
  .customized-solutions-btns .btn:hover {
    transform: translateY(-2px) scale(1.02);
  }
}

/* 移动端Contact页面动画简化 */
@media (max-width: 768px) {
  .contact-header.contact-a6-animate .header-inner h1 {
    animation-duration: 1.5s;
  }
  
  .contact-header.contact-a6-animate .header-inner p {
    animation-duration: 2s;
  }
  
  .contact-hotline.contact-a6-animate .hotline-number {
    animation-duration: 1.8s;
  }
  
  .contact-cards.contact-a6-animate .qrcode-card,
  .contact-cards.contact-a6-animate .info-card,
  .contact-cards.contact-a6-animate .info-card-list-item {
    animation-duration: 1.2s;
  }
  
  .contact-form.contact-a6-animate .form-group {
    animation-duration: 1s;
  }
  
  .customized-solutions.contact-a6-animate .customized-solutions-content {
    animation-duration: 1.5s;
  }
}



/* 案例路由区域动画 */

.case-router::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><radialGradient id="g" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="20" cy="20" r="2" fill="url(%23g)"><animate attributeName="cx" values="20;80;20" dur="8s" repeatCount="indefinite"/><animate attributeName="cy" values="20;80;20" dur="6s" repeatCount="indefinite"/></circle><circle cx="80" cy="80" r="1.5" fill="url(%23g)"><animate attributeName="cx" values="80;20;80" dur="10s" repeatCount="indefinite"/><animate attributeName="cy" values="80;20;80" dur="7s" repeatCount="indefinite"/></circle><circle cx="50" cy="10" r="1" fill="url(%23g)"><animate attributeName="cx" values="50;10;50" dur="12s" repeatCount="indefinite"/><animate attributeName="cy" values="10;90;10" dur="9s" repeatCount="indefinite"/></circle></svg>') repeat;
  opacity: 0.3;
  animation: caseDetailParticleFloat 20s linear infinite;
}

@keyframes caseDetailParticleFloat {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-100px) rotate(360deg); }
}

/* 面包屑导航动画 */
.breadcrumb {
  opacity: 0;
  transform: translateY(-30px);
  animation: caseDetailBreadcrumbSlideIn 0.8s ease-out 0.2s forwards;
}

@keyframes caseDetailBreadcrumbSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.breadcrumb a, .breadcrumb span {
  display: inline-block;
  transition: all 0.3s ease;
}

.breadcrumb a:hover {
  transform: translateY(-2px);
  color: #fff;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

