/* AI Voicemail feature section (from topa-website) */

.topa-results-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  margin: 0;
  padding: 0;
}

.topa-features-section .topa-feature-card {
  display: block;
}

.topa-feature-block {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 20px;
}

.topa-feature-block ~ .topa-feature-block {
  margin-top: 0;
}

#signalexplainer,
#voicemailexplainer {
  scroll-margin-top: 96px;
}

.topa-feature-card {
  background: rgba(10, 9, 26, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: clamp(32px, 5vw, 48px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.topa-feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.topa-feature-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.topa-feature-headline {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
}

.topa-feature-title-pill {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 9999px;
  background: rgba(244, 114, 182, 0.22);
  border: 1px solid rgba(244, 114, 182, 0.45);
  color: #fbcfe8;
  white-space: nowrap;
}

.topa-feature-title-pill--blue {
  background: rgba(96, 165, 250, 0.18);
  border: 1px solid rgba(96, 165, 250, 0.45);
  color: #dbeafe;
}

.topa-feature-title-pill--whatsapp {
  background: rgba(37, 211, 102, 0.18);
  border: 1px solid rgba(37, 211, 102, 0.5);
  color: #bbf7d0;
}

.topa-feature-desc {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  max-width: 440px;
}

.topa-feature-demo-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0;
}

.topa-feature-demo-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.88);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.topa-feature-demo-btn:hover {
  border-color: rgba(244, 114, 182, 0.45);
  background: rgba(99, 38, 162, 0.22);
  box-shadow: 0 2px 12px rgba(99, 38, 162, 0.25);
}

.topa-feature-demo-btn svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  flex-shrink: 0;
  opacity: 0.85;
}

.topa-feature-demo-btn--webhook {
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 18px 12px;
  min-width: 220px;
}

.topa-feature-demo-btn-main {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topa-feature-demo-btn-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 16px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.topa-feature-demo-btn-logos .topa-feature-logos-mini-slot {
  width: auto;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border-radius: 0;
  flex-shrink: 0;
}

.topa-feature-demo-btn-logos .topa-feature-logos-mini-slot img {
  display: block;
  height: 14px;
  width: auto;
  max-height: 14px;
  max-width: none;
  position: static;
  opacity: 1;
}

.topa-feature-demo-btn-logos .topa-feature-logos-mini-slot:first-child img {
  transform: translateY(1px);
}

.topa-feature-demo-btn-logos .topa-feature-logos-mini-slot:last-child {
  margin-left: -4px;
}

.topa-feature-demo-btn-logos .topa-feature-logos-mini-slot:last-child img {
  transform: translateY(1px);
}

.topa-salesrobot-logo-clip {
  display: block;
  width: 60px;
  height: 14px;
  overflow: hidden;
  flex-shrink: 0;
}

.topa-salesrobot-logo-clip img {
  margin-left: -20px;
}

.topa-feature-mini-panel,
.topa-feature-b2b-note-pill,
.topa-feature-channels-panel,
.topa-feature-logos-mini:not(.topa-feature-logos-mini--push) > .topa-feature-logos-mini-grid {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(12, 11, 28, 0.88) 0%, rgba(8, 7, 27, 0.62) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 8px 24px rgba(0, 0, 0, 0.18);
  box-sizing: border-box;
}

.topa-feature-logos-mini {
  margin-top: 16px;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.topa-feature-b2b-note {
  margin-top: 0;
  margin-bottom: 0;
  display: flex;
  justify-content: flex-start;
  width: auto;
}

.topa-feature-channels-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  width: 100%;
  margin-top: 12px;
}

.topa-feature-b2b-note + .topa-feature-channels-panel {
  margin-top: 12px;
}

.topa-feature-channels-panel + .topa-feature-demo-btns,
.topa-feature-channels-panel + .topa-signals-demo-btns {
  margin-top: 16px;
}

.topa-feature-b2b-note-pill {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.88);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.topa-feature-b2b-note-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: rgba(99, 38, 162, 0.22);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #c084fc;
  box-shadow: 0 2px 8px rgba(99, 38, 162, 0.22);
}

.topa-feature-b2b-note-icon svg {
  width: 10px;
  height: 10px;
  stroke: currentColor;
  fill: none;
}

.topa-feature-b2b-note-icon:last-child {
  display: none;
}

.topa-feature-b2b-note-text {
  margin: 0;
  font: inherit;
  letter-spacing: 0.01em;
  white-space: normal;
  text-align: left;
}

.topa-feature-logos-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: center;
}

.topa-feature-logos-mini-slot {
  position: relative;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.topa-feature-logos-mini-slot img {
  position: absolute;
  max-width: 88%;
  max-height: 22px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.82);
  transition: opacity 2.4s ease-in-out;
  opacity: 0;
}

.topa-feature-logos-mini-slot img.is-active {
  opacity: 1;
}

.topa-feature-logos-mini-divider {
  display: none;
}

.topa-feature-logos-mini-channels-lead {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.52);
  text-align: center;
}

.topa-feature-logos-mini--push {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.topa-feature-logos-mini--push > .topa-feature-logos-mini-lead {
  margin: 0;
  padding: 12px 14px 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: none;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(180deg, rgba(12, 11, 28, 0.88) 0%, rgba(8, 7, 27, 0.62) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.52);
  text-align: center;
}

.topa-feature-logos-mini--push > .topa-feature-logos-mini-grid {
  margin-top: 0;
  padding: 8px 14px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: none;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, rgba(12, 11, 28, 0.88) 0%, rgba(8, 7, 27, 0.62) 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  box-sizing: border-box;
}

.topa-feature-logos-mini--push > .topa-feature-logos-mini-grid--static {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.topa-feature-logos-mini-lead {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.52);
  text-align: center;
}

.topa-feature-logos-mini--push > .topa-feature-logos-mini-grid--static .topa-feature-logos-mini-slot img {
  max-height: 18px;
  max-width: 82%;
}

.topa-feature-logos-mini-slot--webhook .topa-feature-logos-mini-webhook-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
  text-transform: lowercase;
}

