/* ============================================================
   QuickQ 下载页 · 现代化重设计
   文件：static/css/download.css
   ============================================================ */

.main-download {
    --dl-bg-base: #080c17;
    --dl-bg-dark: #0b1220;
    --dl-bg-card: #0f1830;
    --dl-border: rgba(255, 255, 255, 0.07);
    --dl-border-strong: rgba(255, 255, 255, 0.12);
    --dl-primary: #4f7cff;
    --dl-primary-dark: #2c58d9;
    --dl-accent: #6b9bff;
    --dl-cyan: #22d3ee;
    --dl-green: #4ade80;
    --dl-gold: #f5a623;
    --dl-text: #e6ecf7;
    --dl-text-muted: #98a4bc;
    --dl-text-dim: #5f6c85;
    --dl-radius: 16px;
    --dl-radius-sm: 10px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================================
   1. 面包屑
   ============================================================ */
.main-download .breadcrumb-nav {
    background: var(--dl-bg-base);
    border-bottom: 1px solid var(--dl-border);
    padding: 0.8rem 0;
    font-size: 0.8rem;
}
.main-download .breadcrumb-nav .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.main-download .breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    color: var(--dl-text-dim);
}
.main-download .breadcrumb-list a {
    color: var(--dl-text-muted);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.2s;
}
.main-download .breadcrumb-list a:hover { color: var(--dl-accent); }
.main-download .breadcrumb-list a i { font-size: 0.7rem; }
.main-download .breadcrumb-list .sep {
    color: #334155;
    font-size: 0.6rem;
}
.main-download .breadcrumb-list li[aria-current="page"] {
    color: #fff;
    font-weight: 500;
}

/* ============================================================
   2. Hero 区
   ============================================================ */
.main-download .download-hero {
    position: relative;
    padding: 5rem 1.5rem 5rem;
    overflow: hidden;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, #101a35 0%, var(--dl-bg-base) 70%);
    isolation: isolate;
}
.main-download .glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    pointer-events: none;
    z-index: 0;
}
.main-download .glow-1 {
    width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(79, 124, 255, 0.32), transparent 70%);
    top: -180px; left: 8%;
    animation: dlFloatGlow 12s ease-in-out infinite;
}
.main-download .glow-2 {
    width: 460px; height: 460px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.18), transparent 70%);
    bottom: -200px; right: 5%;
    animation: dlFloatGlow 14s ease-in-out infinite reverse;
}
.main-download .glow-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(74, 222, 128, 0.10), transparent 70%);
    top: 30%; right: 40%;
    animation: dlFloatGlow 16s ease-in-out infinite;
}
@keyframes dlFloatGlow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(30px, -20px) scale(1.08); }
}

.main-download .grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
    z-index: 0;
    pointer-events: none;
}

.main-download .download-hero .container {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.main-download .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* 左侧文字 */
.main-download .hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    animation: dlFadeUp 0.8s ease both;
}

.main-download .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(79, 124, 255, 0.10);
    border: 1px solid rgba(79, 124, 255, 0.25);
    border-radius: 999px;
    padding: 0.4rem 1.1rem 0.4rem 0.75rem;
    font-size: 0.78rem;
    color: var(--dl-accent);
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 1.4rem;
    backdrop-filter: blur(10px);
}
.main-download .pulse-dot {
    display: inline-block;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--dl-green);
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
    animation: dlPulseDot 2s infinite;
}
@keyframes dlPulseDot {
    0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); }
    70%  { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.main-download .hero-left h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.035em;
    margin: 0 0 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.main-download .gradient-text {
    background: linear-gradient(135deg, #6b9bff 0%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 24px rgba(79, 124, 255, 0.25));
}
.main-download .hero-left h1 .h1-line2 {
    font-size: 0.55em;
    font-weight: 700;
    color: var(--dl-text);
    letter-spacing: -0.02em;
    opacity: 0.85;
}

.main-download .sub-headline {
    color: var(--dl-text-muted);
    font-size: clamp(0.95rem, 1.1vw, 1.1rem);
    line-height: 1.85;
    max-width: 560px;
    margin: 0 0 1.8rem;
}
.main-download .sub-headline strong { color: #fff; font-weight: 600; }

/* 版本条 */
.main-download .version-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    padding: 0.7rem 1.2rem;
    background: rgba(15, 24, 48, 0.55);
    border: 1px solid var(--dl-border-strong);
    border-radius: 999px;
    margin-bottom: 1.8rem;
    backdrop-filter: blur(10px);
}
.main-download .version-bar .tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--dl-text-muted);
    font-size: 0.78rem;
}
.main-download .version-bar .tag i {
    color: var(--dl-accent);
    font-size: 0.7rem;
}
.main-download .version-bar .tag strong {
    color: #fff;
    font-weight: 600;
}
.main-download .badge-green {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--dl-green);
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
}

