/* =========================================================
   NEXUS CSS · v4 — REACTOR EDITION
   Sistema: dark deep-space, cyan plasma, purple gravity
   Tipografía: Space Mono (sistema) + Syne (display)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&family=Syne:wght@700;800;900&display=swap');

/* ── Reset & base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #04070f;
  --bg2:      #070c18;
  --bg3:      #0b1425;
  --fg:       rgba(230, 243, 255, .92);
  --muted:    rgba(180, 210, 235, .52);
  --line:     rgba(89, 225, 255, .09);
  --line2:    rgba(89, 225, 255, .16);
  --cyan:     #7fe8ff;
  --cyan-dim: rgba(127, 232, 255, .15);
  --purple:   #a78bfa;
  --purple-dim: rgba(167, 139, 250, .12);
  --green:    #22c55e;
  --warn:     #f59e0b;
  --bad:      #ef4444;
  --gold:     #e2c36a;
  --side-w:   256px;
  --mono:     'Space Mono', monospace;
  --sans:     'Syne', sans-serif;
}

html, body {
  height: 100%;
  font-family: var(--mono);
  background: var(--bg);
  color: var(--fg);
  overflow: hidden;
}

/* noise grain overlay */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9000;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: .2;
}

/* ── Layout ───────────────────────────────────────────── */
.layout {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: var(--side-w) 1fr;
  height: 100vh;
  overflow: hidden;
}

/* ── Sidebar ──────────────────────────────────────────── */
.side {
  background: linear-gradient(180deg, rgba(7,12,24,.99), rgba(4,7,15,1));
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
  overflow: hidden;
  position: relative;
}

/* sidebar inner glow */
.side::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 200px;
  background: radial-gradient(ellipse 120% 60% at 50% 0%, rgba(89,225,255,.05), transparent);
  pointer-events: none;
}

.sideTop {
  padding: 18px 14px 12px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

/* Logo */
.logo {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}

.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(127,232,255,.1), 0 0 16px rgba(127,232,255,.5);
  flex-shrink: 0;
  animation: dotPulse 2.5s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(127,232,255,.1), 0 0 16px rgba(127,232,255,.5); }
  50%       { box-shadow: 0 0 0 7px rgba(127,232,255,.05), 0 0 28px rgba(127,232,255,.2); }
}

.name {
  font-family: var(--sans);
  font-size: 15px; font-weight: 800;
  letter-spacing: -.01em; color: #f4f8ff;
}

.tag {
  font-family: var(--mono);
  font-size: 9px; color: var(--muted);
  letter-spacing: .14em; text-transform: uppercase;
  margin-top: 1px;
}

/* Chips */
.chips {
  display: flex; flex-wrap: wrap; gap: 5px;
}

.chip {
  display: inline-flex; align-items: center;
  padding: 3px 9px; border-radius: 999px;
  border: 1px solid rgba(89,225,255,.14);
  background: rgba(89,225,255,.03);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px; font-weight: 700;
  text-decoration: none;
  letter-spacing: .06em;
  transition: .18s;
}

.chip:hover {
  border-color: rgba(89,225,255,.3);
  color: var(--cyan);
  background: rgba(89,225,255,.07);
}

.chip-demo {
  border-color: rgba(167,139,250,.2);
  color: rgba(167,139,250,.75);
  background: rgba(167,139,250,.04);
}

.chip-demo:hover {
  border-color: rgba(167,139,250,.45);
  color: var(--purple);
}

/* Menu */
.menu {
  flex: 1; overflow-y: auto;
  padding: 10px 8px;
  display: flex; flex-direction: column; gap: 1px;
  scrollbar-width: thin;
  scrollbar-color: rgba(89,225,255,.08) transparent;
}

.menu::-webkit-scrollbar { width: 2px; }
.menu::-webkit-scrollbar-thumb { background: rgba(89,225,255,.1); border-radius: 2px; }