.topa-feature-logos-mini-slot--webhook .topa-feature-logos-mini-webhook-label svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  color: #fff;
  filter: brightness(0) invert(1) opacity(0.82);
}

.topa-feature-logos-mini-channel-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.topa-feature-channel-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 9999px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  border: 1px solid transparent;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.topa-feature-channel-badge svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.topa-feature-channel-badge--wa {
  background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.38);
  color: #bbf7d0;
}

.topa-feature-channel-badge--wa svg {
  fill: #25D366;
}

.topa-feature-channel-badge--sms {
  background: rgba(96, 165, 250, 0.1);
  border-color: rgba(96, 165, 250, 0.38);
  color: #bfdbfe;
}

.topa-feature-channel-badge--sms svg {
  stroke: #60a5fa;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.topa-feature-channel-badge--vm {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.38);
  color: #e9d5ff;
}

.topa-feature-channel-badge--vm svg {
  stroke: #a855f7;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 900px) {
  .topa-feature-logos-mini-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.topa-demo-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.topa-demo-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.topa-demo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 3, 14, 0.82);
  backdrop-filter: blur(8px);
}

.topa-demo-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: min(85vh, 720px);
  display: flex;
  flex-direction: column;
  background: rgba(10, 9, 26, 0.98);
  border: 1px solid rgba(147, 51, 234, 0.28);
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.25s ease;
}

.topa-demo-modal.is-open .topa-demo-modal-dialog {
  transform: translateY(0) scale(1);
}

.topa-demo-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topa-demo-modal-title {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}

.topa-demo-modal-close {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.8);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.topa-demo-modal-close:hover {
  border-color: rgba(244, 114, 182, 0.45);
  background: rgba(99, 38, 162, 0.25);
  color: #fff;
}

.topa-demo-modal-body {
  position: relative;
  flex: 1;
  min-height: 0;
  aspect-ratio: 16 / 10;
  background: #08071b;
}

.topa-demo-modal-body iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 640px) {
  .topa-demo-modal {
    padding: 12px;
  }

  .topa-demo-modal-dialog {
    max-height: 88vh;
  }

  .topa-demo-modal-header {
    padding: 12px 14px;
  }

  .topa-demo-modal-title {
    font-size: 13px;
  }
}

.topa-feature-visual {
  width: 100%;
}

.topa-feature-visual-scene {
  position: relative;
  min-height: 280px;
}

.topa-feature-orbit {
  position: absolute;
  left: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: 42%;
  aspect-ratio: 1;
  pointer-events: none;
  z-index: 1;
}

.topa-feature-orbit-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(168, 85, 247, 0.18);
  border-radius: 50%;
}

.topa-feature-orbit-ring:nth-child(2) {
  inset: 18%;
  border-color: rgba(99, 38, 162, 0.25);
}

.topa-vm-orbit-aura {
  position: absolute;
  inset: 0;
}

.topa-vm-orbit-aura-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32%;
  height: 32%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.4) 0%, rgba(244, 114, 182, 0.14) 48%, transparent 72%);
  filter: blur(8px);
  animation: topa-vm-orbit-aura-core 3.2s ease-in-out infinite;
}

.topa-vm-orbit-aura-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42%;
  height: 42%;
  border-radius: 50%;
  border: 1px solid rgba(168, 85, 247, 0.38);
  background: radial-gradient(circle, rgba(168, 85, 247, 0.14) 0%, transparent 72%);
  box-shadow: 0 0 28px rgba(168, 85, 247, 0.22);
  transform: translate(-50%, -50%) scale(0.35);
  animation: topa-vm-orbit-aura-pulse 4s ease-out infinite;
  opacity: 0;
}

.topa-vm-orbit-aura-ring:nth-child(2) {
  animation-delay: 0s;
}

.topa-vm-orbit-aura-ring:nth-child(3) {
  animation-delay: 1.3s;
  border-color: rgba(244, 114, 182, 0.34);
  background: radial-gradient(circle, rgba(244, 114, 182, 0.12) 0%, transparent 72%);
  box-shadow: 0 0 28px rgba(244, 114, 182, 0.18);
}

.topa-vm-orbit-aura-ring:nth-child(4) {
  animation-delay: 2.6s;
  border-color: rgba(96, 165, 250, 0.28);
  background: radial-gradient(circle, rgba(96, 165, 250, 0.1) 0%, transparent 72%);
  box-shadow: 0 0 28px rgba(96, 165, 250, 0.16);
}

@keyframes topa-vm-orbit-aura-pulse {
  0% {
    transform: translate(-50%, -50%) scale(0.35);
    opacity: 0.88;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0;
  }
}

