.page-download {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #1F2D3D; /* Use custom text color Text Main */
}

/* General container styles */
.page-download__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Section titles */
.page-download__section-title {
    font-size: clamp(28px, 4vw, 38px);
    color: #1F2D3D; /* Use custom text color Text Main */
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-download__section-description {
    font-size: clamp(16px, 2vw, 18px);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #1F2D3D; /* Use custom text color Text Main */
}

/* Hero Section */
.page-download__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, assuming body has header offset */
    padding-bottom: 60px;
    background: #F4F7FB; /* Use custom background color */
    position: relative;
    overflow: hidden;
}

.page-download__hero-image {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-download__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Default cover, adjusted for mobile */
}

.page-download__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.page-download__main-title {
    font-size: clamp(32px, 5vw, 50px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1F2D3D; /* Use custom text color Text Main */
}

.page-download__hero-description {
    font-size: clamp(18px, 2.5vw, 22px);
    margin-bottom: 40px;
    color: #1F2D3D; /* Use custom text color Text Main */
}

.page-download__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.page-download__btn-primary,
.page-download__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    min-width: 180px;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-download__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

.page-download__btn-primary:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
    transform: translateY(-2px);
}

.page-download__btn-secondary {
    background: #ffffff;
    color: #2F6BFF;
    border: 2px solid #2F6BFF;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-download__btn-secondary:hover {
    background: #f0f5ff;
    color: #1F2D3D;
    border-color: #4A8BFF;
    transform: translateY(-2px);
}

/* Features Section */
.page-download__features-section {
    padding: 80px 0;
    background: #FFFFFF; /* Use custom card background for light section */
}

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

.page-download__feature-card {
    background: #FFFFFF;
    border: 1px solid #D6E2FF; /* Use custom border color */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-download__feature-card img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 20px;
    border-radius: 8px;
    min-width: 200px;
    min-height: 200px;
}

.page-download__card-title {
    font-size: 22px;
    font-weight: 700;
    color: #1F2D3D; /* Use custom text color Text Main */
    margin-bottom: 15px;
}

/* How to Download Section */
.page-download__how-to-download {
    padding: 80px 0;
    background: #2F6BFF; /* Use main brand color for dark section */
    color: #ffffff;
}

.page-download__how-to-download .page-download__section-title,
.page-download__how-to-download .page-download__section-description {
    color: #ffffff;
}

.page-download__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 0 20px;
}

.page-download__step-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent white card for dark section */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-download__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ffffff;
    color: #2F6BFF;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-download__step-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.page-download__step-item p {
    font-size: 16px;
    color: #e0e0e0;
}

.page-download__qr-code {
    max-width: 250px;
    height: auto;
    display: block;
    margin: 20px auto 0;
    border-radius: 5px;
    background: #ffffff;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    min-width: 200px;
    min-height: 200px;
}

.page-download__step-item img:not(.page-download__qr-code) {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto 0;
    border-radius: 8px;
    min-width: 200px;
    min-height: 200px;
}

.page-download__disclaimer {
    font-size: 14px;
    color: #A5C4FF; /* Use glow color for disclaimer */
    text-align: center;
    margin-top: 40px;
    padding: 0 20px;
}

/* Supported Devices Section */
.page-download__supported-devices {
    padding: 80px 0;
    background: #FFFFFF;
}

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

