.docs-hero {
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #091226;
  padding: 30px;
  margin-bottom: 36px;
  position: relative;
  overflow: visible;
}

.docs-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../hero-bg.jpg");
  background-size: cover;
  background-position: center;
  filter: blur(14px) saturate(1.1);
  opacity: 0.35;
}

.docs-hero__content {
  position: relative;
  z-index: 1;
}

.docs-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 5vw, 52px);
}

.docs-hero__eyebrow {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.docs-hero__subtitle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  margin-bottom: 6px;
}

.docs-hero__status {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0;
  border: 1px solid transparent;
  position: relative;
  overflow: visible;
  z-index: 1;
}

.docs-hero__status::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  margin-right: 6px;
  background: currentColor;
  opacity: 0.7;
}

.docs-hero__status--stable {
  background: rgba(67, 138, 194, 0.2);
  color: #8bc4ff;
}

.docs-hero__status--wip {
  background: rgba(255, 188, 64, 0.25);
  color: #ffd898;
}

.docs-hero__status--deprecated {
  background: rgba(255, 99, 99, 0.25);
  color: #ffb3b3;
}

.docs-hero__status::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid currentColor;
  opacity: 0;
  filter: blur(6px);
  transform: scale(0.9);
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
}

.docs-hero__status--stable::after {
  animation: status-glow-stable 5s ease-in-out infinite;
}

.docs-hero__status--stable::before {
  background: #95bff0;
  box-shadow: 0 0 6px rgba(149, 191, 240, 0.6);
}

.docs-hero__status--wip::after {
  animation: status-glow-wip 3s ease-in-out infinite;
}

.docs-hero__status--wip::before {
  background: #ffce65;
  box-shadow: 0 0 8px rgba(255, 206, 101, 0.6);
}

.docs-hero__status--deprecated::after {
  animation: status-glow-deprecated 1.5s ease-in-out infinite;
}

.docs-hero__status--deprecated::before {
  background: #ff6d6d;
  box-shadow: 0 0 10px rgba(255, 109, 109, 0.7);
}

@keyframes status-glow-stable {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  50% {
    opacity: 0.5;
    transform: scale(1);
    box-shadow: 0 0 10px 4px currentColor;
  }
  100% {
    opacity: 0;
    transform: scale(1.02);
    box-shadow: 0 0 12px 6px transparent;
  }
}

@keyframes status-glow-wip {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  40% {
    opacity: 0.7;
    transform: scale(1.05);
    box-shadow: 0 0 14px 6px currentColor;
  }
  100% {
    opacity: 0;
    transform: scale(1.1);
    box-shadow: 0 0 16px 8px transparent;
  }
}

@keyframes status-glow-deprecated {
  0% {
    opacity: 0;
    transform: scale(0.85);
  }
  40% {
    opacity: 0.9;
    transform: scale(1.1);
    box-shadow: 0 0 18px 8px currentColor;
  }
  100% {
    opacity: 0;
    transform: scale(1.15);
    box-shadow: 0 0 20px 10px transparent;
  }
}

.docs-hero__lead {
  margin: 0;
  color: var(--muted);
  max-width: 650px;
  line-height: 1.6;
}

.docs-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.docs-hero__cta {
  padding: 12px 20px;
}

.docs-hero__badge {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.02);
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.docs-hero__badge span {
  font-weight: 600;
}

.docs-hero__badge small {
  color: var(--muted);
}
