/* ==========================================================================
   FAQS ACCORDION & SITE FOOTER STYLESHEET
   100% Offline | Zero External Dependencies
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. FAQ Section Container
   -------------------------------------------------------------------------- */
.faq-section {
  width: 100%;
  background-color: #ffffff;
  padding: 80px 0 90px;
}

.faq-container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px;
}

.faq-title {
  text-align: center;
  font-size: 2.25rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
  margin: 0 0 48px 0;
}

/* --------------------------------------------------------------------------
   2. Accordion Container & Items
   -------------------------------------------------------------------------- */
.faq-accordion {
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.faq-item {
  border-bottom: 1px solid #e5e7eb;
  transition: background-color 0.25s ease;
}

.faq-item:last-child {
  border-bottom: none;
}

/* Active / Open state styling matching Nutanix screenshot */
.faq-item.active {
  background-color: #f7f5ff;
}

.faq-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: color 0.2s ease;
  user-select: none;
}

.faq-question {
  font-size: 1.12rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.45;
  padding-right: 24px;
  transition: color 0.2s ease;
}

.faq-header:hover .faq-question {
  color: #6a32f4;
}

.faq-icon {
  font-size: 1.75rem;
  font-weight: 400;
  color: #6a32f4;
  line-height: 1;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item:not(.active) .faq-icon {
  color: #111827;
}

/* --------------------------------------------------------------------------
   3. Accordion Content Body
   -------------------------------------------------------------------------- */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 32px;
}

.faq-item.active .faq-content {
  max-height: 300px;
  padding-bottom: 28px;
  border-top: 1.5px solid #8247f7;
  padding-top: 18px;
}

.faq-answer {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #374151;
  margin: 0;
}

/* --------------------------------------------------------------------------
   4. Footer Legal Disclaimer
   -------------------------------------------------------------------------- */
.site-footer {
  width: 100%;
  background-color: #ffffff;
  border-top: 1px solid #f1f5f9;
  padding: 50px 0 70px;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.footer-legal-text {
  font-size: 0.82rem;
  line-height: 1.65;
  color: #64748b;
  margin: 0 0 18px 0;
}

.footer-legal-text:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   5. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .faq-section {
    padding: 60px 0 70px;
  }

  .faq-title {
    font-size: 1.85rem;
    margin-bottom: 36px;
  }

  .faq-header {
    padding: 20px 20px;
  }

  .faq-question {
    font-size: 1.02rem;
  }

  .faq-content {
    padding: 0 20px;
  }

  .faq-item.active .faq-content {
    padding-bottom: 22px;
    padding-top: 14px;
  }

  .site-footer {
    padding: 40px 0 50px;
  }

  .footer-container {
    padding: 0 20px;
  }

  .footer-legal-text {
    font-size: 0.78rem;
  }
}
