/* Homepage parallax + cinematic footer, adapted to the ODIGITAL visual system. */
html.lenis,html.lenis body{height:auto}
.lenis.lenis-smooth{scroll-behavior:auto!important}
.lenis.lenis-smooth [data-lenis-prevent]{overscroll-behavior:contain}
.lenis.lenis-stopped{overflow:hidden}

#hero.od-parallax-hero{position:relative;overflow:hidden;min-height:max(760px,100svh)!important;background:#020a29;transform:translateZ(0)}
#hero.od-parallax-hero>video{z-index:0!important;inset:-7%!important;width:114%!important;height:114%!important;max-width:none!important;will-change:transform;transform:scale(1.03)}
#hero.od-parallax-hero .od-home-hero__base-overlay{z-index:1!important;will-change:transform}
#hero.od-parallax-hero .od-home-hero__content{will-change:transform}
.od-parallax-orbit{position:absolute;z-index:2;inset:0;overflow:hidden;pointer-events:none;will-change:transform}
.od-parallax-orbit:before,.od-parallax-orbit:after{content:"";position:absolute;border:1px solid rgba(53,207,255,.18);border-radius:50%;box-shadow:0 0 80px rgba(53,207,255,.05),inset 0 0 70px rgba(111,255,0,.025)}
.od-parallax-orbit:before{left:-12vw;top:14%;width:38vw;height:38vw;min-width:340px;min-height:340px}
.od-parallax-orbit:after{right:-9vw;bottom:-28%;width:52vw;height:52vw;min-width:500px;min-height:500px;border-color:rgba(111,255,0,.13)}
.od-parallax-grid{position:absolute;z-index:2;inset:auto 0 0;height:46%;pointer-events:none;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:58px 58px;mask-image:linear-gradient(to top,#000,transparent);opacity:.5;will-change:transform}
.od-parallax-transition{position:absolute;z-index:4;right:0;bottom:-1px;left:0;height:21%;pointer-events:none;background:linear-gradient(180deg,transparent,#030a25)}

.od-cinematic-footer{position:relative;z-index:1;width:100%;height:100svh;min-height:720px;clip-path:polygon(0 0,100% 0,100% 100%,0 100%);background:#020a29;color:#f5f2e8;direction:rtl;font-family:Rubik,Arial,sans-serif}
.od-cinematic-footer__stage{position:fixed;z-index:0;inset:auto 0 0;display:flex;flex-direction:column;justify-content:space-between;width:100%;height:100svh;min-height:720px;overflow:hidden;background:#010720;color:#f5f2e8}
.od-cinematic-footer__aurora{position:absolute;z-index:0;left:50%;top:50%;width:min(92vw,1200px);height:64vh;border-radius:50%;background:radial-gradient(circle,rgba(53,207,255,.15),rgba(111,255,0,.055) 42%,transparent 70%);filter:blur(60px);transform:translate(-50%,-50%);animation:od-footer-breathe 8s ease-in-out infinite alternate;pointer-events:none}
.od-cinematic-footer__grid{position:absolute;z-index:0;inset:0;background-image:linear-gradient(to right,rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(to bottom,rgba(255,255,255,.035) 1px,transparent 1px);background-size:60px 60px;mask-image:linear-gradient(to bottom,transparent,#000 28%,#000 72%,transparent);pointer-events:none}
.od-cinematic-footer__giant{position:absolute;z-index:0;left:50%;bottom:-.12em;transform:translateX(-50%);color:transparent;background:linear-gradient(180deg,rgba(255,255,255,.1),transparent 70%);-webkit-background-clip:text;background-clip:text;-webkit-text-stroke:1px rgba(255,255,255,.07);font:900 min(23vw,330px)/.76 Rubik,Arial,sans-serif;letter-spacing:-.08em;white-space:nowrap;pointer-events:none;user-select:none}
.od-cinematic-footer__marquee{position:absolute;z-index:4;top:clamp(80px,11vh,120px);left:-5%;width:110%;overflow:hidden;border-block:1px solid rgba(255,255,255,.11);background:rgba(2,10,41,.58);box-shadow:0 20px 60px rgba(0,0,0,.25);backdrop-filter:blur(18px);transform:rotate(1.4deg)}
.od-cinematic-footer__marquee-track{display:flex;width:max-content;padding:15px 0;color:#a9b4cf;font-size:14px;font-weight:800;letter-spacing:.16em;white-space:nowrap;animation:od-footer-marquee 34s linear infinite}
.od-cinematic-footer__marquee-set{display:flex;flex:none;align-items:center;gap:28px;padding-inline:0 28px}
.od-cinematic-footer__marquee-track b{color:#6fff00;font-weight:900}
.od-cinematic-footer__center{position:relative;z-index:3;display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;width:min(1040px,calc(100% - 40px));margin:auto;padding-top:clamp(120px,16vh,180px);text-align:center}
.od-cinematic-footer__eyebrow{margin:0 0 17px;color:#6fff00;font-size:14px;font-weight:800;letter-spacing:.06em}
.od-cinematic-footer__center h1{max-width:980px;margin:0;color:#f5f2e8!important;font:800 clamp(46px,8vw,112px)/.92 Rubik,Arial,sans-serif!important;letter-spacing:-.065em;text-wrap:balance}
.od-cinematic-footer__center h1 span{display:block;color:#35cfff}
.od-cinematic-footer__center>p:not(.od-cinematic-footer__eyebrow){max-width:620px;margin:24px auto 0;color:#aeb8d4;font-size:clamp(16px,1.8vw,20px);font-weight:500;line-height:1.65}
.od-cinematic-footer__actions{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;margin-top:34px;perspective:800px}
.od-magnetic-pill{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:56px;padding:0 25px;border:1px solid rgba(255,255,255,.14);border-radius:999px;background:linear-gradient(145deg,rgba(255,255,255,.085),rgba(255,255,255,.025));box-shadow:0 18px 42px rgba(0,0,0,.25),inset 0 1px 1px rgba(255,255,255,.1);color:#f5f2e8!important;text-decoration:none!important;font-size:15px;font-weight:800;backdrop-filter:blur(17px);transform-style:preserve-3d;transition:border-color .3s ease,background .3s ease,color .3s ease}
.od-magnetic-pill--primary{border-color:#6fff00;background:#6fff00;color:#020a29!important;box-shadow:0 18px 48px rgba(111,255,0,.17)}
.od-magnetic-pill:hover{border-color:rgba(53,207,255,.5);background:rgba(53,207,255,.09)}
.od-magnetic-pill--primary:hover{border-color:#6fff00;background:#78ff15;color:#020a29!important}
.od-magnetic-pill:focus-visible{outline:3px solid #35cfff;outline-offset:4px}

/* RTL track is anchored on the right, so it travels right by one copy for a seamless loop. */
@keyframes od-footer-marquee{to{transform:translateX(50%)}}
@keyframes od-footer-breathe{from{transform:translate(-50%,-50%) scale(.95);opacity:.66}to{transform:translate(-50%,-50%) scale(1.08);opacity:1}}

@media(max-width:720px){
  #hero.od-parallax-hero{min-height:820px!important}
  #hero.od-parallax-hero>video{inset:-3%!important;width:106%!important;height:106%!important}
  .od-parallax-orbit:before{left:-60%;top:20%}
  .od-parallax-orbit:after{right:-72%;bottom:-14%}
  .od-cinematic-footer,.od-cinematic-footer__stage{min-height:760px}
  .od-cinematic-footer__marquee{top:86px}
  .od-cinematic-footer__center{width:calc(100% - 34px);padding-top:145px}
  .od-cinematic-footer__center h1{font-size:clamp(46px,15vw,72px)!important;line-height:.94!important}
  .od-cinematic-footer__actions{width:100%}
  .od-magnetic-pill{width:100%}
  .od-cinematic-footer__giant{bottom:.05em;font-size:32vw}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto!important}
  .od-cinematic-footer__aurora,.od-cinematic-footer__marquee-track{animation:none!important}
  .od-parallax-orbit,.od-parallax-grid,#hero.od-parallax-hero>video,#hero.od-parallax-hero .od-home-hero__content{transform:none!important}
  .od-magnetic-pill{transition:none!important}
}
