/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; -webkit-font-smoothing: antialiased; }

/* ── Navigation ── */
#siteNav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(250, 244, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(196, 181, 253, 0.3);
  transition: box-shadow 0.3s ease;
}
#siteNav.nav-scrolled {
  box-shadow: 0 4px 30px rgba(91, 33, 182, 0.08);
}

/* ── Hero Gradient ── */
.hero-gradient {
  background: linear-gradient(135deg, #4c1d95 0%, #6d28d9 25%, #7c3aed 50%, #a78bfa 75%, #fbbf24 100%);
  position: relative;
}

/* ── Animated Blobs ── */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  animation: blobFloat 8s ease-in-out infinite;
}
.blob-1 {
  width: 400px; height: 400px;
  background: #c4b5fd;
  top: -100px; left: -100px;
  animation-delay: 0s;
}
.blob-2 {
  width: 300px; height: 300px;
  background: #fde68a;
  top: 20%; right: -50px;
  animation-delay: -2s;
  animation-duration: 10s;
}
.blob-3 {
  width: 250px; height: 250px;
  background: #e9d5ff;
  bottom: 5%; left: 20%;
  animation-delay: -4s;
  animation-duration: 12s;
}
.blob-4 {
  width: 200px; height: 200px;
  background: #fcd34d;
  top: 40%; left: 10%;
  animation-delay: -6s;
  animation-duration: 9s;
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ── Scroll Reveal ── */
.scroll-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
  }
  .scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Mobile Menu ── */
.mobile-link {
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(196, 181, 253, 0.2);
}
.mobile-link:last-child {
  border-bottom: none;
}

/* ── Utility ── */
@media (max-width: 767px) {
  .hero-gradient { min-height: 85vh; }
  .font-display { line-height: 1.15; }
}