/* 主按钮组 */
.main-download .hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 20px;
    margin-bottom: 1.6rem;
}
.main-download .hero-btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--dl-primary), var(--dl-primary-dark));
    color: #fff;
    padding: 14px 40px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 28px rgba(79, 124, 255, 0.35);
    letter-spacing: 0.3px;
}
.main-download .hero-btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(79, 124, 255, 0.5);
}
.main-download .hero-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--dl-text-muted);
    padding: 14px 32px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 1px solid var(--dl-border-strong);
    transition: all 0.3s ease;
}
.main-download .hero-btn-outline:hover {
    border-color: var(--dl-primary);
    background: rgba(79, 124, 255, 0.08);
    color: #fff;
    transform: translateY(-2px);
}

/* 信任行 */
.main-download .trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.4rem;
}
.main-download .trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--dl-text-dim);
    font-size: 0.78rem;
}
.main-download .trust-item i {
    color: var(--dl-green);
    font-size: 0.8rem;
}

/* 右侧图片 */
.main-download .hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: dlFadeUp 0.8s 0.2s ease both;
}
.main-download .hero-image-wrap {
    position: relative;
    width: 100%;
    max-width: 560px;
    border-radius: var(--dl-radius);
    overflow: hidden;
    /*border: 1px solid var(--dl-border-strong);*/
    /*box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(79, 124, 255, 0.1);
    /*background: linear-gradient(135deg, rgba(15, 24, 48, 0.6) 0%, rgba(15, 24, 48, 0.3) 100%);*/
    transform: perspective(1000px) rotateY(-2deg);
    transition: transform 0.5s cubic-bezier(0.34, 1.3, 0.64, 1);
}
.main-download .hero-image-wrap:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-4px);
}
.main-download .hero-image {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes dlFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   3. 下载统计
   ============================================================ */
.main-download .download-stats {
    background: var(--dl-bg-dark);
    border-top: 1px solid var(--dl-border);
    border-bottom: 1px solid var(--dl-border);
    padding: 2.5rem 1.5rem;
    position: relative;
    overflow: hidden;
}
.main-download .download-stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 100% at 50% 50%, rgba(79, 124, 255, 0.06), transparent 70%);
    pointer-events: none;
}
.main-download .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1080px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.main-download .stats-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.8rem 0.5rem;
    border-right: 1px solid var(--dl-border);
}
.main-download .stats-item:last-child { border-right: none; }
.main-download .stats-item .stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: 11px;
    background: rgba(79, 124, 255, 0.10);
    border: 1px solid rgba(79, 124, 255, 0.18);
    color: var(--dl-accent);
    font-size: 1rem;
    margin-bottom: 0.6rem;
}
.main-download .stats-item .number {
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    display: block;
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}
.main-download .stats-item .label {
    font-size: clamp(0.7rem, 0.8vw, 0.85rem);
    color: var(--dl-text-dim);
    display: block;
    margin-top: 0.2rem;
    letter-spacing: 0.2px;
}

