/* FAQ Page Styles */

.faq {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--color-gray-950) 0%, var(--color-gray-900) 50%, var(--color-background-secondary) 100%);
  min-height: 100vh;
}

.faq-header {
  text-align: center;
  margin-bottom: 64px;
  animation: fadeInUp 0.6s ease-out both;
}

.faq-header .section-title {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin-bottom: 16px;
}

.faq-header .section-subtitle {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.25rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-gray-400);
  max-width: 600px;
  margin: 0 auto;
}

.faq-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(20, 20, 20, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out both;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.15s; }
.faq-item:nth-child(3) { animation-delay: 0.2s; }
.faq-item:nth-child(4) { animation-delay: 0.25s; }
.faq-item:nth-child(5) { animation-delay: 0.3s; }
.faq-item:nth-child(6) { animation-delay: 0.35s; }
.faq-item:nth-child(7) { animation-delay: 0.4s; }
.faq-item:nth-child(8) { animation-delay: 0.45s; }
.faq-item:nth-child(9) { animation-delay: 0.5s; }
.faq-item:nth-child(10) { animation-delay: 0.55s; }
.faq-item:nth-child(11) { animation-delay: 0.6s; }
.faq-item:nth-child(12) { animation-delay: 0.65s; }

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 24px 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--color-white);
  font-size: 1.1rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-gray-500);
  transition: transform 0.3s ease, color 0.2s ease;
  flex-shrink: 0;
}

.faq-question[aria-expanded="true"]::after {
  transform: rotate(45deg);
  color: var(--color-primary);
}

.faq-question[aria-expanded="true"] {
  color: var(--color-primary);
}

.faq-answer {
  padding: 0 28px 24px 28px;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--color-gray-300);
  font-size: 0.95rem;
  line-height: 1.7;
}

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

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

.faq-answer a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.faq-answer a:hover {
  color: var(--color-primary-300);
  text-decoration: underline;
}

.faq-more {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-more a {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.faq-more a:hover {
  color: var(--color-primary-300);
  text-decoration: underline;
}

/* Fade In Up Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .faq {
    padding: 80px 0;
  }

  .faq-header {
    margin-bottom: 48px;
  }

  .faq-question {
    padding: 20px 20px;
    font-size: 1rem;
  }

  .faq-answer {
    padding: 0 20px 20px 20px;
  }
}

@media (max-width: 480px) {
  .faq {
    padding: 64px 0;
  }

  .faq-header {
    margin-bottom: 32px;
  }

  .faq-list {
    gap: 12px;
  }

  .faq-question {
    padding: 16px 16px;
    font-size: 0.95rem;
    gap: 12px;
  }

  .faq-answer {
    padding: 0 16px 16px 16px;
    font-size: 0.9rem;
  }
}
