.ps-stack {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 900px 900px at 15% 50%, rgba(0, 180, 240, 0.14) 0%, transparent 70%),
    radial-gradient(ellipse 700px 700px at 10% 60%, rgba(160, 79, 244, 0.16) 0%, transparent 70%),
    #000;
}

.ps-stack__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 50%, rgba(0, 180, 240, 0.12), transparent 35%),
    radial-gradient(circle at 80% 30%, rgba(160, 79, 244, 0.12), transparent 30%);
}

.ps-stack__container {
  position: relative;
  z-index: 1;
}

.ps-stack {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .ps-stack {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

@media (min-width: 1280px) {
  .ps-stack {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

.ps-stack__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .ps-stack__inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 4rem;
  }
}

.ps-stack__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

.ps-stack__subheading {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-family: "Season Serif", serif;
  font-size: 16px;
  line-height: 1;
}

.ps-stack__heading {
  margin: 0;
  color: #fff;
  font-family: "Season Sans", sans-serif;
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 400;
  line-height: 1.15;
}

.ps-stack__description {
  margin: 0;
  color: #a1a1a1;
  font-family: "Season Sans", sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

.ps-stack__description a {
  color: inherit;
  text-decoration: underline;
}

.ps-stack__description a:hover {
  text-decoration: none;
}

.ps-stack .ps-stack__inner {
  gap: 2rem;
}

@media (min-width: 768px) {
  .ps-stack .ps-stack__inner {
    gap: 4rem;
  }
}

.ps-stack-orbit-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
}

.ps-stack-orbit {
  position: relative;
  width: 340px;
  height: 340px;
}

@media (min-width: 768px) {
  .ps-stack-orbit {
    width: 420px;
    height: 420px;
  }
}

@media (min-width: 1280px) {
  .ps-stack-orbit {
    width: 480px;
    height: 480px;
  }
}

.ps-stack-orbit__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ps-stack-orbit__ring--1 {
  width: 58%;
  height: 58%;
}

.ps-stack-orbit__ring--2 {
  width: 92%;
  height: 92%;
}

.ps-stack-orbit__ring--1::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.ps-stack-orbit__hub {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  background: rgba(80, 180, 80, 0.15);
  border: 1px solid rgba(80, 180, 80, 0.2);
  border-radius: 50%;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.ps-stack-orbit__hub:hover {
  transform: translate(-50%, -50%) scale(1.18);
}

.ps-stack-orbit__hub-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.ps-stack-orbit__track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  animation: ps-stack-orbitSpin var(--speed) linear infinite;
}

.ps-stack-orbit__track--1 {
  --speed: 35s;
}

.ps-stack-orbit__track--2 {
  --speed: 50s;
  animation-direction: reverse;
}

@keyframes ps-stack-orbitSpin {
  to {
    transform: rotate(360deg);
  }
}

.ps-stack-orbit__item {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.ps-stack-orbit__track--1 .ps-stack-orbit__item {
  animation: ps-stack-orbitSpin 35s linear infinite reverse;
}

.ps-stack-orbit__track--2 .ps-stack-orbit__item {
  animation: ps-stack-orbitSpin 50s linear infinite;
}

.ps-stack-orbit__track--1 .ps-stack-orbit__item:nth-child(1) {
  top: calc(21% - 40px);
  left: 50%;
  margin-left: -40px;
}

.ps-stack-orbit__track--1 .ps-stack-orbit__item:nth-child(2) {
  top: calc(79% - 40px);
  left: 50%;
  margin-left: -40px;
}

.ps-stack-orbit__track--2 .ps-stack-orbit__item:nth-child(1) {
  top: calc(4% - 40px);
  left: 50%;
  margin-left: -40px;
}

.ps-stack-orbit__track--2 .ps-stack-orbit__item:nth-child(2) {
  top: calc(35.8% - 40px);
  left: 93.7%;
  margin-left: -40px;
}

.ps-stack-orbit__track--2 .ps-stack-orbit__item:nth-child(3) {
  top: calc(87.2% - 40px);
  left: 77%;
  margin-left: -40px;
}

.ps-stack-orbit__track--2 .ps-stack-orbit__item:nth-child(4) {
  top: calc(87.2% - 40px);
  left: 23%;
  margin-left: -40px;
}

.ps-stack-orbit__track--2 .ps-stack-orbit__item:nth-child(5) {
  top: calc(35.8% - 40px);
  left: 6.3%;
  margin-left: -40px;
}

.ps-stack-orbit__node {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  backdrop-filter: blur(4px);
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.3s ease;
}

.ps-stack-orbit__node:hover {
  transform: scale(1.18);
}

.ps-stack-orbit__node--blue {
  background: rgba(60, 80, 200, 0.15);
  border-color: rgba(60, 80, 200, 0.2);
}

.ps-stack-orbit__node--bright-blue {
  background: rgba(50, 140, 255, 0.18);
  border-color: rgba(50, 140, 255, 0.25);
}

.ps-stack-orbit__node--orange {
  background: rgba(255, 120, 50, 0.15);
  border-color: rgba(255, 120, 50, 0.2);
}

.ps-stack-orbit__node--dark-orange {
  background: rgba(220, 90, 20, 0.18);
  border-color: rgba(220, 90, 20, 0.22);
}

.ps-stack-orbit__node--yellow {
  background: rgba(240, 200, 40, 0.15);
  border-color: rgba(240, 200, 40, 0.2);
}

.ps-stack-orbit__logo {
  width: 64px;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.ps-stack-orbit__text-logo {
  color: rgba(255, 255, 255, 0.85);
  font-family: "Season Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-align: center;
  white-space: nowrap;
}
