/* ═══════════════════════════════════════════════════════════════════════════
   Feature Showcases — Premium app-accurate mock demos
   Design Service: minimal-3d. App tokens: #0077B6, #2193b0, #6dd5ed, #ff7e5f
   Matches: university-finder, dental-school-profile, dashboard, applications
   ═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════ DEVICE FRAMES — MacBook & iPad ═══════════════════ */
.device-frame {
  position: relative;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(24px) scale(0.96);
}
.device-frame[data-animate].device-frame--visible {
  animation: device-frame-in 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.device-frame:not([data-animate]) {
  opacity: 1;
  transform: none;
}
@keyframes device-frame-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.device-frame__screen {
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
  border-radius: 12px;
  box-shadow:
    inset 0 0 0 2px rgba(0, 0, 0, 0.3),
    inset 0 0 0 4px rgba(255, 255, 255, 0.03),
    0 4px 24px rgba(0, 0, 0, 0.15);
}
.device-frame__screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  background: #1a1a1a;
  border-radius: 0 0 4px 4px;
  z-index: 2;
}
.device-frame--ipad .device-frame__screen::before {
  width: 40px;
  height: 5px;
}

/* MacBook — laptop with base */
.device-frame--macbook {
  max-width: 520px;
  padding: 0 24px 0;
}
.device-frame--macbook .device-frame__screen {
  padding: 14px 14px 12px;
  border-radius: 14px;
  border: 3px solid #2d2d2d;
  border-bottom: 2px solid #2d2d2d;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(0, 0, 0, 0.2);
}
.device-frame--macbook .device-frame__screen::before {
  background: #0d0d0d;
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.5);
}
.device-frame__base--macbook {
  height: 18px;
  margin: 0 8px;
  background: linear-gradient(180deg, #3d3d3d 0%, #2a2a2a 30%, #1f1f1f 100%);
  border-radius: 0 0 24px 24px;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
}
.device-frame__base--macbook::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 4px;
  background: #1a1a1a;
  border-radius: 2px;
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.5);
}
.device-frame--macbook:hover .device-frame__screen {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(0, 0, 0, 0.15),
    0 8px 32px rgba(0, 119, 182, 0.12);
}
.device-frame--macbook:hover {
  transform: translateY(-4px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* iPad — tablet */
.device-frame--ipad {
  max-width: 380px;
  padding: 20px;
}
.device-frame--ipad-wider {
  max-width: 480px;
}
/* Pre-dental Feature 1: tablet same size as former MacBook */
.dl3-path--predental .dl3-group--journey-stop-1 .device-frame--ipad-wider {
  max-width: 520px;
}
.device-frame--ipad .device-frame__screen {
  padding: 12px 14px 12px;
  border-radius: 24px;
  border: 4px solid #2d2d2d;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 0 1px rgba(0, 0, 0, 0.2),
    0 12px 40px rgba(0, 0, 0, 0.2);
}
.device-frame--ipad .device-frame__screen::before {
  background: #0d0d0d;
  border-radius: 0 0 3px 3px;
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.5);
}
.device-frame--ipad:hover .device-frame__screen {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(0, 0, 0, 0.15),
    0 16px 48px rgba(124, 58, 237, 0.15);
}
.device-frame--ipad:hover {
  transform: translateY(-4px) scale(1.02);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Phone — phone-mock.png frame, content inset below island */
.device-frame--phone {
  max-width: 260px;
  margin: 0 auto;
  padding: 0;
  position: relative;
}
.device-frame--phone .device-frame__phone-img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}
.device-frame--phone .device-frame__screen--phone {
  position: absolute;
  top: 3.9%;
  left: 11%;
  right: 11%;
  bottom: 11%;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.device-frame--phone .device-frame__screen--phone::before {
  display: none;
}

/* iPhone status bar — time, signal, battery */
.phone-status-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px 4px;
  flex-shrink: 0;
  color: #000;
  font-size: 0.6rem;
  background: #fafafa;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.phone-status-bar__left,
.phone-status-bar__right {
  flex: 1;
  display: flex;
  align-items: center;
  min-width: 0;
}
.phone-status-bar__right {
  justify-content: flex-end;
}
.phone-status-bar__time {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.phone-status-bar__signal {
  display: flex;
  align-items: center;
  color: #000;
}
.phone-status-bar__signal svg {
  width: 15px;
  height: 10px;
}
.phone-status-bar__battery {
  display: flex;
  align-items: center;
  gap: 2px;
  color: #000;
}
.phone-status-bar__battery-icon svg {
  width: 20px;
  height: 10px;
}
.device-frame--phone:hover {
  transform: translateY(-3px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 640px) {
  .device-frame--macbook {
    max-width: 100%;
    padding: 0 12px 0;
  }
  .device-frame--macbook .device-frame__screen {
    padding: 10px 10px 8px;
  }
  .device-frame--ipad {
    max-width: 320px;
    padding: 16px;
  }
  .device-frame--ipad-wider {
    max-width: 360px;
  }
  .device-frame--ipad .device-frame__screen {
    padding: 10px 12px 10px;
  }
  .feature-showcase--explorer .feature-showcase__stage--in-device {
    min-height: 180px;
  }
  .device-frame--ipad .feature-showcase__stage--in-device {
    min-height: 220px;
  }
}

/* Stage inside device — remove outer shadow, fit screen */
.device-frame__screen .feature-showcase {
  width: 100%;
  max-width: 100%;
}
.feature-showcase__stage--in-device {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: none;
  min-height: 200px;
}
.feature-showcase__stage--in-device::before {
  display: none;
}
.feature-showcase--explorer .feature-showcase__stage--in-device {
  min-height: 220px;
}
.device-frame--ipad .feature-showcase__stage--in-device {
  min-height: 260px;
}

/* App design tokens (from dental-school-profile, university-finder) */
.feature-showcase {
  --sc-primary: #0077B6;
  --sc-primary-light: #2193b0;
  --sc-cyan: #6dd5ed;
  --sc-orange: #ff7e5f;
  --sc-green: #2DCE98;
  --sc-red: #F5365C;
  --sc-text: #1E2A3A;
  --sc-text-secondary: #546E7A;
  --sc-text-muted: #94a3b8;
  --sc-border: #e8ecf1;
  --sc-surface: #ffffff;
  --sc-bg: #F8FBFF;
}

.feature-showcase {
  position: relative;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  perspective: 1400px;
}

.feature-showcase__stage {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--sc-surface);
  min-height: 400px;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.04),
    0 4px 16px -4px rgba(0, 0, 0, 0.06),
    0 20px 48px -12px rgba(0, 119, 182, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.feature-showcase--explorer .feature-showcase__stage {
  min-height: 240px;
}
.feature-showcase--gauge .feature-showcase__stage {
  min-height: 280px;
}
.feature-showcase--tasks .feature-showcase__stage {
  min-height: 300px;
}
.feature-showcase__stage::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.4) 0%, transparent 50%);
  pointer-events: none;
}
.feature-showcase__stage--premium-editor::before {
  background: linear-gradient(135deg, rgba(255,255,255,.15) 0%, transparent 60%);
}
.feature-showcase:hover .feature-showcase__stage {
  box-shadow:
    0 0 0 1px rgba(0, 119, 182, 0.06),
    0 8px 24px -8px rgba(0, 0, 0, 0.08);
}

/* ═══════════════════ SCHOOL EXPLORER — matches university-finder ═══════════════════ */
.showcase-explorer {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0;
  min-height: 240px;
  animation: showcase-fade-in 0.65s ease both;
}
.showcase-explorer__sidebar {
  background: var(--sc-surface);
  border-right: 1px solid var(--sc-border);
  padding: 8px 10px;
  overflow-y: auto;
}
.showcase-explorer__search-wrap {
  position: relative;
  margin-bottom: 10px;
}
.showcase-explorer__search-wrap::before {
  content: '\f002';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
  color: var(--sc-text-muted);
}
.showcase-explorer__search {
  width: 100%;
  height: 34px;
  padding: 0 10px 0 26px;
  font-size: 0.75rem;
  border: 1px solid var(--sc-border);
  border-radius: 8px;
  background: var(--sc-surface);
  color: var(--sc-text);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.showcase-explorer__search-wrap:hover .showcase-explorer__search,
.feature-showcase--visible .showcase-explorer__search-wrap .showcase-explorer__search {
  border-color: rgba(0, 119, 182, 0.3);
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.06);
}
.showcase-explorer__search::placeholder { color: var(--sc-text-muted); }
.showcase-explorer__filter-label {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--sc-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 6px 0 3px;
}
.showcase-explorer__filter-select {
  width: 100%;
  height: 28px;
  padding: 0 8px;
  font-size: 0.75rem;
  border: 1px solid var(--sc-border);
  border-radius: 6px;
  background: var(--sc-surface);
  color: var(--sc-text);
}
.showcase-explorer__apply {
  margin-top: 10px;
  width: 100%;
  height: 30px;
  font-size: 0.7rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--sc-primary) 0%, var(--sc-primary-light) 100%);
  color: white;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 119, 182, 0.25);
}
.feature-showcase:hover .showcase-explorer__apply {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 119, 182, 0.3);
}
.showcase-explorer__main {
  overflow: hidden;
}
.showcase-explorer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: #fafbfd;
  border-bottom: 1px solid var(--sc-border);
}
.showcase-explorer__header-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--sc-text);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.showcase-explorer__header-title i { color: var(--sc-orange); font-size: 0.75rem; }
.showcase-explorer__count {
  font-size: 0.7rem;
  color: var(--sc-text-muted);
}
.showcase-explorer__rows {
  display: flex;
  flex-direction: column;
}
.showcase-explorer__row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 8px 14px;
  border-bottom: 1px solid #f1f5f9;
  position: relative;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  animation: showcase-row-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.showcase-explorer__row:nth-child(1) { animation-delay: 0.1s; }
