html {
  scroll-behavior: smooth;
}

body {
  background: var(--c-surface-01);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background animation - Subtle Premium Glow */
body::before {
  content: "";
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(0, 229, 255, 0.08) 0%,
      transparent 35%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(0, 229, 255, 0.05) 0%,
      transparent 35%
    ),
    radial-gradient(
      circle at 40% 80%,
      rgba(195, 245, 255, 0.03) 0%,
      transparent 30%
    );
  z-index: -1;
  animation: bgMove 40s linear infinite;
  pointer-events: none;
}

/* Subtle noise texture */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.02;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

@keyframes bgMove {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

body {
  padding-top: 8rem;
}

@media (min-width: 830px) {
  body {
    padding-top: 0;
  }
}

main {
  width: 100%;
  max-width: 140rem;
  margin: 0 auto;
}

/* Section Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1.2s cubic-bezier(0.5, 0, 0, 1),
    transform 1.2s cubic-bezier(0.5, 0, 0, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