/* ============================================================
   4. 平台下载卡片
   ============================================================ */
.main-download .download-platforms {
    background: var(--dl-bg-base);
    padding: 5rem 1.5rem;
    border-bottom: 1px solid var(--dl-border);
}
.main-download .download-platforms .container,
.main-download .system-section .container,
.main-download .steps-section .container,
.main-download .security-section .container,
.main-download .reviews-section .container,
.main-download .changelog-section .container,
.main-download .faq-section .container {
    max-width: 1240px;
    margin: 0 auto;
}

/* 通用 section header */
.main-download .section-header {
    text-align: center;
    margin-bottom: 2.8rem;
}
.main-download .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(79, 124, 255, 0.10);
    border: 1px solid rgba(79, 124, 255, 0.20);
    border-radius: 999px;
    padding: 0.3rem 0.95rem;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--dl-accent);
    letter-spacing: 0.5px;
    margin-bottom: 0.9rem;
}
.main-download .section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin: 0 0 0.6rem;
    line-height: 1.2;
}
.main-download .section-sub {
    color: var(--dl-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.main-download .download-flex {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.2rem;
}
.main-download .download-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.8rem 1.1rem 1.4rem;
    background: linear-gradient(180deg, rgba(15, 24, 48, 0.75) 0%, rgba(15, 24, 48, 0.45) 100%);
    backdrop-filter: blur(8px);
    border: 1px solid var(--dl-border-strong);
    border-radius: var(--dl-radius);
    text-align: center;
    transition: all 0.35s cubic-bezier(0.34, 1.3, 0.64, 1);
    overflow: hidden;
}
.main-download .download-card::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 60px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--dl-primary), transparent);
    opacity: 0.5;
    transition: opacity 0.3s;
}
.main-download .download-card:hover {
    transform: translateY(-6px);
    border-color: rgba(79, 124, 255, 0.40);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(79, 124, 255, 0.15);
}
.main-download .download-card:hover::before {
    opacity: 1;
}
.main-download .download-card .badge-hot {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--dl-accent);
    background: rgba(79, 124, 255, 0.14);
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(79, 124, 255, 0.20);
    letter-spacing: 0.2px;
}
.main-download .download-card .os-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px; height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(79, 124, 255, 0.18), rgba(34, 211, 238, 0.10));
    border: 1px solid rgba(79, 124, 255, 0.22);
    color: #8fb2ff;
    font-size: 1.9rem;
    margin-bottom: 1rem;
    transition: transform 0.3s;
}
.main-download .download-card:hover .os-icon {
    transform: scale(1.06);
}
.main-download .download-card .os-name {
    font-weight: 700;
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 0.15rem;
}
.main-download .download-card .os-version {
    font-size: 0.72rem;
    color: var(--dl-text-muted);
}
.main-download .download-card .os-size {
    font-size: 0.68rem;
    color: var(--dl-text-dim);
    margin-top: 0.15rem;
}
.main-download .download-card .btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--dl-primary), var(--dl-primary-dark));
    color: #fff;
    font-weight: 600;
    font-size: 0.82rem;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(79, 124, 255, 0.25);
    width: 100%;
    max-width: 140px;
    margin-top: 1rem;
}
.main-download .download-card .btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(79, 124, 255, 0.4);
}
.main-download .download-card .security-badge {
    font-size: 0.62rem;
    color: var(--dl-text-dim);
    margin-top: 0.7rem;
    display: flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.2px;
}
.main-download .download-card .security-badge i {
    color: var(--dl-green);
    font-size: 0.55rem;
}

.main-download .download-footnote {
    text-align: center;
    margin-top: 2.5rem;
    color: var(--dl-text-dim);
    font-size: 0.85rem;
}
.main-download .download-footnote i {
    color: var(--dl-green);
    margin-right: 4px;
}
.main-download .download-footnote a {
    color: var(--dl-accent);
    text-decoration: none;
    font-weight: 600;
}
.main-download .download-footnote a:hover {
    text-decoration: underline;
}

