/* MAINERMEDIA Animation Library - Optimized */

/* ===== CORE ANIMATIONS ===== */
@keyframes fadeInUp{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}
@keyframes fadeInLeft{from{opacity:0;transform:translateX(-30px)}to{opacity:1;transform:translateX(0)}}
@keyframes fadeInRight{from{opacity:0;transform:translateX(30px)}to{opacity:1;transform:translateX(0)}}
@keyframes scaleIn{from{opacity:0;transform:scale(0.95)}to{opacity:1;transform:scale(1)}}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.5}}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes ping{0%{transform:scale(1);opacity:1}75%,100%{transform:scale(2);opacity:0}}
@keyframes glow-pulse{0%,100%{box-shadow:0 0 20px rgba(16,185,129,.3)}50%{box-shadow:0 0 40px rgba(16,185,129,.6)}}

/* Animation Classes */
.animate-fadeIn{animation:fadeInUp .5s ease-out forwards}
.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}
.animate-spin{animation:spin 1s linear infinite}
.animate-ping{animation:ping 1.5s cubic-bezier(0,0,.2,1) infinite}
.float{animation:float 3s ease-in-out infinite}
.float-animation{animation:float 3s ease-in-out infinite}
.pulse-glow{animation:glow-pulse 2s ease-in-out infinite}

