/* FAQ specific styles */
.faq-body {
  background: #0E0F1E;
  min-height: 100vh;
  padding: 2rem 1rem;
}

.faq-container {
  background: #1C1F2E;
  color: white;
  border-radius: 1.5rem;
  padding: 2rem;
  width: 100%;
  max-width: 1200px;
  margin: 2rem auto;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.back-link {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: #9CA3AF;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
  font-size: 1rem;
}

.back-link:hover {
  color: white;
}

.faq-header {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 2rem;
  padding-right: 3rem;
}

.q {
  width: 100%;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(28, 31, 46, 0.5);
}

.faq-question {
  background: transparent;
  color: #fff;
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  user-select: none;
  font-size: clamp(1rem, 2vw, 1.125rem);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  transition: transform 0.3s;
}

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

.faq-answer {
  background: rgba(255, 255, 255, 0.05);
  color: #9CA3AF;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s;
}

.faq-answer p,
.faq-answer ul {
  padding: 1.5rem;
  margin: 0;
  font-size: clamp(0.875rem, 2vw, 1rem);
}

.faq-answer ul {
  list-style-position: inside;
  padding-top: 0;
}

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

.faq-item.active .faq-answer {
  max-height: 2000px;
}

.faq-answer a {
  color: #FFE082;
  text-decoration: none;
  transition: color 0.2s;
}

.faq-answer a:hover {
  color: #FFCA28;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .faq-container {
    padding: 1.5rem;
    margin: 1rem auto;
  }

  .back-link {
    top: 1.5rem;
    right: 1.5rem;
  }

  .faq-header {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
  }
}