/* Development Channels — FAQ Section */

.faq-section {
  position: relative;
  padding: 4rem 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
  overflow: hidden;
}

.faq-section::before {
  content: "";
  position: absolute;
  top: -80px;
  left: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.faq-section::after {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.faq-section .container {
  position: relative;
  z-index: 1;
}

.faq-section__header {
  max-width: 640px;
  margin: 0 auto 2.75rem;
}

.faq-section__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #e63946;
  margin-bottom: 0.65rem;
}

.faq-section__title {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 0.65rem;
}

.faq-section__subtitle {
  font-size: 0.98rem;
  color: #64748b;
  line-height: 1.65;
  margin-bottom: 0;
}

.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  counter-reset: faq-counter;
}

.faq-accordion .accordion-item {
  border: 1px solid #e2e8f0;
  border-radius: 14px !important;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
  border-color: rgba(26, 47, 107, 0.22);
  box-shadow: 0 10px 28px rgba(26, 47, 107, 0.1);
}

.faq-accordion .accordion-header {
  margin-bottom: 0;
}

.faq-accordion .accordion-button {
  position: relative;
  padding: 1.2rem 3.25rem 1.2rem 4.75rem;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.45;
  color: #0f172a;
  background: #fff;
  border: none;
  box-shadow: none !important;
  transition: background 0.25s ease, color 0.25s ease;
}

.faq-accordion .accordion-button::before {
  counter-increment: faq-counter;
  content: counter(faq-counter, decimal-leading-zero);
  position: absolute;
  left: 1.35rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.1rem;
  height: 2.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #1a2f6b;
  background: rgba(26, 47, 107, 0.08);
  border-radius: 9px;
  transition: background 0.25s ease, color 0.25s ease;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: #1a2f6b;
  background: linear-gradient(
    90deg,
    rgba(26, 47, 107, 0.07) 0%,
    rgba(59, 130, 246, 0.04) 100%
  );
}

.faq-accordion .accordion-button:not(.collapsed)::before {
  background: linear-gradient(135deg, #1a2f6b, #3b82f6);
  color: #fff;
}

.faq-accordion .accordion-button::after {
  width: 1rem;
  height: 1rem;
  background-size: 1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a2f6b'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  transition: transform 0.25s ease;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23e63946'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

.faq-accordion .accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.2) !important;
  border-color: transparent;
}

.faq-accordion .accordion-collapse {
  border-top: 1px solid #f1f5f9;
}

.faq-accordion .accordion-body {
  padding: 0.25rem 1.5rem 1.35rem 4.75rem;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.75;
}

.faq-accordion .accordion-body strong {
  color: #1a2f6b;
  font-weight: 600;
}

.faq-accordion .accordion-body a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.faq-accordion .accordion-body a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

@media (max-width: 767px) {
  .faq-section {
    padding: 2.75rem 0;
  }

  .faq-section__header {
    margin-bottom: 2rem;
    text-align: left !important;
  }

  .faq-accordion .accordion-button {
    padding: 1rem 2.75rem 1rem 3.75rem;
    font-size: 0.92rem;
  }

  .faq-accordion .accordion-button::before {
    left: 1rem;
    width: 1.85rem;
    height: 1.85rem;
    font-size: 0.68rem;
  }

  .faq-accordion .accordion-body {
    padding: 0.25rem 1.15rem 1.15rem 3.75rem;
    font-size: 0.9rem;
  }
}
