/* ==========================================================================
   PAISAN SAMPLES LAB - SOUNDWAVE VISUALIZER & AUDIO SHOWCASE
   ========================================================================== */

.samples-hero-wrap {
  position: relative;
  max-width: 1140px;
  margin: 0 auto 56px;
  text-align: center;
}

.samples-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(232, 87, 42, 0.08);
  border: 1px solid rgba(232, 87, 42, 0.22);
  color: #e8572a;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.samples-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e8572a;
  box-shadow: 0 0 8px #e8572a;
  animation: pPulse 2s ease-in-out infinite;
}

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

.samples-title {
  font-family: var(--font-sans, "DM Sans", -apple-system, sans-serif);
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 700;
  color: #101828;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.samples-title em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  color: #e8572a;
  font-weight: 400;
}

.samples-subtitle {
  font-size: clamp(15px, 1.8vw, 17px);
  color: #475467;
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   SOUNDSTAGE HERO CARD (Paisan Logo Soundwave Lab)
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   SOUNDSTAGE HERO CARD (Website Light Theme Aligned)
   -------------------------------------------------------------------------- */
.soundstage-card {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(16, 24, 40, 0.08);
  box-shadow: 0 8px 30px -6px rgba(16, 24, 40, 0.05), 0 1px 3px rgba(16, 24, 40, 0.02);
  padding: 16px 20px;
  margin: 0 auto;
  max-width: 720px;
  color: #101828;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.soundstage-card.is-active {
  border-color: rgba(232, 87, 42, 0.25);
  box-shadow: 0 12px 36px -8px rgba(232, 87, 42, 0.08), 0 2px 6px rgba(16, 24, 40, 0.03);
}

/* Minimalist Player Layout */
.soundstage-player-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

/* Row 1: Logo + Titles & Transcripts Button */
.soundstage-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.soundstage-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

/* Compact Brand Visualizer Logo (44px) */
.soundstage-logo-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 12px;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.soundstage-logo-wrap:hover {
  transform: scale(1.05);
}

.paisan-logo-svg {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  filter: drop-shadow(0 2px 8px rgba(16, 24, 40, 0.12));
  transition: filter 0.3s ease;
}

.soundstage-card.is-active .paisan-logo-svg {
  filter: drop-shadow(0 0 10px rgba(232, 87, 42, 0.35));
}

.pbar {
  transform-origin: center;
  will-change: transform, height, y;
  transition: fill 0.3s ease;
}

.soundstage-titles {
  min-width: 0;
  flex: 1;
  text-align: left;
}

.soundstage-track-title {
  font-size: 15px;
  font-weight: 700;
  color: #101828;
  letter-spacing: -0.015em;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.soundstage-track-meta {
  font-size: 12px;
  color: #667085;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.soundstage-top-actions {
  flex-shrink: 0;
}

/* Transcripts Toggle Button in Player */
.soundstage-transcript-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 10px;
  font-size: 11.5px;
  font-weight: 600;
  border-radius: 6px;
  background: #f8fafc;
  border: 1px solid #d0d5dd;
  color: #344054;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s ease;
  box-sizing: border-box;
}

.soundstage-transcript-toggle:hover {
  background: #ffffff;
  color: #101828;
  border-color: #98a2b3;
}

.soundstage-transcript-toggle.is-active {
  background: #e8572a;
  border-color: #e8572a;
  color: #ffffff;
}

.soundstage-transcript-toggle .transcript-chevron {
  transition: transform 0.2s ease;
}

.soundstage-transcript-toggle.is-active .transcript-chevron {
  transform: rotate(180deg);
}

/* Row 2: Controls & Scrubber Console */
.soundstage-bottom-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.soundstage-play-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e8572a;
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(232, 87, 42, 0.35);
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.soundstage-play-btn:hover {
  background: #d14619;
  transform: scale(1.06);
  box-shadow: 0 4px 12px rgba(232, 87, 42, 0.45);
}

.soundstage-play-btn:active {
  transform: scale(0.96);
}

.soundstage-time {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 11px;
  color: #667085;
  min-width: 30px;
  font-weight: 500;
  flex-shrink: 0;
}

.soundstage-time.current {
  text-align: right;
  color: #101828;
  font-weight: 600;
}

.soundstage-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: #eaecf0;
  outline: none;
  cursor: pointer;
  position: relative;
}

