/* FAQ Section Styles */
.faq-section {
  padding: 8rem 0;
  background: rgba(248, 250, 252, 0.5);
  border-top: 1px solid #e2e8f0;
}

.faq-container {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.faq-header {
  text-align: center;
  margin-bottom: 4rem;
}

.faq-section .section-badge {
  color: #4f46e5;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.faq-section .section-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .faq-section .section-title {
    font-size: 3rem;
  }
}

.highlight-text {
  color: #4f46e5;
}

.faq-section .section-subtitle {
  font-size: 1.125rem;
  color: #475569;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.04);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  cursor: pointer;
  list-style: none;
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: rgba(248, 250, 252, 1);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-toggle {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(248, 250, 252, 1);
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
}

.faq-toggle svg {
  width: 1rem;
  height: 1rem;
  color: #4f46e5;
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-toggle {
  background: #4f46e5;
}

.faq-item[open] .faq-toggle svg {
  color: white;
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: #64748b;
  line-height: 1.7;
  border-top: 1px solid rgba(248, 250, 252, 1);
  padding-top: 1.5rem;
}

/* Dark Mode Overrides */
body.dark-mode .faq-section {
  background: var(--dark-bg);
  border-color: var(--dark-border);
}
body.dark-mode .faq-section .section-title {
  color: var(--dark-heading);
}
body.dark-mode .faq-section .section-subtitle {
  color: var(--dark-desc);
}
body.dark-mode .faq-item {
  background: var(--dark-bg-secondary);
  border-color: var(--dark-border);
}
body.dark-mode .faq-question {
  color: var(--dark-heading);
}
body.dark-mode .faq-question:hover {
  background-color: var(--dark-bg-tertiary);
}
body.dark-mode .faq-toggle {
  background: var(--dark-bg-tertiary);
  border-color: var(--dark-border);
}
body.dark-mode .faq-answer {
  color: var(--dark-desc);
  border-color: var(--dark-border);
}

