.page-index-app-features {
  /* Ensures content starts below the fixed header */
  padding-top: var(--header-offset, 120px);
  background-color: #FFFFFF; /* Matches the background color requirement */
  color: #000000; /* Dark text on light background for contrast */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-index-app-features__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-index-app-features__hero-section {
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-index-app-features__hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-index-app-features__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
  font-weight: bold;
  line-height: 1.2;
}

.page-index-app-features__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-index-app-features__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-index-app-features__hero-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-index-app-features__hero-button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-index-app-features__hero-button--register:hover {
  background-color: #e0e0e0;
  color: #000000;
}

.page-index-app-features__hero-button--download {
  background-color: #FCBC45; /* Login color for download button */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-index-app-features__hero-button--download:hover {
  background-color: #e6a73a;
  color: #000000;
}

.page-index-app-features__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-index-app-features__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image covers the area without distortion */
  opacity: 0.3; /* Subtle background effect */
  display: block;
}

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

.page-index-app-features__section--overview {
  background-color: #f8f8f8;
}

.page-index-app-features__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-index-app-features__section-paragraph {
  font-size: 1.1em;
  color: #333333;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 20px auto;
}

.page-index-app-features__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-app-features__feature-card {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index-app-features__card-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-app-features__card-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index-app-features__feature-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-index-app-features__card-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
  margin-top: auto; /* Pushes button to the bottom of the card */
}

.page-index-app-features__card-button:hover {
  background-color: #e6a73a;
}

.page-index-app-features__subsection-title {
  font-size: 1.8em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
}

.page-index-app-features__subsection-paragraph {
  font-size: 1.05em;
  color: #333333;
  max-width: 900px;
  margin: 0 auto 20px auto;
  text-align: left;
}

.page-index-app-features__section--download-cta {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 0;
}

.page-index-app-features__download-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.page-index-app-features__download-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: left;
}

.page-index-app-features__download-content .page-index-app-features__section-title {
  color: #FFFFFF;
  text-align: left;
  margin-bottom: 20px;
}

.page-index-app-features__download-content .page-index-app-features__section-paragraph {
  color: #f0f0f0;
  text-align: left;
  margin-bottom: 30px;
}

.page-index-app-features__download-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
}

.page-index-app-features__download-button:hover {
  background-color: #e6a73a;
}

.page-index-app-features__download-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  text-align: center;
}

.page-index-app-features__download-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-index-app-features__section--faq {
  background-color: #FFFFFF;
}

.page-index-app-features__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  text-align: left;
}

.page-index-app-features__faq-question {
  font-size: 1.3em;
  color: #000000;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-index-app-features__faq-answer {
  font-size: 1em;
  color: #444444;
}

.page-index-app-features__faq-more-info {
  text-align: center;
  margin-top: 30px;
  font-size: 1.1em;
}

.page-index-app-features__inline-link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-index-app-features__inline-link:hover {
  color: #e6a73a;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-index-app-features__hero-title {
    font-size: 2.5em;
  }

  .page-index-app-features__hero-description {
    font-size: 1.1em;
  }

  .page-index-app-features__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-app-features__hero-button {
    width: 80%;
    margin: 0 auto;
  }

  .page-index-app-features__section-title {
    font-size: 2em;
  }

  .page-index-app-features__section-paragraph {
    font-size: 1em;
  }

  .page-index-app-features__features-grid {
    grid-template-columns: 1fr;
  }

  .page-index-app-features__subsection-title {
    font-size: 1.5em;
  }

  .page-index-app-features__download-flex {
    flex-direction: column;
  }

  .page-index-app-features__download-content,
  .page-index-app-features__download-image {
    max-width: 100%;
    text-align: center;
  }

  .page-index-app-features__download-content .page-index-app-features__section-title,
  .page-index-app-features__download-content .page-index-app-features__section-paragraph {
    text-align: center;
  }

  .page-index-app-features__download-button {
    width: 80%;
    margin: 0 auto;
  }

  /* Mobile specific image sizing for content area */
  .page-index-app-features img {
    max-width: 100%;
    height: auto;
    /* Ensure content area images are not smaller than 200px, but also responsive */
    min-width: 200px; 
    min-height: 200px;
  }
}

/* Ensure all content area images maintain minimum size on desktop and are responsive on mobile */
.page-index-app-features img {
    min-width: 200px;
    min-height: 200px;
}

/* Specific rule to ensure images inside .page-index-app-features are never smaller than 200px in width/height, regardless of specific class, except for shared components like logos in header/footer. */
/* This applies to all img elements within the main content area of this page. */
.page-index-app-features img:not([class*="shared-"]) {
  min-width: 200px;
  min-height: 200px;
  width: auto; /* allow auto width if max-width is 100% to scale down */
  height: auto; /* allow auto height if max-width is 100% to scale down */
}

/* Override for responsive images within the content area on mobile, ensuring they don't overflow */
@media (max-width: 768px) {
  .page-index-app-features img:not([class*="shared-"]) {
    max-width: 100%;
    height: auto;
  }
}