.hero {
  position: relative;
  overflow: clip;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  inset-block-start: 2%;
  inset-inline-end: -20%;
  width: min(68vw, 530px);
  aspect-ratio: 1;
  background: radial-gradient(
    circle,
    rgba(124, 58, 237, 0.18) 0%,
    rgba(124, 58, 237, 0.1) 38%,
    rgba(124, 58, 237, 0.02) 62%,
    rgba(124, 58, 237, 0) 100%
  );
}

.hero::after {
  inset-block-end: -26%;
  inset-inline-start: -20%;
  width: min(60vw, 460px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.12), rgba(14, 165, 233, 0));
}

.hero__inner {
  position: relative;
  display: grid;
  gap: 2.2rem;
}

.hero__content {
  display: grid;
  gap: 1.1rem;
  max-inline-size: 40rem;
}

.hero__eyebrow {
  inline-size: fit-content;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  font-weight: 500;
  color: #5d38ab;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
}

.hero__title {
  font-size: clamp(2rem, 7.8vw, 3.45rem);
  line-height: 1.2;
  letter-spacing: -0.012em;
  font-weight: 700;
}

.hero__subtitle {
  color: var(--color-text-muted);
  font-size: clamp(1rem, 2.9vw, 1.22rem);
  max-inline-size: 34rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding-block-start: 0.4rem;
}

.hero__visual {
  position: relative;
  display: grid;
  gap: 1.1rem;
}

.hero-network {
  position: relative;
  width: 100%;
  min-block-size: 365px;
  display: block;
  contain: layout paint;
}

.hero-network__labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}

.hero-network__label {
  position: absolute;
  font-size: 0.7rem;
  font-weight: 500;
  color: #5b21b6;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(124, 58, 237, 0.18);
  border-radius: 6px;
  padding: 0.3rem 0.6rem;
  opacity: 0;
  white-space: nowrap;
  transition: opacity 0.4s ease;
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.1);
}

.hero-network__label--visible {
  opacity: 1;
}

@supports (backdrop-filter: blur(1px)) {
  .hero-network__label {
    backdrop-filter: blur(4px);
    background: rgba(255, 255, 255, 0.8);
  }
}



@media (min-width: 48rem) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    align-items: center;
    gap: 2.8rem;
  }

  .hero__visual {
    align-self: stretch;
  }

  .hero-network {
    min-block-size: 440px;
  }
}

@media (min-width: 64rem) {
  .hero {
    padding-block-start: 1.5rem;
  }

  .hero__inner {
    gap: 3.6rem;
  }

  .hero__actions {
    gap: 0.85rem;
  }

  .hero-network {
    min-block-size: 520px;
  }
}
