    /* ═══════════════════════════════════════════════════════════════════════════
       DEMO FLOW - Multi-step onboarding with mic test & compliance training
       ═══════════════════════════════════════════════════════════════════════════ */

    * { box-sizing: border-box; }

    .demo-screen {
      position: fixed;
      inset: 0;
      top: 60px;
      bottom: 50px; /* Space for footer */
      background: var(--sunfire-light-bg);
      background-image: var(--bg-gradient);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 24px;
      overflow-y: auto;
    }
    .demo-screen.hidden { display: none; }

    /* ─────────────────────────────────────────────────────────────────────────
       HEADER
       ───────────────────────────────────────────────────────────────────────── */
    .demo-topbar {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      height: 60px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 24px;
      background: var(--topbar-bg);
      border-bottom: 1px solid var(--sunfire-border);
      backdrop-filter: blur(12px);
      z-index: 10001;
    }

    .demo-brand {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .demo-brand .wmc-logo {
      height: 32px;
      width: auto;
      background: rgba(255, 255, 255, 0.08);
      padding: 4px 10px;
      border-radius: 6px;
    }

    .demo-brand .divider {
      width: 1px;
      height: 28px;
      background: var(--sunfire-border);
    }

    .demo-brand .product {
      display: flex;
      align-items: center;
      gap: 9px;
    }

    .demo-brand .palbot {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: var(--sunfire-pal-grad);
      padding: 5px;
    }

    .demo-brand h1 {
      font-size: 17px;
      font-weight: 600;
      line-height: 1.1;
      color: var(--sunfire-navy);
      margin: 0;
    }

    .demo-brand .tagline {
      font-size: 11px;
      color: var(--sunfire-gray);
      font-weight: 500;
    }

    .demo-topbar-controls {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .theme-toggle-btn {
      padding: 8px 14px;
      font-size: 14px;
      font-weight: 600;
      background: var(--surface-pill);
      color: var(--sunfire-gray);
      border: 1px solid var(--sunfire-border);
      border-radius: 8px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: all 0.2s;
    }

    .theme-toggle-btn:hover {
      background: var(--sunfire-blue-chip);
      color: var(--sunfire-blue);
      border-color: var(--sunfire-blue);
    }

    /* ─────────────────────────────────────────────────────────────────────────
       PROGRESS INDICATOR
       ───────────────────────────────────────────────────────────────────────── */
    .progress-bar {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      margin-bottom: 32px;
    }

    .progress-step {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: var(--surface-pill);
      border: 2px solid var(--sunfire-border);
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font-outfit);
      font-size: 16px;
      font-weight: 700;
      color: var(--sunfire-gray);
      transition: all 0.3s;
    }

    .progress-step.active {
      background: var(--sunfire-blue);
      border-color: var(--sunfire-blue);
      color: white;
      transform: scale(1.1);
    }

    .progress-step.done {
      background: var(--ok-fill);
      border-color: var(--ok-fill);
      color: white;
    }

    .progress-line {
      width: 48px;
      height: 3px;
      background: var(--sunfire-border);
      border-radius: 2px;
    }

    .progress-line.done {
      background: var(--ok-fill);
    }

    /* ─────────────────────────────────────────────────────────────────────────
       FOOTER WITH SKIP
       ───────────────────────────────────────────────────────────────────────── */
    .demo-footer {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      height: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 24px;
      background: var(--topbar-bg);
      border-top: 1px solid var(--sunfire-border);
      backdrop-filter: blur(12px);
      z-index: 10001;
    }

    .skip-link {
      font-size: 14px;
      color: var(--sunfire-gray);
      text-decoration: none;
      cursor: pointer;
      transition: color 0.2s;
    }

    .skip-link:hover {
      color: var(--sunfire-blue);
      text-decoration: underline;
    }

    /* ─────────────────────────────────────────────────────────────────────────
       SCREEN 1: Welcome & Overview
       ───────────────────────────────────────────────────────────────────────── */
    .welcome-container {
      width: 100%;
      max-width: 1100px;
      padding: 0 24px;
    }

    .welcome-header {
      text-align: center;
      margin-bottom: 48px;
    }

    .welcome-logo {
      font-size: 80px;
      margin-bottom: 16px;
    }

    .welcome-title {
      font-family: var(--font-outfit);
      font-size: 48px;
      font-weight: 700;
      color: var(--sunfire-navy);
      margin: 0 0 16px 0;
    }

    .welcome-subtitle {
      font-size: 22px;
      color: var(--sunfire-gray);
      max-width: 600px;
      margin: 0 auto;
      line-height: 1.6;
    }

    .welcome-steps {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-bottom: 48px;
    }

    .welcome-step {
      background: var(--surface-card);
      border: 1px solid var(--sunfire-border);
      border-radius: 16px;
      padding: 28px 24px;
      text-align: center;
      box-shadow: var(--shadow-card);
      transition: transform 0.2s, box-shadow 0.2s;
    }

    .welcome-step:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }

    .welcome-step-number {
      width: 48px;
      height: 48px;
      background: var(--sunfire-blue);
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font-outfit);
      font-size: 24px;
      font-weight: 700;
      margin: 0 auto 16px;
    }

    .welcome-step-icon {
      font-size: 40px;
      margin-bottom: 12px;
    }

    .welcome-step-title {
      font-family: var(--font-outfit);
      font-size: 20px;
      font-weight: 700;
      color: var(--sunfire-navy);
      margin-bottom: 8px;
    }

    .welcome-step-desc {
      font-size: 16px;
      color: var(--sunfire-gray);
      line-height: 1.5;
    }

    .welcome-cta-area {
      background: var(--surface-card);
      border: 1px solid var(--sunfire-border);
      border-radius: 20px;
      padding: 40px;
      max-width: 500px;
      margin: 0 auto;
      text-align: center;
      box-shadow: var(--shadow-card);
    }

    .welcome-cta-title {
      font-family: var(--font-outfit);
      font-size: 24px;
      font-weight: 700;
      color: var(--sunfire-navy);
      margin-bottom: 8px;
    }

    .welcome-cta-subtitle {
      font-size: 16px;
      color: var(--sunfire-gray);
      margin-bottom: 24px;
    }

    .welcome-time {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 20px;
      background: var(--sunfire-blue-chip);
      color: var(--sunfire-blue);
      border-radius: 20px;
      font-size: 15px;
      font-weight: 600;
      margin-bottom: 24px;
    }

    .demo-input {
      width: 100%;
      padding: 18px 16px;
      font-size: 18px;
      border: 2px solid var(--sunfire-border);
      border-radius: 10px;
      margin-bottom: 16px;
      font-family: var(--font-body);
      background: var(--input-bg);
      color: var(--sunfire-text);
    }
    .demo-input:focus { outline: none; border-color: var(--sunfire-blue); box-shadow: 0 0 0 4px rgba(43, 113, 218, 0.15); }
    .demo-input::placeholder { color: var(--sunfire-gray); }

    .demo-btn {
      width: 100%;
      padding: 18px 24px;
      font-size: 20px;
      font-weight: 600;
      background: var(--sunfire-blue);
      color: white;
      border: none;
      border-radius: 10px;
      cursor: pointer;
      font-family: var(--font-outfit);
      transition: background 0.2s, transform 0.1s;
    }
    .demo-btn:hover { background: var(--sunfire-blue-dark); }
    .demo-btn:active { transform: scale(0.98); }
    .demo-btn.btn-green { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
    .demo-btn.btn-green:hover { background: linear-gradient(135deg, #059669 0%, #047857 100%); }

    .demo-note { margin-top: 20px; font-size: 14px; color: var(--sunfire-gray); }

    /* ─────────────────────────────────────────────────────────────────────────
       STEP SCREENS - Full width layout
       ───────────────────────────────────────────────────────────────────────── */
    .step-container {
      width: 100%;
      max-width: 1000px;
      padding: 0 24px;
    }

    .step-header {
      text-align: center;
      margin-bottom: 32px;
    }

    .step-header h1 {
      font-family: var(--font-outfit);
      font-size: 36px;
      font-weight: 700;
      color: var(--sunfire-navy);
      margin: 0 0 8px 0;
    }

    .step-header p {
      font-size: 18px;
      color: var(--sunfire-gray);
      margin: 0;
    }

    .step-content {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
      margin-bottom: 32px;
    }

    .step-card {
      background: var(--surface-card);
      border: 1px solid var(--sunfire-border);
      border-radius: 16px;
      padding: 28px;
      box-shadow: var(--shadow-card);
    }

    .step-card h2 {
      font-family: var(--font-outfit);
      font-size: 20px;
      font-weight: 700;
      color: var(--sunfire-navy);
      margin: 0 0 16px 0;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .step-card p {
      font-size: 17px;
      line-height: 1.6;
      color: var(--sunfire-text);
      margin: 0;
    }

    .step-cta {
      text-align: center;
    }

    .step-cta .demo-btn {
      width: auto;
      min-width: 280px;
      font-size: 22px;
      padding: 20px 40px;
    }

    /* ─────────────────────────────────────────────────────────────────────────
       STEP 1: MIC CHECK - Demo area
       ───────────────────────────────────────────────────────────────────────── */
    .mic-demo-area {
      background: var(--sunfire-light-bg);
      border: 2px dashed var(--sunfire-border);
      border-radius: 12px;
      padding: 24px;
      text-align: center;
      min-height: 200px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      transition: all 0.3s;
    }

    .mic-demo-area.listening {
      border-color: var(--sunfire-blue);
      border-style: solid;
      background: var(--sunfire-blue-chip);
    }

    .mic-demo-btn {
      padding: 16px 32px;
      font-size: 20px;
      font-weight: 600;
      background: var(--sunfire-blue);
      color: white;
      border: none;
      border-radius: 50px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      transition: all 0.2s;
    }

    .mic-demo-btn:hover { background: var(--sunfire-blue-dark); transform: scale(1.02); }
    .mic-demo-btn.recording { background: var(--err); animation: pulse 1.5s infinite; }

    @keyframes pulse {
      0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
      50% { box-shadow: 0 0 0 12px rgba(220, 38, 38, 0); }
    }

    .mic-transcript-preview {
      margin-top: 20px;
      padding: 16px 24px;
      background: var(--surface-card);
      border-radius: 10px;
      min-height: 60px;
      width: 100%;
      font-size: 18px;
      color: var(--sunfire-text);
      text-align: left;
    }

    .mic-status-indicator {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-top: 12px;
      font-size: 14px;
      color: var(--sunfire-gray);
    }

    .mic-status-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: var(--sunfire-gray);
    }

    .mic-status-dot.ok { background: var(--ok-fill); }
    .mic-status-dot.err { background: var(--err); }

    .sound-check-btn {
      margin-top: 16px;
      padding: 10px 20px;
      font-size: 14px;
      background: var(--surface-pill);
      color: var(--sunfire-gray);
      border: 1px solid var(--sunfire-border);
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.2s;
    }

    .sound-check-btn:hover {
      background: var(--sunfire-blue-chip);
      color: var(--sunfire-blue);
    }

    /* ─────────────────────────────────────────────────────────────────────────
       STEP 2: COMPLIANCE RULES - Violation demo
       ───────────────────────────────────────────────────────────────────────── */
    .compliance-demo-area {
      background: var(--surface-card);
      border: 3px solid var(--sunfire-border);
      border-radius: 12px;
      padding: 24px;
      min-height: 240px;
      transition: all 0.3s;
    }

    .compliance-demo-area.violation {
      border-color: var(--err);
      background: var(--err-bg);
      animation: flash-red 0.5s ease-out;
    }

    @keyframes flash-red {
      0% { background: rgba(220, 38, 38, 0.3); }
      100% { background: var(--err-bg); }
    }

    .compliance-transcript {
      font-size: 20px;
      line-height: 1.8;
      color: var(--sunfire-text);
      min-height: 80px;
    }

    .compliance-transcript.violation-text .pv-word {
      color: var(--err) !important;
    }

    .violation-banner {
      display: none;
      margin-top: 16px;
      padding: 16px 20px;
      background: var(--err);
      color: white;
      border-radius: 10px;
      font-size: 18px;
      font-weight: 600;
      text-align: center;
      animation: shake 0.5s ease-out;
    }

    .violation-banner.show { display: block; }

    @keyframes shake {
      0%, 100% { transform: translateX(0); }
      25% { transform: translateX(-8px); }
      75% { transform: translateX(8px); }
    }

    .rules-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .rules-list li {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      padding: 12px 0;
      border-bottom: 1px solid var(--sunfire-border);
      font-size: 17px;
      color: var(--sunfire-text);
    }

    .rules-list li:last-child { border-bottom: none; }

    .rule-icon { font-size: 20px; }

    .try-violation-btn {
      margin-top: 20px;
      padding: 12px 24px;
      font-size: 16px;
      font-weight: 600;
      background: var(--warn-bg);
      color: var(--warn-text);
      border: 2px solid var(--warn-border);
      border-radius: 10px;
      cursor: pointer;
      transition: all 0.2s;
    }

    .try-violation-btn:hover {
      background: var(--warn-border);
    }

    /* ─────────────────────────────────────────────────────────────────────────
       STEP 3: MEET BETTY
       ───────────────────────────────────────────────────────────────────────── */
    .betty-profile {
      display: flex;
      gap: 32px;
      align-items: flex-start;
    }

    .betty-avatar {
      width: 180px;
      height: 180px;
      border-radius: 50%;
      background: var(--sunfire-pal-grad);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 80px;
      flex-shrink: 0;
      box-shadow: var(--shadow-card);
    }

    .betty-avatar img {
      width: 100%;
      height: 100%;
      border-radius: 50%;
      object-fit: cover;
    }

    .betty-info {
      flex: 1;
    }

    .betty-name {
      font-family: var(--font-outfit);
      font-size: 32px;
      font-weight: 700;
      color: var(--sunfire-navy);
      margin: 0 0 4px 0;
    }

    .betty-location {
      font-size: 18px;
      color: var(--sunfire-gray);
      margin-bottom: 16px;
    }

    .betty-bio {
      font-size: 18px;
      line-height: 1.7;
      color: var(--sunfire-text);
    }

    .betty-details {
      margin-top: 20px;
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }

    .betty-tag {
      padding: 8px 16px;
      background: var(--sunfire-blue-chip);
      color: var(--sunfire-blue);
      border-radius: 20px;
      font-size: 14px;
      font-weight: 600;
    }

    .goal-card {
      background: var(--ok-bg);
      border: 1px solid var(--ok-border);
      border-radius: 12px;
      padding: 20px 24px;
    }

    .goal-card h3 {
      font-family: var(--font-outfit);
      font-size: 18px;
      font-weight: 700;
      color: var(--ok-emph);
      margin: 0 0 8px 0;
    }

    .goal-card p {
      font-size: 17px;
      line-height: 1.6;
      color: var(--ok-text);
      margin: 0;
    }

    /* ─────────────────────────────────────────────────────────────────────────
       SCORE SCREEN
       ───────────────────────────────────────────────────────────────────────── */
    .score-card {
      background: var(--surface-card);
      border: 1px solid var(--sunfire-border);
      border-radius: 20px;
      padding: 48px;
      max-width: 600px;
      text-align: center;
      box-shadow: var(--shadow-float);
    }

    .score-title {
      font-family: var(--font-outfit);
      font-size: 28px;
      font-weight: 700;
      color: var(--sunfire-navy);
      margin: 0 0 24px 0;
    }

    .score-grade {
      width: 120px;
      height: 120px;
      border-radius: 50%;
      background: var(--ok-fill);
      color: white;
      font-family: var(--font-outfit);
      font-size: 56px;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 24px;
      box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
    }

    .score-grade.grade-b { background: #3b82f6; box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3); }
    .score-grade.grade-c { background: #f59e0b; box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3); }
    .score-grade.grade-d { background: #ef4444; box-shadow: 0 8px 24px rgba(239, 68, 68, 0.3); }

    .score-summary {
      font-size: 18px;
      color: var(--sunfire-text);
      line-height: 1.6;
      margin-bottom: 32px;
    }

    .score-stats {
      display: flex;
      justify-content: center;
      gap: 32px;
      margin-bottom: 32px;
    }

    .score-stat {
      text-align: center;
    }

    .score-stat-value {
      font-family: var(--font-outfit);
      font-size: 32px;
      font-weight: 700;
      color: var(--sunfire-navy);
    }

    .score-stat-label {
      font-size: 14px;
      color: var(--sunfire-gray);
    }

    .score-cta {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .score-cta .demo-btn {
      width: 100%;
    }

    .secondary-link {
      font-size: 14px;
      color: var(--sunfire-gray);
      text-decoration: none;
    }

    .secondary-link:hover {
      color: var(--sunfire-blue);
      text-decoration: underline;
    }

    /* ─────────────────────────────────────────────────────────────────────────
       RESPONSIVE
       ───────────────────────────────────────────────────────────────────────── */
    @media (max-width: 900px) {
      .welcome-steps { grid-template-columns: 1fr; gap: 16px; }
      .welcome-title { font-size: 36px; }
      .welcome-subtitle { font-size: 18px; }
      .step-content { grid-template-columns: 1fr; }
      .betty-profile { flex-direction: column; align-items: center; text-align: center; }
      .betty-details { justify-content: center; }
    }

    @media (max-width: 600px) {
      .demo-screen { padding: 16px; top: 56px; bottom: 46px; }
      .demo-topbar { height: 56px; padding: 0 16px; }
      .demo-footer { height: 46px; }
      .demo-brand .tagline { display: none; }
      .welcome-logo { font-size: 56px; }
      .welcome-title { font-size: 28px; }
      .welcome-subtitle { font-size: 16px; }
      .welcome-step { padding: 20px 16px; }
      .welcome-step-icon { font-size: 32px; }
      .welcome-step-title { font-size: 18px; }
      .welcome-step-desc { font-size: 14px; }
      .welcome-cta-area { padding: 28px 24px; }
      .step-header h1 { font-size: 28px; }
      .step-card { padding: 20px; }
      .betty-avatar { width: 140px; height: 140px; font-size: 60px; }
      .progress-step { width: 32px; height: 32px; font-size: 14px; }
      .progress-line { width: 32px; }
    }

    /* ═══════════════════════════════════════════════════════════════════════════
       ERROR STATES & PULSE DOT OVERRIDES
       ═══════════════════════════════════════════════════════════════════════════ */
    .call-status-indicator.error .pulse-dot {
      background: var(--err, #ef4444) !important;
      animation: pulse-error 0.5s infinite !important;
    }

    .call-status-indicator.error #voice-call-status {
      color: var(--err, #ef4444) !important;
      font-weight: 700;
    }

    @keyframes pulse-error {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.3; transform: scale(1.3); }
    }
