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

/* Variables for colors */
:root {
    --page-index-download-app-primary-color: #0A2342;
    --page-index-download-app-secondary-color: #FFD700;
    --page-index-download-app-text-light: #FFFFFF;
    --page-index-download-app-text-dark: #333333;
    --page-index-download-app-background-light: #F8F9FA;
    --page-index-download-app-background-dark: #0A2342;
}

.page-index-download-app__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-index-download-app__section {
    padding: 60px 0;
    text-align: center;
}

.page-index-download-app__section:nth-of-type(even) {
    background-color: var(--page-index-download-app-background-light);
}

.page-index-download-app__section-title {
    font-size: 2.5em;
    color: var(--page-index-download-app-primary-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.page-index-download-app__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--page-index-download-app-secondary-color);
    border-radius: 2px;
}

.page-index-download-app__section-intro {
    font-size: 1.1em;
    color: var(--page-index-download-app-text-dark);
    margin-bottom: 40px;
    line-height: 1.6;
}

.page-index-download-app__hero-section {
    background: linear-gradient(135deg, var(--page-index-download-app-background-dark), #1A3B66);
    color: var(--page-index-download-app-text-light);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-index-download-app__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract,geometric,pattern]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-index-download-app__hero-section .page-index-download-app__container {
    position: relative;
    z-index: 1;
}

.page-index-download-app__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--page-index-download-app-text-light);
    font-weight: bold;
    line-height: 1.2;
}

.page-index-download-app__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: var(--page-index-download-app-text-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.page-index-download-app__download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.page-index-download-app__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 200px;
}

.page-index-download-app__btn--primary {
    background-color: var(--page-index-download-app-secondary-color);
    color: var(--page-index-download-app-primary-color);
    border: 2px solid var(--page-index-download-app-secondary-color);
}

.page-index-download-app__btn--primary:hover {
    background-color: #E6B800;
    border-color: #E6B800;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index-download-app__btn--secondary {
    background-color: var(--page-index-download-app-primary-color);
    color: var(--page-index-download-app-text-light);
    border: 2px solid var(--page-index-download-app-primary-color);
}

.page-index-download-app__btn--secondary:hover {
    background-color: #071C35;
    border-color: #071C35;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index-download-app__btn--accent {
    background-color: var(--page-index-download-app-secondary-color);
    color: var(--page-index-download-app-primary-color);
    border: 2px solid var(--page-index-download-app-secondary-color);
}

.page-index-download-app__btn--accent:hover {
    background-color: #E6B800;
    border-color: #E6B800;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index-download-app__btn-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    vertical-align: middle;
}

