/* FitDevs Landing Page — Custom Styles */

html {
  scroll-behavior: smooth;
}

body {
  font-feature-settings: "liga" 1, "calt" 1;
}

/* Selection */
::selection {
  background-color: rgba(0, 149, 12, 0.3);
  color: #fff;
}

/* Focus visible */
*:focus-visible {
  outline: 2px solid #00950C;
  outline-offset: 2px;
}

/* Subtle fade-in animation for sections */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section > div,
article,
#vip-form {
  animation: fadeInUp 0.7s ease-out both;
  animation-delay: 0.05s;
}

/* Stagger cards */
article:nth-child(1) { animation-delay: 0.1s; }
article:nth-child(2) { animation-delay: 0.2s; }
article:nth-child(3) { animation-delay: 0.3s; }

/* Mockup image treatment */
img[alt*="Mockup"] {
  mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

/* Form states */
#vip-form input:user-invalid {
  border-color: #ef4444;
}

/* Reduced motion */
@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;
  }
}