/* ============================================
   易云拓 · 视觉特效层（不影响 SEO 正文）
   ============================================ */

/* 背景特效容器 */
.fx-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

#particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: orbFloat 18s ease-in-out infinite;
}

.glow-1 {
  width: 520px;
  height: 520px;
  top: -180px;
  right: -120px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.5), transparent 70%);
}

.glow-2 {
  width: 420px;
  height: 420px;
  bottom: 10%;
  left: -100px;
  background: radial-gradient(circle, rgba(139, 108, 255, 0.4), transparent 70%);
  animation-delay: -6s;
}

.glow-3 {
  width: 300px;
  height: 300px;
  top: 45%;
  right: 15%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.25), transparent 70%);
  animation-delay: -12s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

/* 扫描线（Hero 区域） */
.hero-scanline {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 212, 255, 0.015) 2px,
    rgba(0, 212, 255, 0.015) 4px
  );
  pointer-events: none;
  animation: scanMove 12s linear infinite;
}

@keyframes scanMove {
  0% { transform: translateY(0); }
  100% { transform: translateY(48px); }
}

/* 大标题光晕 */
.hero-glow-title {
  position: relative;
}

.hero-glow-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 120px;
  height: 4px;
  background: var(--gradient-brand);
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
}

/* 卡片光边动画 */
.card-glow {
  position: relative;
  overflow: hidden;
}

.card-glow::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(0, 212, 255, 0.08), transparent 30%);
  animation: cardRotate 8s linear infinite;
  pointer-events: none;
}

@keyframes cardRotate {
  100% { transform: rotate(360deg); }
}

/* 滚动入场动画 */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* 内页 Hero 增强 */
.page-hero-inner {
  position: relative;
}

.page-hero-inner::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  top: -60px;
  right: 0;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.15), transparent);
  pointer-events: none;
}

.page-hero h1 {
  background: linear-gradient(135deg, #fff 0%, #b4d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 数字脉冲 */
.stat-item .num {
  animation: numPulse 3s ease-in-out infinite;
}

@keyframes numPulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.15); }
}

/* CTA 光带 */
.cta-band {
  animation: ctaShimmer 6s ease-in-out infinite;
}

@keyframes ctaShimmer {
  0%, 100% { box-shadow: 0 0 0 rgba(0, 102, 255, 0); }
  50% { box-shadow: 0 0 60px rgba(0, 102, 255, 0.15); }
}

/* AI 流程连接线 */
.ai-step {
  position: relative;
}

.ai-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 31px;
  bottom: -14px;
  width: 2px;
  height: 14px;
  background: linear-gradient(180deg, var(--primary), transparent);
  opacity: 0.5;
}

/* 平台标签 hover */
.platform-badge {
  transition: all var(--transition);
}

.platform-badge:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.2);
  transform: translateY(-2px);
}

/* 减弱动画（无障碍 + 性能） */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .glow-orb, .hero-scanline, .card-glow::before, .stat-item .num, .cta-band { animation: none; }
  #particles { display: none; }
}

@media (max-width: 768px) {
  .glow-orb { opacity: 0.25; filter: blur(60px); }
  #particles { opacity: 0.35; }
}