.page-download__device-card {
    background: #FFFFFF;
    border: 1px solid #D6E2FF; /* Use custom border color */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-download__device-card img {
    max-width: 250px; /* Adjusted to be >= 200px */
    height: auto;
    display: block;
    margin: 0 auto 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-download__compatibility-note {
    font-size: 16px;
    text-align: center;
    margin-top: 40px;
    color: #1F2D3D; /* Use custom text color Text Main */
}

/* Security Info Section */
.page-download__security-info {
    padding: 80px 0;
    background: #2F6BFF;
    color: #ffffff;
}

.page-download__security-info .page-download__section-title,
.page-download__security-info .page-download__section-description {
    color: #ffffff;
}

.page-download__security-list {
    max-width: 800px;
    margin: 0 auto;
    list-style: none;
    padding: 0 20px;
}

.page-download__security-list li {
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    font-size: 17px;
    line-height: 1.8;
    color: #e0e0e0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-download__list-highlight {
    color: #ffffff;
    font-weight: 700;
}

/* FAQ Section */
.page-download__faq-section {
    padding: 80px 0;
    background: #FFFFFF;
}

.page-download__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #D6E2FF; /* Use custom border color */
    overflow: hidden;
    background: #FFFFFF;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
details.page-download__faq-item summary.page-download__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-download__faq-item summary.page-download__faq-question::-webkit-details-marker {
  display: none;
}
details.page-download__faq-item summary.page-download__faq-question:hover {
  background: #f5f5f5;
}
.page-download__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D; /* Use custom text color Text Main */
}
.page-download__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-download__faq-item .page-download__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #1F2D3D; /* Use custom text color Text Main */
}

/* CTA Bottom Section */
.page-download__cta-bottom {
    padding: 80px 0;
    background: #2F6BFF;
    color: #ffffff;
    text-align: center;
}

.page-download__cta-bottom .page-download__section-title,
.page-download__cta-bottom .page-download__section-description {
    color: #ffffff;
}

/* Global image responsive styles */
.page-download img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
    .page-download__hero-image {
        max-width: 90%;
    }
    .page-download__features-grid,
    .page-download__steps-grid,
    .page-download__device-support-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
    .page-download__btn-primary,
    .page-download__btn-secondary {
        font-size: 16px;
        padding: 12px 25px;
    }
    .page-download__main-title {
        font-size: clamp(30px, 4.5vw, 45px);
    }
    .page-download__hero-description {
        font-size: clamp(17px, 2.2vw, 20px);
    }
}

@media (max-width: 768px) {
    /* General mobile adjustments */
    .page-download__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-download__section-title {
        font-size: clamp(24px, 6vw, 32px);
        padding: 0 10px;
    }
    .page-download__section-description {
        font-size: clamp(15px, 4vw, 17px);
        margin-bottom: 30px;
        padding: 0 10px;
    }

    /* HERO 主图区域 */
    .page-download__hero-section {
        padding-top: 10px;
        padding-bottom: 40px;
    }
    .page-download__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        border-radius: 0;
        box-shadow: none;
        margin-bottom: 20px;
    }
    .page-download__hero-image img {
        object-fit: contain !important;
        aspect-ratio: unset !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-download__main-title {
        font-size: clamp(28px, 7vw, 38px);
        padding: 0 10px;
    }
    .page-download__hero-description {
        font-size: clamp(16px, 4.5vw, 18px);
        padding: 0 10px;
    }
    .page-download__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 15px;
        box-sizing: border-box !important;
    }
    .page-download__btn-primary,
    .page-download__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        font-size: 16px;
        padding: 12px 15px;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* 产品展示图区域 (Not applicable for download page, but general grid rule) */
    .page-download__features-grid,
    .page-download__steps-grid,
    .page-download__device-support-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden;
    }
    .page-download__feature-card,
    .page-download__step-item,
    .page-download__device-card {
        padding: 20px;
    }
    .page-download__feature-card img,
    .page-download__step-item img,
    .page-download__device-card img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .page-download__qr-code {
        max-width: 200px !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    /* 装饰主标题 + 长文 SEO 区 */
    .page-download__section-title-wrap,
    .page-download__article-body { /* Assuming these classes for long text sections */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        text-align: center;
    }
    .page-download__article-body p {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-download__article-figure { /* For figures within long text */
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin: 20px auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    /* 通用图片与容器 */
    .page-download img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .page-download__section,
    .page-download__card,
    .page-download__box {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* FAQ */
    details.page-download__faq-item summary.page-download__faq-question { padding: 15px; }
    .page-download__faq-qtext { font-size: 15px; }
    details.page-download__faq-item .page-download__faq-answer { padding: 0 15px 15px; }
}