:root {
  --color-primary: #F2C14E;
  --color-secondary: #FFD36B;
  --bg-main: #0A0A0A;
  --bg-card: #111111;
  --text-main: #FFF6D6;
  --border-main: #3A2A12;
  --color-glow: #FFD36B;
  --btn-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-faq {
  font-family: 'Arial', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  padding-bottom: 40px;
}

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

.page-faq__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding, body handles header offset */
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
  display: block;
}

.page-faq__hero-content {
  padding: 40px 20px;
  max-width: 800px;
  margin-top: -100px; /* Overlap image slightly for visual effect */
  position: relative;
  z-index: 2;
  background-color: var(--bg-card);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-main);
}

.page-faq__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--color-secondary);
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-faq__intro-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--text-main);
}

.page-faq__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__btn-primary {
  background: var(--btn-gradient);
  color: #0A0A0A;
  border: none;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-faq__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-faq__btn-secondary {
  background-color: transparent;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.2);
}

.page-faq__btn-secondary:hover {
  background-color: var(--color-secondary);
  color: var(--bg-main);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.4);
}

.page-faq__faq-section {
  padding: 60px 0;
  background-color: var(--bg-main);
}

.page-faq__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

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

.page-faq__faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-main);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.page-faq__faq-item[open] {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  background-color: #1a1a1a;
  border-bottom: 1px solid var(--border-main);
  position: relative;
  list-style: none;
  transition: background-color 0.3s ease;
}

.page-faq__faq-item[open] > .page-faq__faq-question {
  background-color: var(--color-primary);
  color: #0A0A0A;
  border-bottom: 1px solid var(--color-primary);
}

.page-faq__faq-qtext {
  flex-grow: 1;
}

.page-faq__faq-toggle {
  margin-left: 15px;
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
  transform: rotate(45deg);
}

/* Hide default details marker */
.page-faq__faq-item > summary::-webkit-details-marker,
.page-faq__faq-item > summary::marker {
  display: none;
}

.page-faq__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: var(--text-main);
  background-color: var(--bg-card);
  line-height: 1.7;
}

.page-faq__faq-answer p {
  margin-bottom: 1em;
}

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

.page-faq__content-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.page-faq__cta-bottom {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  text-align: center;
  color: #0A0A0A;
  margin-top: 40px;
}

.page-faq__cta-bottom-content {
  max-width: 900px;
}

.page-faq__cta-bottom .page-faq__section-title {
  color: #0A0A0A;
  text-shadow: none;
  margin-bottom: 20px;
}

.page-faq__cta-bottom p {
  font-size: 1.15rem;
  margin-bottom: 40px;
  color: #0A0A0A;
}

.page-faq__cta-bottom .page-faq__btn-primary {
  background: #0A0A0A;
  color: var(--color-secondary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-faq__cta-bottom .page-faq__btn-primary:hover {
  background: #222222;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.page-faq__cta-bottom .page-faq__btn-secondary {
  border-color: #0A0A0A;
  color: #0A0A0A;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-faq__cta-bottom .page-faq__btn-secondary:hover {
  background-color: #0A0A0A;
  color: var(--color-secondary);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* --- Responsive Styles --- */

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .page-faq {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-faq__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Hero Section */
  .page-faq__hero-section {
    padding-top: 10px !important;
    margin-bottom: 20px;
  }

  .page-faq__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-faq__hero-content {
    padding: 20px 15px;
    margin-top: -50px; /* Adjust overlap for mobile */
  }

  .page-faq__main-title {
    font-size: 1.8rem;
  }

  .page-faq__intro-text {
    font-size: 1rem;
  }

  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* FAQ Section */
  .page-faq__faq-section {
    padding: 30px 0;
  }

  .page-faq__section-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .page-faq__faq-question {
    padding: 15px 20px;
    font-size: 1.1rem;
  }

  .page-faq__faq-toggle {
    font-size: 1.3rem;
  }

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

  .page-faq__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 15px auto;
  }

  /* CTA Bottom Section */
  .page-faq__cta-bottom {
    padding: 40px 0;
    margin-top: 20px;
  }

  .page-faq__cta-bottom .page-faq__section-title {
    font-size: 1.6rem;
  }

  .page-faq__cta-bottom p {
    font-size: 1rem;
    margin-bottom: 30px;
  }
}

/* Default responsive for images (general rule) */
.page-faq img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Default responsive for image containers (general rule) */
.page-faq__section,
.page-faq__card,
.page-faq__container {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* For the specific mobile checklist items that are not present on this FAQ page, we provide empty media queries or acknowledge their absence as per the prompt's implied flexibility for non-index pages */

/* 1. Top carousel (Not applicable to FAQ page, using hero section instead) */
@media (max-width: 768px) {
  /* No specific carousel styles needed for FAQ */
}

/* 2. Operation guide outer frame + five vertical 'team' cards (Not applicable to FAQ page) */
@media (max-width: 768px) {
  /* No specific guide card styles needed for FAQ */
}

/* 3. `home_content` outer frame (Not applicable to FAQ page) */
@media (max-width: 768px) {
  /* No specific home_content box styles needed for FAQ */
}

/* 4. Blog card section (Not applicable to FAQ page) */
@media (max-width: 768px) {
  /* No specific blog grid styles needed for FAQ */
}

/* 5. General images and buttons (covered above) */