/* ============================================================
   5. 系统要求
   ============================================================ */
.main-download .system-section {
    background: var(--dl-bg-dark);
    padding: 5rem 1.5rem;
    border-bottom: 1px solid var(--dl-border);
}
.main-download .system-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.1rem;
    max-width: 1080px;
    margin: 0 auto;
}
.main-download .system-item {
    background: rgba(15, 24, 48, 0.50);
    border: 1px solid var(--dl-border-strong);
    border-radius: var(--dl-radius-sm);
    padding: 1.4rem 0.9rem;
    text-align: center;
    transition: all 0.3s ease;
}
.main-download .system-item:hover {
    border-color: rgba(79, 124, 255, 0.30);
    transform: translateY(-4px);
    background: rgba(15, 24, 48, 0.75);
}
.main-download .system-item .sys-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 11px;
    background: rgba(79, 124, 255, 0.10);
    color: var(--dl-accent);
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}
.main-download .system-item h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.35rem;
}
.main-download .system-item p {
    font-size: 0.72rem;
    color: var(--dl-text-muted);
    line-height: 1.55;
    margin: 0;
}
.main-download .system-footnote {
    text-align: center;
    color: var(--dl-text-dim);
    font-size: 0.82rem;
    margin-top: 2rem;
}
.main-download .system-footnote strong {
    color: var(--dl-text-muted);
    font-weight: 600;
}

/* ============================================================
   6. 安装步骤
   ============================================================ */
.main-download .steps-section {
    background: var(--dl-bg-base);
    padding: 5rem 1.5rem;
    border-bottom: 1px solid var(--dl-border);
}
.main-download .steps-flex {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}
.main-download .step-card {
    position: relative;
    text-align: center;
    padding: 2rem 1.4rem 1.6rem;
    background: linear-gradient(180deg, rgba(15, 24, 48, 0.7) 0%, rgba(15, 24, 48, 0.4) 100%);
    border: 1px solid var(--dl-border-strong);
    border-radius: var(--dl-radius);
    transition: all 0.3s ease;
}
.main-download .step-card:hover {
    transform: translateY(-4px);
    border-color: rgba(79, 124, 255, 0.35);
    box-shadow: 0 20px 40px rgba(79, 124, 255, 0.10);
}
.main-download .step-num {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--dl-primary), var(--dl-cyan));
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
    box-shadow: 0 6px 20px rgba(79, 124, 255, 0.4);
    border: 3px solid var(--dl-bg-base);
    z-index: 1;
}
.main-download .step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px; height: 54px;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(79, 124, 255, 0.18), rgba(34, 211, 238, 0.10));
    border: 1px solid rgba(79, 124, 255, 0.22);
    color: #8fb2ff;
    font-size: 1.4rem;
    margin: 0.4rem 0 0.9rem;
}
.main-download .step-card h3 {
    font-weight: 700;
    color: #fff;
    font-size: 1.05rem;
    margin: 0 0 0.5rem;
}
.main-download .step-card p {
    font-size: 0.85rem;
    color: var(--dl-text-muted);
    line-height: 1.7;
    margin: 0;
}
.main-download .step-card p strong {
    color: var(--dl-accent);
    font-weight: 600;
}

/* ============================================================
   7. 安全与认证
   ============================================================ */
