.page-download {
    background-color: #F5F7FA; /* Background color */
    color: #333333; /* Text Main */
    font-family: Arial, sans-serif; /* Example font */
    padding-bottom: 50px; /* General padding for the bottom */
}

.page-download__hero-section {
    display: flex;
    flex-direction: column; /* Enforce image on top, content below */
    align-items: center;
    text-align: center;
    padding: 10px 20px 40px; /* Small top padding, good bottom padding */
    background-color: #100224; /* Dark background for hero */
    color: #FFFFFF;
    overflow: hidden; /* Ensure no image overflow */
}

.page-download__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Constrain max width for image */
    margin-bottom: 20px; /* Space between image and content */
}

.page-download__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
    min-height: 200px; /* Min image size */
}

.page-download__hero-content {
    max-width: 800px;
    margin-top: 20px; /* Ensure content is below the image */
}

.page-download__hero-title {
    font-size: clamp(2em, 4vw, 3em); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #FF5A4F; /* Accent color for H1 */
}

.page-download__hero-description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #E0E0E0;
}

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

.page-download__cta-button {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Button color */
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-download__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(229, 57, 53, 0.4);
}

.page-download__cta-secondary-button {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    background-color: transparent;
    border: 2px solid #FF5A4F;
    color: #FF5A4F;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-download__cta-secondary-button:hover {
    background-color: #FF5A4F;
    color: #FFFFFF;
}

.page-download__cta-button--small {
    padding: 10px 20px;
    font-size: 1em;
}

.page-download__cta-button--large {
    padding: 16px 35px;
    font-size: 1.2em;
}

.page-download__benefits-section,
.page-download__guide-section,
.page-download__versions-section,
.page-download__why-choose-section,
.page-download__faq-section,
.page-download__cta-final-section {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.page-download__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
    font-weight: 700;
    margin-bottom: 40px;
    color: #E53935; /* Main color */
}

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

.page-download__benefit-card {
    background-color: #FFFFFF; /* Card BG */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-download__benefit-icon {
    width: 100%; /* Ensure images take full card width responsively */
    max-width: 200px; /* Example max width, still > 200px */
    height: auto;
    margin-bottom: 20px;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
    object-fit: contain; /* Ensure image content is visible */
}

.page-download__benefit-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 10px;
    color: #E53935;
}

.page-download__benefit-text {
    font-size: 1em;
    line-height: 1.5;
    color: #333333;
}

.page-download__guide-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 10px;
}

.page-download__tab-button {
    padding: 12px 25px;
    border-radius: 25px;
    background-color: #E0E0E0; /* Border color as passive background */
    color: #333333;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 1px solid #E0E0E0;
}

.page-download__tab-button--active {
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Button color */
    color: #FFFFFF;
    border-color: transparent;
}

.page-download__guide-content {
    background-color: #FFFFFF; /* Card BG */
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.page-download__guide-platform {
    display: none;
}

.page-download__guide-platform--active {
    display: block;
}

.page-download__guide-subtitle {
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 30px;
    color: #E53935;
    text-align: center;
}

.page-download__step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-items: center;
}

.page-download__step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    border: 1px solid #E0E0E0; /* Border color */
    border-radius: 8px;
}

.page-download__qr-code,
.page-download__step-image {
    width: 100%;
    max-width: 250px; /* QR codes can be smaller, but min 200px */
    height: auto;
    margin-bottom: 15px;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
    object-fit: contain;
}

.page-download__step-text {
    font-size: 1em;
    line-height: 1.5;
    margin-bottom: 15px;
    color: #333333;
}

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

.page-download__version-card {
    background-color: #FFFFFF; /* Card BG */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.page-download__version-title {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 10px;
    color: #E53935;
}

.page-download__version-text {
    font-size: 0.95em;
    line-height: 1.5;
    color: #333333;
}

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

.page-download__why-choose-item {
    background-color: #FFFFFF; /* Card BG */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.page-download__why-choose-subtitle {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 10px;
    color: #E53935;
}

.page-download__why-choose-text {
    font-size: 1em;
    line-height: 1.5;
    color: #333333;
}

.page-download__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-download__faq-item {
    background-color: #FFFFFF; /* Card BG */
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.page-download__faq-question {
    font-size: 1.1em;
    font-weight: 600;
    padding: 20px;
    cursor: pointer;
    background-color: #F8F8F8;
    border-bottom: 1px solid #E0E0E0;
    color: #333333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-download__faq-question::after {
    content: '+';
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.page-download__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-download__faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    color: #333333;
}

.page-download__faq-answer.active {
    max-height: 200px; /* Adjust as needed for content */
    padding: 20px;
}

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

.page-download__cta-final-section {
    background-color: #100224; /* Dark background for final CTA */
    color: #FFFFFF;
    padding: 60px 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.page-download__cta-final-description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #E0E0E0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-download__hero-section {
        padding: 10px 15px 30px;
    }

    .page-download__hero-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
    }

    .page-download__hero-description {
        font-size: 1em;
    }

    .page-download__cta-group {
        flex-direction: column;
        gap: 15px;
    }

    .page-download__cta-button,
    .page-download__cta-secondary-button {
        width: 100%;
        max-width: 300px; /* Limit width on smaller screens */
    }

    .page-download__section-title {
        font-size: clamp(1.5em, 5vw, 2em);
    }

    .page-download__benefits-section,
    .page-download__guide-section,
    .page-download__versions-section,
    .page-download__why-choose-section,
    .page-download__faq-section,
    .page-download__cta-final-section {
        padding: 40px 15px;
    }

    .page-download__guide-tabs {
        flex-direction: column;
        align-items: center;
    }

    .page-download__tab-button {
        width: 100%;
        max-width: 200px;
    }

    .page-download__guide-content {
        padding: 30px 15px;
    }

    .page-download__guide-subtitle {
        font-size: 1.5em;
    }

    .page-download__step-grid {
        grid-template-columns: 1fr;
    }

    .page-download__qr-code,
    .page-download__step-image {
        max-width: 100%; /* Images should not overflow */
        min-width: 200px; /* Ensure minimum size */
        min-height: 200px;
    }

    /* Mobile content area image overflow prevention */
    .page-download img {
        max-width: 100%;
        height: auto;
    }

    /* Ensure no CSS rules contradict HTML width/height attributes for images */
    .page-download__hero-image {
        width: 100%; /* Override max-width for hero image to fill */
        height: auto;
    }
}

/* Ensure content area images maintain minimum size and don't overflow */
.page-download__benefits-section img,
.page-download__guide-section img,
.page-download__versions-section img,
.page-download__why-choose-section img {
    min-width: 200px;
    min-height: 200px;
    width: 100%; /* Ensure responsiveness */
    height: auto;
    object-fit: cover; /* or contain, depending on desired visual */
}