/* Landing motion inspired by Apple (scroll-lit text, growing product view), Linear (gradient
   headlines, pointer-lit borders) and Zajno (big moving word band). 2026-11-21. CSS-only where possible. */
.lx-section .section-head h2,#prezzi .section-head h2,#faq h2,.final-cta h2{background:linear-gradient(180deg,#fff 35%,rgba(214,228,240,.62));-webkit-background-clip:text;background-clip:text;color:transparent}
/* Pointer-lit border */
.lx-glow{position:relative;isolation:isolate}
.lx-glow::after{content:'';position:absolute;inset:0;border-radius:inherit;padding:1px;pointer-events:none;background:radial-gradient(240px circle at var(--gx,50%) var(--gy,-40%),rgba(125,222,221,.75),transparent 60%);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);opacity:0;transition:opacity .3s}
.lx-glow:hover::after{opacity:1}
@supports (animation-timeline:view()){
 @media(prefers-reduced-motion:no-preference){
  /* Section titles rise in as they enter. */
  .lx-section .section-head,#prezzi .section-head,#faq .section-head{animation:lxRise linear both;animation-timeline:view();animation-range:entry 0% entry 70%}
  @keyframes lxRise{from{opacity:0;transform:translateY(48px) scale(.97)}to{opacity:1;transform:none}}
  /* Intro text lights up line by line while scrolling. */
  .lx-section .section-head p{background:linear-gradient(180deg,#dfe8f2 0 50%,rgba(223,232,242,.2) 50% 100%);background-size:100% 200%;background-position:0 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:lxLight linear both;animation-timeline:view();animation-range:entry 30% cover 50%}
  @keyframes lxLight{to{background-position:0 0}}
  /* The product view grows to full size as it comes in. */
  .lx-tour{animation:lxGrow linear both;animation-timeline:view();animation-range:entry 0% cover 40%}
  @keyframes lxGrow{from{transform:scale(.86);opacity:.4;border-radius:40px}to{transform:none;opacity:1}}
 }
}