.main-download .security-section {
    background: var(--dl-bg-dark);
    padding: 5rem 1.5rem;
    border-bottom: 1px solid var(--dl-border);
}
.main-download .security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.main-download .security-item {
    background: linear-gradient(180deg, rgba(15, 24, 48, 0.75) 0%, rgba(15, 24, 48, 0.45) 100%);
    border: 1px solid var(--dl-border-strong);
    border-radius: var(--dl-radius);
    padding: 2rem 1.6rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.main-download .security-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(74, 222, 128, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.main-download .security-item:hover {
    transform: translateY(-6px);
    border-color: rgba(79, 124, 255, 0.35);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}
.main-download .security-item:hover::before {
    opacity: 1;
}
.main-download .security-item .sec-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px; height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.15), rgba(79, 124, 255, 0.10));
    border: 1px solid rgba(74, 222, 128, 0.22);
    color: #7fe3a3;
    font-size: 1.5rem;
    margin-bottom: 1.1rem;
}
.main-download .security-item h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.6rem;
}
.main-download .security-item p {
    font-size: 0.86rem;
    color: var(--dl-text-muted);
    line-height: 1.75;
    margin: 0;
}
.main-download .security-item p strong {
    color: var(--dl-accent);
    font-weight: 600;
}

/* ============================================================
   8. 用户评价
   ============================================================ */
.main-download .reviews-section {
    background: var(--dl-bg-base);
    padding: 5rem 1.5rem;
    border-bottom: 1px solid var(--dl-border);
}
.main-download .reviews-flex {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}
.main-download .review-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(15, 24, 48, 0.75) 0%, rgba(15, 24, 48, 0.45) 100%);
    backdrop-filter: blur(8px);
    border: 1px solid var(--dl-border-strong);
    border-radius: var(--dl-radius);
    padding: 1.5rem 1.5rem 1.2rem;
    color: var(--dl-text-muted);
    font-size: 0.88rem;
    line-height: 1.75;
    transition: all 0.32s cubic-bezier(0.34, 1.3, 0.64, 1);
    position: relative;
    overflow: hidden;
}
.main-download .review-card:hover {
    transform: translateY(-6px);
    border-color: rgba(79, 124, 255, 0.35);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45);
}
.main-download .review-card .stars {
    display: inline-flex;
    gap: 2px;
    color: var(--dl-gold);
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 0.85rem;
}
.main-download .review-card p {
    flex: 1;
    color: var(--dl-text);
    font-size: 0.9rem;
    line-height: 1.75;
    margin: 0 0 1rem;
    padding-left: 0.6rem;
    position: relative;
}
.main-download .review-card p::before {
    content: '"';
    position: absolute;
    top: -0.3rem;
    left: -0.5rem;
    font-family: Georgia, serif;
    font-size: 2rem;
    line-height: 1;
    color: rgba(79, 124, 255, 0.20);
}
.main-download .review-card .user {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding-top: 1rem;
    border-top: 1px solid var(--dl-border);
}
.main-download .review-card .user img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(79, 124, 255, 0.18);
    flex-shrink: 0;
    background: #14203a;
}
.main-download .review-card .user .name {
    color: #fff;
    font-weight: 600;
    font-size: 0.88rem;
}
.main-download .review-card .user .role {
    font-size: 0.7rem;
    color: var(--dl-text-dim);
    margin-left: 0.35rem;
}
.main-download .review-card .review-date {
    display: block;
    font-size: 0.68rem;
    color: var(--dl-text-dim);
    margin-top: 0.6rem;
    text-align: right;
    font-style: normal;
}

/* ============================================================
   9. 更新日志
   ============================================================ */
