.intelligence-section {
  padding-top: 88px;
}

.intelligence-head {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 72px;
  align-items: end;
  margin-bottom: 46px;
}

.intelligence-head h2 {
  margin: 0;
  font-size: clamp(46px, 5vw, 76px);
  line-height: 1;
  letter-spacing: -.05em;
  font-weight: 670;
}

.intelligence-head h2 span {
  color: #8398ae;
  font-weight: 500;
}

.intelligence-head p {
  max-width: 740px;
  margin: 24px 0 0;
  color: #98a9bb;
  font-size: 17px;
  line-height: 1.75;
}

.hub-connection-card {
  justify-self: end;
  min-width: min(100%, 360px);
  padding: 18px 20px;
  border: 1px solid rgba(124, 188, 255, .17);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(10, 22, 38, .92), rgba(5, 13, 24, .74));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
}

.hub-connection-card > span,
.hub-connection-card small {
  display: block;
  color: #617b94;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
  letter-spacing: .13em;
}

.hub-connection-card strong {
  display: block;
  margin: 9px 0 8px;
  font-size: 14px;
  letter-spacing: .06em;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hub-card {
  position: relative;
  min-height: 270px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(7, 16, 28, .7);
}

.hub-card::after {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(53, 167, 255, .055);
  filter: blur(45px);
}

.hub-card-primary {
  background: linear-gradient(145deg, rgba(10, 25, 43, .95), rgba(6, 14, 25, .76));
  border-color: rgba(80, 176, 255, .22);
}

.hub-number {
  display: block;
  margin-bottom: 54px;
  color: #4e6b85;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
}

.hub-card h3 {
  margin: 0 0 13px;
  font-size: 25px;
  letter-spacing: -.025em;
}

.hub-card p {
  max-width: 530px;
  margin: 0;
  color: #8ea1b5;
  font-size: 14px;
  line-height: 1.7;
}

.hub-rule {
  display: inline-flex;
  gap: 10px;
  margin-top: 20px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(97, 242, 189, .14);
  color: #6b879f;
  background: rgba(97, 242, 189, .035);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
  letter-spacing: .08em;
}

.hub-rule b {
  color: #9fe9cc;
  font-weight: 600;
}

.hub-live-shell {
  margin-top: 18px;
  border: 1px solid rgba(139, 197, 255, .16);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(3, 9, 17, .72);
  box-shadow: inset 0 1px rgba(255, 255, 255, .025), 0 30px 90px rgba(0, 0, 0, .2);
}

.hub-live-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px;
  border-bottom: 1px solid var(--line);
}

.hub-live-top .section-kicker {
  margin: 0 0 8px;
}

.hub-live-top h3 {
  margin: 0;
  font-size: 25px;
  letter-spacing: -.025em;
}

.hub-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid rgba(142, 178, 209, .13);
  border-radius: 999px;
  color: #7990a6;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
  letter-spacing: .1em;
}

.hub-live-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6e7f90;
  box-shadow: 0 0 10px rgba(110, 127, 144, .4);
}

.hub-live-badge.online {
  color: #a5dfc9;
  border-color: rgba(97, 242, 189, .17);
  background: rgba(97, 242, 189, .035);
}

.hub-live-badge.online i {
  background: var(--green);
  box-shadow: 0 0 12px rgba(97, 242, 189, .8);
}

.hub-live-badge.offline {
  color: #c89b9b;
  border-color: rgba(255, 133, 133, .15);
}

.hub-live-badge.offline i {
  background: #e78888;
}

.hub-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hub-metrics > div {
  min-height: 150px;
  padding: 23px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hub-metrics > div:nth-child(3n) {
  border-right: 0;
}

.hub-metrics > div:nth-child(n+4) {
  border-bottom: 0;
}

.hub-metrics small {
  display: block;
  color: #5d7388;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
  letter-spacing: .12em;
}

.hub-metrics strong {
  display: block;
  margin: 17px 0 8px;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -.04em;
}

.hub-metrics span {
  color: #75889b;
  font-size: 11px;
}

.hub-live-foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  color: #4f6479;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 8px;
  letter-spacing: .1em;
}

.status-card.status-top.is-online i {
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.status-card.status-top.is-offline i {
  background: #e78888;
  box-shadow: 0 0 10px rgba(231, 136, 136, .55);
}

@media (max-width: 900px) {
  .intelligence-head {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hub-connection-card {
    justify-self: stretch;
  }

  .hub-grid {
    grid-template-columns: 1fr;
  }

  .hub-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hub-metrics > div:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .hub-metrics > div:nth-child(2n) {
    border-right: 0;
  }

  .hub-metrics > div:nth-child(n+4) {
    border-bottom: 1px solid var(--line);
  }

  .hub-metrics > div:nth-child(n+5) {
    border-bottom: 0;
  }
}

@media (max-width: 620px) {
  .intelligence-section {
    padding-top: 70px;
  }

  .hub-card {
    min-height: 240px;
    padding: 22px;
  }

  .hub-number {
    margin-bottom: 38px;
  }

  .hub-live-top,
  .hub-live-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .hub-metrics {
    grid-template-columns: 1fr;
  }

  .hub-metrics > div {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line) !important;
  }

  .hub-metrics > div:last-child {
    border-bottom: 0 !important;
  }
}
