/* =========================================================
   INDUSTRIES WE PROTECT
========================================================= */

.industries-section {
  position: relative;
  overflow: hidden;
  padding: 150px var(--page-pad);
  background:
    radial-gradient(circle at 68% 42%, rgba(22, 104, 151, 0.14), transparent 28%),
    linear-gradient(180deg, #02080e 0%, #03101a 58%, #02080e 100%);
}

.industries-bg {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(92, 169, 217, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 169, 217, 0.09) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: radial-gradient(circle at center, black, transparent 82%);
}

.industries-heading {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.industries-eyebrow {
  color: #5a87a1;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.industries-heading h2 {
  margin: 18px 0 0;
  color: white;
  font-size: clamp(46px, 5.2vw, 80px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.052em;
}

.industries-heading h2 span {
  display: block;
  color: var(--blue);
}

.industries-heading p {
  max-width: 660px;
  margin: 23px auto 0;
  color: #738d9e;
  font-size: 11px;
  line-height: 1.8;
}

.industries-shell {
  position: relative;
  z-index: 2;
  max-width: 1480px;
  margin: 68px auto 0;
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 24px;
}

.industry-selector {
  padding: 12px;
  border: 1px solid rgba(106, 181, 224, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(5, 20, 31, 0.88), rgba(2, 10, 17, 0.78));
  backdrop-filter: blur(16px);
}

.industry-tab {
  width: 100%;
  min-height: 82px;
  padding: 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition:
    transform .22s ease,
    border-color .22s ease,
    background .22s ease;
}

.industry-tab:hover {
  transform: translateX(3px);
  background: rgba(18, 78, 113, 0.08);
}

.industry-tab.active {
  border-color: rgba(92, 188, 246, 0.18);
  background:
    linear-gradient(90deg, rgba(21, 101, 149, 0.15), rgba(5, 25, 38, 0.04));
}

.industry-tab > span {
  color: #34596f;
  font-family: var(--font-mono);
  font-size: 7px;
}

.industry-tab.active > span {
  color: var(--blue);
}

.industry-tab strong {
  display: block;
  color: #8da8b8;
  font-size: 10px;
  font-weight: 600;
}

.industry-tab.active strong {
  color: #f0f9fd;
}

.industry-tab small {
  display: block;
  margin-top: 4px;
  color: #496b7e;
  font-size: 7px;
  line-height: 1.4;
}

.industry-blueprint {
  min-width: 0;
  padding: 30px;
  border: 1px solid rgba(106, 181, 224, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(5, 20, 31, 0.9), rgba(2, 10, 17, 0.82));
  backdrop-filter: blur(16px);
}

.blueprint-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.blueprint-topbar small,
.industry-panel-kicker {
  color: #547b92;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: .14em;
}

.blueprint-topbar h3 {
  margin: 8px 0 0;
  color: white;
  font-size: 31px;
  font-weight: 600;
  letter-spacing: -.04em;
}

.blueprint-status {
  min-height: 31px;
  padding: 0 11px;
  border: 1px solid rgba(62, 208, 154, .12);
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #69b99a;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: .08em;
}

.blueprint-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 11px rgba(62, 208, 154, .45);
}

.blueprint-canvas {
  position: relative;
  height: 420px;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid rgba(88, 176, 226, .1);
  border-radius: 15px;
  background:
    radial-gradient(circle at 52% 48%, rgba(28, 119, 171, .13), transparent 26%),
    linear-gradient(145deg, rgba(7, 28, 42, .72), rgba(2, 12, 19, .84));
}

.blueprint-grid {
  position: absolute;
  inset: 0;
  opacity: .32;
  background-image:
    linear-gradient(rgba(80, 171, 224, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 171, 224, .075) 1px, transparent 1px);
  background-size: 32px 32px;
}

.blueprint-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: -12%;
  height: 12%;
  background: linear-gradient(180deg, transparent, rgba(77, 184, 246, .12), transparent);
  animation: industryScan 6s linear infinite;
}

@keyframes industryScan {
  to { transform: translateY(950%); }
}

.blueprint-building {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52%;
  height: 55%;
  transform: translate(-50%, -50%) rotate(-4deg);
  border: 1px solid rgba(91, 184, 238, .18);
  background: rgba(8, 36, 53, .21);
  box-shadow: inset 0 0 65px rgba(38, 143, 203, .04);
}

.blueprint-building::before,
.blueprint-building::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(91, 184, 238, .1);
}

.blueprint-building::before {
  left: 7%;
  top: 12%;
  width: 41%;
  height: 62%;
}

.blueprint-building::after {
  right: 7%;
  top: 20%;
  width: 34%;
  height: 52%;
}

.bp-zone {
  position: absolute;
  border: 1px solid rgba(89, 188, 246, .1);
  background: rgba(14, 62, 91, .08);
}

.bp-zone-a { left: 8%; bottom: -16%; width: 26%; height: 12%; }
.bp-zone-b { right: -14%; top: 10%; width: 12%; height: 32%; }
.bp-zone-c { right: 6%; bottom: -18%; width: 32%; height: 13%; }
.bp-zone-d { left: -15%; top: 22%; width: 12%; height: 30%; }