.item {
  display: block; width: 100%;
  padding: 7px 10px;
  border: none; border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px; font-weight: 400;
  text-align: left; cursor: pointer;
  transition: background .14s, color .14s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  letter-spacing: .04em;
}

.item:hover {
  background: rgba(89,225,255,.05);
  color: rgba(230,243,255,.8);
}

.item.active {
  background: rgba(89,225,255,.09);
  color: var(--cyan);
  font-weight: 700;
  border-left: 2px solid var(--cyan);
  padding-left: 8px;
}

.sep {
  height: 1px;
  background: var(--line);
  margin: 5px 3px;
  flex-shrink: 0;
}

.sideFoot {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  flex-shrink: 0;
}

.fine {
  font-family: var(--mono);
  font-size: 10px; line-height: 1.65;
  color: rgba(230,243,255,.28);
  letter-spacing: .04em;
}

/* ── Main ─────────────────────────────────────────────── */
.main {
  display: flex; flex-direction: column;
  overflow: hidden; background: var(--bg);
}

/* Topbar */
.topbar {
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  padding: 12px 22px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
  background: rgba(4,7,15,.85);
  backdrop-filter: blur(20px);
}

.viewTitle {
  font-family: var(--sans);
  font-size: 17px; font-weight: 800;
  letter-spacing: -.01em; color: #f4f8ff;
}

.viewSub {
  font-family: var(--mono);
  font-size: 10px; color: var(--muted);
  margin-top: 2px; letter-spacing: .06em;
}

.tools {
  display: flex; align-items: center; gap: 7px;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 13px;
  border-radius: 7px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05);
  color: var(--fg);
  font-family: var(--mono);
  font-size: 11px; font-weight: 700;
  cursor: pointer; text-decoration: none;
  transition: .15s;
  white-space: nowrap;
  letter-spacing: .06em;
}

.btn:hover {
  background: rgba(255,255,255,.09);
  transform: translateY(-1px);
}

.btn.ghost {
  background: transparent;
  border-color: var(--line2);
  color: rgba(127,232,255,.7);
}

.btn.ghost:hover {
  background: rgba(89,225,255,.05);
  border-color: rgba(89,225,255,.3);
  color: var(--cyan);
}

.btn-demo {
  background: linear-gradient(135deg, rgba(89,225,255,.16), rgba(124,92,255,.12));
  border-color: rgba(89,225,255,.25);
  color: var(--cyan);
}

.btn-demo:hover {
  background: linear-gradient(135deg, rgba(89,225,255,.24), rgba(124,92,255,.18));
  box-shadow: 0 0 18px rgba(89,225,255,.12);
}

/* View area */
.view {
  flex: 1; overflow-y: auto;
  padding: 22px;
  scrollbar-width: thin;
  scrollbar-color: rgba(89,225,255,.08) transparent;
}

.view::-webkit-scrollbar { width: 3px; }
.view::-webkit-scrollbar-thumb { background: rgba(89,225,255,.1); border-radius: 2px; }

/* ══════════════════════════════════════════════════════
   HUB REACTOR — el corazón visual
══════════════════════════════════════════════════════ */

.hub-reactor-wrap {
  position: relative;
  width: 100%; height: 340px;
  border-radius: 18px;
  border: 1px solid var(--line2);
  overflow: hidden;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, #060d1e 0%, #030609 100%);
  margin-bottom: 18px;
}

#reactorCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}

/* Reactor overlay info */
.reactor-hud {
  position: absolute;
  top: 14px; left: 18px;
  z-index: 10;
  display: flex; flex-direction: column; gap: 4px;
}

.hud-label {
  font-family: var(--mono);
  font-size: 9px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--cyan);
  opacity: .7;
}

.hud-val {
  font-family: var(--sans);
  font-size: 22px; font-weight: 900;
  color: var(--cyan);
  line-height: 1;
  text-shadow: 0 0 20px rgba(127,232,255,.5);
}

