@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* Custom CSS configurations on top of Tailwind */
:root {
  --primary-color: #F59E0B; /* Amber/Orange for CTA */
  --secondary-color: #111827; /* Dark Gray for secondary elements */
  --bg-color: #F9FAFB; /* Light Gray */
  --text-color: #111827; /* Dark Gray */
}

html {
  scroll-behavior: smooth;
}

* {
  font-family: 'Poppins', sans-serif !important;
}

body, .font-sans, html, button, input, select, textarea {
  background-color: var(--bg-color);
  color: var(--text-color);
  -webkit-font-smoothing: antialiased;
}

/* Utilities for hiding components before JS injection */
[data-include] {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

[data-include].loaded {
  opacity: 1;
}

/* Custom animations */
@keyframes pulse-soft {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.btn-cta {
  background-color: var(--primary-color);
  color: #fff;
  transition: all 0.2s;
  box-shadow: 0 4px 6px -1px rgba(245, 158, 11, 0.4);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.4);
}

.btn-pulse {
  animation: pulse-soft 2s infinite;
}

/* Accordion transition for FAQ */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-content {
  max-height: 500px;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-icon {
  transition: transform 0.3s ease;
}

/* Hide scrollbar for horizontal lists */
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}
.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Accessibility Focus Rings (UI/UX Pro Max Guideline) */
*:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Standard Interaction Timing (150-300ms) */
.transition-standard {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* SVG Icon standardization */
.icon-svg {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}
.icon-svg-sm {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

/* Global Font Weight and Heading Overrides */
.font-semibold {
  font-weight: 600 !important;
}
.font-medium {
  font-weight: 500 !important;
}
.font-normal {
  font-weight: 400 !important;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600 !important;
}

/* Kit Selection Buttons */
.kit-btn {
  transition: all 0.2s ease;
}
.kit-btn:hover {
  border-color: #F59E0B !important;
}
.kit-btn.active {
  border: 2px solid #F59E0B !important;
  background-color: #fffbeb !important;
  color: #d97706 !important;
  font-weight: 500 !important;
}