/* Same motion, cheaper to draw: every looping or entrance animation moves only transform / opacity, which the
   browser hands to the GPU, instead of filter, left, box-shadow, background-position or an animated custom
   property, which re-style and re-paint the page on every frame (most of the main-thread time on phones).
   Loaded after the other stylesheets. */

/* entrances: the same fade + slide, without the 6px blur that had to be repainted every frame */
.js [data-reveal] { filter: none; transition-property: opacity, transform; }
.js [data-reveal].is-in { filter: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes stageIn { from { opacity: 0; transform: translateY(30px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes wIn { from { opacity: 0; } to { opacity: 1; } }
.hero2__rotator > span, .hero2__rotator > span.is-out { filter: none; transition-property: opacity, transform; }
.ps.is-ready .ps__panel { filter: none; }

/* turning gradient rings (logo plate, "why us" emblem): rotate a gradient layer instead of animating --spin */
.brand__logo, .emblem__core { animation: none; background: none; overflow: hidden; isolation: isolate; }
.brand__logo::before, .emblem__core::before {
    content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 170%; aspect-ratio: 1; transform: translate(-50%, -50%);
    background: conic-gradient(var(--volt), var(--cyan), var(--violet), #fff, var(--volt));
    animation: ringTurn 7s linear infinite; pointer-events: none;
}
.emblem__core::before { animation-duration: 8s; }
@keyframes ringTurn { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }

/* light sweep across the logo: moved with transform instead of left */
.brand__shine { left: -60%; animation-name: brandSweep; }
@keyframes brandSweep { 0% { transform: translateX(0) skewX(-18deg); } 22%, 100% { transform: translateX(422%) skewX(-18deg); } }

/* line under the top bar: the gradient strip slides with transform instead of background-position */
.site-topbar__line { animation: none; background: none; overflow: hidden; }
.site-topbar__line::before {
    content: ""; position: absolute; inset: 0 auto 0 0; width: 400%;
    background: linear-gradient(90deg, transparent, var(--volt), var(--cyan), var(--violet), transparent) 0 0 / 50% 100% repeat-x;
    animation: tbSlide 8s linear infinite;
}
@keyframes tbSlide { to { transform: translateX(-50%); } }

/* pulsing halos (hero offer chip, WhatsApp button): a halo layer that scales and fades instead of box-shadow */
.spot__chip--offer { animation: stageIn .9s var(--ease-out) .9s both; }
.offer__free { animation: none; }
.spot__chip--offer::after, .offer__free::after, .float-dock__btn--wa::after {
    content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
    background: rgba(255, 181, 71, .35); opacity: 0; animation: haloPulse 2.8s ease-in-out 2s infinite;
}
.float-dock__btn--wa { position: relative; animation: fadeUp .8s var(--ease-out) 1.35s both; }
.float-dock__btn--wa::after { background: rgba(37, 211, 102, .5); animation-duration: 3s; animation-delay: 3s; }
@keyframes haloPulse { 0%, 100% { opacity: 0; transform: scale(1); } 50% { opacity: .6; transform: scale(1.25); } }

@media (prefers-reduced-motion: reduce) {
    .brand__logo::before, .emblem__core::before, .brand__shine, .site-topbar__line::before,
    .spot__chip--offer::after, .offer__free::after, .float-dock__btn--wa::after { animation: none; }
}

/* full-screen ambient background: the blurred aurora is already soft (no extra blur), and the diamond grid drifts
   with transform instead of repainting the whole screen through background-position */
body.platform-body::before { filter: none; }
body.platform-body::after { inset: -28px 0 0 -28px; animation: latticeShift 40s linear infinite alternate; }
.cta-band::before { inset: -28px 0 0 -28px; animation: latticeShift 40s linear infinite alternate; }
@keyframes latticeShift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(28px, 28px, 0); } }

/* decorative shapes (pricing orbits, laptop base, top-bar icons) stuck out past the right edge on phones and made
   the whole page scroll sideways; they are cut at the screen edge (what was visible anyway) */
main, .site-topbar, .site-footer { overflow-x: clip; }

/* floating cards: float with the independent translate property, so it runs on the GPU next to the entrance
   animation (two transform animations on one element force both onto the main thread). The tilted "since" mark
   keeps the original transform keyframes, since it blends its tilt into the float. */
@keyframes float { 50% { translate: 0 -10px; } }
.about2__mark { animation-name: floatTilt; }
@keyframes floatTilt { 50% { transform: translateY(-10px); } }
