/* Center container against your galaxy background */
.hero-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  text-align: center;
  padding: 2rem;
  color: #ffffff;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Base animation preset */
.intro-title,
.intro-subtitle,
.intro-links {
  opacity: 0;
  transform: translateY(16px);
  animation: smoothFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* 1. Title appears immediately */
.intro-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 1rem 0;
  animation-delay: 0.2s;
  /* Optional subtle glow for the galaxy theme */
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.25);
}

/* 2. Subtitle appears 0.8s later */
.intro-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: #cbd5e1; /* softer off-white for visual hierarchy */
  margin: 0 0 2rem 0;
  animation-delay: 1.0s;
}

/* 3. Links appear last (1.6s) */
.intro-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  animation-delay: 1.6s;
}

/* Modern glassmorphism chip links */
.nav-chip {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 9999px; /* pill shape */
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.nav-chip:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  color: #FF6B00;
}

/* The reusable fade-and-lift keyframe */
@keyframes smoothFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}