/* Original MEDICAP imagery, connected to the existing explanatory controls. */
.ecosystem-grid { grid-template-columns: 1.3fr 1fr; gap: 66px; }
.ecosystem-map {
  --eco-tilt-x: 0deg;
  --eco-tilt-y: 0deg;
  --eco-light-x: 50%;
  --eco-light-y: 50%;
  max-width: none;
  height: 535px;
  perspective: 1100px;
  border: 1px solid #b8d3f024;
  border-radius: 17px;
  background: #16294b;
  overflow: hidden;
}
.eco-art-plane {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform: rotateX(var(--eco-tilt-x)) rotateY(var(--eco-tilt-y)) scale(1.04);
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.eco-art-plane img { width: 100%; height: 100%; object-fit: cover; }
.eco-art-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #16294b 1%, transparent 25%, transparent 80%, #16294b80), linear-gradient(90deg, #16294b55, transparent 25%, transparent 75%, #16294b55);
}
.eco-light {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at var(--eco-light-x) var(--eco-light-y), #97c3ff20, transparent 38%);
  pointer-events: none;
  opacity: .4;
  transition: opacity .3s;
}
.ecosystem-map:hover .eco-light { opacity: 1; }
.ecosystem-map .orbit { z-index: 1; opacity: .45; }
.ecosystem-map .orbit-outer { width: 74%; height: 68%; top: 46%; border-color: #b5d8ff30; }
.ecosystem-map .orbit-inner { width: 37%; height: 41%; top: 46%; border-color: #b5d8ff40; }
.ecosystem-map .orbit-inner::after {
  content: '';
  position: absolute;
  inset: -2px;
  border: 2px solid transparent;
  border-top-color: #b8dcff85;
  border-radius: inherit;
  animation: eco-orbit 22s linear infinite;
}
.ecosystem-map .person-center {
  width: 95px;
  height: 95px;
  top: 47%;
  background: #f0f7fff0;
  color: #193c6b;
  border: 1px solid #fff;
  box-shadow: 0 0 0 8px #b9d8ff0b, 0 10px 40px #07152c40;
  z-index: 2;
  backdrop-filter: blur(10px);
}
.ecosystem-map .person-center > span { font-size: 34px; letter-spacing: -1px; }
.ecosystem-map .person-center small { font-size: 7px; color: #46688f; letter-spacing: .5px; max-width: 75px; text-align: center; }
.ecosystem-map .eco-node {
  z-index: 3;
  min-height: 59px;
  background: #17375bcc;
  border-color: #aed0fb55;
  backdrop-filter: blur(15px);
  box-shadow: 0 5px 24px #07152b29;
  transition: transform .25s, background .25s, border-color .25s, box-shadow .25s;
}
.ecosystem-map .eco-node:hover { background: #31547eee; border-color: #c3ddff; transform: translate(-50%, calc(-50% - 4px)); }
.ecosystem-map .eco-node[aria-pressed="true"] { background: #f0f6ff; color: #16365f; border-color: #fff; box-shadow: 0 0 0 5px #afcfff12, 0 12px 28px #0b17363d; }
.ecosystem-map .node-pod { top: 11%; }
.ecosystem-map .node-app { top: 36%; left: 82%; }
.ecosystem-map .node-data { top: 74%; left: 72%; }
.ecosystem-map .node-signal { top: 74%; left: 28%; }
.ecosystem-map .node-ai { top: 36%; left: 18%; }
.eco-path {
  position: absolute;
  z-index: 1;
  left: 50%; top: 47%;
  width: 34%; height: 1px;
  transform-origin: left center;
  background: linear-gradient(90deg, #b5d8ff10, #c0dfff80);
  opacity: .15;
  transition: opacity .4s;
  pointer-events: none;
}
.path-0 { transform: rotate(-90deg); }
.path-1 { transform: rotate(-19deg); }
.path-2 { transform: rotate(52deg); }
.path-3 { transform: rotate(128deg); }
.path-4 { transform: rotate(-161deg); }
.eco-path i { position: absolute; top: -1px; left: 0; width: 28px; height: 3px; border-radius: 50%; background: linear-gradient(90deg, transparent, #c3e3ff, transparent); animation: eco-flow 3.8s ease-in-out infinite; }
.path-1 i { animation-delay: .7s; }
.path-2 i { animation-delay: 1.4s; }
.path-3 i { animation-delay: 2.1s; }
.path-4 i { animation-delay: 2.8s; }
[data-connection="0"] .path-0, [data-connection="1"] .path-1, [data-connection="2"] .path-2, [data-connection="3"] .path-3, [data-connection="4"] .path-4 { opacity: 1; }
.eco-map-toolbar { position: absolute; inset: auto 22px 17px; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.eco-map-toolbar > span { font-size: 10px; letter-spacing: 1px; color: #c0d2eb; }
.eco-map-toolbar button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 9px 12px; border: 1px solid #accfff40; border-radius: 7px; background: #142b49b8; color: #d5e5fa; font-size: 12px; }
.eco-map-toolbar button:hover { background: #28496d; }
.eco-map-toolbar button:disabled { opacity: .6; cursor: default; }
.eco-motion-icon { font-size: 16px; min-width: 15px; text-align: center; }
.eco-paused *, .eco-offscreen * { animation-play-state: paused !important; }
.eco-paused .eco-art-plane { transform: none; transition: none; }
.eco-paused .eco-light { background-position: center; opacity: .4; }
.eco-detail h3 { min-height: 88px; }
.eco-detail > p { min-height: 142px; }

.future-panel { gap: 30px 60px; align-items: center; }
.future-art { margin: 0; position: relative; min-width: 0; aspect-ratio: 1.35; overflow: hidden; border-radius: 14px; background: #eef3f9; }
.future-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.future-art:hover img { transform: scale(1.035); }
.future-art figcaption { position: absolute; inset: auto 0 0; padding: 25px; background: linear-gradient(0deg, #e9f0f9fa, #eef3f900); display: flex; flex-direction: column; gap: 6px; }
.future-art figcaption > span { font-size: 9px; letter-spacing: 1.2px; color: #536c8e; }
.future-art figcaption strong { font-family: var(--heading); font-size: 23px; letter-spacing: -.6px; font-weight: 500; color: #193e6b; }
.future-layers { grid-column: 1 / -1; margin-top: 9px; }
.future-layers ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.future-layers li { gap: 16px; }
@keyframes eco-orbit { to { transform: rotate(360deg); } }
@keyframes eco-flow { 0%, 10% { left: 0; opacity: 0; } 30% { opacity: 1; } 90%, 100% { left: calc(100% - 28px); opacity: 0; } }
@media (max-width: 1150px) {
  .ecosystem-grid { gap: 35px; }
  .ecosystem-map { height: 495px; }
  .ecosystem-map .eco-node { width: 125px; }
  .eco-map-toolbar { inset-inline: 17px; }
  .eco-map-toolbar > span { font-size: 9px; }
  .future-panel { gap: 27px 38px; }
  .future-layers ol { gap: 20px; }
}
@media (max-width: 900px) {
  .ecosystem-grid { grid-template-columns: 1fr; }
  .ecosystem-map { max-width: 650px; margin-inline: auto; height: 510px; }
  .ecosystem-map .eco-node { width: 146px; }
  .eco-detail h3, .eco-detail > p { min-height: 0; }
  .future-panel { gap: 25px; }
  .future-art { aspect-ratio: .94; }
  .future-layers ol { gap: 20px; }
  .future-layers li { gap: 11px; }
  .future-layers strong { font-size: 15px; }
}
@media (max-width: 640px) {
  .ecosystem-map { height: 435px; border-radius: 12px; }
  .eco-art-plane { inset: 20px -25% 35px; }
  .eco-art-plane img { object-fit: contain; }
  .ecosystem-map .eco-node { width: 100px; min-height: 56px; padding: 8px 6px; gap: 1px; }
  .ecosystem-map .eco-node strong { font-size: 12px; }
  .ecosystem-map .node-number { font-size: 10px; }
  .ecosystem-map .node-app { left: 83%; }
  .ecosystem-map .node-ai { left: 17%; }
  .ecosystem-map .person-center { width: 80px; height: 80px; }
  .ecosystem-map .person-center > span { font-size: 30px; }
  .ecosystem-map .person-center small { font-size: 7px; max-width: 65px; }
  .eco-map-toolbar { inset: auto 13px 12px; gap: 7px; }
  .eco-map-toolbar > span { font-size: 8px; letter-spacing: .6px; }
  .eco-map-toolbar button { font-size: 11px; padding-inline: 9px; }
  .future-panel { grid-template-columns: 1fr; gap: 28px; }
  .future-art { aspect-ratio: 1.35; }
  .future-art figcaption { padding: 20px; }
  .future-art figcaption strong { font-size: 22px; }
  .future-layers { margin-top: 0; }
  .future-layers ol { grid-template-columns: 1fr; gap: 0; }
  .future-layers li { gap: 20px; }
  .future-layers strong { font-size: 16px; }
}
@media (max-width: 360px) {
  .ecosystem-map .eco-node { width: 87px; }
  .ecosystem-map .eco-node strong { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .ecosystem-map *, .ecosystem-map *::after, .future-art img { transition: none !important; animation: none !important; }
  .eco-art-plane { transform: none !important; }
  .future-art:hover img { transform: none; }
}
