/* ============================================================
AR — Bits.jsx · shared atoms (evolved)
============================================================ */
const Container = ({ children, style, className = '' }) => (
hoverable && setHover(true)}
onMouseLeave={() => hoverable && setHover(false)}
style={{
position: 'relative', overflow: 'hidden',
background: premium
? 'linear-gradient(145deg, rgba(0,94,255,0.13), rgba(255,255,255,0.025))'
: 'var(--ar-bg-card)',
border: `1px solid ${hover ? 'rgba(0,94,255,0.45)' : 'rgba(255,255,255,0.10)'}`,
borderRadius: 22, padding: 28,
transition: 'border-color 220ms, transform 280ms var(--ar-ease), box-shadow 280ms',
transform: hover ? 'translateY(-4px)' : 'none',
boxShadow: hover
? '0 30px 70px -26px rgba(0,0,0,0.75), 0 0 0 1px rgba(0,94,255,0.22) inset'
: '0 18px 48px -18px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04) inset',
...style,
}}
>
{glow && (
)}
{children}
);
};
/* Reveal — wraps children in a scroll-reveal node with optional stagger delay */
const Reveal = ({ children, delay = 0, style, as = 'div' }) => {
const El = as;
return