.page-faq {
  --primary-color: #FFD700;
  --secondary-color: #1A1A1A;
  --text-light: #FFFFFF;
  --text-dark: #1A1A1A;
  --background-light: #F8F8F8;
  --background-dark: #2C2C2C;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
}

.page-faq-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-faq-hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--text-light);
}

.page-faq-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--text-light);
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-faq-description-text {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #E0E0E0;
}

.page-faq-cta-button, .page-faq-main-cta-button {
  display: inline-block;
  padding: 15px 40px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-faq-cta-button:hover, .page-faq-main-cta-button:hover {
  background-color: #FFC107;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-faq-about-platform, .page-faq-content-section, .page-faq-cta-section {
  padding: 60px 0;
  background-color: var(--background-light);
}

.page-faq-section-title {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-faq-section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.page-faq-about-platform p {
  font-size: 1.05em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-faq-image-wrapper {
  margin: 30px auto;
  text-align: center;
}

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

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

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #FFFFFF;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #F5F5F5;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--secondary-color);
}

.faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background-color: #F9F9F9;
  color: var(--text-dark);
}

.faq-item.active .faq-answer {
  max-height: 1000px; /* Sufficient height for content */
  padding: 20px 25px;
  border-top: 1px solid #E0E0E0;
}

.faq-answer p {
  margin-bottom: 15px;
  font-size: 1em;
  text-align: justify;
}

.faq-answer ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 15px;
}

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

.page-faq-inner-cta {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: bold;
  margin-top: 10px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-faq-inner-cta:hover {
  background-color: #FFC107;
  transform: translateY(-1px);
}

.page-faq-cta-section {
  background-color: var(--secondary-color);
  color: var(--text-light);
  text-align: center;
  padding: 80px 0;
}

.page-faq-cta-section .page-faq-section-title {
  color: var(--primary-color);
}

.page-faq-cta-section .page-faq-section-title::after {
  background-color: var(--text-light);
}

.page-faq-cta-section .page-faq-description-text {
  color: #E0E0E0;
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-faq-title {
    font-size: 2.8em;
  }
  .page-faq-section-title {
    font-size: 2em;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-faq-hero-section, .page-faq-about-platform, .page-faq-content-section, .page-faq-cta-section {
    padding: 40px 0;
  }
  .page-faq-title {
    font-size: 2.2em;
  }
  .page-faq-section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-faq-description-text {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-faq-cta-button, .page-faq-main-cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 1.2em;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page-faq-inner-cta {
    padding: 8px 15px;
    font-size: 0.85em;
  }
}

@media (max-width: 480px) {
  .page-faq-title {
    font-size: 1.8em;
  }
  .page-faq-section-title {
    font-size: 1.5em;
  }
  .page-faq-cta-button, .page-faq-main-cta-button {
    width: 90%;
    box-sizing: border-box;
  }
  .faq-question h3 {
    font-size: 0.95em;
  }
  .faq-toggle {
    font-size: 1em;
  }
  .faq-answer ul {
    margin-left: 15px;
  }
}