/* ── BASE ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Outfit', sans-serif;
  color: #1a0b1f;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── NAV ── */
#nav { transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s; }
#nav.scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(123,45,142,0.08);
}

/* ── HERO BLOBS ── */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
}
.blob-1 {
  width: 500px; height: 500px;
  background: #e9c4f5;
  top: -100px; right: -100px;
  animation: blobFloat 12s ease-in-out infinite;
}
.blob-2 {
  width: 350px; height: 350px;
  background: #fce8a8;
  bottom: 10%; left: 5%;
  animation: blobFloat 15s ease-in-out infinite reverse;
}
.blob-3 {
  width: 200px; height: 200px;
  background: #d49fd4;
  top: 40%; right: 30%;
  animation: blobFloat 10s ease-in-out infinite;
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ── FLOATING CARDS ── */
.floating-card {
  animation: cardFloat 4s ease-in-out infinite;
}
.card-float-1 { animation-delay: 0s; }
.card-float-2 { animation-delay: 1.3s; }
.card-float-3 { animation-delay: 2.6s; }
@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ── REVEAL ANIMATIONS ── */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* ── MOBILE MENU ── */
#mobile-menu {
  transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1), opacity 0.3s;
  opacity: 0;
}
#mobile-menu.open {
  max-height: 400px;
  opacity: 1;
}
.mobile-link { display: block; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #faf5fb; }
::-webkit-scrollbar-thumb { background: #ebcde9; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #d49fd4; }

/* ── SELECTION ── */
::selection { background: #f5e9f5; color: #4a1c56; }
