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

/* Custom Colors */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg-color: #11271B;
  --bg-color: #08160F;
  --text-main-color: #F2FFF6;
  --text-secondary-color: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
}

/* Base styles for the page content, assuming dark body background from shared.css */
.page-index-platform-features {
  font-family: 'Arial', sans-serif;
  color: var(--text-main-color); /* Light text for dark background */
  background-color: var(--bg-color); /* Deep dark green background */
  line-height: 1.6;
}

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

.page-index-platform-features__section-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-index-platform-features__text-block {
  font-size: 17px;
  color: var(--text-secondary-color);
  margin-bottom: 20px;
  text-align: justify;
}

.page-index-platform-features__highlight {
  color: var(--gold-color);
  font-weight: bold;
}

/* Hero Section */
.page-index-platform-features__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-bottom: 60px; /* Space for content below image */
  padding-top: 10px; /* Small top padding */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-index-platform-features__hero-image-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}

.page-index-platform-features__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-index-platform-features__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
  z-index: 1;
}

.page-index-platform-features__hero-title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  color: var(--text-main-color);
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.page-index-platform-features__hero-description {
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--text-secondary-color);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.page-index-platform-features__btn-primary,
.page-index-platform-features__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-index-platform-features__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-index-platform-features__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 20px var(--glow-color);
}

.page-index-platform-features__btn-secondary {
  background-color: transparent;
  color: var(--gold-color);
  border: 2px solid var(--gold-color);
}

.page-index-platform-features__btn-secondary:hover {
  background-color: var(--gold-color);
  color: var(--bg-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 20px var(--gold-color);
}

.page-index-platform-features__btn-small {
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 30px;
}

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

/* Features Overview Section */
.page-index-platform-features__features-overview-section {
  padding: 80px 0;
  background-color: var(--bg-color);
}

/* Key Features Section */
.page-index-platform-features__key-features-section {
  padding: 80px 0;
  background-color: var(--card-bg-color); /* Darker background for this section */
}

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

.page-index-platform-features__feature-card {
  background-color: var(--bg-color);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-index-platform-features__feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 25px var(--glow-color);
}

.page-index-platform-features__feature-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 25px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
}

.page-index-platform-features__card-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main-color);
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-index-platform-features__card-description {
  font-size: 16px;
  color: var(--text-secondary-color);
  line-height: 1.6;
}

/* Mobile App Section */
.page-index-platform-features__mobile-app-section {
  padding: 80px 0;
  background-color: var(--bg-color);
}

.page-index-platform-features__mobile-app-flex {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.page-index-platform-features__mobile-app-content {
  flex: 1;
  min-width: 300px;
}

.page-index-platform-features__mobile-app-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-index-platform-features__mobile-app-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
}

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

.page-index-platform-features__list-item {
  font-size: 17px;
  color: var(--text-secondary-color);
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-index-platform-features__list-item::before {
  content: '✓';
  color: var(--gold-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Registration Guide Section */
.page-index-platform-features__registration-guide-section {
  padding: 80px 0;
  background-color: var(--card-bg-color);
}

.page-index-platform-features__grid-2-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.page-index-platform-features__guide-block {
  background-color: var(--bg-color);
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index-platform-features__guide-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-main-color);
  margin-bottom: 20px;
}

.page-index-platform-features__note-text {
  text-align: center;
  font-size: 15px;
  color: var(--text-secondary-color);
  margin-top: 40px;
}

/* Commitment Section */
.page-index-platform-features__commitment-section {
  padding: 80px 0;
  background-color: var(--bg-color);
}

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

.page-index-platform-features__commitment-item {
  background-color: var(--card-bg-color);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
}

.page-index-platform-features__commitment-icon {
  width: 100%;
  max-width: 180px;
  height: auto;
  margin-bottom: 25px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
}

.page-index-platform-features__commitment-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main-color);
  margin-bottom: 15px;
}

.page-index-platform-features__commitment-description {
  font-size: 16px;
  color: var(--text-secondary-color);
  line-height: 1.6;
}

