/* ===== Hero background layers ===== */
.hero-swoosh {
  background-image:
    radial-gradient(1200px 600px at 75% 20%, rgba(155, 81, 224, 0.20), rgba(45, 156, 219, 0.20)),
    linear-gradient(135deg, #9b51e0 0%, #2d9cdb 100%);
  clip-path: ellipse(90% 100% at 100% 0%);
  filter: saturate(1.05) contrast(1.02);
  border-bottom-left-radius: 64px;
  will-change: transform;
}

.dark .hero-swoosh {
  background-image:
    radial-gradient(1200px 600px at 75% 20%, rgba(155, 81, 224, 0.15), rgba(45, 156, 219, 0.15)),
    linear-gradient(135deg, #9b51e0 0%, #2d9cdb 100%);
}

.hero-orb {
  border-radius: 9999px;
  pointer-events: none;
  will-change: transform;
  background: radial-gradient(circle at 50% 50%, rgba(155, 81, 224, .35) 0%, rgba(45, 156, 219, .22) 40%, rgba(155, 81, 224, .1) 65%, rgba(155, 81, 224, 0) 100%);
  filter: blur(4px);
}

.hero-rings {
  pointer-events: none;
  border-radius: 9999px;
  will-change: transform;
  background: repeating-radial-gradient(circle, rgba(255, 255, 255, .22) 0 2px, rgba(255, 255, 255, 0) 6px 16px);
  -webkit-mask-image: radial-gradient(circle, #000 55%, transparent 72%);
  mask-image: radial-gradient(circle, #000 55%, transparent 72%);
  mix-blend-mode: overlay;
}

.dark .hero-rings {
  background: repeating-radial-gradient(circle, rgba(255, 255, 255, .12) 0 2px, rgba(255, 255, 255, 0) 6px 16px);
}

@media (max-width: 640px) {
  .hero-swoosh {
    clip-path: ellipse(92% 100% at 100% 0%);
  }
}

/* ===== Reveal animations ===== */
[data-animate] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1), filter .7s;
  filter: blur(2px);
}

.animate-in {
  opacity: 1 !important;
  transform: none !important;
  filter: blur(0) !important;
}

.fade-right {
  transform: translateX(-24px);
}

.fade-left {
  transform: translateX(24px);
}

.zoom-in {
  transform: scale(.96);
}

/* Hover lift */
.hover-lift {
  transition: transform .25s ease, box-shadow .25s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .08);
}

.dark .hover-lift:hover {
  box-shadow: 0 18px 45px rgba(0, 0, 0, .3);
}
