/* Homepage hero motion — preview only. Transform/opacity only. Does not change layout, copy, or links. */

.hero-lr{isolation:isolate}
.hero-fx{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none;contain:paint}

.hero-fx-glow{
  position:absolute;right:-6%;top:-8%;
  width:min(820px,78vw);height:130%;
  background:
    radial-gradient(ellipse at 52% 46%,#e0b3ff55 0%,#c13cff33 28%,#780edb22 48%,transparent 72%),
    radial-gradient(ellipse at 62% 58%,#9718ed2e 0%,transparent 62%);
  transform-origin:55% 48%;
  animation:lonroHeroPulse 6.5s ease-in-out infinite;
  opacity:.7;
}
html[data-theme=light] .hero-fx-glow{
  background:
    radial-gradient(ellipse at 52% 46%,#d4a6ff4d 0%,#c13cff2e 30%,#9718ed22 50%,transparent 72%),
    radial-gradient(ellipse at 62% 58%,#780edb24 0%,transparent 62%);
  opacity:.8;
}

.hero-fx-beam{
  position:absolute;
  top:-30%;
  width:7px;
  height:170%;
  background:linear-gradient(to bottom,transparent 0%,#f0d9ff00 8%,#f0d9ffaa 42%,#c13cffcc 50%,#9718ed66 58%,#780edb00 92%,transparent 100%);
  filter:blur(2.4px);
  transform-origin:center center;
  opacity:.0;
  will-change:transform,opacity;
}
.hero-fx-beam.b1{right:7%;width:10px;transform:rotate(-34deg);animation:lonroBeamA 8.5s ease-in-out infinite}
.hero-fx-beam.b2{right:18%;width:7px;transform:rotate(-36deg);animation:lonroBeamB 10.5s ease-in-out 1.1s infinite;opacity:.0}
.hero-fx-beam.b3{right:28%;width:6px;height:150%;top:-20%;transform:rotate(-31deg);animation:lonroBeamA 11s ease-in-out 2.4s infinite}
.hero-fx-beam.b4{left:6%;right:auto;width:14px;height:160%;top:10%;opacity:0;transform:rotate(-35deg);animation:lonroBeamC 13s ease-in-out 1.8s infinite;filter:blur(4px)}
html[data-theme=light] .hero-fx-beam{
  background:linear-gradient(to bottom,transparent 0%,#c13cff00 8%,#c13cff99 42%,#9718edbb 50%,#780edb66 62%,transparent 100%);
}

.hero-fx-dot{
  position:absolute;border-radius:50%;
  background:#e9d5ff;
  box-shadow:0 0 8px #c13cff88;
  opacity:.0;
  animation:lonroDot 11s ease-in-out infinite;
  will-change:transform,opacity;
}
html[data-theme=light] .hero-fx-dot{background:#b56cff;box-shadow:0 0 8px #9718ed66}
.hero-fx-dot.d1{width:5px;height:5px;right:14%;top:22%;--dx:18px;--dy:-26px;animation-duration:12.5s}
.hero-fx-dot.d2{width:3px;height:3px;right:26%;top:38%;--dx:-16px;--dy:-22px;animation-duration:10s;animation-delay:1.2s}
.hero-fx-dot.d3{width:6px;height:6px;right:9%;top:58%;--dx:12px;--dy:20px;animation-duration:13.5s;animation-delay:2.1s}
.hero-fx-dot.d4{width:4px;height:4px;right:34%;top:18%;--dx:-20px;--dy:14px;animation-duration:11.5s;animation-delay:.6s}
.hero-fx-dot.d5{width:3px;height:3px;right:22%;top:72%;--dx:22px;--dy:-18px;animation-duration:14s;animation-delay:3s}
.hero-fx-dot.d6{width:4px;height:4px;right:41%;top:48%;--dx:-10px;--dy:-28px;animation-duration:12s;animation-delay:1.8s}
.hero-fx-dot.d7{width:3px;height:3px;left:18%;bottom:16%;--dx:24px;--dy:-16px;animation-duration:15s;animation-delay:2.6s;opacity:0}
.hero-fx-dot.d8{width:5px;height:5px;right:16%;top:8%;--dx:-14px;--dy:18px;animation-duration:9.5s;animation-delay:.9s}

@keyframes lonroHeroPulse{
  0%,100%{opacity:.55;transform:scale(1)}
  50%{opacity:.95;transform:scale(1.08)}
}
@keyframes lonroBeamA{
  0%,100%{opacity:.12;transform:rotate(-34deg) translate3d(0,-6%,0)}
  50%{opacity:.88;transform:rotate(-34deg) translate3d(18px,7%,0)}
}
@keyframes lonroBeamB{
  0%,100%{opacity:.08;transform:rotate(-36deg) translate3d(0,8%,0)}
  50%{opacity:.8;transform:rotate(-36deg) translate3d(-16px,-6%,0)}
}
@keyframes lonroBeamC{
  0%,100%{opacity:.05;transform:rotate(-35deg) translate3d(0,4%,0)}
  50%{opacity:.45;transform:rotate(-35deg) translate3d(12px,-5%,0)}
}
@keyframes lonroDot{
  0%,100%{transform:translate3d(0,0,0);opacity:.12}
  50%{transform:translate3d(var(--dx,12px),var(--dy,-20px),0);opacity:.75}
}

/* Price card: wrappers do not change layout; existing .orb rotate(2deg) is preserved */
.orb-stage{perspective:920px;width:100%}
.orb-tilt{transform-style:preserve-3d;transform:translateZ(0);animation:lonroOrbFloat 5.8s ease-in-out infinite;will-change:transform}
.orb-tilt.is-held{animation:none;transition:transform .14s ease-out}
@keyframes lonroOrbFloat{
  0%,100%{transform:translate3d(0,0,0)}
  50%{transform:translate3d(0,-7px,0)}
}

.orb .orb-shine{
  position:absolute;inset:0;border-radius:inherit;overflow:hidden;pointer-events:none;z-index:2;
}
.orb .orb-shine:after{
  content:"";position:absolute;top:-30%;left:-60%;width:45%;height:160%;
  background:linear-gradient(90deg,transparent 0%,#ffffff00 20%,#f3e8ff55 50%,#c13cff33 70%,transparent 100%);
  transform:skewX(-22deg) translateX(-30%);
  opacity:0;
}
.orb .orb-shine.sweep:after{animation:lonroShine .95s ease}
html[data-theme=light] .orb .orb-shine:after{
  background:linear-gradient(90deg,transparent 0%,#ffffff00 15%,#ffffff88 48%,#e9d5ff66 70%,transparent 100%);
}
@keyframes lonroShine{
  0%{transform:skewX(-22deg) translateX(-30%);opacity:0}
  18%{opacity:.95}
  100%{transform:skewX(-22deg) translateX(420%);opacity:0}
}

.hero-lr.hero-motion-on .orb .chip{
  animation:lonroChipIn .55s ease both;
}
.hero-lr.hero-motion-on .orb .chip:nth-child(1){animation-delay:.08s}
.hero-lr.hero-motion-on .orb .chip:nth-child(2){animation-delay:.16s}
.hero-lr.hero-motion-on .orb .chip:nth-child(3){animation-delay:.24s}
.hero-lr.hero-motion-on .orb .chip:nth-child(4){animation-delay:.32s}
@keyframes lonroChipIn{
  from{opacity:0;transform:translateY(8px)}
  to{opacity:1;transform:translateY(0)}
}

/* Pause work on the hidden language copy */
[data-page][hidden] .hero-fx,
[data-page][hidden] .orb-tilt,
[data-page][hidden] .orb .chip{animation-play-state:paused}

@media(max-width:900px){
  .hero-fx-beam.b3,.hero-fx-beam.b4,.hero-fx-dot.d6,.hero-fx-dot.d7,.hero-fx-dot.d8{display:none}
  .hero-fx-glow{right:-18%;top:-16%;width:95%;height:90%}
  .orb-tilt{animation-duration:6.4s}
}

@media(prefers-reduced-motion:reduce){
  .hero-fx,.orb-shine{display:none}
  .orb-tilt{animation:none;transform:none;transition:none}
  .hero-lr.hero-motion-on .orb .chip{animation:none}
}
