/**
 * Index Page Styles
 * Custom styles for the main landing page
 */

/* Mobile Flash Animation */
@media (max-width: 991.98px) {
  .mobile-flash {
    animation: mobileFlash 0.6s ease-in-out;
    animation-delay: calc(var(--animation-order) * 0.2s);
  }
  
  .mobile-flash:nth-child(3) { --animation-order: 1; }
  .mobile-flash:nth-child(5) { --animation-order: 2; }
  .mobile-flash:nth-child(7) { --animation-order: 3; }
  .mobile-flash:nth-child(9) { --animation-order: 4; }
  
  @keyframes mobileFlash {
    0% {
      opacity: 0;
      transform: translateY(20px) scale(0.9);
      box-shadow: 0 0 0 rgba(13, 110, 253, 0);
    }
    50% {
      opacity: 1;
      transform: translateY(0) scale(1.05);
      box-shadow: 0 0 20px rgba(13, 110, 253, 0.3);
    }
    100% {
      opacity: 1;
      transform: translateY(0) scale(1);
      box-shadow: 0 0 0 rgba(13, 110, 253, 0);
    }
  }
}

/* Management Screenshots */
.management-screenshots img {
  border-radius: 12px;
  transition: transform 0.3s ease-in-out;
}

.management-screenshots img:hover {
  transform: scale(1.05);
}

/* Client Logos */
.row {
  justify-content: space-around;
}

.client-logo img {
  max-height: 80px;
  transition: transform 0.3s ease-in-out;
  filter: grayscale(100%);
}

.client-logo img:hover {
  transform: scale(1.1);
  filter: grayscale(0%);
}

@media (max-width: 700px) {
  .client-logo {
    margin: 29px;
  }
}

/* Contact Form Styles */
.loading, .error-message, .sent-message {
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
  font-weight: 500;
}

.loading {
  background-color: #e3f2fd;
  color: #1976d2;
  border: 1px solid #bbdefb;
}

.error-message {
  background-color: #ffebee;
  color: #c62828;
  border: 1px solid #ffcdd2;
}

.sent-message {
  background-color: #e8f5e8;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Section Title Overrides */
.section-title {
  padding-bottom: 20px !important;
}

/* Stats Section */
#stats {
  padding-top: 0 !important;
}

/* Pricing Sections */
#dashmaster-pricing,
#ia-invoice-pricing {
  padding-bottom: 0px !important;
}

/* Swiper Wrapper */
.swiper-wrapper {
  padding-top: 15px;
  padding-bottom: 30px;
}

/* Image Sizes */
.ia-automated-img {
  width: 150px;
  height: 150px;
  object-fit: cover;
}

.ia-automated-img.agent {
  width: 205px;
  height: 150px;
  object-fit: cover;
}

.agent-ia-img {
  width: 34%;
}

.logo-size-img {
  max-width: 44%;
}

/* Pricing Logo Container */
.pricing-logo-container {
  margin-top: 41px;
  margin-bottom: 21px;
}

.ia-pricing-logo-container {
  margin-top: 35px;
  margin-bottom: 6px;
}
