@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;800;900&family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --lbo-green: #2ECC9C;
  --lbo-green-mid: #0C9964;
  --lbo-green-bright: #00E2A0;
  --lbo-blue-deep: #002C39;
  --lbo-orange: #FD9404;

  --bg-1: #001a22;
  --bg-2: #002C39;
  --bg-3: #003a4a;
  --bg-grad:
    radial-gradient(120% 80% at 0% 0%, #003e3a 0%, transparent 55%),
    radial-gradient(110% 70% at 100% 100%, #0c5a4d 0%, transparent 50%),
    linear-gradient(140deg, var(--bg-1), var(--bg-2) 45%, var(--bg-3));

  --fg-1: #ffffff;
  --fg-2: #d4dcee;
  --fg-3: #9ba8bd;
  --fg-muted: rgba(255, 255, 255, 0.55);

  --font-display: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

svg.icon { display: inline-block; vertical-align: middle; flex: none; }

html { overflow-x: hidden; }
body {
  background: var(--bg-grad);
  background-color: var(--bg-2);
  color: var(--fg-1);
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
}

a { color: var(--lbo-green); text-decoration: none; }
a:hover { color: var(--lbo-green-bright); }
::selection { background: rgba(46, 204, 156, 0.30); }
button { font: inherit; }

::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.12); border-radius: 8px; }
::-webkit-scrollbar-track { background: transparent; }

@keyframes secfade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floatIn { 0% { opacity: 0; transform: rotate(-2.5deg) translateY(26px); } 100% { opacity: 1; transform: rotate(-2.5deg) translateY(0); } }
@keyframes dashmove { to { stroke-dashoffset: -22; } }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Layout: topbar + main (izq) + índice del curso (der) ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px clamp(20px, 4vw, 48px);
  background: rgba(0, 26, 34, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar-brand { display: inline-flex; align-items: center; gap: 14px; }
.topbar-brand img { width: 80px; height: auto; display: block; }
.topbar-kicker {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.40);
}

.course-layout {
  display: flex;
  align-items: flex-start;
  gap: clamp(32px, 4vw, 60px);
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.course-nav {
  flex: none;
  width: 300px;
  position: sticky;
  top: 88px;
  align-self: flex-start;
  max-height: calc(100vh - 88px);
  overflow-y: auto;
  padding: 40px 0 32px;
}
.course-nav-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
  padding: 0 14px;
  margin-bottom: 6px;
}

.progress-wrap { padding: 16px 10px 10px; }
.progress-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--fg-3);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.progress-label strong { color: var(--lbo-green); font-weight: 700; }
.progress-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lbo-green), var(--lbo-green-bright));
  transition: width .35s ease;
  width: 0%;
}

nav.lessons { display: flex; flex-direction: column; gap: 3px; margin-top: 14px; }

.lesson-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 14px;
  border: none;
  border-left: 3px solid transparent;
  border-radius: 0 10px 10px 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--font-body);
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
  text-align: left;
}
.lesson-btn:hover { background: rgba(46, 204, 156, 0.10); }
.lesson-btn.active {
  border-left-color: var(--lbo-green);
  background: rgba(46, 204, 156, 0.12);
  color: #fff;
}
.lesson-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--lbo-green-mid);
  min-width: 18px;
  flex: none;
}
.lesson-btn.active .lesson-num { color: var(--lbo-green); }
.lesson-name { font-size: 14px; font-weight: 500; flex: 1; }
.lesson-btn.active .lesson-name { font-weight: 600; }
.lesson-check {
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: all .18s ease;
}
.lesson-btn.done .lesson-check {
  background: var(--lbo-green);
  border-color: var(--lbo-green);
  color: #041017;
}
.lesson-check svg { width: 10px; height: 10px; }

/* caret de módulo (despliega sub-lecciones) */
.lesson-caret {
  flex: none;
  display: inline-flex;
  color: rgba(255, 255, 255, 0.4);
  transform: rotate(-90deg);
  transition: transform .2s ease;
}
.lesson-caret.open { transform: rotate(0deg); }
.lesson-btn.active .lesson-caret { color: rgba(255, 255, 255, 0.7); }

