/* === LANDING PAGE LAYOUT (Stable Fixed Background) === */
html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #000;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* === Hero Section === */
.landing {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: 8%;
  overflow: hidden;
  isolation: isolate;
}

/* === Fixed Planet Background (No Move on Reload) === */
.landing::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url("../img/bg2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.6);
  z-index: -2;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* === Dark + Blur Overlay === */
.overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 60% 50%, rgba(0, 10, 25, 0.6), rgba(0, 0, 0, 0.9));
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: -1;
  pointer-events: none;
  will-change: opacity;
}

/* === Welcome Text Box === */
.welcome-box {
  position: relative;
  z-index: 1;
  max-width: 520px;
  text-align: left;
  animation: fadeUp 0.9s ease-out forwards;
  animation-fill-mode: both;
}

.welcome-box h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #ffffff;
}

.brand {
  color: #4db8ff;
  text-shadow: 0 0 14px rgba(77, 184, 255, 0.6);
}

.welcome-box p {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #d6e8ff;
  opacity: 0.95;
  margin-bottom: 40px;
}

/* === Buttons Section === */
.buttons {
  display: flex;
  gap: 16px;
}

.buttons a {
  text-decoration: none;
  padding: 12px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

/* Primary Button */
.btn-primary {
  background: linear-gradient(135deg, #4db8ff, #2b79ff);
  color: #fff;
  border: none;
  box-shadow: 0 0 15px rgba(77, 184, 255, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #63c7ff, #3a8dff);
  box-shadow: 0 0 25px rgba(77, 184, 255, 0.6);
}

/* Outline Button */
.btn-outline {
  border: 2px solid #4db8ff;
  color: #4db8ff;
  background: transparent;
  box-shadow: 0 0 10px rgba(77, 184, 255, 0.25);
}

.btn-outline:hover {
  background: rgba(77, 184, 255, 0.2);
  color: #b5e4ff;
}

/* === Fade-in Animation === */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Mobile Layout === */
@media (max-width: 768px) {
  .landing {
    justify-content: center;
    align-items: center;
    padding: 0 24px;
    text-align: center;
  }

  .welcome-box {
    max-width: 90%;
    text-align: center;
  }

  .welcome-box h1 {
    font-size: 2.2rem;
  }

  .welcome-box p {
    font-size: 1rem;
  }

  .buttons {
    flex-direction: column;
    align-items: center;
  }

  .buttons a {
    width: 80%;
  }
}
