/* Isolated styles for the Network Copilot architecture diagram only. */
.nc-architecture {
  --nca-navy: #0b2942;
  --nca-forest: #176b52;
  --nca-teal: #0c9a86;
  --nca-ink: #15374e;
  --nca-muted: #687f90;
  position: relative;
  isolation: isolate;
  padding: clamp(44px, 5vw, 68px) 0;
  background: transparent;
  color: var(--nca-ink);
  overflow: hidden;
}
.nc-architecture * {
  box-sizing: border-box;
}
.nc-arch-container {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}
.nc-arch-heading {
  text-align: center;
  max-width: 790px;
  margin: 0 auto 38px;
}
.nc-arch-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--nca-forest);
  margin-bottom: 12px;
}
.nc-arch-heading h2 {
  font-size: clamp(25px, 3.1vw, 39px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--nca-navy);
  margin: 0 0 13px;
}
.nc-arch-heading h2 span {
  color: #119e93;
}
.nc-arch-heading p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--nca-muted);
  font-size: 15px;
  line-height: 1.7;
}
.nc-arch-flow {
  display: grid;
  grid-template-columns: minmax(200px, 245px) minmax(185px, 225px) minmax(330px, 420px);
  justify-content: space-between;
  align-items: center;
  column-gap: clamp(48px, 7.5vw, 112px);
  position: relative;
  isolation: isolate;
  max-width: 1200px;
  margin-inline: auto;
}
.nc-arch-wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  overflow: visible;
  pointer-events: none;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nc-arch-wires .nc-arch-glow {
  stroke: #33e6c6;
  stroke-width: 9;
  opacity: 0.45;
  filter: url(#nc-arch-glow);
}
.nc-arch-wires .nc-arch-line {
  stroke: #12a58f;
  stroke-width: 2.6;
}
.nc-arch-wires .nc-arch-dotted {
  stroke: #12a58f;
  stroke-width: 2.4;
  stroke-dasharray: 0.1 5;
}
.nc-arch-wires .nc-arch-node-glow {
  fill: #33e6c6;
  opacity: 0.55;
  filter: url(#nc-arch-glow);
}
.nc-arch-wires .nc-arch-dot {
  fill: #2fe0c0;
  stroke: #e9fffa;
  stroke-width: 2;
}
.nc-arch-wires .nc-arch-ring {
  fill: #fff;
  stroke: #12b39a;
  stroke-width: 3;
}
.nc-arch-wires .nc-arch-ring-lg {
  fill: #fff;
  stroke: #12b39a;
  stroke-width: 4;
}
.nc-arch-panel,
.nc-arch-copilot {
  min-width: 0;
  position: relative;
  z-index: 1;
}
.nc-arch-panel {
  padding: 17px;
  border-radius: 19px;
  border: 1px solid #d7e9e5;
  background: rgba(244, 249, 247, 0.98);
  box-shadow: 0 12px 30px rgba(11, 41, 66, 0.07);
}
.nc-arch-panel-head {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 15px;
  min-height: 37px;
}
.nc-arch-panel-head h3 {
  margin: 0 0 4px;
  font-size: clamp(13px, 1.15vw, 16px);
  line-height: 1.25;
  color: var(--nca-navy);
  font-weight: 800;
}
.nc-arch-panel-head p {
  margin: 0;
  color: var(--nca-muted);
  font-size: 10px;
  line-height: 1.35;
}
.nc-arch-source {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 62px;
  margin-top: 10px;
  padding: 8px 10px;
  border: 1px solid #e1ecea;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(11, 41, 66, 0.035);
}
.nc-arch-brand-logo {
  display: block;
  object-fit: contain;
  max-width: 100%;
  height: auto;
  max-height: 39px;
  position: relative;
  z-index: 2;
}
.nc-arch-logo-libre {
  width: 150px;
}
.nc-arch-logo-observium {
  width: 154px;
}
.nc-arch-logo-zabbix {
  width: 118px;
}
.nc-arch-logo-emaestro {
  width: 146px;
}
.nc-arch-source-caption {
  display: none;
}
.nc-arch-source-label {
  display: block;
  text-align: left;
}
.nc-arch-source-label b {
  display: block;
  color: var(--nca-navy);
  font-size: 12px;
}
.nc-arch-source-label small {
  display: block;
  color: var(--nca-muted);
  font-size: 9px;
  margin-top: 3px;
}
.nc-arch-logs-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  fill: none;
  stroke: #173e5a;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nc-arch-connectors {
  background: rgba(234, 248, 244, 0.98);
  border-color: #c5e8dd;
  padding: 18px;
}
.nc-arch-connect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.nc-arch-connector {
  min-height: 116px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 5px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #e0eeeb;
  border-radius: 14px;
}
.nc-arch-connector b {
  font-size: 14px;
  color: var(--nca-navy);
  margin-top: 8px;
}
.nc-arch-server {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 38px;
  padding: 6px 5px;
  border-radius: 5px;
  background: var(--nca-teal);
}
.nc-arch-server i {
  height: 5px;
  border-radius: 3px;
  background: #fff;
  position: relative;
}
.nc-arch-server i:after {
  content: "";
  position: absolute;
  right: 4px;
  top: 1px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #0b2942;
}
.nc-arch-server-dark {
  background: var(--nca-navy);
}
.nc-arch-api {
  font-size: 38px;
  line-height: 1;
  color: var(--nca-forest);
}
.nc-arch-api-dark {
  color: var(--nca-navy);
}
.nc-arch-copilot {
  padding: 17px;
  border-radius: 20px;
  background: linear-gradient(145deg, #0b2942, #0a3c53);
  border: 1px solid #168c80;
  box-shadow: 0 15px 34px rgba(11, 41, 66, 0.15);
}
.nc-arch-copilot-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 3px 16px;
  color: #fff;
  min-width: 0;
}
.nc-arch-product-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  background: #eef7f5;
  border-radius: 13px;
}
.nc-arch-product-mark img {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.nc-arch-product-name {
  min-width: 0;
  flex: 1;
}
.nc-arch-product-name b {
  display: block;
  white-space: nowrap;
  font-size: clamp(16px, 1.7vw, 23px);
  letter-spacing: -0.025em;
}
.nc-arch-product-name em {
  font-style: normal;
  color: #31d1b1;
}
.nc-arch-live {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.nc-arch-live i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #0da58e;
}
.nc-arch-chat {
  display: block;
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  border-top: 4px solid #0c9a86;
}
.nc-arch-chat-body {
  min-width: 0;
  padding: 19px 20px 17px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  color: var(--nca-ink);
}
.nc-arch-user-question {
  align-self: flex-end;
  max-width: 95%;
  padding: 14px 17px;
  border-radius: 13px;
  background: #d8f5ee;
  color: #153d51;
  font-size: clamp(12px, 1.1vw, 15px);
  line-height: 1.4;
}
.nc-arch-answer {
  padding: 16px 18px;
  border: 1px solid #e2ecea;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(11, 41, 66, 0.04);
  font-size: clamp(11px, 1vw, 14px);
}
.nc-arch-answer-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: clamp(13px, 1.2vw, 16px);
}
.nc-arch-answer-title span {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 2px dotted var(--nca-teal);
  border-radius: 50%;
  color: var(--nca-forest);
  font-size: 17px;
  flex: 0 0 27px;
}
.nc-arch-metric {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 8px 0;
  color: #203e55;
  line-height: 1.4;
}
.nc-arch-metric i {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 50%;
  background: #1daf53;
}
.nc-arch-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 54px;
  padding: 5px 6px 5px 15px;
  border: 1px solid #d7e4e8;
  border-radius: 10px;
  color: #8296a8;
  font-size: clamp(11px, 1vw, 14px);
}
.nc-arch-input b {
  display: grid;
  place-items: center;
  width: 48px;
  height: 43px;
  border-radius: 9px;
  background: linear-gradient(135deg, #087e72, #0dbd9e);
  color: #fff;
  font-size: 22px;
  flex: 0 0 48px;
}
.nc-arch-note {
  text-align: center;
  margin: 17px 0 0;
  color: var(--nca-muted);
  font-size: 10px;
  line-height: 1.5;
}
@media (max-width: 1050px) {
  .nc-arch-flow {
    grid-template-columns: minmax(205px, 280px) minmax(190px, 260px);
    gap: 24px;
  }
  .nc-arch-wires {
    display: none;
  }
  .nc-arch-copilot {
    grid-column: 1/-1;
    max-width: 560px;
    width: 100%;
    justify-self: center;
  }
  .nc-arch-panel {
    height: 100%;
  }
}
@media (max-width: 620px) {
  .nc-architecture {
    padding: 38px 0;
  }
  .nc-arch-container {
    width: calc(100% - 28px);
  }
  .nc-arch-heading {
    margin-bottom: 25px;
  }
  .nc-arch-heading p {
    font-size: 13px;
  }
  .nc-arch-flow {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .nc-arch-panel {
    height: auto;
    padding: 14px;
  }
  .nc-arch-panel-head h3 {
    font-size: 15px;
  }
  .nc-arch-source {
    min-height: 57px;
  }
  .nc-arch-connect-grid {
    gap: 10px;
  }
  .nc-arch-connector {
    min-height: 98px;
  }
  .nc-arch-copilot {
    grid-column: auto;
    padding: 12px;
  }
  .nc-arch-copilot-bar {
    gap: 10px;
    padding-bottom: 12px;
  }
  .nc-arch-product-mark {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }
  .nc-arch-product-mark img {
    width: 26px;
    height: 26px;
  }
  .nc-arch-product-name b {
    font-size: 16px;
  }
  .nc-arch-live {
    gap: 4px;
  }
  .nc-arch-live i {
    width: 8px;
    height: 8px;
  }
  .nc-arch-chat-body {
    padding: 12px;
    gap: 10px;
  }
  .nc-arch-user-question {
    padding: 11px 12px;
    font-size: 12px;
  }
  .nc-arch-answer {
    padding: 12px;
    font-size: 11px;
  }
  .nc-arch-answer-title {
    font-size: 13px;
  }
  .nc-arch-metric {
    margin: 7px 0;
  }
  .nc-arch-input {
    min-height: 45px;
    font-size: 10px;
  }
  .nc-arch-input b {
    width: 36px;
    height: 35px;
    flex-basis: 36px;
    font-size: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nc-architecture * {
    scroll-behavior: auto;
  }
}