.showcase-explorer__row:nth-child(2) { animation-delay: 0.22s; }
.showcase-explorer__row:nth-child(3) { animation-delay: 0.34s; }
.showcase-explorer__row:nth-child(4) { animation-delay: 0.46s; }
.feature-showcase:not(.feature-showcase--visible) .showcase-explorer__row { animation: none; opacity: 0; }
.showcase-explorer__row:hover {
  background: linear-gradient(90deg, #fefaf8 0%, #fff 100%);
  transform: translateX(4px);
  box-shadow: inset 4px 0 0 var(--sc-orange);
}
.showcase-explorer__row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--sc-orange);
  opacity: 0;
  transition: opacity 0.15s ease;
}
.showcase-explorer__row:hover::before { opacity: 1; }
.showcase-explorer__row-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--sc-text);
}
.showcase-explorer__row-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
  flex-wrap: wrap;
}
.showcase-explorer__row-loc {
  font-size: 0.7rem;
  color: var(--sc-text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}
.showcase-explorer__row-loc i {
  font-size: 0.6rem;
  color: var(--sc-orange);
}
.showcase-explorer__row-comp {
  display: flex;
  align-items: center;
}
.showcase-explorer__row-comp-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px 10px;
  border: 1px solid var(--sc-border);
  border-radius: 8px;
  background: #f8fafc;
  min-width: 100px;
}
.showcase-explorer__row-comp-label {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--sc-text-secondary);
  white-space: nowrap;
}
.showcase-explorer__row-comp-bar {
  width: 100%;
  min-width: 80px;
  height: 6px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 100px;
  overflow: hidden;
}
.showcase-explorer__row-comp-fill {
  display: block;
  height: 100%;
  border-radius: 100px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.showcase-explorer__row-comp--low .showcase-explorer__row-comp-fill {
  background: linear-gradient(90deg, #22c55e, #16a34a);
}
.showcase-explorer__row-comp--medium .showcase-explorer__row-comp-fill {
  background: linear-gradient(90deg, #f59e0b, #ea580c);
}
.showcase-explorer__row-comp--high .showcase-explorer__row-comp-fill {
  background: linear-gradient(90deg, #ef4444, #dc2626);
}
.feature-showcase:not(.feature-showcase--visible) .showcase-explorer__row-comp-fill { width: 0 !important; }
.showcase-explorer__row--predental .showcase-explorer__row-fit-bar { display: none; }
.showcase-explorer__row-badges {
  display: flex;
  align-items: center;
  gap: 6px;
}
.showcase-explorer__row-specialty-tag {
  font-size: 0.58rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(124, 58, 237, 0.12);
  color: #7c3aed;
  border: 1px solid rgba(124, 58, 237, 0.2);
}
.showcase-explorer__row-badge {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 100px;
  background: rgba(0, 119, 182, 0.1);
  color: var(--sc-primary);
  border: 1px solid rgba(0, 119, 182, 0.15);
}
.showcase-explorer__row-heart {
  width: 26px;
  height: 26px;
  border: none;
  background: transparent;
  color: #cbd5e1;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  transition: color 0.25s ease, transform 0.25s ease;
}
.showcase-explorer__row-heart--active {
  color: var(--sc-red) !important;
}
.showcase-explorer__row-heart--active i {
  font-weight: 900;
  animation: showcase-heart-glow 2s ease-in-out infinite;
}
.showcase-explorer__row:hover .showcase-explorer__row-heart:not(.showcase-explorer__row-heart--active) {
  color: var(--sc-red);
  transform: scale(1.15);
}
@keyframes showcase-heart-glow {
  0%, 100% { opacity: 1; filter: drop-shadow(0 0 2px rgba(245, 54, 92, 0.4)); }
  50% { opacity: 0.9; filter: drop-shadow(0 0 4px rgba(245, 54, 92, 0.6)); }
}
.showcase-explorer__row-fit {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--sc-primary);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.showcase-explorer__row-fit-label {
  font-weight: 600;
  color: var(--sc-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.showcase-explorer__row-fit-bar {
  width: 36px;
  height: 4px;
  background: rgba(0, 119, 182, 0.15);
  border-radius: 100px;
  overflow: hidden;
}
.showcase-explorer__row-fit-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--sc-primary), var(--sc-cyan));
  border-radius: 100px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-showcase:not(.feature-showcase--visible) .showcase-explorer__row-fit-fill { width: 0 !important; }
.showcase-explorer__footer {
  display: flex;
  gap: 10px;
  padding: 8px 14px;
  background: #f8fafc;
  border-top: 1px solid var(--sc-border);
  font-size: 0.6rem;
  color: var(--sc-text-muted);
}
.showcase-explorer__footer-stat { display: flex; align-items: center; gap: 6px; }
.showcase-explorer__footer-stat i { color: var(--sc-orange); }

/* ═══════════════════ EXPLORER V2 — Enhanced card-based layout ═══════════════════ */
.showcase-explorer--v2 {
  min-height: 280px;
  grid-template-columns: 110px 1fr;
  overflow: hidden;
}
.showcase-explorer--v2 .showcase-explorer__sidebar {
  padding: 6px 8px 6px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.showcase-explorer--v2 .showcase-explorer__search {
  height: 26px;
  font-size: 0.6rem;
  padding: 0 6px 0 20px;
}
.showcase-explorer--v2 .showcase-explorer__search-wrap {
  margin-bottom: 6px;
}
.showcase-explorer--v2 .showcase-explorer__search-wrap::before {
  left: 7px;
  font-size: 0.55rem;
}
.showcase-explorer--v2 .showcase-explorer__filter-label {
  font-size: 0.48rem;
  margin: 3px 0 2px;
}
.showcase-explorer--v2 .showcase-explorer__filter-select {
  height: 22px;
  font-size: 0.6rem;
  padding: 0 4px;
  border-radius: 5px;
}
.showcase-explorer--v2 .showcase-explorer__apply {
  height: 24px;
  font-size: 0.55rem;
  margin-top: 6px;
  border-radius: 6px;
}
.showcase-explorer__filter-chips {
  display: flex;
  gap: 3px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.showcase-explorer__chip-filter {
  font-size: 0.5rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 100px;
  border: 1px solid var(--sc-border);
  color: var(--sc-text-muted);
  background: var(--sc-surface);
  cursor: default;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.showcase-explorer__chip-filter--active {
  background: rgba(0, 119, 182, 0.1);
  color: var(--sc-primary);
  border-color: rgba(0, 119, 182, 0.25);
}
.showcase-explorer__chip-filter--active i {
  font-size: 0.4rem;
}
.showcase-explorer--residency-v2 .showcase-explorer__chip-filter--active {
  background: rgba(124, 58, 237, 0.1);
  color: #7c3aed;
  border-color: rgba(124, 58, 237, 0.25);
}
.showcase-explorer__sidebar-stats {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid var(--sc-border);
}
.showcase-explorer__sidebar-stat {
  font-size: 0.5rem;
  color: var(--sc-text-muted);
  display: flex;
  align-items: center;
  gap: 2px;
}
.showcase-explorer__sidebar-stat strong {
  color: var(--sc-text);
  font-weight: 700;
}
.showcase-explorer__sidebar-stat i {
  color: var(--sc-red);
  font-size: 0.48rem;
}
.showcase-explorer__apply--purple {
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%) !important;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.25) !important;
}
.feature-showcase:hover .showcase-explorer__apply--purple {
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3) !important;
}

/* V2 header with tabs */
.showcase-explorer__header--v2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px;
  background: #fafbfd;
  border-bottom: 1px solid var(--sc-border);
  gap: 4px;
}
.showcase-explorer__header--v2 .showcase-explorer__header-title {
  font-size: 0.62rem;
  gap: 4px;
}
.showcase-explorer__header--v2 .showcase-explorer__header-title i {
  font-size: 0.58rem;
}
.showcase-explorer__header--v2 .showcase-explorer__count {
  font-size: 0.52rem;
}
.showcase-explorer__header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.showcase-explorer__header-tabs {
  display: flex;
  gap: 2px;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 6px;
  padding: 2px;
}
.showcase-explorer__tab {
  font-size: 0.5rem;
  font-weight: 600;
  padding: 2px 6px;
  border: none;
  border-radius: 3px;
  background: transparent;
  color: var(--sc-text-muted);
  cursor: default;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-family: inherit;
  transition: all 0.2s ease;
}
.showcase-explorer__tab i {
  font-size: 0.45rem;
}
.showcase-explorer__tab--active {
  background: var(--sc-surface);
  color: var(--sc-primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.showcase-explorer__tab--purple.showcase-explorer__tab--active {
  color: #7c3aed;
}

/* V2 rows — card-based with stats grid */
.showcase-explorer__rows--v2 {
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
}
.showcase-explorer__row--v2 {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 6px 10px 5px;
  border-bottom: 1px solid #f1f5f9;
  overflow: hidden;
  position: relative;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  animation: showcase-row-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.showcase-explorer__row--v2:nth-child(1) { animation-delay: 0.1s; }
.showcase-explorer__row--v2:nth-child(2) { animation-delay: 0.22s; }
.showcase-explorer__row--v2:nth-child(3) { animation-delay: 0.34s; }
.feature-showcase:not(.feature-showcase--visible) .showcase-explorer__row--v2 { animation: none; opacity: 0; }
.showcase-explorer__row--v2:hover {
  background: #fafbfe;
}
.showcase-explorer__row--v2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--sc-primary);
  border-radius: 0 2px 2px 0;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.showcase-explorer__row--v2:hover::before { opacity: 1; }
.showcase-explorer--residency-v2 .showcase-explorer__row--v2::before {
  background: #7c3aed;
}
.showcase-explorer__row-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.showcase-explorer__row-identity {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.showcase-explorer__row--v2 .showcase-explorer__row-name {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--sc-text);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.showcase-explorer__row--v2 .showcase-explorer__row-loc {
  font-size: 0.55rem;
  color: var(--sc-text-muted);
  display: flex;
  align-items: center;
  gap: 3px;
}
.showcase-explorer__row--v2 .showcase-explorer__row-loc i {
  font-size: 0.45rem;
  color: var(--sc-orange);
}
.showcase-explorer__row-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.showcase-explorer__row--v2 .showcase-explorer__row-badge {
  font-size: 0.55rem;
  padding: 2px 6px;
}
.showcase-explorer__row--v2 .showcase-explorer__row-heart {
  width: 22px;
  height: 22px;
  font-size: 0.6rem;
}
.showcase-explorer__row--v2 .showcase-explorer__row-specialty-tag {
  font-size: 0.5rem;
  padding: 1px 5px;
}

/* Stats row */
.showcase-explorer__row-stats {
  display: flex;
  gap: 3px;
  margin-top: 4px;
}
.showcase-explorer__row-stat {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 2px 5px;
  background: #f8fafc;
  border-radius: 5px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  flex: 1;
  min-width: 0;
}
.showcase-explorer__row-stat-label {
  font-size: 0.42rem;
  font-weight: 600;
  color: var(--sc-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  line-height: 1.4;
}
.showcase-explorer__row-stat-val {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--sc-text);
  line-height: 1.3;
}
.showcase-explorer__row-stat--fit {
  background: rgba(0, 119, 182, 0.06);
  border-color: rgba(0, 119, 182, 0.1);
}
.showcase-explorer--residency-v2 .showcase-explorer__row-stat--fit {
  background: rgba(124, 58, 237, 0.06);
  border-color: rgba(124, 58, 237, 0.1);
}
.showcase-explorer__row-stat-val--fit {
  color: var(--sc-primary) !important;
}
.showcase-explorer__row-stat-val--strong {
  color: var(--sc-green) !important;
}
.showcase-explorer__row-stat-val--reach {
  color: var(--sc-red) !important;
  font-size: 0.62rem;
}
.showcase-explorer__row-stat-val--target {
  color: var(--sc-orange) !important;
  font-size: 0.62rem;
}

/* Bottom row — inline competitiveness bar + type tag */
.showcase-explorer__row-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
}
.showcase-explorer__row-comp-inline {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
.showcase-explorer__row-comp-inline-label {
  font-size: 0.5rem;
  font-weight: 600;
  color: var(--sc-text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.showcase-explorer__row-comp-inline-bar {
  flex: 1;
  height: 4px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 100px;
  overflow: hidden;
  min-width: 40px;
}
.showcase-explorer__row-comp-inline-fill {
  display: block;
  height: 100%;
  border-radius: 100px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-showcase:not(.feature-showcase--visible) .showcase-explorer__row-comp-inline-fill { width: 0 !important; }
.showcase-explorer__row-comp-inline--low .showcase-explorer__row-comp-inline-fill {
  background: linear-gradient(90deg, #22c55e, #16a34a);
}
.showcase-explorer__row-comp-inline--medium .showcase-explorer__row-comp-inline-fill {
  background: linear-gradient(90deg, #f59e0b, #ea580c);
}
.showcase-explorer__row-comp-inline--high .showcase-explorer__row-comp-inline-fill {
  background: linear-gradient(90deg, #ef4444, #dc2626);
}
.showcase-explorer__row-comp-inline-num {
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--sc-text-secondary);
  min-width: 16px;
  text-align: right;
  flex-shrink: 0;
}
.showcase-explorer__row-type-tag {
  font-size: 0.5rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 119, 182, 0.08);
  color: var(--sc-primary);
  border: 1px solid rgba(0, 119, 182, 0.12);
  white-space: nowrap;
  flex-shrink: 0;
}
.showcase-explorer__row-type-tag--purple {
  background: rgba(124, 58, 237, 0.08);
  color: #7c3aed;
  border-color: rgba(124, 58, 237, 0.15);
}

/* V2 footer */
.showcase-explorer__footer--v2 {
  display: flex;
  gap: 8px;
  padding: 6px 12px;
  background: #f8fafc;
  border-top: 1px solid var(--sc-border);
  font-size: 0.55rem;
  color: var(--sc-text-muted);
  justify-content: center;
}
.showcase-explorer__footer--v2 .showcase-explorer__footer-stat {
  gap: 4px;
}
.showcase-explorer__footer--v2 .showcase-explorer__footer-stat i {
  font-size: 0.5rem;
}

/* ═══════════════════ EXPLORER V3 — Premium program-explorer layout ═══════════════════ */
.showcase-explorer--v3 {
  min-height: 280px;
  grid-template-columns: 78px 1fr;
  overflow: hidden;
}

/* ── V3 Sidebar — ultra-compact filter rail ── */
.showcase-explorer--v3 .showcase-explorer__sidebar {
  padding: 5px 4px 4px;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #f8fafc;
}
.showcase-explorer--v3 .showcase-explorer__search {
  height: 20px;
  font-size: 0.46rem;
  padding: 0 4px 0 16px;
  border-radius: 5px;
}
.showcase-explorer--v3 .showcase-explorer__search-wrap {
  margin-bottom: 4px;
}
.showcase-explorer--v3 .showcase-explorer__search-wrap::before {
  left: 5px;
  font-size: 0.44rem;
  color: #94a3b8;
}
.showcase-explorer--v3 .showcase-explorer__filter-label {
  font-size: 0.38rem;
  margin: 2px 0 1px;
  letter-spacing: 0.06em;
}
.showcase-explorer--v3 .showcase-explorer__filter-select {
  height: 16px;
  font-size: 0.46rem;
  padding: 0 2px;
  border-radius: 3px;
}
.showcase-explorer--v3 .showcase-explorer__apply {
  height: 18px;
  font-size: 0.44rem;
  margin-top: 4px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}
.showcase-explorer--v3 .showcase-explorer__chip-filter {
  font-size: 0.38rem;
  padding: 1px 3px;
}
.showcase-explorer--v3 .showcase-explorer__filter-chips {
  margin-top: 3px;
  gap: 2px;
}
.showcase-explorer__filter-chips--inline {
  flex-wrap: nowrap !important;
  flex-direction: row !important;
}
.showcase-explorer--residency-v3 .showcase-explorer__chip-filter--active {
  background: rgba(124, 58, 237, 0.1);
  color: #7c3aed;
  border-color: rgba(124, 58, 237, 0.25);
}

/* ── V3 Header — clean title bar ── */
.showcase-explorer__header--v3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 10px;
  background: linear-gradient(180deg, #fafbfd 0%, #f5f7fa 100%);
  border-bottom: 1px solid var(--sc-border);
}
.showcase-explorer__header--v3 .showcase-explorer__header-title {
  font-size: 0.62rem;
  gap: 4px;
  letter-spacing: -0.01em;
}
.showcase-explorer__header--v3 .showcase-explorer__header-title i {
  font-size: 0.54rem;
  opacity: 0.7;
}
.showcase-explorer__header--v3 .showcase-explorer__count {
  font-size: 0.48rem;
  color: var(--sc-text-muted);
  font-weight: 500;
  background: rgba(0, 0, 0, 0.04);
  padding: 1px 6px;
  border-radius: 10px;
}

/* ── V3 Rows — full-width program cards ── */
.showcase-explorer__rows--v3 {
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  flex: 1;
}
.showcase-explorer__row--v3 {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 6px 10px 5px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  overflow: hidden;
  position: relative;
  transition: background 0.2s ease;
  animation: showcase-row-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.showcase-explorer__row--v3:nth-child(1) { animation-delay: 0.1s; }
.showcase-explorer__row--v3:nth-child(2) { animation-delay: 0.22s; }
.showcase-explorer__row--v3:nth-child(3) { animation-delay: 0.34s; }
.feature-showcase:not(.feature-showcase--visible) .showcase-explorer__row--v3 { animation: none; opacity: 0; }
.showcase-explorer__row--v3:hover { background: rgba(0, 119, 182, 0.02); }
.showcase-explorer--residency-v3 .showcase-explorer__row--v3:hover { background: rgba(124, 58, 237, 0.02); }
.showcase-explorer__row--v3::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--sc-primary);
  border-radius: 0 1px 1px 0;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.showcase-explorer__row--v3:hover::before { opacity: 1; }
.showcase-explorer--residency-v3 .showcase-explorer__row--v3::before {
  background: #7c3aed;
}

/* Top line: name left, score + heart right — full width */
.sc-row-top-line {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
}
.sc-row-name {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--sc-text);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  flex: 1;
  min-width: 0;
  letter-spacing: -0.01em;
}
.sc-row-name:hover { color: var(--sc-primary); }
.showcase-explorer--residency-v3 .sc-row-name:hover { color: #7c3aed; }
.sc-row-right {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  margin-left: auto;
}

/* Competitiveness + Location line — single row */
.sc-row-comp-line {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 2px;
}
.sc-row-comp-label {
  font-size: 0.42rem;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.sc-row-loc-inline {
  font-size: 0.42rem;
  color: var(--sc-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
}
.sc-row-loc-inline i {
  font-size: 0.36rem;
  color: var(--sc-orange);
}

/* Legacy location — keep for backward compat */
.sc-row-loc {
  font-size: 0.48rem;
  color: var(--sc-text-muted);
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 3px;
}
.sc-row-loc i {
  font-size: 0.4rem;
  color: var(--sc-orange);
}

/* Pill badges — flow across full width, left-aligned */
.sc-row-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  align-items: center;
}
.sc-pill {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  padding: 1px 5px;
  border-radius: 20px;
  font-size: 0.46rem;
  font-weight: 500;
  background: #f1f5f9;
  color: #475569;
  white-space: nowrap;
  line-height: 1.5;
}
.sc-pill strong {
  font-weight: 700;
  color: #0f172a;
  font-size: 0.5rem;
}
.sc-pill--blue {
  background: rgba(0, 119, 182, 0.07);
  color: #0077B6;
  font-weight: 600;
}
.sc-pill--purple {
  background: rgba(124, 58, 237, 0.07);
  color: #7c3aed;
  font-weight: 600;
}
.sc-pill--green {
  background: rgba(34, 197, 94, 0.07);
  color: #16a34a;
}
.sc-pill--green strong { color: #15803d; }
.sc-pill--fit {
  background: rgba(0, 119, 182, 0.07);
  color: #0077B6;
}
.sc-pill--fit strong { color: #0077B6; }
.sc-pill--red {
  background: rgba(239, 68, 68, 0.07);
  color: #dc2626;
  font-weight: 600;
}
.sc-pill--amber {
  background: rgba(245, 158, 11, 0.07);
  color: #d97706;
  font-weight: 600;
}

/* Competitiveness score — compact inline pill */
.sc-row-score {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}
.sc-row-comp-line .sc-row-score {
  gap: 4px;
}
.sc-row-comp-line .sc-row-score-bar {
  width: 40px;
  height: 4px;
}
.sc-row-score-num {
  font-size: 0.56rem;
  font-weight: 800;
  color: #334155;
  min-width: 14px;
  text-align: right;
  line-height: 1;
  letter-spacing: -0.02em;
}
.sc-row-score-bar {
  width: 28px;
  height: 3px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
}
.sc-row-score-fill {
  display: block;
  height: 100%;
  border-radius: 2px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-showcase:not(.feature-showcase--visible) .sc-row-score-fill { width: 0 !important; }
.sc-row-score--low .sc-row-score-fill {
  background: linear-gradient(90deg, #22c55e, #16a34a);
}
.sc-row-score--medium .sc-row-score-fill {
  background: linear-gradient(90deg, #f59e0b, #ea580c);
}
.sc-row-score--high .sc-row-score-fill {
  background: linear-gradient(90deg, #ef4444, #dc2626);
}

/* Heart — tight inline */
.showcase-explorer--v3 .showcase-explorer__row-heart {
  width: 16px;
  height: 16px;
  font-size: 0.44rem;
}

/* V3 footer — subtle data credibility bar */
.showcase-explorer__footer--v3 {
  display: flex;
  gap: 10px;
  padding: 4px 10px;
  background: linear-gradient(180deg, #f5f7fa 0%, #eef1f5 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.48rem;
  color: var(--sc-text-muted);
  justify-content: flex-start;
}
.showcase-explorer__footer--v3 .showcase-explorer__footer-stat {
  gap: 3px;
}
.showcase-explorer__footer--v3 .showcase-explorer__footer-stat i {
  font-size: 0.44rem;
  opacity: 0.6;
}

/* ═══════════════════ FIT SCORE — matches dental-school-profile dp-fit ═══════════════════ */
.showcase-fit {
  background: linear-gradient(165deg, #023E8A 0%, #0077B6 40%, #2193b0 100%);
  border-radius: 14px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.showcase-fit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 80% 0%, rgba(109,213,237,.12) 0%, transparent 50%);
  pointer-events: none;
}
.showcase-fit__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.showcase-fit__title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.showcase-fit__icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sc-cyan);
  font-size: 0.7rem;
}
.showcase-fit__title { font-size: 0.85rem; font-weight: 700; color: #fff; margin: 0; }
.showcase-fit__badge {
  font-size: 0.6rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 100px;
  background: rgba(255,255,255,.08);
  color: var(--sc-cyan);
  border: 1px solid rgba(255,255,255,.1);
}
.showcase-fit__score-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 16px 0;
  position: relative;
  z-index: 1;
}
.showcase-fit__ring {
  width: 100px;
  height: 100px;
  position: relative;
}
.showcase-fit__ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.showcase-fit__ring-bg {
  fill: none;
  stroke: rgba(255,255,255,.08);
  stroke-width: 6;
}
.showcase-fit__ring-fill {
  fill: none;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 283;
  stroke-dashoffset: 283; /* Start empty */
  transition: stroke-dashoffset 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-showcase--visible .showcase-fit__ring-fill {
  stroke-dashoffset: 62; /* 78% filled */
}
.feature-showcase--visible .showcase-fit--residency .showcase-fit__ring-fill {
  stroke-dashoffset: 79; /* 72% filled */
}
.showcase-fit__score-num {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.showcase-fit__score-val { font-size: 1.75rem; font-weight: 800; color: #fff; line-height: 1; }
.showcase-fit__score-pct { font-size: 0.65rem; font-weight: 600; color: rgba(255,255,255,.4); }
.showcase-fit__score-label { font-size: 0.6rem; font-weight: 600; color: rgba(255,255,255,.35); text-transform: uppercase; letter-spacing: 0.08em; }
.showcase-fit__pills {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.showcase-fit__pill {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-showcase:hover .showcase-fit__pill--strong { transform: translateY(-1px); box-shadow: 0 2px 8px rgba(45,206,152,.2); }
.feature-showcase:hover .showcase-fit__pill--match { transform: translateY(-1px); box-shadow: 0 2px 8px rgba(0,119,182,.2); }
.feature-showcase:hover .showcase-fit__pill--gap { transform: translateY(-1px); box-shadow: 0 2px 8px rgba(245,54,92,.2); }
.showcase-fit__pill--strong { background: rgba(45,206,152,.2); color: var(--sc-green); border: 1px solid rgba(45,206,152,.25); }
.showcase-fit__pill--match { background: rgba(0,119,182,.2); color: var(--sc-cyan); border: 1px solid rgba(0,119,182,.25); }
.showcase-fit__pill--gap { background: rgba(245,54,92,.2); color: #ff6b8a; border: 1px solid rgba(245,54,92,.25); }
.showcase-fit__metrics {
  background: rgba(0,0,0,.08);
  border-radius: 10px;
  padding: 12px 14px;
  position: relative;
  z-index: 1;
}
.showcase-fit__metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  font-size: 0.7rem;
  border-radius: 8px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.feature-showcase:hover .showcase-fit__metric:hover {
  background: rgba(255,255,255,.06);
  transform: translateX(2px);
}
.showcase-fit__metric-name { color: rgba(255,255,255,.5); }
.showcase-fit__metric-val { color: #fff; font-weight: 600; }
.showcase-fit__metric-diff { margin-left: 8px; font-size: 0.65rem; }
.showcase-fit__metric-diff.positive { color: var(--sc-green); }
.showcase-fit__metric-diff.negative { color: #ff6b8a; }
.showcase-fit__metric--anim { animation: showcase-metric-in 0.65s ease both; }
.showcase-fit__metric--anim:nth-child(1) { animation-delay: 0.15s; }
.showcase-fit__metric--anim:nth-child(2) { animation-delay: 0.3s; }
.showcase-fit__metric--anim:nth-child(3) { animation-delay: 0.45s; }
.showcase-fit__metric--anim:nth-child(4) { animation-delay: 0.6s; }
.showcase-fit__metric--anim:nth-child(5) { animation-delay: 0.75s; }
.showcase-fit__insight {
  font-size: 0.68rem;
  color: rgba(255,255,255,.7);
  padding: 10px 12px;
  background: rgba(0,0,0,.06);
  border-radius: 8px;
  margin-top: 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}
.showcase-fit__insight i { color: var(--sc-cyan); flex-shrink: 0; margin-top: 1px; }

/* Residency fit — purple variant */
.dl3[data-journey-mode="residency"] .showcase-fit {
  background: linear-gradient(165deg, #4c1d95 0%, #6d28d9 40%, #7c3aed 100%);
}
.dl3[data-journey-mode="residency"] .showcase-fit__ring-fill {
  stroke: #a78bfa;
}

/* ═══════════════════ FIT SCORE — compact variant (school/specialty context + CTA) ═══════════════════ */
.showcase-fit--compact {
  padding: 14px 16px;
}
.showcase-fit__school-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  position: relative;
  z-index: 1;
}
.showcase-fit__school-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  gap: 6px;
}
.showcase-fit__school-label i {
  color: var(--sc-cyan);
  font-size: 0.65rem;
}
.showcase-fit__school-fit {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--sc-cyan);
}
.showcase-fit__score-wrap--compact {
  margin: 10px 0 12px;
  gap: 4px;
}
.showcase-fit__ring--compact {
  width: 68px;
  height: 68px;
  margin: 0 auto;
}
.showcase-fit__ring--compact .showcase-fit__ring-fill {
  stroke-dasharray: 283;
}
.feature-showcase--visible .showcase-fit__ring--compact .showcase-fit__ring-fill {
  stroke-dashoffset: 62;
}
.feature-showcase--visible .showcase-fit--residency .showcase-fit__ring--compact .showcase-fit__ring-fill {
  stroke-dashoffset: 79;
}
.showcase-fit__ring--compact .showcase-fit__score-val {
  font-size: 1.25rem;
}
.showcase-fit__ring--compact .showcase-fit__score-pct {
  font-size: 0.6rem;
}
.showcase-fit__pills--compact {
  gap: 4px;
  margin-bottom: 10px;
}
.showcase-fit__pills--compact .showcase-fit__pill {
  font-size: 0.55rem;
  padding: 3px 6px;
}
.showcase-fit__metrics--compact {
  padding: 10px 12px;
}
.showcase-fit__metrics--compact .showcase-fit__metric {
  padding: 6px 8px;
  font-size: 0.65rem;
}
.showcase-fit__cta {
  width: 100%;
  margin-top: 12px;
  padding: 10px 14px;
  font-size: 0.72rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
  color: #fff;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  z-index: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.feature-showcase:hover .showcase-fit__cta {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.showcase-fit__cta i {
  color: var(--sc-cyan);
}

/* Fit score — slower animations when compact (feature 2) */
.feature-showcase--gauge .showcase-fit__ring-fill {
  transition: stroke-dashoffset 2s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-showcase--gauge .showcase-fit__metric--anim {
  animation: showcase-metric-in 1.1s ease both;
}
.feature-showcase--gauge .showcase-fit__metric--anim:nth-child(1) { animation-delay: 0.2s; }
.feature-showcase--gauge .showcase-fit__metric--anim:nth-child(2) { animation-delay: 0.45s; }
.feature-showcase--gauge .showcase-fit__metric--anim:nth-child(3) { animation-delay: 0.7s; }
.feature-showcase--gauge .showcase-fit__metric--anim:nth-child(4) { animation-delay: 0.95s; }
.feature-showcase--gauge .showcase-fit__metric--anim:nth-child(5) { animation-delay: 1.2s; }
.feature-showcase--gauge .showcase-fit__metric {
  transition: background 0.35s ease, transform 0.35s ease;
}
.feature-showcase--gauge .showcase-fit__pill {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.feature-showcase--gauge .showcase-fit__cta {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* ═══════════════════ KANBAN — pipeline tracker ═══════════════════ */
.showcase-kanban {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 18px;
  min-height: 400px;
}
.showcase-kanban__header {
  grid-column: 1 / -1;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--sc-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  margin-bottom: 4px;
  border-bottom: 2px solid rgba(0, 119, 182, 0.15);
}
.showcase-kanban__header i {
  font-size: 0.8rem;
}
.showcase-kanban__header--residency {
  color: #7c3aed;
  border-bottom-color: rgba(124, 58, 237, 0.2);
}
.showcase-kanban__col-title i {
  margin-right: 4px;
  font-size: 0.6rem;
  opacity: 0.9;
}
.showcase-kanban__col {
  background: #fafbfd;
  border-radius: 14px;
  border: 1px solid var(--sc-border);
  padding: 14px;
  min-height: 320px;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: showcase-col-in 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.showcase-kanban__col:nth-child(2) { animation-delay: 0.06s; }
.showcase-kanban__col:nth-child(3) { animation-delay: 0.18s; }
.showcase-kanban__col:nth-child(4) { animation-delay: 0.3s; }
.feature-showcase:not(.feature-showcase--visible) .showcase-kanban__col { animation: none; opacity: 0; }
.feature-showcase:hover .showcase-kanban__col:hover {
  background: #f8fafc;
  border-color: rgba(0, 119, 182, 0.15);
  box-shadow: 0 4px 20px -8px rgba(0, 119, 182, 0.15);
  transform: translateY(-2px);
}
.dl3[data-journey-mode="residency"] .feature-showcase:hover .showcase-kanban__col:hover {
  border-color: rgba(124, 58, 237, 0.15);
  box-shadow: 0 4px 20px -8px rgba(124, 58, 237, 0.15);
}
@keyframes showcase-col-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.showcase-kanban__col-title {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--sc-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--sc-border);
}
.showcase-kanban__card {
  padding: 12px 14px;
  background: var(--sc-surface);
  border-radius: 12px;
  border: 1px solid var(--sc-border);
  border-left: 4px solid transparent;
  margin-bottom: 10px;
  font-size: 0.75rem;
  color: var(--sc-text);
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.2s ease;
  animation: showcase-card-in 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.showcase-kanban__card:nth-child(2) { animation-delay: 0.12s; }
.showcase-kanban__card:nth-child(3) { animation-delay: 0.24s; }
.showcase-kanban__card:nth-child(4) { animation-delay: 0.36s; }
.showcase-kanban__card:nth-child(5) { animation-delay: 0.48s; }
.feature-showcase:not(.feature-showcase--visible) .showcase-kanban__card { animation: none; opacity: 0; }
.feature-showcase:hover .showcase-kanban__card:hover {
  box-shadow: 0 8px 20px -8px rgba(0, 119, 182, 0.2);
  border-color: rgba(0, 119, 182, 0.25);
  border-left-color: var(--sc-primary);
}
.showcase-kanban__card-name {
  display: block;
  font-weight: 700;
  color: var(--sc-text);
}
.showcase-kanban__card-specialty {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--sc-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
  margin-bottom: 4px;
}
.showcase-kanban__card-meta {
  font-size: 0.68rem;
  color: var(--sc-text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
}
.showcase-kanban__card-meta i {
  font-size: 0.6rem;
  color: var(--sc-orange);
}
.showcase-kanban__card-fit {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--sc-primary);
  display: inline-block;
  padding: 2px 8px;
  background: rgba(0, 119, 182, 0.1);
  border-radius: 100px;
}
.showcase-kanban__card-due {
  font-size: 0.65rem;
  color: var(--sc-orange);
  font-weight: 600;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.showcase-kanban__card-due i {
  font-size: 0.6rem;
}
.showcase-kanban__col-count {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--sc-primary);
  background: rgba(0,119,182,.1);
  padding: 2px 6px;
  border-radius: 100px;
  margin-left: 4px;
}
.showcase-kanban__card--progress {
  position: relative;
  overflow: hidden;
}
.showcase-kanban__card--progress .showcase-kanban__card-progress {
  display: block;
  height: 6px;
  background: #e2e8f0;
  border-radius: 100px;
  margin-top: 10px;
  overflow: hidden;
}
.showcase-kanban__card-progress-fill {
  display: block;
  height: 100%;
  width: 60%;
  background: linear-gradient(90deg, var(--sc-primary), var(--sc-cyan));
  border-radius: 100px;
  animation: showcase-progress-fill 2s ease-in-out infinite alternate;
}
.showcase-kanban__card--progress .showcase-kanban__card-progress-fill { width: 60%; }
.showcase-kanban__card-pct {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--sc-primary);
  margin-top: 4px;
}
.showcase-kanban__card--done { color: var(--sc-text-muted); }
.showcase-kanban__card--done i { color: var(--sc-green); margin-right: 4px; }
.showcase-kanban__footer {
  grid-column: 1 / -1;
  font-size: 0.68rem;
  color: var(--sc-orange);
  font-weight: 600;
  padding: 10px 14px;
  background: #fff7ed;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.showcase-kanban__footer i { font-size: 0.7rem; }
.showcase-kanban__footer--predental {
  background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 100%);
  border-left: 4px solid var(--sc-orange);
}
.showcase-kanban__footer--residency {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  color: #7c3aed;
  border-left: 4px solid #7c3aed;
}
.showcase-kanban__card-fit--reach {
  background: rgba(124, 58, 237, 0.15);
  color: #7c3aed;
}
.showcase-kanban__card-fit--target {
  background: rgba(45, 206, 152, 0.15);
  color: var(--sc-green);
}
.showcase-kanban--residency .showcase-kanban__col {
  border-radius: 12px;
  border-color: rgba(124, 58, 237, 0.12);
  background: linear-gradient(180deg, #faf5ff 0%, #fafbfd 100%);
}
.showcase-kanban--residency .feature-showcase:hover .showcase-kanban__col:hover {
  border-color: rgba(124, 58, 237, 0.2);
  box-shadow: 0 4px 20px -8px rgba(124, 58, 237, 0.2);
}
.showcase-kanban--residency .feature-showcase:hover .showcase-kanban__card:hover {
  border-left-color: #7c3aed;
  box-shadow: 0 12px 28px -8px rgba(124, 58, 237, 0.2);
}
.showcase-kanban--predental .showcase-kanban__col {
  background: linear-gradient(180deg, #f0f9ff 0%, #fafbfd 100%);
  border-color: rgba(0, 119, 182, 0.1);
}

/* ═══════════════════ KANBAN — stacked vertical, minimal (journey-stop-3) ═══════════════════ */
.dl3-group--journey-stop-3 .showcase-kanban {
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
  gap: 8px;
  padding: 14px;
  min-height: auto;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #fafbfc;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.dl3[data-journey-mode="residency"] .dl3-group--journey-stop-3 .showcase-kanban {
  border-color: rgba(124, 58, 237, 0.08);
  background: #faf9fc;
}
.dl3-group--journey-stop-3 .showcase-kanban__header {
  font-size: 0.7rem;
  font-weight: 600;
  padding-bottom: 8px;
  margin-bottom: 2px;
  border-bottom-width: 1px;
}
.dl3-group--journey-stop-3 .showcase-kanban__col {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 6px;
  min-height: auto;
  padding: 10px;
  border-radius: 8px;
  border-width: 1px;
}
.dl3-group--journey-stop-3 .showcase-kanban__col-title {
  width: 100%;
  flex-basis: 100%;
  font-size: 0.6rem;
  margin-bottom: 2px;
  padding-bottom: 6px;
}
.dl3-group--journey-stop-3 .showcase-kanban__card {
  flex: 0 0 auto;
  margin-bottom: 0;
  min-width: 85px;
  padding: 8px 10px;
  font-size: 0.68rem;
}
.dl3-group--journey-stop-3 .showcase-kanban__card-name { font-size: 0.68rem; }
.dl3-group--journey-stop-3 .showcase-kanban__card-fit,
.dl3-group--journey-stop-3 .showcase-kanban__card-due,
.dl3-group--journey-stop-3 .showcase-kanban__card-pct { font-size: 0.6rem; }
.dl3-group--journey-stop-3 .showcase-kanban__card--progress .showcase-kanban__card-progress {
  height: 4px;
  margin-top: 6px;
}
.dl3-group--journey-stop-3 .showcase-kanban__actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.dl3-group--journey-stop-3 .showcase-kanban__btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.dl3-group--journey-stop-3 .showcase-kanban__btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.dl3-group--journey-stop-3 .showcase-kanban__btn--primary {
  background: var(--sc-primary);
  color: white;
  border: none;
}
.dl3-group--journey-stop-3 .showcase-kanban__btn--primary:hover {
  background: #0066a1;
}
.dl3-group--journey-stop-3 .showcase-kanban__btn--purple {
  background: #7c3aed;
  color: white;
}
.dl3-group--journey-stop-3 .showcase-kanban__btn--purple:hover {
  background: #6d28d9;
}
.dl3-group--journey-stop-3 .showcase-kanban__btn--secondary {
  background: transparent;
  color: var(--sc-text);
  border: 1px solid rgba(0, 0, 0, 0.12);
}
.dl3-group--journey-stop-3 .showcase-kanban__btn--secondary:hover {
  border-color: var(--sc-primary);
  color: var(--sc-primary);
}
.dl3[data-journey-mode="residency"] .dl3-group--journey-stop-3 .showcase-kanban__btn--secondary:hover {
  border-color: #7c3aed;
  color: #7c3aed;
}

/* Kanban inside phone mock — minimal, pro, no scroll */
.dl3-group--journey-stop-3 .showcase-kanban--in-phone {
  padding: 0;
  gap: 0;
  min-height: 0;
  min-width: 0;
  width: 100%;
  border-radius: 0;
  background: #fff;
  border: none;
  box-shadow: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-width: none;
}
.dl3-group--journey-stop-3 .showcase-kanban--in-phone.showcase-kanban--minimal .showcase-kanban__app-header--minimal {
  padding: 10px 12px 4px;
  flex-shrink: 0;
  background: #fff;
}
.dl3-group--journey-stop-3 .showcase-kanban--in-phone.showcase-kanban--minimal .showcase-kanban__app-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.03em;
}
.dl3-group--journey-stop-3 .showcase-kanban--in-phone.showcase-kanban--minimal .showcase-kanban__app-sub {
  font-size: 0.6rem;
  color: #94a3b8;
  font-weight: 500;
  margin-top: 2px;
  display: block;
}
.dl3-group--journey-stop-3 .showcase-kanban--in-phone.showcase-kanban--minimal .showcase-kanban__cols--minimal {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px 14px 10px;
  min-height: 0;
  overflow: hidden;
}
.dl3-group--journey-stop-3 .showcase-kanban--in-phone.showcase-kanban--minimal .showcase-kanban__col {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 8px;
  min-width: 0;
  background: transparent;
  border: none;
  padding: 0;
}
.dl3-group--journey-stop-3 .showcase-kanban--in-phone.showcase-kanban--minimal .showcase-kanban__col-title {
  font-size: 0.5rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-bottom: 0;
  width: 100%;
  text-align: center;
  flex-basis: auto;
  margin-bottom: 0;
  border-bottom: none;
}
.dl3-group--journey-stop-3 .showcase-kanban--in-phone.showcase-kanban--minimal .showcase-kanban__card--minimal {
  padding: 8px 10px;
  border-radius: 10px;
  background: #fafbfc;
  border: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.62rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 0;
  width: 100%;
  flex: 0 0 auto;
  text-align: center;
}
.dl3-group--journey-stop-3 .showcase-kanban--in-phone.showcase-kanban--minimal .showcase-kanban__card--minimal .showcase-kanban__card-name {
  font-size: 0.68rem;
  font-weight: 600;
  color: #0f172a;
}
.dl3-group--journey-stop-3 .showcase-kanban--in-phone.showcase-kanban--minimal .showcase-kanban__card-meta {
  font-size: 0.55rem;
  color: #059669;
  font-weight: 600;
  display: inline-block;
  background: rgba(5, 150, 105, 0.08);
  padding: 3px 8px;
  border-radius: 8px;
  margin-top: 2px;
}
.dl3-group--journey-stop-3 .showcase-kanban--in-phone.showcase-kanban--minimal .showcase-kanban__card-due {
  font-size: 0.52rem;
  color: #64748b;
  font-variant-numeric: tabular-nums;
}
/* In Progress — 1 thing coming up, premium */
.dl3-group--journey-stop-3 .showcase-kanban--in-phone.showcase-kanban--minimal .showcase-kanban__card--upcoming {
  background: #fafbfc;
  border: 1px solid rgba(37, 99, 235, 0.1);
  padding: 10px 12px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}
.dl3-group--journey-stop-3 .showcase-kanban--in-phone.showcase-kanban--minimal .showcase-kanban__card--upcoming .showcase-kanban__card-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.dl3-group--journey-stop-3 .showcase-kanban--in-phone.showcase-kanban--minimal .showcase-kanban__card--upcoming .showcase-kanban__card-due {
  font-size: 0.58rem;
  font-weight: 600;
  color: #475569;
  margin-top: 6px;
  display: inline-block;
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  padding: 4px 10px;
  border-radius: 8px;
  font-variant-numeric: tabular-nums;
}
.dl3-group--journey-stop-3 .showcase-kanban--in-phone.showcase-kanban--minimal .showcase-kanban__card-progress {
  height: 3px;
  margin-top: 6px;
  background: #e2e8f0;
  border-radius: 2px;
  overflow: hidden;
}
.dl3-group--journey-stop-3 .showcase-kanban--in-phone.showcase-kanban--minimal .showcase-kanban__card-progress-fill {
  display: block;
  height: 100%;
  background: #2563eb;
  border-radius: 2px;
}
.dl3-group--journey-stop-3 .showcase-kanban--in-phone.showcase-kanban--minimal .showcase-kanban__card--done {
  padding: 6px 8px;
  font-size: 0.62rem;
  font-weight: 600;
  color: #0f172a;
  background: #f0fdf4;
  border: 1px solid rgba(5, 150, 105, 0.15);
  min-width: 0;
}
/* Submitted — horizontal row below */
.dl3-group--journey-stop-3 .showcase-kanban--in-phone.showcase-kanban--minimal .showcase-kanban__submitted--minimal {
  padding: 8px 10px 10px;
  flex-shrink: 0;
  background: #f8fafc;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.dl3-group--journey-stop-3 .showcase-kanban--in-phone.showcase-kanban--minimal .showcase-kanban__submitted-title {
  font-size: 0.5rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 6px;
}
.dl3-group--journey-stop-3 .showcase-kanban--in-phone.showcase-kanban--minimal .showcase-kanban__submitted-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.dl3-group--journey-stop-3 .showcase-kanban--in-phone.showcase-kanban--minimal .showcase-kanban__chip--done {
  font-size: 0.58rem;
  font-weight: 600;
  color: #047857;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1px solid rgba(5, 150, 105, 0.2);
  padding: 5px 12px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.02em;
  box-shadow: 0 1px 2px rgba(5, 150, 105, 0.08);
}
.dl3-group--journey-stop-3 .showcase-kanban--in-phone.showcase-kanban--minimal .showcase-kanban__actions--minimal {
  padding: 8px 10px 10px;
  flex-shrink: 0;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* ═══════════════════ ACCEPTANCE LETTER — modern minimal + celebration ═══════════════════ */
.acceptance-celebration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.acceptance-celebration .celebration-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  opacity: 0;
  top: -10px;
}
.acceptance-celebration .celebration-particle:nth-child(4n) {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.acceptance-celebration .celebration-particle:nth-child(7n) {
  width: 10px;
  height: 4px;
  border-radius: 1px;
}
.dl3-group--acceptance.celebrate .acceptance-celebration .celebration-particle {
  animation: celebration-fall 3s ease-out forwards;
}
@keyframes celebration-fall {
  0% {
    opacity: 0;
    transform: translateY(-20px) rotate(0deg);
  }
  10% {
    opacity: 0.9;
  }
  90% {
    opacity: 0.7;
  }
  100% {
    opacity: 0;
    transform: translateY(100vh) rotate(720deg);
  }
}
.dl3-path--predental .acceptance-celebration .celebration-particle { background: #2563eb; }
.dl3-path--predental .acceptance-celebration .celebration-particle:nth-child(3n) { background: #0d9488; }
.dl3-path--predental .acceptance-celebration .celebration-particle:nth-child(5n) { background: #059669; }
.dl3-path--residency .acceptance-celebration .celebration-particle { background: #7c3aed; }
.dl3-path--residency .acceptance-celebration .celebration-particle:nth-child(3n) { background: #a78bfa; }
.dl3-path--residency .acceptance-celebration .celebration-particle:nth-child(5n) { background: #0d9488; }

.feature-showcase--acceptance {
  min-height: 0;
  position: relative;
  z-index: 1;
}
.dl3-group--acceptance .dl3-group__inner {
  position: relative;
  z-index: 1;
}

/* Acceptance — mail.mp4 (plays once) */
.showcase-acceptance-mail {
  display: block;
  max-width: 280px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  animation: showcase-fade-in 0.6s ease both;
}

.dl3-group--journey-stop-3 .showcase-kanban--in-phone.showcase-kanban--minimal .showcase-kanban__btn--minimal {
  width: 100%;
  padding: 8px 12px;
  font-size: 0.62rem;
  font-weight: 600;
  border-radius: 10px;
  justify-content: center;
  background: #0f172a;
  color: #fff;
  border: none;
}

/* ═══════════════════ PHONE PAINPOINT — before/after transformation ═══════════════════ */
.phone-painpoint {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  position: relative;
  background: #f8f9fb;
  font-family: var(--dl3-font, 'DM Sans', -apple-system, sans-serif);
}
.phone-painpoint__scene {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.phone-painpoint__scene--chaos { flex: 1; position: relative; z-index: 2; }
.phone-painpoint__scene--solution {
  position: absolute; inset: 0; z-index: 3;
  opacity: 0; transform: translateY(6px);
  pointer-events: none; background: #fff;
}
.phone-painpoint.phone-painpoint--revealed .phone-painpoint__scene--chaos {
  opacity: 0; transform: scale(0.97); pointer-events: none;
}
.phone-painpoint.phone-painpoint--revealed .phone-painpoint__scene--solution {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}

/* ——— CHAOS ——— */
.phone-painpoint__chaos-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 10px 4px; background: #fff;
}
.phone-painpoint__chaos-title {
  font-size: 0.95rem; font-weight: 700; color: #0f172a; letter-spacing: -0.02em;
}
.phone-painpoint__chaos-badge {
  font-size: 0.56rem; font-weight: 700; color: #dc2626;
  background: #fef2f2; border: 1px solid rgba(220,38,38,0.15);
  padding: 2px 8px; border-radius: 99px;
  text-transform: uppercase; letter-spacing: 0.05em;
  animation: phone-painpoint-pulse 2s ease-in-out infinite;
}
@keyframes phone-painpoint-pulse { 0%,100%{opacity:1} 50%{opacity:0.55} }

.phone-painpoint__chaos-alerts {
  display: flex; flex-direction: column; gap: 3px; padding: 4px 8px 5px;
}
.phone-painpoint__alert {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 9px; border-radius: 8px;
  font-size: 0.68rem; font-weight: 500; color: #0f172a;
  animation: phone-painpoint-shake 4s ease-in-out infinite;
}
.phone-painpoint__alert:nth-child(2) { animation-delay: 0.6s; }
.phone-painpoint__alert:nth-child(3) { animation-delay: 1.2s; }
@keyframes phone-painpoint-shake {
  0%,92%,100%{transform:translateX(0)} 94%{transform:translateX(-1.5px)} 96%{transform:translateX(1.5px)} 98%{transform:translateX(-0.5px)}
}
.phone-painpoint__alert--red {
  background: linear-gradient(135deg,#fef2f2,#fee2e2);
  border: 1px solid rgba(220,38,38,0.1);
}
.phone-painpoint__alert--red .phone-painpoint__alert-icon { color: #dc2626; }
.phone-painpoint__alert--amber {
  background: linear-gradient(135deg,#fffbeb,#fef3c7);
  border: 1px solid rgba(217,119,6,0.1);
}
.phone-painpoint__alert--amber .phone-painpoint__alert-icon { color: #d97706; }
.phone-painpoint__alert--grey {
  background: linear-gradient(135deg,#f8fafc,#f1f5f9);
  border: 1px solid rgba(0,0,0,0.06);
}
.phone-painpoint__alert--grey .phone-painpoint__alert-icon { color: #94a3b8; }
.phone-painpoint__alert-icon { width: 15px; height: 15px; flex-shrink: 0; }
.phone-painpoint__alert strong { font-weight: 700; }

.phone-painpoint__chaos-items {
  display: flex; flex-direction: column; gap: 0;
  margin: 0 8px; border-radius: 8px; overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
}
.phone-painpoint__chaos-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 5px 8px; background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.phone-painpoint__chaos-item:last-child { border-bottom: none; }
.phone-painpoint__chaos-school { font-size: 0.72rem; font-weight: 600; color: #0f172a; }
.phone-painpoint__chaos-status {
  font-size: 0.6rem; font-weight: 500; font-style: italic;
  max-width: 52%; text-align: right; line-height: 1.2;
}
.phone-painpoint__chaos-status--unknown { color: #94a3b8; }
.phone-painpoint__chaos-status--lost { color: #d97706; }
.phone-painpoint__chaos-status--forgot { color: #dc2626; }

.phone-painpoint__chaos-note {
  display: flex; align-items: center; gap: 6px;
  margin: 5px 8px 0; padding: 5px 8px;
  background: #fff; border-radius: 8px;
  border: 1px dashed rgba(0,0,0,0.1);
}
.phone-painpoint__chaos-note-icon { width: 18px; height: 18px; color: #cbd5e1; flex-shrink: 0; }
.phone-painpoint__chaos-note-content { display: flex; flex-direction: column; gap: 1px; }
.phone-painpoint__chaos-note-title { font-size: 0.62rem; font-weight: 600; color: #64748b; }
.phone-painpoint__chaos-note-sub { font-size: 0.52rem; color: #94a3b8; }

.phone-painpoint__chaos-footer {
  display: flex; align-items: center; justify-content: center;
  padding: 6px 8px 5px; margin-top: auto;
  background: linear-gradient(135deg, #fef2f2 0%, #fff7ed 100%);
  margin: 4px 8px 6px; border-radius: 8px;
  border: 1px solid rgba(220,38,38,0.08);
}
.phone-painpoint__chaos-footer span {
  font-size: 0.66rem; font-weight: 700; color: #dc2626;
  letter-spacing: 0.02em;
}

/* ——— SOLUTION ——— */
.phone-painpoint__sol-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 10px 2px; background: #fff;
}
.phone-painpoint__sol-title {
  font-size: 0.95rem; font-weight: 700; color: #0f172a; letter-spacing: -0.02em;
}
.phone-painpoint__sol-count {
  font-size: 0.58rem; font-weight: 600; color: #2563eb;
  background: rgba(37,99,235,0.08); padding: 2px 8px; border-radius: 99px;
}
.phone-painpoint__sol-progress {
  display: flex; align-items: center; gap: 8px;
  padding: 4px 10px 5px; background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.phone-painpoint__sol-ring-wrap {
  position: relative; width: 38px; height: 38px; flex-shrink: 0;
}
.phone-painpoint__sol-ring { width: 100%; height: 100%; }
.phone-painpoint__sol-ring-num {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-size: 0.62rem; font-weight: 800; color: #0f172a; letter-spacing: -0.03em;
}
.phone-painpoint__sol-stats { display: flex; flex-direction: column; gap: 2px; }
.phone-painpoint__sol-stat {
  display: flex; align-items: center; gap: 4px;
  font-size: 0.58rem; font-weight: 600;
}
.phone-painpoint__sol-stat svg { width: 11px; height: 11px; flex-shrink: 0; }
.phone-painpoint__sol-stat--done { color: #059669; }
.phone-painpoint__sol-stat--progress { color: #2563eb; }
.phone-painpoint__sol-stat--next { color: #64748b; }

.phone-painpoint__sol-list {
  display: flex; flex-direction: column; gap: 0;
  padding: 4px 8px 2px; flex: 1;
}
.phone-painpoint__sol-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 8px; border-radius: 8px;
  background: #fafbfc; border: 1px solid rgba(0,0,0,0.03);
  margin-bottom: 2px;
}
.phone-painpoint__sol-item--submitted {
  background: linear-gradient(135deg,#f0fdf4,#ecfdf5);
  border-color: rgba(5,150,105,0.08);
}
.phone-painpoint__sol-item--active {
  background: linear-gradient(135deg,#eff6ff,#dbeafe);
  border-color: rgba(37,99,235,0.1);
  box-shadow: 0 1px 4px rgba(37,99,235,0.06);
}
.phone-painpoint__sol-item-left { display: flex; align-items: center; gap: 6px; }
.phone-painpoint__sol-check {
  width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.phone-painpoint__sol-check--done { background: #059669; color: #fff; }
.phone-painpoint__sol-check--done svg { width: 10px; height: 10px; }
.phone-painpoint__sol-check--progress {
  width: 16px; height: 16px; border: 1.5px solid #2563eb;
  background: transparent; position: relative;
}
.phone-painpoint__sol-check--progress::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 5px; height: 5px; border-radius: 50%; background: #2563eb;
  transform: translate(-50%,-50%);
  animation: phone-painpoint-dot-pulse 1.5s ease-in-out infinite;
}
.phone-painpoint__sol-check--explore {
  width: 16px; height: 16px; border: 1.5px solid #cbd5e1;
  background: #f8fafc; border-radius: 50%;
}
@keyframes phone-painpoint-dot-pulse {
  0%,100%{opacity:1;transform:translate(-50%,-50%) scale(1)}
  50%{opacity:0.4;transform:translate(-50%,-50%) scale(0.6)}
}
.phone-painpoint__sol-school { font-size: 0.72rem; font-weight: 600; color: #0f172a; }
.phone-painpoint__sol-badge {
  font-size: 0.56rem; font-weight: 600;
  padding: 2px 8px; border-radius: 99px; letter-spacing: 0.02em;
  white-space: nowrap;
}
.phone-painpoint__sol-badge--done { color: #047857; background: rgba(5,150,105,0.1); }
.phone-painpoint__sol-badge--progress { color: #1d4ed8; background: rgba(37,99,235,0.08); }
.phone-painpoint__sol-badge--explore { color: #64748b; background: rgba(100,116,139,0.08); }

/* Bottom nav bar */
.phone-painpoint__sol-nav {
  display: flex; align-items: center; justify-content: space-around;
  padding: 4px 4px 5px; margin-top: auto;
  background: #fafbfc; border-top: 1px solid rgba(0,0,0,0.06);
}
.phone-painpoint__sol-nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  font-size: 0.48rem; font-weight: 500; color: #94a3b8;
}
.phone-painpoint__sol-nav-item svg { width: 16px; height: 16px; }
.phone-painpoint__sol-nav-item--active { color: #2563eb; font-weight: 600; }

/* Transition animations */
.phone-painpoint.phone-painpoint--revealed .phone-painpoint__sol-item {
  animation: phone-painpoint-item-in 0.45s cubic-bezier(0.16,1,0.3,1) both;
}
.phone-painpoint.phone-painpoint--revealed .phone-painpoint__sol-item:nth-child(1) { animation-delay: 0.1s; }
.phone-painpoint.phone-painpoint--revealed .phone-painpoint__sol-item:nth-child(2) { animation-delay: 0.17s; }
.phone-painpoint.phone-painpoint--revealed .phone-painpoint__sol-item:nth-child(3) { animation-delay: 0.24s; }
.phone-painpoint.phone-painpoint--revealed .phone-painpoint__sol-item:nth-child(4) { animation-delay: 0.31s; }
.phone-painpoint.phone-painpoint--revealed .phone-painpoint__sol-item:nth-child(5) { animation-delay: 0.38s; }
.phone-painpoint.phone-painpoint--revealed .phone-painpoint__sol-item:nth-child(6) { animation-delay: 0.45s; }
.phone-painpoint.phone-painpoint--revealed .phone-painpoint__sol-item:nth-child(7) { animation-delay: 0.52s; }
@keyframes phone-painpoint-item-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.phone-painpoint.phone-painpoint--revealed .phone-painpoint__sol-progress {
  animation: phone-painpoint-item-in 0.5s cubic-bezier(0.16,1,0.3,1) 0.05s both;
}
.phone-painpoint.phone-painpoint--revealed .phone-painpoint__sol-nav {
  animation: phone-painpoint-item-in 0.4s cubic-bezier(0.16,1,0.3,1) 0.6s both;
}
.phone-painpoint.phone-painpoint--revealed .phone-painpoint__sol-ring circle:last-of-type {
  animation: phone-painpoint-ring-fill 1s cubic-bezier(0.16,1,0.3,1) 0.25s both;
}
@keyframes phone-painpoint-ring-fill {
  from { stroke-dashoffset: 125.66; } to { stroke-dashoffset: 50.26; }
}

@media (prefers-reduced-motion: reduce) {
  .phone-painpoint__alert, .phone-painpoint__chaos-badge { animation: none; }
  .phone-painpoint__scene { transition-duration: 0.01ms; }
  .phone-painpoint.phone-painpoint--revealed .phone-painpoint__sol-item,
  .phone-painpoint.phone-painpoint--revealed .phone-painpoint__sol-progress,
  .phone-painpoint.phone-painpoint--revealed .phone-painpoint__sol-nav {
    animation: none; opacity: 1; transform: none;
  }
}

/* ═══════════════════ PHONE PIPELINE — residency match tracker ═══════════════════ */
.phone-pipeline {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: #faf8ff;
  font-family: var(--dl3-font, 'DM Sans', -apple-system, sans-serif);
}
.phone-pipeline__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 10px 3px; background: #fff;
}
.phone-pipeline__title {
  font-size: 0.88rem; font-weight: 700; color: #0f172a; letter-spacing: -0.02em;
}
.phone-pipeline__count {
  font-size: 0.54rem; font-weight: 600; color: #7c3aed;
  background: rgba(124,58,237,0.08); padding: 2px 7px; border-radius: 99px;
}

.phone-pipeline__stages {
  display: flex; align-items: center; justify-content: center;
  gap: 3px; padding: 4px 8px 5px; background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.phone-pipeline__stage {
  display: flex; align-items: center; gap: 2px;
  padding: 2px 6px; border-radius: 99px;
  background: rgba(0,0,0,0.03);
}
.phone-pipeline__stage--active {
  background: rgba(124,58,237,0.08);
}
.phone-pipeline__stage-dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
}
.phone-pipeline__stage-dot--purple { background: #7c3aed; }
.phone-pipeline__stage-dot--blue { background: #2563eb; }
.phone-pipeline__stage-dot--green { background: #059669; }
.phone-pipeline__stage-label {
  font-size: 0.48rem; font-weight: 600; color: #475569;
}
.phone-pipeline__stage-num {
  font-size: 0.44rem; font-weight: 700; color: #7c3aed;
  background: rgba(124,58,237,0.1); width: 14px; height: 14px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.phone-pipeline__stage-arrow {
  color: #cbd5e1;
}
.phone-pipeline__stage-arrow svg {
  width: 10px; height: 8px;
}

.phone-pipeline__section {
  padding: 4px 10px 1px;
}
.phone-pipeline__section-title {
  display: block;
  font-size: 0.5rem; font-weight: 700; color: #64748b;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 3px;
}

.phone-pipeline__card {
  display: flex; flex-direction: column;
  padding: 5px 9px; margin-bottom: 3px;
  background: #fff; border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.05);
  border-left: 3px solid #7c3aed;
}
.phone-pipeline__card--applying {
  border-left-color: #2563eb;
}
.phone-pipeline__card--ranked {
  border-left-color: #059669;
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
}
.phone-pipeline__card-top {
  display: flex; align-items: center; gap: 6px;
}
.phone-pipeline__card-name {
  font-size: 0.66rem; font-weight: 600; color: #0f172a;
  flex: 1;
}
.phone-pipeline__card-tag {
  font-size: 0.48rem; font-weight: 600;
  padding: 1px 6px; border-radius: 99px; white-space: nowrap;
}
.phone-pipeline__card-tag--reach {
  color: #7c3aed; background: rgba(124,58,237,0.1);
}
.phone-pipeline__card-tag--target {
  color: #059669; background: rgba(5,150,105,0.1);
}
.phone-pipeline__card-tag--due {
  color: #d97706; background: rgba(217,119,6,0.1);
}
.phone-pipeline__card-meta {
  font-size: 0.46rem; color: #94a3b8; margin-top: 1px;
}
.phone-pipeline__card-rank {
  font-size: 0.56rem; font-weight: 800; color: #059669;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(5,150,105,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.phone-pipeline__card-check {
  width: 14px; height: 14px; color: #059669; flex-shrink: 0;
}

.phone-pipeline__card-progress {
  display: flex; align-items: center; gap: 5px; margin-top: 3px;
}
.phone-pipeline__card-progress-bar {
  flex: 1; height: 4px; background: #e2e8f0; border-radius: 99px; overflow: hidden;
}
.phone-pipeline__card-progress-fill {
  height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, #2563eb, #7c3aed);
}
.phone-pipeline__card-progress-pct {
  font-size: 0.46rem; font-weight: 700; color: #2563eb;
}

.phone-pipeline__nav {
  display: flex; align-items: center; justify-content: space-around;
  padding: 5px 4px 6px; margin-top: auto;
  background: #fafbfc; border-top: 1px solid rgba(0,0,0,0.06);
}
.phone-pipeline__nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  font-size: 0.48rem; font-weight: 500; color: #94a3b8;
}
.phone-pipeline__nav-item svg { width: 16px; height: 16px; }
.phone-pipeline__nav-item--active { color: #7c3aed; font-weight: 600; }

/* Pipeline entry animations */
.feature-showcase--pipeline .phone-pipeline__card {
  opacity: 0; transform: translateY(6px);
  animation: phone-pipeline-card-in 0.45s cubic-bezier(0.16,1,0.3,1) both;
}
.feature-showcase--visible .phone-pipeline__card:nth-child(1) { animation-delay: 0.1s; }
.feature-showcase--visible .phone-pipeline__card:nth-child(2) { animation-delay: 0.2s; }
.feature-showcase--pipeline .phone-pipeline__section:nth-child(2) .phone-pipeline__card:nth-child(2) { animation-delay: 0.25s; }
.feature-showcase--pipeline .phone-pipeline__section:nth-child(2) .phone-pipeline__card:nth-child(3) { animation-delay: 0.35s; }
.feature-showcase--pipeline .phone-pipeline__section:nth-child(3) .phone-pipeline__card:nth-child(2) { animation-delay: 0.4s; }
.feature-showcase--pipeline .phone-pipeline__section:nth-child(3) .phone-pipeline__card:nth-child(3) { animation-delay: 0.5s; }
.feature-showcase--pipeline .phone-pipeline__section:nth-child(4) .phone-pipeline__card:nth-child(2) { animation-delay: 0.55s; }
.feature-showcase--pipeline .phone-pipeline__section:nth-child(4) .phone-pipeline__card:nth-child(3) { animation-delay: 0.65s; }
.feature-showcase:not(.feature-showcase--visible) .phone-pipeline__card {
  animation: none; opacity: 0;
}
@keyframes phone-pipeline-card-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.feature-showcase--pipeline .phone-pipeline__stages {
  opacity: 0;
  animation: phone-pipeline-card-in 0.5s cubic-bezier(0.16,1,0.3,1) 0.05s both;
}
.feature-showcase:not(.feature-showcase--visible) .phone-pipeline__stages {
  animation: none; opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .phone-pipeline__card,
  .phone-pipeline__stages {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}


/* ═══════════════════ CHAT — story mining / interview ═══════════════════ */
.showcase-chat {
  padding: 20px;
  display: flex;
  flex-direction: column;
  min-height: 400px;
}
.showcase-chat__stage-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.showcase-chat__stage {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--sc-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.showcase-chat__stage-progress {
  flex: 1;
  min-width: 80px;
  height: 4px;
  background: #e2e8f0;
  border-radius: 100px;
  overflow: hidden;
}
.showcase-chat__stage-progress-fill {
  display: block;
  height: 100%;
  width: 38%;
  background: var(--sc-primary);
  border-radius: 100px;
  animation: showcase-progress-fill 2.5s ease-in-out infinite alternate;
}
.showcase-chat__stage-num {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--sc-text-muted);
}
.showcase-chat__bubble--typing {
  display: flex;
  align-items: center;
  gap: 10px;
}
.showcase-chat__typing-dots {
  display: flex;
  gap: 4px;
}
.showcase-chat__typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sc-text-muted);
  animation: showcase-typing-bounce 1.4s ease-in-out infinite both;
}
.showcase-chat__typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.showcase-chat__typing-dots span:nth-child(3) { animation-delay: 0.4s; }
.showcase-chat__typing-text {
  opacity: 0.7;
  font-style: italic;
}
.showcase-chat__hint {
  font-size: 0.65rem;
  color: var(--sc-text-muted);
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.showcase-chat__hint i { color: var(--sc-primary); }
.showcase-chat__bubble {
  max-width: 90%;
  padding: 14px 18px;
  border-radius: 16px;
  font-size: 0.8rem;
  line-height: 1.55;
  margin-bottom: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
  animation: showcase-bubble-in 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.showcase-chat__bubble:nth-of-type(2) { animation-delay: 0.2s; }
.showcase-chat__bubble:nth-of-type(3) { animation-delay: 0.4s; }
.showcase-chat__bubble:nth-of-type(4) { animation-delay: 0.6s; }
.feature-showcase:not(.feature-showcase--visible) .showcase-chat__bubble { animation: none; opacity: 0; }
.showcase-chat--analysis .showcase-chat__bubble--seq:nth-of-type(1) { animation-delay: 0.12s; animation-duration: 0.8s; }
.showcase-chat--analysis .showcase-chat__bubble--seq:nth-of-type(2) { animation-delay: 0.35s; animation-duration: 0.8s; }
.showcase-chat--analysis .showcase-chat__bubble--seq:nth-of-type(3) { animation-delay: 0.58s; animation-duration: 0.8s; }
/* Chat with right sidebar layout */
.showcase-chat--sidebar {
  display: flex;
  gap: 16px;
  flex-direction: row;
}
.showcase-chat--sidebar .showcase-chat__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.showcase-chat__analysis-sidebar {
  width: 140px;
  flex-shrink: 0;
  padding: 10px 12px;
  background: linear-gradient(135deg, rgba(0, 119, 182, 0.06) 0%, rgba(109, 213, 237, 0.04) 100%);
  border: 1px solid rgba(0, 119, 182, 0.15);
  border-radius: 12px;
  animation: showcase-slide-in-right 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}
.showcase-chat__analysis-sidebar--residency {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.06) 0%, rgba(167, 139, 250, 0.04) 100%);
  border-color: rgba(124, 58, 237, 0.15);
}
.feature-showcase:not(.feature-showcase--visible) .showcase-chat__analysis-sidebar { animation: none; opacity: 0; }
.showcase-chat__analyzer-items--vertical {
  flex-direction: column;
  gap: 6px;
}
.showcase-chat__analyzer-section {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(0, 119, 182, 0.1);
}
.showcase-chat__analyzer-section .showcase-chat__analyzer-item {
  display: block;
  margin-bottom: 4px;
}
.showcase-chat__analysis-sidebar--residency .showcase-chat__analyzer-section {
  border-top-color: rgba(124, 58, 237, 0.1);
}
.showcase-chat__analyzer-section-title {
  font-size: 0.52rem;
  font-weight: 700;
  color: var(--sc-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.showcase-chat__analyzer-item--seq {
  animation: showcase-bubble-in 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.showcase-chat__analyzer-item--seq[data-seq="1"] { animation-delay: 0.5s; }
.showcase-chat__analyzer-item--seq[data-seq="2"] { animation-delay: 0.65s; }
.showcase-chat__analyzer-item--seq[data-seq="3"] { animation-delay: 0.8s; }
.showcase-chat__analyzer-item--seq[data-seq="4"] { animation-delay: 1s; }
.showcase-chat__analyzer-item--seq[data-seq="5"] { animation-delay: 1.15s; }
.showcase-chat__analyzer-item--seq[data-seq="6"] { animation-delay: 1.3s; }
.showcase-chat__analyzer-item--seq[data-seq="7"] { animation-delay: 1.5s; }
.showcase-chat__analyzer-item--seq[data-seq="8"] { animation-delay: 1.65s; }
.showcase-chat__analyzer-item--seq[data-seq="9"] { animation-delay: 1.8s; }
.feature-showcase:not(.feature-showcase--visible) .showcase-chat__analyzer-item--seq { animation: none; opacity: 0; }
.showcase-chat__analyzer {
  padding: 12px 16px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, rgba(0, 119, 182, 0.06) 0%, rgba(109, 213, 237, 0.04) 100%);
  border: 1px solid rgba(0, 119, 182, 0.15);
  border-radius: 12px;
  animation: showcase-bubble-in 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.showcase-chat__analyzer--residency {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.06) 0%, rgba(167, 139, 250, 0.04) 100%);
  border-color: rgba(124, 58, 237, 0.15);
}
.showcase-chat__analyzer-header {
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--sc-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.showcase-chat__analysis-sidebar--residency .showcase-chat__analyzer-header { color: #7c3aed; }
.showcase-chat__analyzer--residency .showcase-chat__analyzer-header { color: #7c3aed; }
.showcase-chat__analyzer-items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.showcase-chat__analyzer-item {
  font-size: 0.58rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.showcase-chat__analyzer-items--vertical .showcase-chat__analyzer-item {
  width: 100%;
  box-sizing: border-box;
  border-radius: 8px;
}
.showcase-chat__analyzer-item--strong {
  background: rgba(45, 206, 152, 0.12);
  color: #059669;
}
.showcase-chat__analyzer-item--strong i { color: var(--sc-green); }
.showcase-chat__analyzer-item--expand {
  background: rgba(255, 126, 95, 0.1);
  color: var(--sc-orange);
}
.showcase-chat__analyzer-item--expand i { color: var(--sc-orange); }
.showcase-chat__typing-dots--always span {
  animation: showcase-typing-bounce 1.4s ease-in-out infinite both;
}
.feature-showcase:hover .showcase-chat__bubble {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-showcase:hover .showcase-chat__bubble:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 16px -4px rgba(0, 119, 182, 0.15);
}
.showcase-chat__bubble--ai {
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  color: var(--sc-text);
  align-self: flex-start;
}
.showcase-chat__bubble--user {
  background: linear-gradient(135deg, var(--sc-primary) 0%, var(--sc-primary-light) 100%);
  color: white;
  margin-left: auto;
  border: none;
}
.dl3[data-journey-mode="residency"] .showcase-chat__bubble--user {
  background: linear-gradient(135deg, #6d28d9 0%, #7c3aed 100%);
}
.showcase-chat__input-wrap {
  margin-top: auto;
  padding-top: 12px;
  position: relative;
}
.showcase-chat__input-wrap::after {
  content: '';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 18px;
  background: var(--sc-primary);
  animation: showcase-cursor-blink 1s step-end infinite;
}
.showcase-chat__input {
  width: 100%;
  height: 46px;
  border-radius: 12px;
  background: var(--sc-surface);
  border: 2px solid var(--sc-primary);
  padding: 0 16px;
  font-size: 0.85rem;
  color: var(--sc-text);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.feature-showcase:hover .showcase-chat__input {
  box-shadow: 0 0 0 4px rgba(0, 119, 182, 0.08);
}
.showcase-chat__input::placeholder { color: var(--sc-text-muted); }

/* ═══════════════════ STORY MINING — AI interview with live analysis ═══════════════════ */
.showcase-mining {
  display: flex;
  gap: 0;
  min-height: 380px;
  padding: 0;
  overflow: hidden;
}

.showcase-mining__panel {
  display: flex;
  flex-direction: column;
}
.showcase-mining__panel--chat {
  flex: 1;
  min-width: 0;
  padding: 22px 24px 16px;
  display: flex;
  flex-direction: column;
}
.showcase-mining__panel--insight {
  width: 200px;
  flex-shrink: 0;
  padding: 20px 18px;
  background: linear-gradient(180deg, rgba(0, 119, 182, 0.03) 0%, rgba(45, 212, 191, 0.02) 100%);
  border-left: 1px solid rgba(0, 119, 182, 0.1);
  animation: mining-insight-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
}
.showcase-mining--res .showcase-mining__panel--insight {
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.03) 0%, rgba(167, 139, 250, 0.02) 100%);
  border-left-color: rgba(124, 58, 237, 0.1);
}
.feature-showcase:not(.feature-showcase--visible) .showcase-mining__panel--insight {
  animation: none;
  opacity: 0;
}

/* ── Top bar ── */
.showcase-mining__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}
.showcase-mining__bar-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.showcase-mining--res .showcase-mining__bar-label {
  color: #6d28d9;
}
.showcase-mining__bar-progress {
  flex: 1;
  max-width: 100px;
  height: 4px;
  background: #e2e8f0;
  border-radius: 100px;
  overflow: hidden;
}
.showcase-mining__bar-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #0077b6, #2dd4bf);
  border-radius: 100px;
  transition: width 2s ease;
}
.showcase-mining--res .showcase-mining__bar-fill {
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
}
.showcase-mining__bar-step {
  font-size: 0.7rem;
  font-weight: 600;
  color: #94a3b8;
  white-space: nowrap;
}

/* ── Specialty tag (residency only) ── */
.showcase-mining__specialty {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.07), rgba(167, 139, 250, 0.04));
  border: 1px solid rgba(124, 58, 237, 0.14);
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #7c3aed;
  margin-bottom: 14px;
  align-self: flex-start;
}
.showcase-mining__specialty svg {
  width: 13px;
  height: 13px;
}

/* ── Chat messages ── */
.showcase-mining__messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.showcase-mining__msg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  animation: mining-msg-in 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.showcase-mining__msg--seq:nth-child(1) { animation-delay: 0.15s; }
.showcase-mining__msg--seq:nth-child(2) { animation-delay: 0.4s; }
.showcase-mining__msg--seq:nth-child(3) { animation-delay: 0.65s; }
.feature-showcase:not(.feature-showcase--visible) .showcase-mining__msg {
  animation: none;
  opacity: 0;
}

.showcase-mining__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0077b6, #2dd4bf);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.showcase-mining--res .showcase-mining__avatar {
  background: linear-gradient(135deg, #6d28d9, #a78bfa);
}
.showcase-mining__avatar svg {
  width: 14px;
  height: 14px;
  color: #fff;
}

.showcase-mining__bubble {
  font-size: 0.85rem;
  line-height: 1.55;
  color: #334155;
}
.showcase-mining__msg--ai .showcase-mining__bubble {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 2px 14px 14px 14px;
  padding: 10px 14px;
}
.showcase-mining__msg--user {
  flex-direction: row-reverse;
}
.showcase-mining__msg--user .showcase-mining__bubble {
  background: linear-gradient(135deg, #0077b6, #0096c7);
  color: #fff;
  border-radius: 14px 2px 14px 14px;
  padding: 10px 14px;
}
.showcase-mining--res .showcase-mining__msg--user .showcase-mining__bubble {
  background: linear-gradient(135deg, #6d28d9, #7c3aed);
}

/* ── Typing dots ── */
.showcase-mining__dots {
  display: inline-flex;
  gap: 4px;
  vertical-align: middle;
}
.showcase-mining__dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #94a3b8;
  animation: mining-dot-bounce 1.4s ease-in-out infinite both;
}
.showcase-mining__dots span:nth-child(2) { animation-delay: 0.2s; }
.showcase-mining__dots span:nth-child(3) { animation-delay: 0.4s; }
.showcase-mining__dots-reveal {
  opacity: 0.6;
  font-style: italic;
  margin-left: 5px;
}

/* ── Input row ── */
.showcase-mining__input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
}
.showcase-mining__input-field {
  flex: 1;
  height: 40px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  font-size: 0.8rem;
  color: #94a3b8;
}
.showcase-mining__input-send {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0077b6, #2dd4bf);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.showcase-mining--res .showcase-mining__input-send {
  background: linear-gradient(135deg, #6d28d9, #a78bfa);
}
.showcase-mining__input-send svg {
  width: 16px;
  height: 16px;
  color: #fff;
  transform: rotate(-45deg);
}

/* ── Insight panel ── */
.showcase-mining__insight-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  color: #0077b6;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 119, 182, 0.1);
}
.showcase-mining--res .showcase-mining__insight-header {
  color: #7c3aed;
  border-bottom-color: rgba(124, 58, 237, 0.1);
}
.showcase-mining__insight-header svg {
  width: 15px;
  height: 15px;
}

.showcase-mining__checks {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.showcase-mining__check {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
  animation: mining-check-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.showcase-mining__check svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.showcase-mining__check--pass {
  background: rgba(5, 150, 105, 0.07);
  color: #059669;
}
.showcase-mining__check--tip {
  background: rgba(245, 158, 11, 0.07);
  color: #d97706;
}
.showcase-mining__check--seq[data-seq="1"] { animation-delay: 0.9s; }
.showcase-mining__check--seq[data-seq="2"] { animation-delay: 1.05s; }
.showcase-mining__check--seq[data-seq="3"] { animation-delay: 1.2s; }
.feature-showcase:not(.feature-showcase--visible) .showcase-mining__check {
  animation: none;
  opacity: 0;
}

.showcase-mining__section {
  margin-bottom: 14px;
}
.showcase-mining__section-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 7px;
}
.showcase-mining__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.showcase-mining__tag {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(0, 119, 182, 0.06);
  color: #0077b6;
  animation: mining-check-in 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.showcase-mining--res .showcase-mining__tag {
  background: rgba(124, 58, 237, 0.06);
  color: #7c3aed;
}
.showcase-mining__tag--tone {
  background: rgba(100, 116, 139, 0.06);
  color: #475569;
}
.showcase-mining--res .showcase-mining__tag--tone {
  background: rgba(100, 116, 139, 0.06);
  color: #475569;
}
.showcase-mining__tag--seq[data-seq="4"] { animation-delay: 1.35s; }
.showcase-mining__tag--seq[data-seq="5"] { animation-delay: 1.45s; }
.showcase-mining__tag--seq[data-seq="6"] { animation-delay: 1.55s; }
.showcase-mining__tag--seq[data-seq="7"] { animation-delay: 1.7s; }
.showcase-mining__tag--seq[data-seq="8"] { animation-delay: 1.8s; }
.showcase-mining__tag--seq[data-seq="9"] { animation-delay: 1.9s; }
.feature-showcase:not(.feature-showcase--visible) .showcase-mining__tag {
  animation: none;
  opacity: 0;
}

.showcase-mining__hint {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.68rem;
  color: #64748b;
  line-height: 1.4;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 119, 182, 0.08);
}
.showcase-mining--res .showcase-mining__hint {
  border-top-color: rgba(124, 58, 237, 0.08);
}
.showcase-mining__hint svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: #0077b6;
  margin-top: 1px;
}
.showcase-mining--res .showcase-mining__hint svg {
  color: #7c3aed;
}

/* ── Animations ── */
@keyframes mining-msg-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes mining-insight-in {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes mining-check-in {
  from { opacity: 0; transform: translateY(6px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes mining-dot-bounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .showcase-mining {
    flex-direction: column;
    min-height: auto;
  }
  .showcase-mining__panel--insight {
    width: 100%;
    border-left: none;
    border-top: 1px solid rgba(0, 119, 182, 0.1);
    padding: 16px 20px;
  }
  .showcase-mining--res .showcase-mining__panel--insight {
    border-top-color: rgba(124, 58, 237, 0.1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .showcase-mining__msg,
  .showcase-mining__panel--insight,
  .showcase-mining__check,
  .showcase-mining__tag { animation: none !important; opacity: 1; transform: none; }
  .showcase-mining__dots span { animation: none; opacity: 0.5; }
}

/* ═══════════════════ DRAFT — PS editor with quick actions ═══════════════════ */
.showcase-draft {
  padding: 22px;
  min-height: 400px;
}
.showcase-draft__text {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--sc-text);
  margin-bottom: 18px;
}
.showcase-draft__highlight {
  background: linear-gradient(120deg, rgba(0,119,182,.12) 0%, rgba(33,147,176,.08) 100%);
  padding: 2px 4px;
  border-radius: 4px;
  border-left: 3px solid var(--sc-primary);
  animation: showcase-highlight-pulse 3s ease-in-out infinite;
}
.showcase-draft__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.showcase-draft__btn {
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  color: var(--sc-text-secondary);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-showcase:hover .showcase-draft__btn:hover {
  transform: translateY(-2px);
  border-color: var(--sc-primary);
  color: var(--sc-primary);
  box-shadow: 0 4px 12px rgba(0, 119, 182, 0.15);
}
.showcase-draft__btn--primary {
  background: linear-gradient(135deg, var(--sc-primary) 0%, var(--sc-primary-light) 100%);
  border-color: var(--sc-primary);
  color: white;
  box-shadow: 0 2px 8px rgba(0, 119, 182, 0.25);
}
.feature-showcase:hover .showcase-draft__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 119, 182, 0.35);
}
.dl3[data-journey-mode="residency"] .showcase-draft__btn--primary {
  background: #7c3aed;
  border-color: #7c3aed;
}
.showcase-draft__export {
  margin-top: 16px;
  font-size: 0.7rem;
  color: var(--sc-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.showcase-draft__export span {
  padding: 4px 10px;
  border-radius: 6px;
  background: #f1f5f9;
  border: 1px solid var(--sc-border);
  font-weight: 500;
  color: var(--sc-text-secondary);
  transition: all 0.2s ease;
}
.feature-showcase:hover .showcase-draft__export span:hover {
  background: rgba(0, 119, 182, 0.08);
  border-color: rgba(0, 119, 182, 0.2);
  color: var(--sc-primary);
}
.showcase-draft__score-bar {
  margin-bottom: 14px;
}
.showcase-draft__score-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--sc-text);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.showcase-draft__score-label i { color: var(--sc-orange); }
.showcase-draft__score-bar-track {
  display: block;
  height: 6px;
  background: #e2e8f0;
  border-radius: 100px;
  overflow: hidden;
}
.showcase-draft__score-bar-fill {
  display: block;
  height: 100%;
  width: 72%;
  background: linear-gradient(90deg, var(--sc-orange), var(--sc-primary));
  border-radius: 100px;
  animation: showcase-progress-fill 2s ease-in-out infinite alternate;
}
.showcase-draft__insight {
  font-size: 0.68rem;
  color: var(--sc-text-muted);
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.showcase-draft__insight i { color: var(--sc-green); }

/* ═══════════════════ DRAFT — Editor mock (Generate → Cliche Killer flow) ═══════════════════ */
.showcase-draft--editor {
  padding: 0;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.showcase-draft--premium.showcase-draft--editor {
  flex-direction: column;
}
.showcase-draft__generate-step {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--sc-surface);
  border-radius: 14px;
  padding: 24px;
  animation: showcase-generate-fade-out 12s ease-in-out forwards;
}
.showcase-draft--premium .showcase-draft__generate-step {
  top: 40px;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 0;
}
@keyframes showcase-generate-fade-out {
  0%, 25% { opacity: 1; z-index: 1; }
  35% { opacity: 0; z-index: 0; pointer-events: none; }
  100% { opacity: 0; z-index: 0; pointer-events: none; }
}
.showcase-draft__mining-done {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--sc-green);
  display: flex;
  align-items: center;
  gap: 8px;
}
.showcase-draft__generate-btn {
  padding: 12px 24px;
  font-size: 0.85rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--sc-primary) 0%, var(--sc-primary-light) 100%);
  color: white;
  border: none;
  border-radius: 12px;
  cursor: default;
  box-shadow: 0 4px 16px rgba(0, 119, 182, 0.3);
  position: relative;
}
.showcase-draft--residency .showcase-draft__generate-btn {
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}
.showcase-draft--residency .showcase-draft__qa-btn--active,
.showcase-draft--residency .showcase-draft__panel-title {
  color: #7c3aed;
}
.showcase-draft--residency .showcase-draft__qa-btn--active {
  background: rgba(124, 58, 237, 0.08);
  border-color: #7c3aed;
}
.showcase-draft--residency .showcase-draft__panel-btn--apply {
  background: #7c3aed;
  border-color: #7c3aed;
}
.showcase-draft__cursor {
  position: absolute;
  width: 24px;
  height: 24px;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.showcase-draft__cursor-img {
  display: block;
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.25));
  pointer-events: none;
}
/* Generate cursor: Mac arrow */
.showcase-draft__cursor--generate {
  border: none;
  background: transparent;
}
/* Panel cursor: Mac pointer hand */
.showcase-draft__cursor--panel {
  border: none;
  background: transparent;
  opacity: 0;
}
.showcase-draft__cursor--click {
  transform: scale(0.88) !important;
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}
.showcase-draft__panel--cursor-active .showcase-draft__cursor--panel {
  animation: none;
}
.showcase-draft__cursor--generate {
  top: 50%;
  left: 50%;
  margin-left: 60px;
  margin-top: -12px;
  animation: showcase-cursor-click-generate 12s ease-in-out forwards;
}
@keyframes showcase-cursor-click-generate {
  0%, 15% { opacity: 1; transform: scale(1); }
  18% { opacity: 1; transform: scale(0.85); }
  21% { opacity: 1; transform: scale(1); }
  25% { opacity: 0; }
  100% { opacity: 0; }
}
.showcase-draft__editor-step {
  display: flex;
  flex: 1;
  min-height: 380px;
  opacity: 0;
  animation: showcase-editor-fade-in 12s ease-in-out forwards;
}
.showcase-draft--editor-only .showcase-draft__editor-step {
  opacity: 1;
  animation: none;
}
.showcase-draft--editor-only .showcase-draft__editor-sidebar[data-animate],
.showcase-draft--editor-only .showcase-draft__editor-main[data-animate],
.showcase-draft--editor-only .showcase-draft__editor-panel[data-animate] {
  animation: none;
  opacity: 1;
  transform: none;
}
.showcase-draft--editor-only .showcase-draft__qa-btn {
  animation: none;
  opacity: 1;
  transform: none;
}
.showcase-draft--premium .showcase-draft__editor-step {
  min-height: 340px;
  flex: 1;
}
@keyframes showcase-editor-fade-in {
  0%, 30% { opacity: 0; }
  40% { opacity: 1; }
  100% { opacity: 1; }
}
.showcase-draft__editor-sidebar {
  width: 110px;
  flex-shrink: 0;
  padding: 12px 10px;
  background: #f8fafc;
  border-right: 1px solid var(--sc-border);
  border-radius: 12px 0 0 12px;
}
.showcase-draft__sidebar-title {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--sc-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.showcase-draft__qa-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 8px 10px;
  margin-bottom: 6px;
  font-size: 0.68rem;
  font-weight: 600;
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: 8px;
  color: var(--sc-text-secondary);
  cursor: default;
  transition: all 0.2s ease;
}
.showcase-draft__qa-btn--active {
  background: rgba(0, 119, 182, 0.08);
  border-color: var(--sc-primary);
  color: var(--sc-primary);
}
.showcase-draft__editor-main {
  flex: 1;
  padding: 16px 20px;
  overflow: hidden;
}
.showcase-draft__editor-text {
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--sc-text);
  margin: 0;
}
.showcase-draft__cliche-wrap {
  position: relative;
  padding: 2px 4px;
  border-radius: 4px;
  display: inline;
  vertical-align: baseline;
  line-height: 1.7;
}
.showcase-draft--premium .showcase-draft__cliche-wrap {
  border-radius: 6px;
  padding: 3px 8px;
  transition: background 0.3s ease;
}
.showcase-draft--premium .showcase-draft__cliche-wrap--replaced {
  background: rgba(16, 185, 129, 0.12);
}
.showcase-draft--premium .showcase-draft__cliche-wrap--replaced .showcase-draft__cliche-suggested {
  color: #059669;
  font-weight: 500;
}
.showcase-draft__cliche-original {
  display: inline;
}
.showcase-draft__cliche-suggested {
  position: absolute;
  left: 4px;
  top: 0;
  opacity: 0;
  pointer-events: none;
  display: inline;
  white-space: nowrap;
}
.showcase-draft__cliche-wrap--animated .showcase-draft__cliche-original {
  animation: showcase-cliche-original 12s ease-in-out forwards;
}
.showcase-draft__cliche-wrap--animated .showcase-draft__cliche-suggested {
  animation: showcase-cliche-suggested 12s ease-in-out forwards;
}
.showcase-draft__cliche-wrap--animated {
  animation: showcase-cliche-bg 12s ease-in-out forwards;
}
@keyframes showcase-cliche-bg {
  0%, 35% { background: transparent; }
  45% { background: rgba(245, 54, 92, 0.2); }
  55% { background: rgba(45, 206, 152, 0.25); }
  65%, 85% { background: rgba(45, 206, 152, 0.25); }
  95%, 100% { background: transparent; }
}
@keyframes showcase-cliche-original {
  0%, 35% { opacity: 1; color: inherit; }
  45% { opacity: 1; color: var(--sc-red); }
  52% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes showcase-cliche-suggested {
  0%, 52% { opacity: 0; }
  55% { opacity: 1; color: #059669; }
  65%, 85% { opacity: 1; color: #059669; }
  95%, 100% { opacity: 1; color: inherit; }
}

/* JS class-driven states: override 12s keyframes when initPSEditorCursor runs */
.showcase-draft__cliche-wrap--replaced .showcase-draft__cliche-original,
.showcase-draft__cliche-wrap--replaced .showcase-draft__cliche-suggested,
.showcase-draft__cliche-wrap--approved .showcase-draft__cliche-original,
.showcase-draft__cliche-wrap--approved .showcase-draft__cliche-suggested {
  animation: none;
}
.showcase-draft__cliche-wrap--replaced {
  animation: none;
  background: rgba(45, 206, 152, 0.25);
}
.showcase-draft__cliche-wrap--replaced .showcase-draft__cliche-original {
  opacity: 0;
  position: absolute;
  pointer-events: none;
}
.showcase-draft__cliche-wrap--replaced .showcase-draft__cliche-suggested {
  opacity: 1;
  color: #059669;
  position: static;
}
.showcase-draft__cliche-wrap--approved {
  animation: none;
  background: transparent;
  min-width: 0;
}
.showcase-draft__cliche-wrap--approved .showcase-draft__cliche-original {
  opacity: 0;
  position: absolute;
  pointer-events: none;
}
.showcase-draft__cliche-wrap--approved .showcase-draft__cliche-suggested {
  opacity: 1;
  color: inherit;
  position: static;
}
.showcase-draft__editor-panel {
  width: 140px;
  flex-shrink: 0;
  padding: 12px 14px;
  background: linear-gradient(135deg, rgba(0, 119, 182, 0.05) 0%, rgba(109, 213, 237, 0.03) 100%);
  border-left: 1px solid var(--sc-border);
  border-radius: 0 12px 12px 0;
  position: relative;
}
.showcase-draft__panel-title {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--sc-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.showcase-draft__panel-original,
.showcase-draft__panel-suggestion {
  font-size: 0.68rem;
  color: var(--sc-text-muted);
  margin-bottom: 6px;
}
.showcase-draft__panel-original span,
.showcase-draft__panel-suggestion span {
  color: var(--sc-text);
  font-weight: 600;
}
.showcase-draft__panel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 8px 12px;
  margin-top: 8px;
  font-size: 0.68rem;
  font-weight: 600;
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: 8px;
  color: var(--sc-text);
  cursor: default;
  transition: all 0.2s ease;
}
.showcase-draft__panel-btn--apply {
  background: var(--sc-primary);
  border-color: var(--sc-primary);
  color: white;
}
.showcase-draft__panel-btn--approve {
  margin-top: 6px;
}
.showcase-draft__cursor--panel {
  top: 50%;
  right: 20px;
  animation: showcase-cursor-panel 12s ease-in-out forwards;
}
@keyframes showcase-cursor-panel {
  0%, 55% { opacity: 0; }
  60% { opacity: 1; transform: scale(1); }
  70% { opacity: 1; transform: scale(0.85); }
  73% { opacity: 1; transform: scale(1); }
  80%, 100% { opacity: 1; }
}

/* ═══════════════════ INTERVIEW — mock interview ═══════════════════ */
.showcase-interview {
  padding: 24px;
  min-height: 400px;
}

/* ═══════════════════ INTERVIEW — compact variant (smaller overall) ═══════════════════ */
.feature-showcase--interview .feature-showcase__stage {
  min-height: 280px;
}
.showcase-interview--compact {
  padding: 0;
  min-height: 0;
}
.showcase-interview--compact .showcase-interview__call-frame {
  padding: 12px 14px;
  border-radius: 12px;
}
.showcase-interview--compact .showcase-interview__call-header {
  margin-bottom: 10px;
  padding-bottom: 8px;
}
.showcase-interview--compact .showcase-interview__call-school {
  font-size: 0.65rem;
}
.showcase-interview--compact .showcase-interview__monitor {
  font-size: 0.55rem;
  padding: 3px 8px;
}
.showcase-interview--compact .showcase-interview__layout {
  gap: 10px;
  min-height: 0;
}
.showcase-interview--compact .showcase-interview__main {
  gap: 8px;
}
.showcase-interview--compact .showcase-interview__question {
  font-size: 0.72rem;
  padding: 8px 12px;
  border-radius: 10px;
  border-left-width: 3px;
}
.showcase-interview--compact .showcase-interview__mode-tab {
  padding: 4px 10px;
  font-size: 0.6rem;
  border-radius: 6px;
}
.showcase-interview--compact .showcase-interview__recording {
  padding: 10px 12px;
  border-radius: 10px;
  gap: 10px;
}
.showcase-interview--compact .showcase-interview__transcription-label {
  font-size: 0.52rem;
  margin-bottom: 4px;
}
.showcase-interview--compact .showcase-interview__transcription {
  font-size: 0.68rem;
  line-height: 1.45;
  min-height: 1.8em;
}
.showcase-interview--compact .showcase-interview__view-feedback {
  margin-top: 10px;
  padding: 8px 12px;
  font-size: 0.65rem;
}
.showcase-interview--compact .showcase-interview__live-badge {
  top: 8px;
  right: 8px;
  padding: 3px 8px;
  font-size: 0.52rem;
}

/* ═══════════════════ INTERVIEW — enhanced layout (question, AI avatar, mic + timer, you) ═══════════════════ */
.showcase-interview__layout {
  display: flex;
  gap: 16px;
  min-height: 320px;
}
.showcase-interview__ai-side {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.showcase-interview__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 119, 182, 0.2);
  animation: showcase-avatar-float 3s ease-in-out infinite;
}
.showcase-interview__avatar--ai {
  background: linear-gradient(135deg, var(--sc-primary) 0%, var(--sc-primary-light) 100%);
}
.showcase-interview__avatar--ai lottie-player {
  width: 64px !important;
  height: 64px !important;
}
.showcase-interview__avatar--lady {
  background: transparent;
  padding: 0;
}
.showcase-interview__avatar--lady img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.showcase-interview--compact .showcase-interview__avatar {
  width: 48px;
  height: 48px;
}
.showcase-interview--compact .showcase-interview__avatar-ring {
  inset: -3px;
}
.showcase-interview--compact .showcase-interview__avatar-label {
  font-size: 0.52rem;
}
.showcase-interview__avatar--you {
  background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
  color: white;
  font-size: 1.5rem;
}
.showcase-interview--compact .showcase-interview__avatar--you {
  font-size: 1rem;
}
.showcase-interview__avatar-label {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--sc-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.showcase-interview__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.showcase-interview__question {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sc-text);
  line-height: 1.45;
  margin: 0;
  padding: 12px 16px;
  background: #f8fafc;
  border-radius: 12px;
  border-left: 4px solid var(--sc-primary);
  animation: showcase-question-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.dl3[data-journey-mode="residency"] .showcase-interview__question {
  border-left-color: #7c3aed;
}
.showcase-interview__mode-tabs {
  display: flex;
  gap: 6px;
}
.showcase-interview__mode-tab {
  padding: 6px 12px;
  font-size: 0.7rem;
  font-weight: 600;
  border: 1px solid var(--sc-border);
  border-radius: 8px;
  background: var(--sc-surface);
  color: var(--sc-text-muted);
  cursor: default;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.showcase-interview__mode-tab--active {
  background: rgba(0, 119, 182, 0.1);
  border-color: var(--sc-primary);
  color: var(--sc-primary);
}
.dl3[data-journey-mode="residency"] .showcase-interview__mode-tab--active {
  background: rgba(124, 58, 237, 0.1);
  border-color: #7c3aed;
  color: #7c3aed;
}
.showcase-interview__recording {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #fef2f2 0%, #fff7ed 100%);
  border: 2px dashed var(--sc-orange);
  border-radius: 14px;
  animation: showcase-recording-pulse 2.5s ease-in-out infinite;
}
.showcase-interview__recording--voice {
  flex-direction: row;
  align-items: flex-start;
}
.showcase-interview__recording-mic {
  flex-shrink: 0;
}
.showcase-interview__transcription-wrap {
  flex: 1;
  min-width: 0;
}
.showcase-interview__transcription-label {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--sc-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.showcase-interview__transcription {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--sc-text);
  margin: 0;
  min-height: 2.25em;
}
.showcase-interview__transcription .showcase-interview__transcription-word {
  opacity: 0;
  animation: showcase-transcription-word-in 0.3s ease forwards;
}
.showcase-interview__recording-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  flex-wrap: wrap;
}
@keyframes showcase-transcription-word-in {
  to { opacity: 1; }
}
.showcase-interview__recording-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sc-red);
  animation: showcase-pulse 1.2s ease-in-out infinite;
  flex-shrink: 0;
}
.showcase-interview__recording-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--sc-text);
}
.showcase-interview__recording-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 20px;
}
.showcase-interview__recording-wave span {
  width: 4px;
  height: 8px;
  background: var(--sc-primary);
  border-radius: 2px;
  animation: showcase-wave 1s ease-in-out infinite;
}
.showcase-interview__recording-wave span:nth-child(1) { animation-delay: 0s; height: 6px; }
.showcase-interview__recording-wave span:nth-child(2) { animation-delay: 0.1s; height: 12px; }
.showcase-interview__recording-wave span:nth-child(3) { animation-delay: 0.2s; height: 16px; }
.showcase-interview__recording-wave span:nth-child(4) { animation-delay: 0.3s; height: 10px; }
.showcase-interview__recording-wave span:nth-child(5) { animation-delay: 0.4s; height: 8px; }
.showcase-interview__you-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  align-self: flex-end;
}
@keyframes showcase-avatar-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes showcase-question-in {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ═══════════════════ INTERVIEW — premium billion-dollar feel ═══════════════════ */
.showcase-interview--premium {
  padding: 0;
  overflow: hidden;
}
.showcase-interview--premium .showcase-interview__call-frame {
  position: relative;
  background: linear-gradient(165deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  border-radius: 16px;
  padding: 20px;
  overflow: hidden;
}
.showcase-interview__call-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.showcase-interview__call-school {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: showcase-slide-down 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.showcase-interview__call-school i {
  color: var(--sc-cyan);
  font-size: 0.7rem;
}
.showcase-interview__call-school--residency i {
  color: #a78bfa;
}
.showcase-interview__monitors {
  display: flex;
  align-items: center;
  gap: 12px;
}
.showcase-interview__monitor {
  font-size: 0.6rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  animation: showcase-monitor-pulse 2.5s ease-in-out infinite;
}
.showcase-interview__monitor--words { animation-delay: 0s; }
.showcase-interview__monitor--gesture { animation-delay: 0.3s; }
.showcase-interview__monitor i {
  color: var(--sc-cyan);
  font-size: 0.55rem;
}
@keyframes showcase-monitor-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(109, 213, 237, 0); }
  50% { opacity: 0.9; box-shadow: 0 0 8px 1px rgba(109, 213, 237, 0.15); }
}
@keyframes showcase-slide-down {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.showcase-interview__view-feedback {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 14px;
  padding: 10px 16px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--sc-primary);
  background: rgba(0, 119, 182, 0.12);
  border: 1px solid rgba(0, 119, 182, 0.3);
  border-radius: 10px;
  cursor: default;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  animation: showcase-row-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}
.showcase-interview__view-feedback:hover {
  background: rgba(0, 119, 182, 0.2);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 119, 182, 0.2);
}
.showcase-interview__view-feedback--residency {
  color: #a78bfa;
  background: rgba(124, 58, 237, 0.12);
  border-color: rgba(124, 58, 237, 0.3);
}
.showcase-interview__view-feedback--residency:hover {
  background: rgba(124, 58, 237, 0.2);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}
.showcase-interview--premium .showcase-interview__call-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 119, 182, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.showcase-interview__live-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  font-size: 0.6rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.showcase-interview__live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sc-red);
  animation: showcase-pulse 1.2s ease-in-out infinite;
}
.showcase-interview__avatar-wrap {
  position: relative;
}
.showcase-interview__avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(0, 119, 182, 0.4);
  opacity: 0.6;
  animation: showcase-ring-pulse 2.5s ease-in-out infinite;
}
.showcase-interview__avatar-ring--you {
  border-color: rgba(148, 163, 184, 0.5);
}
.dl3[data-journey-mode="residency"] .showcase-interview__avatar-ring {
  border-color: rgba(167, 139, 250, 0.5);
}
@keyframes showcase-ring-pulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.05); opacity: 0.7; }
}
.showcase-interview--premium .showcase-interview__avatar {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 8px 32px -8px rgba(0, 0, 0, 0.5);
}
.showcase-interview--premium .showcase-interview__avatar--lady {
  background: transparent;
}
.showcase-interview--premium .showcase-interview__avatar-label {
  color: rgba(255, 255, 255, 0.6);
}
.showcase-interview--premium .showcase-interview__question {
  background: rgba(255, 255, 255, 0.06);
  border-left-color: var(--sc-primary);
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.dl3[data-journey-mode="residency"] .showcase-interview--premium .showcase-interview__question {
  border-left-color: #a78bfa;
}
.showcase-interview--premium .showcase-interview__recording {
  background: linear-gradient(135deg, rgba(254, 242, 242, 0.15) 0%, rgba(255, 247, 237, 0.1) 100%);
  border: 1px solid rgba(255, 126, 95, 0.3);
  box-shadow: 0 0 20px -8px rgba(255, 126, 95, 0.2);
}
.showcase-interview--premium .showcase-interview__recording-text {
  color: rgba(255, 255, 255, 0.9);
}
.showcase-interview--premium .showcase-interview__transcription-label {
  color: rgba(255, 255, 255, 0.6);
}
.showcase-interview--premium .showcase-interview__transcription {
  color: rgba(255, 255, 255, 0.95);
}
.showcase-interview--premium .showcase-interview__mode-tab {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}
.showcase-interview--premium .showcase-interview__mode-tab--active {
  background: rgba(0, 119, 182, 0.2);
  border-color: var(--sc-cyan);
  color: var(--sc-cyan);
}
.dl3[data-journey-mode="residency"] .showcase-interview--premium .showcase-interview__mode-tab--active {
  background: rgba(124, 58, 237, 0.2);
  border-color: #a78bfa;
  color: #a78bfa;
}
.showcase-interview--premium .showcase-interview__recording-wave span {
  background: linear-gradient(180deg, var(--sc-cyan), var(--sc-primary));
}
.showcase-interview__question {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--sc-text);
  line-height: 1.5;
  margin-bottom: 24px;
}
.showcase-interview__recording {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #fef2f2 0%, #fff7ed 100%);
  border: 2px dashed var(--sc-orange);
  border-radius: 14px;
  margin-bottom: 20px;
  animation: showcase-recording-pulse 2.5s ease-in-out infinite;
}
.showcase-interview__recording-mic {
  flex-shrink: 0;
}
.showcase-interview__recording-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}
.showcase-interview__recording-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sc-red);
  animation: showcase-pulse 1.2s ease-in-out infinite;
  flex-shrink: 0;
}
.showcase-interview__recording-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--sc-text);
}
.showcase-interview__recording-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 20px;
}
.showcase-interview__recording-wave span {
  width: 4px;
  height: 8px;
  background: var(--sc-primary);
  border-radius: 2px;
  animation: showcase-wave 1s ease-in-out infinite;
}
.showcase-interview__recording-wave span:nth-child(1) { animation-delay: 0s; height: 6px; }
.showcase-interview__recording-wave span:nth-child(2) { animation-delay: 0.1s; height: 12px; }
.showcase-interview__recording-wave span:nth-child(3) { animation-delay: 0.2s; height: 16px; }
.showcase-interview__recording-wave span:nth-child(4) { animation-delay: 0.3s; height: 10px; }
.showcase-interview__recording-wave span:nth-child(5) { animation-delay: 0.4s; height: 8px; }
.showcase-interview__feedback-tip {
  font-size: 0.68rem;
  color: var(--sc-text-muted);
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.showcase-interview__feedback-tip i { color: var(--sc-orange); }
.showcase-interview__feedback {
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: 12px;
  padding: 16px;
}
.showcase-interview__feedback-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--sc-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.showcase-interview__feedback-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.showcase-interview__feedback-item {
  text-align: center;
  padding: 10px;
  background: #f8fafc;
  border-radius: 8px;
  font-size: 0.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-showcase:hover .showcase-interview__feedback-item:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 119, 182, 0.1);
}
.showcase-interview__feedback-item strong {
  color: var(--sc-primary);
  display: block;
  margin-top: 4px;
}
.showcase-interview__feedback-bar {
  display: block;
  height: 3px;
  background: #e2e8f0;
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 4px;
}
.showcase-interview__feedback-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--sc-primary), var(--sc-cyan));
  border-radius: 100px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-showcase:not(.feature-showcase--visible) .showcase-interview__feedback-bar span { width: 0 !important; }

/* ═══════════════════ TASKS — dashboard task panel ═══════════════════ */
.showcase-tasks {
  padding: 20px;
  min-height: 400px;
}
.showcase-tasks__header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.showcase-tasks__summary {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--sc-text-muted);
}
.showcase-tasks__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--sc-text);
  margin: 0;
}
.showcase-tasks__add {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--sc-primary);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: default;
}
.showcase-tasks__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--sc-border);
  transition: background 0.2s ease, transform 0.2s ease;
  border-radius: 8px;
  padding-left: 12px;
  margin: 0 -12px;
  animation: showcase-row-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.showcase-tasks__item:nth-child(3) { animation-delay: 0.05s; }
.showcase-tasks__item:nth-child(4) { animation-delay: 0.1s; }
.showcase-tasks__item:nth-child(5) { animation-delay: 0.15s; }
.showcase-tasks__item:nth-child(6) { animation-delay: 0.2s; }
.feature-showcase:not(.feature-showcase--visible) .showcase-tasks__item { animation: none; opacity: 0; }
.showcase-tasks__item:hover {
  background: #fafbfd;
  transform: translateX(4px);
}
.showcase-tasks__item:last-child { border-bottom: none; }
.showcase-tasks__check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--sc-border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.feature-showcase:hover .showcase-tasks__item:not(.showcase-tasks__item--done):hover .showcase-tasks__check {
  border-color: var(--sc-primary);
  transform: scale(1.1);
}
.showcase-tasks__item--done .showcase-tasks__check {
  background: var(--sc-green);
  border-color: var(--sc-green);
  color: white;
  font-size: 0.6rem;
  animation: showcase-check-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.showcase-tasks__item--done .showcase-tasks__check::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
}
.showcase-tasks__item--urgent {
  animation: showcase-urgent-pulse 2s ease-in-out infinite;
}
.showcase-tasks__label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--sc-text);
  flex: 1;
}
.showcase-tasks__item--done .showcase-tasks__label {
  color: var(--sc-text-muted);
  text-decoration: line-through;
}
.showcase-tasks__due {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--sc-orange);
}
.showcase-tasks__item--urgent .showcase-tasks__due { color: var(--sc-red); }
.showcase-tasks__progress {
  margin-bottom: 14px;
}
.showcase-tasks__progress-bar {
  display: block;
  height: 6px;
  background: #e2e8f0;
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 6px;
}
.showcase-tasks__progress-fill {
  display: block;
  height: 100%;
  width: 38%;
  background: linear-gradient(90deg, var(--sc-primary), var(--sc-green));
  border-radius: 100px;
  animation: showcase-progress-fill 2s ease-in-out infinite alternate;
}
.showcase-tasks__progress-text {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--sc-text-muted);
}
.showcase-tasks__footer {
  font-size: 0.68rem;
  color: var(--sc-orange);
  font-weight: 600;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--sc-border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.showcase-tasks__footer i { font-size: 0.7rem; }

/* ═══════════════════ TASKS — single-page layout (all schools/programs visible) ═══════════════════ */
.showcase-tasks--single {
  padding: 14px 16px;
}
.showcase-tasks--single .showcase-tasks__header,
.showcase-tasks--single .showcase-tasks__progress { display: none; }
.showcase-tasks--single .showcase-tasks__app-group {
  display: block;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--sc-border);
  animation: showcase-row-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.showcase-tasks--single .showcase-tasks__app-group:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.showcase-tasks--single .showcase-tasks__app-group:nth-child(1) { animation-delay: 0.05s; }
.showcase-tasks--single .showcase-tasks__app-group:nth-child(2) { animation-delay: 0.1s; }
.showcase-tasks--single .showcase-tasks__app-group:nth-child(3) { animation-delay: 0.15s; }
.feature-showcase:not(.feature-showcase--visible) .showcase-tasks--single .showcase-tasks__app-group { animation: none; opacity: 0; }
.showcase-tasks__app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 6px 10px;
  background: rgba(0, 119, 182, 0.06);
  border-radius: 8px;
  border-left: 3px solid var(--sc-primary);
}
.dl3[data-journey-mode="residency"] .showcase-tasks__app-header {
  background: rgba(124, 58, 237, 0.06);
  border-left-color: #7c3aed;
}
.showcase-tasks__app-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--sc-text);
  display: flex;
  align-items: center;
  gap: 6px;
}
.showcase-tasks__app-name i {
  color: var(--sc-primary);
  font-size: 0.7rem;
}
.dl3[data-journey-mode="residency"] .showcase-tasks__app-name i { color: #7c3aed; }
.showcase-tasks__app-progress {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--sc-primary);
}
.dl3[data-journey-mode="residency"] .showcase-tasks__app-progress {
  color: #7c3aed;
}
.showcase-tasks--single .showcase-tasks__item {
  padding: 8px 0 8px 10px;
  margin: 0 -10px;
}
.showcase-tasks--single .showcase-tasks__item .showcase-tasks__label {
  font-size: 0.78rem;
}
.showcase-tasks--single .showcase-tasks__item .showcase-tasks__due {
  font-size: 0.65rem;
}
.showcase-tasks--single .showcase-tasks__footer {
  margin-top: 10px;
  padding-top: 10px;
  font-size: 0.65rem;
}

/* ═══════════════════ TASKS — premium billion-dollar feel ═══════════════════ */
.showcase-tasks--premium {
  padding: 16px 18px;
  background: linear-gradient(180deg, #fafbfd 0%, #f8fafc 100%);
}
.showcase-tasks__summary-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 10px 14px;
  background: var(--sc-surface);
  border-radius: 12px;
  border: 1px solid var(--sc-border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.showcase-tasks__summary-text {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--sc-text);
  flex-shrink: 0;
}
.showcase-tasks__summary-progress {
  flex: 1;
  height: 6px;
  background: #e2e8f0;
  border-radius: 100px;
  overflow: hidden;
}
.showcase-tasks__summary-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--sc-primary), var(--sc-cyan));
  border-radius: 100px;
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-showcase:not(.feature-showcase--visible) .showcase-tasks__summary-fill {
  width: 0 !important;
}
.dl3[data-journey-mode="residency"] .showcase-tasks__summary-fill {
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
}
.showcase-tasks__summary-pct {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--sc-primary);
  flex-shrink: 0;
  min-width: 28px;
  text-align: right;
}
.dl3[data-journey-mode="residency"] .showcase-tasks__summary-pct {
  color: #7c3aed;
}
.showcase-tasks--premium .showcase-tasks__app-header {
  background: var(--sc-surface);
  border-left: 4px solid var(--sc-primary);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  padding: 10px 14px;
}
.dl3[data-journey-mode="residency"] .showcase-tasks--premium .showcase-tasks__app-header {
  border-left-color: #7c3aed;
}
.showcase-tasks__progress-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sc-primary);
  margin-right: 6px;
  vertical-align: middle;
  animation: showcase-pulse 2s ease-in-out infinite;
}
.dl3[data-journey-mode="residency"] .showcase-tasks__progress-dot {
  background: #7c3aed;
}
.showcase-tasks--premium .showcase-tasks__item {
  padding: 10px 12px 10px 14px;
  margin: 0 -14px 0 -12px;
  border-radius: 10px;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.showcase-tasks--premium .showcase-tasks__item:hover {
  background: rgba(0, 119, 182, 0.04);
  box-shadow: inset 4px 0 0 rgba(0, 119, 182, 0.15);
}
.dl3[data-journey-mode="residency"] .showcase-tasks--premium .showcase-tasks__item:hover {
  background: rgba(124, 58, 237, 0.04);
  box-shadow: inset 4px 0 0 rgba(124, 58, 237, 0.15);
}
.showcase-tasks--premium .showcase-tasks__check {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--sc-surface);
  border: 2px solid var(--sc-border);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.feature-showcase:hover .showcase-tasks--premium .showcase-tasks__item:not(.showcase-tasks__item--done):hover .showcase-tasks__check {
  border-color: var(--sc-primary);
  transform: scale(1.08);
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.15);
}
.showcase-tasks--premium .showcase-tasks__item--done .showcase-tasks__check {
  border-radius: 6px;
  background: linear-gradient(135deg, var(--sc-green) 0%, #22c55e 100%);
  border-color: var(--sc-green);
  box-shadow: 0 2px 8px rgba(45, 206, 152, 0.3);
}
.showcase-tasks--premium .showcase-tasks__footer {
  padding: 12px 14px;
  background: linear-gradient(135deg, rgba(0, 119, 182, 0.06) 0%, rgba(109, 213, 237, 0.04) 100%);
  border: 1px solid rgba(0, 119, 182, 0.1);
  border-radius: 10px;
  font-size: 0.68rem;
}
.dl3[data-journey-mode="residency"] .showcase-tasks--premium .showcase-tasks__footer {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.06) 0%, rgba(167, 139, 250, 0.04) 100%);
  border-color: rgba(124, 58, 237, 0.1);
}

/* ═══════════════════ TASKS — 2+1 grid + animated promo ═══════════════════ */
.showcase-tasks--grid {
  padding: 14px 16px;
  min-height: 280px;
}
.showcase-tasks--grid .showcase-tasks__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}
.showcase-tasks--grid .showcase-tasks__app-group--compact {
  display: block;
  padding: 10px 12px;
  background: var(--sc-surface);
  border-radius: 12px;
  border: 1px solid var(--sc-border);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  animation: showcase-row-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.showcase-tasks--grid .showcase-tasks__app-group--compact:nth-child(1) { animation-delay: 0.05s; }
.showcase-tasks--grid .showcase-tasks__app-group--compact:nth-child(2) { animation-delay: 0.1s; }
.showcase-tasks--grid .showcase-tasks__app-group--compact:nth-child(3) { animation-delay: 0.15s; }
.showcase-tasks--grid .showcase-tasks__promo { animation-delay: 0.2s; }
.feature-showcase:not(.feature-showcase--visible) .showcase-tasks--grid .showcase-tasks__app-group--compact { animation: none; opacity: 0; }
.showcase-tasks--grid .showcase-tasks__app-group--compact .showcase-tasks__app-header {
  margin-bottom: 6px;
  padding: 6px 0;
  background: transparent;
  border-left: none;
  box-shadow: none;
}
.showcase-tasks--grid .showcase-tasks__app-group--compact .showcase-tasks__item {
  padding: 6px 0 6px 0;
  margin: 0;
}
.showcase-tasks--grid .showcase-tasks__app-group--compact .showcase-tasks__item .showcase-tasks__label {
  font-size: 0.72rem;
}
.showcase-tasks--grid .showcase-tasks__app-group--compact .showcase-tasks__item .showcase-tasks__due {
  font-size: 0.62rem;
}
.showcase-tasks__promo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(0, 119, 182, 0.08) 0%, rgba(109, 213, 237, 0.05) 100%);
  border: 1px dashed rgba(0, 119, 182, 0.25);
  border-radius: 12px;
  animation: showcase-promo-pulse 3s ease-in-out infinite;
}
.showcase-tasks__promo--residency {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(167, 139, 250, 0.05) 100%);
  border-color: rgba(124, 58, 237, 0.25);
}
@keyframes showcase-promo-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 119, 182, 0.1); }
  50% { opacity: 0.95; box-shadow: 0 0 12px 2px rgba(0, 119, 182, 0.08); }
}
.showcase-tasks__promo-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.showcase-tasks__promo-inner i {
  font-size: 1.2rem;
  color: var(--sc-primary);
  margin-bottom: 2px;
}
.showcase-tasks__promo--residency .showcase-tasks__promo-inner i { color: #7c3aed; }
.showcase-tasks__promo-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--sc-text);
}
.showcase-tasks__promo-desc {
  font-size: 0.65rem;
  color: var(--sc-text-muted);
}

/* Keyframes */
@keyframes showcase-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes showcase-slide-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes showcase-slide-in-right {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes showcase-scale-in {
  from { opacity: 0; transform: scale(0.88); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes showcase-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.7; }
}
@keyframes showcase-progress-fill {
  from { opacity: 0.85; }
  to { opacity: 1; }
}
@keyframes showcase-typing-bounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
  40% { transform: scale(1); opacity: 1; }
}
@keyframes showcase-wave {
  0%, 100% { transform: scaleY(0.5); }
  50% { transform: scaleY(1); }
}
@keyframes showcase-metric-in {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes showcase-row-in {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes showcase-card-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes showcase-bubble-in {
  from { opacity: 0; transform: scale(0.9) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes showcase-cursor-blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}
@keyframes showcase-highlight-pulse {
  0%, 100% { background: linear-gradient(120deg, rgba(0,119,182,.12) 0%, rgba(33,147,176,.08) 100%); }
  50% { background: linear-gradient(120deg, rgba(0,119,182,.16) 0%, rgba(33,147,176,.12) 100%); }
}
@keyframes showcase-recording-pulse {
  0%, 100% { border-color: rgba(255, 126, 95, 0.5); }
  50% { border-color: var(--sc-orange); }
}
@keyframes showcase-check-pop {
  0% { transform: scale(0.8); opacity: 0.5; }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes showcase-urgent-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.92; }
}

/* Visibility-driven animations */
.feature-showcase:not(.feature-showcase--visible) [data-animate] {
  opacity: 0;
  transform: translateY(10px);
  animation: none !important;
}
.feature-showcase.feature-showcase--visible [data-animate] {
  opacity: 1;
  transform: none;
}

.feature-showcase--draft .feature-showcase__stage {
  min-height: 400px;
}

/* ═══════════════════ PREMIUM EDITOR — Revamped design system ═══════════════════ */
.feature-showcase__stage--premium-editor {
  --ps-primary: #0f172a;
  --ps-cta: #2563eb;
  --ps-cta-hover: #1d4ed8;
  --ps-border: #e2e8f0;
  --ps-surface: #ffffff;
  --ps-bg-alt: #f8fafc;
  --ps-bg-warm: #fefaf8;
  --ps-text: #0f172a;
  --ps-text-secondary: #334155;
  --ps-text-muted: #64748b;
  --ps-soft-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  --ps-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.06), 0 12px 28px -8px rgba(15, 23, 42, 0.08);
  --ps-shadow-hover: 0 20px 40px -12px rgba(15, 23, 42, 0.1);
  --ps-radius: 0.75rem;
  --ps-radius-sm: 0.5rem;
  --ps-transition: 250ms cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.05), 0 10px 40px -12px rgba(15, 23, 42, 0.12);
  border-radius: 14px;
  overflow: hidden;
}
.feature-showcase--editor-mock:hover .feature-showcase__stage--premium-editor {
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.06), 0 14px 48px -12px rgba(15, 23, 42, 0.14);
}
.feature-showcase--editor-mock .feature-showcase__stage--premium-editor {
  max-width: 500px;
  margin: 0 auto;
}
.showcase-draft--premium {
  background: var(--ps-surface);
  border-radius: 14px;
  overflow: hidden;
}
/* Window chrome — macOS-style */
.showcase-draft__window-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
  border-bottom: 1px solid var(--ps-border);
  flex-shrink: 0;
}
.showcase-draft__chrome-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.showcase-draft__chrome-dot--red { background: #ff5f57; }
.showcase-draft__chrome-dot--yellow { background: #febc2e; }
.showcase-draft__chrome-dot--green { background: #28c840; }
.showcase-draft__chrome-title {
  flex: 1;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ps-text-muted);
  letter-spacing: 0.02em;
}
.showcase-draft--premium .showcase-draft__generate-step {
  background: linear-gradient(180deg, var(--ps-bg-warm) 0%, var(--ps-surface) 100%);
  border-radius: 0;
  padding: 32px 24px;
}
.showcase-draft--premium .showcase-draft__mining-done {
  font-size: 0.8rem;
  font-weight: 600;
  color: #059669;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.showcase-draft--premium .showcase-draft__mining-done i {
  font-size: 0.9rem;
  color: #10b981;
}
.showcase-draft--premium .showcase-draft__generate-btn {
  padding: 14px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--ps-primary) 0%, #1e293b 100%);
  color: white;
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15), 0 4px 12px rgba(15, 23, 42, 0.08);
  transition: box-shadow var(--ps-transition), transform var(--ps-transition);
}
.showcase-draft--premium .showcase-draft__generate-btn:hover {
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.2), 0 8px 24px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}
.showcase-draft--premium.showcase-draft--residency .showcase-draft__generate-btn {
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.15), 0 4px 12px rgba(99, 102, 241, 0.1);
}
.showcase-draft--premium.showcase-draft--residency .showcase-draft__generate-btn:hover {
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.15), 0 8px 24px rgba(99, 102, 241, 0.2);
}
.showcase-draft--premium .showcase-draft__editor-step {
  background: var(--ps-surface);
}
.showcase-draft--premium .showcase-draft__editor-sidebar {
  width: 108px;
  display: flex;
  flex-direction: column;
  padding: 16px 12px;
  background: var(--ps-bg-alt);
  border-right: 1px solid var(--ps-border);
  border-radius: 0;
  gap: 6px;
}
.showcase-draft--premium .showcase-draft__sidebar-title {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--ps-text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.showcase-draft--premium .showcase-draft__qa-btn {
  padding: 8px 12px;
  font-size: 0.68rem;
  font-weight: 500;
  background: var(--ps-surface);
  border: 1px solid var(--ps-border);
  border-radius: 8px;
  color: var(--ps-text-muted);
  transition: all var(--ps-transition);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02);
}
.showcase-draft--premium .showcase-draft__qa-btn--active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0.04) 100%);
  border-color: rgba(37, 99, 235, 0.3);
  color: var(--ps-cta);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.08);
}
.showcase-draft--premium.showcase-draft--residency .showcase-draft__qa-btn--active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(99, 102, 241, 0.04) 100%);
  border-color: rgba(99, 102, 241, 0.3);
  color: #6366f1;
}
.showcase-draft--premium .showcase-draft__editor-main {
  padding: 20px 24px;
  background: var(--ps-surface);
  border: none;
}
.showcase-draft--premium .showcase-draft__editor-text {
  font-size: 0.82rem;
  line-height: 1.75;
  color: var(--ps-text);
  letter-spacing: 0.01em;
}
.showcase-draft--premium .showcase-draft__editor-panel {
  width: 140px;
  padding: 16px 14px;
  background: linear-gradient(135deg, #fefaf8 0%, #f8fafc 100%);
  border-left: 1px solid var(--ps-border);
  border-radius: 0;
  box-shadow: -4px 0 16px -8px rgba(15, 23, 42, 0.06);
}
.showcase-draft--premium .showcase-draft__panel-title {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--ps-cta);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ps-border);
}
.showcase-draft--premium.showcase-draft--residency .showcase-draft__panel-title {
  color: #6366f1;
}
.showcase-draft--premium .showcase-draft__panel-original,
.showcase-draft--premium .showcase-draft__panel-suggestion {
  font-size: 0.65rem;
  color: var(--ps-text-muted);
  margin-bottom: 8px;
  line-height: 1.4;
}
.showcase-draft--premium .showcase-draft__panel-original span,
.showcase-draft--premium .showcase-draft__panel-suggestion span {
  color: var(--ps-text-secondary);
  font-weight: 600;
}
.showcase-draft--premium .showcase-draft__panel-btn {
  padding: 10px 14px;
  font-size: 0.68rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all var(--ps-transition);
  margin-top: 10px;
}
.showcase-draft--premium .showcase-draft__panel-btn--apply {
  background: linear-gradient(135deg, var(--ps-cta) 0%, var(--ps-cta-hover) 100%);
  border: none;
  color: white;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}
.showcase-draft--premium.showcase-draft--residency .showcase-draft__panel-btn--apply {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  box-shadow: 0 2px 6px rgba(99, 102, 241, 0.25);
}
.showcase-draft--premium .showcase-draft__panel-btn--approve {
  background: var(--ps-surface);
  border: 1px solid var(--ps-border);
  color: var(--ps-text);
  margin-top: 4px;
}
.showcase-draft--premium .showcase-draft__cursor--panel svg {
  stroke: var(--ps-cta);
}
.showcase-draft--premium.showcase-draft--residency .showcase-draft__cursor--panel svg {
  stroke: #6366f1;
}

.feature-showcase--interview {
  max-width: 420px;
}

/* ═══════════════════ PS EDITOR MOCK — Responsive + Enhanced animations ═══════════════════ */
/* Responsive: mobile-first */
.feature-showcase--editor-mock .feature-showcase__stage--premium-editor {
  max-width: 100%;
  min-height: 320px;
  overflow: hidden;
}
.showcase-draft--premium.showcase-draft--editor {
  min-height: 320px;
}
.showcase-draft--premium .showcase-draft__editor-step {
  min-height: 280px;
  overflow: hidden;
}
@media (max-width: 480px) {
  .feature-showcase--editor-mock .feature-showcase__stage--premium-editor {
    max-width: 100%;
    min-height: 400px;
  }
  .showcase-draft__window-chrome {
    padding: 8px 12px;
  }
  .showcase-draft__chrome-title {
    font-size: 0.65rem;
  }
  .showcase-draft--premium .showcase-draft__generate-step {
    top: 36px;
    padding: 24px 16px;
  }
  .showcase-draft--premium .showcase-draft__editor-step {
    flex-direction: column;
    min-height: 360px;
  }
  .showcase-draft--premium .showcase-draft__editor-sidebar {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px 14px;
    border-right: none;
    border-bottom: 1px solid var(--ps-border);
  }
  .showcase-draft--premium .showcase-draft__sidebar-title {
    width: 100%;
    margin-bottom: 4px;
  }
  .showcase-draft--premium .showcase-draft__qa-btn {
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
  }
  .showcase-draft--premium .showcase-draft__editor-main {
    flex: 1;
    padding: 16px 18px;
    min-width: 0;
  }
  .showcase-draft--premium .showcase-draft__editor-text {
    font-size: 0.78rem;
  }
  .showcase-draft--premium .showcase-draft__editor-panel {
    width: 100%;
    padding: 14px 16px;
    border-left: none;
    border-top: 1px solid var(--ps-border);
    box-shadow: 0 -4px 16px -8px rgba(15, 23, 42, 0.06);
  }
  .showcase-draft--premium .showcase-draft__mining-done {
    font-size: 0.78rem;
  }
  .showcase-draft--premium .showcase-draft__generate-btn {
    padding: 12px 24px;
    font-size: 0.85rem;
  }
}
@media (min-width: 481px) and (max-width: 640px) {
  .showcase-draft--premium .showcase-draft__editor-sidebar {
    width: 90px;
    padding: 12px 10px;
  }
  .showcase-draft--premium .showcase-draft__editor-panel {
    width: 120px;
    padding: 12px 10px;
  }
  .showcase-draft--premium .showcase-draft__editor-main {
    padding: 14px 16px;
  }
  .showcase-draft--premium .showcase-draft__editor-text {
    font-size: 0.75rem;
  }
}
@media (min-width: 641px) {
  .feature-showcase--editor-mock .feature-showcase__stage--premium-editor {
    max-width: 500px;
  }
}

/* Enhanced animations — smoother easing, staggered entrance */
.showcase-draft--premium .showcase-draft__generate-step {
  animation: ps-generate-fade-out 12s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes ps-generate-fade-out {
  0%, 22% { opacity: 1; z-index: 1; transform: scale(1); }
  28% { opacity: 0; z-index: 0; pointer-events: none; transform: scale(0.98); }
  100% { opacity: 0; z-index: 0; pointer-events: none; transform: scale(0.98); }
}
.showcase-draft--premium .showcase-draft__mining-done {
  animation: ps-mining-pop 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}
@keyframes ps-mining-pop {
  from { opacity: 0; transform: translateY(8px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.showcase-draft--premium .showcase-draft__generate-btn {
  animation: ps-btn-pop 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both;
}
@keyframes ps-btn-pop {
  from { opacity: 0; transform: translateY(12px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.showcase-draft--premium .showcase-draft__editor-step {
  animation: ps-editor-fade-in 12s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes ps-editor-fade-in {
  0%, 28% { opacity: 0; }
  35% { opacity: 1; }
  100% { opacity: 1; }
}
.showcase-draft--premium .showcase-draft__editor-sidebar[data-animate] {
  animation: ps-sidebar-slide 0.5s cubic-bezier(0.16, 1, 0.3, 1) 3.5s both;
}
@keyframes ps-sidebar-slide {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}
.showcase-draft--premium .showcase-draft__editor-main[data-animate] {
  animation: ps-main-fade 0.45s cubic-bezier(0.16, 1, 0.3, 1) 3.65s both;
}
@keyframes ps-main-fade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.showcase-draft--premium .showcase-draft__editor-panel[data-animate] {
  animation: ps-panel-slide 0.45s cubic-bezier(0.16, 1, 0.3, 1) 3.8s both;
}
@keyframes ps-panel-slide {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}
/* Editor-only: skip generate step, show content immediately (no white screen) */
.showcase-draft--editor-only.showcase-draft--premium .showcase-draft__editor-step {
  animation: none;
  opacity: 1;
}
.showcase-draft--editor-only.showcase-draft--premium .showcase-draft__editor-sidebar[data-animate],
.showcase-draft--editor-only.showcase-draft--premium .showcase-draft__editor-main[data-animate],
.showcase-draft--editor-only.showcase-draft--premium .showcase-draft__editor-panel[data-animate] {
  animation: none;
  opacity: 1;
  transform: none;
}
.showcase-draft--editor-only.showcase-draft--premium .showcase-draft__qa-btn {
  animation: none;
  opacity: 1;
  transform: none;
}
.feature-showcase:not(.feature-showcase--visible) .showcase-draft--premium .showcase-draft__editor-sidebar[data-animate],
.feature-showcase:not(.feature-showcase--visible) .showcase-draft--premium .showcase-draft__editor-main[data-animate],
.feature-showcase:not(.feature-showcase--visible) .showcase-draft--premium .showcase-draft__editor-panel[data-animate] {
  animation: none;
  opacity: 0;
}
/* Cursor smooth movement */
.showcase-draft__cursor--panel {
  transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1), top 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, transform 0.2s ease;
}
/* Cliché replacement — smoother transition */
.showcase-draft--premium .showcase-draft__cliche-wrap--replaced {
  transition: background 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.showcase-draft--premium .showcase-draft__cliche-wrap--replaced .showcase-draft__cliche-suggested {
  transition: color 0.3s ease;
}
.showcase-draft--premium .showcase-draft__cliche-wrap--approved {
  transition: background 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Staggered sidebar buttons on visible */
.feature-showcase--visible .showcase-draft--premium .showcase-draft__qa-btn {
  animation: ps-qa-btn-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.feature-showcase--visible .showcase-draft--premium .showcase-draft__qa-btn:nth-child(2) { animation-delay: 3.6s; }
.feature-showcase--visible .showcase-draft--premium .showcase-draft__qa-btn:nth-child(3) { animation-delay: 3.65s; }
.feature-showcase--visible .showcase-draft--premium .showcase-draft__qa-btn:nth-child(4) { animation-delay: 3.7s; }
.feature-showcase--visible .showcase-draft--premium .showcase-draft__qa-btn:nth-child(5) { animation-delay: 3.75s; }
.feature-showcase--visible .showcase-draft--premium .showcase-draft__qa-btn:nth-child(6) { animation-delay: 3.8s; }
.feature-showcase--visible .showcase-draft--premium .showcase-draft__qa-btn:nth-child(7) { animation-delay: 3.85s; }
.feature-showcase--visible .showcase-draft--premium .showcase-draft__qa-btn:nth-child(8) { animation-delay: 3.9s; }
.feature-showcase--visible .showcase-draft--premium .showcase-draft__qa-btn:nth-child(9) { animation-delay: 3.95s; }
@keyframes ps-qa-btn-in {
  from { opacity: 0; transform: translateX(-6px); }
  to { opacity: 1; transform: translateX(0); }
}
.feature-showcase:not(.feature-showcase--visible) .showcase-draft--premium .showcase-draft__qa-btn {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .device-frame { opacity: 1; transform: none; animation: none; }
  .device-frame--macbook:hover,
  .device-frame--ipad:hover { transform: none; }
  .feature-showcase__stage { transition: none; }
  .feature-showcase:hover .feature-showcase__stage,
  .feature-showcase--editor-mock:hover .feature-showcase__stage--premium-editor { transform: none; }
  .showcase-draft__generate-step,
  .showcase-draft--premium .showcase-draft__generate-step { animation: none; opacity: 0; pointer-events: none; }
  .showcase-draft__editor-step,
  .showcase-draft--premium .showcase-draft__editor-step { animation: none; opacity: 1; }
  .showcase-draft--premium .showcase-draft__mining-done,
  .showcase-draft--premium .showcase-draft__generate-btn,
  .showcase-draft--premium .showcase-draft__editor-sidebar[data-animate],
  .showcase-draft--premium .showcase-draft__editor-main[data-animate],
  .showcase-draft--premium .showcase-draft__editor-panel[data-animate],
  .showcase-draft--premium .showcase-draft__qa-btn { animation: none; }
  .showcase-draft__cursor--panel { transition: none; }
  .showcase-draft__cursor { display: none; }
  .showcase-draft__cliche-wrap--animated,
  .showcase-draft__cliche-wrap--animated .showcase-draft__cliche-original,
  .showcase-draft__cliche-wrap--animated .showcase-draft__cliche-suggested { animation: none; }
  .showcase-draft__cliche-original { opacity: 0; }
  .showcase-draft__cliche-suggested { opacity: 1; color: inherit; }
  .showcase-interview__transcription .showcase-interview__transcription-word {
    animation: none;
    opacity: 1;
  }
  .showcase-interview__recording-dot,
  .showcase-interview__live-dot,
  .showcase-interview__avatar,
  .showcase-interview__avatar-ring,
  .showcase-explorer__row-heart--active i,
  .showcase-chat__typing-dots span,
  .showcase-chat__stage-progress-fill,
  .showcase-draft__score-bar-fill,
  .showcase-kanban__card-progress-fill,
  .showcase-tasks__progress-fill,
  .showcase-tasks__progress-dot,
  .showcase-interview__recording-wave span,
  .showcase-draft__highlight,
  .showcase-interview__recording,
  .showcase-tasks__item--urgent,
  .showcase-chat__input-wrap::after { animation: none; }
  .showcase-fit__metric--anim { animation: none; }
  .showcase-explorer__row,
  .showcase-kanban__card,
  .showcase-kanban__col,
  .showcase-chat__bubble,
  .showcase-tasks__item { animation: none; }
}
