.page-faq {
  color: #ffffff; /* Light text for dark body background */
  padding-top: var(--header-offset, 120px);
}

.page-faq__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #0d0d0d; /* Slightly lighter than body for contrast */
  position: relative;
  overflow: hidden;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3;
}

.page-faq__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  border-radius: 12px;
}

.page-faq__hero-title {
  font-size: 3.2em;
  color: #FFD700; /* Gold accent for primary title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-faq__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-faq__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #3F0071; /* Dark purple text on gold */
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-faq__hero-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-faq__accordion-section {
  padding: 80px 20px;
  background-color: #000000;
}

.page-faq__container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-faq__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
}

.page-faq__section-subtitle {
  font-size: 1.2em;
  color: #cccccc;
  text-align: center;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__accordion-item {
  background-color: rgba(63, 0, 113, 0.7); /* Dark purple with transparency */
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #FFD700;
}

.page-faq__accordion-header {
  font-size: 1.6em;
  color: #FFD700;
  padding: 25px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #3F0071;
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
  transition: background-color 0.3s ease;
}

.page-faq__accordion-header:hover {
  background-color: #5a00a1;
}

.page-faq__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-faq__accordion-item.active .page-faq__accordion-header::after {
  content: '-';
  transform: rotate(180deg);
}

.page-faq__accordion-content {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-faq__accordion-item.active .page-faq__accordion-content {
  max-height: 500px; /* Adjust based on expected content length */
  padding: 20px 30px 30px;
}

.page-faq__accordion-content p {
  font-size: 1.1em;
  line-height: 1.8;
  color: #f0f0f0;
}

.page-faq__link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-faq__link:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-faq__button {
  display: inline-block;
  background-color: #3F0071;
  color: #FFD700;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #FFD700;
  cursor: pointer;
}

.page-faq__button:hover {
  background-color: #5a00a1;
  transform: translateY(-2px);
}

.page-faq__button--download {
  margin-top: 20px;
  background-color: #FFD700;
  color: #3F0071;
}

.page-faq__button--download:hover {
  background-color: #e6c200;
  color: #3F0071;
}

.page-faq__cta-section {
  background-color: #1a1a1a;
  padding: 80px 20px;
}

.page-faq__cta-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  background-color: #3F0071;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-faq__cta-image {
  flex-shrink: 0;
  width: 400px;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  border: 3px solid #FFD700;
}

.page-faq__cta-text {
  flex-grow: 1;
}

.page-faq__cta-title {
  font-size: 2.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-faq__cta-description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.7;
}

.page-faq__cta-buttons {
  display: flex;
  gap: 20px;
}

.page-faq__button--primary {
  background-color: #FFD700;
  color: #3F0071;
  border: none;
}

.page-faq__button--primary:hover {
  background-color: #e6c200;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-faq__hero-title {
    font-size: 2.8em;
  }
  .page-faq__hero-description {
    font-size: 1.1em;
  }
  .page-faq__section-title {
    font-size: 2.4em;
  }
  .page-faq__accordion-header {
    font-size: 1.4em;
    padding: 20px 25px;
  }
  .page-faq__accordion-content {
    padding: 0 25px;
  }
  .page-faq__accordion-item.active .page-faq__accordion-content {
    padding: 15px 25px 25px;
  }
  .page-faq__cta-title {
    font-size: 2em;
  }
  .page-faq__cta-image {
    width: 300px;
    height: 225px;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 40px 15px;
  }
  .page-faq__hero-title {
    font-size: 2.2em;
  }
  .page-faq__hero-description {
    font-size: 1em;
  }
  .page-faq__hero-button {
    padding: 14px 28px;
    font-size: 1.1em;
  }
  .page-faq__accordion-section {
    padding: 60px 15px;
  }
  .page-faq__section-title {
    font-size: 2em;
  }
  .page-faq__section-subtitle {
    font-size: 1em;
  }
  .page-faq__accordion-header {
    font-size: 1.2em;
    padding: 18px 20px;
  }
  .page-faq__accordion-content p {
    font-size: 1em;
  }
  .page-faq__cta-content {
    flex-direction: column;
    text-align: center;
    padding: 30px;
  }
  .page-faq__cta-image {
    width: 100%;
    height: auto;
    max-width: 400px;
    margin-bottom: 20px;
  }
  .page-faq__cta-title {
    font-size: 1.8em;
  }
  .page-faq__cta-description {
    font-size: 0.95em;
  }
  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-faq__button {
    width: 100%;
  }

  /* Mobile content area image constraints */
  .page-faq img {
    max-width: 100%;
    height: auto;
  }
  .page-faq__cta-section img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-faq__hero-title {
    font-size: 1.8em;
  }
  .page-faq__hero-description {
    font-size: 0.9em;
  }
  .page-faq__hero-button {
    padding: 12px 24px;
    font-size: 1em;
  }
  .page-faq__section-title {
    font-size: 1.8em;
  }
  .page-faq__section-subtitle {
    font-size: 0.9em;
  }
  .page-faq__accordion-header {
    font-size: 1.1em;
    padding: 15px 18px;
  }
  .page-faq__accordion-content p {
    font-size: 0.95em;
  }
  .page-faq__cta-title {
    font-size: 1.6em;
  }
  .page-faq__cta-description {
    font-size: 0.9em;
  }
}