/* Bundle 8 - Clean SaaS Template Styles */

html {
  overflow-x: hidden;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade {
  opacity: 0;
}

.animate-fade.visible {
  animation: fadeInUp 0.5s ease-out forwards;
}

.animate-fade.visible:nth-child(1) { animation-delay: 0.1s; }
.animate-fade.visible:nth-child(2) { animation-delay: 0.2s; }
.animate-fade.visible:nth-child(3) { animation-delay: 0.3s; }
.animate-fade.visible:nth-child(4) { animation-delay: 0.4s; }
.animate-fade.visible:nth-child(5) { animation-delay: 0.5s; }
.animate-fade.visible:nth-child(6) { animation-delay: 0.6s; }

/* Focus states */
input:focus,
textarea:focus {
  outline: none;
  border-color: #58a6ff;
}

/* Form inputs */
input[type="email"],
input[type="text"] {
  background: #161b22;
  border: 1px solid #30363d;
  transition: border-color 0.2s ease;
}

input[type="email"]:focus,
input[type="text"]:focus {
  border-color: #58a6ff;
}

/* Links */
a {
  transition: all 0.2s ease;
}

/* Mobile drawer */
#mobileDrawer {
  animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 767px) {
  .animate-fade.visible {
    animation: fadeInUp 0.4s ease-out forwards;
  }
}