/* The Ecosystem page (ecosystem.html). */
.eco-views{ display:flex; flex-wrap:wrap; gap:.6rem; }
.eco-view{ background:transparent; border:1px solid rgba(255,255,255,0.14); color:#b8b4ae; border-radius:999px; padding:.6rem 1.4rem; font-size:.9rem; cursor:pointer; font-family:inherit; transition:border-color .25s ease, color .25s ease, background-color .25s ease; }
.eco-view:hover{ border-color:rgba(200,155,74,0.5); color:#fff; }
.eco-view[aria-selected="true"]{ background:rgba(200,155,74,0.14); border-color:#C89B4A; color:#fff; }
.eco-roles{ display:grid; grid-template-columns:repeat(auto-fit, minmax(15rem, 1fr)); gap:.75rem; }
.eco-role{ text-align:start; background:rgba(255,255,255,0.015); border:1px solid rgba(255,255,255,0.1); color:#e8e6e3; border-radius:.9rem; padding:.9rem 1.1rem; cursor:pointer; font:inherit; font-size:.9rem; line-height:1.4; transition:border-color .25s ease, background-color .25s ease; }
.eco-role:hover{ border-color:rgba(200,155,74,0.45); }
.eco-role[aria-pressed="true"]{ border-color:#C89B4A; background:rgba(200,155,74,0.1); color:#fff; }
.eco-steps{ list-style:none; margin:0; padding:0; counter-reset:eco; }
.eco-steps li{ counter-increment:eco; display:flex; gap:.9rem; align-items:flex-start; padding:.8rem 0; }
.eco-steps li::before{ content:counter(eco); flex-shrink:0; width:1.9rem; height:1.9rem; border-radius:999px; border:1px solid rgba(200,155,74,0.5); color:#E8CD8A; display:flex; align-items:center; justify-content:center; font-size:.8rem; }
.eco-diagram{ position:relative; width:100%; aspect-ratio:1000/600; display:none; }
@media (min-width:768px){ .eco-diagram{ display:block; } }
.eco-diagram svg{ position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
.eco-edge{ fill:none; stroke:rgba(255,255,255,0.16); stroke-width:1.5; transition:stroke .3s ease, opacity .3s ease; }
.eco-edge.service{ stroke-dasharray:6 6; stroke:rgba(200,155,74,0.35); }
.eco-edge.on{ stroke:#C89B4A; stroke-width:2.5; }
.eco-edge.flow{ stroke-dasharray:8 6; animation:ecoflow 1.2s linear infinite; }
@keyframes ecoflow{ to{ stroke-dashoffset:-14; } }
.eco-node{ position:absolute; transform:translate(-50%,-50%); display:flex; align-items:center; gap:.5rem; padding:.5rem .8rem; border-radius:.8rem; background:#14110c; border:1px solid rgba(255,255,255,0.14); color:#e8e6e3; font-size:.78rem; line-height:1.25; max-width:11rem; text-align:start; transition:opacity .3s ease, border-color .3s ease, box-shadow .3s ease; }
.eco-node iconify-icon{ color:#C89B4A; flex-shrink:0; }
.eco-node.platform{ background:linear-gradient(135deg, rgba(200,155,74,0.28), rgba(200,155,74,0.08)); border-color:rgba(200,155,74,0.6); font-weight:600; font-size:.85rem; padding:.7rem 1rem; }
.eco-node.on{ border-color:#C89B4A; box-shadow:0 0 0 3px rgba(200,155,74,0.15); }
.eco-dim{ opacity:.3; }
.eco-chip{ position:absolute; transform:translate(-50%,-50%); background:#0a0908; border:1px solid rgba(200,155,74,0.6); color:#E8CD8A; font-size:.72rem; padding:.12rem .5rem; border-radius:999px; white-space:nowrap; transition:opacity .3s ease; }
.eco-flows{ display:grid; grid-template-columns:repeat(auto-fit, minmax(19rem, 1fr)); gap:1rem; }
.eco-flow{ border:1px solid rgba(255,255,255,0.08); border-radius:1rem; padding:1.1rem 1.25rem; transition:border-color .25s ease, background-color .25s ease; }
.eco-flow:hover, .eco-flow:focus-within{ border-color:rgba(200,155,74,0.45); background:rgba(255,255,255,0.02); }
.eco-flow h3{ font-size:.82rem; color:#E8CD8A; margin-bottom:.5rem; font-weight:500; }
.eco-map{ width:100%; height:auto; display:block; }
.eco-dot{ fill:rgba(255,255,255,0.13); }
.eco-marker{ cursor:pointer; outline:none; }
.eco-marker circle.core{ fill:#C89B4A; stroke:#0a0908; stroke-width:1.5; }
.eco-marker circle.ring{ fill:none; stroke:rgba(200,155,74,0.6); stroke-width:1.5; transform-box:fill-box; transform-origin:center; animation:ecoping 2.4s ease-out infinite; }
.eco-marker[aria-pressed="true"] circle.core{ fill:#fff; }
.eco-marker:focus-visible circle.core{ stroke:#fff; }
@keyframes ecoping{ from{ transform:scale(.6); opacity:1; } to{ transform:scale(2.4); opacity:0; } }
.eco-country{ background:transparent; border:1px solid rgba(255,255,255,0.14); color:#e8e6e3; border-radius:999px; padding:.4rem 1rem; font-size:.82rem; cursor:pointer; font-family:inherit; }
.eco-country:hover{ border-color:rgba(200,155,74,0.5); }
.eco-country[aria-pressed="true"]{ border-color:#C89B4A; background:rgba(200,155,74,0.12); }
.eco-role-chip{ display:inline-block; font-size:.68rem; letter-spacing:.03em; padding:.12rem .55rem; border-radius:999px; border:1px solid rgba(255,255,255,0.14); color:#9c988f; margin:.15rem .3rem .15rem 0; }
@media (prefers-reduced-motion: reduce){ .eco-edge.flow, .eco-marker circle.ring{ animation:none; } }
