/* ============================================
   CardOpz Animations — Stripped Down
   No scroll reveals, no parallax, no stagger.
   Everything loads instantly visible.
   ============================================ */

/* --- Reveal classes: immediately visible, no animation --- */
.reveal,
.reveal.revealed,
.reveal--fade,
.reveal--left,
.reveal--left.active,
.reveal--right,
.reveal--right.active,
.reveal--scale,
.reveal--scale.active,
.reveal--up,
.reveal--up.active {
  opacity: 1;
  transform: none;
  transition: none;
}

.reveal--stagger > * {
  opacity: 1;
  transform: none;
  transition: none;
  transition-delay: 0ms !important;
}

.reveal--stagger.revealed > * {
  opacity: 1;
  transform: none;
}

[style*="--delay"] {
  transition-delay: 0ms !important;
}

/* --- Nav: instantly visible --- */
.nav--animate {
  opacity: 1;
  transform: none;
  animation: none;
}

/* --- Hero: instantly visible, no parallax --- */
.hero__badge,
.hero__title,
.hero__subtitle,
.hero__actions,
.hero__screenshot {
  opacity: 1;
  animation: none;
  transform: none;
}

.hero__screenshot.scrolled {
  transform: none;
}

/* --- No float/bounce/shimmer animations --- */
.float-on-hover:hover {
  animation: none;
}

.card--glass.revealed {
  background-image: none;
  animation: none;
}

.card:hover .feature-icon {
  animation: none;
}

/* --- CTA gradient: static, no shifting --- */
.gradient-animate {
  background: linear-gradient(135deg, #2563eb, #00d4ff);
  background-size: 100% 100%;
  animation: none;
}

/* --- Counter: keep tabular nums --- */
.counter {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* --- Badge pulse: keep (it's a live indicator, not decorative) --- */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--color-success);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

/* --- Noise texture: keep (subtle atmosphere, not animation) --- */
.noise-overlay {
  position: relative;
}

.noise-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-repeat: repeat;
  pointer-events: none;
  z-index: 1;
}

.noise-overlay > * {
  position: relative;
  z-index: 2;
}

/* --- No parallax --- */
.parallax-y {
  transition: none;
  will-change: auto;
}

/* --- Link underline: keep (hover feedback, not decorative animation) --- */
.link-underline {
  position: relative;
}

.link-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-brand-primary);
  transition: width 0.2s ease;
}

.link-underline:hover::after {
  width: 100%;
}

/* --- Mobile Menu Bottom Sheet --- */
.mobile-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--color-bg-elevated);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  max-height: 80vh;
  overflow-y: auto;
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-menu__handle {
  width: 36px;
  height: 4px;
  background: var(--color-border);
  border-radius: var(--radius-full);
  margin: var(--space-3) auto var(--space-4);
}

.mobile-menu__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.mobile-menu__overlay.open {
  opacity: 1;
  visibility: visible;
}
