/* style/download.css */
.page-download {
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-download__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 20px 60px 20px;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.page-download__hero-content {
    max-width: 900px;
    margin-bottom: 40px;
}

.page-download__main-title {
    font-size: 2.8em;
    font-weight: 700;
    line-height: 1.2;
    color: #F2C14E; /* Gold */
    margin-bottom: 20px;
}

.page-download__description-text {
    font-size: 1.1em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
}

.page-download__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-download__btn-primary,
.page-download__btn-secondary {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-download__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    color: #F2FFF6; /* Text Main */
    border: none;
}

.page-download__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-download__btn-secondary {
    background: transparent;
    color: #F2FFF6; /* Text Main */
    border: 2px solid #2E7A4E; /* Border */
}

.page-download__btn-secondary:hover {
    background: #1E3A2A; /* Divider */
    transform: translateY(-2px);
}

.page-download__hero-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-download__why-download-section,
.page-download__how-to-download-section,
.page-download__app-features-section,
.page-download__security-section,
.page-download__faq-section,
.page-download__cta-bottom-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px 20px;
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-download__section-title {
    font-size: 2.2em;
    font-weight: 600;
    color: #F2C14E; /* Gold */
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.3;
}

.page-download__section-intro-text {
    font-size: 1.05em;
    color: #A7D9B8; /* Text Secondary */
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-download__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-download__feature-card {
    background-color: #0A4B2C; /* Deep Green */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.page-download__feature-card:hover {
    transform: translateY(-5px);
}

.page-download__feature-icon {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-download__feature-title {
    font-size: 1.4em;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
}

.page-download__feature-text {
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
}

.page-download__download-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.page-download__download-platform {
    background-color: #0A4B2C; /* Deep Green */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-download__platform-title {
    font-size: 1.8em;
    color: #F2C14E; /* Gold */
    margin-bottom: 25px;
}

.page-download__step-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: left;
    width: 100%;
}

.page-download__step-item {
    font-size: 1em;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.page-download__step-item::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    background-color: #2AD16F;
    color: #08160F;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8em;
    font-weight: 700;
    position: absolute;
    left: 0;
    top: 2px;
}

.page-download__platform-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 30px;
}

.page-download__qr-code-section {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #1E3A2A; /* Divider */
}

.page-download__qr-title {
    font-size: 1.8em;
    color: #F2C14E; /* Gold */
    margin-bottom: 30px;
}

.page-download__qr-codes {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.page-download__qr-card {
    background-color: #0A4B2C; /* Deep Green */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-download__qr-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
}

.page-download__qr-label {
    font-size: 1.1em;
    color: #F2FFF6; /* Text Main */
    font-weight: 600;
}

.page-download__qr-description {
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
    max-width: 800px;
    margin: 0 auto;
}

.page-download__features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-download__feature-item-detail {
    background-color: #0A4B2C; /* Deep Green */
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-download__feature-heading {
    font-size: 1.5em;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
}

.page-download__app-screenshot {
    width: 100%;
    max-width: 700px;
    height: auto;
    display: block;
    margin: 40px auto 0 auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-download__security-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
}

.page-download__security-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
}

.page-download__security-text-block {
    text-align: center;
}

.page-download__security-paragraph {
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 20px;
}

.page-download__faq-list {
    margin-top: 30px;
}

.page-download__faq-item {
    background-color: #0A4B2C; /* Deep Green */
    border: 1px solid #1E3A2A; /* Divider */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-download__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    color: #F2FFF6; /* Text Main */
    background-color: #0A4B2C; /* Deep Green */
    user-select: none;
    list-style: none;
}

.page-download__faq-question::-webkit-details-marker {
    display: none;
}

.page-download__faq-qtext {
    flex-grow: 1;
    pointer-events: none; /* Prevent clicks on text from interfering with summary toggle */
}

.page-download__faq-toggle {
    font-size: 1.5em;
    font-weight: 700;
    color: #2AD16F;
    margin-left: 15px;
    pointer-events: none; /* Prevent clicks on toggle from interfering with summary toggle */
}

.page-download__faq-item[open] .page-download__faq-toggle {
    content: '−';
}

.page-download__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
}

.page-download__faq-answer p {
    margin: 0;
}

.page-download__cta-bottom-section {
    text-align: center;
    padding-bottom: 60px;
}

@media (min-width: 769px) {
    .page-download__hero-section {
        flex-direction: row;
        text-align: left;
        padding-top: 60px;
    }

    .page-download__hero-content {
        margin-right: 40px;
        margin-bottom: 0;
    }

    .page-download__hero-image {
        min-width: 400px;
    }

    .page-download__cta-buttons {
        justify-content: flex-start;
    }

    .page-download__security-content {
        flex-direction: row;
        text-align: left;
    }

    .page-download__security-image {
        margin-right: 40px;
    }

    .page-download__security-text-block {
        text-align: left;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-download {
        font-size: 15px;
        line-height: 1.5;
    }

    .page-download__hero-section {
        padding: 10px 15px 40px 15px;
    }

    .page-download__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-download__description-text {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-download__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-download__btn-primary,
    .page-download__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-download__why-download-section,
    .page-download__how-to-download-section,
    .page-download__app-features-section,
    .page-download__security-section,
    .page-download__faq-section,
    .page-download__cta-bottom-section {
        margin: 20px auto;
        padding: 20px 15px;
    }

    .page-download__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .page-download__section-intro-text {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-download__features-grid {
        gap: 20px;
    }

    .page-download__feature-card {
        padding: 20px;
    }

    .page-download__feature-title {
        font-size: 1.2em;
    }

    .page-download__platform-title {
        font-size: 1.5em;
    }

    .page-download__step-item {
        font-size: 0.95em;
    }

    .page-download__qr-code-section {
        margin-top: 40px;
        padding-top: 30px;
    }

    .page-download__qr-title {
        font-size: 1.5em;
        margin-bottom: 20px;
    }

    .page-download__qr-codes {
        gap: 20px;
    }

    .page-download__qr-image {
        max-width: 180px;
    }

    .page-download__feature-heading {
        font-size: 1.3em;
    }

    .page-download__app-screenshot {
        margin-top: 30px;
    }

    .page-download__security-image {
        margin-bottom: 30px;
    }

    .page-download__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }

    .page-download__faq-answer {
        padding: 0 20px 15px 20px;
    }

    /* Mobile image, video, and container responsiveness */
    .page-download img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-download video,
    .page-download__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-download__section,
    .page-download__card,
    .page-download__container,
    .page-download__hero-section,
    .page-download__why-download-section,
    .page-download__how-to-download-section,
    .page-download__app-features-section,
    .page-download__security-section,
    .page-download__faq-section,
    .page-download__cta-bottom-section,
    .page-download__download-platform,
    .page-download__qr-code-section,
    .page-download__qr-codes,
    .page-download__qr-card,
    .page-download__features-grid,
    .page-download__download-steps-grid,
    .page-download__features-list,
    .page-download__feature-item-detail,
    .page-download__security-content,
    .page-download__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important;
    }
    
    .page-download__video-section {
        padding-top: 10px !important;
    }

    .page-download__cta-buttons {
        flex-wrap: wrap !important;
        gap: 10px;
        flex-direction: column;
    }

    .page-download__cta-buttons a {
        width: 100%;
    }
}