/*!********************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[3]!./app/demo/demo.module.css ***!
  \********************************************************************************************************************************************************************************************************************************************************************/
/* ═══════════════════════════════════════════════════════════════════════════
   demo.module.css — Free Trial Vocal Simulation (Standalone)
   WARNING: Do NOT import or modify globals.css or landing.module.css
   ═══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;600;700&display=swap');

/* ─── Page Shell ──────────────────────────────────────────────────────────── */
.demo_page__ZQZlk {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  padding: 0;
  overflow-x: hidden;
}

/* ─── Top Bar ─────────────────────────────────────────────────────────────── */
.demo_topBar__Bc6CR {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  flex-wrap: wrap;
  gap: 12px;
}

.demo_logo__H6cd_ {
  display: flex;
  align-items: baseline;
  text-decoration: none;
}

.demo_logoMain__SweVq {
  font-family: 'DM Sans', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -1px;
}

.demo_logoAi__gkyQ4 {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
}

.demo_trialBadge__I66ya {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--amber);
  border: 1px solid var(--amber);
  padding: 4px 12px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ─── Main Container ─────────────────────────────────────────────────────── */
.demo_container__4RS4m {
  width: 100%;
  max-width: 720px;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1 1;
}

/* ─── Persona Card ────────────────────────────────────────────────────────── */
.demo_personaCard__930Mr {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 24px;
}

.demo_personaAvatar__HvF4_ {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.demo_personaInfo__kkxFR h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.demo_personaInfo__kkxFR p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.demo_personaLevel__8_vhJ {
  margin-left: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--red);
  border: 1px solid var(--red);
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  flex-shrink: 0;
}

/* ─── Chat Area ───────────────────────────────────────────────────────────── */
.demo_chatArea__Jyrz4 {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.demo_chatHeader___waI8 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--surface2);
  flex-wrap: wrap;
  gap: 8px;
}

.demo_chatHeaderLeft__XfHDx {
  display: flex;
  align-items: center;
  gap: 10px;
}

.demo_liveDot__BToCY {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
  animation: demo_pulseDot__y92oO 2s infinite ease-in-out;
}

@keyframes demo_pulseDot__y92oO {
  0%, 100% { transform: scale(0.8); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 1; }
}

.demo_liveLabel__Tn1Xe {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
}

.demo_turnCounter__a1BdK {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
}

.demo_chatMessages__ISzKt {
  flex: 1 1;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  max-height: 400px;
}

.demo_message__K9ME3 {
  padding: 12px 16px;
  border-radius: 8px;
  animation: demo_msgIn__aZPi4 300ms ease both;
}

@keyframes demo_msgIn__aZPi4 {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.demo_messageUser__G_z_C {
  background: rgba(56, 189, 248, 0.08);
  border-left: 3px solid var(--cyan);
  align-self: flex-end;
  max-width: 85%;
}

.demo_messageProspect__0lj3e {
  background: rgba(251, 146, 60, 0.08);
  border-left: 3px solid #fb923c;
  align-self: flex-start;
  max-width: 85%;
}

.demo_messageRole__rWDF3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.demo_messageText__I1NhH {
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}

.demo_emptyState__X_soi {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px;
  text-align: center;
}

.demo_emptyIcon__bCs8i {
  font-size: 48px;
  opacity: 0.3;
}

.demo_emptyText__8_6vc {
  font-size: 14px;
  color: var(--muted);
  max-width: 320px;
  line-height: 1.6;
}

/* ─── Controls ────────────────────────────────────────────────────────────── */
.demo_controls__VKKWs {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.demo_recordBtn__o8m2n {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 300ms ease;
}

.demo_recordBtn__o8m2n:hover {
  border-color: var(--cyan);
  background: var(--surface2);
  transform: scale(1.05);
}

.demo_recordBtnActive__omx25 {
  border-color: var(--red);
  background: rgba(248, 113, 113, 0.1);
  animation: demo_recordPulse__dFaHB 1.5s infinite ease-in-out;
}

@keyframes demo_recordPulse__dFaHB {
  0%, 100% { box-shadow: 0 0 0 0 rgba(248, 113, 113, 0.3); }
  50% { box-shadow: 0 0 0 16px rgba(248, 113, 113, 0); }
}

.demo_recordHint__rgw_T {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.demo_recordHintRecording__5sZd0 {
  color: var(--red);
  font-weight: 600;
}

.demo_statusBar__BkU61 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.demo_spinner__VH593 {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid var(--border);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: demo_spin__rr8PC 600ms linear infinite;
}

@keyframes demo_spin__rr8PC {
  to { transform: rotate(360deg); }
}

/* ─── Modal Overlay ───────────────────────────────────────────────────────── */
.demo_modalOverlay__Ojc6s {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: demo_fadeOverlay__sjuwI 300ms ease both;
}

@keyframes demo_fadeOverlay__sjuwI {
  from { opacity: 0; }
  to { opacity: 1; }
}

.demo_modal__7ya_e {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  animation: demo_modalIn__wUEzs 400ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes demo_modalIn__wUEzs {
  from { opacity: 0; transform: scale(0.95) translateY(16px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.demo_modalIcon__eZiCS {
  font-size: 48px;
  margin-bottom: 20px;
}

.demo_modalTitle__NG_wy {
  font-family: 'DM Sans', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.demo_modalDesc__5VkQK {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

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

.demo_modalPrimary__zd_2j {
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  background: var(--text);
  color: var(--bg);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 200ms ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.demo_modalPrimary__zd_2j:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.demo_modalSecondary__Ow6Te {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  transition: all 200ms ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.demo_modalSecondary__Ow6Te:hover {
  color: var(--text);
  border-color: var(--text);
}

/* ─── Score Preview (teaser in modal) ─────────────────────────────────────── */
.demo_scoreTeaser__sXcTK {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 12px;
  gap: 12px;
  margin-bottom: 24px;
  padding: 16px;
  background: var(--surface2);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.demo_scoreTeaserItem__v7gLs {
  text-align: center;
}

.demo_scoreTeaserValue__OEDlk {
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.demo_scoreTeaserLabel__cJSph {
  font-size: 10px;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.demo_blurred__Ch4p7 {
  filter: blur(6px);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  pointer-events: none;
}

/* ─── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .demo_container__4RS4m {
    padding: 24px 16px;
  }

  .demo_topBar__Bc6CR {
    padding: 12px 16px;
    justify-content: center;
  }

  .demo_personaCard__930Mr {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .demo_personaLevel__8_vhJ {
    margin-left: 0;
  }

  .demo_chatMessages__ISzKt {
    max-height: 300px;
  }

  .demo_messageUser__G_z_C,
  .demo_messageProspect__0lj3e {
    max-width: 95%;
  }

  .demo_recordBtn__o8m2n {
    width: 72px;
    height: 72px;
    font-size: 24px;
  }

  .demo_modal__7ya_e {
    padding: 28px 20px;
  }

  .demo_modalTitle__NG_wy {
    font-size: 20px;
  }

  .demo_scoreTeaser__sXcTK {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

