/* ==========================================================================
   B2BTechnosoft — Motion
   Reveal-on-scroll is enabled only when JS adds .js-reveal to <html>,
   so content is always visible without JavaScript.
   ========================================================================== */

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(21, 128, 61, .4); } 100% { box-shadow: 0 0 0 12px rgba(21, 128, 61, 0); } }
@keyframes wave { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }
@keyframes typing { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@keyframes dash { to { stroke-dashoffset: -40; } }
@keyframes grow { from { transform: scaleY(.2); } to { transform: scaleY(1); } }

.js-reveal [data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.js-reveal [data-reveal="left"] { transform: translateX(-24px); }
.js-reveal [data-reveal="right"] { transform: translateX(24px); }
.js-reveal [data-reveal="zoom"] { transform: scale(.96); }
.js-reveal [data-reveal].is-revealed { opacity: 1; transform: none; }

.float-card { animation: none; }
.float-card--b { animation-delay: -2s; }
.float-card--c { animation-delay: -4s; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; vertical-align: 1px; background: var(--success); animation: pulse-ring 1.8s infinite; }
.wave span { animation: wave 1.2s ease-in-out infinite; transform-origin: center; }
.wave span:nth-child(3n) { animation-delay: -.3s; }
.wave span:nth-child(3n + 1) { animation-delay: -.6s; }
.wave span:nth-child(4n) { animation-delay: -.9s; }
.typing i { animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
.flow-line { stroke-dasharray: 4 6; animation: dash 2.4s linear infinite; }
.mock__chart span { transform-origin: bottom; animation: grow 1.2s var(--ease) both; }
.mock__chart span:nth-child(2) { animation-delay: .08s; }
.mock__chart span:nth-child(3) { animation-delay: .16s; }
.mock__chart span:nth-child(4) { animation-delay: .24s; }
.mock__chart span:nth-child(5) { animation-delay: .32s; }
.mock__chart span:nth-child(6) { animation-delay: .4s; }
.mock__chart span:nth-child(7) { animation-delay: .48s; }
.mock__chart span:nth-child(8) { animation-delay: .56s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; transition-delay: 0ms !important;
  }
  .js-reveal [data-reveal] { opacity: 1; transform: none; }
  .float-card, .wave span, .typing i, .flow-line, .live-dot { animation: none !important; }
}
