/* style/faq.css */
.page-faq {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

.page-faq__hero-section {
  position: relative;
  width: 100%;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

.page-faq__hero-image-container {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px; /* Space between image and text */
  box-sizing: border-box;
}

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

.page-faq__hero-content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.page-faq__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-faq__intro-text {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__highlight {
  color: #F2C14E; /* Gold */
  font-weight: bold;
}

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

.page-faq__btn-primary,
.page-faq__btn-secondary,
.page-faq__btn-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-faq__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-faq__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-faq__btn-secondary {
  background-color: #11271B; /* Card BG */
  color: #2AD16F; /* A lighter shade of primary for contrast */
  border: 2px solid #2E7A4E; /* Border */
}

.page-faq__btn-secondary:hover {
  background-color: #2E7A4E; /* Border */
  color: #F2FFF6; /* Text Main */
}

.page-faq__btn-link {
  color: #57E38D; /* Glow */
  text-decoration: underline;
  padding: 0;
  background: none;
  border: none;
}

.page-faq__btn-link:hover {
  color: #F2C14E; /* Gold */
}

.page-faq__text-link {
  color: #57E38D; /* Glow */
  text-decoration: underline;
}

.page-faq__text-link:hover {
  color: #F2C14E; /* Gold */
}

.page-faq__faq-section {
  padding: 60px 20px;
  background-color: #08160F; /* Background */
  box-sizing: border-box;
}

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

.page-faq__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-faq__faq-item {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid #2E7A4E; /* Border */
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.15rem;
  color: #F2FFF6; /* Text Main */
  transition: background-color 0.3s ease;
}

.page-faq__faq-item[open] .page-faq__faq-question {
  background-color: #0A4B2C; /* Deep Green */
}

.page-faq__faq-question:hover {
  background-color: #0A4B2C; /* Deep Green */
}

.page-faq__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow */
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
  content: '−';
}

.page-faq__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-faq__faq-item[open] .page-faq__faq-answer {
  max-height: 2000px; /* Sufficiently large to show content */
  overflow: visible;
}

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

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

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

.page-faq__faq-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-faq__app-download-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.page-faq__final-cta-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #11271B; /* Card BG */
  box-sizing: border-box;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-faq__hero-section {
    padding: 40px 15px;
  }
  .page-faq__faq-section,
  .page-faq__final-cta-section {
    padding: 40px 15px;
  }
  .page-faq__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-faq__section-title {
    font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  }
  .page-faq__faq-question {
    font-size: 1.05rem;
    padding: 18px 20px;
  }
  .page-faq__faq-answer {
    padding: 0 20px 18px;
  }
}

@media (max-width: 768px) {
  .page-faq {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-faq__hero-section {
    padding: 30px 15px;
  }
  .page-faq__hero-image-container {
    margin-bottom: 20px;
  }
  .page-faq__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-faq__intro-text {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-faq__btn-primary,
  .page-faq__btn-secondary,
  .page-faq__btn-link {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-faq__faq-section,
  .page-faq__final-cta-section {
    padding: 30px 15px;
  }
  .page-faq__section-title {
    font-size: clamp(1.5rem, 5.5vw, 2rem);
    margin-bottom: 30px;
  }
  .page-faq__faq-item {
    margin-bottom: 15px;
  }
  .page-faq__faq-question {
    font-size: 1rem;
    padding: 15px 18px;
  }
  .page-faq__faq-toggle {
    font-size: 1.5rem;
  }
  .page-faq__faq-answer {
    padding: 0 18px 15px;
  }
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-faq__container,
  .page-faq__hero-section,
  .page-faq__faq-section,
  .page-faq__final-cta-section,
  .page-faq__hero-image-container,
  .page-faq__app-download-links {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-faq__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
  .page-faq__app-download-links {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-faq__main-title {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
  }
  .page-faq__section-title {
    font-size: clamp(1.3rem, 6.5vw, 1.8rem);
  }
  .page-faq__faq-question {
    font-size: 0.95rem;
    padding: 12px 15px;
  }
  .page-faq__faq-answer {
    font-size: 0.9rem;
    padding: 0 15px 12px;
  }
}