.page-index-platform-features {
  color: #333333; /* Dark text for default light body background */
}

.page-index-platform-features__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-color: #1A1A1A; /* Dark background for hero text contrast */
  color: #ffffff;
}

.page-index-platform-features__hero-container {
  position: relative;
  max-width: 1920px; /* Max width for content within hero */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.page-index-platform-features__hero-image {
  width: 100%;
  height: auto;
  display: block;
  max-height: 700px; /* Limit hero image height */
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px;
}

.page-index-platform-features__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-index-platform-features__hero-title {
  font-size: 3.2em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFD700;
  line-height: 1.2;
}

.page-index-platform-features__hero-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-index-platform-features__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-index-platform-features__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #FFD700;
  color: #1A1A1A;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-index-platform-features__cta-button:hover {
  background-color: #e5c100;
  transform: translateY(-2px);
}

.page-index-platform-features__cta-button--secondary {
  background-color: #1A1A1A;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-index-platform-features__cta-button--secondary:hover {
  background-color: #333333;
  color: #FFD700;
  transform: translateY(-2px);
}

.page-index-platform-features__section-title {
  font-size: 2.8em;
  color: #1A1A1A;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-index-platform-features__section-intro {
  font-size: 1.1em;
  line-height: 1.7;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #555555;
}

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

.page-index-platform-features__features-overview {
  background-color: #f9f9f9;
  padding: 80px 0;
}

.page-index-platform-features__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-index-platform-features__feature-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index-platform-features__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-index-platform-features__feature-icon {
  width: 100%; /* Ensure images fill card width */
  max-width: 400px; /* Limit max width of card images */
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-index-platform-features__card-title {
  font-size: 1.8em;
  color: #1A1A1A;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-index-platform-features__card-description {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-index-platform-features__card-link {
  display: inline-block;
  margin-top: auto;
  padding: 10px 20px;
  background-color: #FFD700;
  color: #1A1A1A;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.page-index-platform-features__card-link:hover {
  background-color: #e5c100;
}

.page-index-platform-features__how-to-start {
  padding: 80px 0;
  background-color: #1A1A1A;
  color: #ffffff;
}

.page-index-platform-features__how-to-start .page-index-platform-features__section-title {
  color: #FFD700;
}

.page-index-platform-features__how-to-start .page-index-platform-features__section-intro {
  color: #f0f0f0;
}

.page-index-platform-features__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index-platform-features__step-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index-platform-features__step-number {
  font-size: 2.5em;
  font-weight: 700;
  color: #FFD700;
  margin-bottom: 15px;
  background-color: rgba(255, 215, 0, 0.1);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-index-platform-features__step-title {
  font-size: 1.6em;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-index-platform-features__step-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #cccccc;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-index-platform-features__cta-button--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-index-platform-features__why-choose {
  padding: 80px 0;
  background-color: #f0f0f0;
}

.page-index-platform-features__advantages-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-index-platform-features__advantage-item {
  background-color: #ffffff;
  padding: 20px 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
  color: #333333;
  display: flex;
  align-items: center;
  gap: 15px;
}

.page-index-platform-features__advantage-item::before {
  content: '✔';
  color: #FFD700;
  font-size: 1.3em;
  font-weight: bold;
}

.page-index-platform-features__cta-bottom {
  text-align: center;
  margin-top: 60px;
}

.page-index-platform-features__faq-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-index-platform-features__faq-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-index-platform-features__faq-question {
  font-size: 1.5em;
  color: #1A1A1A;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-index-platform-features__faq-answer {
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index-platform-features__hero-title {
    font-size: 2.8em;
  }

  .page-index-platform-features__section-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-index-platform-features__hero-section {
    padding-top: var(--header-offset, 120px);
  }

  .page-index-platform-features__hero-title {
    font-size: 2.2em;
  }

  .page-index-platform-features__hero-description {
    font-size: 1em;
  }

  .page-index-platform-features__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

  .page-index-platform-features__section-intro {
    font-size: 0.95em;
  }

  .page-index-platform-features__feature-grid, 
  .page-index-platform-features__steps-grid, 
  .page-index-platform-features__advantages-list {
    grid-template-columns: 1fr;
  }

  .page-index-platform-features__feature-icon, 
  .page-index-platform-features__feature-card img { /* Selector for images within cards to ensure proper sizing */
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
  }

  .page-index-platform-features__feature-card, 
  .page-index-platform-features__step-card, 
  .page-index-platform-features__advantage-item, 
  .page-index-platform-features__faq-item {
    padding: 20px;
  }

  .page-index-platform-features__card-title {
    font-size: 1.6em;
  }

  .page-index-platform-features__step-title {
    font-size: 1.4em;
  }

  .page-index-platform-features__faq-question {
    font-size: 1.3em;
  }

  .page-index-platform-features__container {
    padding: 20px;
  }

  .page-index-platform-features__hero-image {
    max-height: 400px;
  }
  
  .page-index-platform-features__cta-button--small {
    padding: 8px 15px;
    font-size: 0.85em;
  }

  /* Ensure all images within the main content area are responsive and do not cause overflow */
  .page-index-platform-features img {
    max-width: 100%;
    height: auto;
  }

  /* No horizontal scroll */
  .page-index-platform-features {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-index-platform-features__hero-title {
    font-size: 1.8em;
  }

  .page-index-platform-features__section-title {
    font-size: 1.6em;
  }

  .page-index-platform-features__hero-actions {
    flex-direction: column;
  }
}