@import "tailwindcss";

:root {
  color-scheme: light;
  --accent-violet: rgb(124 58 237);
  --accent-indigo: rgb(79 70 229);
  --accent-cyan: rgb(6 182 212);
  --accent-fuchsia: rgb(217 70 239);
}

html,
body {
  height: 100%;
}

html {
  scroll-padding-top: 1rem;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

@media (prefers-reduced-motion: reduce) {
  .animate-hero-blob,
  .animate-hero-blob-2 {
    animation: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

body {
  position: relative;
  background-color: #f4f6fb;
  color: #0f172a;
  overflow-x: clip;
}

html.lenis,
html.lenis body {
  /* Lenis restores natural document height — base 100% is only for SSR/first paint */
  overflow-x: clip;
}

.page-fixed-bg {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  transform: translateZ(0);
  background:
    radial-gradient(ellipse 100% 55% at 50% -18%, rgba(99, 102, 241, 0.34), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(168, 85, 247, 0.22), transparent 48%),
    radial-gradient(ellipse 60% 55% at 0% 95%, rgba(236, 72, 153, 0.14), transparent 50%),
    radial-gradient(ellipse 50% 45% at 85% 72%, rgba(6, 182, 212, 0.11), transparent 45%),
    linear-gradient(165deg, #f8fafc 0%, #eef2ff 38%, #fdf4ff 72%, #ecfeff 100%);
}

.page-fixed-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  opacity: 0.9;
  mix-blend-mode: overlay;
}

@keyframes hero-blob {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-2%, 3%) scale(1.04);
  }
}

@keyframes hero-blob-2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(3%, -2%) scale(1.03);
  }
}

.animate-hero-blob {
  animation: hero-blob 18s ease-in-out infinite;
}

.animate-hero-blob-2 {
  animation: hero-blob-2 22s ease-in-out infinite;
}

.text-gradient {
  background-image: linear-gradient(
    115deg,
    rgb(67 56 202) 0%,
    rgb(124 58 237) 28%,
    rgb(217 70 239) 58%,
    rgb(14 165 233) 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.glass-panel {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.55);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.72) inset,
    0 24px 64px -32px rgba(79, 70, 229, 0.28),
    0 12px 32px -20px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.glass-card {
  border-radius: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.55);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.72) inset,
    0 24px 64px -32px rgba(79, 70, 229, 0.22),
    0 12px 32px -20px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Lightweight prose defaults without adding a plugin */
.prose h2 {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.prose p,
.prose li {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #334155;
}

.prose ul {
  padding-left: 1.25rem;
  list-style: disc;
}
