/* One system (#hubx) */
#hubx {
  position: relative;
  padding: 100px 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #0b0c14;
  overflow: hidden
}

#hubx .hw {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 24px;
  align-items: center
}

#hubx .hk {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  color: #2f6bff;
  background: rgba(47, 107, 255, .08);
  border: 1px solid rgba(47, 107, 255, .2);
  padding: 8px 16px 8px 10px;
  border-radius: 99px
}

#hubx .hk i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  font-style: normal;
  box-shadow: 0 2px 8px rgba(47, 107, 255, .2)
}

#hubx h2 {
  font-size: clamp(38px, 4.4vw, 60px);
  line-height: 1.05;
  letter-spacing: -.04em;
  font-weight: 700;
  margin: 22px 0 18px
}

#hubx h2 .g {
  background: linear-gradient(100deg, #2f6bff, #6d5cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

#hubx .hl {
  font-size: 18px;
  line-height: 1.6;
  color: #6b6b76;
  max-width: 520px
}

#hubx .hb {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  padding: 8px 8px 8px 26px;
  border-radius: 99px;
  background: #0b0c14;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none
}

#hubx .hb span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: #0b0c14;
  display: grid;
  place-items: center
}

#hubx .tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 26px
}

#hubx .tb {
  border: 1px solid rgba(0, 0, 0, .08);
  background: #fff;
  border-radius: 99px;
  padding: 8px 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  position: relative;
  overflow: hidden
}

#hubx .tb.on {
  color: #fff;
  background: #2f6bff;
  border-color: #2f6bff
}

#hubx .tb .pb {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: rgba(255, 255, 255, .8)
}

/* stage */
#hubx .st {
  position: relative;
  height: 620px
}

#hubx .arc {
  position: absolute;
  left: 30%;
  top: 0;
  width: 900px;
  height: 620px;
  border-radius: 50% 0 0 50%/50% 0 0 50%;
  overflow: hidden;
  background: radial-gradient(circle at 70% 30%, rgba(109, 92, 255, .55), transparent 55%), radial-gradient(circle at 40% 80%, rgba(34, 193, 220, .45), transparent 55%), linear-gradient(135deg, #0d1030, #1b1f5a 55%, #2a1a5e)
}

#hubx .arc:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .18) 1.5px, transparent 1.6px);
  background-size: 22px 22px;
  opacity: .55;
  mask-image: radial-gradient(circle at 60% 50%, #000 30%, transparent 75%)
}

#hubx .arc i {
  position: absolute;
  border-radius: 6px;
  width: 14px;
  height: 14px;
  opacity: .85;
  animation: hubp 3s ease-in-out infinite
}

@keyframes hubp {
  50% {
    opacity: .35;
    transform: scale(.8)
  }
}

#hubx svg.wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 2
}

#hubx .wire {
  fill: none;
  stroke: rgba(255, 255, 255, .55);
  stroke-width: 2;
  transition: stroke .4s
}

#hubx .wire.base {
  stroke: rgba(200, 210, 255, .45)
}

#hubx .wire.flow {
  stroke: #7dd3fc;
  stroke-width: 2.4;
  stroke-dasharray: 8 10;
  animation: hubf .7s linear infinite;
  opacity: 0;
  transition: opacity .3s
}

#hubx .wire.flow.on {
  opacity: 1
}

#hubx .wire.flow.ok {
  stroke: #5ff0a8
}

@keyframes hubf {
  to {
    stroke-dashoffset: -36
  }
}

#hubx .knob {
  fill: #fff;
  stroke: #5b8cff;
  stroke-width: 2.5
}

#hubx .knob.ok {
  stroke: #19c37d
}

/* node */
#hubx .node {
  position: absolute;
  left: 0;
  top: 50%;
  width: 190px;
  height: 190px;
  margin-top: -125px;
  border-radius: 44px;
  background: #fff;
  box-shadow: 0 40px 80px -30px rgba(20, 30, 90, .45), 0 0 0 1px rgba(0, 0, 0, .04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  z-index: 3;
  transition: transform .4s
}

#hubx .node.busy {
  transform: scale(1.04)
}

#hubx .node svg.sp {
  width: 64px;
  height: 64px
}

#hubx .node.busy svg.sp {
  animation: hubs 1.2s ease-in-out infinite
}

@keyframes hubs {
  50% {
    transform: rotate(12deg) scale(1.08)
  }
}

#hubx .node b {
  font-size: 22px;
  letter-spacing: -.02em;
  display: flex;
  align-items: center;
  gap: 8px
}

#hubx .node b em {
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  color: #6d5cff;
  background: rgba(109, 92, 255, .12);
  padding: 3px 9px;
  border-radius: 99px
}

#hubx .ask {
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: 82px;
  width: 270px;
  padding: 14px 18px;
  border-radius: 18px;
  background: #efeafe;
  color: #2a2550;
  font-size: 15.5px;
  line-height: 1.45;
  z-index: 3;
  box-shadow: 0 18px 40px -24px rgba(60, 40, 140, .5);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s, transform .45s
}

#hubx .ask.on {
  opacity: 1;
  transform: none
}

#hubx .ask small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #6d5cff;
  margin-bottom: 4px
}

#hubx .ask .car {
  display: inline-block;
  width: 2px;
  height: 16px;
  background: #6d5cff;
  vertical-align: -3px;
  animation: hubc 1s steps(2) infinite
}

@keyframes hubc {
  50% {
    opacity: 0
  }
}

/* cards */
#hubx .cards {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 310px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 3
}

#hubx .cd {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: 0 18px 40px -22px rgba(20, 30, 90, .55);
  transition: transform .35s, box-shadow .35s
}

#hubx .cd.hot {
  transform: translateX(-6px);
  box-shadow: 0 22px 46px -20px rgba(47, 107, 255, .55)
}

#hubx .cd .ic {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  flex: none
}

#hubx .cd .ic svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round
}

#hubx .cd b {
  display: block;
  font-size: 17px;
  letter-spacing: -.01em
}

#hubx .cd .chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  background: #eef3ff;
  color: #2f6bff;
  transition: background .35s, color .35s
}

#hubx .cd .chip.ok {
  background: rgba(25, 195, 125, .12);
  color: #0e9a62
}

#hubx .cd .chip.ok:before {
  content: "✓"
}

#hubx .cd .ar {
  margin-left: auto;
  color: #b0b3c2;
  font-size: 20px
}

html[data-theme=dark] #hubx {
  color: #f2f3f7
}

html[data-theme=dark] #hubx .hl {
  color: #a3a6b4
}

html[data-theme=dark] #hubx .cd,
html[data-theme=dark] #hubx .node {
  color: #0b0c14
}

@media(max-width:1100px) {
  #hubx .hw {
    grid-template-columns: 1fr
  }

  #hubx .st {
    height: 600px
  }

  #hubx .arc {
    left: 28%
  }
}

@media(max-width:640px) {
  #hubx .st {
    height: 760px
  }

  #hubx .arc {
    left: 0;
    top: auto;
    bottom: 0;
    width: 100%;
    height: 520px;
    border-radius: 50% 50% 0 0/30% 30% 0 0
  }

  #hubx .node {
    left: 50%;
    top: 0;
    margin: 0 0 0 -90px;
    width: 180px;
    height: 180px
  }

  #hubx .ask {
    left: 5%;
    right: 5%;
    width: auto;
    top: 200px;
    margin: 0
  }

  #hubx .cards {
    left: 5%;
    right: 5%;
    width: auto;
    top: auto;
    bottom: 16px;
    transform: none
  }

  #hubx svg.wires {
    display: none
  }
}