/* ============================================================
   RecuvaDownload — custom styles (layered on top of Tailwind CDN)
   ============================================================ */

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- Header states ---------- */
#header-inner {
  background: transparent;
}
#site-header.scrolled #header-inner {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -15px rgba(11, 59, 72, 0.25);
}

.nav-link { position: relative; transition: color .25s ease; }
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: #FF6B4A; transition: width .3s ease;
}
.nav-link:hover { color: #0B3B48; }
.nav-link:hover::after { width: 100%; }

.mobile-link { padding: 0.65rem 0.5rem; border-radius: 0.6rem; transition: background .2s ease, color .2s ease; }
.mobile-link:hover { background: #F4FAF9; color: #0B3B48; }

.footer-link { transition: color .2s ease; }
.footer-link:hover { color: #FF8A6B; }

.social-icon {
  width: 34px; height: 34px; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06); color: #C3E3E0;
  transition: all .25s ease;
}
.social-icon:hover { background: #FF6B4A; color: #fff; transform: translateY(-2px); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Hero radar / recovery scan ---------- */
.radar-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 460px;
  margin: 0 auto;
}

.radar-circle {
  position: absolute; inset: 0;
  border-radius: 9999px;
  background: radial-gradient(circle at 50% 50%, #E3F2F1 0%, #F4FAF9 60%, transparent 75%);
}

.radar-ring {
  position: absolute; border-radius: 9999px;
  border: 1px solid rgba(15, 92, 107, 0.18);
}
.ring-1 { inset: 8%; }
.ring-2 { inset: 22%; }
.ring-3 { inset: 36%; }

.radar-core {
  position: absolute; inset: 46%;
  border-radius: 9999px;
  background: #0F5C6B;
  box-shadow: 0 0 0 8px rgba(15,92,107,0.08);
}

.radar-sweep {
  position: absolute; inset: 8%;
  border-radius: 9999px;
  background: conic-gradient(from 0deg, rgba(255,107,74,0.55), rgba(255,107,74,0) 28%);
  animation: spin 4.5s linear infinite;
  mix-blend-mode: multiply;
}

@keyframes spin { to { transform: rotate(360deg); } }

.file-badge {
  position: absolute;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 25px -10px rgba(11,59,72,0.35);
  opacity: 0.35;
  transform: scale(0.85);
  animation: found 4.5s ease-in-out infinite;
}
.file-badge svg { width: 22px; height: 22px; }

.badge-1 { top: 2%;  left: 46%; animation-delay: 0s;    color:#1B8494; }
.badge-2 { top: 30%; left: 84%; animation-delay: 0.9s;  color:#FF6B4A; }
.badge-3 { top: 78%; left: 70%; animation-delay: 1.8s;  color:#146B7A; }
.badge-4 { top: 78%; left: 12%; animation-delay: 2.7s;  color:#FF8A6B; }
.badge-5 { top: 30%; left: -2%; animation-delay: 3.6s;  color:#0F5C6B; }

@keyframes found {
  0%   { opacity: 0.3; transform: scale(0.85); }
  8%   { opacity: 1;   transform: scale(1.08); box-shadow: 0 0 0 6px rgba(255,107,74,0.18), 0 14px 28px -10px rgba(11,59,72,0.4); }
  20%  { opacity: 1;   transform: scale(1); }
  55%  { opacity: 0.55; transform: scale(0.94); }
  100% { opacity: 0.3; transform: scale(0.85); }
}

/* ---------- Stat / feature cards ---------- */
.lift-card { transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.lift-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -20px rgba(11,59,72,0.28); border-color: rgba(255,107,74,0.35); }

/* ---------- FAQ ---------- */
.faq-item .faq-chevron { transition: transform .35s ease; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease; }

/* ---------- Marquee (trust bar) ---------- */
.marquee-track { animation: marquee 22s linear infinite; }
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Progress ring (download card) ---------- */
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(255,107,74,0.45); }
  70% { box-shadow: 0 0 0 14px rgba(255,107,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,107,74,0); }
}
.pulse { animation: pulse-ring 2.4s ease-out infinite; }