.faq-container {
  max-width: 64rem;
  margin: 0 auto;
}

.faq-content {
  background: white;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  margin-bottom: 2rem;
}

.faq-item {
  border-bottom: 1px solid #f3f4f6;
  transition: all 0.2s ease;
}

.faq-item:first-child .faq-question {
  border-radius: 0.5rem 0.5rem 0 0;
}

.faq-item:last-child .faq-question {
  border-radius: 0 0 0.5rem 0.5rem;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item:hover .faq-question {
  background-color: #fafafa;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.5rem 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  transition: all 0.2s ease;
}

.faq-question:focus {
  outline: none;
}

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

.faq-icon {
  width: 24px;
  height: 24px;
  background: #FFFF00;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-icon svg {
  width: 14px;
  height: 14px;
  stroke: #000;
  stroke-width: 3;
}

.faq-item.active .faq-question {
  background-color: #FFFF00;
  color: #000;
}

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

.faq-item.active .faq-icon svg {
  stroke: #FFFF00;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 2rem;
}

.faq-answer-content {
  padding-bottom: 1.5rem;
  color: #4b5563;
  line-height: 1.75;
}

.faq-answer ol,
.faq-answer ul {
  margin-top: 0.75rem;
  margin-left: 1.5rem;
}

.faq-answer li {
  margin-bottom: 0.5rem;
}

.faq-answer strong {
  color: #1f2937;
  font-weight: 600;
}

.faq-answer a {
  color: #000;
  text-decoration: underline;
  text-decoration-color: #FFFF00;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
  transition: all 0.2s ease;
}

.faq-answer a:hover {
  color: #FFFF00;
  background: #000;
  padding: 0 4px;
  margin: 0 -4px;
  text-decoration: none;
}

.faq-icon i {
  font-size: 14px;
  color: #000;
}

.faq-item.active .faq-icon i {
  color: #FFFF00;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .faq-question {
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
  }
  
  .faq-answer {
    padding: 0 1.5rem;
  }
}

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