@charset "UTF-8";
/* DevOps End-to-End training site - shared theme tokens and layout. */
:root {
  --bg: #0b0f1a;
  --bg-2: #0f1524;
  --panel: #141b2d;
  --panel-2: #1a2338;
  --border: #263049;
  --text: #e6ecff;
  --muted: #8f9bc0;
  --brand: #5b8cff;
  --brand-2: #7c5bff;
  --admin: #4f9dff; /* admin authoring flow */
  --widget: #34d399; /* end-user runtime flow */
  --analytics: #fbbf24; /* analytics flow */
  --ok: #34d399;
  --warn: #fbbf24;
  --danger: #f87171;
  --radius: 14px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --sans:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  height: 100%;
}
body {
  background:
    radial-gradient(1200px 800px at 80% -10%, #182036 0%, transparent 60%),
    radial-gradient(1000px 700px at -10% 10%, #16203a 0%, transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--brand);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Layout */
.app {
  display: grid;
  grid-template-columns: 300px 1fr;
  min-height: 100vh;
}
.sidebar {
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border-right: 1px solid var(--border);
  padding: 22px 16px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.brand .logo {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  font-size: 20px;
  box-shadow: 0 6px 20px rgba(91, 140, 255, 0.45);
}
.brand h1 {
  font-size: 15px;
  margin: 0;
  line-height: 1.2;
}
.brand small {
  color: var(--muted);
  font-size: 11px;
}
.progress-wrap {
  margin: 16px 4px 20px;
}
.progress-bar {
  height: 6px;
  background: var(--panel-2);
  border-radius: 99px;
  overflow: hidden;
}
.progress-bar > i {
  display: block;
  height: 100%;
  width: 7%;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  border-radius: 99px;
}
.progress-wrap small {
  color: var(--muted);
  font-size: 11px;
}

.nav {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav li {
  margin: 3px 0;
}
.nav button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  color: var(--muted);
  padding: 9px 11px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-family: var(--sans);
  transition: all 0.15s ease;
}
.nav button:hover {
  background: var(--panel);
  color: var(--text);
}
.nav button.active {
  background: var(--panel-2);
  color: var(--text);
  border-color: var(--border);
}
.nav .num {
  min-width: 24px;
  height: 24px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: var(--panel-2);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  font-family: var(--mono);
}
.nav button.active .num,
.nav button.ready .num {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
}
.nav button.locked {
  opacity: 0.5;
}
.nav .tag {
  margin-left: auto;
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--panel);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Main */
.main {
  min-width: 0;
}
.subnav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(11, 15, 26, 0.82);
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 8px;
  padding: 12px 28px;
  align-items: center;
}
.subnav .crumbs {
  color: var(--muted);
  font-size: 13px;
  margin-right: auto;
}
.subnav .crumbs b {
  color: var(--text);
}
.pill {
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 7px 14px;
  border-radius: 99px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--sans);
  transition: all 0.15s;
}
.pill:hover {
  color: var(--text);
}
.pill.active {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  border-color: transparent;
}

.section {
  padding: 28px;
  max-width: 1100px;
  margin: 0 auto;
}
.section > h2 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0 0 14px;
}

/* Hero / 3D */
.hero {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, #0a1020, #0c1526 90%);
}
#scene {
  width: 100%;
  height: 600px;
  display: block;
}
#scene svg {
  width: 100%;
  height: 100%;
  display: block;
}
.hero-overlay {
  position: absolute;
  top: 18px;
  left: 20px;
  pointer-events: none;
}
.hero-overlay h3 {
  margin: 0;
  font-size: 22px;
}
.hero-overlay p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  max-width: 460px;
}
.flow-toggles {
  position: absolute;
  bottom: 16px;
  left: 20px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.flow-toggles button {
  pointer-events: auto;
  border: 1px solid var(--border);
  background: rgba(20, 27, 45, 0.85);
  color: var(--text);
  padding: 8px 13px;
  border-radius: 99px;
  cursor: pointer;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--sans);
  font-weight: 600;
}
.flow-toggles button .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.flow-toggles button.off {
  opacity: 0.4;
}
.flow-toggles button.active {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand) inset;
}
.hero-hint {
  position: absolute;
  bottom: 16px;
  right: 20px;
  color: var(--muted);
  font-size: 11px;
  background: rgba(20, 27, 45, 0.7);
  padding: 6px 10px;
  border-radius: 8px;
}

