.page-download {
    color: #ffffff; /* Default text color for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

/* --- Hero Section --- */
.page-download__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    background: #000000; /* Use auxiliary color as background */
    color: #ffffff;
    padding-top: 0; /* Assuming shared.css handles body padding-top */
}

.page-download__hero-content {
    text-align: center;
    max-width: 800px;
    margin-bottom: 40px;
    padding: 0 20px;
}

.page-download__hero-title {
    font-size: 48px;
    font-weight: bold;
    color: #FF0000; /* Brand color for title */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-download__hero-description {
    font-size: 18px;
    margin-bottom: 30px;
    color: #f0f0f0;
}

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

.page-download__btn-primary,
.page-download__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    max-width: 100%; /* For mobile responsiveness */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-download__btn-primary {
    background: #FF0000; /* Primary brand color */
    color: #ffffff;
    border: 2px solid #FF0000;
}

.page-download__btn-primary:hover {
    background: #e60000;
    border-color: #e60000;
    transform: translateY(-2px);
}

.page-download__btn-secondary {
    background: transparent;
    color: #FF0000; /* Primary brand color for text */
    border: 2px solid #FF0000;
}

.page-download__btn-secondary:hover {
    background: #FF0000;
    color: #ffffff;
    transform: translateY(-2px);
}

.page-download__qr-code {
    text-align: center;
    margin-top: 20px;
}

.page-download__qr-code img {
    width: 250px;
    height: 250px;
    border: 5px solid #ffffff;
    border-radius: 10px;
    object-fit: contain;
    display: block;
    margin: 0 auto 15px auto;
}

.page-download__qr-code p {
    font-size: 16px;
    color: #f0f0f0;
}

.page-download__hero-image-wrapper {
    width: 100%;
    max-width: 900px;
    margin-top: 40px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

/* --- General Section Styles --- */
.page-download__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #FF0000; /* Brand color for section titles */
}

.page-download__dark-section {
    background: #000000; /* Auxiliary color as background */
    padding: 80px 0;
    color: #ffffff;
}

.page-download__light-section {
    background: #1a1a1a; /* Slightly lighter dark background for contrast */
    padding: 80px 0;
    color: #ffffff;
}

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

.page-download__benefit-card {
    background: rgba(255, 255, 255, 0.05); /* Slightly transparent white for card background */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-download__benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-download__benefit-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-download__benefit-card h3 {
    font-size: 24px;
    color: #FF0000;
    margin-bottom: 15px;
}

.page-download__benefit-card p {
    font-size: 16px;
    color: #e0e0e0;
}

/* --- How to Download Section --- */
.page-download__platform-guide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.page-download__guide-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-download__guide-title {
    font-size: 28px;
    color: #FF0000;
    margin-bottom: 25px;
    text-align: center;
}

.page-download__guide-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
    display: block;
}

.page-download__guide-card ol {
    list-style-type: decimal;
    padding-left: 25px;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.page-download__guide-card ol li {
    margin-bottom: 10px;
    font-size: 16px;
}

.page-download__guide-card ol li strong {
    color: #ffffff;
}

.page-download__guide-card .page-download__btn-primary {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

/* --- System Requirements Section --- */
.page-download__requirements-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.page-download__requirement-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-download__requirement-item h3 {
    font-size: 24px;
    color: #FF0000;
    margin-bottom: 20px;
    text-align: center;
}

.page-download__requirement-item ul {
    list-style-type: disc;
    padding-left: 25px;
    color: #e0e0e0;
}

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

/* --- FAQ Section --- */
.page-download__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-download__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-download__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
    position: relative;
}

.page-download__faq-question:hover {
    background: rgba(255, 255, 255, 0.12);
}

.page-download__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: #ffffff;
    pointer-events: none;
}

.page-download__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: #FF0000;
    transition: color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.page-download__faq-item.active .page-download__faq-toggle {
    color: #ffffff;
}

.page-download__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    color: #e0e0e0;
}

.page-download__faq-item.active .page-download__faq-answer {
    max-height: 2000px !important; /* Sufficiently large */
    padding: 20px 25px !important;
    opacity: 1;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0 0 8px 8px;
}

.page-download__faq-answer p {
    margin: 0;
    font-size: 16px;
}

/* --- CTA Section --- */
.page-download__cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-download__cta-content .page-download__section-title {
    margin-bottom: 20px;
}

