.page-index-platform-features {
    font-family: Arial, sans-serif;
    color: #F3F8FF; /* Text Main */
    background-color: #08162B; /* Deep Navy - Body background from shared */
    line-height: 1.6;
}

/* Hero Section */
.page-index-platform-features__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #08162B; /* Match body background */
    overflow: hidden;
    display: flex;
    flex-direction: column; /* Ensure image is above content */
    align-items: center;
    text-align: center;
    padding-bottom: 40px;
}

.page-index-platform-features__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin-bottom: 30px; /* Space between image and text */
}

.page-index-platform-features__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 200px; /* Minimum size requirement */
}

.page-index-platform-features__hero-content {
    max-width: 900px;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 1; /* Ensure text is above any potential background elements */
}

.page-index-platform-features__main-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #F2C14E; /* Gold */
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
    max-width: 100%; /* Ensure H1 fits */
}

.page-index-platform-features__description {
    font-size: 18px;
    margin-bottom: 30px;
    color: #AFC4E8; /* Text Secondary */
    max-width: 100%;
}

.page-index-platform-features__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%; /* Ensure container fills width for responsiveness */
    max-width: 500px; /* Limit button group width */
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden; /* Prevent horizontal scroll */
}

.page-index-platform-features__btn {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px; /* Ensure buttons are not too small */
    box-sizing: border-box;
    max-width: 100%; /* For mobile */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-index-platform-features__btn--primary {
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button color */
    color: #F3F8FF; /* Text Main */
    border: none;
    box-shadow: 0 4px 15px rgba(43, 115, 246, 0.4);
}

.page-index-platform-features__btn--primary:hover {
    background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
    box-shadow: 0 6px 20px rgba(43, 115, 246, 0.6);
}

.page-index-platform-features__btn--secondary {
    background: none;
    color: #F2C14E; /* Gold */
    border: 2px solid #F2C14E; /* Gold */
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.2);
}

.page-index-platform-features__btn--secondary:hover {
    background: rgba(242, 193, 78, 0.1);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.4);
}

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

.page-index-platform-features__intro-section,
.page-index-platform-features__features-section,
.page-index-platform-features__why-choose-us-section,
.page-index-platform-features__faq-section {
    padding: 60px 0;
    background-color: #08162B; /* Deep Navy */
    color: #F3F8FF; /* Text Main */
}

.page-index-platform-features__section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #F2C14E; /* Gold */
    line-height: 1.3;
}

.page-index-platform-features__text-block {
    font-size: 17px;
    margin-bottom: 20px;
    text-align: justify;
    color: #AFC4E8; /* Text Secondary */
}

/* Features Grid */
.page-index-platform-features__features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.page-index-platform-features__feature-card {
    background-color: #10233F; /* Card BG */
    border: 1px solid #244D84; /* Border */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 400px; /* Ensure cards have a decent height */
}

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

.page-index-platform-features__feature-icon {
    width: 100%;
    max-width: 250px; /* Max width for feature icons */
    height: auto;
    min-height: 200px; /* Minimum size requirement */
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-index-platform-features__feature-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #F2C14E; /* Gold */
}

.page-index-platform-features__feature-description {
    font-size: 16px;
    color: #AFC4E8; /* Text Secondary */
    flex-grow: 1; /* Make description take available space */
}

/* Why Choose Us Section */
.page-index-platform-features__advantage-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-index-platform-features__advantage-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    background-color: #10233F; /* Card BG */
    border: 1px solid #244D84; /* Border */
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-index-platform-features__advantage-icon {
    font-size: 28px;
    margin-right: 15px;
    flex-shrink: 0;
    color: #F2C14E; /* Gold */
}

.page-index-platform-features__advantage-text {
    font-size: 17px;
    color: #F3F8FF; /* Text Main */
    margin: 0;
}

.page-index-platform-features__advantage-text strong {
    color: #F2C14E; /* Gold */
}

