:root {
  --bg: #0b0b0f;
  --text: #f5f5f5;
  --muted: #9ca3af;
  --pink: #ff1c7b;
  --orange: #ff7e21;
  --gold: #d4af37;
  --card: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.1);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", Outfit, system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
}

.demo-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 45% at 10% 0%, rgba(255, 28, 123, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 35% at 95% 15%, rgba(255, 126, 33, 0.18), transparent 50%),
    linear-gradient(180deg, #160812 0%, #0b0b0f 50%);
  pointer-events: none;
}

.demo-shell {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 20px 72px;
}

.demo-logo { height: 44px; margin-bottom: 16px; }

.eyebrow {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

h1 {
  margin: 0 0 12px;
  font-family: Outfit, sans-serif;
  font-size: clamp(1.8rem, 4.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
}

.lead {
  margin: 0 0 28px;
  color: var(--muted);
  line-height: 1.5;
}

.demo-steps {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.step {
  display: none;
  gap: 16px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--card);
  backdrop-filter: blur(8px);
}

.step.is-current { display: flex; }

.step-num {
  flex: 0 0 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-family: Outfit, sans-serif;
  background: linear-gradient(135deg, var(--pink), var(--orange));
}

.step-body { flex: 1; min-width: 0; }

.step-body h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-family: Outfit, sans-serif;
}

.step-body p { margin: 0 0 8px; line-height: 1.45; }

.muted { color: var(--muted); font-size: 0.95rem; }

code {
  font-size: 0.9em;
  padding: 0.1em 0.35em;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
  color: #fff;
}

.btn.primary {
  background: linear-gradient(90deg, var(--pink), var(--orange));
  box-shadow: 0 8px 24px rgba(255, 28, 123, 0.3);
}

.btn.ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.checklist {
  margin: 12px 0 0;
  padding-left: 1.1rem;
  color: #ddd;
  line-height: 1.65;
}

.demo-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 32px;
}

.progress {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

.accounts {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.accounts h3 {
  margin: 0 0 12px;
  font-family: Outfit, sans-serif;
  font-size: 1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

th, td {
  text-align: left;
  padding: 8px 6px;
  border-bottom: 1px solid var(--line);
}

th { color: var(--muted); font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; }

.fine {
  margin: 12px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}

@media (max-width: 520px) {
  .step { flex-direction: column; }
  .demo-nav { flex-wrap: wrap; }
  .demo-nav .progress { order: -1; width: 100%; text-align: center; }
}
