


/* FAQ v2 Component Styles */

.faq-v2 {
  position: relative;
}

/* Category Cards */
.faq-category-card {
  transition: all var(--transition-slow);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.2);
}

/* Category Header Gradient */
.faq-category-header {
  position: relative;
  overflow: hidden;
}

.faq-category-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
  50% { transform: translate(-50%, -50%) rotate(180deg); }
}

/* FAQ Items */
.faq-item {
  position: relative;
  padding-left: 1rem;
  border-left: 2px solid transparent;
  transition: all var(--transition-slow);
}

.faq-item:hover {
  border-left-color: var(--color-brand-secondary-light);
  padding-left: 1.5rem;
}

.faq-question {
  font-size: 1.0625rem;
}

.faq-answer {
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* Question/Answer Labels */
.faq-question span,
.faq-answer span {
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 700;
  min-width: 1.5rem;
  text-align: center;
}

/* Badge Animation */
.faq-category-card span[class*="rounded-full"] {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .faq-v2 .grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .faq-category-header {
    padding: 1.5rem;
  }
  
  .faq-items {
    padding: 1.5rem;
  }
  
  .faq-item {
    padding-left: 0.5rem;
  }
  
  .faq-item:hover {
    padding-left: 1rem;
  }
  
  .faq-question,
  .faq-answer {
    font-size: 0.875rem;
  }
}

/* Dark mode support */
/* Dark mode automatically handled by design tokens */
  
  .faq-category-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
  }
  
  .faq-question p {
    color: var(--color-neutral-200);
  }
  
  .faq-answer p {
    color: var(--text-muted);
  }
}

/* Better FAQ item styling */
.faq-item {
  background-color: rgba(0, 0, 0, 0.03);
  padding: 1.25rem;
  border-radius: var(--radius-xl);
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all var(--transition-base);
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item:hover {
  background-color: rgba(59, 130, 246, 0.05);
  border-color: rgba(59, 130, 246, 0.15);
  transform: translateX(4px);
}

/* Ensure text contrast */
.faq-question p {
  color: var(--text-primary) !important; /* gray-900 */
}

.faq-answer p {
  color: var(--text-primary) !important; /* gray-800 */
}