*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-deep: #050810;
  --bg-mid: #0d1b3e;
  --text: #f0f0f5;
  --text-muted: rgba(240, 240, 245, 0.65);
  --accent-cyan: #4de8d0;
  --accent-purple: #7b68ee;
  --accent-gold: #e8c87a;
  --laser-glow: rgba(77, 232, 208, 0.35);
}

html,
body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
}

.page {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* Sky gradient background */
.sky {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(123, 104, 238, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 70% 20%, rgba(77, 232, 208, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mid) 55%, #0a1530 100%);
}

/* Star canvas */
#stars {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Laser beams */
.lasers {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70%;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.laser {
  position: absolute;
  bottom: 18%;
  width: 3px;
  height: 55%;
  transform-origin: bottom center;
  background: linear-gradient(
    to top,
    rgba(77, 232, 208, 0.7) 0%,
    rgba(77, 232, 208, 0.25) 40%,
    rgba(123, 104, 238, 0.08) 70%,
    transparent 100%
  );
  filter: blur(1px);
  opacity: 0;
  animation: laserPulse 6s ease-in-out infinite;
}

.laser::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 12px 4px var(--laser-glow);
}

.laser-1 { left: 12%; transform: rotate(-8deg); animation-delay: 0s; }
.laser-2 { left: 24%; transform: rotate(-3deg); animation-delay: 1.2s; }
.laser-3 { left: 38%; transform: rotate(2deg); animation-delay: 0.6s; }
.laser-4 { left: 52%; transform: rotate(-1deg); animation-delay: 2.4s; }
.laser-5 { left: 64%; transform: rotate(4deg); animation-delay: 1.8s; }
.laser-6 { left: 78%; transform: rotate(-5deg); animation-delay: 3s; }
.laser-7 { left: 90%; transform: rotate(1deg); animation-delay: 0.9s; }

@keyframes laserPulse {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 0.55; }
}

/* Tree silhouettes */
.trees {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  pointer-events: none;
  line-height: 0;
}

.trees svg {
  display: block;
  width: 100%;
  height: auto;
  min-height: 180px;
  max-height: 28vh;
}

/* Hero content */
.hero {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  padding: 2rem 1.5rem 22vh;
  gap: 0;
}

.wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 10vw, 5.5rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text);
  text-shadow:
    0 0 40px rgba(77, 232, 208, 0.25),
    0 0 80px rgba(123, 104, 238, 0.15);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  animation: logoGlow 4s ease-in-out infinite;
}

.wordmark-star {
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  animation: starSpin 8s linear infinite;
  transform-origin: center;
}

@keyframes logoGlow {
  0%, 100% {
    text-shadow:
      0 0 40px rgba(77, 232, 208, 0.25),
      0 0 80px rgba(123, 104, 238, 0.15);
  }
  50% {
    text-shadow:
      0 0 50px rgba(77, 232, 208, 0.4),
      0 0 100px rgba(123, 104, 238, 0.25);
  }
}

@keyframes starSpin {
  0% { transform: rotate(0deg) scale(1); opacity: 0.85; }
  50% { transform: rotate(180deg) scale(1.1); opacity: 1; }
  100% { transform: rotate(360deg) scale(1); opacity: 0.85; }
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  border: 1px solid rgba(77, 232, 208, 0.35);
  border-radius: 100px;
  padding: 0.45rem 1.4rem;
  margin-bottom: 1.75rem;
  background: rgba(77, 232, 208, 0.06);
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: 0.8; border-color: rgba(77, 232, 208, 0.35); }
  50% { opacity: 1; border-color: rgba(77, 232, 208, 0.6); }
}

.tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  font-style: italic;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1rem;
  max-width: 480px;
  line-height: 1.4;
}

.description {
  font-size: clamp(0.875rem, 2vw, 1rem);
  font-weight: 300;
  color: var(--text-muted);
  max-width: 420px;
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

.contact {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  padding: 0.65rem 1.4rem;
  border-radius: 100px;
  border: 1px solid rgba(240, 240, 245, 0.15);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.contact:hover {
  border-color: rgba(77, 232, 208, 0.4);
  background: rgba(77, 232, 208, 0.08);
  box-shadow: 0 0 20px rgba(77, 232, 208, 0.12);
}

.contact-icon {
  color: var(--accent-cyan);
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 480px) {
  .hero {
    padding-bottom: 24vh;
  }

  .wordmark {
    flex-direction: column;
    gap: 0.25rem;
  }

  .laser {
    height: 45%;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .laser,
  .badge,
  .wordmark,
  .wordmark-star {
    animation: none;
  }

  .laser {
    opacity: 0.3;
  }

  .badge {
    opacity: 1;
  }
}
