.faq-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

.faq-item {
  background-color: var(--bg-primary);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  animation: fadeInUp 0.6s ease-out;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.faq-item.expanded {
  border-left: 4px solid var(--accent-primary);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.3s ease;
  text-align: left;
}

.faq-question:hover {
  color: var(--accent-primary);
  background-color: var(--bg-tertiary);
}

.question-text {
  flex: 1;
}

.chevron {
  color: var(--accent-primary);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.chevron.rotated {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border-color);
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    max-height: 500px;
    transform: translateY(0);
  }
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0;
  font-size: 0.95rem;
}

.faq-footer {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  animation: fadeIn 0.6s ease-out 0.3s both;
}

.faq-footer h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: white;
}

.faq-footer p {
  margin: 0;
  opacity: 0.95;
  font-size: 0.95rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  .faq-question {
    padding: 1.25rem;
    font-size: 1rem;
  }

  .faq-answer {
    padding: 0 1.25rem 1.25rem 1.25rem;
  }

  .faq-footer {
    padding: 1.5rem;
  }

  .faq-footer h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .faq-question {
    padding: 1rem;
    gap: 0.75rem;
  }

  .faq-answer {
    padding: 0 1rem 1rem 1rem;
  }

  .question-text {
    font-size: 0.95rem;
  }

  .chevron {
    min-width: 20px;
  }
}