@keyframes topa-vm-orbit-aura-core {
  0%, 100% {
    opacity: 0.55;
    transform: translate(-50%, -50%) scale(0.92);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

.topa-feature-mock {
  position: relative;
  z-index: 2;
  margin-left: auto;
  width: 92%;
  background: rgba(8, 7, 27, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.topa-feature-mock.topa-vm-mock-wrap {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  overflow: visible;
}

.topa-vm-visual-scene {
  overflow: visible;
}

.topa-vm-mock-frame {
  position: relative;
  padding: 4px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ff8866 0%, #ff66d4 24%, #c084fc 48%, #a855f7 62%, #60a5fa 100%);
  box-shadow:
    0 12px 40px rgba(168, 85, 247, 0.24),
    0 0 56px rgba(255, 102, 212, 0.14);
}

.topa-vm-mock-frame::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 24px;
  background: radial-gradient(ellipse at 50% 45%, rgba(168, 85, 247, 0.42) 0%, rgba(255, 102, 212, 0.18) 42%, transparent 72%);
  filter: blur(14px);
  z-index: -1;
  pointer-events: none;
}

.topa-vm-mock-inner {
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(12, 11, 28, 0.96) 0%, rgba(8, 7, 27, 0.88) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 6px 26px rgba(0, 0, 0, 0.35);
  padding: 12px;
}

.topa-vm-mock-frame .topa-feature-voice-grid-wrap {
  margin: 0;
  padding: 0;
  border-top: none;
}

.topa-vm-mock-frame .topa-feature-voice-grid-heading {
  margin: 0 0 12px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  text-align: center;
  color: rgba(255, 255, 255, 0.82);
}

.topa-vm-mock-frame .topa-voice-grid-container {
  padding: 0;
  font-family: 'Inter', system-ui, sans-serif;
}

.topa-vm-mock-frame .topa-voice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 100%;
  width: 100%;
  margin: 0;
}

.topa-vm-mock-frame .topa-voice-card-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.topa-vm-mock-frame .topa-voice-label {
  margin: 0;
  padding: 0;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topa-vm-mock-frame .topa-voice-card {
  background: linear-gradient(180deg, rgba(12, 11, 28, 0.92) 0%, rgba(8, 7, 27, 0.78) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 4px 14px rgba(0, 0, 0, 0.22);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.topa-vm-mock-frame .topa-voice-card:hover {
  border-color: rgba(168, 85, 247, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 6px 18px rgba(99, 38, 162, 0.2);
}

.topa-vm-mock-frame .topa-voice-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
}

.topa-vm-mock-frame .topa-voice-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.topa-vm-mock-frame .topa-image-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 0;
  background: linear-gradient(to top, rgba(8, 7, 27, 0.55) 0%, transparent 55%);
}

.topa-vm-mock-frame .topa-play-button {
  width: 24px;
  height: 24px;
  background: rgba(99, 38, 162, 0.82);
  border: 1px solid rgba(168, 85, 247, 0.45);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  transform: translateY(30px);
}

.topa-vm-mock-frame .topa-play-button.playing {
  background: rgba(244, 114, 182, 0.88);
  border-color: rgba(244, 114, 182, 0.55);
}

.topa-vm-mock-frame .topa-play-icon {
  width: 0;
  height: 0;
  border-left: 8px solid #ffffff;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  margin-left: 2px;
}

.topa-vm-mock-frame .topa-pause-icon {
  display: none;
  width: 8px;
  height: 12px;
  position: relative;
}

.topa-vm-mock-frame .topa-pause-icon::before,
.topa-vm-mock-frame .topa-pause-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 10px;
  background: #fff;
}

.topa-vm-mock-frame .topa-pause-icon::before { left: 0; }
.topa-vm-mock-frame .topa-pause-icon::after { right: 0; }

.topa-vm-mock-frame .topa-play-button.playing .topa-play-icon { display: none; }
.topa-vm-mock-frame .topa-play-button.playing .topa-pause-icon { display: block; }

.topa-vm-clone-wrap {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.topa-vm-clone-heading {
  margin: 0 0 10px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  text-align: center;
  color: #fff;
}

.topa-vm-clone-mini {
  font-family: 'Inter', system-ui, sans-serif;
  color: #fff;
}

.topa-vm-clone-mini-panel {
  background: linear-gradient(180deg, rgba(12, 11, 28, 0.92) 0%, rgba(8, 7, 27, 0.78) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 6px 26px rgba(0, 0, 0, 0.35);
  padding: 10px 11px;
}

.topa-vm-clone-mini-title {
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
}

.topa-vm-clone-mini-tabs {
  display: flex;
  gap: 5px;
  margin-bottom: 8px;
}

.topa-vm-clone-mini-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 5px 7px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  font-size: 8px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.topa-vm-clone-mini-tab.is-active {
  color: #fff;
  background: rgba(99, 38, 162, 0.22);
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 2px 10px rgba(99, 38, 162, 0.2);
}

.topa-vm-clone-mini-tab svg {
  width: 9px;
  height: 9px;
  fill: currentColor;
  flex-shrink: 0;
}

.topa-vm-clone-mini-field-label {
  display: block;
  margin: 0 0 5px;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.topa-vm-clone-mini-record {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 26px;
  margin-bottom: 7px;
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.18);
  color: #fff;
  font-family: inherit;
  font-size: 9px;
  font-weight: 600;
}

.topa-vm-clone-mini-tips {
  margin: 0 0 7px;
  padding: 6px 7px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 7, 27, 0.45);
  list-style: none;
}

.topa-vm-clone-mini-tips li {
  display: flex;
  gap: 4px;
  font-size: 7px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.62);
}

.topa-vm-clone-mini-tips li + li {
  margin-top: 4px;
}

.topa-vm-clone-mini-tips li::before {
  content: '✓';
  flex-shrink: 0;
  color: #34d399;
  font-size: 7px;
  font-weight: 700;
}

.topa-vm-clone-mini-script-box {
  margin-bottom: 7px;
  padding: 6px 7px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 7, 27, 0.45);
}

.topa-vm-clone-mini-script-label {
  margin: 0 0 4px;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.topa-vm-clone-mini-script {
  font-size: 8px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topa-vm-clone-mini-form {
  margin-bottom: 7px;
}

.topa-vm-clone-mini-field {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  height: 24px;
  padding: 0 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 7, 27, 0.65);
  font-size: 8px;
  color: rgba(255, 255, 255, 0.35);
}

.topa-vm-clone-mini-actions {
  display: flex;
  justify-content: flex-end;
}

.topa-vm-clone-mini-clone-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.18);
  color: #fff;
  font-family: inherit;
  font-size: 9px;
  font-weight: 600;
}

.topa-vm-clone-demo-btns {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.topa-vm-clone-demo-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 14px;
  border: 1px solid rgba(168, 85, 247, 0.32);
  background: rgba(168, 85, 247, 0.1);
  color: #e9d5ff;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.topa-vm-clone-demo-btn:hover {
  border-color: rgba(168, 85, 247, 0.48);
  background: rgba(168, 85, 247, 0.16);
  box-shadow: 0 8px 22px rgba(168, 85, 247, 0.2);
  transform: translateY(-1px);
}

.topa-vm-clone-demo-btn svg {
  width: 11px;
  height: 11px;
  fill: currentColor;
  flex-shrink: 0;
  opacity: 0.85;
}

.topa-clone-demo-modal-body {
  overflow: hidden;
}

.topa-clone-demo-video-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.topa-clone-demo-video-frame video {
  height: 100%;
  width: calc(100% + 200px);
  max-width: none;
  border: none;
  background: #000;
  object-fit: contain;
  object-position: center center;
  flex-shrink: 0;
  transform: translateX(-100px);
}

@media (max-width: 640px) {
  .topa-clone-demo-video-frame video {
    width: calc(100% + 80px);
    transform: translateX(-40px);
  }
}

#topaAiVideoDemoModal .topa-demo-modal-body {
  aspect-ratio: 16 / 9;
}

