/* nurax.ai: "screen-first" scroll scene (showcase.js).
   Without JS (or with reduced motion) it is a plain section: caption + flat screenshot. */
.showcase { position: relative; background: var(--white); }
.sc-stage { position: relative; padding: 72px 16px 40px; }
.sc-captions { position: relative; text-align: center; }
.sc-cap { padding: 0 16px; }
.sc-cap + .sc-cap { display: none; }
.sc-cap .kicker { display: block; margin-bottom: 10px; }
.sc-cap h2 { font-size: clamp(1.8rem, 4.4vw, 3.2rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; }
.sc-cap p { max-width: 520px; margin: 12px auto 0; color: var(--muted); font-size: 1.05rem; }

.sc-card { position: relative; width: min(980px, 100%); margin: 40px auto 0; aspect-ratio: 1280 / 851; }
.sc-face { position: absolute; inset: 0; border-radius: 14px; overflow: hidden; background: #0d0d0f;
    box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 40px 80px -40px rgba(0,0,0,.45), 0 18px 36px -24px rgba(0,0,0,.3); }
.sc-face img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sc-back { display: none; background: #F4F3F0; }
.sc-glow, .sc-wall, .sc-card .sc-check { display: none; }

/* ---------- Live mode (added by showcase.js) ---------- */
.showcase.live { height: 560vh; }
.showcase.live .sc-stage { position: sticky; top: 0; height: 100vh; height: 100svh; padding: 0; overflow: hidden;
    perspective: 1800px; }
.showcase.live .sc-captions { position: absolute; left: 0; right: 0; top: calc(64px + 4.5vh); z-index: 3; pointer-events: none; }
.showcase.live .sc-cap { position: absolute; left: 0; right: 0; display: block; opacity: 0; }
.showcase.live .sc-card { position: absolute; margin: 0; transform-style: preserve-3d; will-change: transform; z-index: 2; }
.showcase.live .sc-face { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.showcase.live .sc-back { display: block; transform: rotateY(180deg); }
.showcase.live .sc-glow { display: block; position: absolute; z-index: 1; pointer-events: none; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(0,0,0,.22), rgba(0,0,0,0)); filter: blur(10px); }
.showcase.live .sc-wall { display: block; position: absolute; inset: 0; z-index: 1; pointer-events: none; }

.sc-tile { position: absolute; border-radius: 7px; overflow: visible; opacity: 0; will-change: transform, opacity; }
.sc-tile .sc-screen { position: absolute; inset: 0; border-radius: 7px; overflow: hidden;
    box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 14px 28px -18px rgba(0,0,0,.35); }
.sc-tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sc-tile .sc-ring { position: absolute; inset: -3px; border-radius: 9px; box-shadow: 0 0 0 2px var(--lime), 0 0 22px 2px rgba(198,237,137,.7); opacity: 0; }

/* lime check badge (tiles and the card's back face) */
.sc-check { position: absolute; top: -10px; right: -10px; width: 26px; height: 26px; border-radius: 50%;
    background: var(--lime); display: grid; place-items: center; transform: scale(0);
    box-shadow: 0 4px 10px -4px rgba(0,0,0,.35); }
.sc-check svg { width: 14px; height: 14px; }
/* sits on the back face: positioned on the left because the card is flipped */
.showcase.live .sc-card .sc-check { display: grid; top: 0; left: 4%; right: auto; width: 34px; height: 34px;
    backface-visibility: hidden; -webkit-backface-visibility: hidden; transform: translateZ(-3px) rotateY(180deg) scale(0); }
.showcase.live .sc-card .sc-check svg { width: 18px; height: 18px; }

/* laptop tiles: transparent PNG-style image, no frame or rectangle shadow */
.sc-tile.is-device .sc-device { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.sc-tile.is-device .sc-check { top: 0; right: 4%; }
.sc-tile .sc-halo { position: absolute; left: 4%; right: 4%; top: 6%; bottom: 6%; border-radius: 16px; opacity: 0;
    background: radial-gradient(closest-side, rgba(198,237,137,.9), rgba(198,237,137,.35) 70%, rgba(198,237,137,0)); transform: scale(1.12); }

/* centre card faces: the laptop mockups themselves, so no screen frame, rounding or shadow */
.sc-face.is-device { background: none; box-shadow: none; border-radius: 0; overflow: visible; }
.sc-face.is-device img { object-fit: contain; }

/* the console moved out of the hero sits right after the scene */
.console-section { padding-top: 24px; }
.console-section .console { margin-top: 0; }