/* FAQ Section - using details/summary */
details.page-index-platform-features__faq-item {
  margin-bottom: 15px;
  border-radius: 8px; /* Slightly larger radius */
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
  background: #10233F; /* Card BG */
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
details.page-index-platform-features__faq-item summary.page-index-platform-features__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px; /* Increased padding */
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #F3F8FF; /* Text Main */
  font-weight: 600;
}
details.page-index-platform-features__faq-item summary.page-index-platform-features__faq-question::-webkit-details-marker {
  display: none;
}
details.page-index-platform-features__faq-item summary.page-index-platform-features__faq-question:hover {
  background: #1B3357; /* Slightly lighter deep navy */
}
.page-index-platform-features__faq-qtext {
  flex: 1;
  font-size: 18px; /* Slightly larger font */
  line-height: 1.5;
  text-align: left;
  color: #F2C14E; /* Gold for question text */
}
.page-index-platform-features__faq-toggle {
  font-size: 28px; /* Larger toggle */
  font-weight: bold;
  color: #F2C14E; /* Gold */
  flex-shrink: 0;
  margin-left: 20px; /* Increased margin */
  width: 32px; /* Larger target area */
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #113B7A; /* Primary color */
}
details.page-index-platform-features__faq-item .page-index-platform-features__faq-answer {
  padding: 0 25px 25px; /* Increased padding */
  background: #0D1C34; /* Slightly darker than card BG for contrast */
  border-radius: 0 0 8px 8px;
  color: #AFC4E8; /* Text Secondary for answer text */
  font-size: 16px;
}
.page-index-platform-features__faq-answer p {
    margin: 0;
    padding: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-index-platform-features__main-title {
        font-size: 40px;
    }
    .page-index-platform-features__section-title {
        font-size: 32px;
    }
    .page-index-platform-features__features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Hero Section */
    .page-index-platform-features__hero-section {
        padding-top: 10px !important; /* Ensure small top padding */
        padding-bottom: 30px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-index-platform-features__hero-image-wrapper {
        margin-bottom: 20px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-index-platform-features__hero-content {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }
    .page-index-platform-features__main-title {
        font-size: 32px !important;
        margin-bottom: 15px !important;
    }
    .page-index-platform-features__description {
        font-size: 16px !important;
        margin-bottom: 25px !important;
    }
    .page-index-platform-features__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px !important;
        max-width: 300px !important; /* Limit button group width for mobile */
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-index-platform-features__btn {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 16px !important;
        min-width: unset !important; /* Allow buttons to shrink */
    }

    /* General Section Styles */
    .page-index-platform-features__container {
        padding: 0 15px !important; /* Mobile padding */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-index-platform-features__intro-section,
    .page-index-platform-features__features-section,
    .page-index-platform-features__why-choose-us-section,
    .page-index-platform-features__faq-section {
        padding: 40px 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-index-platform-features__section-title {
        font-size: 28px !important;
        margin-bottom: 30px !important;
    }
    .page-index-platform-features__text-block {
        font-size: 16px !important;
    }

    /* Features Grid */
    .page-index-platform-features__features-grid {
        grid-template-columns: 1fr !important; /* Single column */
        gap: 20px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-index-platform-features__feature-card {
        padding: 25px !important;
        min-height: unset !important; /* Allow height to adjust */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-index-platform-features__feature-icon {
        max-width: 180px !important;
        min-height: 200px !important; /* Still enforce minimum size */
        width: 100% !important;
        height: auto !important;
    }
    .page-index-platform-features__feature-title {
        font-size: 20px !important;
    }
    .page-index-platform-features__feature-description {
        font-size: 15px !important;
    }

    /* Why Choose Us Section */
    .page-index-platform-features__advantage-item {
        flex-direction: column !important; /* Stack icon and text */
        align-items: center !important;
        text-align: center !important;
        padding: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-index-platform-features__advantage-icon {
        margin-right: 0 !important;
        margin-bottom: 10px !important;
    }
    .page-index-platform-features__advantage-text {
        font-size: 16px !important;
    }

    /* FAQ Section */
    details.page-index-platform-features__faq-item {
        margin-bottom: 10px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    details.page-index-platform-features__faq-item summary.page-index-platform-features__faq-question {
        padding: 15px 20px !important;
    }
    .page-index-platform-features__faq-qtext {
        font-size: 16px !important;
    }
    .page-index-platform-features__faq-toggle {
        font-size: 24px !important;
        width: 28px !important;
        height: 28px !important;
        margin-left: 15px !important;
    }
    details.page-index-platform-features__faq-item .page-index-platform-features__faq-answer {
        padding: 0 20px 20px !important;
        font-size: 15px !important;
    }

    /* Universal image responsiveness */
    .page-index-platform-features img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
}