.reactor-status {
  position: absolute;
  bottom: 14px; left: 18px; right: 18px;
  z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
}

.rs-item {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 9px;
  color: var(--muted); letter-spacing: .1em;
}

.rs-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 5px var(--green);
  animation: dotPulse 2s ease-in-out infinite;
}

.rs-dot.warn { background: var(--warn); box-shadow: 0 0 5px var(--warn); }
.rs-dot.bad  { background: var(--bad);  box-shadow: 0 0 5px var(--bad);  }

/* Reactor corner brackets */
.hub-reactor-wrap::before,
.hub-reactor-wrap::after {
  content: ''; position: absolute;
  width: 24px; height: 24px; z-index: 11;
}
.hub-reactor-wrap::before {
  top: 8px; left: 8px;
  border-top: 1px solid rgba(127,232,255,.3);
  border-left: 1px solid rgba(127,232,255,.3);
}
.hub-reactor-wrap::after {
  bottom: 8px; right: 8px;
  border-bottom: 1px solid rgba(127,232,255,.3);
  border-right: 1px solid rgba(127,232,255,.3);
}

/* ── Hub cards grid ───────────────────────────────────── */
.nexus-hub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.nexus-hub-card {
  position: relative; overflow: hidden;
  padding: 16px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(7,12,24,.95), rgba(4,7,15,.99));
  text-align: left; cursor: pointer;
  transition: border-color .2s, transform .18s, background .2s;
  font-family: var(--mono);
}

.nexus-hub-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, var(--card-glow, rgba(89,225,255,.06)), transparent 55%);
  opacity: 0; transition: opacity .25s;
}

.nexus-hub-card:hover {
  border-color: rgba(89,225,255,.22);
  background: linear-gradient(160deg, rgba(8,16,30,.95), rgba(6,10,20,.99));
  transform: translateY(-2px);
}

.nexus-hub-card:hover::before { opacity: 1; }

.nexus-hub-card-kicker {
  font-size: 9px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 6px; display: block;
}

.nexus-hub-card h3 {
  font-family: var(--sans);
  font-size: 18px; font-weight: 900;
  color: #f4f8ff; margin-bottom: 6px;
  letter-spacing: -.01em;
}

.nexus-hub-card p {
  font-size: 11px; line-height: 1.65;
  color: var(--muted);
}

/* Card accent line */
.nexus-hub-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--card-line, rgba(89,225,255,.2)), transparent);
  opacity: 0; transition: opacity .25s;
}

.nexus-hub-card:hover::after { opacity: 1; }

/* ── Hub strip ────────────────────────────────────────── */
.nexus-hub-strip {
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(4,7,15,.6);
}

.nexus-hub-strip p {
  font-family: var(--mono);
  font-size: 11px; color: var(--muted);
  line-height: 1.8; letter-spacing: .04em;
}

/* ── Generic cards ────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px; margin-bottom: 18px;
}

.card {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(7,12,24,.9), rgba(4,7,15,.95));
}

.card-label {
  font-family: var(--mono);
  font-size: 9px; text-transform: uppercase;
  letter-spacing: .14em; color: var(--muted); margin-bottom: 5px;
}

.card-val {
  font-family: var(--sans);
  font-size: 26px; font-weight: 900;
  letter-spacing: -.02em; color: #f4f8ff; line-height: 1;
}

.card-sub {
  font-family: var(--mono);
  font-size: 10px; color: var(--muted); margin-top: 4px;
}

/* ── Tabla ────────────────────────────────────────────── */
.tbl-wrap, .table {
  border-radius: 12px;
  border: 1px solid var(--line);
  overflow: hidden;
  margin-bottom: 16px;
}

.table header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(89,225,255,.02);
}

.table h3 {
  font-family: var(--sans);
  font-size: 13px; font-weight: 700; color: #eef6ff;
}

table { width: 100%; border-collapse: collapse; font-size: 12px; }
thead { background: rgba(89,225,255,.03); }

