/* The /promo walkthrough player (2026-10-18): the real screenshots, an arrow and a glowing aurora ring on the
   element clicked at each step. Standalone: the night sky of the landing page, nothing else loaded. */
:root {
  --promo-bg: #0a1224;
  --promo-indigo: #13233f;
  --promo-text: #f1f5f9;
  --promo-muted: #a8b3c7;
  --promo-teal: #2dd4bf;
  --promo-border: rgba(148, 163, 184, 0.22);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  color: var(--promo-text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background-color: var(--promo-bg);
  background-image:
    radial-gradient(ellipse 55% 40% at 18% 10%, rgba(20, 184, 166, 0.10), transparent 70%),
    radial-gradient(ellipse 70% 30% at 50% 0%, rgba(74, 222, 128, 0.07), transparent 72%),
    radial-gradient(ellipse 60% 45% at 85% 12%, rgba(124, 58, 237, 0.10), transparent 70%),
    linear-gradient(180deg, var(--promo-bg) 0%, var(--promo-indigo) 60%, var(--promo-bg) 100%);
  background-attachment: fixed;
}
.promo { max-width: 1280px; margin: 0 auto; padding: 24px 16px 40px; }
.promo-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.promo-brand { color: var(--promo-text); font-weight: 700; font-size: 22px; text-decoration: none; }
.promo-sub { color: var(--promo-muted); font-size: 15px; }

.promo-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--promo-border);
  background: #11151d;
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.08), 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 60px rgba(45, 212, 191, 0.08);
}
.promo-shot {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  opacity: 0; transition: opacity 600ms ease;
}
.promo-shot.is-shown { opacity: 1; }
.promo-overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.promo-empty { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: var(--promo-muted); }
.promo-empty[hidden] { display: none; }

/* The glowing ring: drawn round the element, then breathing. */
.promo-ring {
  fill: none; stroke: url(#promo-aurora); stroke-width: 5; filter: url(#promo-glow);
  stroke-dasharray: var(--len); stroke-dashoffset: var(--len);
  animation: promo-draw 700ms ease-out 250ms forwards, promo-breathe 2.4s ease-in-out 950ms infinite;
}
.promo-arrow {
  fill: none; stroke: #2dd4bf; stroke-width: 6; stroke-linecap: round; filter: url(#promo-glow);
  stroke-dasharray: var(--len); stroke-dashoffset: var(--len);
  animation: promo-draw 650ms ease-in-out 900ms forwards;
}
.promo-arrow-head { opacity: 0; animation: promo-fade 200ms ease 1500ms forwards; }
.promo-tap { fill: rgba(45, 212, 191, 0.35); stroke: #5eead4; stroke-width: 3; opacity: 0;
             transform-box: fill-box; transform-origin: center;
             animation: promo-tap 900ms ease-out 2600ms forwards; }
@keyframes promo-draw { to { stroke-dashoffset: 0; } }
@keyframes promo-fade { to { opacity: 1; } }
@keyframes promo-breathe { 0%, 100% { stroke-opacity: 1; } 50% { stroke-opacity: 0.55; } }
@keyframes promo-tap { 0% { opacity: 0.9; transform: scale(0.4); } 100% { opacity: 0; transform: scale(1.8); } }

.promo-caption { display: flex; gap: 12px; align-items: baseline; margin: 18px 4px 10px; min-height: 2.6em; }
.promo-step { color: var(--promo-teal); font-weight: 700; font-size: 14px; white-space: nowrap; }
.promo-text { font-size: 19px; line-height: 1.4; }

.promo-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.promo-controls button {
  width: 42px; height: 42px; border-radius: 50%; cursor: pointer; font-size: 18px; line-height: 1;
  color: var(--promo-text); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--promo-border);
}
.promo-controls button:hover { border-color: rgba(240, 171, 252, 0.45); }
.promo-controls button:focus-visible, .promo-dots button:focus-visible { outline: 2px solid var(--promo-teal); outline-offset: 2px; }
.promo-dots { display: flex; gap: 8px; margin-left: 8px; }
.promo-dots button { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 0; cursor: pointer;
                     background: rgba(148, 163, 184, 0.35); }
.promo-dots button.is-current { background: var(--promo-teal); box-shadow: 0 0 10px rgba(45, 212, 191, 0.6); }

.promo-note { color: var(--promo-muted); font-size: 14px; margin: 22px 4px 6px; }
.promo-cta { margin: 0 4px; font-size: 15px; color: var(--promo-muted); }
.promo-cta a { color: var(--promo-teal); }

@media (prefers-reduced-motion: reduce) {
  .promo-ring, .promo-arrow { animation: none; stroke-dashoffset: 0; }
  .promo-arrow-head { animation: none; opacity: 1; }
  .promo-tap { display: none; }
  .promo-shot { transition: none; }
}
@media (max-width: 640px) {
  .promo-text { font-size: 16px; }
  .promo-caption { flex-direction: column; gap: 4px; }
}
