/* ===== Hero 区 ===== */

.hero {
  position: relative;
  padding: 160px 0 120px;
  overflow: hidden;
  background: linear-gradient(180deg, #eef4ff 0%, #f8faff 50%, #ffffff 100%);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 70%);
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  pointer-events: none;
}

.hero-blob-1 {
  width: 500px;
  height: 500px;
  background: var(--brand-400);
  top: -100px;
  right: -100px;
}

.hero-blob-2 {
  width: 400px;
  height: 400px;
  background: var(--accent-400);
  bottom: -100px;
  left: -100px;
  opacity: 0.2;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: white;
  border: 1px solid var(--brand-200);
  border-radius: 999px;
  font-size: 13px;
  color: var(--brand-700);
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

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

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.2); }
}

.hero-title {
  margin-top: 24px;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.15;
  color: var(--gray-900);
  letter-spacing: -0.03em;
}

.hero-title-gradient {
  background: linear-gradient(135deg, var(--brand-700) 0%, var(--brand-500) 50%, var(--accent-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--gray-600);
  max-width: 540px;
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 520px;
  border-top: 1px solid var(--gray-200);
  padding-top: 32px;
}

.hero-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--brand-700);
  letter-spacing: -0.02em;
}

.hero-stat-label {
  margin-top: 4px;
  font-size: 13px;
  color: var(--gray-500);
}

/* Hero 右侧视觉 */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-card {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(30, 64, 175, 0.25), 0 8px 24px rgba(30, 64, 175, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.hero-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 浮动信息卡 */
.hero-float-card {
  position: absolute;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 14px 18px;
  border: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float-y 6s ease-in-out infinite;
}

.hero-float-card.card-1 {
  top: 10%;
  left: -40px;
  animation-delay: 0s;
}

.hero-float-card.card-2 {
  bottom: 15%;
  right: -30px;
  animation-delay: 2s;
}

.hero-float-card.card-3 {
  top: 50%;
  left: -20px;
  transform: translateY(-50%);
  animation-delay: 4s;
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-float-card.card-2 {
  animation-name: float-y-2;
}

@keyframes float-y-2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-float-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-float-icon.cyan {
  background: linear-gradient(135deg, var(--accent-400), var(--accent-600));
}

.hero-float-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-900);
}

.hero-float-value {
  font-size: 11px;
  color: var(--gray-500);
  margin-top: 2px;
}

@media (max-width: 960px) {
  .hero {
    padding: 120px 0 80px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-float-card.card-1 {
    left: 20px;
  }

  .hero-float-card.card-2 {
    right: 20px;
  }
}

@media (max-width: 640px) {
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .hero-stat-num {
    font-size: 22px;
  }

  .hero-float-card {
    padding: 10px 14px;
  }

  .hero-float-icon {
    width: 32px;
    height: 32px;
  }
}
