/* SmartPath Tech landing — motion layer. Everything here is decoration:
   with prefers-reduced-motion the page is complete and still. */
.progress{position:fixed;left:0;top:0;height:3px;width:100%;z-index:60;transform-origin:0 50%;transform:scaleX(0);
  background:linear-gradient(90deg,#E2186C,#F97316,#7C3AED,#0EA5E9);pointer-events:none}
.intro{overflow:hidden}
.intro>.wrap{position:relative;z-index:1}
#fx{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;opacity:.9}
/* headline: words rise in one by one */
.w{display:inline-block;opacity:0;transform:translateY(.55em) rotate(2deg);filter:blur(6px);
  animation:wordIn .8s cubic-bezier(.2,.8,.2,1) forwards;animation-delay:calc(var(--i)*70ms + 120ms)}
@keyframes wordIn{to{opacity:1;transform:none;filter:none}}
/* showcase buttons: spotlight that follows the pointer, pop on select, ripple */
.sw{overflow:hidden;isolation:isolate}
.sw:before{content:"";position:absolute;inset:0;z-index:-1;opacity:0;transition:opacity .3s;
  background:radial-gradient(220px circle at var(--mx,50%) var(--my,50%),rgba(255,255,255,.55),transparent 60%)}
.sw:not(.on):before{background:radial-gradient(220px circle at var(--mx,50%) var(--my,50%),color-mix(in srgb,var(--c,#E2186C) 16%,transparent),transparent 65%)}
.sw:hover:before{opacity:1}
.sw-w{--c:#E2186C}.sw-t{--c:#EA580C}.sw-d{--c:#4F46E5}
.sw.on .swi{animation:pop .6s cubic-bezier(.3,1.6,.5,1)}
@keyframes pop{0%{transform:scale(.6) rotate(-12deg)}100%{transform:none}}
.sw .swi img{animation:floaty 5s ease-in-out infinite}
.sw-t .swi img{animation-delay:-1.6s}.sw-d .swi img{animation-delay:-3.2s}
@keyframes floaty{50%{transform:translateY(-3px) rotate(-3deg)}}
.ripple{position:absolute;border-radius:50%;pointer-events:none;background:rgba(255,255,255,.55);transform:scale(0);animation:rip .7s ease-out forwards;z-index:0}
@keyframes rip{to{transform:scale(1);opacity:0}}
/* panel switch: colour wipe */
.wipe{position:fixed;inset:0;z-index:55;pointer-events:none;transform:translateX(-101%);
  background:linear-gradient(100deg,transparent,var(--wc,#E2186C) 30%,var(--wc2,#FF7A45) 70%,transparent)}
.wipe.go{animation:wipe .75s cubic-bezier(.7,0,.3,1)}
@keyframes wipe{0%{transform:translateX(-101%);opacity:.0}35%{opacity:.18}100%{transform:translateX(101%);opacity:0}}
/* 3D tilt + glare on cards (fine pointers only, added by JS) */
.tilt{transform-style:preserve-3d;transition:transform .25s ease-out,opacity .7s}
.tilt .glare{position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity .3s;z-index:2;
  background:radial-gradient(300px circle at var(--gx,50%) var(--gy,50%),rgba(255,255,255,.35),transparent 55%)}
.tilt:hover .glare{opacity:1}
.cat,.tile,.why,.pcard,.ptile{position:relative}
/* illustrations breathe; wiggle on hover */
.tile .ic img,.cath img,.why img,.dot img{transition:transform .4s cubic-bezier(.3,1.6,.5,1)}
.tile:hover .ic img,.cat:hover .cath img,.why:hover img,.step:hover .dot img{transform:scale(1.12) rotate(-6deg)}
.dot img{animation:floaty 6s ease-in-out infinite}
.step:nth-child(2) .dot img{animation-delay:-1s}.step:nth-child(3) .dot img{animation-delay:-2s}
.step:nth-child(4) .dot img{animation-delay:-3s}.step:nth-child(5) .dot img{animation-delay:-4s}.step:nth-child(6) .dot img{animation-delay:-5s}
/* primary buttons: light sweep + magnetic pull (JS) */
.btn.main{position:relative;overflow:hidden}
.btn.main:after{content:"";position:absolute;top:0;bottom:0;width:40%;left:-60%;transform:skewX(-20deg);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.45),transparent);animation:sweep 4.5s ease-in-out infinite}
@keyframes sweep{0%,70%{left:-60%}100%{left:130%}}
.mag{transition:transform .25s cubic-bezier(.3,1.4,.5,1)}
/* headings get an underline that draws in */
.center h2{position:relative;display:inline-block}
.center h2:after{content:"";position:absolute;left:50%;bottom:-8px;height:4px;width:0;border-radius:4px;transform:translateX(-50%);
  background:linear-gradient(90deg,var(--g1,#E2186C),var(--g2,#FF7A45),var(--g3,#5B3FD6));transition:width 1s .3s cubic-bezier(.2,.8,.2,1)}
.center.in h2:after,.center:not(.rv) h2:after{width:64px}
/* tutor: live pulse running down the three connected apps */
.tapps:before{content:"";position:absolute;left:50%;top:30px;bottom:40px;width:3px;transform:translateX(-50%);z-index:-1;
  background:repeating-linear-gradient(180deg,var(--acc) 0 8px,transparent 8px 16px);background-size:3px 32px;animation:flowdown 1s linear infinite;opacity:.45}
@keyframes flowdown{to{background-position:0 32px}}
.tapps{isolation:isolate}
/* digital: dashboard rows arrive one by one, forever */
.drow{animation:rowin 9s cubic-bezier(.2,.8,.2,1) infinite both}
.drow:nth-child(2){animation-delay:.6s}.drow:nth-child(3){animation-delay:1.2s}
@keyframes rowin{0%{opacity:0;transform:translateX(-24px)}8%,88%{opacity:1;transform:none}100%{opacity:0;transform:translateY(-6px)}}
.drow em{display:inline-block;animation:tick 9s ease infinite both}
.drow:nth-child(2) em{animation-delay:.6s}.drow:nth-child(3) em{animation-delay:1.2s}
@keyframes tick{0%,10%{transform:scale(0)}16%{transform:scale(1.4)}22%,88%{transform:none}100%{transform:scale(0)}}
.dchart i{animation:rise 2.4s ease-in-out infinite alternate}
.dchart i:nth-child(2){animation-delay:-.4s}.dchart i:nth-child(3){animation-delay:-.8s}.dchart i:nth-child(4){animation-delay:-1.2s}.dchart i:nth-child(5){animation-delay:-1.6s}.dchart i:nth-child(6){animation-delay:-2s}
.dwin{position:relative}
.dwin:after{content:"";position:absolute;inset:-2px;border-radius:24px;z-index:-1;filter:blur(18px);opacity:.55;
  background:conic-gradient(from var(--ang,0deg),#38BDF8,#4F46E5,#14B8A6,#F97316,#38BDF8);animation:spin 6s linear infinite}
@property --ang{syntax:"<angle>";initial-value:0deg;inherits:false}
@keyframes spin{to{--ang:360deg}}
/* digital: who we build for — endless marquee */
.marquee{margin-top:30px;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.mq{display:flex;gap:10px;width:max-content;animation:mq 36s linear infinite}
.marquee:hover .mq{animation-play-state:paused}
.mq span{background:#fff;border:1px solid var(--line);border-radius:99px;padding:9px 16px;font-weight:700;font-size:14px;white-space:nowrap;color:var(--ink)}
.mq span:nth-child(3n){background:var(--bg)}
@keyframes mq{to{transform:translateX(-50%)}}
/* counters keep their width while counting */
[data-count]{font-variant-numeric:tabular-nums}
@media (prefers-reduced-motion:reduce){
  .w{opacity:1;transform:none;filter:none;animation:none}
  #fx,.wipe,.ripple,.btn.main:after{display:none}
  .mq{animation:none;flex-wrap:wrap;width:auto}
  .drow,.drow em{animation:none;opacity:1}
}
.hero .wrap>*{min-width:0}.marquee{max-width:100%}
