/* Guided demo conductor (sandbox only) */
.oj-demo-page {
  min-height: 100vh;
  background: radial-gradient(1200px 600px at 20% -10%, rgba(14, 165, 233, 0.18), transparent),
    radial-gradient(900px 500px at 90% 10%, rgba(16, 185, 129, 0.12), transparent),
    #0b1220;
  color: #e2e8f0;
  font-family: Inter, system-ui, sans-serif;
}
.oj-demo-wrap {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 6rem;
}
.oj-demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7dd3fc;
  border: 1px solid rgba(125, 211, 252, 0.35);
  background: rgba(14, 165, 233, 0.1);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  margin-bottom: 1rem;
}
.oj-demo-wrap h1 {
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 800;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}
.oj-demo-lead {
  color: #94a3b8;
  line-height: 1.55;
  margin: 0 0 1.5rem;
}
.oj-demo-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 1rem;
  padding: 1.25rem 1.2rem;
  margin-bottom: 1rem;
}
.oj-demo-card h2 {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  color: #7dd3fc;
  font-weight: 700;
}
.oj-demo-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.5;
}
.oj-demo-card li + li { margin-top: 0.35rem; }
.oj-demo-status {
  font-size: 0.85rem;
  color: #94a3b8;
  margin: 0 0 1rem;
}
.oj-demo-status strong { color: #e2e8f0; }
.oj-demo-status.err { color: #fca5a5; }
.oj-demo-status.ok { color: #86efac; }
.oj-demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}
.oj-demo-btn {
  appearance: none;
  border: 0;
  border-radius: 0.75rem;
  padding: 0.75rem 1.15rem;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.12s ease, opacity 0.12s ease;
}
.oj-demo-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.oj-demo-btn:not(:disabled):hover { transform: translateY(-1px); }
.oj-demo-btn-primary {
  background: linear-gradient(135deg, #0ea5e9, #10b981);
  color: #041016;
}
.oj-demo-btn-ghost {
  background: transparent;
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.35);
}
.oj-demo-creds {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  background: #020617;
  border-radius: 0.65rem;
  padding: 0.75rem 0.9rem;
  color: #a5f3fc;
  line-height: 1.55;
}
.oj-demo-note {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 1.5rem;
  line-height: 1.45;
}

/* Floating conductor on dashboards */
.oj-demo-conductor {
  position: fixed;
  z-index: 99990;
  left: 1rem;
  right: 1rem;
  bottom: 5.5rem;
  max-width: 28rem;
  margin: 0 auto;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  border-radius: 1rem;
  padding: 0.95rem 1rem 1rem;
  color: #e2e8f0;
  font-family: Inter, system-ui, sans-serif;
}
.oj-demo-conductor[hidden] { display: none !important; }
.oj-demo-conductor-kicker {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 0.35rem;
}
.oj-demo-conductor-text {
  font-size: 0.95rem;
  line-height: 1.45;
  margin: 0 0 0.85rem;
}
.oj-demo-conductor-meta {
  font-size: 0.75rem;
  color: #94a3b8;
  margin: 0 0 0.75rem;
}
.oj-demo-conductor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.oj-demo-conductor .oj-demo-btn {
  padding: 0.55rem 0.9rem;
  font-size: 0.85rem;
}
.oj-demo-hl {
  outline: 3px solid #38bdf8 !important;
  outline-offset: 3px;
  border-radius: 0.5rem;
  transition: outline 0.2s ease;
}
.oj-demo-progress {
  height: 4px;
  background: rgba(148, 163, 184, 0.2);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.oj-demo-progress > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #0ea5e9, #34d399);
  width: 0%;
  transition: width 0.25s ease;
}

/* Homepage sticky CTA (demo host only) */
.oj-demo-home-banner {
  position: fixed;
  z-index: 99980;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, rgba(8, 47, 73, 0.96), rgba(6, 78, 59, 0.94));
  border-bottom: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  color: #e2e8f0;
  font-family: Inter, system-ui, sans-serif;
}
.oj-demo-home-banner-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.65rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  font-size: 0.9rem;
}
.oj-demo-home-banner-inner strong {
  color: #7dd3fc;
  font-weight: 800;
}
.oj-demo-home-banner-inner span {
  flex: 1 1 12rem;
  color: #cbd5e1;
  font-size: 0.85rem;
}
body:has(.oj-demo-home-banner) {
  padding-top: 3.25rem;
}
