/* ===== Reset & base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { height: 100%; }

body {
  font-family: 'Mona Sans', system-ui, sans-serif;
  background: hsl(240, 10%, 4%);
  color: hsl(0, 0%, 98%);
  overflow-x: hidden;
}

/* ===== Hero fills the viewport with no scroll ===== */
main {
  position: relative;
  width: 100%;

  /* Fallback + modern units */
  height: 100vh;
  min-height: 100vh;
  overflow: clip;            /* contain blurred orbs */
  display: grid;             /* no flex growth surprises */
  place-content: center;
  padding: 0 24px;           /* horizontal only */
}

@supports (height: 100svh) {
  main {
    height: 100svh;
    min-height: 100svh;
  }
}

/* Optional hard stop: if you truly want zero page scroll anywhere */
html, body { overflow-y: hidden; }

/* ===== Background layers (keep inside <main>) ===== */
.background-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right,
    hsl(240, 10%, 4%),
    hsl(240, 10%, 4%),
    hsl(240, 6%, 20%)
  );
  opacity: 0.9;
  pointer-events: none;
}

.gradient-orb {
  position: absolute;
  width: 384px; height: 384px;
  border-radius: 50%;
  filter: blur(96px);
  animation: gradient-shift 8s ease infinite;
  pointer-events: none;
}

.gradient-orb-1 { top: 25%; left: 25%; background: hsla(270, 80%, 65%, 0.2); }
.gradient-orb-2 { bottom: 25%; right: 25%; background: hsla(190, 80%, 50%, 0.2); animation-delay: 4s; }

@keyframes gradient-shift {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(20px,20px) scale(1.1); }
}

/* ===== Content (no flex growth) ===== */
.content {
  position: relative;
  z-index: 10;
  text-align: center;
  animation: fade-in 0.6s ease-out;
}

/* Heading */
h1 {
  font-size: 6rem;
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 16px; /* tightened */
  background-image: linear-gradient(90deg,#fff,#F9F6EE,#f8f8ff);
  background-size: 200% 100%;
  background-clip: text; -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px hsla(270,60%,92%,.5), 0 0 40px hsla(270,80%,65%,.3);
  animation: gradient-move 3s ease infinite;
}

@keyframes gradient-move {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}

/* Subtitle */
p {
  font-size: 1.375rem;
  color: hsl(0,0%,65%);
  max-width: 672px;
  margin: 0 auto 12px; /* tiny bottom margin only */
  line-height: 1.45;
}

/* Logo */
.logo-container {
  position: relative;
  z-index: 10;
  padding-bottom: 8px;   /* tighter so the gradient line stays on-screen */
  animation: fade-in 0.6s ease-out 0.3s both;
}

.logo-container img {
  height: 42px; width: auto;
  display: block; margin: 0 auto;
  opacity: .9; transition: opacity .3s ease;
}
.logo-container img:hover { opacity: 1; }

/* Bottom accent line (inside hero, pinned) */
.bottom-gradient {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: linear-gradient(to right, hsl(270,80%,65%), hsl(190,80%,50%));
  pointer-events: none;
}

/* Animations */
@keyframes fade-in { from { opacity:0; transform: translateY(20px);} to { opacity:1; transform: translateY(0);} }

/* ===== Small-screen tweaks ===== */
@media (max-width: 768px) {
  h1 { font-size: 3.25rem; }
  p  { font-size: 1.065rem; }
  .logo-container { padding-bottom: 6px; }
  .logo-container img { height: 40px; }
  .gradient-orb { width: 264px; height: 264px; }
}

@media (max-width: 480px) {
  h1 { font-size: 2.4rem; }
  p  { font-size: 1rem; }
  .logo-container { padding-bottom: 4px; }
  .logo-container img { height: 36px; }
  .gradient-orb { width: 228px; height: 228px; }
}