th {
  padding: 8px 12px; text-align: left;
  font-family: var(--mono);
  font-size: 9px; text-transform: uppercase;
  letter-spacing: .12em; color: var(--muted); font-weight: 700;
  border-bottom: 1px solid var(--line);
}

td {
  padding: 9px 12px;
  border-bottom: 1px solid rgba(89,225,255,.04);
  color: rgba(230,243,255,.78);
  font-family: var(--mono); font-size: 11px;
}

tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(89,225,255,.02); }

/* Badges */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px; border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px; font-weight: 700; letter-spacing: .06em;
}

.badge-ok, .ok   { background: rgba(34,197,94,.1);  color: #4ade80; }
.badge-warn, .warn { background: rgba(245,158,11,.1); color: #fbbf24; }
.badge-bad, .bad  { background: rgba(239,68,68,.1);  color: #f87171; }
.badge-info       { background: rgba(89,225,255,.09); color: var(--cyan); }
.badge-purple     { background: rgba(167,139,250,.1); color: var(--purple); }

/* ── Section head ─────────────────────────────────────── */
.section-head {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 12px;
}

.section-title {
  font-family: var(--sans);
  font-size: 13px; font-weight: 700; color: #f4f8ff;
}

.section-sub {
  font-family: var(--mono);
  font-size: 10px; color: var(--muted); margin-top: 2px;
}

/* ── Module shell ─────────────────────────────────────── */
.module-shell { display: grid; gap: 16px; }

.module-hero {
  position: relative; overflow: hidden;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid rgba(89,225,255,.14);
  background:
    radial-gradient(circle at 12% 16%, var(--accent-a, rgba(89,225,255,.08)), transparent 22%),
    radial-gradient(circle at 85% 10%, var(--accent-b, rgba(123,92,255,.08)), transparent 26%),
    linear-gradient(180deg, rgba(7,12,24,.97), rgba(4,7,15,.99));
}

.module-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.02'/%3E%3C/svg%3E");
  pointer-events: none;
}

.module-kicker {
  font-family: var(--mono);
  font-size: 10px; text-transform: uppercase;
  letter-spacing: .18em; color: rgba(127,232,255,.6);
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}

.module-kicker::before {
  content: '';
  width: 16px; height: 1px;
  background: rgba(127,232,255,.35);
}

.module-hero h2 {
  font-family: var(--sans);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900; color: #f4f8ff;
  margin: 0 0 10px; letter-spacing: -.02em;
}

.module-lead {
  font-family: var(--mono);
  font-size: 13px; line-height: 1.75;
  color: rgba(230,243,255,.78); max-width: 600px;
  margin: 0 0 8px;
}

.module-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

/* Module grid */
.module-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}

.module-card {
  position: relative; overflow: hidden;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top left, rgba(89,225,255,.05), transparent 30%),
    linear-gradient(180deg, rgba(7,12,24,.97), rgba(4,7,15,.99));
  transition: transform .18s, border-color .18s;
}

.module-card:hover {
  transform: translateY(-2px);
  border-color: rgba(89,225,255,.2);
}

.module-card-icon { font-size: 20px; margin-bottom: 7px; }

.module-card-kicker {
  font-family: var(--mono);
  font-size: 9px; text-transform: uppercase;
  letter-spacing: .14em; color: rgba(127,232,255,.6);
  margin-bottom: 5px;
}

.module-card h3, .module-card h4 {
  font-family: var(--sans);
  font-size: 15px; font-weight: 800;
  color: #eef6ff; margin-bottom: 7px;
}

.module-card p, .module-card li {
  font-family: var(--mono);
  font-size: 11px; line-height: 1.7;
  color: var(--muted);
}

.module-card ul { padding-left: 14px; }

/* Stats strip */
.module-strip {
  display: flex; gap: 0;
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(7,12,24,.95), rgba(4,7,15,.99));
}

