.page-download {
    background-color: #F4F7FB;
    color: #1F2D3D;
    padding-top: 10px; /* Small top padding for first section */
}

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

.page-download__hero-section {
    position: relative;
    overflow: hidden;
    background-color: #2F6BFF;
    display: flex;
    flex-direction: column; /* Default to column for mobile first */
    align-items: center;
    padding: 0 20px 40px;
    text-align: center;
}

.page-download__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16/9; /* Responsive aspect ratio */
    max-width: 1920px; /* Ensure it doesn't stretch too wide */
    margin-bottom: 20px; /* Space between image and content */
}

.page-download__hero-content {
    position: relative; /* Ensure text is above background but not overlapping image */
    z-index: 2;
    max-width: 800px;
    color: #FFFFFF;
}

.page-download__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    margin-bottom: 15px;
    max-width: 600px; /* Constraint for title length */
    margin-left: auto;
    margin-right: auto;
    /* No fixed font-size, rely on clamp if needed, but per rule, no fixed large size */
}

.page-download__hero-description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-download__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-download__cta-button:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
}

.page-download__section-title {
    font-size: 2.2em;
    font-weight: 700;
    color: #1F2D3D;
    text-align: center;
    margin-bottom: 40px;
    margin-top: 60px;
}

.page-download__introduction-section,
.page-download__guide-section,
.page-download__features-section,
.page-download__faq-section {
    padding: 60px 0;
}

.page-download__text-content {
    font-size: 1.05em;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
    color: #1F2D3D;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-download__guide-steps {
    display: grid;
    grid-template-columns: 1fr; /* Single column for mobile */
    gap: 30px;
    margin-top: 40px;
}

.page-download__guide-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid #D6E2FF;
}

.page-download__card-title {
    font-size: 1.6em;
    font-weight: 600;
    color: #2F6BFF;
    margin-bottom: 20px;
}

.page-download__card-image {
    width: 100%;
    max-width: 400px; /* Constrain image width */
    height: auto;
    display: block;
    margin: 0 auto 25px;
    border-radius: 8px;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px;
    object-fit: contain; /* Ensure QR code is fully visible */
}

.page-download__step-list {
    list-style-type: decimal;
    padding-left: 25px;
    text-align: left;
    margin-bottom: 30px;
    color: #1F2D3D;
}

.page-download__step-list li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.page-download__download-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-download__download-button:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
}

.page-download__note-text {
    text-align: center;
    margin-top: 40px;
    font-style: italic;
    color: #1F2D3D;
}

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

.page-download__feature-item {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid #D6E2FF;
}

.page-download__feature-icon {
    width: 100%;
    max-width: 300px; /* Feature icons can be slightly smaller but still >200px */
    height: auto;
    display: block;
    margin: 0 auto 20px;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px;
    object-fit: contain;
}

.page-download__feature-title {
    font-size: 1.4em;
    font-weight: 600;
    color: #2F6BFF;
    margin-bottom: 15px;
}

.page-download__feature-description {
    font-size: 1em;
    line-height: 1.6;
    color: #1F2D3D;
}

.page-download__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-download__faq-item {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 25px 30px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid #D6E2FF;
}

.page-download__faq-question {
    font-size: 1.2em;
    font-weight: 600;
    color: #1F2D3D;
    margin-bottom: 10px;
    cursor: pointer; /* Indicate it's clickable for JS toggle */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-download__faq-question::after {
    content: '+';
    font-size: 1.5em;
    line-height: 1;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

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

.page-download__faq-answer {
    font-size: 1em;
    line-height: 1.6;
    color: #1F2D3D;
    display: none; /* Hidden by default, shown by JS */
    padding-top: 10px;
}

/* Media Queries for Responsiveness */
@media (min-width: 769px) {
    .page-download__hero-section {
        flex-direction: row; /* Desktop: image and text side-by-side or image then text */
        text-align: left;
        padding: 60px 20px 80px;
        justify-content: center;
        align-items: flex-start; /* Align items to top */
    }

    .page-download__hero-image {
        max-width: 50%; /* Image takes half width */
        margin-right: 40px; /* Space between image and content */
        margin-bottom: 0;
        aspect-ratio: 16/9;
    }

    .page-download__hero-content {
        max-width: 50%; /* Content takes half width */
        text-align: left;
    }

    .page-download__main-title {
        font-size: clamp(2em, 4vw, 3.5em); /* Use clamp for H1 */
        margin-left: 0;
        margin-right: 0;
    }

    .page-download__hero-description {
        margin-left: 0;
        margin-right: 0;
    }

    .page-download__guide-steps {
        grid-template-columns: 1fr 1fr; /* Two columns for desktop */
    }
}

@media (max-width: 768px) {
    .page-download__hero-image,
    .page-download__card-image,
    .page-download__feature-icon {
        max-width: 100%;
        height: auto;
    }

    .page-download__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em); /* Smaller clamp for mobile H1 */
    }

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

    .page-download__text-content {
        font-size: 1em;
    }

    .page-download__cta-button,
    .page-download__download-button {
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-download__hero-section {
        padding: 20px;
    }

    .page-download__introduction-section,
    .page-download__guide-section,
    .page-download__features-section,
    .page-download__faq-section {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .page-download__container {
        padding: 15px;
    }

    .page-download__section-title {
        font-size: 1.6em;
        margin-bottom: 30px;
    }

    .page-download__main-title {
        font-size: clamp(1.6em, 9vw, 2em);
    }

    .page-download__guide-card,
    .page-download__feature-item,
    .page-download__faq-item {
        padding: 20px;
    }

    .page-download__card-title,
    .page-download__feature-title {
        font-size: 1.3em;
    }

    .page-download__faq-question {
        font-size: 1.1em;
    }
}