/* ============================================================
  SHARED STYLESHEET — SaveThreadsVideo.com
  ============================================================ */

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.font-heading {
  font-family: 'Poppins', 'Inter', sans-serif;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.animate-spin-custom {
  animation: spin 1s linear infinite;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-slide-up {
  animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideIn {
  from { transform: translateY(1rem); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.animate-slide-in {
  animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 24rem;
  width: calc(100% - 3rem);
}

/* Accordion animation support */
.faq-answer-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
}

.faq-answer-wrapper.open {
  max-height: 500px;
}

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

/* Premium Glassmorphism Card Style */
.glass-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.03);
}

/* Focus and input glow transitions */
input[type="text"], input[type="email"], textarea {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

button, a {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
