.page-app-advantages {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #ffffff;
}

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

.page-app-advantages__section {
  padding: 60px 0;
}

.page-app-advantages__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0; /* Primary color for titles */
}

.page-app-advantages__section-title--light {
  color: #ffffff;
}

.page-app-advantages__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #555555;
}

.page-app-advantages__section-description--light {
  color: #f0f0f0;
}

/* Hero Section */
.page-app-advantages__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, body handles header offset */
  background-color: #f5f5f5; /* Light background for hero section */
}

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

.page-app-advantages__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-app-advantages__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-app-advantages__main-title {
  font-size: clamp(28px, 4vw, 48px); /* Responsive font size */
  font-weight: 800;
  line-height: 1.2;
  color: #26A9E0;
  margin-bottom: 20px;
}

.page-app-advantages__main-description {
  font-size: 20px;
  color: #555555;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-app-advantages__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #26A9E0; /* Primary color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-app-advantages__cta-button:hover {
  background: #1e87c2; /* Slightly darker primary on hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-app-advantages__cta-button--dark-bg {
  background: #EA7C07; /* Login color for CTA on dark background */
}

.page-app-advantages__cta-button--dark-bg:hover {
  background: #c76a06;
}

/* Feature Section */
.page-app-advantages__feature-section {
  background-color: #ffffff;
}

.page-app-advantages__feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  gap: 40px;
}

.page-app-advantages__feature-item:last-child {
  margin-bottom: 0;
}

.page-app-advantages__feature-item--reverse {
  flex-direction: row-reverse;
}

.page-app-advantages__feature-content {
  flex: 1;
}

.page-app-advantages__feature-image {
  flex: 1;
  min-width: 300px;
}

.page-app-advantages__feature-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-app-advantages__feature-title {
  font-size: 28px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-app-advantages__feature-text {
  font-size: 17px;
  color: #444444;
  line-height: 1.7;
}

/* FAQ Section */
.page-app-advantages__faq-section {
  background-color: #26A9E0; /* Primary color as background */
  color: #ffffff;
}

.page-app-advantages__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

details.page-app-advantages__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}
details.page-app-advantages__faq-item summary.page-app-advantages__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-app-advantages__faq-item summary.page-app-advantages__faq-question::-webkit-details-marker {
  display: none;
}
details.page-app-advantages__faq-item summary.page-app-advantages__faq-question:hover {
  background: rgba(255, 255, 255, 0.2);
}
.page-app-advantages__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #ffffff;
}
.page-app-advantages__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-app-advantages__faq-item .page-app-advantages__faq-answer {
  padding: 0 20px 20px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0 0 5px 5px;
}
.page-app-advantages__faq-answer p {
  color: #f0f0f0;
  font-size: 16px;
}

/* CTA Bottom Section */
.page-app-advantages__cta-bottom-section .page-app-advantages__container {
  background-color: #26A9E0;
  border-radius: 10px;
  padding: 50px 30px;
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-app-advantages__feature-item {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
  }
  .page-app-advantages__feature-item--reverse {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-app-advantages__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-app-advantages__main-title {
    font-size: 32px;
  }

  .page-app-advantages__main-description {
    font-size: 16px;
  }

  .page-app-advantages__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;
  }

  .page-app-advantages__section {
    padding: 40px 0;
  }

  .page-app-advantages__section-title {
    font-size: 28px;
  }

  .page-app-advantages__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-app-advantages__feature-item {
    margin-bottom: 40px;
  }

  .page-app-advantages__feature-title {
    font-size: 24px;
  }

  .page-app-advantages__feature-text {
    font-size: 15px;
  }
  
  details.page-app-advantages__faq-item summary.page-app-advantages__faq-question { padding: 15px; }
  .page-app-advantages__faq-qtext { font-size: 15px; }
  .page-app-advantages__faq-answer p { font-size: 14px; }

  .page-app-advantages__cta-bottom-section .page-app-advantages__container {
    padding: 40px 20px;
  }

  /* Mobile image responsiveness */
  .page-app-advantages img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-app-advantages__section,
  .page-app-advantages__card,
  .page-app-advantages__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-app-advantages__cta-buttons,
  .page-app-advantages__button-group,
  .page-app-advantages__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-app-advantages__cta-buttons {
    display: flex;
    flex-direction: column; 
  }
}