
/* ==========================================================
   SolarCompute — Network Status
   ========================================================== */

.network-status-page {
  --ns-bg: #07131d;
  --ns-deep: #061019;
  --ns-panel: #0c1a26;
  --ns-panel2: #10202d;
  --ns-line: rgba(166,193,211,.16);
  --ns-text: #f1f5f7;
  --ns-muted: #9eafbb;
  --ns-gold: #f2ad3c;
  --ns-green: #58e6a5;
  --ns-blue: #58bfff;

  background: var(--ns-bg);
  color: var(--ns-text);
}

.network-status-page main {
  overflow: hidden;
}

.network-status-page main .container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.network-status-page .ns-eyebrow {
  color: var(--ns-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}


/* HERO */

.ns-hero {
  padding: 100px 0 96px;
  background:
    radial-gradient(circle at 8% 0%, rgba(50,128,184,.15), transparent 34%),
    radial-gradient(circle at 94% 12%, rgba(242,173,60,.07), transparent 28%),
    var(--ns-deep);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.ns-hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.08fr) minmax(390px,.92fr);
  gap: 86px;
  align-items: center;
}

.ns-hero-copy h1 {
  max-width: 680px;
  margin: 20px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(58px,6vw,88px);
  line-height: .97;
  letter-spacing: -.055em;
  color: var(--ns-text);
}

.ns-hero-copy > p {
  max-width: 650px;
  margin: 28px 0 0;
  color: #abc0cd;
  font-size: 17px;
  line-height: 1.75;
}

.ns-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.ns-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-width: 210px;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  color: #eef3f6;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.ns-btn-primary {
  background: var(--ns-gold);
  border-color: var(--ns-gold);
  color: #11100d;
}

.ns-btn-secondary {
  background: rgba(255,255,255,.035);
}

.ns-btn:hover {
  transform: translateY(-1px);
}


/* ARCHITECTURE */

.ns-architecture-card {
  padding: 34px 36px;
  background:
    linear-gradient(145deg, rgba(17,37,51,.98), rgba(9,25,36,.98));
  border: 1px solid rgba(160,190,210,.18);
  border-radius: 20px;
  box-shadow: 0 30px 70px rgba(0,0,0,.22);
}

.ns-card-label {
  margin-bottom: 12px;
  color: var(--ns-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.ns-architecture-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--ns-line);
}

.ns-architecture-row > span {
  display: flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(242,173,60,.42);
  border-radius: 50%;
  color: var(--ns-gold);
  font-size: 10px;
  font-weight: 700;
}

.ns-architecture-row strong {
  display: block;
  margin: 2px 0 6px;
  color: #f3f6f8;
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px;
}

.ns-architecture-row p {
  margin: 0;
  color: var(--ns-muted);
  font-size: 13px;
  line-height: 1.55;
}


/* FOOTPRINT */