.module-strip-stat {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 18px 14px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.module-strip-stat:last-child { border-right: none; }

.stat-num {
  font-family: var(--sans);
  font-size: 24px; font-weight: 900;
  color: var(--cyan); line-height: 1; margin-bottom: 5px;
}

.stat-label {
  font-family: var(--mono);
  font-size: 9px; text-transform: uppercase;
  letter-spacing: .1em; color: var(--muted);
}

/* ── VibraBot chat ────────────────────────────────────── */
.vibrabot-demo {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; align-items: start;
}

.chat-window {
  border-radius: 14px;
  border: 1px solid rgba(89,225,255,.14);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(7,12,24,.98), rgba(4,7,15,.99));
}

.chat-header {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 10px;
}

.chat-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 5px var(--green);
  flex-shrink: 0;
}

.chat-title { flex: 1; color: rgba(230,243,255,.8); font-weight: 700; }

.chat-status {
  font-size: 9px; color: rgba(34,197,94,.8);
  background: rgba(34,197,94,.08);
  border: 1px solid rgba(34,197,94,.18);
  border-radius: 999px; padding: 1px 7px;
}

.chat-body { padding: 12px; display: grid; gap: 10px; }

.chat-msg {
  padding: 8px 12px; border-radius: 12px;
  font-family: var(--mono); font-size: 12px;
  line-height: 1.55; max-width: 90%;
}

.chat-msg.bot {
  background: rgba(89,225,255,.07);
  border: 1px solid rgba(89,225,255,.12);
  color: rgba(230,243,255,.9);
  border-radius: 12px 12px 12px 3px;
}

.chat-msg.user {
  background: rgba(167,139,250,.1);
  border: 1px solid rgba(167,139,250,.16);
  color: rgba(230,243,255,.9);
  border-radius: 12px 12px 3px 12px;
  margin-left: auto;
}

.vibrabot-metrics { display: grid; gap: 12px; }

/* ── Plus18 ───────────────────────────────────────────── */
.plus18-shell { display: grid; gap: 16px; }

.plus18-hero {
  position: relative; overflow: hidden;
  padding: 24px; border-radius: 18px;
  border: 1px solid rgba(167,139,250,.16);
  background:
    radial-gradient(circle at 10% 15%, rgba(167,139,250,.08), transparent 25%),
    radial-gradient(circle at 88% 8%, rgba(89,225,255,.06), transparent 28%),
    linear-gradient(180deg, rgba(7,12,24,.97), rgba(4,7,15,.99));
}

.plus18-kicker {
  font-family: var(--mono);
  font-size: 9px; text-transform: uppercase;
  letter-spacing: .18em; color: rgba(167,139,250,.65);
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}

.plus18-kicker::before {
  content: ''; width: 16px; height: 1px;
  background: rgba(167,139,250,.35);
}

.plus18-hero h2 {
  font-family: var(--sans);
  font-size: 3rem; font-weight: 900; color: #f4f8ff;
  letter-spacing: -.025em; margin-bottom: 10px;
}

.plus18-lead {
  font-family: var(--mono);
  font-size: 13px; line-height: 1.75;
  color: rgba(230,243,255,.82); max-width: 560px; margin-bottom: 6px;
}

.plus18-sub {
  font-family: var(--mono);
  font-size: 11px; color: var(--muted); line-height: 1.7;
}

.plus18-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

.plus18-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}

.plus18-card {
  padding: 16px; border-radius: 12px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(7,12,24,.9), rgba(4,7,15,.95));
  transition: border-color .18s;
}

.plus18-card:hover { border-color: rgba(167,139,250,.2); }

.plus18-card-kicker {
  font-family: var(--mono);
  font-size: 9px; text-transform: uppercase;
  letter-spacing: .14em; color: rgba(167,139,250,.6);
  margin-bottom: 5px;
}

.plus18-card h3 {
  font-family: var(--sans);
  font-size: 14px; font-weight: 800; color: #eef6ff;
  margin-bottom: 6px;
}

