/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f2037 0%, #162d4d 55%, #0d1e33 100%);
  background-size: cover;
  background-position: center;
  width: 100%;
  overflow: hidden;
  padding: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 24%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.05), transparent 28%);
  opacity: 0.3;
}

@keyframes gridShift {
  to {
    transform: translate(48px, 48px);
  }
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.28;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, transparent 70%);
  top: -10%;
  right: -12%;
  animation: orbFloat1 14s ease-in-out infinite;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(180, 150, 110, 0.12) 0%, transparent 70%);
  bottom: -10%;
  left: -8%;
  animation: orbFloat2 16s ease-in-out infinite;
}

.hero-orb-3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(75, 110, 145, 0.12) 0%, transparent 70%);
  top: 42%;
  left: 32%;
  animation: orbFloat3 11s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-30px, 24px) scale(1.05);
  }
}

@keyframes orbFloat2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(24px, -30px) scale(1.04);
  }
}

@keyframes orbFloat3 {
  0%,
  100% {
    transform: translate(0, 0);
  }

  33% {
    transform: translate(16px, -16px);
  }

  66% {
    transform: translate(-12px, 12px);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  max-width: 860px;
  width: 100%;
}

.hero-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-light);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 22px;
  border-radius: 24px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.14;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.4s forwards;
}

.hero-title .accent {
  color: var(--accent-light);
}

.hero-center-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  line-height: 10px;
  text-align: center;
  border-radius: 50%;
  background: #fff;
  color: transparent;
  /* use background circle instead of visible character */
  margin: 0 6px;
  vertical-align: middle;
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(244, 247, 255, 0.82);
  line-height: 1.9;
  font-weight: 400;
  margin-bottom: 42px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.6s forwards;
}

.hero-btns {
  display: flex;
  gap: 48px;
  /* 加大两个按钮之间的距离，使其离中心线更远 */
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.8s forwards;
  margin-bottom: 28px;
  /* 与下方 scroll 指示分隔 */
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 40px;
  /* 统一大小 */
  min-width: 220px;
  /* 保持一致宽度 */
  border-radius: 28px;
  /* 统一圆角 */
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  letter-spacing: 0.03em;
  box-shadow: 0 12px 28px rgba(15, 32, 55, 0.14);
  text-align: center;
}

/* 保持主/次按钮的配色差异，但外观一致 */
.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.hero-scroll {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-on-dark-muted);
  font-size: 0.72rem;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  opacity: 0;
  animation: fadeUp 0.8s ease 1.2s forwards;
  pointer-events: none;
}

.hero-scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--primary-light), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 1;
    transform: scaleY(1);
  }

  50% {
    opacity: 0.4;
    transform: scaleY(0.6);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
