/* V87: explicit, shared PNSS orbit motion for every hero family. */
:root {
  --v87-orbit-speed: 36s;
  --v87-navy: #020b1c;
  --v87-blue: #1267f3;
  --v87-cyan: #31d7ff;
}

.v86-orbit-stage,
.premium-hero-graphic.v86-page-orbit {
  display: none !important;
}

.home-hero {
  grid-template-columns: minmax(0, 52%) minmax(0, 48%) !important;
  background: linear-gradient(90deg, #f7f4ed 0 52%, var(--v87-navy) 52% 100%) !important;
}

.home-hero .hero-copy {
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  padding-right: clamp(42px, 5vw, 92px) !important;
  overflow: visible !important;
}

.home-hero .hero-copy h1 {
  width: 100% !important;
  max-width: none !important;
  color: #061735 !important;
  font-size: clamp(4rem, 5vw, 5.6rem) !important;
  line-height: 0.98 !important;
  letter-spacing: 0 !important;
  white-space: nowrap;
}

.home-hero .ecosystem-visual {
  min-width: 0 !important;
  overflow: hidden !important;
}

.v87-orbit-stage {
  position: relative;
  isolation: isolate;
  color: #fff;
}

.v87-home-orbit {
  position: absolute;
  inset: 5% 4%;
  z-index: 3;
}

.v87-page-orbit {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: clamp(30px, 6vw, 116px);
  width: min(40vw, 600px);
  height: min(40vw, 600px);
  transform: translateY(-50%);
}

.v87-compact-orbit {
  width: min(100%, 360px);
  height: 220px;
  margin-top: 30px;
  border: 1px solid rgba(49, 215, 255, 0.25);
  border-radius: 18px;
  background:
    linear-gradient(rgba(49, 215, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 215, 255, 0.07) 1px, transparent 1px),
    #03132e;
  background-size: 32px 32px;
  box-shadow: inset 0 0 52px rgba(49, 215, 255, 0.08);
  overflow: hidden;
}

.v87-orbit-ring,
.v87-orbit-ring::after {
  position: absolute;
  inset: 12%;
  z-index: -1;
  border: 1px solid rgba(49, 215, 255, 0.28);
  border-radius: 50%;
  content: "";
  box-shadow: inset 0 0 70px rgba(49, 215, 255, 0.04);
}

.v87-orbit-ring::after {
  inset: 21%;
  border-color: rgba(255, 255, 255, 0.12);
}

.v87-orbit-line {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  width: 1px;
  height: 1px;
  transform-origin: 0 50%;
  background: linear-gradient(90deg, rgba(49, 215, 255, 0.62), rgba(49, 215, 255, 0.06));
  pointer-events: none;
}

.v87-orbit-pillar {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 190px;
  min-height: 78px;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(49, 215, 255, 0.44);
  border-radius: 16px;
  background: rgba(3, 19, 46, 0.9);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.28), inset 0 0 28px rgba(49, 215, 255, 0.08);
  backdrop-filter: blur(14px);
  will-change: transform;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.v87-orbit-pillar:hover,
.v87-orbit-pillar:focus-visible {
  border-color: rgba(49, 215, 255, 0.96);
  background: rgba(5, 31, 72, 0.96);
  box-shadow: 0 26px 76px rgba(49, 215, 255, 0.25), inset 0 0 34px rgba(49, 215, 255, 0.12);
}

.v87-orbit-code {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(49, 215, 255, 0.55);
  border-radius: 12px;
  background: rgba(18, 103, 243, 0.22);
  color: var(--v87-cyan);
  font-size: 0.7rem;
  font-weight: 850;
}

.v87-orbit-copy {
  min-width: 0;
}

.v87-orbit-copy small {
  display: block;
  color: rgba(224, 236, 255, 0.62);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.v87-orbit-copy strong {
  display: block;
  margin-top: 2px;
  font-size: 0.88rem;
  line-height: 1.22;
}

.v87-orbit-arrow {
  color: var(--v87-cyan);
  font-size: 0.8rem;
}

.v87-orbit-center {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 50%;
  width: 126px;
  height: 126px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(18, 103, 243, 0.98), rgba(3, 33, 83, 0.98));
  color: #fff;
  text-decoration: none;
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow:
    0 0 0 16px rgba(18, 103, 243, 0.13),
    0 0 0 36px rgba(49, 215, 255, 0.06),
    0 28px 90px rgba(49, 215, 255, 0.28);
}

.v87-orbit-center > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: rotate(-45deg);
  text-align: center;
}

