/* FAQ Section Styles */

.faq-section {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: calc(var(--border-radius) * 2);
  padding: 40px;
  backdrop-filter: blur(10px);
  width: 100%;
  max-width: var(--content-width);
  margin-bottom: 60px;
}

/* FAQ title inherits from .section-header in shared.css */

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid #404040;
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover:not(.active) {
  border-color: #f3c11b;
  background: rgba(243, 193, 27, 0.1);
}

.faq-item.active {
  border-color: #f3c11b;
  background: transparent;
  box-shadow: 0 0 0 1px rgba(243, 193, 27, 0.2);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: #ededed;
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #f3c11b;
}

.faq-item.active .faq-question {
  color: #f3c11b;
}

.faq-icon {
  font-size: 20px;
  font-weight: 300;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
  color: #f3c11b;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Adjust based on your content */
}

.faq-answer-content {
  padding: 0 24px 28px 24px;
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 400;
  text-align: left;
}

.faq-answer-content p {
  margin-bottom: 12px;
}

.faq-answer-content p:last-child {
  margin-bottom: 0;
}

.faq-answer-content a {
  color: #f3c11b;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.faq-answer-content a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .faq-section {
    padding: 30px 20px;
    margin-bottom: 30px;
  }

  .faq-container {
    gap: 12px;
  }

  .faq-question {
    padding: 16px 20px;
    font-size: 14px;
  }

  .faq-answer-content {
    padding: 0 20px 16px 20px;
    font-size: 14px;
  }

  .faq-icon {
    font-size: 18px;
    margin-left: 12px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .faq-item,
  .faq-question,
  .faq-icon,
  .faq-answer {
    transition: none;
  }
}

/* Focus state for keyboard navigation only (not mouse clicks) */
.faq-question:focus {
  outline: none;
}

.faq-question:focus-visible {
  outline: 2px solid #f3c11b;
  outline-offset: -2px;
}
