.page-faq {
  color: #ffffff; /* Body background is #0a0a0a (dark), so main text is light */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

.page-faq__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  overflow: hidden;
  background-color: #0a0a0a; /* Ensure dark background */
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 30px;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.page-faq__hero-content {
  max-width: 900px;
  padding: 0 20px;
  z-index: 1;
}

.page-faq__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 700;
  color: #2F6BFF; /* Brand color for H1 */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-faq__hero-description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-faq__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: 700;
  color: #2F6BFF;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

.page-faq__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #0a0a0a; /* Consistent dark background */
}

.page-faq__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-faq__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark background */
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.page-faq__faq-item[open] {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #2F6BFF;
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #ffffff; /* Light text on dark background */
  cursor: pointer;
  list-style: none; /* For details/summary */
  -webkit-touch-callout: none; /* Disable callout on iOS */
  -webkit-user-select: none; /* Disable text selection */
  -khtml-user-select: none; /* Disable text selection */
  -moz-user-select: none; /* Disable text selection */
  -ms-user-select: none; /* Disable text selection */
  user-select: none; /* Disable text selection */
}

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

.page-faq__faq-qtext {
  flex-grow: 1;
  padding-right: 15px;
}

.page-faq__faq-toggle {
  font-size: 1.5em;
  font-weight: 300;
  color: #6FA3FF;
  transition: transform 0.3s ease;
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
  transform: rotate(45deg); /* Rotate '+' to 'x' or similar for open state */
}

.page-faq__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #f0f0f0; /* Light text on dark background */
}

.page-faq__faq-answer p {
  margin-bottom: 15px;
}

.page-faq__faq-answer p:last-child {
  margin-bottom: 0;
}

.page-faq__answer-image {
  margin-bottom: 20px;
  border-radius: 8px;
  width: 100%;
  height: auto;
  display: block;
}

.page-faq__cta-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #0a0a0a; /* Consistent dark background */
}

.page-faq__cta-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: 700;
  color: #2F6BFF;
  margin-bottom: 20px;
}

.page-faq__cta-description {
  font-size: 1.1em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-faq__cta-buttons,
.page-faq__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  margin-top: 20px;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.05em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-faq__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Custom button color */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-faq__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(47, 107, 255, 0.4);
}

.page-faq__btn-secondary {
  background-color: transparent;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
}

.page-faq__btn-secondary:hover {
  background-color: #2F6BFF;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(47, 107, 255, 0.2);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-faq__hero-content {
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 10px 15px 40px;
  }

  .page-faq__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-faq__hero-description {
    font-size: 1em;
  }

  .page-faq__section-title,
  .page-faq__cta-title {
    font-size: clamp(1.5em, 6vw, 2em);
  }

  .page-faq__content-area,
  .page-faq__cta-section {
    padding: 30px 15px;
  }

  .page-faq__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-faq__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95em;
  }

  .page-faq__cta-buttons,
  .page-faq__button-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  /* Mobile specific overrides for images/videos/containers */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-faq video,
  .page-faq__video { /* Including video rules for completeness, even if no video in this page */
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-faq__section,
  .page-faq__card,
  .page-faq__container,
  .page-faq__hero-section,
  .page-faq__content-area,
  .page-faq__cta-section,
  .page-faq__video-section, /* Including video rules for completeness */
  .page-faq__video-container,
  .page-faq__video-wrapper,
  .page-faq__cta-buttons,
  .page-faq__button-group,
  .page-faq__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent content overflow */
  }
  
  .page-faq__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  /* Ensure button text wraps */
  .page-faq__btn-primary,
  .page-faq__btn-secondary,
  .page-faq a[class*="button"],
  .page-faq a[class*="btn"] {
    white-space: normal !important;
    word-wrap: break-word !important;
  }
}