/* Slides */
.deck {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.slides {
  position: relative;
  height: 460px;
}
.slide {
  position: absolute;
  inset: 0;
  padding: 44px 52px;
  opacity: 0;
  transform: translateX(24px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
  pointer-events: none;
  overflow-y: auto;
}
.slide.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.slide h3 {
  font-size: 26px;
  margin: 0 0 8px;
}
.slide .kicker {
  color: var(--brand);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.slide ul {
  line-height: 1.8;
  color: var(--text);
  padding-left: 18px;
}
.slide .big {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.slide .flowrow {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.flowcard {
  flex: 1;
  min-width: 200px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  background: var(--panel-2);
}
.flowcard h4 {
  margin: 0 0 6px;
  font-size: 15px;
}
.flowcard p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}
.flowcard.admin {
  border-top: 3px solid var(--admin);
}
.flowcard.widget {
  border-top: 3px solid var(--widget);
}
.flowcard.analytics {
  border-top: 3px solid var(--analytics);
}
.deck-ctrl {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}
.deck-ctrl button {
  background: var(--panel-2);
  border: 1px solid var(--border);
  color: var(--text);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
}
.deck-ctrl button:hover {
  background: var(--panel);
}
.dots {
  display: flex;
  gap: 7px;
  margin: 0 auto;
}
.dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--panel-2);
  cursor: pointer;
}
.dots i.active {
  background: var(--brand);
  width: 22px;
  border-radius: 99px;
}
.deck-ctrl small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

/* Docs */
.doc {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 8px 34px 34px;
  box-shadow: var(--shadow);
}
.doc h1,
.doc h2,
.doc h3 {
  line-height: 1.25;
}
.doc h1 {
  font-size: 26px;
  margin: 26px 0 6px;
}
.doc h2 {
  font-size: 19px;
  margin: 30px 0 8px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.doc h3 {
  font-size: 15px;
  margin: 20px 0 6px;
  color: var(--brand);
}
.doc p,
.doc li {
  line-height: 1.75;
  color: #cdd6f4;
}
.doc code {
  font-family: var(--mono);
  background: var(--panel-2);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 12.5px;
  color: #a6e3a1;
}
.doc pre {
  background: #0a0f1c;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  overflow-x: auto;
}
.doc pre code {
  background: none;
  padding: 0;
  color: #cdd6f4;
}
.doc table {
  border-collapse: collapse;
  width: 100%;
  margin: 12px 0;
  font-size: 13px;
}
.doc th,
.doc td {
  border: 1px solid var(--border);
  padding: 8px 11px;
  text-align: left;
}
.doc th {
  background: var(--panel-2);
}
.doc blockquote {
  border-left: 3px solid var(--brand);
  margin: 14px 0;
  padding: 6px 16px;
  color: var(--muted);
  background: var(--panel-2);
  border-radius: 0 10px 10px 0;
}
.callout {
  border: 1px solid var(--border);
  border-left: 3px solid var(--warn);
  background: var(--panel-2);
  border-radius: 0 10px 10px 0;
  padding: 12px 16px;
  margin: 14px 0;
  font-size: 13.5px;
}

/* Inline SVG diagram frames */
.diagram {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #0a0f1c;
  padding: 8px;
}
.diagram svg {
  width: 100%;
  height: auto;
  display: block;
}
.svg-label {
  font: 700 13px var(--sans);
  fill: #e6ecff;
}
.svg-sub {
  font: 500 11px var(--sans);
  fill: #8f9bc0;
}
.svg-node {
  rx: 9;
}
.legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
}
.legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.legend i {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  display: inline-block;
}

/* Path-to-production pipeline (lifecycle) */
.pipeline {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex-wrap: wrap;
  margin: 14px 0;
}
.stage {
  flex: 1;
  min-width: 112px;
  position: relative;
  background: var(--panel-2);
  border: 1px solid var(--border);
  padding: 12px 12px 13px;
  text-align: center;
}
.stage:first-child {
  border-radius: 12px 0 0 12px;
}
.stage:last-child {
  border-radius: 0 12px 12px 0;
}
.stage .ic {
  font-size: 20px;
}
.stage h5 {
  margin: 6px 0 3px;
  font-size: 11.5px;
  line-height: 1.25;
  hyphens: auto;
}
.stage small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
  display: block;
}
.stage .role {
  display: block;
  margin-top: 6px;
  font-size: 9px;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
/* solid clip-path chevron instead of a text glyph: crisp at any zoom, and it needs no
   background plate to hide the shared border it sits on */
.stage:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  width: 16px;
  height: 15px;
  margin-top: -7.5px;
  background: var(--brand);
  clip-path: polygon(0 0, 42% 0, 100% 50%, 42% 100%, 0 100%, 58% 50%);
  z-index: 4;
  filter: drop-shadow(0 0 3px rgba(11, 15, 26, 0.9));
}

/* Enterprise-readiness pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 14px 0;
}
.pillar {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  background: var(--panel-2);
  border-top: 3px solid var(--brand);
}
.pillar .ic {
  font-size: 22px;
}
.pillar h4 {
  margin: 8px 0 4px;
  font-size: 14px;
}
.pillar p {
  margin: 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.55;
}
.pillar.sec {
  border-top-color: #ef4444;
}
.pillar.cicd {
  border-top-color: #5b8cff;
}
.pillar.ha {
  border-top-color: #34d399;
}
.pillar.obs {
  border-top-color: #fbbf24;
}
.pillar.dr {
  border-top-color: #a855f7;
}
.pillar.comp {
  border-top-color: #22d3ee;
}

/* Placeholder for unbuilt sessions */
.stub {
  text-align: center;
  padding: 80px 24px;
  color: var(--muted);
}
.stub .big {
  font-size: 40px;
  margin-bottom: 10px;
}

@media (max-width: 900px) {
  .app {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
    height: auto;
  }
  #scene {
    height: 380px;
  }
}

