/* Tech Effects CSS - 添加科技感效果 */

/* 全局背景渐变 */
.gradient-bg {
  background: linear-gradient(135deg, #0c1445 0%, #1e3a8a 50%, #0e2a68 100%);
  color: #ffffff;
}

/* 炫彩边框效果 */
.tech-border {
  border: 1px solid transparent;
  border-radius: 8px;
  /* 移除渐变背景 */
  /* background: linear-gradient(to right, #00c6ff, #0072ff); */
  background: rgba(10, 25, 60, 0.7);
  background-clip: padding-box;
  position: relative;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 4px 20px rgba(0, 119, 255, 0.3);
}

.tech-border::before {
  /* 移除动画渐变边框 */
  /* content: '';
  position: absolute;
  top: -2px; right: -2px; bottom: -2px; left: -2px;
  z-index: -1;
  border-radius: 10px;
  background: linear-gradient(45deg, #12c2e9, #c471ed, #f64f59);
  animation: border-glow 4s linear infinite; */
}

/* 科技感盒子 */
.tech-box {
  background: rgba(7, 11, 52, 0.5);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 80, 255, 0.2);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.tech-box::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(0, 195, 255, 0.1) 0%,
    rgba(0, 95, 255, 0.05) 50%,
    transparent 100%
  );
  z-index: 0;
  pointer-events: none;
}

/* 科技感标题 */
.tech-title {
  /* 注释掉可能导致文字颜色问题的设置 */
  /* background: linear-gradient(90deg, #00dbde, #fc00ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent; */
  
  /* 使用更安全的设置 */
  color: #4db8ff;
  display: inline-block;
  font-weight: bold;
  position: relative;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

/* 科技卡片 */
.tech-card {
  background: rgba(10, 20, 66, 0.7);
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 119, 255, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.tech-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 204, 255, 0.4);
}

.tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #00f260, #0575e6);
}

/* 动画效果 */
@keyframes border-glow {
  0% { opacity: 1; }
  50% { opacity: 0.6; }
  100% { opacity: 1; }
}

/* 图标脉冲效果 */
.icon-pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* 确保文字与背景对比度 */
.tech-box p, .tech-card p, .tech-border p {
  color: #e0e7ff;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* 自适应调整 */
@media (max-width: 768px) {
  .tech-box, .tech-card, .tech-border {
    padding: 15px;
  }
} 