/* NEQTO.ai animation: the card in the hero's second column, and the same card grown over the whole hero. */
.neqto-anim.neqto-hero { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 22px; background: #0a0c17; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.1); isolation: isolate; }
.neqto-hero iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.neqto-ph { flex: none; }
.neqto-welcome { position: relative; width: 100%; overflow: hidden; border-radius: 22px; background: #0a0c17; box-shadow: 2.5px 2px 15px 0 #e2c044; isolation: isolate; }
/* In Elementor's flex containers the widget needs an explicit width, or on phones it measures 0px tall and the card is hidden. */
.elementor-widget-shortcode:has(> .elementor-shortcode > .neqto-welcome) { width: 100%; flex: none; }
.neqto-welcome::before { content: ''; display: block; padding-top: 56.25%; }
.neqto-welcome iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
[data-neqto-scene] { cursor: pointer; transition: transform 0.25s ease; }
[data-neqto-scene]:hover, [data-neqto-scene]:focus-visible { transform: translateY(-4px); outline: none; }
.neqto-hero.neqto-fly { position: absolute; z-index: 20; margin: 0; aspect-ratio: auto; max-width: none; box-shadow: none; }
.neqto-hero.neqto-fly.is-expanded { border-radius: 0; }

/* The framed hero: a header bar, the animation, and a Jump to strip, in one card. */
.neqto-frame { --nf-gold: #e3c243; box-sizing: border-box; width: 100%; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 16px; background: #161940; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5); overflow: hidden; color: #e8ecf4; font-family: 'Manrope', system-ui, sans-serif; text-align: left; }
.neqto-frame *, .nf-overlay * { box-sizing: border-box; }
.nf-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 16px 12px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.nf-title { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; min-width: 0; }
.nf-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #3fd6c0; box-shadow: 0 0 8px #3fd6c0; }
.nf-name { font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 14px; font-weight: 600; line-height: 1.3; color: #e8ecf4; }
.nf-sub { font-size: 13px; line-height: 1.3; color: #7c8598; }
.nf-full, .nf-ov-close { display: inline-flex; flex: none; align-items: center; gap: 8px; margin: 0; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 8px; background: transparent; font-family: 'Manrope', system-ui, sans-serif; font-size: 13px; font-weight: 700; line-height: 1.2; letter-spacing: 0; text-transform: none; color: #e8ecf4; cursor: pointer; transition: border-color 0.2s ease, color 0.2s ease; }
.nf-full:hover, .nf-full:focus-visible, .nf-ov-close:hover, .nf-ov-close:focus-visible { border-color: var(--nf-gold, #e3c243); color: #e3c243; background: transparent; outline: none; }
.nf-stage { position: relative; width: 100%; aspect-ratio: 16 / 10; background: #0e1030; }
.nf-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.nf-jump { display: grid; grid-template-columns: auto repeat(4, minmax(0, 1fr)); gap: 8px; align-items: center; padding: 12px 14px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.nf-jump-label { padding: 0 8px 0 6px; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #7c8598; white-space: nowrap; }
.nf-beat { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; margin: 0; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 10px; background: transparent; text-align: left; font-family: 'Manrope', system-ui, sans-serif; cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease; }
.nf-beat:hover, .nf-beat:focus-visible { border-color: rgba(227, 194, 67, 0.6); background: transparent; outline: none; }
.nf-beat.is-on, .nf-beat.is-on:hover { border-color: #e3c243; background: rgba(227, 194, 67, 0.12); }
.nf-beat-name { font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 15px; font-weight: 600; line-height: 1.3; color: #e8ecf4; }
.nf-beat.is-on .nf-beat-name { color: #e3c243; }
@media (max-width: 860px) {
  .nf-sub { display: none; }
  .nf-jump { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nf-jump-label { grid-column: 1 / -1; padding: 0 4px; }
}
@media (max-width: 480px) { .nf-beat { padding: 9px 11px; } .nf-full span { display: none; } .nf-full { padding: 8px 10px; } }

/* Full screen: the same animation over the whole page. */
.nf-overlay { position: fixed; inset: 0; z-index: 100000; display: flex; flex-direction: column; gap: 16px; padding: 20px 28px 28px; background: rgba(8, 9, 28, 0.94); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-family: 'Manrope', system-ui, sans-serif; }
.nf-ov-top { display: flex; justify-content: space-between; align-items: center; }
.nf-ov-top img { display: block; height: 28px; width: auto; }
.nf-ov-close { padding: 9px 16px; font-size: 13.5px; }
.nf-ov-stage { flex: 1; min-height: 0; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 14px; overflow: hidden; background: #0e1030; }
.nf-ov-stage iframe { width: 100%; height: 100%; border: 0; display: block; }
html.nf-lock, html.nf-lock body { overflow: hidden; }
@media (max-width: 640px) { .nf-overlay { padding: 12px 12px 16px; } }
