/* ===== Reset ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #eaf0ff;
  background-color: #05070d;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: transparent;
}

/* ===== Cinematic Background ===== */
.background {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* Photo backdrop */
.background::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("backdrop.jpg") center center / cover no-repeat;
  animation: slow-zoom 30s ease-in-out infinite alternate;
}

/* Dark overlay for text readability */
.background::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(4, 6, 11, 0.35);
}

/* Subtle glow accent */
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform, opacity;
  z-index: 1;
}

.bg-glow--1 {
  width: 600px;
  height: 500px;
  top: -10%;
  left: -5%;
  background: radial-gradient(circle, rgba(30, 60, 150, 0.2) 0%, transparent 70%);
  animation: drift-1 18s ease-in-out infinite alternate;
}

.bg-glow--2 {
  width: 500px;
  height: 400px;
  bottom: -15%;
  right: -10%;
  background: radial-gradient(circle, rgba(0, 120, 255, 0.12) 0%, transparent 70%);
  animation: drift-2 22s ease-in-out infinite alternate;
}

.bg-glow--3,
.bg-grid {
  display: none;
}

/* Slow zoom on the photo */
@keyframes slow-zoom {
  0%   { transform: scale(1); }
  100% { transform: scale(1.06); }
}

/* Glow drift animations */
@keyframes drift-1 {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.7; }
  100% { transform: translate(60px, 40px) scale(1.1); opacity: 1; }
}

@keyframes drift-2 {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.6; }
  100% { transform: translate(-40px, -30px) scale(1.05); opacity: 0.9; }
}

/* ===== Nav Icons ===== */
.nav {
  position: fixed;
  top: 24px;
  left: 24px;
  z-index: 2;
  display: flex;
  gap: 16px;
}

.nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-icon svg {
  pointer-events: none;
}

.nav-icon:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
}

/* ===== Layout ===== */
.container {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.content {
  max-width: 680px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

/* ===== Logo ===== */
.logo {
  margin-bottom: 32px;
  opacity: 0;
  animation: fade-in 1s ease-out 0.2s forwards;
}

.logo svg {
  display: block;
}

/* ===== Typography ===== */
h1 {
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #ffffff;
}

.tagline {
  font-size: 20px;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 28px;
  line-height: 1.5;
}

.body {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  max-width: 560px;
}

/* ===== CTA Button ===== */
.cta {
  display: inline-block;
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(100, 160, 255, 0.3);
  border-radius: 8px;
  background: rgba(100, 160, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  margin-bottom: 36px;
}

.cta:hover {
  background: rgba(100, 160, 255, 0.18);
  border-color: rgba(100, 160, 255, 0.5);
  box-shadow: 0 0 30px rgba(80, 140, 255, 0.15);
  transform: translateY(-1px);
}

.cta:active {
  transform: translateY(0);
}

/* ===== Status ===== */
.status {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0;
  text-transform: none;
  max-width: 620px;
}

.status-note {
  margin-top: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.56);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* ===== Footer ===== */
.footer {
  position: fixed;
  z-index: 1;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 24px;
  text-align: center;
  font-size: 12px;
  color: rgba(234, 240, 255, 0.25);
  letter-spacing: 0.3px;
  line-height: 1.7;
}

.footer a {
  color: rgba(160, 196, 255, 0.4);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: rgba(160, 196, 255, 0.7);
}

/* ===== Fade-up Entrance Animation ===== */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  opacity: 0;
  animation: fade-in 0.8s ease-out forwards;
}

.fade-up--delay-1 { animation-delay: 0.35s; }
.fade-up--delay-2 { animation-delay: 0.55s; }
.fade-up--delay-3 { animation-delay: 0.75s; }
.fade-up--delay-4 { animation-delay: 0.95s; }

/* ===== Responsive ===== */
@media (max-width: 600px) {
  h1 {
    font-size: 32px;
  }

  .tagline {
    font-size: 18px;
  }

  .body {
    font-size: 16px;
  }

  .cta {
    padding: 12px 28px;
    font-size: 14px;
  }

  .bg-glow--1 {
    width: 350px;
    height: 300px;
  }

  .bg-glow--2 {
    width: 300px;
    height: 250px;
  }
}