/* ===== Animated visual panels (replaces the slide deck) ===== */
.viz-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.viz-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 22px 26px 26px;
  overflow: hidden;
}
.viz-card .kicker {
  color: var(--brand);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.viz-title {
  font-size: 22px;
  margin: 4px 0 16px;
}
.viz-note {
  color: var(--muted);
  font-size: 13px;
  margin-top: 14px;
  line-height: 1.6;
}
.viz-lead {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 2px 0 4px;
}

/* A. flowing pipeline */
.pipeline.flowing {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 4px;
}
.pipeline.flowing .stage {
  min-width: 92px;
  animation: stageWave 4.5s ease-in-out infinite;
}
@keyframes stageWave {
  0%,
  70%,
  100% {
    box-shadow: none;
    border-color: var(--border);
    transform: translateY(0);
  }
  12% {
    box-shadow:
      0 0 0 1px var(--brand),
      0 10px 26px rgba(91, 140, 255, 0.4);
    border-color: var(--brand);
    transform: translateY(-5px);
  }
}
.pipe-track {
  position: relative;
  height: 4px;
  margin: 16px 6px 0;
  background: var(--panel-2);
  border-radius: 99px;
}
.pipe-dot {
  position: absolute;
  top: 50%;
  left: 0;
  width: 11px;
  height: 11px;
  margin-top: -5.5px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 12px 2px var(--brand);
  animation: pipeRun 4.5s linear infinite;
}
@keyframes pipeRun {
  from {
    left: 0%;
  }
  to {
    left: 100%;
  }
}

/* B. 3D pillars */
.pillars3d svg {
  width: 100%;
  height: auto;
  display: block;
}
.pillars3d .col {
  animation: colFloat 3.6s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes colFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

/* C. orbit of DevOps hats */
.orbit {
  position: relative;
  height: 420px;
}
.orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 128px;
  height: 128px;
  margin: -64px 0 0 -64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  z-index: 3;
  background: radial-gradient(circle at 34% 28%, #3552a6, #141b2d 72%);
  border: 1px solid var(--brand);
  box-shadow:
    0 0 46px rgba(91, 140, 255, 0.45),
    inset 0 0 20px rgba(91, 140, 255, 0.25);
}
.orbit-core b {
  font-size: 17px;
  display: block;
}
.orbit-core small {
  color: var(--muted);
  font-size: 11px;
}
.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  animation: spin 42s linear infinite;
}
.orbit-ring::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 344px;
  height: 344px;
  margin: -172px 0 0 -172px;
  border-radius: 50%;
  border: 1px dashed rgba(124, 145, 216, 0.25);
}
.hat {
  position: absolute;
  top: 0;
  left: 0;
}
.hat-inner {
  position: absolute;
  width: 158px;
  left: -79px;
  top: -34px;
  animation: spinRev 42s linear infinite;
  border: 1px solid var(--border);
  background: var(--panel-2);
  border-radius: 12px;
  padding: 10px 10px 11px;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--accent, var(--brand));
}
.hat-inner .ic {
  font-size: 20px;
}
.hat-inner b {
  display: block;
  font-size: 13px;
  margin-top: 2px;
}
.hat-inner small {
  color: var(--muted);
  font-size: 10px;
}
.orbit:hover .orbit-ring,
.orbit:hover .hat-inner {
  animation-play-state: paused;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes spinRev {
  to {
    transform: rotate(-360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .pipeline.flowing .stage,
  .pipe-dot,
  .pillars3d .col,
  .orbit-ring,
  .hat-inner {
    animation: none !important;
  }
}

/* Compact session brief shown under the 3D map */
.brief {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}
.brief-card {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
  min-width: 0;
}
.brief-card h4 {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.brief-card ul {
  margin: 0;
  padding-left: 18px;
  line-height: 1.7;
  color: #cdd6f4;
  font-size: 13.5px;
}
.brief-card code {
  font-family: var(--mono);
  background: var(--panel-2);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 12px;
  color: #a6e3a1;
}
.brief-card pre {
  background: #0a0f1c;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  overflow-x: auto;
  margin: 0;
}
.brief-card pre code {
  background: none;
  padding: 0;
  color: #cdd6f4;
  font-size: 12px;
  line-height: 1.6;
  display: block;
  white-space: pre;
}
.brief-note {
  color: var(--muted);
  font-size: 11.5px;
  margin: 10px 0 0;
}
@media (max-width: 900px) {
  .brief {
    grid-template-columns: 1fr;
  }
}

/* Collapsible detailed descriptions */
.detail {
  margin-top: 16px;
  border-top: 1px solid var(--border);
}
.detail > summary {
  cursor: pointer;
  list-style: none;
  padding: 12px 0 2px;
  color: var(--brand);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.detail > summary::-webkit-details-marker {
  display: none;
}
.detail > summary::marker {
  content: "";
}
/* chevron drawn from borders  -  no glyph, so it can't fall back to a tofu box and it
   rotates around its own centre instead of a font baseline */
.detail > summary::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin: 0 3px 1px 2px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  border-radius: 1px;
  transform: rotate(-45deg);
  transform-origin: 55% 55%;
  transition: transform 0.18s ease;
}
.detail[open] > summary::before {
  transform: rotate(45deg);
}
.detail-body {
  padding: 6px 2px 4px;
  color: #cdd6f4;
  font-size: 13.5px;
  line-height: 1.7;
}
.detail-body ul {
  padding-left: 18px;
  margin: 8px 0;
}
.detail-body li {
  margin: 3px 0;
}
.detail-body code {
  font-family: var(--mono);
  background: var(--panel-2);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 12px;
  color: #a6e3a1;
}
