/* ── Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img { display: block; max-width: 100%; }

/* ── Reveal (progressive enhancement) ───────────── */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Navbar ─────────────────────────────────────── */
.nav {
  transition: box-shadow 0.3s ease;
}
.nav.scrolled {
  box-shadow: 0 1px 20px rgba(13, 148, 136, 0.08);
}

/* ── Hero ───────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #f0fdfa 0%, #f8fafc 50%, #f0f9ff 100%);
  position: relative;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
}
.hero-blob-1 {
  width: 400px; height: 400px;
  background: #99f6e4;
  top: -100px; right: -80px;
}
.hero-blob-2 {
  width: 300px; height: 300px;
  background: #bae6fd;
  bottom: -60px; left: -40px;
}
.hero-blob-3 {
  width: 200px; height: 200px;
  background: #fde68a;
  top: 40%; left: 45%;
}

/* ── Floating stat cards ────────────────────────── */
.floating-card {
  position: absolute;
  animation: float 4s ease-in-out infinite;
}
.card-1 { top: 10%; left: -10%; animation-delay: 0s; }
.card-2 { top: 45%; right: -5%; animation-delay: 1.3s; }
.card-3 { bottom: 5%; left: 5%; animation-delay: 2.6s; }

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

/* ── Product cards ──────────────────────────────── */
.product-card {
  will-change: transform;
}

/* ── Mobile menu ────────────────────────────────── */
#mobileMenu {
  animation: slideDown 0.25s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Subtle pattern on CTA section ──────────────── */
.cta-pattern {
  background-image: radial-gradient(circle, rgba(255,255,255,0.15) 1px, transparent 1px);
  background-size: 24px 24px;
}
