:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --card-bg: #17191F;
  --body-bg: #0D0E12;
  --text-main: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange: #D96800;
}

.page-faq {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Light text on dark body background */
  background-color: var(--body-bg);
}

.page-faq__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, main offset from body */
  background: linear-gradient(180deg, var(--body-bg) 0%, #1a1b20 100%);
  overflow: hidden;
}

.page-faq__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-faq__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-faq__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-faq__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-faq__description {
  font-size: 18px;
  color: var(--text-main);
  max-width: 800px;
  margin: 0 auto 30px auto;
  opacity: 0.9;
}

.page-faq__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange) 100%);
  color: var(--text-main);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__cta-button:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #D96800 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
}

.page-faq__cta-button--secondary {
  background: var(--card-bg);
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.page-faq__cta-button--secondary:hover {
  background: var(--primary-color);
  color: var(--text-main);
  border-color: var(--secondary-color);
}

.page-faq__content-section {
  padding: 80px 20px;
  background-color: var(--body-bg);
}

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

.page-faq__section-title {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.page-faq__faq-list {
  margin-top: 30px;
}

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

details.page-faq__faq-item[open] {
  box-shadow: 0 6px 15px rgba(255, 140, 26, 0.2);
  border-color: var(--primary-color);
}

details.page-faq__faq-item summary.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  color: var(--text-main);
}

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

details.page-faq__faq-item summary.page-faq__faq-question:hover {
  background-color: rgba(255, 140, 26, 0.1);
  color: var(--secondary-color);
}

.page-faq__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: inherit;
}

.page-faq__faq-toggle {
  font-size: 26px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  transition: transform 0.3s ease, color 0.3s ease;
}

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

details.page-faq__faq-item .page-faq__faq-answer {
  padding: 0 25px 20px;
  background: rgba(23, 25, 31, 0.8);
  border-top: 1px solid rgba(168, 79, 12, 0.5);
  border-radius: 0 0 8px 8px;
  color: var(--text-main);
  font-size: 16px;
}

.page-faq__faq-answer p {
  margin: 0;
  padding-top: 15px;
  color: var(--text-main);
  opacity: 0.85;
}

.page-faq__cta-section {
  background: linear-gradient(90deg, #0D0E12 0%, #1a1b20 100%);
  padding: 80px 20px;
  text-align: center;
}

.page-faq__cta-title {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-faq__cta-description {
  font-size: 18px;
  color: var(--text-main);
  max-width: 700px;
  margin: 0 auto 40px auto;
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-faq__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-faq__hero-image {
    margin-bottom: 20px;
    border-radius: 8px;
  }

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

  .page-faq__main-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 15px;
  }

  .page-faq__description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-faq__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: auto;
    margin-right: auto;
  }

  .page-faq__content-section {
    padding: 60px 15px;
  }

  .page-faq__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-faq__section-title {
    font-size: clamp(22px, 6vw, 32px);
    margin-bottom: 30px;
  }

  details.page-faq__faq-item summary.page-faq__faq-question {
    padding: 15px 18px;
  }

  .page-faq__faq-qtext {
    font-size: 16px;
  }

  .page-faq__faq-toggle {
    font-size: 22px;
    width: 25px;
  }

  details.page-faq__faq-item .page-faq__faq-answer {
    padding: 0 18px 15px;
    font-size: 15px;
  }

  .page-faq__cta-section {
    padding: 60px 15px;
  }

  .page-faq__cta-title {
    font-size: clamp(22px, 6vw, 36px);
  }

  .page-faq__cta-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  /* General image responsiveness */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-faq__section, .page-faq__card, .page-faq__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}