.risk-node {
  position: absolute;
  z-index: 5;
  width: 86px;
  padding: 8px 8px 7px;
  border: 1px solid rgba(240, 178, 75, .2);
  border-radius: 8px;
  background: rgba(29, 21, 9, .78);
  color: white;
  cursor: pointer;
  box-shadow: 0 0 0 5px rgba(240, 178, 75, .025);
  transition:
    transform .22s ease,
    border-color .22s ease,
    background .22s ease;
}

.risk-node::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border: 1px solid rgba(240, 178, 75, .3);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(4);
  opacity: 0;
  animation: riskPing 2.3s ease-out infinite;
}

@keyframes riskPing {
  0% { opacity: .45; transform: translate(-50%, -50%) scale(1.5); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(5); }
}

.risk-node:hover,
.risk-node.active {
  transform: translateY(-2px);
  border-color: rgba(240, 178, 75, .42);
  background: rgba(56, 37, 8, .88);
}

.risk-node span {
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 7px;
}

.risk-node small {
  display: block;
  margin-top: 5px;
  color: #c2a875;
  font-family: var(--font-mono);
  font-size: 6px;
  line-height: 1.3;
}

.risk-node-1 { left: 11%; bottom: 13%; }
.risk-node-2 { right: 9%; top: 17%; }
.risk-node-3 { right: 10%; bottom: 12%; }
.risk-node-4 { left: 12%; top: 18%; }

.blueprint-routes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.blueprint-routes path {
  fill: none;
  stroke: rgba(92, 188, 246, .42);
  stroke-width: 1.3;
  stroke-dasharray: 8 11;
  vector-effect: non-scaling-stroke;
  animation: industryRoute 1.3s linear infinite;
}

@keyframes industryRoute {
  to { stroke-dashoffset: -38; }
}

.blueprint-legend {
  position: absolute;
  left: 20px;
  bottom: 16px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.blueprint-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #48697d;
  font-family: var(--font-mono);
  font-size: 6px;
}

.legend-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.legend-dot.blue { background: var(--blue); }
.legend-dot.amber { background: var(--amber); }
.legend-dot.green { background: var(--green); }

.industry-insight-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  gap: 12px;
}

.industry-risk-panel,
.industry-services-panel,
.industry-guardian-panel {
  min-height: 210px;
  padding: 18px;
  border: 1px solid rgba(100, 176, 221, .08);
  border-radius: 12px;
  background: rgba(4, 18, 28, .45);
}

.industry-risk-item,
.industry-capability-item {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #829cab;
  font-size: 8px;
}

.industry-risk-item i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px rgba(240, 178, 75, .25);
}

.industry-capability-item i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px rgba(92, 188, 246, .25);
}

.guardian-mini-head {
  display: flex;
  align-items: center;
  gap: 11px;
}

.guardian-mini-head > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(92, 188, 246, .18);
  border-radius: 50%;
  color: var(--blue);
  background: rgba(18, 78, 113, .11);
}

.guardian-mini-head small {
  display: block;
  color: #4f7286;
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: .1em;
}

.guardian-mini-head strong {
  display: block;
  margin-top: 4px;
  color: #b8cfda;
  font-family: var(--font-mono);
  font-size: 8px;
}

.industry-guardian-panel p {
  margin: 20px 0 0;
  color: #718d9d;
  font-size: 8px;
  line-height: 1.7;
}

.guardian-flow {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.guardian-flow span {
  color: #5e8ba5;
  font-family: var(--font-mono);
  font-size: 6px;
}

.guardian-flow i {
  width: 17px;
  height: 1px;
  background: rgba(92, 188, 246, .24);
}

.industry-footer-bar {
  margin-top: 18px;
  padding: 18px 20px;
  border-left: 2px solid var(--amber);
  background: rgba(240, 178, 75, .035);
  display: grid;
  grid-template-columns: minmax(180px, .7fr) minmax(0, 1.7fr) auto;
  gap: 22px;
  align-items: center;
}

.industry-footer-bar small {
  display: block;
  color: #725f3a;
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: .12em;
}

.industry-footer-bar strong {
  display: block;
  margin-top: 5px;
  color: #d6bd87;
  font-size: 12px;
}

.industry-footer-bar p {
  margin: 0;
  color: #82785f;
  font-size: 8px;
  line-height: 1.6;
}

.industry-footer-bar a {
  color: #70c5f4;
  text-decoration: none;
  font-size: 8px;
  font-weight: 600;
  white-space: nowrap;
}

.industry-footer-bar a span {
  margin-left: 6px;
}

@media (max-width: 1150px) {
  .industries-shell {
    grid-template-columns: 1fr;
  }

  .industry-selector {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .industry-insight-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .industries-section {
    padding: 110px 18px;
  }

  .industry-selector {
    grid-template-columns: 1fr;
  }

  .industry-blueprint {
    padding: 20px;
  }

  .blueprint-topbar {
    flex-direction: column;
  }

  .blueprint-canvas {
    height: 360px;
  }

  .risk-node {
    width: 76px;
  }

  .blueprint-legend {
    gap: 10px;
  }

  .industry-footer-bar {
    grid-template-columns: 1fr;
  }
}
