/* Giocondo FX layer: page transitions, neon headline, scroll reveals, cursor glow. Pure CSS/JS, respects reduced-motion. */
@view-transition { navigation: auto; }
::view-transition-old(root){animation:gio-fade-out .18s ease both}
::view-transition-new(root){animation:gio-fade-in .28s ease both}
@keyframes gio-fade-out{to{opacity:0}}
@keyframes gio-fade-in{from{opacity:0}}

/* neon headline: second line of each hero title glows like a lit sign */
.hero-content h1 span{color:#fff;text-shadow:0 0 6px rgba(103,232,249,.9),0 0 18px rgba(34,211,238,.75),0 0 42px rgba(6,182,212,.55);animation:gio-neon-on 1.6s ease-out .3s both}
@keyframes gio-neon-on{0%,18%{opacity:.25;text-shadow:none}22%{opacity:1}26%{opacity:.35;text-shadow:none}30%,100%{opacity:1}}
.gio-neon{color:#fff;text-shadow:0 0 6px #67e8f9,0 0 20px #22d3ee,0 0 44px #06b6d4}

/* soft reveal while scrolling (only where the browser supports scroll-driven animation) */
@supports (animation-timeline: view()) {
  .stats-bar,.portfolio-preview-home,.pricing-guide-home,.why-giocondo,.gio-ads,.shop-promo-banner{animation:gio-rise linear both;animation-timeline:view();animation-range:entry 0% entry 35%}
  @keyframes gio-rise{from{opacity:.15;transform:translateY(28px)}to{opacity:1;transform:none}}
}

/* light that follows the pointer over the hero (set by gio-fx.js, desktop only) */
.hero-slider-enhanced{position:relative}
.hero-slider-enhanced::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:2;opacity:var(--gio-glow,0);transition:opacity .4s;background:radial-gradient(340px circle at var(--gio-x,50%) var(--gio-y,50%),rgba(34,211,238,.16),transparent 70%)}

@media (prefers-reduced-motion: reduce){
  .hero-content h1 span{animation:none}
  .stats-bar,.portfolio-preview-home,.pricing-guide-home,.why-giocondo,.gio-ads,.shop-promo-banner{animation:none!important}
  ::view-transition-old(root),::view-transition-new(root){animation:none}
}
