/* style.css */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Prevent scrolling */
html,
body {
  height: 100%;
}

body {
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background-color: #000;
  color: #fff;
  overflow: hidden;
  opacity: 0;
  transition: opacity 600ms ease;
}

body.is-loaded {
  opacity: 1;
}

.page {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
}

.hero {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;

  /* Responsive background image */
  background-color: #000; /* fills any empty space */
  background-image: url("/images/laser_illustration.png");
  background-position: center;
  background-repeat: no-repeat;

  /* Image scales with window while keeping aspect ratio */
  background-size: cover;   /* use 'cover' if you prefer cropping instead */
  
  /* Darken a bit */
  filter: brightness(0.35) saturate(1.05);

  z-index: -2;
}


/* Subtle space-themed glow overlay */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.12), transparent 55%),
    radial-gradient(circle at 80% 100%, rgba(0, 153, 255, 0.18), transparent 55%);
  mix-blend-mode: screen;
  opacity: 0.6;
  z-index: -1;
}

.hero-inner {
  position: relative;
  max-width: 1200px;
  padding: 0 6vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.8rem, 2.5vh, 2.5rem);
}

/* Main title */
.brand {
  position: relative;
  z-index: 1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: clamp(2.8rem, 9vw, 5.8rem);
  line-height: 1.05;
  color: #ffffff;
}

.coming-soon {
  font-size: 1.5rem;
  font-weight: 300;
  margin-top: 10px;
  letter-spacing: 2px;
  color: #ffffffcc;    /* slightly soft white */
}


/* Satellite overlapping the text */
.satellite {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  max-width: min(38vw, 460px);
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.6));
  pointer-events: none;
}

/* Mailto button */
.cta {
  margin-top: clamp(2.8rem, 6vh, 3.6rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2.8rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(8, 11, 22, 0.6);
  backdrop-filter: blur(12px);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  transition:
    background 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
  z-index: 3;
}

.cta:hover,
.cta:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.55);
  outline: none;
}

.cta:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.5);
}

/* Responsiveness */

@media (max-width: 768px) {
  .brand {
    letter-spacing: 0.18em;
    font-size: clamp(2.4rem, 9vw, 3.9rem);
  }

  .satellite {
    transform: translate(-50%, -50%);
    max-width: min(55vw, 320px);
  }

  .cta {
    padding: 0.8rem 2.1rem;
    font-size: 0.85rem;
  }
}

@media (max-height: 600px) {
  .brand {
    font-size: clamp(2.2rem, 7vw, 4rem);
  }

  .satellite {
    max-width: min(32vw, 280px);
  }

  .cta {
    margin-top: 1.6rem;
  }
}