/* sub-lecciones anidadas de un módulo */
.sublessons { display: flex; flex-direction: column; margin: 2px 0 8px; }
.sublesson {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 14px 9px 22px;
  border: none;
  border-left: 3px solid transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-body);
  cursor: pointer;
  text-align: left;
  transition: background .18s ease, color .18s ease;
}
.sublesson:hover { background: rgba(46, 204, 156, 0.08); color: #fff; }
.sublesson.active { border-left-color: var(--lbo-green); background: rgba(46, 204, 156, 0.10); color: #fff; }
.sublesson-check {
  flex: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: all .18s ease;
}
.sublesson.done .sublesson-check { background: var(--lbo-green); border-color: var(--lbo-green); color: #041017; }
.sublesson-check svg { width: 9px; height: 9px; }
.sublesson-name { flex: 1; font-size: 13px; font-weight: 500; }
.sublesson.active .sublesson-name { font-weight: 600; }
.sublesson-time { flex: none; font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); }


/* ---------- Main content ---------- */
main {
  flex: 1 1 0%;
  min-width: 0;
  padding: 44px 0 80px;
  overflow-x: hidden;
}

.hamburger {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  flex: none;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
}

.lesson-section { display: none; animation: secfade .35s ease; max-width: 100%; }
.lesson-section.active { display: block; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--lbo-green-mid);
  margin-bottom: 8px;
}
.eyebrow.top { color: var(--lbo-green); font-family: var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 22px; }

h1.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.25rem, 6.5vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 22px;
}
h1.hero-title .accent { color: var(--lbo-green); }

.hero-sub {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  color: #fff;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.lead {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0 0 34px;
  max-width: 100%;
}

.blog-p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0 0 18px;
  max-width: 100%;
}

/* ---------- Introducción: blog scrolleable agrupado ---------- */
.intro-group-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 0 6px;
}
.intro-group-title:not(:first-child) {
  margin-top: 52px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}
.intro-item { padding: 26px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.intro-item:last-child { border-bottom: none; }
.intro-item-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.intro-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(46, 204, 156, 0.12);
  flex: none;
}
.intro-item-icon svg.icon { width: 20px; height: 20px; color: var(--lbo-green); }
.intro-item-name { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: #fff; margin: 0; }
.intro-usecases-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lbo-green);
  margin: 4px 0 4px;
}
.intro-item .bullet-list { margin: 8px 0 0; }

h2.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 10px;
}
.section-desc {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0 0 32px;
  max-width: 100%;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lbo-green), var(--lbo-green-bright));
  color: #041017;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(46, 204, 156, 0.30);
  transition: transform .15s ease;
}
.btn-cta:hover { transform: translateY(-2px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero-row { display: flex; gap: 48px; flex-wrap: wrap; align-items: center; min-height: 62vh; max-width: 100%; }
.hero-copy { flex: 1 1 420px; max-width: 560px; min-width: 0; }
.hero-preview { flex: 0 1 350px; min-width: 0; max-width: 350px; width: 100%; }
.preview-card {
  animation: floatIn .8s ease both;
  transform: rotate(-2.5deg);
  background: rgba(14, 24, 40, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
}
.preview-head { display: flex; align-items: center; gap: 9px; margin-bottom: 18px; }
.preview-head svg.icon { width: 19px; height: 19px; color: var(--lbo-green); }
.preview-head span.label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lbo-green);
}
.preview-body {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.65;
  color: #cfeee2;
}
.preview-tag {
  color: #9ba8bd;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.preview-arrow { text-align: center; color: var(--lbo-green); margin: 12px 0; font-size: 20px; }

/* ---------- Subnav pills (navegación entre lecciones de un módulo) ---------- */
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.subnav:empty { margin-bottom: 0; }
.subnav-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg-2);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all .18s ease;
}
.subnav-pill:hover { border-color: rgba(46, 204, 156, 0.4); color: #fff; }
.subnav-pill.active { background: rgba(46, 204, 156, 0.14); border-color: rgba(46, 204, 156, 0.5); color: #fff; }
.subnav-pill svg.icon { width: 16px; height: 16px; color: var(--lbo-green); }
.pill-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--lbo-green);
  color: #041017;
  flex: none;
}
.pill-check svg.icon { width: 9px; height: 9px; }

/* ---------- Lección (dentro de un módulo): breadcrumb + header + cuerpo ---------- */
.module-breadcrumb {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--fg-3);
  margin-bottom: 18px;
}
.module-breadcrumb span { color: var(--lbo-green); }

.lesson-head h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  color: #fff;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.lesson-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 18px 0 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.duration-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--fg-3);
}
.duration-pill svg.icon { color: var(--lbo-green); }

.block-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  margin: 30px 0 12px;
}
.block-title:first-child { margin-top: 0; }

