/* Scroll reveal states are activated by js/animation.js. */
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 0;
  transition:
    opacity .9s cubic-bezier(.2,.7,.2,1),
    transform .9s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}

.reveal-up { transform: translate3d(0, 52px, 0); }
.reveal-left { transform: translate3d(-58px, 0, 0); }
.reveal-right { transform: translate3d(58px, 0, 0); }
.reveal-scale { transform: scale(.94); }

.reveal-up.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-scale.is-visible {
  opacity: 1;
  transform: none;
}

.hero-scene {
  animation: heroFloat 9s ease-in-out infinite alternate;
}

.whats-visual > img {
  animation: batteryFloat 6.5s ease-in-out infinite;
}

.line-icon {
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease, background .28s ease;
}

.icon-label:hover .line-icon {
  background: rgba(0, 155, 255, .09);
  border-color: #00d8d0;
  box-shadow: 0 0 26px rgba(0, 188, 255, .15), inset 0 0 24px rgba(0, 188, 255, .07);
  transform: translateY(-4px) scale(1.03);
}

.icon-label h3 {
  transition: color .25s ease, transform .25s ease;
}

.icon-label:hover h3 {
  color: #dffeff;
  transform: translateX(4px);
}

.countdown-cell strong {
  animation: digitalPulse 3.4s ease-in-out infinite;
}

.countdown-cell:nth-child(2) strong { animation-delay: .2s; }
.countdown-cell:nth-child(3) strong { animation-delay: .4s; }
.countdown-cell:nth-child(4) strong { animation-delay: .6s; }

@keyframes heroFloat {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(0, -8px, 0) scale(1.008); }
}

@keyframes batteryFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -14px, 0); }
}

@keyframes digitalPulse {
  0%, 100% { opacity: .92; text-shadow: 0 0 10px rgba(0,137,255,.18); }
  50% { opacity: 1; text-shadow: 0 0 17px rgba(0,137,255,.34); }
}

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

  .reveal-up,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1;
    transform: none;
  }
}
