.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  overflow: hidden;
}

.hero .split {
  gap: var(--space-lg);
}

.hero__content {
  max-width: 540px;
}

.hero__title {
  margin-bottom: var(--space-sm);
}

.hero__title .highlight {
  background: linear-gradient(135deg, var(--brand-purple-light), var(--cta-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.2rem);
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  max-width: 460px;
}

.hero__ctas {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* Abstract visual */
.hero__visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 480px;
  justify-self: center;
}

.hero__orb {
  position: absolute;
  width: 65%;
  height: 65%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, var(--brand-purple-light), var(--brand-purple) 50%, transparent 70%);
  filter: blur(2px);
  animation: orbPulse 6s ease-in-out infinite;
}

.hero__orb::after {
  content: '';
  position: absolute;
  inset: -20%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.15), transparent 70%);
  animation: orbGlow 6s ease-in-out infinite;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(108, 92, 231, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 92, 231, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle, white 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle, white 30%, transparent 70%);
}

.hero__particles {
  position: absolute;
  inset: 0;
}

.hero__particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand-purple-light);
  opacity: 0.6;
  animation: particleFloat 8s ease-in-out infinite;
}

.hero__particle:nth-child(1) { top: 20%; left: 15%; animation-delay: 0s; }
.hero__particle:nth-child(2) { top: 60%; left: 80%; animation-delay: -2s; animation-duration: 10s; }
.hero__particle:nth-child(3) { top: 80%; left: 30%; animation-delay: -4s; animation-duration: 7s; }
.hero__particle:nth-child(4) { top: 30%; left: 70%; animation-delay: -1s; animation-duration: 9s; }
.hero__particle:nth-child(5) { top: 50%; left: 50%; animation-delay: -3s; background: var(--cta-green); }

@keyframes orbPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.05); }
}

@keyframes orbGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

@keyframes particleFloat {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.6; }
  25% { transform: translateY(-20px) translateX(10px); opacity: 1; }
  50% { transform: translateY(-10px) translateX(-10px); opacity: 0.4; }
  75% { transform: translateY(-25px) translateX(5px); opacity: 0.8; }
}

@media (max-width: 768px) {
  .hero { min-height: auto; padding: 7rem 0 var(--space-xl); }
  .hero__visual { max-width: 300px; }
}
