/* ==========================================================================
   Expert UX gap fixes
   Reduces distraction, clarifies actions, improves focus and mobile ergonomics.
   ========================================================================== */
:root {
  --bp-focus: #2b7cff;
}

/* Gap 1: excessive ambient effects made the interface feel noisy. */
.scanlines,
.noise-overlay {
  display: none;
}

.animated-grid,
.bg-grid-dots,
.hero-grid-bg,
.hiw-animated-bg,
.security-animated-grid {
  opacity: .12;
}

.deco-orb {
  opacity: .55;
}

.hero-bg-img {
  opacity: .28;
}

.glow-primary,
.glow-badge,
.glow-text,
.neon-border {
  box-shadow: none;
  text-shadow: none;
  animation: none;
}

.pulse-ring::before,
.pulse-ring::after {
  display: none;
}

/* Gap 2: CTA arrows/nudge labels felt gimmicky and competed with the button. */
.cta-nudge-label,
.cta-side-arrow,
.hero-scroll-cue {
  display: none;
}

.hero-cta,
.cta-section .cta-btn-row {
  align-items: flex-start;
  gap: 0;
}

.cta-section .cta-btn-row {
  justify-content: center;
}

.hero-dl-btn,
.install-dl-btn,
.cta-dl-btn,
.wa-chat-btn {
  border-radius: 8px;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: none;
}

.hero-dl-btn,
.install-dl-btn,
.cta-dl-btn {
  border: 1px solid rgba(0, 88, 251, .32);
}

.hero-dl-btn:hover,
.install-dl-btn:hover,
.cta-dl-btn:hover,
.wa-chat-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

/* Gap 3: clickable elements needed stronger keyboard and touch feedback. */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
.footer-links button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--bp-focus) 70%, transparent);
  outline-offset: 3px;
}

.nav-link-styled,
.site-nav__brand,
.footer-links button,
.accordion-header {
  -webkit-tap-highlight-color: transparent;
}

.nav-link-styled,
.site-nav__dl-btn,
.mobile-bar__dl,
.mobile-bar__wa,
.footer-dl-btn,
.footer-wa-btn,
.hero-dl-btn,
.install-dl-btn,
.cta-dl-btn,
.wa-chat-btn {
  min-height: 44px;
}

/* Gap 4: mobile hero was visually crowded and secondary badges stole attention. */
@media (max-width: 767px) {
  .hero-section {
    min-height: auto;
    justify-content: flex-start;
  }

  .hero-grid {
    gap: 2rem;
  }

  .hero-subtitle {
    width: 100%;
    padding: 1rem;
  }

  .hero-visual {
    margin-top: 1rem;
  }

}

/* Gap 5: motion needed restraint and an accessible reduced-motion path. */
.phone-float,
.badge-float-1,
.badge-float-2,
.orb-1,
.orb-2,
.orb-3,
.cta-orb,
.animate-pulse,
.animate-ping {
  animation-duration: 10s;
}

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

  .animate-marquee {
    animation: none !important;
    transform: none !important;
  }
}

/* Gap 6: dense rows and cards needed more predictable rhythm. */
.payment-card,
.feature-card,
.install-step-card,
.security-check-card,
.review-card,
.faq-item-styled {
  isolation: isolate;
}

.payment-card__name,
.feature-card__title,
.install-step-title,
.security-check__title,
.accordion-header,
.user-name-color {
  text-wrap: balance;
}

@media (max-width: 480px) {
  .site-nav {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .site-nav__logo-text {
    font-size: 1.05rem;
  }

  .site-nav__dl-btn {
    padding-left: .85rem;
    padding-right: .85rem;
  }

  .hero-dl-btn,
  .install-dl-btn,
  .cta-dl-btn,
  .wa-chat-btn {
    font-size: 1rem;
  }
}
