/* ========================================
   星羽创媒 - Tech Innovation 主题增强
   添加霓虹发光效果和科技感动效
   ======================================== */

/* === 霓虹边框效果 === */
.neon-border {
  border: 1px solid rgba(0,255,255,0.3);
  box-shadow: 
    0 0 10px rgba(0,255,255,0.1),
    inset 0 0 10px rgba(0,255,255,0.05);
}

/* === 霓虹文本效果 === */
.neon-text {
  color: var(--primary-light);
  text-shadow: 
    0 0 10px rgba(0,255,255,0.5),
    0 0 20px rgba(0,255,255,0.3),
    0 0 30px rgba(0,255,255,0.2);
}

/* === 霓虹按钮 === */
.neon-btn {
  background: var(--gradient-neon);
  color: var(--white);
  border: none;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 
    0 4px 15px rgba(0,102,255,0.4),
    0 0 30px rgba(0,255,255,0.2);
}

.neon-btn:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 6px 20px rgba(0,102,255,0.5),
    0 0 50px rgba(0,255,255,0.3);
}

/* === 科技网格背景 === */
.tech-grid-bg {
  background-image: 
    linear-gradient(rgba(0,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* === 霓虹扫描线动画 === */
@keyframes neonScan {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(100vh);
    opacity: 0;
  }
}

.neon-scan {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0,255,255,0.5), transparent);
  animation: neonScan 4s ease-in-out infinite;
}

/* === 霓虹脉冲动画 === */
@keyframes neonPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0,255,255,0.2);
  }
  50% {
    box-shadow: 
      0 0 30px rgba(0,255,255,0.4),
      0 0 60px rgba(0,102,255,0.2);
  }
}

.neon-pulse {
  animation: neonPulse 2s ease-in-out infinite;
}

/* === 霓虹浮动动画 === */
@keyframes neonFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.neon-float {
  animation: neonFloat 3s ease-in-out infinite;
}

/* === 霓虹闪烁动画 === */
@keyframes neonFlicker {
  0%, 100% {
    opacity: 1;
  }
  41% {
    opacity: 1;
  }
  42% {
    opacity: 0.8;
  }
  43% {
    opacity: 1;
  }
  44% {
    opacity: 0.9;
  }
  45% {
    opacity: 1;
  }
}

.neon-flicker {
  animation: neonFlicker 5s ease-in-out infinite;
}

/* === 科技卡片效果 === */
.tech-card {
  background: var(--dark-card);
  border: 1px solid rgba(0,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-neon);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tech-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0,255,255,0.3);
  box-shadow: 
    0 10px 40px rgba(0,0,0,0.3),
    0 0 30px rgba(0,255,255,0.1);
}

.tech-card:hover::before {
  opacity: 1;
}

/* === 科技徽章效果 === */
.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,255,255,0.1);
  border: 1px solid rgba(0,255,255,0.2);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--primary-light);
  box-shadow: 0 0 15px rgba(0,255,255,0.1);
}

.tech-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--primary-light);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

/* === 脉冲动画 === */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

/* === 科技链接效果 === */
.tech-link {
  color: var(--primary-light);
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

.tech-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-neon);
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(0,255,255,0.3);
}

.tech-link:hover {
  text-shadow: 0 0 10px rgba(0,255,255,0.5);
}

.tech-link:hover::after {
  width: 100%;
}

/* === 渐变文字效果 === */
.gradient-text {
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === 科技分隔线 === */
.tech-divider {
  height: 1px;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(0,255,255,0.3), 
    rgba(0,102,255,0.3), 
    transparent);
  margin: 40px 0;
}

/* === 科技图标容器 === */
.tech-icon {
  width: 56px;
  height: 56px;
  background: rgba(0,255,255,0.08);
  border: 1px solid rgba(0,255,255,0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(0,255,255,0.05);
}

.tech-card:hover .tech-icon {
  background: rgba(0,255,255,0.12);
  border-color: rgba(0,255,255,0.25);
  box-shadow: 
    0 0 30px rgba(0,255,255,0.1),
    inset 0 0 20px rgba(0,255,255,0.05);
  transform: scale(1.05);
}

/* === 响应式科技效果 === */
@media (max-width: 768px) {
  .tech-grid-bg {
    background-size: 30px 30px;
  }
  
  .neon-btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
  
  .tech-card {
    padding: 24px;
  }
  
  .tech-icon {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }
}