.v87-orbit-center strong {
  font-family: var(--font-sora), Arial, sans-serif;
  font-size: 1.45rem;
  letter-spacing: 0;
}

.v87-orbit-center small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.54rem;
  font-weight: 800;
}

.v87-compact-orbit .v87-orbit-pillar {
  width: 128px;
  min-height: 50px;
  grid-template-columns: 30px 1fr;
  gap: 7px;
  padding: 7px 9px;
  border-radius: 12px;
}

.v87-compact-orbit .v87-orbit-code {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  font-size: 0.55rem;
}

.v87-compact-orbit .v87-orbit-copy small,
.v87-compact-orbit .v87-orbit-arrow {
  display: none;
}

.v87-compact-orbit .v87-orbit-copy strong {
  margin: 0;
  font-size: 0.66rem;
}

.v87-compact-orbit .v87-orbit-center {
  width: 76px;
  height: 76px;
  border-radius: 19px;
  box-shadow:
    0 0 0 10px rgba(18, 103, 243, 0.13),
    0 0 0 22px rgba(49, 215, 255, 0.06),
    0 20px 58px rgba(49, 215, 255, 0.22);
}

.v87-compact-orbit .v87-orbit-center strong {
  font-size: 0.9rem;
}

.v87-compact-orbit .v87-orbit-center small {
  font-size: 0.4rem;
}

.v87-orbit-stage[data-paused="true"] .v87-orbit-pillar {
  border-color: rgba(49, 215, 255, 0.72);
}

@media (width <= 1180px) {
  .home-hero .hero-copy h1 {
    font-size: clamp(3.55rem, 4.6vw, 4.8rem) !important;
  }

  .v87-page-orbit {
    right: 18px;
    width: min(43vw, 500px);
    height: min(43vw, 500px);
  }

  .v87-page-orbit .v87-orbit-pillar {
    width: 166px;
    min-height: 68px;
    grid-template-columns: 38px 1fr;
  }

  .v87-page-orbit .v87-orbit-code {
    width: 38px;
    height: 38px;
  }

  .v87-page-orbit .v87-orbit-arrow {
    display: none;
  }
}

@media (width <= 900px) {
  .home-hero {
    display: block !important;
    background: #f7f4ed !important;
  }

  .home-hero .hero-copy h1 {
    font-size: clamp(3.45rem, 12vw, 5rem) !important;
  }

  .v87-home-orbit {
    inset: 4%;
  }

  .v87-page-orbit {
    position: relative;
    top: auto;
    right: auto;
    width: min(92vw, 500px);
    height: min(92vw, 500px);
    margin: 18px auto 44px;
    transform: none;
  }

  .page-hero-inner {
    padding-right: 32px !important;
  }
}

@media (width <= 620px) {
  .home-hero .hero-copy {
    padding-right: 22px !important;
  }

  .home-hero .hero-copy h1 {
    font-size: clamp(3.05rem, 15vw, 4rem) !important;
  }

  .home-hero .ecosystem-visual {
    min-height: 500px !important;
  }

  .v87-home-orbit {
    inset: 4% 2%;
  }

  .v87-home-orbit .v87-orbit-pillar,
  .v87-page-orbit .v87-orbit-pillar {
    width: 132px;
    min-height: 52px;
    grid-template-columns: 30px 1fr;
    gap: 7px;
    padding: 7px 9px;
    border-radius: 12px;
  }

  .v87-home-orbit .v87-orbit-code,
  .v87-page-orbit .v87-orbit-code {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: 0.55rem;
  }

  .v87-home-orbit .v87-orbit-copy small,
  .v87-page-orbit .v87-orbit-copy small,
  .v87-home-orbit .v87-orbit-arrow,
  .v87-page-orbit .v87-orbit-arrow {
    display: none;
  }

  .v87-home-orbit .v87-orbit-copy strong,
  .v87-page-orbit .v87-orbit-copy strong {
    margin: 0;
    font-size: 0.68rem;
  }

  .v87-home-orbit .v87-orbit-center,
  .v87-page-orbit .v87-orbit-center {
    width: 88px;
    height: 88px;
    border-radius: 21px;
  }

  .v87-home-orbit .v87-orbit-center strong,
  .v87-page-orbit .v87-orbit-center strong {
    font-size: 1rem;
  }

  .v87-page-orbit {
    width: min(94vw, 390px);
    height: min(94vw, 390px);
  }

  .v87-compact-orbit {
    width: 100%;
    height: 210px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v87-orbit-pillar {
    will-change: auto;
  }
}