.plus18-card p, .plus18-card li {
  font-family: var(--mono);
  font-size: 11px; line-height: 1.7; color: var(--muted);
}

.plus18-card ul { padding-left: 14px; }

.plus18-strip {
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(167,139,250,.12);
  background: rgba(167,139,250,.03);
  font-family: var(--mono);
  font-size: 11px; color: var(--muted);
}

.plus18-strip strong { color: rgba(167,139,250,.85); }

/* ── Wallet flow ──────────────────────────────────────── */
.wallet-flow {
  display: flex; align-items: center; gap: 7px;
  flex-wrap: wrap; padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(7,12,24,.95), rgba(4,7,15,.99));
}

.flow-step {
  display: flex; flex-direction: column;
  align-items: center; gap: 7px;
  padding: 12px 14px; border-radius: 12px;
  border: 1px solid rgba(89,225,255,.1);
  background: rgba(89,225,255,.03);
  text-align: center; flex: 1; min-width: 100px;
  transition: .18s;
}

.flow-step.active {
  border-color: rgba(34,197,94,.25);
  background: rgba(34,197,94,.05);
}

.flow-num {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(89,225,255,.12);
  border: 1px solid rgba(89,225,255,.28);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 11px; font-weight: 700; color: var(--cyan);
}

.flow-step.active .flow-num {
  background: rgba(34,197,94,.18);
  border-color: rgba(34,197,94,.4); color: #4ade80;
}

.flow-text {
  font-family: var(--mono);
  font-size: 10px; color: rgba(230,243,255,.7); line-height: 1.4;
}

.flow-arrow { color: rgba(89,225,255,.3); font-size: 16px; flex-shrink: 0; }

/* ── UX Flow ──────────────────────────────────────────── */
.ux-flow { display: grid; gap: 0; margin: 14px 0; }

.ux-step {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 14px; border-radius: 10px;
  border: 1px solid rgba(89,225,255,.07);
  background: rgba(89,225,255,.02);
  transition: background .14s;
}

.ux-step:hover { background: rgba(89,225,255,.05); }

.ux-step-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(89,225,255,.1);
  border: 1px solid rgba(89,225,255,.22);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 11px; font-weight: 700; color: var(--cyan);
  flex-shrink: 0;
}

.ux-step-body { display: grid; gap: 2px; }

.ux-step-body strong {
  font-family: var(--sans);
  font-size: 13px; color: #eef6ff;
}

.ux-step-body span {
  font-family: var(--mono);
  font-size: 11px; color: var(--muted);
}

.ux-arrow {
  text-align: center; color: rgba(89,225,255,.22);
  font-size: 14px; padding: 2px 0;
}

/* ── Timeline ─────────────────────────────────────────── */
.timeline { display: grid; gap: 2px; margin: 14px 0; position: relative; }

.timeline::before {
  content: ''; position: absolute;
  left: 36px; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, rgba(89,225,255,.2), rgba(89,225,255,.04));
}

.timeline-item {
  display: flex; gap: 14px;
  align-items: flex-start; padding: 12px 14px;
  border-radius: 10px; position: relative;
  transition: background .14s;
}

.timeline-item:hover { background: rgba(89,225,255,.03); }

.timeline-week {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(7,12,24,.97);
  border: 1px solid rgba(89,225,255,.25);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 10px; font-weight: 700; color: var(--cyan);
  flex-shrink: 0; position: relative; z-index: 1;
}

.timeline-body { padding-top: 5px; }

.timeline-body strong {
  display: block;
  font-family: var(--sans);
  font-size: 14px; color: #eef6ff; margin-bottom: 3px;
}

.timeline-body p {
  font-family: var(--mono);
  font-size: 11px; color: var(--muted); margin-bottom: 6px; line-height: 1.55;
}

