/* style/download.css */
.page-download {
    background-color: #F4F7FB; /* Background color */
    color: #1F2D3D; /* Text Main color */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 40px; /* Add some padding at the bottom */
}

.page-download__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 20px 40px; /* Small top padding, then more */
    max-width: 1390px; /* Match global content width */
    margin: 0 auto;
    gap: 30px; /* Spacing between image and content */
}

.page-download__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Example max-width for the hero image container */
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.page-download__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-download__hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-download__main-title {
    color: #000000; /* Custom Color_1776249996415 */
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    /* Using clamp for H1 font-size as per instructions */
    font-size: clamp(2.2rem, 4vw, 3.2rem); /* Min 2.2rem, preferred 4vw, max 3.2rem */
    letter-spacing: -0.02em;
}

.page-download__description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #1F2D3D; /* Text Main color */
}

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

.page-download__btn {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
    color: #FFFFFF;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Ensure button minimum width */
    justify-content: center;
}

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

.page-download__btn-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Using pseudo-elements for icons to avoid "small icon" image rule */
/* Assuming Font Awesome 6 Brands is available (e.g., via shared.css or CDN) */
.page-download__btn-icon--apple::before {
    content: "\F179"; /* Unicode for Apple icon */
    font-family: 'Font Awesome 6 Brands';
    font-size: 24px;
    line-height: 1;
}

.page-download__btn-icon--android::before {
    content: "\F17B"; /* Unicode for Android icon */
    font-family: 'Font Awesome 6 Brands';
    font-size: 24px;
    line-height: 1;
}

.page-download__btn--large {
    padding: 18px 40px;
    font-size: 1.2rem;
    min-width: 250px;
}

.page-download__section-title {
    color: #000000; /* Custom Color_1776249996415 */
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: bold;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 40px;
    line-height: 1.3;
}

.page-download__features-section,
.page-download__how-to-download-section,
.page-download__requirements-section,
.page-download__faq-section,
.page-download__cta-section {
    max-width: 1200px; /* Content max-width */
    margin: 0 auto;
    padding: 20px;
}

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

.page-download__feature-card {
    background-color: #FFFFFF; /* Card BG color */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #D6E2FF; /* Border color */
}

.page-download__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.page-download__feature-icon {
    width: 100%;
    max-width: 200px; /* Ensure icon-like images are still large enough */
    height: auto;
    margin-bottom: 20px;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px;
}

.page-download__card-title {
    color: #000000; /* Custom Color_1776249996415 */
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-download__card-text {
    font-size: 1rem;
    color: #1F2D3D; /* Text Main color */
}

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

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

.page-download__platform-title {
    color: #000000; /* Custom Color_1776249996415 */
    font-size: 1.6rem;
    margin-bottom: 25px;
    font-weight: bold;
}

.page-download__qr-code {
    width: 250px;
    height: 250px;
    display: block;
    margin: 0 auto 25px;
    border: 1px solid #D6E2FF; /* Border color */
    border-radius: 8px;
    object-fit: contain;
}

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

.page-download__steps-list li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%232F6BFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"></path><polyline points="22 4 12 14.01 9 11.01"></polyline></svg>') no-repeat left center;
    background-size: 20px;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: #1F2D3D; /* Text Main color */
}

.page-download__platform-requirements {
    background-color: #FFFFFF; /* Card BG color */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    border: 1px solid #D6E2FF; /* Border color */
}

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

.page-download__platform-subtitle {
    color: #000000; /* Custom Color_1776249996415 */
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: bold;
    text-align: center;
}

.page-download__requirements-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.page-download__requirements-list li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="%236FA3FF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><line x1="12" y1="16" x2="12" y2="12"></line><line x1="12" y1="8" x2="12.01" y2="8"></line></svg>') no-repeat left center;
    background-size: 18px;
    padding-left: 28px;
    margin-bottom: 10px;
    font-size: 1rem;
    color: #1F2D3D; /* Text Main color */
}

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

.page-download__faq-question {
    color: #000000; /* Custom Color_1776249996415 */
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    cursor: pointer; /* Implies expand/collapse behavior */
    position: relative;
    padding-right: 30px; /* Space for arrow icon */
}

.page-download__faq-question::after {
    content: '\25BC'; /* Down arrow */
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    color: #2F6BFF; /* Main color for icon */
}

.page-download__faq-question--active::after {
    transform: translateY(-50%) rotate(180deg); /* Up arrow when active */
}

.page-download__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding-top 0.3s ease-out;
    padding-top: 0;
    color: #1F2D3D; /* Text Main color */
}

.page-download__cta-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #FFFFFF; /* Card BG color */
    border-radius: 12px;
    margin-top: 60px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    border: 1px solid #D6E2FF; /* Border color */
}

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

    .page-download__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

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

    .page-download__download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .page-download__btn {
        width: 100%;
        max-width: 300px;
        font-size: 1rem;
        padding: 12px 20px;
    }

    .page-download__btn--large {
        width: 100%;
        max-width: 300px;
        font-size: 1.1rem;
        padding: 15px 25px;
    }

    .page-download__section-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
        margin-top: 40px;
        margin-bottom: 30px;
    }

    .page-download__features-grid,
    .page-download__download-steps-grid,
    .page-download__requirements-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-download__features-section,
    .page-download__how-to-download-section,
    .page-download__requirements-section,
    .page-download__faq-section,
    .page-download__cta-section {
        padding: 15px;
    }

    /* Mobile content area image constraint */
    .page-download img {
        max-width: 100%;
        height: auto;
    }
    /* Ensure content area images are not too small */
    .page-download__feature-icon,
    .page-download__qr-code {
        min-width: 200px;
        min-height: 200px;
    }
}