.page-download {
    background-color: #08160F;
    color: #F2FFF6;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: 10px; /* Small top padding for content, body handles header offset */
}

.page-download__hero-section {
    display: flex;
    flex-direction: column; /* Default for mobile: image above text */
    align-items: center;
    text-align: center;
    padding: 20px 16px 40px;
    background-color: #11271B; /* Card BG for hero section */
    border-radius: 8px;
    margin: 0 16px 40px;
    overflow: hidden; /* Ensure no overflow from content */
}

.page-download__hero-visual {
    width: 100%;
    aspect-ratio: 16/9; /* Default aspect ratio for hero image */
    margin-bottom: 20px;
}

.page-download__hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.page-download__hero-content {
    max-width: 800px;
    width: 100%; /* Ensure content takes full width within flex item */
}

.page-download__hero-title {
    font-size: clamp(1.8rem, 5vw, 2.8rem); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #F2FFF6; /* Text Main */
    background: linear-gradient(90deg, #57E38D, #2AD16F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.page-download__hero-description {
    font-size: 1.1rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
}

.page-download__download-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 300px;
    margin: 0 auto;
}

.page-download__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 25px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    color: #F2FFF6; /* Text Main */
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    min-height: 44px; /* Touch target size */
    width: 100%; /* Full width for mobile buttons */
    box-sizing: border-box;
}

.page-download__btn:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
}

.page-download__btn--large {
    font-size: 1.2rem;
    padding: 16px 30px;
}

.page-download__section-title {
    font-size: clamp(1.6rem, 4.5vw, 2.4rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: #F2FFF6; /* Text Main */
    background: linear-gradient(90deg, #57E38D, #2AD16F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    padding: 0 16px;
}

.page-download__features-section,
.page-download__how-to-download-section,
.page-download__faq-section,
.page-download__cta-section {
    padding: 40px 16px;
    margin-bottom: 40px;
    background-color: #11271B; /* Card BG */
    border-radius: 8px;
    margin-left: 16px;
    margin-right: 16px;
    overflow: hidden; /* Prevent content overflow */
}

.page-download__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.page-download__feature-card {
    background-color: #0A4B2C; /* Deep Green */
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #2E7A4E; /* Border */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-download__feature-icon {
    width: 200px; /* Minimum size */
    height: 150px; /* Adjust height to maintain aspect ratio, or use object-fit */
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 4px;
}

.page-download__feature-title {
    font-size: 1.3rem;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 10px;
}

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

.page-download__steps-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.page-download__step-card {
    display: flex;
    flex-direction: column; /* Default for mobile */
    background-color: #0A4B2C; /* Deep Green */
    border-radius: 8px;
    padding: 25px;
    border: 1px solid #2E7A4E; /* Border */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-download__step-image {
    width: 100%;
    height: auto;
    max-height: 300px; /* Max height for mobile images */
    object-fit: contain;
    border-radius: 4px;
    margin-bottom: 20px;
}

.page-download__step-content {
    text-align: center;
}

.page-download__step-title {
    font-size: 1.4rem;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 10px;
}

.page-download__step-text {
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 20px;
}

.page-download__qr-code {
    margin-top: 20px;
    padding: 10px;
    background-color: #F2FFF6; /* Light background for QR */
    border-radius: 8px;
    display: inline-block;
}

.page-download__qr-code img {
     /* Smaller QR code on mobile */
    
    display: block;
}

.page-download__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-download__faq-item {
    background-color: #0A4B2C; /* Deep Green */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    padding: 20px;
}

.page-download__faq-question {
    font-size: 1.15rem;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 10px;
    cursor: pointer;
}

.page-download__faq-answer {
    font-size: 0.95rem;
    color: #A7D9B8; /* Text Secondary */
    display: none; /* Hidden by default, toggled by JS */
}

.page-download__faq-item.is-active .page-download__faq-answer {
    display: block;
}

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

.page-download__cta-description {
    font-size: 1.1rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
    padding: 0 16px;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .page-download__hero-section {
        flex-direction: row; /* Desktop: image and content side-by-side */
        text-align: left;
        padding: 50px;
        margin: 0 auto 60px;
        max-width: 1200px;
        gap: 40px;
    }

    .page-download__hero-visual {
        width: 50%;
        aspect-ratio: 16/9;
        margin-bottom: 0;
    }

    .page-download__hero-visual img {
        border-radius: 8px;
    }

    .page-download__hero-content {
        width: 50%;
    }

    .page-download__hero-title {
        font-size: clamp(2.5rem, 4vw, 3.5rem);
    }

    .page-download__download-buttons {
        flex-direction: row;
        max-width: none;
    }

    .page-download__btn {
        width: auto;
        min-width: 220px; /* Ensure buttons are not too small on desktop */
    }

    .page-download__features-section,
    .page-download__how-to-download-section,
    .page-download__faq-section,
    .page-download__cta-section {
        padding: 60px;
        margin-bottom: 60px;
        margin-left: auto;
        margin-right: auto;
        max-width: 1200px;
    }

    .page-download__feature-icon {
        width: 200px;
        height: 150px;
    }

    .page-download__step-card {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 40px;
        padding: 40px;
    }

    .page-download__step-card--reverse {
        flex-direction: row-reverse;
        text-align: right;
    }

    .page-download__step-image {
        width: 50%;
        height: auto;
        max-height: none;
        margin-bottom: 0;
    }

    .page-download__step-content {
        width: 50%;
    }

    .page-download__qr-code img {
        width: 250px;
        height: 250px;
    }

    .page-download__cta-description {
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Mobile specific adjustments to prevent overflow */
@media (max-width: 768px) {
    .page-download__hero-section,
    .page-download__features-section,
    .page-download__how-to-download-section,
    .page-download__faq-section,
    .page-download__cta-section {
        margin-left: 10px;
        margin-right: 10px;
        padding-left: 10px;
        padding-right: 10px;
    }
    .page-download__hero-visual img,
    .page-download__feature-icon,
    .page-download__step-image,
    .page-download__qr-code img {
        max-width: 100%;
        height: auto;
        display: block;
    }
    .page-download__qr-code {
        width: fit-content;
        margin: 20px auto 0;
    }
    .page-download__qr-code img {
         /* Specific width for mobile QR */
        
    }
    .page-download__hero-title,
    .page-download__section-title {
        word-break: break-word;
        overflow-wrap: break-word;
    }
}

/* Ensure content area images are not too small */
.page-download img:not(.page-download__qr-code img) {
    min-width: 200px;
    min-height: 200px;
    object-fit: cover; /* Use cover for general content images */
}

/* Override min-width for QR code specifically, as it's a special case */
.page-download__qr-code img {
    min-
    min-
    object-fit: contain; /* Contain for QR code */
}

/* Ensure no filter is applied to images */
.page-download img {
    filter: none;
}