.soundstage-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e8572a;
  box-shadow: 0 1px 4px rgba(232, 87, 42, 0.4);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.soundstage-slider::-webkit-slider-thumb:hover {
  transform: scale(1.25);
  background: #d14619;
}

.soundstage-speed-btn {
  background: #f8fafc;
  border: 1px solid #d0d5dd;
  color: #344054;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 600;
  height: 26px;
  padding: 0 7px;
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.soundstage-speed-btn:hover {
  background: #ffffff;
  border-color: #101828;
  color: #101828;
}

.soundstage-vol-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.soundstage-icon-btn {
  background: transparent;
  border: none;
  color: #667085;
  padding: 5px;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, background 0.15s ease;
}

.soundstage-icon-btn:hover {
  color: #101828;
  background: #f2f4f7;
}

.soundstage-vol-slider {
  width: 52px;
  -webkit-appearance: none;
  appearance: none;
  height: 3px;
  border-radius: 2px;
  background: #eaecf0;
  outline: none;
  cursor: pointer;
}

.soundstage-vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #667085;
  cursor: pointer;
}

@media (max-width: 640px) {
  .soundstage-card {
    padding: 14px 16px;
  }
  .soundstage-player-row {
    gap: 12px;
  }
  .soundstage-vol-slider {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   SAMPLES GRID & CARDS
   -------------------------------------------------------------------------- */
.samples-grid-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.samples-section-heading {
  font-size: 22px;
  font-weight: 700;
  color: #101828;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.samples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.sample-card {
  background: #ffffff;
  border: 1px solid #e4e7ec;
  border-radius: 14px;
  padding: 18px 20px 16px;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.04);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.sample-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -4px rgba(16, 24, 40, 0.06);
}

.sample-card.is-active {
  border: 1.5px solid #e8572a;
  background: #fffcfb;
  box-shadow: 0 8px 24px -4px rgba(232, 87, 42, 0.12);
}

.sample-card[data-domain="real_estate"].is-active,
#realEstateSamplesGrid .sample-card.is-active {
  border-color: #0284c7;
  background: #f8fafc;
  box-shadow: 0 8px 24px -4px rgba(2, 132, 199, 0.12);
}

.sample-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.sample-category-tag {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #e8572a;
}

.sample-duration-pill {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 10.5px;
  font-weight: 500;
  color: #475467;
  background: #f2f4f7;
  padding: 2px 7px;
  border-radius: 999px;
  line-height: 1.3;
}

.sample-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #101828;
  line-height: 1.35;
  margin-bottom: 3px;
  letter-spacing: -0.01em;
}

.sample-persona-sub {
  font-size: 12px;
  color: #475467;
  font-weight: 500;
  margin-bottom: 8px;
}

.sample-card-desc {
  font-size: 12.5px;
  color: #667085;
  line-height: 1.45;
  margin-bottom: 12px;
  flex: 1;
}

/* Subtle 1-line outcome badge */
.sample-outcome-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #027a48;
  background: #ecfdf3;
  border: 1px solid #d1fadf;
  padding: 4px 9px;
  border-radius: 6px;
  margin-bottom: 12px;
  line-height: 1.3;
}

.outcome-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #12b76a;
  flex-shrink: 0;
}

.outcome-text {
  font-weight: 500;
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   ENTERPRISE CUSTOMIZATION CARD
   -------------------------------------------------------------------------- */
.sample-card-enterprise {
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  border: 1px solid #e4e7ec;
}

.sample-card-enterprise:hover {
  border-color: #cbd5e1;
  box-shadow: 0 10px 28px -6px rgba(16, 24, 40, 0.08);
}

.enterprise-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 14px;
  border-radius: 8px;
  background: #101828;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.enterprise-cta-btn:hover {
  background: #e8572a;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232, 87, 42, 0.25);
}

