/* MyHub Pitch — Scenario page (a story-driven walk-through) */

/* ============== Scene block ============== */
.scene {
  padding: 88px 0;
  position: relative;
}
.scene--alt { background: var(--bg-cream); }
.scene--story-end {
  background: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg) 100%);
}

.scene__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.scene--reverse > .scene__row > .scene__art { order: -1; }
@media (max-width: 900px) {
  .scene__row { grid-template-columns: 1fr; gap: 32px; }
  .scene--reverse > .scene__row > .scene__art { order: 0; }
}

.scene__step-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border-radius: var(--radius-pill);
  background: white;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 16px;
  box-shadow: var(--surface-shadow);
}
.scene__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  font-weight: 700;
  font-size: 13px;
  font-family: var(--font-heading);
}

.scene__time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-subtle);
  font-variant-numeric: tabular-nums;
}

.scene__row h2 {
  font-size: clamp(28px, 4.2vw, 40px);
  margin: 0 0 12px;
}
.scene__row .lead {
  font-size: 18px;
  margin: 0 0 16px;
}
.scene__row .actor {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.scene__row .actor::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ============== Message tag (showing what MyHub does at this step) ============== */
.msg-event {
  margin-top: 20px;
  background: var(--surface);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius-m) var(--radius-m) 0;
  padding: 14px 18px;
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  box-shadow: var(--surface-shadow);
}
.msg-event__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-soft);
  border-radius: 50%;
  color: var(--brand);
}
.msg-event__body { flex: 1; }
.msg-event__label {
  font-weight: 700;
  color: var(--text);
  margin-right: 4px;
}
.msg-event__tag {
  display: inline-block;
  padding: 1px 8px;
  margin-left: 4px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  vertical-align: middle;
}
.msg-event__tag--at { background: #dbeafe; color: #2563eb; }
.msg-event__tag--ft { background: #ffedd5; color: #ea580c; }
.msg-event__tag--ct { background: #ede9fe; color: #7c3aed; }

/* ============== Cartoon scene art ============== */
.scene__art {
  position: relative;
}
.scene__art svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ============== Setup card (before the story starts) ============== */
.setup-card {
  background: var(--surface);
  border-radius: var(--radius-l);
  padding: 32px 36px;
  box-shadow: var(--surface-shadow);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: center;
  margin: 32px auto 0;
  max-width: 880px;
}
@media (max-width: 700px) {
  .setup-card { grid-template-columns: 1fr; }
}
.setup-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
}
.setup-card p { margin: 0 0 8px; }
.setup-card__numbers {
  background: var(--bg-cream);
  border-radius: var(--radius-m);
  padding: 18px;
  text-align: center;
}
.setup-card__before, .setup-card__after {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 32px;
  color: var(--text);
}
.setup-card__before {
  color: var(--text-subtle);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.setup-card__after { color: var(--accent); margin-left: 14px; }
.setup-card__label { font-size: 12px; color: var(--text-subtle); margin-top: 4px; letter-spacing: 0.05em; text-transform: uppercase; }

/* ============== Recap stats ============== */
.recap {
  background: linear-gradient(135deg, var(--brand) 0%, #6d28d9 100%);
  border-radius: var(--radius-l);
  padding: 56px 48px;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.recap::before {
  content: "";
  position: absolute;
  inset: -50% -10% auto auto;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
  pointer-events: none;
}
.recap h2 { color: white; margin: 0 0 16px; }
.recap p { color: rgba(255, 255, 255, 0.88); font-size: 18px; max-width: 60ch; margin: 0 auto 32px; }
.recap__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
@media (max-width: 700px) {
  .recap__stats { grid-template-columns: repeat(2, 1fr); }
}
.recap__stat {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-m);
  padding: 20px 14px;
  backdrop-filter: blur(4px);
}
.recap__stat-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 36px;
  color: white;
  line-height: 1;
}
.recap__stat-label {
  font-size: 13px;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}
