/* ===== Hero Section样式 ===== */
.hero {
  min-height: calc(100vh - var(--navbar-height));
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1A365D 0%, #2B6CB0 100%);
  color: white;
  position: relative;
  overflow: hidden;
  padding: 100px 60px 60px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><line x1="0" y1="0" x2="100" y2="100" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/><line x1="100" y1="0" x2="0" y2="100" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></svg>');
  background-size: 100px 100px;
}

.hero-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  padding-right: 60px;
}

.hero h1 {
  font-size: 58px;
  font-weight: 700;
  margin-bottom: 28px;
  line-height: 1.3;
  display: inline;
  white-space: nowrap;
  background: linear-gradient(135deg, #ffffff 0%, #e8f4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 24px;
  background: linear-gradient(90deg, #4a9eff 0%, #67c8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.6;
}

.hero-note {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.12);
  border-left: 4px solid var(--accent-tech);
  border-radius: 0 8px 8px 0;
  line-height: 1.8;
}

/* ===== Hero CTA按钮 ===== */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 48px;
  background: linear-gradient(135deg, var(--accent-tech) 0%, #3b82f6 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 32px;
  box-shadow: 0 6px 24px rgba(31, 111, 229, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(31, 111, 229, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* ===== Hero视觉区域（3D动画） ===== */
.hero-visual {
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  perspective: 1000px;
  transform-style: preserve-3d;
}

/* ===== 3D Cube动画 ===== */
.tech-core {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cube-container {
  width: 200px;
  height: 200px;
  position: relative;
  transform-style: preserve-3d;
  animation: rotateCube 40s linear infinite;
}

.cube-face {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 2px solid rgba(31, 111, 229, 0.4);
  background: rgba(31, 111, 229, 0.05);
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: var(--accent-tech);
}

.cube-face-front { transform: translateZ(100px); }
.cube-face-back { transform: rotateY(180deg) translateZ(100px); }
.cube-face-right { transform: rotateY(90deg) translateZ(100px); }
.cube-face-left { transform: rotateY(-90deg) translateZ(100px); }
.cube-face-top { transform: rotateX(90deg) translateZ(100px); }
.cube-face-bottom { transform: rotateX(-90deg) translateZ(100px); }

/* ===== 轨道环动画 ===== */
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(31, 111, 229, 0.3);
  transform-style: preserve-3d;
}

.orbit-ring-1 {
  width: 300px;
  height: 300px;
  animation: rotateRing1 30s linear infinite;
}

.orbit-ring-2 {
  width: 380px;
  height: 380px;
  animation: rotateRing2 40s linear infinite;
}

.orbit-ring-3 {
  width: 460px;
  height: 460px;
  animation: rotateRing3 50s linear infinite;
}

/* ===== 粒子动画 ===== */
.particle {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--accent-tech);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--accent-tech), 0 0 40px var(--accent-tech);
  animation: pulse 2s ease-in-out infinite;
}

.particle-1 { top: 0; left: 50%; transform: translateX(-50%); }
.particle-2 { bottom: 0; left: 50%; transform: translateX(-50%); animation-delay: 0.5s; }
.particle-3 { top: 50%; left: 0; transform: translateY(-50%); animation-delay: 1s; }
.particle-4 { top: 50%; right: 0; transform: translateY(-50%); animation-delay: 1.5s; }

.data-point {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #1F6FE5;
  border-radius: 50%;
  animation: floatData 4s ease-in-out infinite;
}

.data-point::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(31, 111, 229, 0.3);
  border-radius: 50%;
  top: -7px;
  left: -7px;
  animation: ripple 2s ease-out infinite;
}

/* ===== Keyframe动画 ===== */
@keyframes rotateCube {
  from { transform: rotateX(0deg) rotateY(0deg); }
  to { transform: rotateX(360deg) rotateY(360deg); }
}

@keyframes rotateRing1 {
  from { transform: rotateX(60deg) rotateZ(0deg); }
  to { transform: rotateX(60deg) rotateZ(360deg); }
}

@keyframes rotateRing2 {
  from { transform: rotateX(-60deg) rotateZ(0deg); }
  to { transform: rotateX(-60deg) rotateZ(360deg); }
}

@keyframes rotateRing3 {
  from { transform: rotateZ(0deg); }
  to { transform: rotateZ(360deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
}

@keyframes floatData {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes ripple {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

/* ===== 移动端响应式 ===== */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 42px;
  }
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-text {
    padding-right: 0;
  }

  .hero-visual {
    display: none;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero {
    padding: 60px 30px 40px;
  }

  .hero-content {
    padding: 0;
  }
}