#topaAiVideoDemoModal .topa-clone-demo-video-frame video {
  width: 100%;
  max-width: 100%;
  height: 100%;
  transform: none;
  object-fit: contain;
}

@media (max-width: 640px) {
  #topaAiVideoDemoModal .topa-clone-demo-video-frame video {
    width: 100%;
    transform: none;
  }
}

.topa-combo-demo-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 10px 14px 12px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.78) 100%);
}

.topa-combo-demo-controls.is-hidden {
  display: none;
}

.topa-combo-demo-controls-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.topa-combo-demo-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.topa-combo-demo-play svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.topa-combo-demo-play .topa-combo-pause-icon {
  display: none;
}

.topa-combo-demo-play.is-playing .topa-combo-play-icon {
  display: none;
}

.topa-combo-demo-play.is-playing .topa-combo-pause-icon {
  display: block;
}

.topa-combo-demo-time {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  font-variant-numeric: tabular-nums;
}

.topa-combo-demo-progress {
  height: 4px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
}

.topa-combo-demo-progress-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: #a855f7;
}

@media (max-width: 900px) {
  .topa-vm-mock-frame .topa-voice-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .topa-vm-mock-frame .topa-voice-grid > .topa-voice-card-wrapper:nth-child(n+7) {
    display: none;
  }
}

/* SMS conversation mock — Ai SMS Agents box */
#voicemailexplainer-2 .topa-feature-mock.topa-vm-mock-wrap {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

#voicemailexplainer-2 .topa-vm-mock-inner {
  display: flex;
  flex-direction: column;
  padding: 10px;
  min-height: 0;
}

#voicemailexplainer-2 .topa-sms-mock-wrap {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, sans-serif;
  display: flex;
  flex-direction: column;
  height: 460px;
  max-height: min(460px, 58vh);
  min-height: 0;
}

#voicemailexplainer-2 .topa-sms-mock-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 4px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 12px;
  flex-shrink: 0;
}

#voicemailexplainer-2 .topa-sms-mock-avatar {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
}

#voicemailexplainer-2 .topa-sms-mock-contact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

#voicemailexplainer-2 .topa-sms-mock-name {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.2;
}

#voicemailexplainer-2 .topa-sms-mock-sub {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.2;
}

#voicemailexplainer-2 .topa-sms-mock-thread {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 2px 4px 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}

#voicemailexplainer-2 .topa-sms-mock-thread::-webkit-scrollbar {
  display: none;
}

#voicemailexplainer-2 .topa-sms-bubble {
  max-width: 90%;
  padding: 9px 12px;
  border-radius: 16px;
  font-size: 11.5px;
  line-height: 1.45;
  flex-shrink: 0;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-width: 0;
  box-shadow: none;
  transform: translateY(10px) scale(0.98);
  pointer-events: none;
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    max-height 0.6s ease,
    margin 0.6s ease,
    padding 0.6s ease;
}

#voicemailexplainer-2 .topa-sms-mock-thread.sms-mock-ready .topa-sms-bubble.is-visible {
  opacity: 1;
  max-height: 320px;
  margin-top: 8px;
  padding: 9px 12px;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

#voicemailexplainer-2 .topa-sms-mock-thread.sms-mock-ready > .topa-sms-bubble.is-visible:first-child,
#voicemailexplainer-2 .topa-sms-typing.is-visible + .topa-sms-bubble.is-visible {
  margin-top: 0;
}

#voicemailexplainer-2 .topa-sms-bubble--out.is-visible {
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.25);
}

#voicemailexplainer-2 .topa-sms-bubble--in.is-visible {
  border-width: 1px;
}

#voicemailexplainer-2 .topa-sms-typing {
  align-self: flex-end;
  display: flex;
  align-items: center;
  gap: 4px;
  border-radius: 16px;
  border-bottom-right-radius: 4px;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.25);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0 14px;
  transform: translateY(10px) scale(0.98);
  pointer-events: none;
  transition:
    opacity 0.45s ease,
    transform 0.45s ease,
    max-height 0.45s ease,
    margin 0.45s ease,
    padding 0.45s ease;
}

#voicemailexplainer-2 .topa-sms-typing.is-visible {
  opacity: 1;
  max-height: 40px;
  margin-top: 8px;
  padding: 10px 14px;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

#voicemailexplainer-2 .topa-sms-mock-thread > .topa-sms-typing.is-visible:first-child {
  margin-top: 0;
}

#voicemailexplainer-2 .topa-sms-typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  animation: topa-sms-typing-dot 1.2s ease-in-out infinite;
}

#voicemailexplainer-2 .topa-sms-typing span:nth-child(2) { animation-delay: 0.15s; }

