/* ===== Motion layer (subtle, premium) ===== */

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

/* Hover elevation */
.oh-card,
.oh-step,
.oh-price,
.oh-device__card {
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.oh-card:hover,
.oh-step:hover,
.oh-price:hover {
  transform: translateY(-3px);
  border-color: rgba(138, 160, 255, 0.28);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

/* Buttons */
.oh-btn {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease,
    color 180ms ease, filter 180ms ease;
}
.oh-btn:hover {
  transform: translateY(-1px);
}
.oh-btn:active {
  transform: translateY(0);
}
.oh-btn--primary:hover {
  filter: brightness(1.03);
  box-shadow: 0 22px 60px rgba(91, 124, 255, 0.34);
}
.oh-btn--secondary:hover {
  border-color: rgba(138, 160, 255, 0.26);
  background: rgba(15, 23, 42, 0.65);
}
.oh-btn--ghost:hover {
  border-color: rgba(138, 160, 255, 0.22);
  color: rgba(231, 236, 255, 0.86);
  background: rgba(148, 163, 184, 0.06);
}

/* Glow ring */
.oh-btn--glow {
  position: relative;
}
.oh-btn--glow::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 18px;
  background: radial-gradient(circle at 40% 40%, rgba(91, 124, 255, 0.22), transparent 55%);
  filter: blur(10px);
  opacity: 0;
  transition: opacity 220ms ease;
  z-index: -1;
}
.oh-btn--glow:hover::after {
  opacity: 1;
}

/* Reveal (scroll-based) */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  filter: blur(4px);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition: opacity 700ms ease, transform 700ms ease, filter 700ms ease;
}

/* Micro animated signal bars */
@keyframes ohPulseBar {
  0% {
    transform: translateY(0);
    opacity: 0.65;
  }
  50% {
    transform: translateY(-2px);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 0.75;
  }
}
.oh-signal span {
  animation: ohPulseBar 1.6s ease-in-out infinite;
}
.oh-signal span:nth-child(1) {
  animation-delay: 0ms;
}
.oh-signal span:nth-child(2) {
  animation-delay: 120ms;
}
.oh-signal span:nth-child(3) {
  animation-delay: 240ms;
}
.oh-signal span:nth-child(4) {
  animation-delay: 360ms;
}