.enterprise-compliance-pill {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 10.5px;
  font-weight: 500;
  color: #667085;
  background: #f2f4f7;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #eaecf0;
}

.sample-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid #f2f4f7;
  margin-top: auto;
}

.sample-card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.sample-play-trigger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #f8fafc;
  border: 1px solid #d0d5dd;
  color: #101828;
  font-size: 11.5px;
  font-weight: 600;
  height: 30px;
  padding: 0 10px;
  border-radius: 7px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s ease;
  box-sizing: border-box;
}

.sample-play-trigger-btn:hover {
  background: #ffffff;
  border-color: #101828;
}

.sample-card.is-active .sample-play-trigger-btn {
  background: #e8572a;
  border-color: #e8572a;
  color: #ffffff;
  box-shadow: 0 1px 4px rgba(232, 87, 42, 0.25);
}

.sample-transcript-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: 1px solid #e2e8f0;
  color: #475467;
  font-size: 11px;
  font-weight: 600;
  height: 30px;
  padding: 0 9px;
  border-radius: 7px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s ease;
  box-sizing: border-box;
}

.sample-transcript-toggle-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #101828;
}

.sample-transcript-toggle-btn.is-active {
  background: rgba(232, 87, 42, 0.08);
  border-color: #e8572a;
  color: #e8572a;
}

.sample-card-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.sample-duration {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 11px;
  color: #667085;
  white-space: nowrap;
}

/* Card Waveform Indicator */
.card-mini-eq {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 14px;
}

.card-mini-eq span {
  width: 2.5px;
  height: 4px;
  background: #e8572a;
  border-radius: 1px;
}

.sample-card.is-active .card-mini-eq span {
  animation: miniEqDance 0.8s ease-in-out infinite alternate;
}
.sample-card.is-active .card-mini-eq span:nth-child(1) { height: 6px; animation-delay: 0.1s; }
.sample-card.is-active .card-mini-eq span:nth-child(2) { height: 12px; animation-delay: 0.3s; }
.sample-card.is-active .card-mini-eq span:nth-child(3) { height: 8px; animation-delay: 0.2s; }
.sample-card.is-active .card-mini-eq span:nth-child(4) { height: 14px; animation-delay: 0.4s; }

@keyframes miniEqDance {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1); }
}

/* --------------------------------------------------------------------------
   SOUNDSTAGE LIVE TRANSCRIPT DOCK (Collapsed by default)
   -------------------------------------------------------------------------- */
