/* style/index-platform-highlights.css */
.page-index-platform-highlights {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

.page-index-platform-highlights__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-index-platform-highlights__hero-section {
  background: linear-gradient(135deg, #007bff, #28a745);
  color: #fff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-index-platform-highlights__hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
  opacity: 0.3;
  transform: rotate(45deg);
  animation: page-index-platform-highlights__hero-animation 15s infinite linear;
}

@keyframes page-index-platform-highlights__hero-animation {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.1); }
  100% { transform: rotate(360deg) scale(1); }
}

.page-index-platform-highlights__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  position: relative;
  z-index: 1;
}

.page-index-platform-highlights__hero-subtitle {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.page-index-platform-highlights__hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.page-index-platform-highlights__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.page-index-platform-highlights__btn--primary {
  background-color: #ff8400; /* Complementary color for emphasis */
  color: #fff;
  border: 2px solid #ff8400;
}

.page-index-platform-highlights__btn--primary:hover {
  background-color: #e67500;
  border-color: #e67500;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.page-index-platform-highlights__btn--secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.page-index-platform-highlights__btn--secondary:hover {
  background-color: rgba(255,255,255,0.2);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.page-index-platform-highlights__section {
  padding: 60px 0;
}

.page-index-platform-highlights__section--light {
  background-color: #fff;
}

.page-index-platform-highlights__section-title {
  font-size: 2.5em;
  color: #007bff;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
  padding-bottom: 15px;
}

.page-index-platform-highlights__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #28a745;
  border-radius: 2px;
}

.page-index-platform-highlights__subsection-title {
  font-size: 1.8em;
  color: #0056b3; /* Darker shade of primary for good contrast */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-platform-highlights__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #555;
}

.page-index-platform-highlights__paragraph strong {
  color: #007bff;
}

.page-index-platform-highlights__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-index-platform-highlights__list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #444;
}

.page-index-platform-highlights__list li::before {
  content: '✔';
  color: #28a745; /* Auxiliary color for checkmark */
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-index-platform-highlights__content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .page-index-platform-highlights__content-grid {
    grid-template-columns: 1fr 1fr;
  }
  .page-index-platform-highlights__content-grid--reverse {
    grid-template-areas: "image text";
  }
  .page-index-platform-highlights__content-grid--reverse .page-index-platform-highlights__text-content {
    grid-area: text;
  }
  .page-index-platform-highlights__content-grid--reverse .page-index-platform-highlights__image-wrapper {
    grid-area: image;
  }
}

.page-index-platform-highlights__image-wrapper {
  text-align: center;
}

.page-index-platform-highlights__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.page-index-platform-highlights__image:hover {
  transform: translateY(-5px);
}

.page-index-platform-highlights__section--cta-final {
  background-color: #007bff;
  color: #fff;
  text-align: center;
  padding: 80px 0;
}

.page-index-platform-highlights__section--cta-final .page-index-platform-highlights__section-title {
  color: #fff;
}

.page-index-platform-highlights__section--cta-final .page-index-platform-highlights__section-title::after {
  background-color: #ff8400; /* Complementary color for strong contrast */
}

.page-index-platform-highlights__section--cta-final .page-index-platform-highlights__paragraph {
  color: #e0e0e0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

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

.page-index-platform-highlights__btn--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-index-platform-highlights__hero-title {
    font-size: 2.5em;
  }
  .page-index-platform-highlights__hero-subtitle {
    font-size: 1.1em;
  }
  .page-index-platform-highlights__section-title {
    font-size: 2em;
  }
  .page-index-platform-highlights__subsection-title {
    font-size: 1.6em;
  }
  .page-index-platform-highlights__paragraph, .page-index-platform-highlights__list li {
    font-size: 1em;
  }
}

@media (max-width: 767px) {
  .page-index-platform-highlights__hero-title {
    font-size: 2em;
  }
  .page-index-platform-highlights__hero-subtitle {
    font-size: 1em;
  }
  .page-index-platform-highlights__hero-cta {
    flex-direction: column;
    align-items: center;
  }
  .page-index-platform-highlights__btn {
    width: 80%;
    max-width: 300px;
  }
  .page-index-platform-highlights__content-grid {
    grid-template-columns: 1fr;
  }
  .page-index-platform-highlights__content-grid--reverse {
    grid-template-areas: none;
  }
  .page-index-platform-highlights__content-grid--reverse .page-index-platform-highlights__text-content,
  .page-index-platform-highlights__content-grid--reverse .page-index-platform-highlights__image-wrapper {
    grid-area: auto;
  }
  .page-index-platform-highlights__section-title {
    font-size: 1.8em;
  }
  .page-index-platform-highlights__subsection-title {
    font-size: 1.4em;
  }
  .page-index-platform-highlights__cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .page-index-platform-highlights__btn--large {
    width: 90%;
    max-width: 350px;
  }
}

/* Ensure color contrast for all text */
.page-index-platform-highlights h1, .page-index-platform-highlights h2, .page-index-platform-highlights h3, .page-index-platform-highlights h4, .page-index-platform-highlights h5, .page-index-platform-highlights h6 {
  color: #000; /* Default dark for headings on light background */
}

.page-index-platform-highlights p, .page-index-platform-highlights li {
  color: #333; /* Default dark for body text on light background */
}

/* Overrides for specific sections to ensure contrast */
.page-index-platform-highlights__hero-section h1,
.page-index-platform-highlights__hero-section p {
  color: #fff;
}

.page-index-platform-highlights__btn--primary,
.page-index-platform-highlights__btn--secondary {
  color: #fff; /* White text on colored buttons */
}

.page-index-platform-highlights__section--cta-final h2,
.page-index-platform-highlights__section--cta-final p {
  color: #fff;
}

.page-index-platform-highlights__section-title {
  color: #007bff;
}

.page-index-platform-highlights__subsection-title {
  color: #0056b3;
}

.page-index-platform-highlights__list li::before {
  color: #28a745;
}

.page-index-platform-highlights__paragraph strong {
  color: #007bff;
}