.timeline-hito {
  font-family: var(--mono);
  font-size: 10px; color: var(--cyan);
  background: rgba(89,225,255,.06);
  border: 1px solid rgba(89,225,255,.14);
  border-radius: 6px; padding: 3px 9px;
  display: inline-block;
}

/* ── Prose ────────────────────────────────────────────── */
.prose {
  max-width: 680px; line-height: 1.75;
  font-family: var(--mono); font-size: 12px;
  color: rgba(230,243,255,.78);
}

.prose h2, .prose h3 {
  font-family: var(--sans); color: #f4f8ff;
  margin: 22px 0 10px; letter-spacing: -.01em;
}

.prose h2 { font-size: 18px; font-weight: 800; }
.prose h3 { font-size: 15px; font-weight: 700; color: var(--cyan); }
.prose p  { margin-bottom: 10px; }
.prose ul { padding-left: 18px; margin-bottom: 10px; }
.prose li { margin-bottom: 5px; }
.prose strong { color: #eef6ff; }

.prose code {
  font-family: var(--mono); font-size: 11px;
  background: rgba(89,225,255,.07);
  border: 1px solid rgba(89,225,255,.12);
  border-radius: 4px; padding: 1px 5px; color: var(--cyan);
}

.muted { font-size: 10px; color: rgba(255,255,255,.4); }

/* ── Alertas ──────────────────────────────────────────── */
.alert-list { display: grid; gap: 7px; }

.alert-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px;
  border: 1px solid rgba(245,158,11,.15);
  background: rgba(245,158,11,.03);
}

.alert-ico { font-size: 16px; flex-shrink: 0; }
.alert-msg { font-family: var(--mono); font-size: 11px; color: rgba(230,243,255,.8); }
.alert-time { font-family: var(--mono); font-size: 10px; color: var(--muted); margin-top: 1px; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 900px) {
  :root { --side-w: 210px; }
  .nexus-hub-grid { grid-template-columns: 1fr 1fr; }
  .module-grid-3, .vibrabot-demo { grid-template-columns: 1fr; }
  .plus18-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --side-w: 0px; }
  .side { display: none; }
  .view { padding: 14px; }
  .nexus-hub-grid { grid-template-columns: 1fr; }
  .module-strip { flex-wrap: wrap; }
  .module-strip-stat { flex: 1 1 50%; }
  .wallet-flow { flex-direction: column; }
  .flow-step { width: 100%; }
}

/* =========================================================
   BLOG FUTURO LIVE PANEL
========================================================= */
.blog-live-panel {
  border: 1px solid var(--line2);
  border-radius: 14px; overflow: hidden;
  background: linear-gradient(180deg, rgba(7,12,24,.97), rgba(4,7,15,.99));
  margin-top: 14px;
}
.blp-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: .65rem 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,.25);
}
.blp-title {
  font-family: var(--mono); font-size: 9px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--cyan);
}
.blp-body {
  padding: .8rem 1rem;
  display: grid; gap: .6rem;
}
.blp-loading, .blp-empty {
  font-family: var(--mono); font-size: 11px;
  color: var(--muted); padding: .5rem 0;
}
.blp-empty a { color: var(--cyan); }
.blp-article {
  padding: .9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(89,225,255,.02);
  transition: border-color .18s;
}
.blp-article:hover { border-color: rgba(89,225,255,.18); }
.blp-article-meta {
  font-family: var(--mono); font-size: 9px;
  letter-spacing: .1em; color: var(--muted);
  margin-bottom: .3rem;
}
.blp-article-title {
  font-family: var(--sans); font-size: 14px;
  font-weight: 800; color: #f0f6ff; margin-bottom: .3rem;
}
.blp-article-excerpt {
  font-family: var(--mono); font-size: 11px;
  color: var(--muted); line-height: 1.6; margin-bottom: .5rem;
}
.blp-article-link {
  font-family: var(--mono); font-size: 10px;
  color: var(--cyan); text-decoration: none; letter-spacing: .06em;
}
.blp-article-link:hover { text-decoration: underline; }

