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

/* Base Styles */
.page-index-platform-features {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light background */
    background-color: var(--secondary-color, #FFFFFF); /* Body background is light */
}

/* Sections */
.page-index-platform-features__section {
    padding: 60px 20px;
    text-align: center;
}

.page-index-platform-features__light-bg {
    background-color: var(--secondary-color, #FFFFFF);
    color: #333333;
}

.page-index-platform-features__dark-section {
    background-color: var(--primary-color, #26A9E0);
    color: #ffffff;
}

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

.page-index-platform-features__section-title {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: bold;
    color: inherit; /* Inherits from section, either #333333 or #FFFFFF */
}

.page-index-platform-features__paragraph {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    color: inherit;
}

.page-index-platform-features__highlight {
    font-weight: bold;
    color: inherit; /* Inherits from parent, usually #333333 or #FFFFFF */
}

/* HERO Section */
.page-index-platform-features__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    overflow: hidden; /* Prevent content overflow */
}

.page-index-platform-features__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%; /* Ensure container takes full width up to max-width */
}

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

.page-index-platform-features__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
    filter: none; /* Ensure no filter is applied */
}

.page-index-platform-features__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    color: #ffffff; /* Text on dark hero background */
}

.page-index-platform-features__main-title {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
}

.page-index-platform-features__intro-text {
    font-size: 20px;
    margin-bottom: 30px;
    color: #f0f0f0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-platform-features__cta-group {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    width: 100%; /* Ensure it takes full width of parent */
    box-sizing: border-box; /* Include padding in width calculation */
    padding: 0 15px; /* Add padding to prevent overflow */
}

.page-index-platform-features__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    max-width: 100%; /* Ensure buttons adapt to container width */
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    min-width: 200px; /* Minimum button width for usability */
}

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

.page-index-platform-features__btn-primary:hover {
    background: #1e87b6; /* Slightly darker primary color */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-index-platform-features__btn-secondary:hover {
    background: var(--primary-color, #26A9E0);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-index-platform-features__cta-center {
    margin-top: 40px;
}

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

.page-index-platform-features__feature-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
    color: #333333;
}

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

.page-index-platform-features__feature-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
    filter: none; /* Ensure no filter is applied */
}

.page-index-platform-features__feature-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color, #26A9E0);
}

/* Features List (Dark Section) */
.page-index-platform-features__features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-platform-features__feature-card {
    background: rgba(255, 255, 255, 0.15); /* Slightly transparent white on blue */
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    color: #ffffff;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-index-platform-features__feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
}

.page-index-platform-features__card-icon {
    font-size: 48px;
    margin-bottom: 15px;
    line-height: 1;
}

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

/* Download Steps */
.page-index-platform-features__download-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-index-platform-features__step-item {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    color: #333333;
}

.page-index-platform-features__step-number {
    font-size: 48px;
    font-weight: bold;
    color: var(--primary-color, #26A9E0);
    margin-bottom: 15px;
    line-height: 1;
}

.page-index-platform-features__step-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333333;
}

.page-index-platform-features__download-image {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.page-index-platform-features__download-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
    filter: none; /* Ensure no filter is applied */
}

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

.page-index-platform-features__promo-card {
    background: rgba(255, 255, 255, 0.15);
    padding: 25px;
    border-radius: 10px;
    text-align: left;
    color: #ffffff;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-index-platform-features__promo-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
}

.page-index-platform-features__promo-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
    filter: none; /* Ensure no filter is applied */
}

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

/* Security and Support Grid */
.page-index-platform-features__security-support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-platform-features__info-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
    color: #333333;
}

.page-index-platform-features__info-card .page-index-platform-features__card-icon {
    font-size: 48px;
    margin-bottom: 15px;
    line-height: 1;
    color: var(--primary-color, #26A9E0);
}

.page-index-platform-features__support-image {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}