/* Minimal custom CSS - most styling moved to Tailwind classes */

/* Ensure Lucide icons are centered and sized properly */
.bg-purple-100 i svg,
.bg-purple-100 svg {
  width: 32px;
  height: 32px;
  display: block;
  margin: 0 auto;
}

/* Custom classes to avoid bracket notation (not supported in CDN Tailwind) */
.modal-overlay {
  z-index: 9999;
}

.cookie-consent {
  z-index: 10000;
}

.modal-content-width {
  width: 90%;
}

.max-h-screen-90 {
  max-height: 90vh;
}

.min-w-300 {
  min-width: 300px;
}

.textarea-min-h {
  min-height: 100px;
}

/* Hero section background pattern */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
  opacity: 0.1;
}

/* Custom animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUpCookie {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.5s ease;
}

.animate-slideUp {
  animation: slideUp 0.3s ease;
}

.animate-slideUpCookie {
  animation: slideUpCookie 0.3s ease-out;
}

.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

/* Modal active state */
#trialModal.active,
#demoModal.active,
#cookieSettings.active {
  display: flex !important;
}

/* Form message states */
#trialMessage.success,
#demoMessage.success {
  @apply bg-green-100 text-green-800 block;
}

#trialMessage.error,
#demoMessage.error {
  @apply bg-red-100 text-red-800 block;
}

/* Step arrow for How It Works section - hide on mobile */
@media (max-width: 768px) {
  .step-arrow {
    display: none !important;
  }
}

/* Mobile menu fixes */
.mobile-nav-open {
  display: flex !important;
  flex-direction: column !important;
  position: absolute !important;
  top: 70px !important;
  right: 20px !important;
  left: auto !important;
  background: white !important;
  padding: 20px !important;
  border-radius: 10px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
  z-index: 100 !important;
}

/* Custom scrollbar for better UX - keeping since Tailwind doesn't fully handle this */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #667eea;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: #764ba2;
}
