.page-download {
    background-color: #F4F7FB;
    color: #1F2D3D;
    font-family: Arial, sans-serif;
}

.page-download__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 10px; /* Small top padding */
    padding-bottom: 40px;
    background-color: #2F6BFF;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.page-download__hero-image {
    width: 100%;
    max-width: 1920px; /* Max width for the image */
    height: auto;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-download__hero-content {
    max-width: 800px;
    padding: 0 20px;
    position: relative; /* Ensure content is above image if z-index is ever messed up */
    z-index: 1;
}

.page-download__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
    color: #FFFFFF;
    max-width: 100%; /* Ensure H1 doesn't overflow */
}

.page-download__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #FFFFFF;
}

.page-download__cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    min-width: 150px;
}

.page-download__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-download__benefits-section,
.page-download__platform-section,
.page-download__system-requirements,
.page-download__faq-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.page-download__section-title {
    font-size: 2.2em;
    color: #1F2D3D;
    margin-bottom: 40px;
    font-weight: bold;
}

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

.page-download__benefit-card,
.page-download__platform-card {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid #D6E2FF;
}

.page-download__benefit-icon {
    width: 250px; /* Enforce min size */
    height: 187px; /* Enforce min size, assuming 4:3 aspect */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-download__card-title,
.page-download__platform-title,
.page-download__requirement-title,
.page-download__faq-question {
    font-size: 1.4em;
    color: #000000;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-download__card-text,
.page-download__instruction-list li,
.page-download__requirement-item ul li,
.page-download__faq-answer {
    font-size: 1em;
    color: #1F2D3D;
    line-height: 1.6;
}

.page-download__qr-code {
    width: 250px; /* Enforce min size */
    height: 250px; /* Enforce min size */
    object-fit: contain;
    margin: 20px auto;
    border: 1px solid #D6E2FF;
    border-radius: 8px;
}

.page-download__instruction-list {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 25px;
}

.page-download__instruction-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.page-download__instruction-list li::before {
    content: attr(data-counter);
    counter-increment: instruction-counter;
    content: counter(instruction-counter) ".";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
    color: #2F6BFF;
}

.page-download__platform-button {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    margin-top: 15px;
    transition: background 0.3s ease;
}

.page-download__platform-button:hover {
    background: linear-gradient(180deg, #6FA3FF 0%, #4A8BFF 100%);
}

.page-download__system-requirements {
    background-color: #F4F7FB;
}

.page-download__requirements-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.page-download__requirement-item {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
    flex: 1;
    min-width: 280px;
    max-width: 45%;
    border: 1px solid #D6E2FF;
}

.page-download__requirement-item ul {
    list-style: disc;
    padding-left: 20px;
}

.page-download__requirement-item ul li {
    margin-bottom: 8px;
}

.page-download__faq-section {
    background-color: #FFFFFF;
    border-top: 1px solid #D6E2FF;
}

.page-download__faq-item {
    text-align: left;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #D6E2FF;
}

.page-download__faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.page-download__faq-question {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #000000;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.page-download__faq-question::after {
    content: '+';
    font-size: 1.5em;
    color: #2F6BFF;
    transition: transform 0.3s ease;
}

/* Example for toggling answer visibility, JS would handle this */
/* .page-download__faq-question.active::after { transform: rotate(45deg); } */
/* .page-download__faq-answer { display: none; } */
/* .page-download__faq-question.active + .page-download__faq-answer { display: block; } */

@media (max-width: 768px) {
    .page-download__hero-section {
        padding-bottom: 30px;
    }

    .page-download__main-title {
        font-size: 1.8em;
    }

    .page-download__description {
        font-size: 1em;
    }

    .page-download__section-title {
        font-size: 1.8em;
    }

    .page-download__benefits-grid,
    .page-download__platform-grid {
        grid-template-columns: 1fr;
    }

    .page-download__benefits-section,
    .page-download__platform-section,
    .page-download__system-requirements,
    .page-download__faq-section {
        padding: 40px 15px;
    }

    .page-download__requirement-item {
        max-width: 100%;
    }

    .page-download__hero-image,
    .page-download__benefit-icon,
    .page-download__qr-code {
        max-width: 100%;
        height: auto;
    }

    /* Enforce mobile image overflow rule */
    .page-download img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-download__main-title {
        font-size: 1.5em;
    }

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

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

    .page-download__card-title,
    .page-download__platform-title,
    .page-download__requirement-title,
    .page-download__faq-question {
        font-size: 1.1em;
    }

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

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