#voicemailexplainer-2 .topa-sms-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes topa-sms-typing-dot {
  0%, 60%, 100% { opacity: 0.35; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

@media (prefers-reduced-motion: reduce) {
  #voicemailexplainer-2 .topa-sms-bubble,
  #voicemailexplainer-2 .topa-sms-typing {
    transition: none;
    animation: none;
  }

  #voicemailexplainer-2 .topa-sms-typing span {
    animation: none;
    opacity: 0.85;
  }
}

#voicemailexplainer-2 .topa-sms-bubble p {
  margin: 0;
}

#voicemailexplainer-2 .topa-sms-bubble--out {
  align-self: flex-end;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  color: #fff;
  border-bottom-right-radius: 4px;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.25);
}

#voicemailexplainer-2 .topa-sms-bubble--in {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
  border-bottom-left-radius: 4px;
}

#voicemailexplainer-2 .topa-sms-time {
  display: block;
  margin-top: 4px;
  font-size: 9px;
  opacity: 0.55;
  text-align: right;
}

#voicemailexplainer-2 .topa-sms-bubble--in .topa-sms-time {
  text-align: left;
}

@media (max-width: 900px) {
  #voicemailexplainer-2 .topa-sms-mock-wrap {
    height: 400px;
    max-height: min(400px, 52vh);
  }

  #voicemailexplainer-2 .topa-sms-bubble {
    font-size: 11px;
  }
}

/* Visual placeholder — duplicated feature section */
#voicemailexplainer .topa-feature-headline,
#voicemailexplainer-2 .topa-feature-headline,
#voicemailexplainer-4 .topa-feature-headline {
  font-size: clamp(20px, 2.6vw, 30px);
  white-space: nowrap;
}

#voicemailexplainer .topa-feature-title-pill,
#voicemailexplainer-2 .topa-feature-title-pill,
#voicemailexplainer-4 .topa-feature-title-pill {
  padding: 4px 12px;
}

#voicemailexplainer-4 .topa-feature-desc {
  max-width: none;
}

#voicemailexplainer-4 .topa-feature-visual-scene {
  min-height: 0;
}

#voicemailexplainer-4 .sf-auto-flow-wrap {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

#voicemailexplainer-4 .sf-auto-flow-frame {
  position: relative;
  padding: 3px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ff8866 0%, #ff66d4 24%, #c084fc 48%, #a855f7 62%, #60a5fa 100%);
  box-shadow:
    0 12px 40px rgba(168, 85, 247, 0.24),
    0 0 56px rgba(255, 102, 212, 0.14);
}

#voicemailexplainer-4 .sf-auto-flowchart {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 22px 18px 20px;
  border-radius: 15px;
  background:
    radial-gradient(circle at 50% 0%, rgba(168, 85, 247, 0.14) 0%, transparent 55%),
    linear-gradient(180deg, rgba(12, 11, 28, 0.96) 0%, rgba(8, 7, 27, 0.92) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  box-sizing: border-box;
}

#voicemailexplainer-4 .sf-auto-flowchart::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 14px 14px;
  pointer-events: none;
  opacity: 0.55;
}

#voicemailexplainer-4 .sf-auto-flow-row {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
}

#voicemailexplainer-4 .sf-auto-flow-row--triggers {
  margin-bottom: 0;
}

#voicemailexplainer-4 .sf-auto-flow-row--outputs {
  margin-top: 0;
}

#voicemailexplainer-4 .sf-auto-flow-connector {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 26px;
  flex-shrink: 0;
  margin: 0;
}

#voicemailexplainer-4 .sf-auto-flow-node {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 7px 9px;
  border-radius: 10px;
  border: 1px solid rgba(147, 51, 234, 0.28);
  background: rgba(107, 33, 168, 0.42);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

#voicemailexplainer-4 .sf-auto-flow-row--triggers .sf-auto-flow-node {
  flex: 0 1 calc(50% - 7px);
  max-width: calc(50% - 7px);
}

#voicemailexplainer-4 .sf-auto-flow-node--hub {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(100%, 188px);
  justify-content: center;
  margin: 4px 0;
  padding: 9px 12px;
  border-color: rgba(192, 132, 252, 0.45);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.55) 0%, rgba(168, 85, 247, 0.38) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 24px rgba(168, 85, 247, 0.22);
}

#voicemailexplainer-4 .sf-auto-flow-node--compact {
  position: relative;
  flex: 0 1 calc(33.333% - 10px);
  max-width: calc(33.333% - 10px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 7px 4px;
  text-align: center;
}

#voicemailexplainer-4 .sf-auto-flow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

#voicemailexplainer-4 .sf-auto-flow-node--compact .sf-auto-flow-icon {
  width: 15px;
  height: 15px;
}

#voicemailexplainer-4 .sf-auto-flow-icon svg {
  width: 100%;
  height: 100%;
}

#voicemailexplainer-4 .sf-auto-flow-icon--cyan { color: #22d3ee; }
#voicemailexplainer-4 .sf-auto-flow-icon--blue { color: #60a5fa; }
#voicemailexplainer-4 .sf-auto-flow-icon--purple { color: #d8b4fe; }
#voicemailexplainer-4 .sf-auto-flow-icon--orange { color: #fb923c; }
#voicemailexplainer-4 .sf-auto-flow-icon--green { color: #4ade80; }
#voicemailexplainer-4 .sf-auto-flow-icon--yellow { color: #facc15; }

#voicemailexplainer-4 .sf-auto-flow-text {
  min-width: 0;
  color: rgba(255, 255, 255, 0.92);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

#voicemailexplainer-4 .sf-auto-flow-node--compact .sf-auto-flow-text {
  font-size: 9px;
  white-space: normal;
}

#voicemailexplainer-4 .sf-auto-flow-status {
  position: relative;
  flex-shrink: 0;
  width: 12px;
  height: 12px;
}

#voicemailexplainer-4 .sf-auto-flow-status::before,
#voicemailexplainer-4 .sf-auto-flow-status::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  opacity: 0;
}

