/* ═══════════════════════════════════════════════════════════════════════════
   Astraeus Labs — landing page (public, pre-auth)
   ═══════════════════════════════════════════════════════════════════════════ */

body.landing {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Canvas for constellation / neural mesh — fills entire viewport */
#constellation {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  background: radial-gradient(ellipse at center,
              rgba(30, 20, 50, 0.4) 0%,
              var(--void) 60%,
              #000 100%);
}

/* Vignette overlay for cinematic depth */
.vignette {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(ellipse at center,
              transparent 40%,
              rgba(0, 0, 0, 0.6) 100%);
}

/* Main hero content — sits on top of the canvas */
.hero {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 40px;
  max-width: 900px;
  animation: hero-fade-in 2.5s ease-out;
}

@keyframes hero-fade-in {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Logotype container */
.logotype {
  margin-bottom: 40px;
}

.logotype h1 {
  font-family: "Cinzel", "Cormorant Garamond", Georgia, serif;
  font-size: clamp(48px, 9vw, 120px);
  font-weight: 700;
  letter-spacing: clamp(4px, 1vw, 12px);
  line-height: 1;
  background: linear-gradient(180deg,
              var(--gold-bright) 0%,
              var(--gold) 50%,
              var(--gold-deep) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 80px rgba(212, 168, 36, 0.25);
  filter: drop-shadow(0 0 24px rgba(212, 168, 36, 0.2));
  margin-bottom: 16px;
}

/* Decorative divider — two gold horizontal lines with a center gem */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 24px 0;
  opacity: 0.7;
}

.divider-line {
  height: 1px;
  width: 120px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.divider-gem {
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 12px var(--gold);
}

/* Tagline */
.tagline {
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(11px, 1.5vw, 16px);
  font-weight: 500;
  letter-spacing: clamp(3px, 0.8vw, 8px);
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 72px;
  opacity: 0.9;
}

/* Enter button positioned below the tagline */
.enter-container {
  margin-top: 32px;
}

.enter-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 18px 48px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--gold);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.enter-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
              transparent 0%,
              rgba(212, 168, 36, 0.2) 50%,
              transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.8s ease;
}

.enter-btn:hover {
  color: var(--gold-bright);
  border-color: var(--gold-bright);
  letter-spacing: 6px;
  box-shadow:
    0 0 40px rgba(212, 168, 36, 0.4),
    inset 0 0 20px rgba(212, 168, 36, 0.1);
}

.enter-btn:hover::before {
  transform: translateX(100%);
}

.enter-btn .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.enter-btn:hover .arrow {
  transform: translateX(6px);
}

/* Footer — small status line at the bottom */
.landing-footer {
  position: fixed;
  bottom: 24px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 10;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--white-dim);
  opacity: 0.6;
}

.landing-footer .status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 8px;
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* Mobile responsive */
@media (max-width: 640px) {
  .hero {
    padding: 20px;
  }

  .logotype h1 {
    letter-spacing: 4px;
  }

  .tagline {
    margin-bottom: 48px;
    letter-spacing: 3px;
  }

  .divider-line {
    width: 60px;
  }

  .enter-btn {
    padding: 16px 36px;
    font-size: 11px;
    letter-spacing: 3px;
  }

  .enter-btn:hover {
    letter-spacing: 4px;
  }
}
