/* =====================================================
   FAQ PAGE + AI CHAT WIDGET — شاهکار
===================================================== */

.hero-lead {
  color: var(--gray-200, #cbd5e1);
  max-width: 640px;
  margin: 18px auto 0;
  line-height: 2;
}

.faq-section {
  padding: 80px 0 100px;
  background: var(--gray-50);
}

.faq-groups {
  display: flex;
  flex-direction: column;
  gap: 46px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-group h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 18px;
}

.faq-group h2 i {
  color: var(--secondary);
  font-size: 18px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md, 14px);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: right;
  font-family: inherit;
  font-size: var(--fs-md, 16px);
  font-weight: 700;
  color: var(--gray-900);
  padding: 18px 20px;
}

.faq-question i {
  flex-shrink: 0;
  color: var(--gray-400);
  transition: transform 0.3s ease;
}

.faq-item.is-open .faq-question i {
  transform: rotate(180deg);
  color: var(--secondary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.is-open .faq-answer {
  max-height: 400px;
}

.faq-answer p {
  padding: 0 20px 20px;
  color: var(--gray-600);
  line-height: 1.95;
}

.faq-answer a {
  color: var(--secondary);
  font-weight: 600;
}

.faq-cta {
  max-width: 860px;
  margin: 60px auto 0;
  text-align: center;
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 44px 30px;
}

.faq-cta h3 {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
}

.faq-cta p {
  color: #cbd5e1;
  margin-bottom: 26px;
}

.faq-cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.faq-cta-actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.3s;
}

.faq-cta-actions .btn-primary {
  background: var(--secondary);
  color: #111827;
}

.faq-cta-actions .btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.faq-cta-actions a:hover {
  transform: translateY(-3px);
}

/* استایل ویجت دستیار هوشمند به css/ai-chat.css منتقل شد تا در چند صفحه (سوالات و وبلاگ) قابل استفاده باشد */
