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

/* General page styling */
.page-index-platform-features {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: var(--dark-bg); /* Inherited from shared.css */
}

.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: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
    font-weight: bold;
}

.page-index-platform-features__subsection-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-index-platform-features__content-area {
    margin-bottom: 30px;
    color: #ffffff; /* Ensure text is visible on dark background */
}

.page-index-platform-features__text-block p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #ffffff; /* Text in blocks also white */
}

.page-index-platform-features__numbered-list,
.page-index-platform-features__bullet-list {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-index-platform-features__numbered-list li {
    counter-increment: list-counter;
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    font-size: 1.1em;
    color: #ffffff;
}

.page-index-platform-features__numbered-list li::before {
    content: counter(list-counter) ".";
    position: absolute;
    left: 0;
    color: #26A9E0;
    font-weight: bold;
}

.page-index-platform-features__bullet-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 1.1em;
    color: #ffffff;
}

.page-index-platform-features__bullet-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #26A9E0;
    font-weight: bold;
    font-size: 1.2em;
    line-height: 1;
}

/* Buttons */
.page-index-platform-features__btn-primary,
.page-index-platform-features__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-index-platform-features__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

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

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

.page-index-platform-features__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-index-platform-features__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Hero Section */
.page-index-platform-features__hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    box-sizing: border-box;
}

.page-index-platform-features__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.page-index-platform-features__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
    z-index: -1;
}

.page-index-platform-features__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
}

.page-index-platform-features__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
}

.page-index-platform-features__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

/* About Section */
.page-index-platform-features__about-section {
    padding: 80px 0;
    text-align: center;
}

/* Features Section */
.page-index-platform-features__features-section {
    padding: 80px 0;
    text-align: center;
}

.page-index-platform-features__feature-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: rgba(255, 255, 255, 0.05); /* Light transparent background for cards */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #ffffff;
}

.page-index-platform-features__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure it behaves as a block element */
}

.page-index-platform-features__card-title {
    font-size: 1.6em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-index-platform-features__card-content p {
    font-size: 1em;
    color: #e0e0e0;
    margin-bottom: 10px;
}

/* Video Section */
.page-index-platform-features__video-section {
    padding: 80px 0;
    text-align: center;
}

.page-index-platform-features__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 12px;
    margin-top: 40px;
    width: 100%;
    box-sizing: border-box;
}

.page-index-platform-features__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    cursor: pointer; /* Indicate it's clickable */
}

.page-index-platform-features__video-description {
    margin-top: 20px;
    font-size: 1.1em;
    color: #f0f0f0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Registration Guide Section */
.page-index-platform-features__registration-guide {
    padding: 80px 0;
    text-align: center;
}

/* Support Section */
.page-index-platform-features__support-section {
    padding: 80px 0;
    text-align: center;
}

/* App Download Section */
.page-index-platform-features__app-download {
    padding: 80px 0;
    text-align: center;
}

/* FAQ Section */
.page-index-platform-features__faq-section {
    padding: 80px 0;
    text-align: center;
}

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

.page-index-platform-features__faq-item {
    background-color: rgba(255, 255, 255, 0.05); /* Light transparent background for FAQ items */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    color: #ffffff;
}

.page-index-platform-features__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.1); /* Slightly darker transparent for summary */
    font-size: 1.2em;
    font-weight: bold;
    color: #26A9E0;
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-index-platform-features__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for Chrome */
}

.page-index-platform-features__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-index-platform-features__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: #26A9E0;
}

.page-index-platform-features__faq-answer {
    padding: 20px;
    padding-top: 0;
    font-size: 1.05em;
    color: #e0e0e0;
}

/* CTA Bottom Section */
.page-index-platform-features__cta-bottom {
    padding: 80px 0;
    text-align: center;
}

.page-index-platform-features__cta-description {
    font-size: 1.2em;
    margin-top: 20px;
    color: #f0f0f0;
}

/* Dark Section styling */
.page-index-platform-features__dark-section {
    background-color: #0d0d0d; /* Slightly darker than body for visual separation */
    color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-index-platform-features__hero-title {
        font-size: 3em;
    }
    .page-index-platform-features__hero-description {
        font-size: 1.2em;
    }
    .page-index-platform-features__section-title {
        font-size: 2em;
    }
    .page-index-platform-features__feature-card {
        padding: 25px;
    }
    .page-index-platform-features__card-title {
        font-size: 1.4em;
    }
    .page-index-platform-features__faq-question {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    /* Mobile-specific styles */
    .page-index-platform-features {
        font-size: 16px;
        line-height: 1.6;
    }

    /* Hero */
    .page-index-platform-features__hero-section {
        height: auto; /* Allow height to adjust */
        padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
        padding-bottom: 60px;
    }
    .page-index-platform-features__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-index-platform-features__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-index-platform-features__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-index-platform-features__btn-primary,
    .page-index-platform-features__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 15px;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-index-platform-features__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Sections */
    .page-index-platform-features__section-title {
        font-size: 1.8em;
        padding-top: 30px;
        margin-bottom: 30px;
    }
    .page-index-platform-features__subsection-title {
        font-size: 1.5em;
    }
    .page-index-platform-features__about-section,
    .page-index-platform-features__features-section,
    .page-index-platform-features__video-section,
    .page-index-platform-features__registration-guide,
    .page-index-platform-features__support-section,
    .page-index-platform-features__app-download,
    .page-index-platform-features__faq-section,
    .page-index-platform-features__cta-bottom {
        padding: 60px 0;
    }
    .page-index-platform-features__container {
        padding: 0 15px;
    }

    /* Images responsiveness */
    .page-index-platform-features img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-index-platform-features__card-image {
        height: auto; /* Allow height to adjust for mobile */
    }

    /* Video responsiveness */
    .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;
    }

    /* Card Layout */
    .page-index-platform-features__feature-card {
        padding: 20px;
    }
    .page-index-platform-features__card-title {
        font-size: 1.2em;
    }
    .page-index-platform-features__card-content p {
        font-size: 0.95em;
    }

    /* FAQ */
    .page-index-platform-features__faq-question {
        font-size: 1em;
        padding: 15px;
    }
    .page-index-platform-features__faq-answer {
        font-size: 0.95em;
        padding: 15px;
        padding-top: 0;
    }
}