/* ============ FileBuddy marketing site ============ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #0B1F2A;
  background: #F7FAF8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { font-family: 'Plus Jakarta Sans', sans-serif; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
details[open] summary .faq-plus { transform: rotate(45deg); }

/* ---- keyframes ---- */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 10px 30px -8px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.4); }
  50% { box-shadow: 0 14px 40px -6px rgba(37,211,102,.7), 0 0 0 12px rgba(37,211,102,0); }
}
@keyframes blob {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(40px,-30px) scale(1.08); }
  66% { transform: translate(-25px,25px) scale(.95); }
}
@keyframes typingBounce { 0%, 80%, 100% { transform: translateY(0); opacity: .35; } 40% { transform: translateY(-5px); opacity: 1; } }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(10px) scale(.94); } to { opacity: 1; transform: translateY(0) scale(1); } }

.float { animation: float 6s ease-in-out infinite; }
.pulse-glow { animation: pulseGlow 3s ease-in-out infinite; }
.bubble-in { animation: bubbleIn .35s ease both; }

/* ---- scroll reveal ---- */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].in-view { opacity: 1; transform: translateY(0); }

/* ---- hover states (replacing prototype style-hover) ---- */
.nav-link { transition: color .2s ease; }
.nav-link:hover { color: #0B1F2A; }
.btn-wa { transition: background .25s ease, transform .25s ease; }
.btn-wa:hover { background: #1FA855; transform: translateY(-2px); }
.btn-ghost { transition: border-color .25s ease; }
.btn-ghost:hover { border-color: #0B1F2A; }
.feature-card { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px -12px rgba(11,31,42,.12); border-color: rgba(37,211,102,.3); }
.return-card { transition: transform .3s ease, box-shadow .3s ease; }
.return-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -16px rgba(11,31,42,.14); }
.pricing-card { transition: transform .3s ease; }
.pricing-card:hover { transform: translateY(-4px); }
.pricing-cta { transition: opacity .2s ease; }
.pricing-cta:hover { opacity: .9; }
.footer-link { transition: color .2s ease; }
.footer-link:hover { color: white; }
.social { transition: background .2s ease; }
.social:hover { background: rgba(37,211,102,.2) !important; }
details { transition: border-color .2s ease; }

/* ---- responsive ---- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr !important; gap: 48px !important; }
  .hero-phone-wrap { order: -1; }
  .showcase-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
  .grid-4 { grid-template-columns: repeat(2, 1fr) !important; }
  .grid-3 { grid-template-columns: 1fr !important; }
  .how-line { display: none !important; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 32px !important; }
}
@media (max-width: 600px) {
  .nav-links { display: none !important; }
  .grid-4, .grid-3, .stats-grid { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: 1fr !important; }
  .footer-bottom { flex-direction: column !important; align-items: flex-start !important; }
  .footer-bottom p { text-align: left !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}