.main-download .changelog-section {
    background: var(--dl-bg-dark);
    padding: 5rem 1.5rem;
    border-bottom: 1px solid var(--dl-border);
}
.main-download .changelog-box {
    max-width: 860px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(15, 24, 48, 0.7) 0%, rgba(15, 24, 48, 0.4) 100%);
    border: 1px solid var(--dl-border-strong);
    border-radius: var(--dl-radius);
    padding: 2rem 2.2rem;
    position: relative;
}
.main-download .changelog-box .version-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--dl-border);
    margin-bottom: 0.9rem;
}
.main-download .changelog-box .version-row:not(:first-child) {
    margin-top: 1.8rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--dl-border);
    border-bottom: 1px solid var(--dl-border);
}
.main-download .changelog-box .version-row .ver {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
    letter-spacing: -0.01em;
}
.main-download .changelog-box .version-row .ver .tag {
    font-size: 0.6rem;
    font-weight: 700;
    color: #4ade80;
    background: rgba(74, 222, 128, 0.14);
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(74, 222, 128, 0.25);
    letter-spacing: 0.2px;
    font-family: inherit;
}
.main-download .changelog-box .version-row .date {
    font-size: 0.8rem;
    color: var(--dl-text-dim);
    font-style: normal;
    font-variant-numeric: tabular-nums;
}
.main-download .changelog-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.main-download .changelog-box ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.5rem 0.8rem;
    color: var(--dl-text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    border-radius: 8px;
    transition: background 0.2s;
}
.main-download .changelog-box ul li:hover {
    background: rgba(79, 124, 255, 0.04);
}
.main-download .changelog-box ul li i {
    color: var(--dl-green);
    margin-top: 0.45rem;
    flex-shrink: 0;
    font-size: 0.85rem;
}
.main-download .changelog-box ul li strong {
    color: #fff;
    font-weight: 600;
}

/* ============================================================
   FAQ（常显无折叠 · SEO 友好）
   ============================================================ */
.main-download .faq-section {
    background: var(--bg-card);
    padding: 3rem 1rem 4rem;
    border-bottom: 1px solid var(--border);
}

/* ★ 修复 1：section-header 强制居中，覆盖所有子元素 */
.main-download .faq-section .section-header {
    text-align: center !important;
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-download .faq-section .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(79, 124, 255, 0.12);
    border: 1px solid rgba(79, 124, 255, 0.18);
    border-radius: 999px;
    padding: 0.3rem 1.1rem;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.5px;
    margin-bottom: 0.9rem;
}
.main-download .faq-section .section-badge i {
    font-size: 0.75rem;
}

.main-download .faq-section .section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.7rem;
    line-height: 1.2;
    text-align: center;
}
.main-download .faq-section .section-title .gradient-text,
.main-download .faq-section .section-title .highlight {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ★ 修复 2：副标题居中 + 宽度限制 + 自适应居中 */
.main-download .faq-section .section-sub {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.7;
    margin: 0 auto;
    max-width: 680px;
    text-align: center;
    display: block;
    width: 100%;
}

/* ---------- 网格：2 列，独立高度 ---------- */
.main-download .faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}
@media (max-width: 820px) {
    .main-download .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        max-width: 640px;
    }
}

/* ---------- 卡片 ---------- */
.main-download .faq-card {
    position: relative;
    background: linear-gradient(180deg, rgba(15, 26, 48, 0.75) 0%, rgba(15, 26, 48, 0.40) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.6rem 1.6rem 1.4rem;
    transition: all 0.35s cubic-bezier(0.34, 1.3, 0.64, 1);
    overflow: hidden;
    height: auto;
    align-self: start;
}
.main-download .faq-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(79, 124, 255, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.main-download .faq-card:hover {
    transform: translateY(-5px);
    border-color: rgba(79, 124, 255, 0.35);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
}
.main-download .faq-card:hover::before { opacity: 1; }

/* ---------- 卡片头：图标 + 问题 ---------- */
.main-download .faq-head {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding-bottom: 1rem;
    margin-bottom: 1.1rem;
    border-bottom: 1px solid var(--border);
}

/* ★ 修复 3：图标容器 + 兜底字体渲染 */
.main-download .faq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(79, 124, 255, 0.20), rgba(34, 211, 238, 0.10));
    border: 1px solid rgba(79, 124, 255, 0.25);
    color: #8fb2ff;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: transform 0.3s, background 0.3s;
    /* 图标字体兜底 */
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome", sans-serif;
    font-weight: 900;
    line-height: 1;
    text-align: center;
}
.main-download .faq-icon i {
    display: inline-block;
    line-height: 1;
    font-style: normal;
    font-weight: 900;
    color: inherit;
}
.main-download .faq-card:hover .faq-icon {
    transform: scale(1.08) rotate(-4deg);
    background: linear-gradient(135deg, rgba(79, 124, 255, 0.30), rgba(34, 211, 238, 0.18));
}