/* =========================================================
   VIBE KANBAN
========================================================= */
.kanban-strip {
  display: flex; gap: 0;
  border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden; margin-bottom: 14px;
  background: linear-gradient(180deg, rgba(7,12,24,.95), rgba(4,7,15,.99));
}
.ks-stat {
  flex: 1; text-align: center;
  padding: 14px 10px;
  border-right: 1px solid var(--line);
}
.ks-stat:last-child { border-right: none; }
.ks-num {
  display: block;
  font-family: var(--sans); font-size: 26px; font-weight: 900;
  color: var(--fg); line-height: 1; margin-bottom: 4px;
}
.ks-num.cyan  { color: var(--cyan); }
.ks-num.warn  { color: var(--warn); }
.ks-num.green { color: var(--green); }
.ks-label {
  font-family: var(--mono); font-size: 9px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}

.kanban-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  align-items: start;
  margin-bottom: 14px;
}

.kb-col {
  border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden;
  background: rgba(4,7,15,.6);
}
.kb-col-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: .55rem .8rem;
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,.25);
}
.kb-col-label {
  font-family: var(--mono); font-size: 9px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--cyan);
}
.kb-col-count {
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  color: var(--muted);
}
.kb-col-body {
  padding: .6rem;
  display: flex; flex-direction: column; gap: .5rem;
  min-height: 60px;
}

.kb-card {
  padding: .8rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: linear-gradient(160deg, rgba(7,12,24,.95), rgba(4,7,15,.99));
  transition: border-color .18s;
}
.kb-card:hover { border-color: rgba(89,225,255,.18); }
.kb-card-sat {
  font-family: var(--mono); font-size: 9px;
  font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: .25rem;
}
.kb-card-title {
  font-family: var(--sans); font-size: 12px;
  font-weight: 800; color: #eef6ff; margin-bottom: .25rem;
}
.kb-card-desc {
  font-family: var(--mono); font-size: 10px;
  color: var(--muted); line-height: 1.55; margin-bottom: .4rem;
}
.kb-card-agent {
  font-family: var(--mono); font-size: 9px;
  color: var(--green); margin-bottom: .35rem;
  padding: .15rem .45rem;
  border: 1px solid rgba(34,197,94,.18);
  border-radius: 4px; display: inline-block;
}
.kb-card-actions {
  display: flex; gap: .3rem; flex-wrap: wrap;
}
.kb-btn {
  font-family: var(--mono); font-size: 9px; font-weight: 700;
  padding: .2rem .55rem; border-radius: 5px;
  border: 1px solid rgba(89,225,255,.2);
  background: rgba(89,225,255,.04);
  color: var(--cyan); cursor: pointer;
  letter-spacing: .06em; transition: .15s;
}
.kb-btn:hover { background: rgba(89,225,255,.1); }
.kb-btn.kb-del { border-color: rgba(239,68,68,.2); color: #f87171; background: transparent; }
.kb-btn.kb-del:hover { background: rgba(239,68,68,.08); }
.kb-btn.kb-agt { border-color: rgba(34,197,94,.2); color: var(--green); }
.kb-btn.kb-agt:hover { background: rgba(34,197,94,.08); }

.kb-add-inline {
  font-family: var(--mono); font-size: 10px;
  color: var(--muted); background: transparent; border: none;
  cursor: pointer; padding: .3rem .5rem;
  border-radius: 6px; transition: .15s; text-align: left;
  letter-spacing: .06em;
}
.kb-add-inline:hover { color: var(--cyan); background: rgba(89,225,255,.04); }

/* hub grid 6 cards */
.nexus-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px; margin-bottom: 14px;
}

@media (max-width: 900px) {
  .kanban-board { grid-template-columns: repeat(2, 1fr); }
  .nexus-hub-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .kanban-board { grid-template-columns: 1fr; }
  .nexus-hub-grid { grid-template-columns: 1fr; }
}
