/* Hero section */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-3xl) var(--space-lg) var(--space-xl);
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, #11061f 0%, #08030f 40%, #050610 100%);
}

/* Star layers */
.hero__stars {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__stars canvas {
  width: 100%;
  height: 100%;
}

/* Purple nebula glow */
.hero__nebula {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 15% 40%, rgba(120, 50, 180, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 75% 25%, rgba(160, 60, 220, 0.25) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 75%, rgba(80, 30, 150, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 70%, rgba(100, 40, 170, 0.2) 0%, transparent 40%),
    radial-gradient(ellipse at 30% 10%, rgba(140, 70, 200, 0.15) 0%, transparent 55%);
  pointer-events: none;
  animation: nebula-drift 30s ease-in-out infinite alternate;
}

@keyframes nebula-drift {
  0% {
    opacity: 0.8;
    transform: scale(1) translate(0, 0);
  }
  50% {
    opacity: 1;
    transform: scale(1.05) translate(-1%, 1%);
  }
  100% {
    opacity: 0.85;
    transform: scale(1.02) translate(1%, -0.5%);
  }
}
.hero__nebula-deep {
  position: absolute;
  inset: -10%;
  z-index: 0;
  background:
    radial-gradient(circle at 60% 50%, rgba(110, 60, 190, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 25% 60%, rgba(90, 40, 160, 0.12) 0%, transparent 35%);
  pointer-events: none;
  animation: nebula-deep-drift 45s ease-in-out infinite alternate;
  filter: blur(40px);
}

@keyframes nebula-deep-drift {
  0% {
    transform: scale(1) rotate(0deg);
  }
  100% {
    transform: scale(1.08) rotate(2deg);
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero__logo {
  width: 600px;
  margin: 0 auto var(--space-lg);
  transition: all var(--transition-base);
  cursor: pointer;
}

.hero__logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.15));
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
  letter-spacing: 0.02em;
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.3),
    0 0 16px rgba(255, 255, 255, 0.18),
    0 0 24px rgba(255, 255, 255, 0.1);
}

/* Demo CTA */
.hero__cta {
  text-align: center;
}

.hero__cta-title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-lg);
}

/* Fake demo progress bar - locked at 70% */
.hero__progress {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 28px;
  margin: 0 auto var(--space-md);
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5);
}

.hero__progress-fill {
  height: 100%;
  width: 0;
  background:
    repeating-linear-gradient(
      45deg,
      var(--color-accent) 0,
      var(--color-accent) 10px,
      var(--color-accent-hover) 10px,
      var(--color-accent-hover) 20px
    );
  background-size: 28px 28px;
  border-right: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 12px var(--color-accent-glow);
  transition: width 4s cubic-bezier(0.2, 0.8, 0.3, 1);
  animation: progress-stripes 1s linear infinite;
}

@keyframes progress-stripes {
  from { background-position: 0 0; }
  to { background-position: 28px 0; }
}

.hero__progress-status {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  min-height: 1.5em;
  transition: opacity 0.3s ease;
}

.hero__progress-status--fading {
  opacity: 0;
}

.hero__steam-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  transition: all var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: var(--space-md);
  white-space: nowrap;          /* added */
}

.hero__steam-btn:hover {
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.hero__cta-subtitle {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--color-text-secondary);
  max-width: 500px;
  margin: 0 auto var(--space-lg);
}
/* Phone-only — tight sizing */
@media (max-width: 768px) {
  .hero__logo {
    width: 90%;
    max-width: 400px;
  }
  .hero__tagline {
    font-size: 1.2rem;
  }
  .hero__cta {
    padding: var(--space-md) var(--space-lg);
  }
  .hero__cta-title {
    font-size: 1.25rem;
  }
  .hero__cta-subtitle {
    font-size: 1.05rem;
  }
  .hero__progress {
    height: 22px;
  }
  .hero__progress-status {
    font-size: 0.85rem;
  }
  .hero__steam-btn {
    font-size: 0.8rem;
    padding: 0.7rem 2rem;
  }
}

/* Tablet only — between phone and desktop */
@media (min-width: 769px) and (max-width: 900px) {
  .hero__logo {
    max-width: 550px;
  }
  .hero__tagline {
    font-size: 1.4rem;
  }
  .hero__cta-title {
    font-size: 1.6rem;
  }
  .hero__cta-subtitle {
    font-size: 1.2rem;
  }
  .hero__progress {
    height: 26px;
  }
  .hero__progress-status {
    font-size: 0.95rem;
  }
  .hero__steam-btn {
    font-size: 0.95rem;
    padding: 0.85rem 2.5rem;
  }
}