/* Hero mock: scoped copy of extension panel chrome (dark, in-call). */

.mf-panel.mf-panel--product {
  --mf-panel-top-gap: 50px;
  width: 300px;
  min-width: 260px;
  max-width: min(300px, calc(100% - 24px));
  max-height: calc(100% - var(--mf-panel-top-gap) - 12px);
  height: auto;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
  font-size: 13px;
  top: var(--mf-panel-top-gap);
  transform: translateX(-50%);
  transform-origin: center top;
}

.mf-panel--product #mm-panel {
  --accent: #818cf8;
  --accent-2: #a5b0ff;
  --accent-soft: rgba(129, 140, 248, 0.16);
  --accent-strong: #6366f1;
  --green: #10b981;
  --red: #ef4444;
  --bg: #060611;
  --surface: #0f1124;
  --surface-2: #161937;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f3f4ff;
  --text-2: #c7cbe0;
  --text-3: #9ca0bd;
  --muted: #7a7f9c;
  --mm-shell-bg: var(--surface);
  --mm-shell-border: var(--border-strong);
  --mm-header-bg: var(--surface-2);
  --mm-content-font-size: 12px;
  position: relative;
  top: auto;
  right: auto;
  left: auto;
  width: 100%;
  height: auto;
  max-height: none;
  border-radius: 14px;
  z-index: 1;
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--mm-shell-bg);
  border: 1px solid var(--mm-shell-border);
  color: var(--text);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.mockup-wrap.mockup-motion.is-live .mf-panel--product {
  animation: none;
}
.mockup-wrap.mockup-motion.is-live .mf-panel--product #mm-panel {
  animation: mf-hero-mm-glow 3.5s ease-in-out infinite;
}
@keyframes mf-hero-mm-glow {
  0%, 100% { box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6); }
  50% {
    box-shadow:
      0 0 0 1px rgba(129, 140, 248, 0.45),
      0 28px 56px -16px rgba(99, 102, 241, 0.42),
      0 8px 40px rgba(0, 0, 0, 0.6);
  }
}

.mf-panel--product #mm-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  flex-shrink: 0;
  background: var(--mm-header-bg);
  border-bottom: 1px solid var(--mm-shell-border);
}
.mf-panel--product .mm-brand-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}
.mf-panel--product .mm-logo {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}
.mf-panel--product .mm-platform-badge {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 5px;
  background: var(--surface-2);
  color: var(--text-3);
  white-space: nowrap;
}
.mf-panel--product .mm-header-font {
  display: flex;
  align-items: center;
  gap: 2px;
}
.mf-panel--product .mm-header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.mf-panel--product .mm-font-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-3);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  font-family: inherit;
}
.mf-panel--product .mm-icon-btn {
  background: none;
  border: none;
  padding: 5px 7px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1;
  color: var(--text-3);
}

.mf-panel--product .mm-scroll-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  min-height: auto;
  overflow: visible;
}
.mf-panel--product #mm-body {
  overflow: visible;
  flex: 0 0 auto;
  min-height: auto;
  font-size: var(--mm-content-font-size, 13px);
}
.mf-panel--product #mm-body::-webkit-scrollbar { width: 6px; }
.mf-panel--product #mm-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 3px;
}
.mf-panel--product #mm-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.28);
  border-radius: 3px;
}

.mf-panel--product #mm-statusbar {
  display: flex;
  flex-direction: column;
  padding: 8px 12px;
  flex-shrink: 0;
  gap: 0;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.mf-panel--product .mm-statusbar-top {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.mf-panel--product .mm-rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  animation: mm-pulse 1.5s ease-in-out infinite;
}
.mf-panel--product .mm-ws-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mf-panel--product .mm-ws-dot--ok { background: #22c55e; }
@keyframes mm-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}
.mf-panel--product #mm-timer {
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.4px;
  color: var(--text-3);
}
.mf-panel--product #mm-stop-btn {
  margin-left: auto;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12px;
  background: #1e1e24;
  color: var(--red);
  border: 1px solid #2a2a35;
  font-family: inherit;
}
.mf-panel--product .mm-listening {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--accent);
  margin-top: 6px;
}
.mf-panel--product .mm-dots { display: flex; gap: 4px; }
.mf-panel--product .mm-dots span {
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  animation: mm-bounce 1.2s ease-in-out infinite;
}
.mf-panel--product .mm-dots span:nth-child(2) { animation-delay: 0.2s; }
.mf-panel--product .mm-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes mm-bounce {
  0%, 80%, 100% { transform: scale(0.5); opacity: 0.3; }
  40% { transform: scale(1); opacity: 1; }
}

.mf-panel--product #mm-analysis-blocks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 12px 10px;
}
.mf-panel--product .mm-section { padding: 0; border-bottom: none; }
.mf-panel--product .mm-section-head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
}
.mf-panel--product .mm-section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.mf-panel--product .mm-section-icon svg {
  width: 14px;
  height: 14px;
  display: block;
}
.mf-panel--product .mm-stitle {
  margin: 0;
  font-size: 0.769em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
}
.mf-panel--product .mm-section--summary .mm-section-icon,
.mf-panel--product .mm-section--summary .mm-stitle { color: #7dd3fc; }
.mf-panel--product .mm-section--flags .mm-section-icon,
.mf-panel--product .mm-section--flags .mm-stitle { color: #fb7185; }
.mf-panel--product .mm-section--questions .mm-section-icon,
.mf-panel--product .mm-section--questions .mm-stitle { color: #4ade80; }
.mf-panel--product .mm-section--recommendations .mm-section-icon,
.mf-panel--product .mm-section--recommendations .mm-stitle { color: #c4b5fd; }

.mf-panel--product .mm-insight-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 1em;
  line-height: 1.55;
  color: var(--text-2);
}
.mf-panel--product .mm-card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mf-panel--product .mm-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 1em;
  line-height: 1.45;
  color: var(--text-2);
}
.mf-panel--product .mm-card-list li::before { content: none; }
.mf-panel--product .mm-insight-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}
.mf-panel--product .mm-card-list--flags .mm-insight-dot {
  background: #f87171;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.18);
}
.mf-panel--product .mm-card-list--questions .mm-insight-dot {
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.18);
}
.mf-panel--product .mm-insight-text { flex: 1; min-width: 0; }
.mf-panel--product .mm-rec-num {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.769em;
  font-weight: 700;
  color: #c4b5fd;
  background: rgba(196, 181, 253, 0.12);
  margin-top: 1px;
}

@media (max-width: 1000px) {
  .mf-panel.mf-panel--product {
    width: min(36%, 286px);
    top: var(--mf-panel-top-gap);
    transform: translateX(-50%);
  }
}
@media (max-width: 720px) {
  .mf-panel.mf-panel--product {
    width: min(55%, 260px);
    top: var(--mf-panel-top-gap);
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .mockup-wrap.mockup-motion.is-live .mf-panel--product #mm-panel {
    animation: none;
  }
}