.main-download .faq-q {
    flex: 1;
    font-weight: 700;
    font-size: clamp(0.98rem, 1.05vw, 1.08rem);
    color: #fff;
    line-height: 1.45;
    margin: 0;
    letter-spacing: -0.005em;
}

/* ---------- 答案：有序步骤列表 ---------- */
.main-download .faq-a {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.main-download .faq-a li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.75;
    padding: 0;
    margin: 0;
    list-style: none;
}

.main-download .faq-a .step-num {
    display: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(79, 124, 255, 0.30);
    margin-top: 0.2rem;
}

.main-download .faq-a .step-text {
    flex: 1;
    min-width: 0;
    word-break: break-word;
}
.main-download .faq-a .step-text strong {
    color: #eaf0ff;
    font-weight: 600;
}
.main-download .faq-a .step-text a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dashed rgba(79, 124, 255, 0.4);
    transition: color 0.2s, border-color 0.2s;
}
.main-download .faq-a .step-text a:hover {
    color: #fff;
    border-bottom-color: #fff;
}

/* ---------- 响应式 ---------- */
@media (max-width: 520px) {
    .main-download .faq-section {
        padding: 2.5rem 1rem 3rem;
    }
    .main-download .faq-card {
        padding: 1.3rem 1.2rem 1.2rem;
    }
    .main-download .faq-icon {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }
    .main-download .faq-head {
        gap: 0.7rem;
        padding-bottom: 0.85rem;
        margin-bottom: 0.95rem;
    }
    .main-download .faq-q {
        font-size: 0.95rem;
    }
    .main-download .faq-a li {
        font-size: 0.85rem;
        gap: 0.6rem;
    }
    .main-download .faq-a .step-num {
        width: 20px;
        height: 20px;
        font-size: 0.65rem;
    }
}

/* ---------- 兜底：隐藏任何残留的旧箭头图标 ---------- */
.main-download .faq-card .faq-q > i,
.main-download .faq-card .faq-q > .fas,
.main-download .faq-card .faq-q > .fa,
.main-download .faq-card .faq-head > i.fa-chevron-right,
.main-download .faq-card .faq-head > i.fa-chevron-down,
.main-download .faq-card .faq-head > i.fa-angle-right,
.main-download .faq-card .faq-head > i.fa-angle-down,
.main-download .faq-card .faq-toggle {
    display: none !important;
}

/* ============================================================
   11. 响应式
   ============================================================ */
@media (max-width: 1024px) {
    .main-download .hero-grid {
        gap: 2.5rem;
    }
    .main-download .download-flex {
        grid-template-columns: repeat(3, 1fr);
    }
    .main-download .system-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .main-download .security-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 820px) {
    .main-download .download-hero {
        padding: 3rem 1rem 3.5rem;
    }
    .main-download .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .main-download .hero-left {
        align-items: center;
        text-align: center;
    }
    .main-download .hero-left h1 {
        align-items: center;
    }
    .main-download .sub-headline {
        max-width: 100%;
    }
    .main-download .version-bar {
        justify-content: center;
    }
    .main-download .hero-actions {
        justify-content: center;
    }
    .main-download .trust-row {
        justify-content: center;
    }
    .main-download .hero-image-wrap {
        transform: none;
        max-width: 90%;
    }
    .main-download .hero-image-wrap:hover {
        transform: translateY(-4px);
    }

    .main-download .download-stats {
        padding: 1.8rem 1rem;
    }
    .main-download .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .main-download .stats-item {
        border-right: none;
        border-bottom: 1px solid var(--dl-border);
        padding-bottom: 1rem;
    }
    .main-download .stats-item:nth-child(3),
    .main-download .stats-item:nth-child(4) {
        border-bottom: none;
        padding-bottom: 0.5rem;
    }

    .main-download .download-platforms,
    .main-download .system-section,
    .main-download .steps-section,
    .main-download .security-section,
    .main-download .reviews-section,
    .main-download .changelog-section,
    .main-download .faq-section {
        padding: 3.5rem 1rem;
    }

    .main-download .download-flex {
        grid-template-columns: repeat(2, 1fr);
    }
    .main-download .system-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .main-download .steps-flex {
        grid-template-columns: 1fr;
        gap: 2.4rem;
    }
    .main-download .security-grid {
        grid-template-columns: 1fr;
    }
    .main-download .reviews-flex {
        grid-template-columns: 1fr;
    }
    .main-download .faq-grid {
        grid-template-columns: 1fr;
    }
    .main-download .changelog-box {
        padding: 1.5rem 1.4rem;
    }
}