#voicemailexplainer-4 .sf-auto-flow-status::before {
  border: 2px solid transparent;
}

#voicemailexplainer-4 .sf-auto-flow-status::after {
  background: #4ade80;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9.55 17.05 4.5 12l1.4-1.43 3.65 3.65 8.55-8.55L19.5 6.9z'/%3E%3C/svg%3E") center / 10px 10px no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9.55 17.05 4.5 12l1.4-1.43 3.65 3.65 8.55-8.55L19.5 6.9z'/%3E%3C/svg%3E") center / 10px 10px no-repeat;
  filter: drop-shadow(0 0 4px rgba(74, 222, 128, 0.8));
}

#voicemailexplainer-4 .sf-auto-flow-node--compact .sf-auto-flow-status {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 10px;
  height: 10px;
}

#voicemailexplainer-4 .sf-auto-flow-node--compact .sf-auto-flow-status::after {
  mask-size: 8px 8px;
  -webkit-mask-size: 8px 8px;
}

#voicemailexplainer-4 .sf-auto-flow-node--step1 .sf-auto-flow-status::before,
#voicemailexplainer-4 .sf-auto-flow-node--step1 .sf-auto-flow-status::after,
#voicemailexplainer-4 .sf-auto-flow-node--step2 .sf-auto-flow-status::before,
#voicemailexplainer-4 .sf-auto-flow-node--step2 .sf-auto-flow-status::after,
#voicemailexplainer-4 .sf-auto-flow-node--step3 .sf-auto-flow-status::before,
#voicemailexplainer-4 .sf-auto-flow-node--step3 .sf-auto-flow-status::after,
#voicemailexplainer-4 .sf-auto-flow-node--out1 .sf-auto-flow-status::before,
#voicemailexplainer-4 .sf-auto-flow-node--out1 .sf-auto-flow-status::after,
#voicemailexplainer-4 .sf-auto-flow-node--out2 .sf-auto-flow-status::before,
#voicemailexplainer-4 .sf-auto-flow-node--out2 .sf-auto-flow-status::after,
#voicemailexplainer-4 .sf-auto-flow-node--out3 .sf-auto-flow-status::before,
#voicemailexplainer-4 .sf-auto-flow-node--out3 .sf-auto-flow-status::after {
  animation: sf-auto-flow-tick 8s ease-in-out infinite;
}

#voicemailexplainer-4 .sf-auto-flow-node--step2 .sf-auto-flow-status::before,
#voicemailexplainer-4 .sf-auto-flow-node--step2 .sf-auto-flow-status::after {
  animation-delay: 0.6s;
}

#voicemailexplainer-4 .sf-auto-flow-node--step3 .sf-auto-flow-status::before,
#voicemailexplainer-4 .sf-auto-flow-node--step3 .sf-auto-flow-status::after {
  animation-delay: 1.8s;
}

#voicemailexplainer-4 .sf-auto-flow-node--out1 .sf-auto-flow-status::before,
#voicemailexplainer-4 .sf-auto-flow-node--out1 .sf-auto-flow-status::after {
  animation-delay: 3.2s;
}

#voicemailexplainer-4 .sf-auto-flow-node--out2 .sf-auto-flow-status::before,
#voicemailexplainer-4 .sf-auto-flow-node--out2 .sf-auto-flow-status::after {
  animation-delay: 3.8s;
}

#voicemailexplainer-4 .sf-auto-flow-node--out3 .sf-auto-flow-status::before,
#voicemailexplainer-4 .sf-auto-flow-node--out3 .sf-auto-flow-status::after {
  animation-delay: 4.4s;
}

#voicemailexplainer-4 .sf-auto-flow-node--step1 .sf-auto-flow-status::before,
#voicemailexplainer-4 .sf-auto-flow-node--step2 .sf-auto-flow-status::before,
#voicemailexplainer-4 .sf-auto-flow-node--step3 .sf-auto-flow-status::before,
#voicemailexplainer-4 .sf-auto-flow-node--out1 .sf-auto-flow-status::before,
#voicemailexplainer-4 .sf-auto-flow-node--out2 .sf-auto-flow-status::before,
#voicemailexplainer-4 .sf-auto-flow-node--out3 .sf-auto-flow-status::before {
  animation-name: sf-auto-flow-ring;
}

@keyframes sf-auto-flow-tick {
  0%, 8%, 100% { opacity: 0; }
  12%, 24% { opacity: 1; }
}

@keyframes sf-auto-flow-ring {
  0%, 8%, 100% { opacity: 0; transform: rotate(0deg); border-top-color: #4ade80; }
  12% { opacity: 1; transform: rotate(0deg); border-top-color: #4ade80; }
  20% { opacity: 1; transform: rotate(360deg); border-color: #4ade80; }
  24% { opacity: 1; transform: rotate(360deg); border-color: #4ade80; }
}

#voicemailexplainer-4 .sf-auto-flow-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  pointer-events: none;
  z-index: 0;
  animation: sf-auto-flow-particle 7s ease-in-out infinite;
}

#voicemailexplainer-4 .sf-auto-flow-particle--1 { top: 18%; left: 12%; animation-delay: 0s; }
#voicemailexplainer-4 .sf-auto-flow-particle--2 { top: 62%; right: 14%; animation-delay: 2.2s; }
#voicemailexplainer-4 .sf-auto-flow-particle--3 { bottom: 16%; left: 42%; animation-delay: 4.1s; }

@keyframes sf-auto-flow-particle {
  0%, 100% { opacity: 0; transform: translateY(0); }
  20%, 80% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-14px); }
}

@media (prefers-reduced-motion: reduce) {
  #voicemailexplainer-4 .sf-auto-flow-status::before,
  #voicemailexplainer-4 .sf-auto-flow-status::after,
  #voicemailexplainer-4 .sf-auto-flow-particle,
  #voicemailexplainer-4 .sf-auto-flow-connector animate {
    animation: none !important;
  }

  #voicemailexplainer-4 .sf-auto-flow-status::after {
    opacity: 1;
  }
}

