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

/* ===== Hero ===== */
.page-hero {
  padding: 140px 0 60px;
  background: linear-gradient(160deg, #FAFBFC 0%, #EEF2F7 40%, #E8F0FE 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78, 205, 196, 0.08) 0%, transparent 70%);
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 59, 107, 0.05) 0%, transparent 70%);
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: 48px;
  font-weight: 900;
  color: var(--primary-dark);
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===== FAQ Section ===== */
.faq-section {
  padding: 80px 0;
  background: var(--white);
}
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}
.faq-category {
  margin-bottom: 48px;
}
.faq-category:last-child { margin-bottom: 0; }
.faq-category-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg-alt);
}
.faq-category-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.faq-category:nth-child(1) .faq-category-icon { background: #DBEAFE; color: var(--primary); }
.faq-category:nth-child(2) .faq-category-icon { background: #D1FAE5; color: #059669; }
.faq-category:nth-child(3) .faq-category-icon { background: #EDE9FE; color: #7C3AED; }
.faq-category:nth-child(4) .faq-category-icon { background: #FEF3C7; color: #D97706; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  background: var(--white);
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-dark);
  gap: 16px;
  user-select: none;
}
.faq-question:hover { background: var(--bg); }
.faq-question span { flex: 1; }
.faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  color: var(--text-secondary);
}
.faq-item.active .faq-toggle {
  background: var(--accent);
  color: var(--white);
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer {
  max-height: 300px;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .page-hero h1 { font-size: 38px; }
}

@media (max-width: 768px) {
  .page-hero { padding: 120px 0 48px; }
  .page-hero h1 { font-size: 32px; }
  .faq-section { padding: 48px 0; }
  .faq-category-title { font-size: 18px; }
  .faq-question { padding: 16px 18px; font-size: 15px; }
  .faq-answer-inner { padding: 0 18px 16px; font-size: 14px; }
}

@media (max-width: 480px) {
  .page-hero h1 { font-size: 28px; }
}
