/* style/index-platform-features.css */

/* Base Styles & Typography */
.page-index-platform-features {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light sections */
  background-color: var(--bg-dark); /* Inherits from shared, assumed dark */
}

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

.page-index-platform-features__section {
  padding: 60px 0;
  text-align: center;
}

.page-index-platform-features__dark-section {
  background-color: #000080; /* Deep blue for dark sections */
  color: #ffffff; /* Light text for dark background */
}

.page-index-platform-features__dark-bg {
  background-color: #000080; /* Deep blue for dark background */
  color: #ffffff; /* Light text for dark background */
}

.page-index-platform-features__text-light {
  color: #ffffff;
}

.page-index-platform-features__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #FFD700;
}

.page-index-platform-features__dark-section .page-index-platform-features__section-title {
  color: #FFD700;
}

.page-index-platform-features__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-index-platform-features__hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
  padding-bottom: 60px;
  text-align: left;
  background-color: #000080;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-index-platform-features__hero-content {
  flex: 1;
  padding: 0 40px;
  max-width: 600px;
  z-index: 1;
}

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

.page-index-platform-features__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  opacity: 0.9;
}

.page-index-platform-features__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
}

.page-index-platform-features__cta-buttons--center {
  justify-content: center;
}

.page-index-platform-features__btn-primary,
.page-index-platform-features__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-index-platform-features__btn-primary {
  background-color: #FFD700;
  color: #000080;
  border: 2px solid #FFD700;
}

.page-index-platform-features__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

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

.page-index-platform-features__btn-secondary:hover {
  background-color: #FFD700;
  color: #000080;
}

.page-index-platform-features__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 40px;
  z-index: 0;
}

.page-index-platform-features__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

/* About Platform / Feature Grid */
.page-index-platform-features__about-platform {
  background-color: #ffffff;
  color: #333333;
}

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

.page-index-platform-features__card {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  color: #333333;
  min-width: 200px;
  min-height: 200px;
  box-sizing: border-box;
}

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

.page-index-platform-features__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-index-platform-features__card-title {
  font-size: 1.5em;
  color: #000080;
  margin-bottom: 15px;
}

.page-index-platform-features__card-description {
  font-size: 1em;
  color: #555555;
}

/* Key Features Section */
.page-index-platform-features__key-features {
  background-color: #000080;
  color: #ffffff;
}

.page-index-platform-features__feature-item {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 60px;
  text-align: left;
}

.page-index-platform-features__feature-item--reverse {
  flex-direction: row-reverse;
}

.page-index-platform-features__feature-text {
  flex: 1;
}

.page-index-platform-features__feature-title {
  font-size: 2em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-index-platform-features__feature-list {
  list-style-type: disc;
  margin-left: 20px;
  font-size: 1.1em;
}

.page-index-platform-features__feature-list li {
  margin-bottom: 10px;
}

.page-index-platform-features__feature-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-index-platform-features__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  min-height: 200px;
}

/* Promotions Section */
.page-index-platform-features__promotions {
  background-color: #f0f0f0;
  color: #333333;
}

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

/* Why Choose Section */
.page-index-platform-features__why-choose {
  background-color: #000080;
  color: #ffffff;
}

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

.page-index-platform-features__advantage-list li {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 8px;
  font-size: 1.1em;
  border-left: 5px solid #FFD700;
}

.page-index-platform-features__advantage-list li strong {
  color: #FFD700;
}

/* FAQ Section */
.page-index-platform-features__faq-section {
  background-color: #ffffff;
  color: #333333;
}

.page-index-platform-features__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-index-platform-features__faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-index-platform-features__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #f8f8f8;
  cursor: pointer;
  font-weight: bold;
  color: #000080;
  transition: background-color 0.3s ease;
}

.page-index-platform-features__faq-question:hover {
  background-color: #e6e6e6;
}

.page-index-platform-features__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-index-platform-features__faq-item.active .page-index-platform-features__faq-toggle {
  transform: rotate(45deg);
}

.page-index-platform-features__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #ffffff;
  color: #555555;
}

.page-index-platform-features__faq-item.active .page-index-platform-features__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 20px;
}

.page-index-platform-features__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-index-platform-features__hero-section {
    flex-direction: column;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
  }
  
  .page-index-platform-features__hero-content {
    padding: 0;
    max-width: 100%;
    margin-bottom: 40px;
  }

  .page-index-platform-features__cta-buttons {
    justify-content: center;
  }

  .page-index-platform-features__hero-image-wrapper {
    padding: 0;
  }

  .page-index-platform-features__feature-item {
    flex-direction: column;
    gap: 30px;
  }

  .page-index-platform-features__feature-item--reverse {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-index-platform-features__main-title {
    font-size: 2.5em;
  }

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

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

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

  .page-index-platform-features__section {
    padding: 40px 0;
  }

  /* Mobile button responsiveness */
  .page-index-platform-features__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-platform-features__btn-primary,
  .page-index-platform-features__btn-secondary,
  .page-index-platform-features a[class*="button"],
  .page-index-platform-features a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile image responsiveness */
  .page-index-platform-features img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-index-platform-features__section,
  .page-index-platform-features__card,
  .page-index-platform-features__container,
  .page-index-platform-features__feature-image-wrapper,
  .page-index-platform-features__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-index-platform-features__hero-section {
    padding-top: var(--header-offset, 120px) !important; 
  }

  /* Video responsiveness (if any, though none currently in HTML) */
  .page-index-platform-features video,
  .page-index-platform-features__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-index-platform-features__video-section,
  .page-index-platform-features__video-container,
  .page-index-platform-features__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-index-platform-features__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-index-platform-features__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}