/*
 * Optional high-energy visual direction.
 * This is the default APCTT visual direction. Use ?concept=standard to compare
 * against the quieter APCTT-aligned theme without these overrides.
 */

html[data-concept="network"] .apse {
  --energy-cyan: #35c8ff;
  --energy-cyan-soft: #dff7ff;
  --energy-navy: #082b48;
  --energy-blue: #075f9d;
}

html[data-concept="network"] .gateway-nav {
  border-top-color: var(--energy-cyan);
}

html[data-concept="network"] .gateway-nav-links a::after {
  background: var(--energy-cyan);
}

html[data-concept="network"] .hero {
  min-height: 548px;
  border-bottom: 0;
  background:
    radial-gradient(circle at 82% 30%, rgba(53, 200, 255, 0.19), transparent 31%),
    linear-gradient(122deg, #06243d 0%, #0a426c 62%, #075f9d 100%);
}

html[data-concept="network"] .hero::after {
  position: absolute;
  right: -8%;
  bottom: -185px;
  width: 560px;
  height: 300px;
  border: 1px solid rgba(117, 221, 255, 0.22);
  border-radius: 50%;
  content: "";
  transform: rotate(-12deg);
}

html[data-concept="network"] .hero-pattern {
  display: block;
  top: auto;
  right: auto;
  bottom: -340px;
  left: -240px;
  width: 620px;
  height: 620px;
  border-color: rgba(117, 221, 255, 0.12);
  box-shadow:
    0 0 0 80px rgba(53, 200, 255, 0.035),
    0 0 0 160px rgba(53, 200, 255, 0.02);
}

html[data-concept="network"] .hero-pattern::before,
html[data-concept="network"] .hero-pattern::after {
  border-color: rgba(117, 221, 255, 0.12);
  background: transparent;
}

html[data-concept="network"] .hero-content {
  max-width: 1110px;
  padding-top: 64px;
  padding-bottom: 64px;
  text-align: left;
}

html[data-concept="network"] .eyebrow {
  color: #8ce4ff;
  letter-spacing: 0.08em;
}

html[data-concept="network"] .eyebrow span {
  display: block;
  background: var(--energy-cyan);
}

html[data-concept="network"] .hero h1 {
  max-width: 650px;
  margin: 13px 0 16px;
  color: #fff;
  font-size: clamp(42px, 4.2vw, 57px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

html[data-concept="network"] .hero h1 em {
  color: #79ddff;
}

html[data-concept="network"] .hero-content > p {
  max-width: 610px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
}

html[data-concept="network"] .search-form {
  position: relative;
  z-index: 2;
  width: min(680px, 64%);
  min-height: 64px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 5px;
  box-shadow: 0 20px 45px rgba(0, 18, 33, 0.3);
}

html[data-concept="network"] .search-button {
  border-color: #0b77b7;
  background: #0b77b7;
}

html[data-concept="network"] .search-button:hover {
  border-color: #089ad6;
  background: #089ad6;
}

html[data-concept="network"] .popular-searches {
  position: relative;
  z-index: 2;
  width: 64%;
  color: rgba(255, 255, 255, 0.62);
}

html[data-concept="network"] .chip-list button {
  border-color: rgba(133, 224, 255, 0.28);
  color: #d7f6ff;
  background: rgba(255, 255, 255, 0.07);
}

html[data-concept="network"] .chip-list button:hover {
  border-color: var(--energy-cyan);
  color: #fff;
  background: rgba(53, 200, 255, 0.16);
}

html[data-concept="network"] .hero-network-visual {
  position: absolute;
  z-index: 1;
  top: 56px;
  right: -16px;
  display: block;
  width: 42%;
  max-width: 470px;
  color: var(--energy-cyan);
}

html[data-concept="network"] .hero-network-visual svg {
  display: block;
  width: 100%;
  filter: drop-shadow(0 24px 45px rgba(0, 17, 31, 0.24));
}

html[data-concept="network"] .network-glow {
  fill: url("#gateway-glow");
}

html[data-concept="network"] .network-orbits {
  fill: none;
  stroke: rgba(154, 232, 255, 0.2);
  stroke-width: 1;
  stroke-dasharray: 5 8;
}

html[data-concept="network"] .network-route {
  fill: none;
  stroke: url("#gateway-route");
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[data-concept="network"] .route-branch {
  opacity: 0.62;
}

html[data-concept="network"] .network-nodes circle {
  fill: var(--energy-cyan);
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 3;
}

html[data-concept="network"] .network-labels {
  fill: rgba(211, 246, 255, 0.72);
  font-family: "Roboto", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
}

html[data-concept="network"] .network-caption {
  position: absolute;
  right: 24px;
  bottom: 33px;
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
  border-left: 3px solid var(--energy-cyan);
  background: rgba(4, 32, 52, 0.68);
  box-shadow: 0 12px 30px rgba(0, 16, 29, 0.2);
  backdrop-filter: blur(8px);
}

html[data-concept="network"] .network-caption span {
  color: #7ddfff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html[data-concept="network"] .network-caption strong {
  margin-top: 3px;
  color: #fff;
  font-size: 13px;
}

html[data-concept="network"] .search-section {
  border-top: 5px solid var(--energy-cyan);
  background:
    linear-gradient(90deg, rgba(11, 112, 183, 0.025) 1px, transparent 1px),
    #f5f8fb;
  background-size: 52px 52px;
}

html[data-concept="network"] .section-kicker {
  color: #0788c5;
}

html[data-concept="network"] .global-stats-bar,
html[data-concept="network"] .sources-overview {
  border-top-color: var(--energy-cyan);
}

html[data-concept="network"] .technology-card,
html[data-concept="network"] .source-detail-card {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

html[data-concept="network"] .technology-card:hover,
html[data-concept="network"] .source-detail-card:hover {
  border-color: #9ed9ef;
  box-shadow: 0 12px 28px rgba(8, 67, 104, 0.12);
  transform: translateY(-2px);
}

html[data-concept="network"] .sources-section {
  border-top-color: var(--energy-cyan);
  background: linear-gradient(180deg, #edf7fb 0%, #f4f6f8 36%);
}

html[data-concept="network"] .about-section {
  background:
    radial-gradient(circle at 85% 30%, rgba(53, 200, 255, 0.18), transparent 28%),
    linear-gradient(120deg, #061f35, #073c62);
}

@media (max-width: 900px) {
  html[data-concept="network"] .hero {
    min-height: auto;
  }

  html[data-concept="network"] .hero h1,
  html[data-concept="network"] .hero-content > p,
  html[data-concept="network"] .search-form,
  html[data-concept="network"] .popular-searches {
    width: 100%;
    max-width: 720px;
  }

  html[data-concept="network"] .hero-network-visual {
    display: none;
  }
}

@media (max-width: 720px) {
  html[data-concept="network"] .nav-translate {
    display: none;
  }

  html[data-concept="network"] .results-toolbar-main > *,
  html[data-concept="network"] .results-heading,
  html[data-concept="network"] .global-stats-bar {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  html[data-concept="network"] .hero h1 {
    font-size: clamp(34px, 10vw, 44px);
  }

  html[data-concept="network"] .gsb-stats-row {
    gap: 0;
  }

  html[data-concept="network"] .gsb-stat,
  html[data-concept="network"] .apse.has-active-search .gsb-stat {
    min-width: 0;
    padding-right: 4px;
    padding-left: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-concept="network"] .technology-card,
  html[data-concept="network"] .source-detail-card {
    transition: none;
  }
}
