/* ========================================================================
   DNSai FAQ Page Styles
   ======================================================================== */

.faq-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 100px 24px 60px;
}

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

.faq-header h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 12px;
}

.faq-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin: 0;
}

/* --- FAQ Category --- */
.faq-category {
  margin-bottom: 40px;
}

.faq-category-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand-cyan);
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border-default);
}

/* --- Accordion --- */
.faq-item {
  border: 1px solid var(--border-default);
  border-radius: 8px;
  margin-bottom: 8px;
  overflow: hidden;
  background: var(--bg-card);
  transition: border-color 0.2s;
}

.faq-item.open {
  border-color: var(--brand-cyan);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 20px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  line-height: 1.4;
}

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

.faq-arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-left: 16px;
  color: var(--text-muted);
  transition: transform 0.25s;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
  color: var(--brand-cyan);
}

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

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

.faq-answer-inner {
  padding: 0 20px 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.faq-answer-inner a {
  color: var(--link);
  text-decoration: none;
}

.faq-answer-inner a:hover {
  text-decoration: underline;
}

/* --- Still have questions --- */
.faq-cta {
  text-align: center;
  padding: 48px 24px;
  background: var(--bg-section);
  border-radius: 12px;
  margin-top: 48px;
}

.faq-cta h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px;
}

.faq-cta p {
  color: var(--text-secondary);
  margin: 0 0 24px;
}

.faq-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  background: var(--brand-gradient);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.faq-cta a:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 84, 255, 0.4);
}