.page-index-download-app__qr-codes {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.page-index-download-app__qr-item {
    text-align: center;
    color: var(--page-index-download-app-text-light);
}

.page-index-download-app__qr-image {
    width: 120px;
    height: 120px;
    background-color: var(--page-index-download-app-text-light);
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

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

.page-index-download-app__why-app h3 {
    color: var(--page-index-download-app-primary-color);
    font-size: 1.5em;
    margin-top: 20px;
    margin-bottom: 10px;
}

.page-index-download-app__why-app p {
    color: var(--page-index-download-app-text-dark);
    line-height: 1.6;
}

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

.page-index-download-app__feature-item {
    background-color: var(--page-index-download-app-text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-download-app__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-index-download-app__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.page-index-download-app__download-guide {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    margin-top: 50px;
}

.page-index-download-app__guide-platform {
    background-color: var(--page-index-download-app-text-light);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.page-index-download-app__guide-title {
    font-size: 2em;
    color: var(--page-index-download-app-primary-color);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-index-download-app__platform-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
}

.page-index-download-app__qr-download-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.page-index-download-app__qr-image--large {
    width: 180px;
    height: 180px;
    background-color: var(--page-index-download-app-text-light);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-index-download-app__guide-steps {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-index-download-app__guide-steps li {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: var(--page-index-download-app-text-dark);
    line-height: 1.6;
    position: relative;
    padding-left: 30px;
}

.page-index-download-app__guide-steps li::before {
    content: attr(data-step);
    counter-increment: step-counter;
    content: counter(step-counter);
    background-color: var(--page-index-download-app-secondary-color);
    color: var(--page-index-download-app-primary-color);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.9em;
}

.page-index-download-app__guide-image {
    max-width: 100%;
    height: auto;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-index-download-app__app-features .page-index-download-app__features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-download-app__feature-detail-item {
    background-color: var(--page-index-download-app-text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.page-index-download-app__feature-detail-item h3 {
    color: var(--page-index-download-app-primary-color);
    font-size: 1.4em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.page-index-download-app__feature-detail-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
}

.page-index-download-app__feature-detail-item p {
    color: var(--page-index-download-app-text-dark);
    line-height: 1.6;
}

.page-index-download-app__features-overview-image {
    max-width: 800px;
    width: 100%;
    height: auto;
    margin-top: 60px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-index-download-app__exclusive-promo {
    background-color: var(--page-index-download-app-background-dark);
    color: var(--page-index-download-app-text-light);
    padding: 80px 0;
}

.page-index-download-app__exclusive-promo .page-index-download-app__section-title,
.page-index-download-app__exclusive-promo .page-index-download-app__section-intro {
    color: var(--page-index-download-app-text-light);
}

.page-index-download-app__exclusive-promo .page-index-download-app__section-title::after {
    background-color: var(--page-index-download-app-secondary-color);
}

.page-index-download-app__promo-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
}

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

.page-index-download-app__promo-content {
    text-align: left;
    max-width: 600px;
}

.page-index-download-app__promo-content h3 {
    font-size: 1.8em;
    color: var(--page-index-download-app-secondary-color);
    margin-bottom: 20px;
}

.page-index-download-app__promo-content ol {
    list-style: decimal;
    margin-left: 20px;
    margin-bottom: 25px;
    color: var(--page-index-download-app-text-light);
    font-size: 1.1em;
}

.page-index-download-app__promo-content ol li {
    margin-bottom: 10px;
}

.page-index-download-app__promo-content p {
    color: var(--page-index-download-app-text-light);
    line-height: 1.6;
    margin-bottom: 25px;
}

.page-index-download-app__promo-note {
    font-size: 0.9em;
    opacity: 0.8;
    margin-top: 20px;
}

.page-index-download-app__security .page-index-download-app__security-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-download-app__security-item {
    background-color: var(--page-index-download-app-text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.page-index-download-app__security-item h3 {
    color: var(--page-index-download-app-primary-color);
    font-size: 1.4em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.page-index-download-app__security-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
}

.page-index-download-app__security-item p {
    color: var(--page-index-download-app-text-dark);
    line-height: 1.6;
}

.page-index-download-app__security-image {
    max-width: 700px;
    width: 100%;
    height: auto;
    margin-top: 60px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-index-download-app__faq {
    background-color: var(--page-index-download-app-background-light);
}

.page-index-download-app__faq-list {
    max-width: 800px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-index-download-app__faq-item {
    background-color: var(--page-index-download-app-text-light);
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.page-index-download-app__faq-question {
    font-size: 1.25em;
    color: var(--page-index-download-app-primary-color);
    padding: 20px 25px;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-index-download-app__faq-question:hover {
    background-color: #f0f0f0;
}

.page-index-download-app__faq-question::after {
    content: '+';
    font-size: 1.5em;
    font-weight: bold;
    color: var(--page-index-download-app-secondary-color);
}

.page-index-download-app__faq-question.active::after {
    content: '-';
}

.page-index-download-app__faq-answer {
    padding: 0 25px 20px 25px;
    color: var(--page-index-download-app-text-dark);
    line-height: 1.6;
    font-size: 1.05em;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-index-download-app__faq-answer.show {
    max-height: 200px; /* Adjust based on content */
    padding: 0 25px 20px 25px;
}

.page-index-download-app__final-cta {
    background: linear-gradient(135deg, #1A3B66, var(--page-index-download-app-background-dark));
    color: var(--page-index-download-app-text-light);
    padding: 70px 0;
}

.page-index-download-app__final-cta .page-index-download-app__section-title,
.page-index-download-app__final-cta .page-index-download-app__section-intro {
    color: var(--page-index-download-app-text-light);
}

.page-index-download-app__final-cta .page-index-download-app__section-title::after {
    background-color: var(--page-index-download-app-secondary-color);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-index-download-app__hero-title {
        font-size: 2.8em;
    }
    .page-index-download-app__hero-description {
        font-size: 1.1em;
    }
    .page-index-download-app__section-title {
        font-size: 2em;
    }
    .page-index-download-app__download-guide {
        grid-template-columns: 1fr;
    }
    .page-index-download-app__promo-details {
        flex-direction: column;
    }
    .page-index-download-app__promo-content,
    .page-index-download-app__promo-image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-index-download-app__hero-title {
        font-size: 2.2em;
    }
    .page-index-download-app__hero-description {
        font-size: 1em;
    }
    .page-index-download-app__section {
        padding: 40px 0;
    }
    .page-index-download-app__btn {
        width: 100%;
        min-width: unset;
    }
    .page-index-download-app__qr-codes {
        flex-direction: column;
        gap: 20px;
    }
    .page-index-download-app__guide-title {
        font-size: 1.6em;
    }
    .page-index-download-app__promo-content h3 {
        font-size: 1.5em;
    }
    .page-index-download-app__faq-question {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-index-download-app__hero-title {
        font-size: 1.8em;
    }
    .page-index-download-app__hero-description {
        font-size: 0.9em;
    }
    .page-index-download-app__btn {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-index-download-app__qr-image {
        width: 100px;
        height: 100px;
    }
    .page-index-download-app__qr-image--large {
        width: 150px;
        height: 150px;
    }
    .page-index-download-app__section-title {
        font-size: 1.8em;
    }
    .page-index-download-app__guide-steps li {
        font-size: 1em;
        padding-left: 25px;
    }
    .page-index-download-app__guide-steps li::before {
        width: 20px;
        height: 20px;
        font-size: 0.8em;
    }
    .page-index-download-app__feature-detail-item h3 {
        font-size: 1.2em;
    }
    .page-index-download-app__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-index-download-app__faq-answer {
        padding: 0 20px 15px 20px;
    }
}