@media (max-width: 900px) {
  #voicemailexplainer .topa-feature-headline,
  #voicemailexplainer-2 .topa-feature-headline,
  #voicemailexplainer-4 .topa-feature-headline {
    font-size: clamp(17px, 4.2vw, 24px);
    white-space: normal;
  }

  #voicemailexplainer-4 .sf-auto-flow-wrap {
    max-width: min(300px, 88vw);
  }

  #voicemailexplainer-4 .sf-auto-flowchart {
    padding: 16px 12px 14px;
  }

  #voicemailexplainer-4 .sf-auto-flow-text {
    font-size: 9px;
  }

  #voicemailexplainer-4 .sf-auto-flow-node--compact .sf-auto-flow-text {
    font-size: 8px;
  }
}


.topa-feature-results-divider {
  margin: clamp(28px, 4vw, 40px) 0 0;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.topa-feature-results-preview {
  display: block;
  width: 100%;
  padding: 0;
  margin-top: clamp(20px, 3vw, 28px);
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}

.topa-feature-results-preview-inner {
  position: relative;
  background: linear-gradient(180deg, rgba(12, 11, 28, 0.88) 0%, rgba(8, 7, 27, 0.62) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 8px 24px rgba(0, 0, 0, 0.18);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.topa-feature-results-preview:hover .topa-feature-results-preview-inner,
.topa-feature-results-preview:focus-visible .topa-feature-results-preview-inner {
  border-color: rgba(168, 85, 247, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 10px 28px rgba(168, 85, 247, 0.16);
  outline: none;
}

.topa-feature-results-preview-label {
  display: block;
  padding: 12px 14px 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.topa-feature-results-preview-label::after {
  content: "";
  display: block;
  height: 1px;
  margin-top: 10px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.38), rgba(244, 114, 182, 0.28), transparent);
}

.topa-feature-results-preview-table {
  padding: 8px 10px 0;
  pointer-events: none;
}

.topa-feature-results-preview-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 36px;
  height: 72px;
  background: linear-gradient(to bottom, transparent, rgba(8, 7, 27, 0.98));
  pointer-events: none;
}

.topa-feature-results-preview-cta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 14px 14px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #e9d5ff;
}

.topa-feature-results-preview-cta svg {
  width: 12px;
  height: 12px;
  fill: #c084fc;
  opacity: 0.9;
}

/* Shared results table — panel style */
.ce {
  font-family: 'Inter', system-ui, sans-serif;
  color: #fff;
}

.ce * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.ce-card {
  background: linear-gradient(180deg, rgba(4, 3, 14, 0.5) 0%, rgba(2, 2, 10, 0.35) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  padding: 0 8px 4px;
}

.ce-tbl {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.ce-tbl thead {
  background: rgba(255, 255, 255, 0.03);
}

.ce-tbl th {
  padding: 8px 5px;
  text-align: left;
  font-size: 8px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.42);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: normal;
  line-height: 1.25;
  vertical-align: bottom;
  overflow: hidden;
  word-break: break-word;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ce-tbl th.col-rate,
.ce-tbl th.col-totals,
.ce-tbl th.col-responses {
  padding-right: 6px;
}

.ce-tbl tbody tr {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.15s ease;
}

.ce-tbl tbody tr:hover {
  background: rgba(168, 85, 247, 0.06);
}

.ce-tbl td {
  padding: 8px 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.82);
  vertical-align: middle;
}

.col-usecase { width: 15%; }
.col-campaign { width: 10%; }
.col-type { width: 9%; }
.col-play { width: 8%; }
.col-totals { width: 11%; }
.col-responses { width: 21%; }
.col-rate { width: 11%; }

.col-usecase.cn,
.cn.col-usecase {
  font-weight: 600;
  color: #fff;
  white-space: normal;
  line-height: 1.25;
  word-break: break-word;
}

tbody .col-campaign {
  white-space: nowrap;
}

.cu-seg {
  display: inline-block;
  font-size: 8px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 9999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.cu-seg-b2b {
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.3);
  color: #67e8f9;
}

.cu-seg-b2c {
  background: rgba(244, 114, 182, 0.12);
  border: 1px solid rgba(244, 114, 182, 0.3);
  color: #fbcfe8;
}

.ct {
  display: inline-block;
  padding: 2px 6px;
  font-size: 9px;
  font-weight: 600;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.ct-instantly {
  background: rgba(96, 165, 250, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.25);
  color: #93c5fd;
}

.ct-smartlead {
  background: rgba(163, 230, 53, 0.12);
  border: 1px solid rgba(163, 230, 53, 0.25);
  color: #a3e635;
}

.ct-webhook {
  background: rgba(192, 132, 252, 0.12);
  border: 1px solid rgba(192, 132, 252, 0.25);
  color: #d8b4fe;
}

.ct-manual {
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.25);
  color: #fcd34d;
}

.cm { color: rgba(255, 255, 255, 0.35); }
.cg { color: #34d399; }

.col-responses {
  white-space: normal;
  line-height: 1.35;
}

.cr-row {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-size: 10px;
}

.cr-row + .cr-row {
  margin-top: 2px;
}

.cr-label {
  flex-shrink: 0;
  min-width: 72px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
}

.cr-rate {
  font-weight: 700;
  font-size: 12px;
}

.cvmp {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.cpb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.28);
  color: #c084fc;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.cpb:hover {
  background: rgba(168, 85, 247, 0.22);
  border-color: rgba(168, 85, 247, 0.45);
}

.cpb.playing {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(52, 211, 153, 0.4);
  color: #34d399;
}

.cpb svg {
  width: 11px;
  height: 11px;
  fill: currentColor;
}

.cwf {
  display: flex;
  align-items: center;
  gap: 1px;
  padding: 2px 5px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  height: 20px;
  flex-shrink: 1;
  min-width: 0;
  max-width: 46px;
  overflow: hidden;
}

.cwf .bar {
  width: 2px;
  border-radius: 2px;
  background: #6b7280;
  transition: background 0.1s;
  flex-shrink: 0;
}

.cwf .bar:nth-child(n+6) {
  display: none;
}

.cwf.active .bar { background: #c084fc; }
.cwf.active .bar.lit { background: #34d399; }

.topa-feature-results-preview-table .ce {
  background: transparent;
  padding: 0;
  min-width: 0;
}

.topa-feature-results-preview-table .ce-tbl th,
.topa-feature-results-preview-table .ce-tbl td {
  padding: 7px 5px;
  font-size: 10px;
}

.topa-feature-results-preview-table .col-totals,
.topa-feature-results-preview-table .col-responses .cr-row:nth-child(n+2) {
  display: none;
}

.topa-feature-results-preview-table .cwf {
  height: 18px;
  max-width: 40px;
  padding: 2px 4px;
}

.topa-results-modal .topa-demo-modal-body .cwf {
  height: 20px;
  max-width: 46px;
}

.topa-results-modal .topa-demo-modal-dialog {
  width: min(720px, 100%);
  max-height: min(88vh, 820px);
  background: linear-gradient(180deg, rgba(12, 11, 28, 0.98) 0%, rgba(8, 7, 27, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 24px 80px rgba(0, 0, 0, 0.55);
}

.topa-results-modal .topa-demo-modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 12px;
  box-shadow: 0 1px 0 rgba(168, 85, 247, 0.12);
}

.topa-results-modal .topa-demo-modal-title {
  color: #e9d5ff;
}

.topa-results-modal .topa-demo-modal-body {
  aspect-ratio: auto;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 12px 16px 16px;
  background: transparent;
  -webkit-overflow-scrolling: touch;
}

.topa-results-modal .topa-demo-modal-body .ce {
  background: transparent;
  padding: 0;
  min-width: 0;
  overflow: visible;
}

.topa-results-modal .topa-demo-modal-body .ce-wrap {
  width: 100%;
  overflow: visible;
}

.topa-results-modal .topa-demo-modal-body .ce-tbl th {
  padding: 7px 5px;
  font-size: 8px;
}

.topa-results-modal .topa-demo-modal-body .ce-tbl td {
  padding: 7px 5px;
  font-size: 10px;
}

.topa-results-modal .topa-demo-modal-body .cr-row {
  font-size: 9px;
}

.topa-results-modal .topa-demo-modal-body .cr-rate {
  font-size: 11px;
}

  @media (max-width: 900px) {
  .topa-feature-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .topa-feature-block {
    padding-left: 0;
    padding-right: 0;
  }

  .topa-feature-card {
    padding-left: 12px;
    padding-right: 8px;
  }

  .topa-feature-desc {
    max-width: none;
  }

  .topa-feature-b2b-note-text {
    white-space: normal;
  }

  .topa-feature-visual-scene {
    min-height: 0;
  }

  .topa-feature-orbit {
    display: none;
  }

  .topa-feature-mock {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }

  .topa-feature-results-preview-table .ce-tbl th,
  .topa-feature-results-preview-table .ce-tbl td {
    padding: 6px 4px;
    font-size: 9px;
  }

  .topa-feature-demo-btns {
    align-items: stretch;
  }

  .topa-feature-demo-btn--webhook {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    align-items: flex-start;
    align-self: stretch;
    text-align: left;
  }

  .topa-feature-demo-btn--webhook .topa-feature-demo-btn-main {
    justify-content: flex-start;
    width: 100%;
  }

  .topa-feature-demo-btn--webhook .topa-feature-demo-btn-logos {
    justify-content: flex-start;
  }

}

/* Two-column combo cards (Ai Videos section) */
#voicemailexplainer-3 .topa-combo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 40px);
  align-items: stretch;
}

#voicemailexplainer-3 .topa-combo-card {
  background: rgba(10, 9, 26, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 40px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
}

#voicemailexplainer-3 .topa-combo-col {
  display: grid;
  grid-template-rows: auto;
  gap: clamp(28px, 4vw, 40px);
  min-width: 0;
}

#voicemailexplainer-3 .topa-combo-demo-btns {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding-top: 12px;
}

#voicemailexplainer-3 .topa-combo-demo-btns .topa-feature-demo-btn {
  margin-top: 0;
}

#voicemailexplainer-3 .topa-combo-col .topa-feature-content {
  gap: 12px;
  align-items: flex-start;
}

#voicemailexplainer-3 .topa-combo-col .topa-feature-headline {
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.3;
  text-align: left;
}

#voicemailexplainer-3 .topa-combo-col .topa-feature-desc {
  max-width: none;
  text-align: left;
  margin: 0;
}

#voicemailexplainer-3 .topa-combo-col:first-child .topa-feature-desc {
  margin-bottom: 12px;
  padding-bottom: 4px;
}

#voicemailexplainer-3 .ps-column-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

#voicemailexplainer-3 .ps-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 4px 0;
}

#voicemailexplainer-3 .ps-list-text {
  flex: 1;
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
  min-width: 0;
}

#voicemailexplainer-3 .ps-tick {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: rgba(99, 38, 162, 0.22);
  border: 1px solid rgba(168, 85, 247, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c084fc;
  margin-top: 1px;
  position: relative;
}

#voicemailexplainer-3 .ps-tick svg {
  width: 11px;
  height: 11px;
  position: absolute;
}

@media (max-width: 760px) {
  #voicemailexplainer-3 .topa-combo-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  #voicemailexplainer-3 .topa-combo-col .topa-feature-headline {
    min-height: 0;
  }
}

