/* ── FAQ PAGE STYLES ── */
/* Place this file in wwwroot/css/faq.css */

.faq-wrapper {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}

.faq-section { margin-bottom: 3rem; }

.faq-section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid;
  border-image: linear-gradient(135deg, #7B2FBE 0%, #4A6CF7 100%) 1;
}

.faq-section-icon {
  width: 40px;
  height: 40px;
  background: rgba(123,47,190,0.10);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.faq-section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1A1035;
  margin: 0;
}

.faq-item {
  border: 1px solid #E5E0F0;
  border-radius: 10px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-item:hover { box-shadow: 0 4px 16px rgba(123,47,190,0.08); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: #fff;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
  color: #1A1035;
  transition: background 0.2s;
}

.faq-question:hover { background: #F9F7FF; }
.faq-question.is-open { background: #F5F3FF; color: #7B2FBE; }

.faq-chevron {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: rgba(123,47,190,0.10);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #7B2FBE;
  transition: transform 0.3s ease, background 0.2s;
}

.faq-question.is-open .faq-chevron {
  transform: rotate(180deg);
  background: rgba(123,47,190,0.18);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.25rem;
  background: #FAFAFA;
  font-size: 0.93rem;
  color: #4B5563;
  line-height: 1.75;
}

.faq-answer.is-open {
  max-height: 600px;
  padding: 1.1rem 1.25rem 1.25rem;
  border-top: 1px solid #E5E0F0;
}

.faq-answer a { color: #7B2FBE; font-weight: 600; text-decoration: none; }
.faq-answer a:hover { text-decoration: underline; }

.faq-cta {
  background: linear-gradient(135deg, #7B2FBE 0%, #4A6CF7 100%);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  margin-top: 1rem;
}

.faq-cta h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}

.faq-cta p { color: rgba(255,255,255,0.80); margin-bottom: 1.5rem; font-size: 0.95rem; }
.faq-cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

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