/* style/faq.css */

/* Base styles for the page content, ensuring contrast with body background */
.page-faq {
  color: #ffffff; /* Light text for dark body background */
  background-color: #121212; /* Explicitly set for content area for clarity, though body sets it */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-faq__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-faq__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #26A9E0, #1a7fb8); /* Brand color gradient */
  position: relative;
  overflow: hidden;
}

.page-faq__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-bottom: 40px;
}

.page-faq__hero-title {
  font-size: 3.2em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-faq__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-faq__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Subtle background image */
  filter: none; /* No filter for image color */
}

/* Call to Action Button */
.page-faq__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-faq__btn-primary {
  background-color: #EA7C07; /* Login color for primary CTA, as it's a download/register link */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-faq__btn-primary:hover {
  background-color: #d16b05;
  transform: translateY(-2px);
}

.page-faq__btn-secondary {
  background-color: #26A9E0; /* Brand color for secondary CTA */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-faq__btn-secondary:hover {
  background-color: #1a7fb8;
  transform: translateY(-2px);
}

/* Content Section */
.page-faq__content-section {
  padding: 60px 0;
  background-color: #1e1e1e; /* Slightly lighter dark background for content */
  color: #ffffff;
}

.page-faq__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 50px;
}

/* FAQ List */
.page-faq__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-faq__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards on dark bg */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-faq__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome */
}

.page-faq__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-faq__faq-qtext {
  flex-grow: 1;
  /* pointer-events: none; This is incorrect for details/summary, removing as per common rules */
}

.page-faq__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
  /* pointer-events: none; This is incorrect for details/summary, removing as per common rules */
}

.page-faq__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #e0e0e0;
  line-height: 1.7;
}

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

.page-faq__faq-answer ol,
.page-faq__faq-answer ul {
  margin-bottom: 15px;
  padding-left: 25px;
}

.page-faq__faq-answer li {
  margin-bottom: 8px;
}

.page-faq__faq-answer strong {
  color: #26A9E0;
}