/* === 企业级视觉增强样式 === */
/* 大型互联网厂全面感觉优化 */

/* 全局增强 */
:root {
  --enterprise-primary: #4F6EF7;
  --enterprise-secondary: #6C63FF;
  --enterprise-accent: #00D4AA;
  --section-padding-enterprise: 120px;
}

/* 高级渐变背景网格 */
.hero-enterprise {
  position: relative;
  overflow: hidden;
}

.hero-enterprise::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(79, 110, 247, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(108, 99, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(0, 212, 170, 0.1) 0%, transparent 50%);
  animation: gradientShift 15s ease infinite;
  z-index: 0;
}

@keyframes gradientShift {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* 网格动画背景 */
.grid-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(79, 110, 247, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 110, 247, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
  z-index: 0;
}

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

/* 浮动元素装饰 */
.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
}

.floating-element {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: float 8s ease-in-out infinite;
}

.floating-element:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; }
.floating-element:nth-child(2) { top: 60%; left: 85%; animation-delay: 2s; }
.floating-element:nth-child(3) { top: 80%; left: 20%; animation-delay: 4s; }
.floating-element:nth-child(4) { top: 30%; left: 70%; animation-delay: 1s; }

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

/* 数据统计增强 */
.stats-enterprise {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  padding: 80px 0;
}

.stat-card-enterprise {
  text-align: center;
  padding: 40px 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.stat-card-enterprise::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--enterprise-primary), var(--enterprise-accent));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.stat-card-enterprise:hover::before {
  transform: scaleX(1);
}

.stat-card-enterprise:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(79, 110, 247, 0.3);
}

.stat-number-enterprise {
  font-size: 56px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--enterprise-primary), var(--enterprise-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin-bottom: 12px;
}

.stat-label-enterprise {
  font-size: 18px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Logo墙增强 */
.logo-wall {
  padding: 60px 0;
  overflow: hidden;
  position: relative;
}

.logo-wall::before,
.logo-wall::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.logo-wall::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-primary), transparent);
}

.logo-wall::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg-primary), transparent);
}

.logo-track {
  display: flex;
  gap: 60px;
  animation: logoScroll 30s linear infinite;
  width: max-content;
}

.logo-item {
  flex-shrink: 0;
  width: 160px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 20px;
  transition: all 0.3s ease;
}

.logo-item:hover {
  transform: scale(1.05);
  border-color: var(--enterprise-primary);
}

.logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes logoScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 卡片悬停3D效果 */
.card-3d {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.card-3d:hover {
  transform: rotateY(5deg) rotateX(-5deg) translateY(-8px);
  box-shadow: 
    -20px 20px 60px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(79, 110, 247, 0.2);
}

/* 视差滚动效果 */
.parallax-section {
  position: relative;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 120%;
  height: 140%;
  background: radial-gradient(circle at 50% 50%, var(--enterprise-primary) 0%, transparent 50%);
  opacity: 0.05;
  will-change: transform;
}

/* 加载动画增强 */
.loader-enterprise {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader-enterprise.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  width: 80px;
  height: 80px;
  margin-bottom: 30px;
  animation: loaderPulse 1.5s ease-in-out infinite;
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.7; }
}

.loader-bar {
  width: 200px;
  height: 4px;
  background: var(--glass-bg);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}

.loader-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--enterprise-primary), var(--enterprise-accent));
  border-radius: 2px;
  animation: loaderProgress 2s ease-in-out infinite;
}

@keyframes loaderProgress {
  0% { width: 0%; }
  50% { width: 70%; }
  100% { width: 100%; }
}

/* 滚动进度指示器增强 */
.scroll-progress-enterprise {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 10001;
}

.scroll-progress-enterprise .progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--enterprise-primary), var(--enterprise-accent), var(--enterprise-primary));
  background-size: 200% 100%;
  animation: progressGradient 3s linear infinite;
  width: 0%;
  transition: width 0.1s ease;
}

@keyframes progressGradient {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* 按钮光晕效果 */
.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  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 ease, height 0.6s ease;
}

.btn-glow:hover::after {
  width: 300px;
  height: 300px;
}

/* 文字渐变增强 */
.text-gradient-enterprise {
  background: linear-gradient(135deg, var(--enterprise-primary), var(--enterprise-accent), var(--enterprise-secondary));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textGradient 4s linear infinite;
}

@keyframes textGradient {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* 响应式优化 */
@media (max-width: 768px) {
  :root {
    --section-padding-enterprise: 80px;
  }
  
  .stat-number-enterprise {
    font-size: 42px;
  }
  
  .stats-enterprise {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .logo-item {
    width: 120px;
    height: 60px;
  }
}

/* 暗色模式适配 */
[data-theme="dark"] .hero-enterprise::before {
  background: 
    radial-gradient(circle at 20% 50%, rgba(79, 110, 247, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(108, 99, 255, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(0, 212, 170, 0.15) 0%, transparent 50%);
}

[data-theme="dark"] .logo-wall::before {
  background: linear-gradient(90deg, var(--bg-primary), transparent);
}

[data-theme="dark"] .logo-wall::after {
  background: linear-gradient(270deg, var(--bg-primary), transparent);
}