/* ===== REDUCED MOTION ===== */
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* ===== READING PROGRESS ===== */
.reading-progress{position:fixed;top:0;left:0;width:100%;height:4px;z-index:9999;background:rgba(0,0,0,.05);backdrop-filter:blur(10px)}
.reading-progress-bar{height:100%;background:linear-gradient(90deg,#10b981,#059669);width:0;transition:width .3s cubic-bezier(.4,0,.2,1);box-shadow:0 0 10px rgba(16,185,129,.3)}
.reading-progress-percentage{position:fixed;top:16px;right:20px;background:rgba(255,255,255,.95);backdrop-filter:blur(10px);padding:8px 12px;border-radius:20px;font-size:12px;font-weight:600;color:#374151;border:1px solid rgba(16,185,129,.2);box-shadow:0 4px 20px rgba(0,0,0,.1);z-index:9998;opacity:0;transform:translateY(-10px);transition:all .3s cubic-bezier(.4,0,.2,1)}
.reading-progress-percentage.visible{opacity:1;transform:translateY(0)}
@media(max-width:768px){.reading-progress-percentage{top:12px;right:12px;padding:6px 10px;font-size:11px}}
.reading-progress.short-page{display:none}

/* ===== TYPEWRITER ===== */
@keyframes typewriter{from{width:0;border-right:3px solid #059669}to{width:100%;border-right:3px solid #059669}}
@keyframes blink{0%,50%{border-right-color:#059669}51%,100%{border-right-color:transparent}}
.typewriter{overflow:hidden;white-space:nowrap;border-right:3px solid transparent;animation:typewriter 3s steps(40) .5s both,blink 1s infinite 3.5s;width:0;max-width:100%;min-height:1.2em}
@media(max-width:768px){.typewriter{animation:none;width:auto;white-space:normal;border-right:none;overflow:visible}}
.no-js .typewriter,.typewriter:not(.animating){animation:none!important;width:auto!important;white-space:normal!important;border-right:none!important;overflow:visible!important}

/* ===== STAGGER ANIMATIONS ===== */
.stagger-item{opacity:0;transform:translateY(20px);transition:all .6s cubic-bezier(.4,0,.2,1)}
.stagger-item.animate{opacity:1;transform:translateY(0)}
.stagger-item:nth-child(1){transition-delay:.1s}
.stagger-item:nth-child(2){transition-delay:.2s}
.stagger-item:nth-child(3){transition-delay:.3s}
.stagger-item:nth-child(4){transition-delay:.4s}
.stagger-item:nth-child(5){transition-delay:.5s}
.stagger-item:nth-child(6){transition-delay:.6s}
.stagger-item.typewriter{opacity:1}
.stagger-container.loaded .stagger-item{opacity:1;transform:translateY(0)}

/* ===== REVEAL ===== */
.reveal{opacity:0;transform:translateY(50px);transition:all .8s cubic-bezier(.25,.46,.45,.94)}
.reveal.active{opacity:1;transform:translateY(0)}
.fade-in-section{opacity:0;transform:translateY(20vh);visibility:hidden;transition:opacity .8s ease-out,transform 1.2s ease-out}
.fade-in-section.is-visible{opacity:1;transform:none;visibility:visible}

/* ===== HOVER EFFECTS ===== */
.hover-lift{transition:all .3s cubic-bezier(.4,0,.2,1);will-change:transform}
.hover-lift:hover{transform:translateY(-8px);box-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 10px 10px -5px rgba(0,0,0,.04)}
.hover-scale{transition:transform .3s ease}
.hover-scale:hover{transform:scale(1.05)}
@media(hover:none){.hover-lift:hover{transform:none;box-shadow:0 4px 6px -1px rgba(0,0,0,.1)}}

/* ===== LOADING ===== */
.loading-spinner{border:3px solid #f3f4f6;border-top:3px solid #059669;border-radius:50%;width:24px;height:24px;animation:spin 1s linear infinite}

/* ===== ROADMAP ===== */
.roadmap-container{position:relative;padding:2rem 0;max-width:800px;margin:0 auto}
.roadmap-step{position:relative;display:grid;grid-template-columns:auto 1fr;gap:2rem;align-items:flex-start;margin-bottom:4rem;padding:2rem;background:#fff;border-radius:16px;box-shadow:0 4px 20px rgba(0,0,0,.08);border:2px solid transparent;opacity:1;transform:translateY(0);transition:all .6s cubic-bezier(.4,0,.2,1)}
.roadmap-step:hover{transform:translateY(-4px);box-shadow:0 8px 30px rgba(0,0,0,.12)}
.roadmap-step:nth-child(odd){border-color:#10b981}
.roadmap-step:nth-child(even){border-color:#374151}
.roadmap-step.animate{opacity:1;transform:translateY(0)}
@keyframes roadmapFallback{from{opacity:1}to{opacity:1;transform:translateY(0)}}
.roadmap-container .roadmap-step{animation:roadmapFallback .1s ease-in-out 3s forwards}
.roadmap-step:nth-child(1){transition-delay:.1s}
.roadmap-step:nth-child(2){transition-delay:.2s}
.roadmap-step:nth-child(3){transition-delay:.3s}
.roadmap-step:nth-child(4){transition-delay:.4s}
.roadmap-icon{position:relative;width:4rem;height:4rem;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.25rem;font-weight:700;color:#fff;z-index:2;box-shadow:0 8px 25px -5px rgba(0,0,0,.1);transition:all .3s ease}
.roadmap-icon:hover{transform:scale(1.1);box-shadow:0 12px 35px -5px rgba(0,0,0,.15)}
.roadmap-icon.step-1{background:linear-gradient(135deg,#10b981,#059669)}
.roadmap-icon.step-2{background:linear-gradient(135deg,#374151,#1f2937)}
.roadmap-icon.step-3{background:linear-gradient(135deg,#10b981,#374151)}
.roadmap-icon.step-4{background:linear-gradient(135deg,#059669,#1f2937)}
.roadmap-content{background:#fff;padding:2rem;border-radius:1rem;box-shadow:0 4px 25px -5px rgba(0,0,0,.1);border-left:4px solid transparent;transition:all .3s ease}
.roadmap-content:hover{transform:translateY(-2px);box-shadow:0 8px 35px -5px rgba(0,0,0,.15)}
.roadmap-content.step-1{border-left-color:#10b981}
.roadmap-content.step-2{border-left-color:#374151}
.roadmap-content.step-3{border-left-color:#10b981}
.roadmap-content.step-4{border-left-color:#059669}
.roadmap-title{font-size:1.5rem;font-weight:600;color:#1f2937;margin-bottom:.75rem;display:flex;align-items:center}
.roadmap-description{font-size:1.125rem;color:#6b7280;line-height:1.6;font-weight:300}
.roadmap-step-badge{display:inline-flex;align-items:center;background:rgba(16,185,129,.1);color:#059669;padding:.25rem .75rem;border-radius:9999px;font-size:.875rem;font-weight:500;margin-left:1rem}
.roadmap-step:nth-child(even) .roadmap-step-badge{background:rgba(55,65,81,.1);color:#374151}
@media(max-width:768px){.roadmap-step{grid-template-columns:auto 1fr;gap:1rem;margin-bottom:3rem}.roadmap-icon{width:3rem;height:3rem;font-size:1rem}.roadmap-content{padding:1.5rem}.roadmap-title{font-size:1.25rem}.roadmap-description{font-size:1rem}}

/* ===== MODAL ANIMATIONS ===== */
.modal-orb{position:absolute;border-radius:50%;filter:blur(100px);pointer-events:none;will-change:transform}
.modal-orb-1{width:500px;height:500px;background:radial-gradient(circle,rgba(16,185,129,.25) 0%,transparent 70%);top:-150px;right:-150px;animation:modal-float-1 12s ease-in-out infinite}
.modal-orb-2{width:400px;height:400px;background:radial-gradient(circle,rgba(5,150,105,.2) 0%,transparent 70%);bottom:-100px;left:-100px;animation:modal-float-2 15s ease-in-out infinite;animation-delay:-5s}
.modal-orb-3{width:300px;height:300px;background:radial-gradient(circle,rgba(16,185,129,.15) 0%,transparent 70%);top:40%;left:60%;animation:modal-float-3 10s ease-in-out infinite;animation-delay:-3s}
@keyframes modal-float-1{0%,100%{transform:translate(0,0) scale(1);opacity:.8}25%{transform:translate(-30px,40px) scale(1.1);opacity:1}50%{transform:translate(20px,-30px) scale(.95);opacity:.7}75%{transform:translate(-20px,20px) scale(1.05);opacity:.9}}
@keyframes modal-float-2{0%,100%{transform:translate(0,0) scale(1) rotate(0);opacity:.7}33%{transform:translate(40px,-50px) scale(1.15) rotate(5deg);opacity:1}66%{transform:translate(-30px,30px) scale(.9) rotate(-3deg);opacity:.6}}
@keyframes modal-float-3{0%,100%{transform:translate(0,0) scale(1);opacity:.5}50%{transform:translate(-40px,40px) scale(1.2);opacity:.8}}
.modal-scanline{background:linear-gradient(180deg,transparent 0%,transparent 45%,rgba(16,185,129,.03) 50%,transparent 55%,transparent 100%);background-size:100% 8px;animation:modal-scan 6s linear infinite;pointer-events:none}
@keyframes modal-scan{0%{background-position:0 -100vh}100%{background-position:0 100vh}}
.modal-shimmer{background:linear-gradient(90deg,transparent 0%,rgba(16,185,129,.08) 20%,rgba(16,185,129,.15) 50%,rgba(16,185,129,.08) 80%,transparent 100%);background-size:200% 100%;animation:modal-shimmer 4s ease-in-out infinite}
@keyframes modal-shimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}
.modal-card{animation:modal-card-entrance .4s cubic-bezier(.34,1.56,.64,1) forwards}
@keyframes modal-card-entrance{0%{opacity:0;transform:scale(.9) translateY(20px)}100%{opacity:1;transform:scale(1) translateY(0)}}
.modal-particle{position:absolute;width:4px;height:4px;background:rgba(16,185,129,.6);border-radius:50%;pointer-events:none}
.modal-particle-1{top:15%;left:10%;animation:particle-drift-1 18s ease-in-out infinite}
.modal-particle-2{top:70%;left:85%;animation:particle-drift-2 22s ease-in-out infinite;animation-delay:-8s}
.modal-particle-3{top:45%;left:5%;animation:particle-drift-3 20s ease-in-out infinite;animation-delay:-4s;width:3px;height:3px}
.modal-particle-4{top:25%;left:90%;animation:particle-drift-1 16s ease-in-out infinite;animation-delay:-10s;width:2px;height:2px;opacity:.5}
.modal-particle-5{top:80%;left:20%;animation:particle-drift-2 24s ease-in-out infinite;animation-delay:-12s;width:5px;height:5px;opacity:.4}
@keyframes particle-drift-1{0%,100%{transform:translate(0,0) scale(1);opacity:.6}25%{transform:translate(30px,-40px) scale(1.5);opacity:1}50%{transform:translate(-20px,20px) scale(.8);opacity:.4}75%{transform:translate(10px,-30px) scale(1.2);opacity:.8}}
@keyframes particle-drift-2{0%,100%{transform:translate(0,0) scale(1);opacity:.5}33%{transform:translate(-40px,30px) scale(1.3);opacity:.9}66%{transform:translate(25px,-45px) scale(.7);opacity:.3}}
@keyframes particle-drift-3{0%,100%{transform:translate(0,0);opacity:.7}50%{transform:translate(50px,40px);opacity:1}}
.modal-data-streams{position:absolute;inset:0;background-image:repeating-linear-gradient(0deg,transparent,transparent 200px,rgba(16,185,129,.015) 200px,rgba(16,185,129,.015) 201px),repeating-linear-gradient(90deg,transparent,transparent 200px,rgba(16,185,129,.015) 200px,rgba(16,185,129,.015) 201px);animation:data-flow 30s linear infinite;pointer-events:none}
@keyframes data-flow{0%{background-position:0 0,0 0}100%{background-position:0 200px,200px 0}}
.modal-corner-accent{position:absolute;width:100px;height:100px;pointer-events:none}
.modal-corner-accent::before,.modal-corner-accent::after{content:'';position:absolute;background:linear-gradient(135deg,rgba(16,185,129,.3) 0%,transparent 50%)}
.modal-corner-tl{top:0;left:0}
.modal-corner-tl::before{width:80px;height:2px;top:0;left:0;animation:corner-pulse 3s ease-in-out infinite}
.modal-corner-tl::after{width:2px;height:80px;top:0;left:0;animation:corner-pulse 3s ease-in-out infinite .5s}
.modal-corner-br{bottom:0;right:0}
.modal-corner-br::before{width:80px;height:2px;bottom:0;right:0;background:linear-gradient(-45deg,rgba(16,185,129,.3) 0%,transparent 50%);animation:corner-pulse 3s ease-in-out infinite 1s}
.modal-corner-br::after{width:2px;height:80px;bottom:0;right:0;background:linear-gradient(-45deg,rgba(16,185,129,.3) 0%,transparent 50%);animation:corner-pulse 3s ease-in-out infinite 1.5s}
@keyframes corner-pulse{0%,100%{opacity:.3}50%{opacity:1}}
@keyframes modal-border-glow{0%,100%{opacity:.4;background:linear-gradient(135deg,rgba(16,185,129,.4) 0%,transparent 30%,transparent 70%,rgba(16,185,129,.3) 100%)}50%{opacity:.8;background:linear-gradient(135deg,rgba(16,185,129,.6) 0%,transparent 40%,transparent 60%,rgba(16,185,129,.5) 100%)}}
@keyframes modal-icon-pulse{0%,100%{opacity:.3;transform:scale(1)}50%{opacity:.6;transform:scale(1.05)}}
@keyframes button-shine{0%{transform:translateX(-100%)}50%,100%{transform:translateX(100%)}}
@media(max-width:640px){.modal-orb-1{width:300px;height:300px;top:-100px;right:-100px}.modal-orb-2{width:250px;height:250px}.modal-orb-3{width:200px;height:200px}.modal-particle,.modal-corner-accent{display:none}}
@media(prefers-reduced-motion:reduce){.modal-orb,.modal-particle,.modal-scanline,.modal-shimmer,.modal-data-streams,.modal-corner-accent::before,.modal-corner-accent::after,.modal-card{animation:none!important}}

/* ===== SIGNAL FLOW / GRID PACKETS ===== */
.signal-flow-container{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:1}
.grid-packet-h{position:absolute;height:2px;width:70px;left:-80px;background:linear-gradient(90deg,transparent 0%,rgba(16,185,129,.08) 25%,rgba(16,185,129,.2) 50%,rgba(16,185,129,.45) 80%,rgba(34,197,94,.7) 100%)}
.grid-packet-h::after{content:'';position:absolute;right:-2px;top:50%;transform:translateY(-50%);width:3px;height:3px;background:rgba(255,255,255,.95);border-radius:50%;box-shadow:0 0 3px rgba(255,255,255,.9),0 0 6px rgba(52,211,153,1),0 0 12px rgba(16,185,129,.9),0 0 20px rgba(16,185,129,.6),0 0 30px rgba(16,185,129,.3)}
.grid-packet-h-left{position:absolute;height:2px;width:70px;left:calc(100% + 10px);background:linear-gradient(270deg,transparent 0%,rgba(16,185,129,.08) 25%,rgba(16,185,129,.2) 50%,rgba(16,185,129,.45) 80%,rgba(34,197,94,.7) 100%)}
.grid-packet-h-left::after{content:'';position:absolute;left:-2px;top:50%;transform:translateY(-50%);width:3px;height:3px;background:rgba(255,255,255,.95);border-radius:50%;box-shadow:0 0 3px rgba(255,255,255,.9),0 0 6px rgba(52,211,153,1),0 0 12px rgba(16,185,129,.9),0 0 20px rgba(16,185,129,.6),0 0 30px rgba(16,185,129,.3)}
.grid-packet-v{position:absolute;width:2px;height:70px;top:-80px;background:linear-gradient(180deg,transparent 0%,rgba(16,185,129,.08) 25%,rgba(16,185,129,.2) 50%,rgba(16,185,129,.45) 80%,rgba(34,197,94,.7) 100%)}
.grid-packet-v::after{content:'';position:absolute;bottom:-2px;left:50%;transform:translateX(-50%);width:3px;height:3px;background:rgba(255,255,255,.95);border-radius:50%;box-shadow:0 0 3px rgba(255,255,255,.9),0 0 6px rgba(52,211,153,1),0 0 12px rgba(16,185,129,.9),0 0 20px rgba(16,185,129,.6),0 0 30px rgba(16,185,129,.3)}
.grid-packet-v-up{position:absolute;width:2px;height:70px;top:calc(100% + 10px);background:linear-gradient(0deg,transparent 0%,rgba(16,185,129,.08) 25%,rgba(16,185,129,.2) 50%,rgba(16,185,129,.45) 80%,rgba(34,197,94,.7) 100%)}
.grid-packet-v-up::after{content:'';position:absolute;top:-2px;left:50%;transform:translateX(-50%);width:3px;height:3px;background:rgba(255,255,255,.95);border-radius:50%;box-shadow:0 0 3px rgba(255,255,255,.9),0 0 6px rgba(52,211,153,1),0 0 12px rgba(16,185,129,.9),0 0 20px rgba(16,185,129,.6),0 0 30px rgba(16,185,129,.3)}
@keyframes moveRightFull{0%{left:-80px}100%{left:calc(100% + 10px)}}
@keyframes moveLeftFull{0%{left:calc(100% + 10px)}100%{left:-80px}}
@keyframes moveDownFull{0%{top:-80px}100%{top:calc(100% + 10px)}}
@keyframes moveUpFull{0%{top:calc(100% + 10px)}100%{top:-80px}}
/* Horizontal packets moving right (h1, h3, h5) */
.grid-packet-h1{top:20%;animation:moveRightFull 8s linear infinite}
.grid-packet-h3{top:50%;animation:moveRightFull 9s linear infinite;animation-delay:-3s}
.grid-packet-h5{top:80%;animation:moveRightFull 7s linear infinite;animation-delay:-5s}
/* Horizontal packets moving left (h2, h4, h6) */
.grid-packet-h2{top:35%;animation:moveLeftFull 10s linear infinite;animation-delay:-2s}
.grid-packet-h4{top:65%;animation:moveLeftFull 8s linear infinite;animation-delay:-6s}
.grid-packet-h6{top:90%;animation:moveLeftFull 9s linear infinite;animation-delay:-4s}
/* Vertical packets moving down (v1, v3) */
.grid-packet-v1{left:25%;animation:moveDownFull 9s linear infinite;animation-delay:-1s}
.grid-packet-v3{left:75%;animation:moveDownFull 8s linear infinite;animation-delay:-4s}
/* Vertical packets moving up (v2, v4) */
.grid-packet-v2{left:45%;animation:moveUpFull 10s linear infinite;animation-delay:-3s}
.grid-packet-v4{left:85%;animation:moveUpFull 7s linear infinite;animation-delay:-6s}
/* Legacy packet-row classes */
.packet-row-1{top:15%;animation:moveRightFull 8s linear infinite}
.packet-row-2{top:35%;animation:moveLeftFull 10s linear infinite;animation-delay:-5s}
.packet-row-3{top:55%;animation:moveRightFull 9s linear infinite;animation-delay:-3s}
.packet-row-4{top:75%;animation:moveLeftFull 11s linear infinite;animation-delay:-7s}
.packet-row-5{top:90%;animation:moveRightFull 8.5s linear infinite;animation-delay:-2s}
.packet-col-1{left:10%;animation:moveDownFull 9s linear infinite;animation-delay:-4s}
.packet-col-2{left:30%;animation:moveUpFull 10s linear infinite;animation-delay:-6s}
.packet-col-3{left:50%;animation:moveDownFull 8s linear infinite;animation-delay:-1s}
.packet-col-4{left:70%;animation:moveUpFull 11s linear infinite;animation-delay:-8s}
.packet-col-5{left:90%;animation:moveDownFull 9.5s linear infinite;animation-delay:-3s}
@media(max-width:768px){.grid-packet-h,.grid-packet-h-left,.grid-packet-v,.grid-packet-v-up{display:none}}

/* ===== TEXT EFFECTS ===== */
.text-glow{text-shadow:0 0 10px rgba(5,150,105,.5);transition:text-shadow .3s ease}
.text-glow:hover{text-shadow:0 0 20px rgba(5,150,105,.8)}
.hero-text-glow{text-shadow:0 0 5px rgba(5,150,105,.3),0 0 10px rgba(5,150,105,.2),0 0 15px rgba(5,150,105,.1);transition:text-shadow .3s ease}
.hero-text-glow:hover{text-shadow:0 0 8px rgba(5,150,105,.5),0 0 16px rgba(5,150,105,.3),0 0 24px rgba(5,150,105,.2)}
.hero-title{word-wrap:break-word;overflow-wrap:break-word;hyphens:none;white-space:normal;line-height:1.1}

/* ===== COUNTERS & CARDS ===== */
.counter{display:inline-block}
@keyframes countUp{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
.counter{animation:countUp .5s ease-out forwards}
.stat-card{opacity:0;transform:translateY(20px);transition:all .6s cubic-bezier(.4,0,.2,1)}
.stat-card.animate,.stagger-item.animate .stat-card,.stagger-container.loaded .stat-card{opacity:1;transform:translateY(0)}
.process-card{opacity:0;transform:translateY(30px);transition:all .7s cubic-bezier(.4,0,.2,1)}
.process-card.animate,.stagger-item.animate.process-card,.stagger-container.loaded .process-card{opacity:1;transform:translateY(0)}
.problem-card{transform:translateY(0);transition:all .4s cubic-bezier(.4,0,.2,1)}
.problem-card:hover{transform:translateY(-4px)}
.principle-card{opacity:0;transform:translateY(20px) scale(.95);transition:all .5s cubic-bezier(.4,0,.2,1)}
.principle-card.animate,.stagger-item.animate.principle-card,.stagger-container.loaded .principle-card{opacity:1;transform:translateY(0) scale(1)}
.engagement-card{opacity:0;transform:translateY(30px);transition:all .6s cubic-bezier(.4,0,.2,1)}
.engagement-card.animate,.stagger-item.animate.engagement-card,.stagger-container.loaded .engagement-card{opacity:1;transform:translateY(0)}

/* ===== INFO CARD ANIMATIONS ===== */

/* Card Reveal Animation - Slides up and fades in */
@keyframes cardReveal{
  from{opacity:0;transform:translateY(40px) scale(0.96)}
  to{opacity:1;transform:translateY(0) scale(1)}
}

/* Card Glow Animation - Subtle border glow pulse */
@keyframes cardGlow{
  0%,100%{box-shadow:0 0 0 rgba(16,185,129,0),0 4px 20px rgba(0,0,0,0.1)}
  50%{box-shadow:0 0 20px rgba(16,185,129,0.15),0 4px 30px rgba(0,0,0,0.15)}
}

/* Card Shimmer Animation - Light sweep across */
@keyframes cardShimmer{
  0%{background-position:-200% 0}
  100%{background-position:200% 0}
}

/* Card Float Animation - Gentle float on hover */
@keyframes cardFloat{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-6px)}
}

/* Card Icon Pulse */
@keyframes iconPulse{
  0%,100%{transform:scale(1);opacity:1}
  50%{transform:scale(1.1);opacity:0.8}
}

/* Card Number Count Animation */
@keyframes numberSlide{
  from{opacity:0;transform:translateY(-10px)}
  to{opacity:1;transform:translateY(0)}
}

/* Base Info Card */
.info-card{
  opacity:0;
  transform:translateY(40px) scale(0.96);
  transition:all 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
  position:relative;
  overflow:hidden
}

/* Revealed state */
.info-card.revealed{
  opacity:1;
  transform:translateY(0) scale(1)
}

/* Stagger delays for cards */
.info-card:nth-child(1){transition-delay:0s}
.info-card:nth-child(2){transition-delay:0.1s}
.info-card:nth-child(3){transition-delay:0.2s}
.info-card:nth-child(4){transition-delay:0.3s}
.info-card:nth-child(5){transition-delay:0.4s}

/* Shimmer effect overlay */
.info-card::before{
  content:'';
  position:absolute;
  top:0;left:0;right:0;bottom:0;
  background:linear-gradient(90deg,transparent 0%,rgba(255,255,255,0.03) 50%,transparent 100%);
  background-size:200% 100%;
  pointer-events:none;
  opacity:0;
  transition:opacity 0.3s
}

.info-card:hover::before{
  opacity:1;
  animation:cardShimmer 1.5s ease-in-out
}

/* Hover lift effect */
.info-card:hover{
  transform:translateY(-8px) scale(1.02);
  box-shadow:0 20px 40px rgba(0,0,0,0.2),0 0 30px rgba(16,185,129,0.1)
}

/* Active/Focus state */
.info-card:active{
  transform:translateY(-4px) scale(1);
  transition-duration:0.1s
}

/* Card number styling */
.info-card .card-number{
  opacity:0;
  transform:translateY(-10px);
  transition:all 0.4s cubic-bezier(0.34,1.56,0.64,1)
}

.info-card.revealed .card-number{
  opacity:1;
  transform:translateY(0)
}

/* Card icon animation */
.info-card .card-icon{
  transition:all 0.3s cubic-bezier(0.34,1.56,0.64,1)
}

.info-card:hover .card-icon{
  transform:scale(1.15);
  filter:drop-shadow(0 0 8px rgba(16,185,129,0.4))
}

/* Process Phase Cards - Special styling */
.process-phase-card{
  opacity:0;
  transform:translateX(-30px);
  transition:all 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
  position:relative
}

.process-phase-card.revealed{
  opacity:1;
  transform:translateX(0)
}

.process-phase-card:nth-child(1){transition-delay:0s}
.process-phase-card:nth-child(2){transition-delay:0.15s;transform:translateY(30px)}
.process-phase-card:nth-child(3){transition-delay:0.3s;transform:translateX(30px)}

.process-phase-card.revealed:nth-child(2){transform:translateY(0)}
.process-phase-card.revealed:nth-child(3){transform:translateX(0)}

/* Border animation on hover */
.process-phase-card::after{
  content:'';
  position:absolute;
  left:0;top:0;bottom:0;
  width:3px;
  background:linear-gradient(180deg,transparent,#10b981,transparent);
  transform:scaleY(0);
  transition:transform 0.3s ease;
  transform-origin:top
}

.process-phase-card:hover::after{
  transform:scaleY(1)
}

/* Principle Cards - Grid animation */
.principle-card-animated{
  opacity:0;
  transform:translateY(30px) scale(0.9);
  transition:all 0.5s cubic-bezier(0.34,1.56,0.64,1)
}

.principle-card-animated.revealed{
  opacity:1;
  transform:translateY(0) scale(1)
}

/* Stagger with varied delays */
.principle-card-animated:nth-child(1){transition-delay:0s}
.principle-card-animated:nth-child(2){transition-delay:0.08s}
.principle-card-animated:nth-child(3){transition-delay:0.16s}
.principle-card-animated:nth-child(4){transition-delay:0.24s}
.principle-card-animated:nth-child(5){transition-delay:0.32s}

/* Icon container glow */
.principle-card-animated .icon-container{
  transition:all 0.4s cubic-bezier(0.34,1.56,0.64,1)
}

.principle-card-animated:hover .icon-container{
  transform:scale(1.1) rotate(5deg);
  box-shadow:0 0 20px rgba(16,185,129,0.3)
}

/* Comparison Panel Animation */
.comparison-panel{
  opacity:0;
  transition:all 0.7s cubic-bezier(0.25,0.46,0.45,0.94)
}

.comparison-panel.panel-left{
  transform:translateX(-40px)
}

.comparison-panel.panel-right{
  transform:translateX(40px)
}

.comparison-panel.revealed{
  opacity:1;
  transform:translateX(0)
}

/* List item animation */
.comparison-panel li{
  opacity:0;
  transform:translateX(-20px);
  transition:all 0.4s ease
}

.comparison-panel.revealed li{
  opacity:1;
  transform:translateX(0)
}

.comparison-panel.revealed li:nth-child(1){transition-delay:0.2s}
.comparison-panel.revealed li:nth-child(2){transition-delay:0.3s}
.comparison-panel.revealed li:nth-child(3){transition-delay:0.4s}

/* Analysis Panel - Data row animation */
.analysis-panel{
  opacity:0;
  transform:translateY(30px) perspective(1000px) rotateX(5deg);
  transition:all 0.8s cubic-bezier(0.25,0.46,0.45,0.94);
  transform-origin:bottom center
}

.analysis-panel.revealed{
  opacity:1;
  transform:translateY(0) perspective(1000px) rotateX(0)
}

.analysis-panel .data-row{
  opacity:0;
  transform:translateX(20px);
  transition:all 0.4s ease
}

.analysis-panel.revealed .data-row{
  opacity:1;
  transform:translateX(0)
}

.analysis-panel.revealed .data-row:nth-child(1){transition-delay:0.3s}
.analysis-panel.revealed .data-row:nth-child(2){transition-delay:0.4s}
.analysis-panel.revealed .data-row:nth-child(3){transition-delay:0.5s}
.analysis-panel.revealed .data-row:nth-child(4){transition-delay:0.6s}
.analysis-panel.revealed .data-row:nth-child(5){transition-delay:0.7s}

/* Stats Bar Animation */
.stats-bar{
  opacity:0;
  transform:translateY(20px);
  transition:all 0.6s cubic-bezier(0.25,0.46,0.45,0.94)
}

.stats-bar.revealed{
  opacity:1;
  transform:translateY(0)
}

.stats-bar .stat-item{
  opacity:0;
  transform:scale(0.8);
  transition:all 0.5s cubic-bezier(0.34,1.56,0.64,1)
}

.stats-bar.revealed .stat-item{
  opacity:1;
  transform:scale(1)
}

.stats-bar.revealed .stat-item:nth-child(1){transition-delay:0.2s}
.stats-bar.revealed .stat-item:nth-child(2){transition-delay:0.35s}
.stats-bar.revealed .stat-item:nth-child(3){transition-delay:0.5s}

/* Engagement Cards Animation */
.engagement-card-animated{
  opacity:0;
  transform:translateY(40px) scale(0.95);
  transition:all 0.6s cubic-bezier(0.25,0.46,0.45,0.94)
}

.engagement-card-animated.revealed{
  opacity:1;
  transform:translateY(0) scale(1)
}

.engagement-card-animated:nth-child(1){transition-delay:0s}
.engagement-card-animated:nth-child(2){transition-delay:0.12s}
.engagement-card-animated:nth-child(3){transition-delay:0.24s}

.engagement-card-animated .icon-container{
  transition:all 0.4s cubic-bezier(0.34,1.56,0.64,1)
}

.engagement-card-animated:hover .icon-container{
  transform:scale(1.1) rotate(-5deg);
  box-shadow:0 0 25px rgba(16,185,129,0.3)
}

/* Section Header Animation */
.section-header-animated{
  opacity:0;
  transform:translateY(30px);
  transition:all 0.7s cubic-bezier(0.25,0.46,0.45,0.94)
}

.section-header-animated.revealed{
  opacity:1;
  transform:translateY(0)
}

/* Section Headline Animation */
.section-headline-animated{
  opacity:0;
  transform:translateY(25px);
  transition:all 0.6s cubic-bezier(0.25,0.46,0.45,0.94) 0.1s
}

.section-headline-animated.revealed{
  opacity:1;
  transform:translateY(0)
}

/* Section Subtext Animation */
.section-subtext-animated{
  opacity:0;
  transform:translateY(20px);
  transition:all 0.6s cubic-bezier(0.25,0.46,0.45,0.94) 0.2s
}

.section-subtext-animated.revealed{
  opacity:1;
  transform:translateY(0)
}

/* Audit Content Container Animation */
.audit-content-container{
  position:relative
}

.audit-text-content{
  opacity:0;
  transform:translateX(-30px);
  transition:all 0.7s cubic-bezier(0.25,0.46,0.45,0.94)
}

.audit-text-content.revealed{
  opacity:1;
  transform:translateX(0)
}

/* Quote Banner Animation */
.quote-banner{
  opacity:0;
  transform:translateY(30px) scale(0.98);
  transition:all 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
  position:relative;
  overflow:hidden
}

.quote-banner.revealed{
  opacity:1;
  transform:translateY(0) scale(1)
}

/* Shimmer effect on quote banner */
.quote-banner::before{
  content:'';
  position:absolute;
  top:0;left:-100%;
  width:100%;height:100%;
  background:linear-gradient(90deg,transparent,rgba(16,185,129,0.1),transparent);
  transition:left 0.5s ease
}

.quote-banner:hover::before{
  left:100%
}

.quote-banner .quote-cta{
  transition:all 0.3s cubic-bezier(0.34,1.56,0.64,1)
}

.quote-banner:hover .quote-cta{
  transform:scale(1.05);
  box-shadow:0 10px 25px rgba(16,185,129,0.3)
}

/* Final CTA Section Animations */
.final-cta-container .cta-status-indicator{
  opacity:0;
  transform:translateY(20px);
  transition:all 0.5s ease 0s
}

.final-cta-container .cta-headline{
  opacity:0;
  transform:translateY(30px);
  transition:all 0.6s ease 0.1s
}

.final-cta-container .cta-subtext{
  opacity:0;
  transform:translateY(30px);
  transition:all 0.6s ease 0.2s
}

.final-cta-container .cta-buttons{
  opacity:0;
  transform:translateY(30px);
  transition:all 0.6s ease 0.3s
}

.final-cta-container .cta-link{
  opacity:0;
  transform:translateY(20px);
  transition:all 0.5s ease 0.4s
}

.final-cta-container.revealed .cta-status-indicator,
.final-cta-container.revealed .cta-headline,
.final-cta-container.revealed .cta-subtext,
.final-cta-container.revealed .cta-buttons,
.final-cta-container.revealed .cta-link{
  opacity:1;
  transform:translateY(0)
}

/* CTA Orb Animation */
.cta-orb{
  animation:ctaOrbPulse 4s ease-in-out infinite
}

@keyframes ctaOrbPulse{
  0%,100%{transform:translate(-50%,-50%) scale(1);opacity:0.1}
  50%{transform:translate(-50%,-50%) scale(1.1);opacity:0.15}
}

/* Primary CTA Button Animation */
.cta-primary{
  position:relative;
  overflow:hidden
}

.cta-primary::before{
  content:'';
  position:absolute;
  top:0;left:-100%;
  width:100%;height:100%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,0.2),transparent);
  transition:left 0.5s ease
}

.cta-primary:hover::before{
  left:100%
}

/* Secondary CTA Hover Effect */
.cta-secondary{
  position:relative;
  overflow:hidden
}

.cta-secondary::after{
  content:'';
  position:absolute;
  bottom:0;left:0;
  width:0;height:2px;
  background:linear-gradient(90deg,#10b981,#34d399);
  transition:width 0.3s ease
}

.cta-secondary:hover::after{
  width:100%
}

/* Reduced motion support */
@media(prefers-reduced-motion:reduce){
  .info-card,.process-phase-card,.principle-card-animated,
  .comparison-panel,.analysis-panel,.stats-bar,
  .engagement-card-animated,.section-header-animated,
  .section-headline-animated,.section-subtext-animated,
  .audit-text-content,
  .quote-banner,.final-cta-container .cta-status-indicator,
  .final-cta-container .cta-headline,.final-cta-container .cta-subtext,
  .final-cta-container .cta-buttons,.final-cta-container .cta-link,
  .cta-orb{
    opacity:1!important;
    transform:none!important;
    transition:none!important;
    animation:none!important
  }
  .info-card::before,.quote-banner::before,.cta-primary::before{animation:none!important}
}

/* ===== GLOW & SHIMMER ===== */
@keyframes glow{0%,100%{box-shadow:0 0 5px rgba(16,185,129,.3),0 0 10px rgba(16,185,129,.2)}50%{box-shadow:0 0 20px rgba(16,185,129,.4),0 0 30px rgba(16,185,129,.3)}}
.glow-animation{animation:glow 2s ease-in-out infinite}
@keyframes shimmer{0%{background-position:-200% 0}100%{background-position:200% 0}}
.shimmer{background:linear-gradient(90deg,transparent,rgba(255,255,255,.1),transparent);background-size:200% 100%;animation:shimmer 2s infinite}
