/* FAQ Accordion Section CSS */

.faq-section {
  background-color: var(--bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-header {
  text-align: center;
  margin-bottom: 64px;
}

.faq-pretitle {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.faq-title {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: var(--color-text-main);
}

.faq-subtitle {
  font-size: 16px;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Accordion Layout */
.faq-accordion-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: var(--border-radius-sm);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.08);
  background-color: rgba(255, 255, 255, 0.01);
}

.faq-item.active {
  border-color: rgba(3, 250, 250, 0.35);
  /* Switched highlight to logo-cyan */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Question Button Trigger */
.faq-question-btn {
  width: 100%;
  text-align: left;
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-main);
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
}

.faq-question-text {
  line-height: 1.4;
  letter-spacing: -0.2px;
  transition: var(--transition-smooth);
}

.faq-item:hover .faq-question-text {
  color: var(--color-logo-cyan);
  /* Switched hover highlight to logo-cyan */
}

.faq-item.active .faq-question-text {
  color: var(--color-logo-cyan);
  /* Switched active text color to logo-cyan */
}

/* Plus/Minus Indicator Icon */
.faq-icon-indicator {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  display: block;
}

.indicator-line {
  position: absolute;
  background-color: var(--color-text-main);
  transition: var(--transition-smooth);
}

.indicator-line.horiz {
  top: 6px;
  left: 0;
  width: 14px;
  height: 2px;
}

.indicator-line.vert {
  top: 0;
  left: 6px;
  width: 2px;
  height: 14px;
}

/* Morph Plus to Minus on Active state */
.faq-item.active .indicator-line {
  background-color: var(--color-logo-cyan);
  /* Switched line color to logo-cyan */
  box-shadow: 0 0 8px rgba(3, 250, 250, 0.4);
}

.faq-item.active .indicator-line.vert {
  transform: rotate(90deg);
  opacity: 0;
}

/* Collapsible Panel */
.faq-answer-pane {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-answer-content {
  padding: 0 30px 24px;
}

.faq-answer-content p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* Responsive FAQ */
@media (max-width: 768px) {
  .faq-question-btn {
    padding: 20px;
    font-size: 16px;
  }

  .faq-answer-content {
    padding: 0 20px 20px;
  }
}