/* FAQ Section */
.page-index-platform-features__faq-section {
  padding: 80px 0;
  background-color: var(--card-bg-color);
}

.page-index-platform-features__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-platform-features__faq-item {
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-index-platform-features__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main-color);
  cursor: pointer;
  background-color: var(--deep-green-color);
  transition: background-color 0.3s ease;
}

.page-index-platform-features__faq-question:hover {
  background-color: var(--primary-color);
}

.page-index-platform-features__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold-color);
  margin-left: 15px;
}

.page-index-platform-features__faq-answer {
  padding: 0 25px 20px;
  font-size: 16px;
  color: var(--text-secondary-color);
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-index-platform-features__faq-item[open] .page-index-platform-features__faq-answer {
  max-height: 500px; /* Adjust as needed for content length */
  padding-top: 15px;
}

.page-index-platform-features__faq-item[open] .page-index-platform-features__faq-question {
  background-color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-index-platform-features__hero-image-wrapper {
    margin-bottom: 20px;
  }
  .page-index-platform-features__hero-title {
    font-size: clamp(28px, 4vw, 48px);
  }
  .page-index-platform-features__hero-description {
    font-size: clamp(16px, 2vw, 20px);
  }
  .page-index-platform-features__features-grid,
  .page-index-platform-features__commitment-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-index-platform-features {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-index-platform-features__container {
    padding: 0 15px;
  }
  .page-index-platform-features__section-title {
    font-size: clamp(24px, 6vw, 36px);
    margin-bottom: 30px;
  }
  .page-index-platform-features__hero-section {
    padding-bottom: 40px;
    padding-top: 10px !important; /* body already handles header offset */
  }
  .page-index-platform-features__hero-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;
  }
  .page-index-platform-features__hero-cta-buttons,
  .page-index-platform-features__cta-buttons,
  .page-index-platform-features__button-group,
  .page-index-platform-features__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-index-platform-features__features-grid,
  .page-index-platform-features__grid-2-col,
  .page-index-platform-features__commitment-grid {
    grid-template-columns: 1fr;
  }
  .page-index-platform-features__mobile-app-flex {
    flex-direction: column-reverse; /* Image above text on mobile for app section */
  }
  .page-index-platform-features__mobile-app-content,
  .page-index-platform-features__mobile-app-image-wrapper {
    min-width: unset;
    width: 100%;
  }
  .page-index-platform-features img {
    max-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__hero-section,
  .page-index-platform-features__features-overview-section,
  .page-index-platform-features__key-features-section,
  .page-index-platform-features__mobile-app-section,
  .page-index-platform-features__registration-guide-section,
  .page-index-platform-features__commitment-section,
  .page-index-platform-features__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }
  .page-index-platform-features__faq-question {
    font-size: 16px;
    padding: 15px 20px;
  }
  .page-index-platform-features__faq-answer {
    font-size: 15px;
    padding: 0 20px 15px;
  }
  .page-index-platform-features__feature-icon,
  .page-index-platform-features__commitment-icon {
    min-width: 200px !important;
    min-height: 200px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .page-index-platform-features__hero-image {
    min-width: 200px !important;
    min-height: 200px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .page-index-platform-features__mobile-app-image {
    min-width: 200px !important;
    min-height: 200px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 480px) {
  .page-index-platform-features__hero-title {
    font-size: clamp(24px, 7vw, 36px);
  }
  .page-index-platform-features__hero-description {
    font-size: clamp(15px, 3vw, 18px);
  }
  .page-index-platform-features__btn-primary,
  .page-index-platform-features__btn-secondary {
    font-size: 16px;
    padding: 12px 20px;
  }
  .page-index-platform-features__section-title {
    font-size: clamp(22px, 7vw, 32px);
  }
  .page-index-platform-features__card-title {
    font-size: 20px;
  }
  .page-index-platform-features__guide-title,
  .page-index-platform-features__commitment-title {
    font-size: 20px;
  }
  .page-index-platform-features__text-block,
  .page-index-platform-features__card-description,
  .page-index-platform-features__list-item,
  .page-index-platform-features__note-text {
    font-size: 15px;
  }
}