/* Homepage modules: each tab's visual is a window onto real app screens, with a camera and a cursor. */
.pm-visual.pmx { align-self: start; padding: 0; border: 1px solid #ece6ee; border-radius: 16px; overflow: hidden; background: #f4f2f6; box-shadow: 0 24px 48px -32px var(--plum)80; }
.pmx-viewport { position: relative; aspect-ratio: 16 / 10; overflow: hidden; } /* the app screens' own shape (1440 x 900) */
.pmx-camera { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; transition: transform 1.15s cubic-bezier(.65, 0, .35, 1); }
.pmx-camera.is-instant { transition: none; }
.pmx-host { position: absolute; left: 0; top: 0; }
.pmx-cursor { position: absolute; left: 0; top: 0; width: 22px; height: 22px; z-index: 5; pointer-events: none; opacity: 0; transform: translate(60%, 70%);
  transition: transform .85s cubic-bezier(.45, 0, .2, 1), opacity .4s; }
.pmx-cursor.is-on { opacity: 1; }
.pmx-cursor svg { width: 22px; height: 22px; display: block; fill: #2a1f31; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; filter: drop-shadow(0 2px 3px #2a1f3140); }
.pmx-cursor i { position: absolute; left: 2px; top: 1px; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: rgba(221,89,59,.33); transform: scale(0); opacity: 0; }
.pmx-cursor.is-click i { animation: pmx-click .5s ease-out; }
@keyframes pmx-click { from { transform: scale(.2); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
/* The three points are the tour's steps. */
.pmx-steps { list-style: none; padding: 0; }
.pmx-steps li { padding: 0; }
.pmx-steps li::before { display: none; }
.pmx-steps button { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px 12px; margin: 0 -12px; border: 0; border-radius: 10px;
  background: transparent; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.pmx-steps button::before { content: ''; flex: none; width: 12px; height: 12px; border: 1.5px solid var(--coral); border-radius: 50%; transition: background .3s; }
.pmx-steps button:hover { text-decoration: underline; text-underline-offset: 3px; }
.pmx-steps button:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; }
.pmx-steps button::after { content: ''; position: absolute; left: 36px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--coral); transform: scaleX(0); transform-origin: 0 50%; opacity: 0; }
.pmx-steps .is-current button { background: #efe6f3; color: var(--plum); font-weight: 600; }
.pmx-steps .is-current button::before { background: var(--coral); }
.pmx-steps .is-current button::after { opacity: 1; animation: pmx-progress var(--pmx-dur, 20s) linear forwards; }
.is-pmx-paused .pmx-steps .is-current button::after { animation-play-state: paused; }
.is-pmx-unsupported .pmx { display: none; }
@keyframes pmx-progress { to { transform: scaleX(1); } }
/* Solution page heroes: the window sits over the page's screenshot, which stays for first paint and as the fallback. */
.pmx-hero .pmx-viewport { position: absolute; inset: 10px; aspect-ratio: auto; border: 1px solid #ece6ee; border-radius: 14px; background: #f4f2f6; opacity: 0; pointer-events: none; transition: opacity .5s; }
.pmx-hero.is-pmx-ready .pmx-viewport { opacity: 1; pointer-events: auto; cursor: pointer; }
.pmx-pause { position: absolute; right: 24px; bottom: 24px; z-index: 6; padding: 8px 14px; border: 0; border-radius: 999px; background: var(--plum); color: #fff; font-size: 14px; font-weight: 600; cursor: pointer;
  opacity: 0; pointer-events: none; transition: opacity .25s; }
.pmx-hero.is-pmx-ready:hover .pmx-pause, .pmx-hero.is-pmx-paused .pmx-pause, .pmx-pause:focus-visible { opacity: 1; pointer-events: auto; }
.pmx-pause:hover { text-decoration: underline; text-underline-offset: 3px; }
.pmx-pause:focus-visible { outline: 3px solid var(--coral); outline-offset: 5px; }
@media (max-width: 760px) { .pmx-hero .pmx-viewport { inset: 6px; border-radius: 10px; } .pmx-pause { right: 14px; bottom: 14px; padding: 6px 12px; font-size: 13px; } }
@media (hover: none) { .pmx-hero.is-pmx-ready .pmx-pause { opacity: 1; pointer-events: auto; } } /* touch screens have no hover: keep the button in view */
@media (prefers-reduced-motion: reduce) { .pmx-camera, .pmx-cursor, .pmx-host { transition: none !important; } .pmx-cursor i, .pmx-steps .is-current button::after { animation: none !important; } }