.soundstage-candidate-banner {
  margin-top: 4px;
  font-size: 11.5px;
  color: #475467;
  background: #f8fafc;
  border: 1px solid #eaecf0;
  padding: 3px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.soundstage-candidate-banner strong {
  color: #101828;
  font-weight: 600;
}

.soundstage-speed-btn {
  background: #f8fafc;
  border: 1px solid #d0d5dd;
  color: #344054;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.soundstage-speed-btn:hover {
  background: #ffffff;
  border-color: #101828;
  color: #101828;
}

/* Collapsible Transcript Dock: Light Theme & Hidden by default */
.soundstage-transcript-dock {
  display: none;
  width: 100%;
  margin-top: 16px;
  background: #fcfcfd;
  border: 1px solid #eaecf0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(16, 24, 40, 0.04);
  text-align: left;
}

.soundstage-transcript-dock.is-open {
  display: block;
  animation: transcriptDrop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes transcriptDrop {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.soundstage-transcript-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #f8fafc;
  border-bottom: 1px solid #eaecf0;
  flex-wrap: wrap;
  gap: 10px;
}

.soundstage-transcript-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.soundstage-transcript-heading {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #e8572a;
  text-transform: uppercase;
}

.soundstage-candidate-pill {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #f2f4f7;
  border: 1px solid #e4e7ec;
  color: #344054;
}

.soundstage-transcript-tools {
  display: flex;
  align-items: center;
  gap: 6px;
}

.transcript-tool-btn {
  background: #ffffff;
  border: 1px solid #d0d5dd;
  color: #344054;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s ease;
}

.transcript-tool-btn:hover {
  background: #f8fafc;
  color: #101828;
  border-color: #98a2b3;
}

.soundstage-transcript-scroll {
  max-height: 280px;
  overflow-y: auto;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scroll-behavior: smooth;
  background: #ffffff;
}

.soundstage-transcript-scroll::-webkit-scrollbar {
  width: 4px;
}
.soundstage-transcript-scroll::-webkit-scrollbar-thumb {
  background: #d0d5dd;
  border-radius: 2px;
}

/* Language Filter States */
[data-lang-mode="hindi"] .turn-text-english {
  display: none !important;
}
[data-lang-mode="english"] .turn-text-original {
  display: none !important;
}

/* Dialogue Turn Bubble (Light Mode) */
.transcript-turn-bubble {
  padding: 9px 12px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #eaecf0;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.transcript-turn-bubble:hover {
  background: #fcfcfd;
  border-color: #d0d5dd;
  transform: translateX(2px);
}

.transcript-turn-bubble.turn-agent {
  border-left: 3px solid #e8572a;
  background: #fffcfb;
}

.transcript-turn-bubble.turn-customer {
  border-left: 3px solid #cbd5e1;
  background: #f8fafc;
}

/* Active Highlight during audio playback */
.transcript-turn-bubble.is-current {
  background: #fff7ed !important;
  border-color: #e8572a !important;
  box-shadow: 0 2px 10px rgba(232, 87, 42, 0.12);
  transform: translateX(3px);
}

.turn-bubble-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.turn-speaker-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #101828;
}

.speaker-icon {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.speaker-icon.agent-icon {
  background: rgba(232, 87, 42, 0.12);
  color: #e8572a;
}

.speaker-icon.user-icon {
  background: #f2f4f7;
  color: #667085;
}

.speaker-role-tag {
  font-size: 10px;
  font-weight: 400;
  color: #667085;
}

.turn-seek-btn {
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
  color: #667085;
  background: #f2f4f7;
  border: 1px solid #eaecf0;
  padding: 1.5px 6px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.turn-seek-btn:hover {
  background: #e8572a;
  border-color: #e8572a;
  color: #ffffff;
}

.turn-text-original {
  font-size: 13px;
  color: #101828;
  line-height: 1.45;
  margin: 0 0 3px;
}

.turn-text-english {
  font-size: 12px;
  color: #475467;
  font-style: italic;
  line-height: 1.4;
  margin: 0;
}

.trans-quote {
  color: #e8572a;
  font-weight: bold;
  font-style: normal;
}

.soundstage-transcript-footer {
  padding: 9px 14px;
  background: #f8fafc;
  border-top: 1px solid #eaecf0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.soundstage-outcome-tag {
  font-size: 11.5px;
  color: #027a48;
  line-height: 1.4;
}

.soundstage-outcome-tag strong {
  color: #05603a;
}

.soundstage-seek-hint {
  font-size: 10.5px;
  color: #98a2b3;
  font-family: var(--font-mono, monospace);
}

/* --------------------------------------------------------------------------
   SAMPLE CARD CANDIDATE BANNER & TRANSCRIPT DRAWER
   -------------------------------------------------------------------------- */
.card-client-pill {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  color: #039855;
  background: #ecfdf3;
  border: 1px solid #a6f4c5;
  padding: 2px 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card-candidate-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 12px;
  color: #334155;
  margin-bottom: 14px;
}

.card-candidate-badge strong {
  color: #0f172a;
  font-weight: 600;
}

.card-outcome-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 16px;
  font-size: 12px;
  color: #166534;
  line-height: 1.45;
}

.card-outcome-box strong {
  color: #14532d;
}

/* Card transcript drawer */
.card-transcript-drawer {
  display: none;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed #e2e8f0;
  max-height: 240px;
  overflow-y: auto;
}

.card-transcript-drawer.is-open {
  display: block;
}

.card-transcript-turns {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-turn-row {
  padding: 8px 10px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #edf2f7;
  font-size: 12px;
}

.card-turn-row.is-agent {
  border-left: 3px solid #e8572a;
  background: #fffbfa;
}

.card-turn-row.is-customer {
  border-left: 3px solid #94a3b8;
}

.card-turn-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3px;
}

.card-turn-speaker {
  font-weight: 600;
  font-size: 11px;
  color: #1e293b;
}

.card-turn-jump-btn {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  color: #64748b;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 1px 6px;
  border-radius: 4px;
  cursor: pointer;
}

.card-turn-jump-btn:hover {
  background: #e8572a;
  border-color: #e8572a;
  color: #ffffff;
}

.card-turn-original {
  color: #1e293b;
  margin: 0 0 2px;
  line-height: 1.4;
}

.card-turn-trans {
  color: #64748b;
  font-style: italic;
  font-size: 11px;
  margin: 0;
  line-height: 1.35;
}

/* Production Deployment Banner */
.production-context-card {
  max-width: 1200px;
  margin: 48px auto 0;
  padding: 24px 28px;
  background: #ffffff;
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(16, 24, 40, 0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.production-context-text h4 {
  font-size: 16px;
  font-weight: 700;
  color: #101828;
  margin: 0 0 4px;
}

.production-context-text p {
  font-size: 13.5px;
  color: #475467;
  margin: 0;
  max-width: 720px;
  line-height: 1.5;
}

/* Domain specific styling for sample cards */
.sample-card[data-sample-id="101"] .card-client-pill,
.sample-card[data-sample-id="102"] .card-client-pill {
  color: #0284c7;
  background: #f0f9ff;
  border-color: #bae6fd;
}

.sample-card[data-sample-id="101"] .sample-category-tag,
.sample-card[data-sample-id="102"] .sample-category-tag {
  color: #0284c7;
}

.sample-card[data-sample-id="101"]:hover,
.sample-card[data-sample-id="102"]:hover {
  border-color: rgba(2, 132, 199, 0.4);
  box-shadow: 0 14px 32px -4px rgba(2, 132, 199, 0.08), 0 4px 12px rgba(16, 24, 40, 0.04);
}

.sample-card[data-sample-id="101"].is-active,
.sample-card[data-sample-id="102"].is-active {
  border: 2px solid #0284c7;
  background: #f8fafc;
  box-shadow: 0 12px 32px -4px rgba(2, 132, 199, 0.16);
}

.sample-card[data-sample-id="101"].is-active .sample-play-trigger-btn,
.sample-card[data-sample-id="102"].is-active .sample-play-trigger-btn {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
}

.sample-card[data-sample-id="101"].is-active .card-mini-eq span,
.sample-card[data-sample-id="102"].is-active .card-mini-eq span {
  background: #0284c7;
}



/* ==========================================================================
   DOMAIN SELECTION MODAL & DOMAIN SWITCHER BAR (Light Theme Aligned)
   ========================================================================== */

/* ==========================================================================
   DOMAIN SELECTION MODAL (Minimalist & Clean)
   ========================================================================== */

.domain-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background-color: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
  box-sizing: border-box;
}

.domain-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.domain-modal-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(16, 24, 40, 0.08);
  box-shadow: 0 20px 48px -12px rgba(16, 24, 40, 0.16), 0 1px 3px rgba(16, 24, 40, 0.05);
  border-radius: 16px;
  max-width: 440px;
  width: 100%;
  padding: 22px 22px 18px;
  color: #101828;
  transform: translateY(10px) scale(0.98);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.domain-modal-backdrop.is-open .domain-modal-card {
  transform: translateY(0) scale(1);
}

.domain-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.domain-modal-title {
  font-family: var(--font-sans, "DM Sans", sans-serif);
  font-size: 18px;
  font-weight: 650;
  color: #101828;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.25;
}

.domain-modal-desc {
  font-size: 13px;
  color: #667085;
  line-height: 1.4;
  margin: 3px 0 0;
}

.domain-modal-close {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: #98a2b3;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
  padding: 0;
}

.domain-modal-close:hover {
  background: #f2f4f7;
  color: #101828;
}

.domain-modal-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.domain-option-card {
  background: #ffffff;
  border: 1px solid #eaecf0;
  border-radius: 12px;
  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  color: #101828;
  box-sizing: border-box;
}

.domain-option-card:hover {
  background: #fffcfb;
  border-color: #fed7aa;
  box-shadow: 0 4px 12px rgba(232, 87, 42, 0.08);
}

.domain-option-card[data-domain="real_estate"]:hover {
  background: #f8fafc;
  border-color: #bae6fd;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08);
}

.domain-option-card:active {
  transform: scale(0.99);
}

.domain-option-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.domain-option-icon.edu-icon {
  background: #fff4ed;
  color: #e8572a;
}

.domain-option-icon.re-icon {
  background: #f0f9ff;
  color: #0284c7;
}

.domain-option-content {
  flex: 1;
  min-width: 0;
}

.domain-option-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.domain-option-name {
  font-size: 14.5px;
  font-weight: 600;
  color: #101828;
  letter-spacing: -0.01em;
}

.domain-count-badge {
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
  font-weight: 500;
  padding: 1.5px 7px;
  border-radius: 999px;
  background: #f2f4f7;
  color: #475467;
  border: 1px solid #e4e7ec;
  line-height: 1.3;
}

.domain-option-desc {
  font-size: 12px;
  color: #667085;
  line-height: 1.35;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.domain-option-arrow {
  color: #98a2b3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.18s ease, color 0.18s ease;
}

.domain-option-card:hover .domain-option-arrow {
  transform: translateX(3px);
  color: #101828;
}

/* Minimalist Footnote Notice */
.domain-modal-notice {
  font-size: 11.5px;
  color: #98a2b3;
  line-height: 1.45;
  text-align: center;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid #f2f4f7;
}


/* On-Page Domain Switcher Bar */
.samples-domain-bar-wrap {
  margin: 0 auto 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.samples-domain-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid rgba(16, 24, 40, 0.1);
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.04);
}

.domain-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: #475467;
  font-family: var(--font-sans, "DM Sans", sans-serif);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.domain-nav-btn:hover {
  color: #101828;
  background: #f8fafc;
}

.domain-nav-btn.is-active {
  background: #fff4ed;
  color: #c2410c;
  border-color: #fed7aa;
  box-shadow: 0 1px 4px rgba(232, 87, 42, 0.12);
}

.domain-tab-icon {
  font-size: 15px;
}

.domain-tab-count {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  background: #f2f4f7;
  color: #667085;
}

.domain-nav-btn.is-active .domain-tab-count {
  background: rgba(232, 87, 42, 0.16);
  color: #c2410c;
}

.domain-switch-modal-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px dashed #cbd5e1;
  background: transparent;
  color: #64748b;
  font-family: var(--font-sans, "DM Sans", sans-serif);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.domain-switch-modal-trigger:hover {
  background: #f8fafc;
  color: #e8572a;
  border-color: #e8572a;
}

.samples-domain-notice-text {
  font-size: 13px;
  color: #64748b;
  line-height: 1.45;
  text-align: center;
  margin: 0;
  max-width: 650px;
  font-style: italic;
}

/* Visibility toggling for domain grids */
.samples-domain-grid {
  display: contents;
}

.samples-domain-grid.is-hidden {
  display: none !important;
}

/* ==========================================================================
   MOBILE & RESPONSIVE OPTIMIZATIONS (TABLET, MOBILE & SMALL SCREENS)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Tablet & Medium Screens (<= 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .samples-hero-wrap {
    margin-bottom: 32px;
  }
  .samples-title {
    font-size: clamp(28px, 6vw, 42px);
  }
  .samples-subtitle {
    font-size: 14.5px;
    line-height: 1.5;
    margin-bottom: 28px;
  }
  .samples-grid {
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 16px;
  }
  .soundstage-card {
    max-width: 100%;
  }
  .production-context-card {
    margin-top: 36px;
    padding: 20px 22px;
  }
}

/* --------------------------------------------------------------------------
   Standard Mobile (<= 640px)
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  /* Hero Section */
  .samples-eyebrow {
    font-size: 10px;
    padding: 5px 12px;
    letter-spacing: 0.05em;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
    margin-bottom: 14px;
  }
  .samples-title {
    font-size: clamp(25px, 7.5vw, 34px);
    letter-spacing: -0.025em;
    margin-bottom: 12px;
  }
  .samples-subtitle {
    font-size: 13.5px;
    line-height: 1.45;
    margin-bottom: 22px;
    padding: 0 4px;
  }

  /* Domain Navigation Bar */
  .samples-domain-bar-wrap {
    width: 100%;
    margin-bottom: 22px;
    padding: 0 4px;
  }
  .samples-domain-nav {
    display: flex;
    width: 100%;
    max-width: 440px;
    padding: 4px;
    border-radius: 14px;
    gap: 4px;
  }
  .domain-nav-btn {
    flex: 1;
    min-width: 0;
    padding: 7px 8px;
    font-size: 12px;
    gap: 5px;
    justify-content: center;
  }
  .domain-nav-btn .domain-tab-title {
    font-size: 12px;
    white-space: nowrap;
  }
  .domain-tab-count {
    font-size: 10px;
    padding: 1.5px 5px;
  }
  .domain-switch-modal-trigger {
    padding: 7px 9px;
    font-size: 11.5px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .samples-domain-notice-text {
    font-size: 11.5px;
    line-height: 1.4;
    padding: 0 6px;
  }

  /* Minimalist Audio Player */
  .soundstage-card {
    padding: 12px 14px 10px;
    border-radius: 14px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
  }
  .soundstage-player-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .soundstage-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
  }
  .soundstage-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
  }
  .soundstage-logo-wrap {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    flex-shrink: 0;
  }
  .paisan-logo-svg {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }
  .soundstage-titles {
    min-width: 0;
    flex: 1;
  }
  .soundstage-track-title {
    font-size: 13.5px;
    line-height: 1.25;
  }
  .soundstage-track-meta {
    font-size: 11px;
    margin-top: 2px;
  }
  .soundstage-transcript-toggle {
    height: 27px;
    padding: 0 8px;
    font-size: 11px;
    gap: 4px;
    border-radius: 6px;
  }

  /* Player Bottom Row (Full Width Controls) */
  .soundstage-bottom-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
  }
  .soundstage-play-btn {
    width: 34px;
    height: 34px;
    min-width: 34px;
  }
  .soundstage-time {
    font-size: 10.5px;
    min-width: 28px;
  }
  .soundstage-slider {
    height: 5px;
  }
  .soundstage-slider::-webkit-slider-thumb {
    width: 14px;
    height: 14px;
  }
  .soundstage-speed-btn {
    height: 25px;
    padding: 0 6px;
    font-size: 10.5px;
  }
  .soundstage-vol-slider {
    display: none !important;
  }
  .soundstage-icon-btn {
    padding: 4px;
  }

  /* Collapsed/Expanded Transcript Dock */
  .soundstage-transcript-dock {
    margin-top: 12px;
    border-radius: 12px;
  }
  .soundstage-transcript-header {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px 12px;
  }
  .soundstage-transcript-title-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .soundstage-transcript-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    width: 100%;
  }
  .transcript-tool-btn {
    font-size: 10.5px;
    padding: 3px 8px;
  }
  .soundstage-transcript-scroll {
    max-height: 240px;
    padding: 10px 10px;
    gap: 7px;
  }
  .transcript-turn-bubble {
    padding: 8px 10px;
    font-size: 12.5px;
  }
  .turn-bubble-header {
    margin-bottom: 3px;
  }
  .turn-speaker-badge {
    font-size: 10.5px;
  }
  .turn-seek-btn {
    font-size: 10px;
    padding: 2px 6px;
    min-height: 22px;
  }
  .turn-text-original {
    font-size: 12.5px;
    line-height: 1.4;
  }
  .turn-text-english {
    font-size: 11.5px;
    line-height: 1.35;
  }
  .soundstage-transcript-footer {
    padding: 10px 12px;
  }
  .soundstage-outcome-tag {
    font-size: 11.5px;
    line-height: 1.4;
  }
  .soundstage-seek-hint {
    font-size: 10.5px;
    margin-top: 4px;
  }

  /* Sample Cards Section */
  .samples-grid-wrap {
    padding: 0 4px;
  }
  .samples-section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 16px;
  }
  #samplesGridTitle {
    font-size: 17px;
  }
  #samplesGridSubtitle {
    font-size: 12px;
    margin-top: 2px;
  }
  .samples-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .sample-card {
    padding: 14px 14px 12px;
    border-radius: 12px;
  }
  .sample-card-title {
    font-size: 14.5px;
    line-height: 1.3;
    margin-bottom: 4px;
  }
  .sample-persona-sub {
    font-size: 11.5px;
    margin-bottom: 6px;
  }
  .sample-card-desc {
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 10px;
  }
  .sample-outcome-pill {
    font-size: 11px;
    padding: 4px 8px;
    margin-bottom: 10px;
    line-height: 1.35;
  }
  .sample-card-footer {
    padding-top: 8px;
  }
  .sample-play-trigger-btn {
    height: 31px;
    padding: 0 11px;
    font-size: 11.5px;
  }
  .sample-transcript-toggle-btn {
    height: 31px;
    padding: 0 9px;
    font-size: 11px;
  }
  .enterprise-cta-btn {
    height: 32px;
    padding: 0 12px;
    font-size: 11.5px;
  }
  .enterprise-compliance-pill {
    font-size: 10px;
    padding: 2.5px 6px;
  }

  /* Production Context Banner */
  .production-context-card {
    margin-top: 28px;
    padding: 16px 14px;
    border-radius: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .production-context-text h4 {
    font-size: 15px;
  }
  .production-context-text p {
    font-size: 12.5px;
    line-height: 1.45;
  }
  .production-context-card > div:last-child {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }
  .production-context-card > div:last-child a {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    padding: 9px 14px !important;
  }

  /* Domain Switch Modal Card */
  .domain-modal-card {
    padding: 18px 14px 14px;
    border-radius: 14px;
    width: 95%;
  }
  .domain-modal-title {
    font-size: 16.5px;
  }
  .domain-modal-desc {
    font-size: 12px;
  }
  .domain-option-card {
    padding: 10px 10px;
    gap: 10px;
  }
  .domain-option-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }
  .domain-option-name {
    font-size: 13.5px;
  }
  .domain-option-desc {
    font-size: 11.5px;
    white-space: normal;
  }
}

/* --------------------------------------------------------------------------
   Small Mobile Devices (<= 380px, e.g. iPhone SE, Galaxy S compact)
   -------------------------------------------------------------------------- */
@media (max-width: 380px) {
  .samples-domain-nav {
    flex-wrap: wrap;
    border-radius: 14px;
  }
  .domain-nav-btn {
    padding: 6px 6px;
    font-size: 11px;
    gap: 4px;
  }
  .domain-tab-icon svg {
    width: 12px;
    height: 12px;
  }
  .domain-tab-count {
    font-size: 9.5px;
    padding: 1px 4px;
  }
  .domain-switch-modal-trigger {
    width: 100%;
    justify-content: center;
    padding: 6px 10px;
  }
  .soundstage-track-title {
    font-size: 12.5px;
  }
  .soundstage-track-meta {
    font-size: 10px;
  }
  .soundstage-logo-wrap,
  .paisan-logo-svg {
    width: 34px;
    height: 34px;
  }
  .soundstage-play-btn {
    width: 32px;
    height: 32px;
    min-width: 32px;
  }
  .sample-card-footer {
    flex-wrap: wrap;
    gap: 8px;
  }
}