.callout {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  padding: 16px 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid rgba(255, 255, 255, 0.2);
  color: var(--fg-2);
  max-width: 100%;
}
.callout-label {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.callout.success { border-left-color: var(--lbo-green); background: rgba(46, 204, 156, 0.07); }
.callout.success .callout-label { color: var(--lbo-green); }
.callout.trouble { border-left-color: var(--lbo-orange); background: rgba(253, 148, 4, 0.07); }
.callout.trouble .callout-label { color: var(--lbo-orange); }
.callout.trouble .bullet-list { margin: 8px 0 0; }
.callout.trouble .bullet-list li::before { background: var(--lbo-orange); }

.next-teaser {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--fg-2);
  padding: 16px 20px;
  border-radius: 10px;
  background: rgba(46, 204, 156, 0.07);
  border-left: 3px solid var(--lbo-green);
  max-width: 100%;
}
.next-teaser strong { color: #fff; }

.bullet-list { list-style: none; margin: 18px 0; padding: 0; display: flex; flex-direction: column; gap: 10px; max-width: 100%; }
.bullet-list li {
  position: relative;
  padding-left: 22px;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--fg-2);
}
.bullet-list li strong { color: #fff; font-weight: 700; }
.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lbo-green);
}

.detail-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.detail-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: var(--fg-2);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
}
.detail-nav-btn:hover { border-color: rgba(46, 204, 156, 0.4); color: #fff; }
.detail-nav-btn svg.icon { width: 15px; height: 15px; }

/* ---------- Prompt card ---------- */
.prompt-card {
  position: relative;
  border-radius: 12px;
  padding: 18px 18px 16px;
  background: #001a22;
  border: 1px solid rgba(255, 255, 255, 0.10);
}
.prompt-card.blank {
  background: rgba(0, 26, 34, 0.65);
  border: 1.5px dashed rgba(46, 204, 156, 0.45);
}
.prompt-card pre {
  margin: 0;
  padding-right: 96px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.6;
  color: #cfeee2;
  white-space: pre-wrap;
  word-break: break-word;
}
.copy-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(46, 204, 156, 0.35);
  background: rgba(46, 204, 156, 0.10);
  color: var(--lbo-green);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s ease;
}
.copy-btn:hover { background: rgba(46, 204, 156, 0.20); }
.copy-btn svg.icon { width: 15px; height: 15px; }

/* ---------- Badge ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(0, 26, 34, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-size: 12.5px;
  color: var(--fg-2);
}
.badge svg.icon { width: 16px; height: 16px; color: var(--lbo-green); }
.badge strong { color: #fff; }

.badge-preview {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(253, 148, 4, 0.15);
  color: var(--lbo-orange);
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(253, 148, 4, 0.4);
}

.title-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
.title-row h2 { margin: 0; }

/* ---------- Steps (Cowork) ---------- */
.steps { display: flex; flex-direction: column; }
.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.step:first-child { padding-top: 4px; }
.step:last-child { border-bottom: none; }
.step-num {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(46, 204, 156, 0.12);
  border: 1px solid rgba(46, 204, 156, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--lbo-green);
  margin-top: 1px;
}
.step-num svg.icon { width: 17px; height: 17px; color: var(--lbo-green); }
.step-body { flex: 1; min-width: 0; }
.step-body h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: #fff; margin: 0 0 6px; }
.step-body p { font-family: var(--font-body); font-size: 1rem; line-height: 1.6; color: var(--fg-2); margin: 0 0 12px; max-width: 100%; }
.step-body p:last-child { margin-bottom: 0; }
.step-body .prompt-card { margin-top: 4px; max-width: 100%; }

/* ---------- Práctica: prompt en blanco ---------- */
.design-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lbo-green);
  margin-bottom: 12px;
}
.mock-caption { font-family: var(--font-body); font-size: 12px; color: var(--fg-3); margin: 12px 0 0; }

/* ---------- Connectors diagram ---------- */
.connectors-diagram { position: relative; height: 250px; margin-top: 20px; }
.connectors-diagram svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 10px;
  background: rgba(14, 24, 40, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--font-body);
  font-size: 13px;
  color: #fff;
  white-space: nowrap;
}
.node svg.icon { width: 16px; height: 16px; color: var(--lbo-green); }
.node-center {
  padding: 11px 18px;
  border-radius: 12px;
  background: rgba(46, 204, 156, 0.14);
  border: 1px solid rgba(46, 204, 156, 0.5);
  box-shadow: 0 0 24px rgba(46, 204, 156, 0.25);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
}
.node-center .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lbo-green); }
.node-mcp { border-color: rgba(46, 204, 156, 0.4); }
.diagram-caption { font-family: var(--font-body); font-size: 12px; color: var(--fg-3); margin: 8px 0 0; }

