/* ===== FAQ SECTION CON COLORES ===== */
.faq {
  background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.faq::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    #6366f1,
    #10b981,
    #f59e0b,
    #ef4444,
    #8b5cf6
  );
}

.faq-grid {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: white;
  border: 1px solid #e5e7eb;
  border-left-width: 6px;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
}

.faq-question:hover {
  background: #f9fafb;
}

.question-content {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  color: #111827;
  font-size: 1.1rem;
}

.question-content i {
  font-size: 1.3rem;
  width: 24px;
  transition: all 0.3s ease;
}

.faq-item:hover .question-content i {
  transform: scale(1.1);
}

.faq-question .fa-chevron-down {
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.faq-item.active .faq-question {
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.faq-item.active .faq-question .fa-chevron-down {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  padding: 0 24px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: #4b5563;
  background: #f9fafb;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 20px 24px;
}

/* Pills de monedas coloridas */
.currency-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.currency-pills span {
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.currency-pills span:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Colores diferentes para cada pregunta (ya asignados en HTML) */

/* Responsive */
@media (max-width: 768px) {
  .faq {
    padding: 60px 0;
  }

  .faq-question {
    padding: 16px 20px;
  }

  .question-content {
    gap: 12px;
    font-size: 1rem;
  }

  .question-content i {
    font-size: 1.1rem;
  }

  .faq-item.active .faq-answer {
    padding: 16px 20px;
  }

  .currency-pills span {
    padding: 4px 12px;
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .faq-grid {
    gap: 12px;
  }

  .question-content {
    font-size: 0.95rem;
  }

  .faq-answer {
    font-size: 0.9rem;
  }
}

/* Animación de entrada */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.faq-item {
  animation: slideIn 0.3s ease backwards;
}

.faq-item:nth-child(1) {
  animation-delay: 0s;
}
.faq-item:nth-child(2) {
  animation-delay: 0.1s;
}
.faq-item:nth-child(3) {
  animation-delay: 0.2s;
}
.faq-item:nth-child(4) {
  animation-delay: 0.3s;
}
.faq-item:nth-child(5) {
  animation-delay: 0.4s;
}
.faq-item:nth-child(6) {
  animation-delay: 0.5s;
}
.faq-item:nth-child(7) {
  animation-delay: 0.6s;
}
.faq-item:nth-child(8) {
  animation-delay: 0.7s;
}
.faq-item:nth-child(9) {
  animation-delay: 0.8s;
}
.faq-item:nth-child(10) {
  animation-delay: 0.9s;
}
