.cosmic-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #05080d;
  pointer-events: none;
}

.parallax-layer {
  position: absolute;
  inset: -8%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  will-change: transform, opacity;
}

.layer-sky {
  background-image: linear-gradient(rgba(10, 14, 20, 0.45), rgba(10, 14, 20, 0.6)),
    url("../assets/images/parallax-sky.jpg");
  transform: translate3d(0, 0, 0) scale(1.05);
}

.layer-aurora {
  background-image: url("../assets/images/parallax-aurora.jpg");
  mix-blend-mode: screen;
  opacity: 0.72;
  transform: translate3d(0, 0, 0) scale(1.09);
}

.layer-geometry {
  background-image: url("../assets/images/parallax-geometry.jpg");
  mix-blend-mode: screen;
  opacity: 0.2;
  transform: translate3d(0, 0, 0) scale(1.04);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: calc(var(--header-height) + 2.5rem) 0 3rem;
}

.hero-content {
  max-width: 44rem;
  will-change: transform, opacity;
}

.hero-kicker {
  margin: 0;
  font-size: 0.79rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  font-weight: 600;
}

.hero h1 {
  margin: 0.55rem 0 0;
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.hero-tagline {
  margin: 0.9rem 0 0;
  font-size: clamp(1.05rem, 2.1vw, 1.35rem);
  color: var(--text-main);
  letter-spacing: 0.01em;
}

.hero-intro {
  margin: 1rem 0 0;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.45vw, 1.15rem);
  max-width: 58ch;
}

.section-transition {
  position: relative;
  z-index: 1;
  height: clamp(2rem, 8vw, 5.5rem);
  background: linear-gradient(180deg, rgba(10, 14, 20, 0), rgba(10, 14, 20, 0.82) 65%, rgba(10, 14, 20, 0.92));
}

.glass-section {
  position: relative;
  z-index: 1;
}

.glass-section::before {
  content: "";
  position: absolute;
  inset: 1rem 0.5rem;
  border-radius: 1.3rem;
  border: 1px solid var(--glass-border);
  background: linear-gradient(165deg, rgba(26, 31, 46, 0.58), rgba(10, 14, 20, 0.56));
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: -1;
}

.contact-section {
  padding-bottom: 3.5rem;
}

@media (max-width: 48rem) {
  .hero {
    padding-top: calc(var(--header-height) + 1.9rem);
  }

  .glass-section::before {
    inset: 0.75rem 0;
    border-radius: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .parallax-layer {
    transform: none !important;
  }

  .hero-content {
    transform: none !important;
    opacity: 1 !important;
  }
}
