.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: calc(var(--nav-height) + var(--space-3xl)) var(--space-xl) var(--space-3xl);
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(30, 107, 255, 0.12) 0%, transparent 60%),
              linear-gradient(180deg, #e8ecf4 0%, #f4f6fb 100%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(30, 107, 255, 0.3);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.hero-particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; width: 2px; height: 2px; }
.hero-particle:nth-child(2) { left: 25%; top: 60%; animation-delay: 1s; }
.hero-particle:nth-child(3) { left: 40%; top: 30%; animation-delay: 2s; width: 3px; height: 3px; }
.hero-particle:nth-child(4) { left: 55%; top: 70%; animation-delay: 0.5s; }
.hero-particle:nth-child(5) { left: 70%; top: 25%; animation-delay: 3s; width: 2px; height: 2px; }
.hero-particle:nth-child(6) { left: 85%; top: 50%; animation-delay: 1.5s; }
.hero-particle:nth-child(7) { left: 15%; top: 80%; animation-delay: 2.5s; width: 3px; height: 3px; }
.hero-particle:nth-child(8) { left: 90%; top: 15%; animation-delay: 0.8s; }
.hero-particle:nth-child(9) { left: 5%; top: 45%; animation-delay: 3.5s; }
.hero-particle:nth-child(10) { left: 50%; top: 10%; animation-delay: 1.2s; width: 2px; height: 2px; }
.hero-particle:nth-child(11) { left: 75%; top: 65%; animation-delay: 2.2s; }
.hero-particle:nth-child(12) { left: 30%; top: 85%; animation-delay: 0.3s; width: 3px; height: 3px; }
.hero-particle:nth-child(13) { left: 60%; top: 40%; animation-delay: 2.8s; }
.hero-particle:nth-child(14) { left: 20%; top: 35%; animation-delay: 1.8s; }
.hero-particle:nth-child(15) { left: 80%; top: 75%; animation-delay: 0.6s; width: 2px; height: 2px; }
.hero-particle:nth-child(16) { left: 45%; top: 55%; animation-delay: 3.2s; }
.hero-particle:nth-child(17) { left: 95%; top: 35%; animation-delay: 1s; }
.hero-particle:nth-child(18) { left: 35%; top: 15%; animation-delay: 2.4s; width: 3px; height: 3px; }
.hero-particle:nth-child(19) { left: 65%; top: 90%; animation-delay: 0.4s; }
.hero-particle:nth-child(20) { left: 8%; top: 65%; animation-delay: 2.6s; }

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.4; }
  25% { transform: translateY(-15px) translateX(5px); opacity: 0.7; }
  50% { transform: translateY(-5px) translateX(-5px); opacity: 0.5; }
  75% { transform: translateY(-20px) translateX(-3px); opacity: 0.6; }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  margin-top: var(--space-xl);
}

.hero-subtext {
  max-width: 580px;
  margin: var(--space-lg) auto 0;
  font-size: 17px;
  color: #2d3a4f;
  line-height: 1.7;
}

/* Compact hero variant */
.hero-compact {
  min-height: auto;
  padding: calc(var(--nav-height) + var(--space-2xl)) var(--space-xl) var(--space-2xl);
  background: linear-gradient(135deg, #e8ecf4 0%, #f4f6fb 100%);
}

.hero-compact .hero-content {
  text-align: center;
}

.hero-compact .hero-subtext {
  margin-top: var(--space-md);
}