.ns-footprint {
  padding: 96px 0 104px;
  background: linear-gradient(180deg,#091620,#07131d);
}

.ns-section-head {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(320px,.65fr);
  gap: 90px;
  align-items: end;
  margin-bottom: 42px;
}

.ns-section-head h2,
.ns-path-intro h2,
.ns-meaning h2 {
  margin: 16px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(40px,4.4vw,62px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.ns-section-head > p {
  margin: 0;
  color: var(--ns-muted);
  font-size: 16px;
  line-height: 1.7;
}


/* TEMPORARY NETWORK VISUAL */

.ns-map-placeholder {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid rgba(160,190,210,.17);
  border-radius: 20px;
  background:
    radial-gradient(circle at 53% 50%,rgba(58,143,194,.13),transparent 35%),
    #06131d;
}

.ns-map-grid {
  position: absolute;
  inset: 0;
  opacity: .34;
  background-image:
    linear-gradient(rgba(112,157,184,.10) 1px,transparent 1px),
    linear-gradient(90deg,rgba(112,157,184,.10) 1px,transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right,transparent,#000 15%,#000 85%,transparent);
}

.ns-map-copy {
  position: absolute;
  left: 44px;
  top: 44px;
  z-index: 2;
  max-width: 390px;
}

.ns-map-copy span {
  color: var(--ns-gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .17em;
}

.ns-map-copy strong {
  display: block;
  margin-top: 12px;
  color: #f3f6f8;
  font-family: "Space Grotesk", sans-serif;
  font-size: 28px;
}

.ns-map-copy p {
  color: var(--ns-muted);
  line-height: 1.65;
}

.ns-map-nodes .node {
  position: absolute;
  z-index: 3;
  width: 11px;
  height: 11px;
  border: 2px solid #d8fff0;
  border-radius: 50%;
  background: var(--ns-green);
  box-shadow:
    0 0 0 8px rgba(88,230,165,.08),
    0 0 25px rgba(88,230,165,.8);
}

.ns-map-nodes .n1 { left: 59%; top: 55%; }
.ns-map-nodes .n2 { left: 63%; top: 62%; }
.ns-map-nodes .n3 { left: 66%; top: 51%; }
.ns-map-nodes .n4 { left: 70%; top: 59%; }
.ns-map-nodes .n5 { left: 68%; top: 69%; }
.ns-map-nodes .n6 { left: 61%; top: 72%; }

.ns-map-nodes .virtual {
  left: 25%;
  top: 44%;
  background: var(--ns-blue);
  border-color: #dff5ff;
  box-shadow:
    0 0 0 8px rgba(88,191,255,.08),
    0 0 25px rgba(88,191,255,.8);
}

.ns-map-key {
  position: absolute;
  z-index: 3;
  left: 30px;
  bottom: 28px;
  display: flex;
  gap: 18px;
  padding: 11px 15px;
  background: rgba(4,14,22,.78);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  color: #c3d0d8;
  font-size: 12px;
}

.ns-map-key span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.ns-map-key i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.physical-key {
  background: var(--ns-green);
  box-shadow: 0 0 10px rgba(88,230,165,.7);
}

.virtual-key {
  background: var(--ns-blue);
  box-shadow: 0 0 10px rgba(88,191,255,.7);
}

.ns-map-note {
  margin: 13px 0 0;
  color: #748793;
  font-size: 11px;
}


/* EXECUTION PATH */

.ns-path {
  padding: 100px 0;
  background: #0a1722;
}

.ns-path-intro {
  max-width: 760px;
  margin-bottom: 44px;
}

.ns-path-intro > p {
  max-width: 650px;
  margin: 20px 0 0;
  color: var(--ns-muted);
  line-height: 1.7;
}

.ns-path-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}

.ns-path-grid article {
  min-height: 190px;
  padding: 28px;
  background: #0e1d29;
  border: 1px solid rgba(160,190,210,.16);
  border-radius: 16px;
}

.ns-path-grid article > span {
  display: inline-flex;
  padding: 7px 11px;
  border: 1px solid rgba(242,173,60,.4);
  border-radius: 999px;
  color: var(--ns-gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ns-path-grid h3 {
  margin: 22px 0 10px;
  color: #f2f5f7;
  font-family: "Space Grotesk", sans-serif;
  font-size: 19px;
}

.ns-path-grid p {
  margin: 0;
  color: var(--ns-muted);
  line-height: 1.65;
}


/* OPERATING LAYERS */

.ns-layers {
  padding: 100px 0;
  background: #e7ecef;
  color: #101820;
}

.ns-section-head-light h2 {
  color: #101820;
}

.ns-section-head-light > p {
  color: #5f6d76;
}

.ns-layer-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border-top: 1px solid rgba(10,25,35,.16);
}

.ns-layer-grid article {
  min-height: 310px;
  padding: 30px 28px 20px 0;
  border-right: 1px solid rgba(10,25,35,.13);
}

.ns-layer-grid article + article {
  padding-left: 28px;
}

.ns-layer-grid article:last-child {
  border-right: 0;
}

.ns-layer-grid article > span {
  color: #b37413;
  font-size: 11px;
  font-weight: 700;
}

.ns-layer-name {
  margin-top: 42px;
  color: #b37413;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.ns-layer-grid h3 {
  margin: 13px 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 23px;
  line-height: 1.2;
}

.ns-layer-grid p {
  color: #58666f;
  line-height: 1.65;
}


/* STATUS MEANING */

.ns-meaning {
  padding: 100px 0;
  background: #07131d;
}

.ns-meaning-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(390px,.82fr);
  gap: 90px;
  align-items: center;
}

.ns-meaning h2 {
  max-width: 680px;
}

.ns-meaning-grid > div > p {
  max-width: 650px;
  color: var(--ns-muted);
  line-height: 1.75;
}

.ns-protected-card {
  padding: 32px 34px;
  background: #0e1d29;
  border: 1px solid rgba(160,190,210,.17);
  border-radius: 18px;
}

.ns-protected-label {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 11px;
  border: 1px solid rgba(242,173,60,.4);
  border-radius: 999px;
  color: var(--ns-gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ns-protected-card > div:not(.ns-protected-label) {
  position: relative;
  padding: 16px 0 16px 26px;
  border-top: 1px solid var(--ns-line);
  color: #e6edf1;
  line-height: 1.5;
}

.ns-protected-card > div:not(.ns-protected-label)::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 23px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ns-gold);
}


/* CTA */

.ns-cta {
  padding: 72px 0;
  background: var(--ns-gold);
  color: #12110e;
}

.ns-cta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
  align-items: center;
}

.ns-cta-label {
  margin-bottom: 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.ns-cta h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(38px,4vw,58px);
  line-height: 1;
  letter-spacing: -.045em;
}

.ns-cta-actions {
  display: grid;
  min-width: 280px;
}

.ns-cta-actions a {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(20,15,5,.3);
  color: #16120b;
  font-weight: 700;
  text-decoration: none;
}


/* RESPONSIVE */

@media (max-width: 900px) {
  .ns-hero-grid,
  .ns-section-head,
  .ns-meaning-grid,
  .ns-cta-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .ns-path-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .ns-layer-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .ns-layer-grid article:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 600px) {
  .network-status-page main .container {
    width: min(100% - 30px,1180px);
  }

  .ns-hero,
  .ns-footprint,
  .ns-path,
  .ns-layers,
  .ns-meaning {
    padding: 72px 0;
  }

  .ns-hero-copy h1 {
    font-size: clamp(46px,14vw,66px);
  }

  .ns-architecture-card {
    padding: 26px 22px;
  }

  .ns-path-grid,
  .ns-layer-grid {
    grid-template-columns: 1fr;
  }

  .ns-layer-grid article,
  .ns-layer-grid article + article {
    min-height: auto;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(10,25,35,.13);
  }

  .ns-map-placeholder {
    min-height: 410px;
  }

  .ns-map-copy {
    left: 25px;
    top: 28px;
    right: 25px;
  }

  .ns-map-key {
    left: 20px;
    right: 20px;
    bottom: 20px;
    justify-content: center;
  }
}

/* Real shared network footprint map */
.network-status-page .ns-map-live {
  padding: 0;
  overflow: hidden;
}

.network-status-page .ns-map-live .sc-google-network-map-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
}

.network-status-page .ns-map-live .sc-google-network-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.network-status-page .ns-map-live .sc-map-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  background: #06111a;
  color: rgba(220,232,240,.65);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.network-status-page .ns-map-live .sc-map-loading[hidden] {
  display: none;
}

@media (max-width: 700px) {
  .network-status-page .ns-map-live .sc-google-network-map-wrap {
    min-height: 340px;
  }
}

/* Network Status — keep shared map flush with its frame */
.network-status-page .ns-map-live {
  height: 420px;
}

.network-status-page .ns-map-live .sc-google-network-map-wrap,
.network-status-page .ns-map-live .sc-google-network-map {
  height: 100%;
  min-height: 0;
}

@media (max-width: 700px) {
  .network-status-page .ns-map-live {
    height: 340px;
  }
}