@media (max-width: 520px) {
    .main-download .breadcrumb-nav { font-size: 0.72rem; }
    .main-download .breadcrumb-nav .container { padding: 0 1rem; }
    .main-download .download-hero {
        padding: 2.5rem 1rem 3rem;
    }
    .main-download .hero-left h1 {
        font-size: 1.7rem;
    }
    .main-download .sub-headline {
        font-size: 0.88rem;
    }
    .main-download .version-bar {
        padding: 0.6rem 0.9rem;
        gap: 0.4rem 0.7rem;
    }
    .main-download .version-bar .tag {
        font-size: 0.7rem;
    }
    .main-download .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .main-download .hero-btn-download,
    .main-download .hero-btn-outline {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 0.85rem 1.6rem;
        font-size: 0.92rem;
    }
    .main-download .trust-row {
        gap: 0.4rem 1rem;
    }
    .main-download .trust-item { font-size: 0.72rem; }

    .main-download .download-flex {
        grid-template-columns: 1fr;
    }
    .main-download .download-card {
        max-width: 320px;
        margin: 0 auto;
        width: 100%;
    }
    .main-download .system-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    .main-download .system-item {
        padding: 1.1rem 0.7rem;
    }
    .main-download .system-item .sys-icon {
        width: 38px; height: 38px;
        font-size: 1.1rem;
    }
    .main-download .system-item h4 { font-size: 0.85rem; }
    .main-download .system-item p { font-size: 0.68rem; }

    .main-download .changelog-box {
        padding: 1.3rem 1.1rem;
    }
    .main-download .changelog-box .version-row .ver {
        font-size: 0.95rem;
    }
    .main-download .changelog-box ul li {
        font-size: 0.82rem;
    }
    .main-download .faq-card {
        padding: 1.2rem 1.1rem;
    }
    .main-download .faq-card .faq-q {
        font-size: 0.92rem;
        gap: 0.55rem;
    }
    .main-download .faq-card .faq-a {
        padding-left: 0;
    }
    .main-download .faq-card .faq-a .step {
        font-size: 0.8rem;
    }

    .main-download .security-item {
        padding: 1.6rem 1.2rem;
    }
    .main-download .security-item .sec-icon {
        width: 52px; height: 52px;
        font-size: 1.3rem;
    }
    .main-download .security-item h4 { font-size: 1rem; }
    .main-download .security-item p { font-size: 0.82rem; }

    .main-download .review-card {
        padding: 1.2rem 1.2rem 1rem;
    }
    .main-download .review-card p {
        font-size: 0.85rem;
    }
    .main-download .review-card p::before {
        font-size: 1.7rem;
        left: -0.4rem;
    }
}

/* 打印 */
@media print {
    .main-download .glow,
    .main-download .grid-overlay,
    .main-download .breadcrumb-nav,
    .main-download .backfab { display: none !important; }
    .main-download .hero-image-wrap { transform: none; }
}