/* ---------- Models ---------- */
.model-list { display: flex; flex-direction: column; }
.model-row { padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.model-row:last-child { border-bottom: none; }
.model-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.model-head .name { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: #fff; }
.model-default {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(46, 204, 156, 0.16);
  color: var(--lbo-green);
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(46, 204, 156, 0.4);
}
.model-bar-track { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; margin-bottom: 10px; max-width: 420px; }
.model-bar-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--lbo-green-mid), var(--lbo-green)); }
.model-bar-fill.default { background: linear-gradient(90deg, var(--lbo-green), var(--lbo-green-bright)); }
.model-row p { font-family: var(--font-body); font-size: 1rem; line-height: 1.6; color: var(--fg-2); margin: 0; max-width: 100%; }
.quote-box {
  margin-top: 28px;
  padding: 20px 24px;
  border-radius: 14px;
  background: rgba(46, 204, 156, 0.08);
  border: 1px solid rgba(46, 204, 156, 0.25);
}
.quote-box p { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: #fff; margin: 0; letter-spacing: -0.01em; }

/* ---------- Practice ---------- */
.pill-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.pill-row .btn-cta,
.pill-row .btn-ghost { font-size: 14.5px; padding: 13px 22px; }
.pill-row svg.icon { width: 19px; height: 19px; }

/* ---------- Práctica en pareja ---------- */
.pair-steps { display: flex; flex-direction: column; gap: 14px; margin: 28px 0 36px; }
.pair-step { display: flex; align-items: flex-start; gap: 14px; }
.pair-num {
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(46, 204, 156, 0.14);
  color: var(--lbo-green);
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 700;
}
.pair-step p { margin: 2px 0 0; font-size: 1rem; line-height: 1.6; color: rgba(255, 255, 255, 0.82); }
.pair-step p strong { color: #fff; font-weight: 700; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: rgba(14, 24, 40, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s ease;
}
.faq-item:hover { border-color: rgba(46, 204, 156, 0.35); }
.faq-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 22px;
  cursor: pointer;
  text-align: left;
  color: inherit;
}
.faq-q { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: #fff; }
.faq-icon { display: inline-flex; color: var(--lbo-green); flex: none; transition: transform .2s ease; }
.faq-answer {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0;
  padding: 0 22px 20px;
  display: none;
}
.faq-answer.open { display: block; }
.faq-footnote { font-family: var(--font-body); font-size: 12px; color: rgba(255, 255, 255, 0.35); margin: 24px 0 0; }

/* ---------- Lesson footer nav ---------- */
.lesson-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  max-width: 100%;
}
.complete-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg-2);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .18s ease;
}
.complete-toggle .check-dot {
  width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  display: flex; align-items: center; justify-content: center;
  color: transparent; flex: none;
}
.complete-toggle .check-dot svg { width: 11px; height: 11px; }
.complete-toggle.done {
  border-color: rgba(46, 204, 156, 0.45);
  background: rgba(46, 204, 156, 0.10);
  color: #fff;
}
.complete-toggle.done .check-dot { background: var(--lbo-green); border-color: var(--lbo-green); color: #041017; }

.next-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease;
}
.next-btn:hover { transform: translateX(3px); border-color: rgba(46, 204, 156, 0.4); }
.next-btn.ghost { background: transparent; color: rgba(255, 255, 255, 0.66); }
.next-btn.ghost:hover { color: #fff; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-radius: 14px;
  background: rgba(0, 26, 34, 0.95);
  border: 1px solid rgba(46, 204, 156, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  animation: toastIn .3s ease;
}
.toast.show { display: flex; }
.toast svg.icon { width: 24px; height: 24px; color: var(--lbo-green); }
.toast strong { font-family: var(--font-display); font-size: 15px; color: #fff; }
.toast p { margin: 2px 0 0; font-size: 13px; color: var(--fg-3); }

/* ---------- Scrim (drawer mobile) ---------- */
.scrim {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 45;
}
.scrim.show { display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hamburger { display: flex; }
  .course-layout { display: block; padding: 0 clamp(20px, 5vw, 32px); }
  main { padding: 32px 0 60px; }
  .hero-row { min-height: auto; }

  .course-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 86vw);
    height: 100vh;
    max-height: 100vh;
    padding: 28px 12px;
    background: linear-gradient(180deg, #00212b, #001820);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
    transform: translateX(100%);
    transition: transform .25s ease;
    z-index: 50;
  }
  .course-nav.open { transform: translateX(0); }
}
