.al-ecosystem {
  margin: 2.5rem auto;
  max-width: 1100px;
  padding: 0 1.25rem;
}
.al-ecosystem__panel {
  background: linear-gradient(155deg, #0b1220 0%, #0f172a 55%, #134e4a 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 108, 184, 0.18);
}
.al-ecosystem__head {
  padding: 1.15rem 1.35rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.al-ecosystem__head h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 700;
  color: #fff;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
}
.al-ecosystem__head p {
  margin: 0;
  font-size: 0.85rem;
  color: #94a3b8;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
}
.al-ecosystem__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}
.al-ecosystem__legend span {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  color: #fff;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
}
.al-ecosystem__legend .leg-hub { background: #006cb8; }
.al-ecosystem__legend .leg-app { background: #f58220; }
.al-ecosystem__legend .leg-moodle { background: #0d9488; }
.al-ecosystem__legend .leg-data { background: #0891b2; }
.al-ecosystem__legend .leg-infra { background: #6366f1; }
.al-ecosystem__frame {
  position: relative;
  width: 100%;
  height: min(68vh, 560px);
  min-height: 420px;
  background: #0b1220;
}
.al-ecosystem__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
@media (max-width: 640px) {
  .al-ecosystem { padding: 0 0.85rem; }
  .al-ecosystem__frame {
    height: min(62vh, 480px);
    min-height: 360px;
  }
}