.page-download__cta-content p {
    font-size: 18px;
    margin-bottom: 40px;
    color: #f0f0f0;
}

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

/* --- Responsive Design (Tablet) --- */
@media (max-width: 1024px) {
    .page-download__hero-title {
        font-size: 40px;
    }
    .page-download__section-title {
        font-size: 32px;
    }
    .page-download__platform-guide {
        grid-template-columns: 1fr;
    }
    .page-download__requirements-list {
        grid-template-columns: 1fr;
    }
    .page-download__hero-image-wrapper {
        max-width: 700px;
    }
}

/* --- Responsive Design (Mobile) --- */
@media (max-width: 768px) {
    /* General responsive adjustments */
    .page-download {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-download__container {
        padding: 0 15px;
    }

    /* HERO 主图区域 */
    .page-download__hero-section {
        padding: 40px 0;
        padding-top: 0 !important; /* Ensure no double padding from shared */
    }
    .page-download__hero-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-download__hero-description {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .page-download__download-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%; /* Ensure buttons take full width */
        padding: 0 15px;
        box-sizing: border-box;
    }
    /* 按钮与按钮容器 */
    .page-download__btn-primary,
    .page-download__btn-secondary {
        width: 100% !important; /* Force full width */
        max-width: 100% !important; /* Force full width */
        padding: 12px 20px;
        font-size: 16px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-download__qr-code img {
        width: 200px;
        height: 200px;
    }
    .page-download__hero-image-wrapper {
        margin-top: 30px;
    }

    /* General Section Titles */
    .page-download__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-download__dark-section,
    .page-download__light-section {
        padding: 50px 0;
    }

    /* Benefits Section */
    .page-download__benefits-grid {
        gap: 20px;
    }
    .page-download__benefit-card {
        padding: 20px;
    }
    .page-download__benefit-card img {
        
        margin-bottom: 15px;
    }
    .page-download__benefit-card h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .page-download__benefit-card p {
        font-size: 15px;
    }

    /* How to Download Section */
    .page-download__platform-guide {
        gap: 30px;
    }
    .page-download__guide-card {
        padding: 25px;
    }
    .page-download__guide-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    .page-download__guide-card img {
        height: 250px;
        margin-bottom: 20px;
    }
    .page-download__guide-card ol {
        padding-left: 20px;
        margin-bottom: 25px;
    }
    .page-download__guide-card ol li {
        font-size: 15px;
        margin-bottom: 8px;
    }
    .page-download__guide-card .page-download__btn-primary {
        padding: 12px 20px;
        font-size: 16px;
    }

    /* System Requirements Section */
    .page-download__requirements-list {
        gap: 20px;
    }
    .page-download__requirement-item {
        padding: 25px;
    }
    .page-download__requirement-item h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    .page-download__requirement-item ul {
        padding-left: 20px;
    }
    .page-download__requirement-item ul li {
        font-size: 15px;
    }

    /* FAQ Section */
    .page-download__faq-list {
        max-width: 100%;
    }
    .page-download__faq-item {
        margin-bottom: 10px;
    }
    .page-download__faq-question {
        padding: 15px 20px;
    }
    .page-download__faq-question h3 {
        font-size: 16px;
    }
    .page-download__faq-toggle {
        font-size: 24px;
        width: 28px;
        height: 28px;
    }
    .page-download__faq-answer {
        padding: 0 20px;
    }
    .page-download__faq-item.active .page-download__faq-answer {
        padding: 15px 20px !important;
    }
    .page-download__faq-answer p {
        font-size: 15px;
    }

    /* CTA Section */
    .page-download__cta-content .page-download__section-title {
        font-size: 28px;
    }
    .page-download__cta-content p {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-download__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    /* 通用图片与容器 */
    .page-download img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-download__section,
    .page-download__card,
    .page-download__container,
    .page-download__hero-section,
    .page-download__benefits-section,
    .page-download__how-to-download,
    .page-download__system-requirements,
    .page-download__faq-section,
    .page-download__cta-section,
    .page-download__hero-image-wrapper,
    .page-download__benefit-card,
    .page-download__guide-card,
    .page-download__requirement-item,
    .page-download__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    /* Ensure no horizontal scroll for the main content area */
    .page-download {
        overflow-x: hidden;
    }
}