
/* =========================================================
   LUNARA HOME — CINEMATIC MICRO-MOTION 3.5.45
   Motion direction derived from the supplied mobile reference.
   ========================================================= */
:root{
  --home-motion-ease:cubic-bezier(.18,.78,.2,1);
}
/* Header: the brand arrives first; controls follow with a measured stagger. */
.nav .brand{
  transform-origin:center;
  animation:home-brand-arrive 1050ms var(--home-motion-ease) both;
}
.nav .brand-logo{
  transform-origin:50% 50%;
  filter:drop-shadow(0 0 10px rgba(93,207,230,.13));
}
.nav .theme-toggle,.nav .menu{
  animation:home-control-arrive 760ms var(--home-motion-ease) both;
}
.nav .theme-toggle{animation-delay:100ms}
.nav .menu{animation-delay:180ms}
.nav .theme-toggle .theme-icon{
  transform-origin:50% 50%;
  animation:home-moon-breathe 7s ease-in-out 1.2s infinite;
}
.nav .menu{
  transition:translate 420ms var(--home-motion-ease),rotate 420ms var(--home-motion-ease),border-color 350ms ease,box-shadow 350ms ease;
}
.nav .menu:hover{translate:0 -3px;rotate:-2deg;box-shadow:0 10px 28px rgba(83,196,222,.13)}
.nav .theme-toggle:hover{translate:0 -3px;rotate:2deg}
/* Hero artwork: slow cinematic camera movement, not a distracting zoom loop. */
.hero-art{
  isolation:isolate;
  transform:translateZ(0);
  animation:home-art-arrive 1250ms var(--home-motion-ease) 120ms both;
}
.hero-art>img{
  transform-origin:50% 48%;
  animation:home-ken-burns 19s cubic-bezier(.42,0,.58,1) 1.1s infinite alternate;
  will-change:transform;
}
.hero-art:before{
  content:"";
  position:absolute;inset:0;z-index:1;pointer-events:none;
  border-radius:inherit;
  background:linear-gradient(112deg,transparent 24%,rgba(162,230,247,.075) 48%,transparent 70%);
  transform:translateX(-125%);
  animation:home-image-sheen 11s ease-in-out 2.5s infinite;
}
.hero-art-glow{
  opacity:.72;
  animation:home-glow-breathe 8s ease-in-out infinite alternate;
}
.hero-floating{
  z-index:3;
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  box-shadow:0 18px 48px rgba(0,5,18,.25),inset 0 1px 0 rgba(255,255,255,.08);
  will-change:transform;
}
.hero-floating.one{
  animation:home-float-one 7.2s ease-in-out 1.1s infinite!important;
}
.hero-floating.two{
  animation:home-float-two 8.1s ease-in-out 1.4s infinite!important;
}
.hero-floating .dot{
  animation:home-status-pulse 2.8s ease-in-out infinite;
}
.hero-art .art-caption{z-index:2}
.art-caption{
  animation:home-caption-arrive 900ms var(--home-motion-ease) 720ms both;
  box-shadow:0 15px 42px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.055);
}
/* Hero copy: a clear sequence, with no perpetual text movement. */
.hero-copy>.eyebrow{animation:home-copy-arrive 700ms var(--home-motion-ease) 120ms both}
.hero-copy h1{animation:home-copy-arrive 950ms var(--home-motion-ease) 220ms both}
.hero-copy>p{animation:home-copy-arrive 900ms var(--home-motion-ease) 360ms both}
.hero-copy .actions{animation:home-copy-arrive 900ms var(--home-motion-ease) 470ms both}
.hero-copy .micro-proof{animation:home-copy-arrive 900ms var(--home-motion-ease) 570ms both}
.hero-copy .actions .btn{
  transition:transform 360ms var(--home-motion-ease),box-shadow 360ms ease;
}
.hero-copy .actions .btn:hover{transform:translateY(-4px)}
/* WHY LUNARA and subsequent content: staggered reveal uses the site's observer. */
main>.section .section-head .kicker{
  display:inline-flex;
  align-items:center;
  gap:9px;
}
main>.section .section-head .kicker:after{
  content:"";
  display:inline-block;width:30px;height:1px;
  background:linear-gradient(90deg,var(--cosmic-cyan, #68e2ed),transparent);
  transform-origin:right center;
  animation:home-kicker-line 2.8s ease-in-out infinite alternate;
}
main>.section .section-head h2{
  text-wrap:balance;
  background:linear-gradient(105deg,var(--text),color-mix(in srgb,var(--cosmic-cyan,#68e2ed) 62%,var(--text)) 58%,var(--text));
  background-size:190% 100%;
  background-clip:text;-webkit-background-clip:text;
  color:transparent;-webkit-text-fill-color:transparent;
  animation:home-heading-light 9s ease-in-out infinite alternate;
}
main>.section .section-head p{animation:home-copy-arrive 900ms var(--home-motion-ease) 120ms both}
main>.section .grid>.card .icon{
  transform-origin:center;
  animation:home-icon-hover 5.5s ease-in-out infinite;
}
main>.section .grid>.card:nth-child(2) .icon{animation-delay:.7s}
main>.section .grid>.card:nth-child(3) .icon{animation-delay:1.4s}
/* Floating support bubble: a soft orbit pulse, not a constant bounce. */
#lunara-live-chat .live-chat-launcher{
  position:relative;
  isolation:isolate;
  animation:home-chat-breathe 4.8s ease-in-out 1.5s infinite;
}
#lunara-live-chat .live-chat-launcher:before{
  content:"";position:absolute;inset:-7px;border:1px solid rgba(112,213,235,.34);
  border-radius:inherit;pointer-events:none;opacity:0;
  animation:home-chat-ring 4.8s ease-out 1.5s infinite;
}
#lunara-live-chat .live-chat-launcher>span{
  display:inline-block;
  animation:home-chat-glyph 5.2s ease-in-out 1.7s infinite;
}
#lunara-live-chat .live-chat-launcher>i{
  box-shadow:0 0 0 0 rgba(69,227,154,.45);
  animation:home-chat-online 2.8s ease-out infinite;
}
/* Yalda avatar button when the top agent panel is collapsed. */
.yalda-agent--top .yalda-agent-launcher{
  animation:home-yalda-presence 5.6s ease-in-out infinite;
}
.yalda-agent--top .yalda-agent-launcher img{
  animation:home-avatar-glow 5.6s ease-in-out infinite;
}
/* Language picker: support the site's floating language control variants. */
:is(#lunara-language-switcher,#language-switcher,#lang-switcher,.language-switcher,.lang-switcher,.language-fab,.lang-fab,[data-language-switcher]){
  animation:home-language-arrive 850ms var(--home-motion-ease) 420ms both;
  transition-property:translate,box-shadow,border-color!important;transition-duration:380ms,380ms,380ms!important;transition-timing-function:var(--home-motion-ease),ease,ease!important;
}
:is(#lunara-language-switcher,#language-switcher,#lang-switcher,.language-switcher,.lang-switcher,.language-fab,.lang-fab,[data-language-switcher]):hover{
  translate:0 -3px;
  box-shadow:0 14px 34px rgba(95,126,205,.18);
}
#lunara-language-switcher .lunara-language-globe{
  display:inline-block;
  color:#62c8e5;
  filter:drop-shadow(0 0 6px rgba(84,190,223,.32));
  animation:home-globe-turn 12s linear infinite;
}
/* Motion is intentionally paused for inactive browser tabs. */
@media(hover:hover) and (pointer:fine){
  .hero-art:hover>img{animation-play-state:paused}
  .hero-art:hover .hero-floating{filter:brightness(1.08)}
}
@media(max-width:760px){
  .hero-art>img{animation-duration:23s}
  .hero-floating.one{animation-duration:8.2s!important}
  .hero-floating.two{animation-duration:9.1s!important}
  .hero-art:before{animation-duration:14s}
  .nav .theme-toggle,.nav .menu{animation-duration:650ms}
  #lunara-live-chat .live-chat-launcher{animation-duration:5.6s}
}
@keyframes home-brand-arrive{from{opacity:0;transform:translateY(-9px) scale(.96);filter:blur(5px)}to{opacity:1;transform:none;filter:blur(0)}}
@keyframes home-control-arrive{from{opacity:0;transform:translateY(-8px) scale(.94)}to{opacity:1;transform:none}}
@keyframes home-moon-breathe{0%,100%{filter:drop-shadow(0 0 3px rgba(100,218,231,.25))}50%{filter:drop-shadow(0 0 10px rgba(100,218,231,.72))}}
@keyframes home-art-arrive{from{opacity:0;transform:translateY(22px) scale(.975);filter:blur(7px)}to{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}}
@keyframes home-ken-burns{0%{scale:1.015;translate:0 0}100%{scale:1.075;translate:-.6% -.7%}}
@keyframes home-image-sheen{0%,35%{transform:translateX(-125%);opacity:0}48%{opacity:1}72%,100%{transform:translateX(125%);opacity:0}}
@keyframes home-glow-breathe{from{opacity:.48;transform:scale(.96)}to{opacity:.9;transform:scale(1.05)}}
@keyframes home-float-one{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(0,-11px,0)}}
@keyframes home-float-two{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(0,9px,0)}}
@keyframes home-status-pulse{0%,100%{box-shadow:0 0 0 0 rgba(121,173,255,.28)}50%{box-shadow:0 0 0 7px rgba(121,173,255,0)}}
@keyframes home-caption-arrive{from{opacity:0;transform:translateY(14px);filter:blur(4px)}to{opacity:1;transform:none;filter:blur(0)}}
@keyframes home-copy-arrive{from{opacity:0;transform:translateY(16px);filter:blur(3px)}to{opacity:1;transform:none;filter:blur(0)}}
@keyframes home-kicker-line{from{transform:scaleX(.45);opacity:.55}to{transform:scaleX(1);opacity:1}}
@keyframes home-heading-light{from{background-position:0% 50%}to{background-position:100% 50%}}
@keyframes home-icon-hover{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-4px) rotate(-3deg)}}
@keyframes home-chat-breathe{0%,100%{translate:0 0;scale:1}50%{translate:0 -4px;scale:1.025}}
@keyframes home-chat-ring{0%{transform:scale(.9);opacity:0}15%{opacity:.7}75%,100%{transform:scale(1.25);opacity:0}}
@keyframes home-chat-glyph{0%,82%,100%{transform:translateY(0) rotate(0)}88%{transform:translateY(-2px) rotate(-7deg)}94%{transform:translateY(0) rotate(7deg)}}
@keyframes home-chat-online{0%{box-shadow:0 0 0 0 rgba(69,227,154,.42)}75%,100%{box-shadow:0 0 0 7px rgba(69,227,154,0)}}
@keyframes home-yalda-presence{0%,100%{translate:0 0}50%{translate:0 -5px}}
@keyframes home-avatar-glow{0%,100%{filter:saturate(1)}50%{filter:saturate(1.12) brightness(1.06)}}
@keyframes home-language-arrive{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@keyframes home-globe-turn{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){
  .nav .brand,.nav .theme-toggle,.nav .menu,.hero-art,.hero-art>img,.hero-art:before,
  .hero-art-glow,.hero-floating,.hero-floating .dot,.art-caption,.hero-copy>.eyebrow,
  .hero-copy h1,.hero-copy>p,.hero-copy .actions,.hero-copy .micro-proof,
  main>.section .section-head .kicker:after,main>.section .section-head h2,
  main>.section .section-head p,main>.section .grid>.card .icon,
  #lunara-live-chat .live-chat-launcher,#lunara-live-chat .live-chat-launcher:before,
  #lunara-live-chat .live-chat-launcher>span,#lunara-live-chat .live-chat-launcher>i,
  .yalda-agent--top .yalda-agent-launcher,.yalda-agent--top .yalda-agent-launcher img,
  #lunara-language-switcher .lunara-language-globe,
  :is(#lunara-language-switcher,#language-switcher,#lang-switcher,.language-switcher,.lang-switcher,.language-fab,.lang-fab,[data-language-switcher]){
    animation:none!important;transition:none!important;filter:none!important;
  }
  #lunara-language-switcher{animation:none!important;transition:none!important;translate:none!important}
  .hero-art>img{transform:none!important;translate:none!important;scale:1!important}
}
