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

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #ffffff;
    --background-dark: #017439;
    --button-register: #C30808;
    --button-login: #C30808;
    --button-text-yellow: #FFFF00;
}

.page-index-app-features {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default for light backgrounds */
    background-color: var(--background-light);
}

.page-index-app-features__dark-bg {
    background-color: var(--background-dark);
    color: var(--text-light);
}

.page-index-app-features__light-bg {
    background-color: var(--background-light);
    color: var(--text-dark);
}

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

.page-index-app-features__hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-index-app-features__hero-section .page-index-app-features__container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.page-index-app-features__hero-content {
    flex: 1;
    padding: 20px 0;
}

.page-index-app-features__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-light);
}

.page-index-app-features__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-light);
}

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

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

.page-index-app-features__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    margin-top: 30px;
}

.page-index-app-features__btn-primary,
.page-index-app-features__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-index-app-features__btn-primary {
    background-color: var(--button-register);
    color: var(--button-text-yellow);
    border: 2px solid var(--button-register);
}

.page-index-app-features__btn-primary:hover {
    background-color: #a30606;
    border-color: #a30606;
}

.page-index-app-features__btn-secondary {
    background-color: transparent;
    color: var(--button-text-yellow);
    border: 2px solid var(--button-text-yellow);
}

.page-index-app-features__btn-secondary:hover {
    background-color: var(--button-text-yellow);
    color: var(--background-dark);
}

.page-index-app-features__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-index-app-features__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    line-height: 1.6;
}

.page-index-app-features__features-section,
.page-index-app-features__download-guide-section,
.page-index-app-features__why-choose-section,
.page-index-app-features__promotions-section,
.page-index-app-features__faq-section,
.page-index-app-features__cta-bottom-section {
    padding: 80px 0;
}

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

.page-index-app-features__feature-card,
.page-index-app-features__step-card,
.page-index-app-features__promo-card {
    background-color: var(--background-light);
    color: var(--text-dark);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-index-app-features__feature-card:hover,
.page-index-app-features__step-card:hover,
.page-index-app-features__promo-card:hover {
    transform: translateY(-10px);
}

.page-index-app-features__feature-icon,
.page-index-app-features__promo-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-index-app-features__feature-title,
.page-index-app-features__step-title,
.page-index-app-features__promo-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: bold;
    color: var(--primary-color);
}

.page-index-app-features__feature-title a,
.page-index-app-features__promo-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-index-app-features__feature-title a:hover,
.page-index-app-features__promo-title a:hover {
    text-decoration: underline;
}

.page-index-app-features__feature-text,
.page-index-app-features__step-text,
.page-index-app-features__promo-text {
    font-size: 1em;
    color: var(--text-dark);
}

/* Download Guide */
.page-index-app-features__download-guide-section .page-index-app-features__section-title,
.page-index-app-features__download-guide-section .page-index-app-features__section-description {
    color: var(--text-light);
}

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

.page-index-app-features__step-card {
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    text-align: left;
}

.page-index-app-features__step-card .page-index-app-features__step-title {
    color: var(--primary-color);
}

.page-index-app-features__cta-center {
    text-align: center;
    margin-top: 60px;
}

/* Why Choose Section */
.page-index-app-features__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-index-app-features__benefit-item {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background-color: var(--background-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-index-app-features__benefit-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-index-app-features__benefit-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-index-app-features__benefit-text {
    font-size: 1em;
    color: var(--text-dark);
}

/* Promotions Section */
.page-index-app-features__promotions-section .page-index-app-features__section-title,
.page-index-app-features__promotions-section .page-index-app-features__section-description {
    color: var(--text-light);
}

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

.page-index-app-features__promo-card {
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    text-align: left;
}

.page-index-app-features__promo-card .page-index-app-features__promo-title {
    color: var(--primary-color);
}

/* FAQ Section */
.page-index-app-features__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-app-features__faq-item {
    background-color: var(--background-light);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-dark);
}

.page-index-app-features__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: #f9f9f9;
    color: var(--primary-color);
    transition: background-color 0.3s ease;
}

.page-index-app-features__faq-question:hover {
    background-color: #f0f0f0;
}

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

.page-index-app-features__faq-item[open] .page-index-app-features__faq-toggle {
    transform: rotate(45deg);
}

.page-index-app-features__faq-item summary::-webkit-details-marker {
    display: none;
}
.page-index-app-features__faq-item summary::marker {
    display: none;
}

.page-index-app-features__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1em;
    color: var(--text-dark);
}

.page-index-app-features__faq-answer p {
    margin: 0;
}

/* CTA Bottom Section */
.page-index-app-features__cta-bottom-section {
    text-align: center;
}

.page-index-app-features__cta-bottom-section .page-index-app-features__section-title,
.page-index-app-features__cta-bottom-section .page-index-app-features__section-description {
    color: var(--text-light);
}

.page-index-app-features__cta-bottom-section .page-index-app-features__cta-buttons {
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-app-features__hero-section .page-index-app-features__container {
        flex-direction: column;
        text-align: center;
    }

    .page-index-app-features__hero-content {
        order: 2;
    }

    .page-index-app-features__hero-image-wrapper {
        order: 1;
        margin-bottom: 30px;
    }

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

@media (max-width: 768px) {
    .page-index-app-features {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-index-app-features__main-title {
        font-size: 2.5em;
    }

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

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

    .page-index-app-features__section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-index-app-features__features-section,
    .page-index-app-features__download-guide-section,
    .page-index-app-features__why-choose-section,
    .page-index-app-features__promotions-section,
    .page-index-app-features__faq-section,
    .page-index-app-features__cta-bottom-section {
        padding: 40px 0;
    }

    .page-index-app-features__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Images responsive */
    .page-index-app-features img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-index-app-features__hero-image-wrapper,
    .page-index-app-features__feature-card,
    .page-index-app-features__step-card,
    .page-index-app-features__promo-card,
    .page-index-app-features__benefit-item,
    .page-index-app-features__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }

    /* Buttons responsive */
    .page-index-app-features__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-index-app-features__btn-primary,
    .page-index-app-features__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
    }
    
    .page-index-app-features__hero-section {
        padding-top: var(--header-offset, 120px) !important;
    }
}

@media (max-width: 480px) {
    .page-index-app-features__main-title {
        font-size: 2em;
    }

    .page-index-app-features__section-title {
        font-size: 1.8em;
    }

    .page-index-app-features__cta-buttons {
        flex-direction: column;
    }
}