/* download.css —— 由 download.html 抽取（保持静态站原样式） */
* { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.7; color: #1a1a2e; background: #f8fafc; }
        .container { max-width: 96%; margin: 0 auto; padding: 0 24px; }
        a { color: #2563eb; text-decoration: none; }
        a:hover { color: #1d4ed8; }
        img { max-width: 100%; height: auto; display: block; }

        .site-header { background: #0b1120; padding: 16px 0; position: sticky; top: 0; z-index: 100; border-bottom: 1px solid #1e293b; }
        .site-header .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
        .logo img { height: 38px; width: auto; }
        .site-nav ul { display: flex; list-style: none; gap: 28px; }
        .site-nav ul li a { color: #94a3b8; font-size: 14px; font-weight: 500; transition: color .2s; }
        .site-nav ul li a:hover { color: #fff; }
        .site-nav ul li a.active { color: #60a5fa; border-bottom: 2px solid #60a5fa; padding-bottom: 4px; }
        .header-actions { display: flex; align-items: center; gap: 12px; }
        .btn-download { background: #2563eb; color: #fff; padding: 8px 22px; border-radius: 6px; font-size: 14px; font-weight: 600; transition: background .2s; }
        .btn-download:hover { background: #1d4ed8; color: #fff; }
        .btn-download i { margin-right: 6px; }
        .mobile-toggle { display: none; background: none; border: none; color: #94a3b8; font-size: 24px; cursor: pointer; }
        .mobile-panel { display: none; flex-basis: 100%; padding-top: 16px; border-top: 1px solid #1e293b; }
        .mobile-panel.open { display: block; }
        .mobile-panel ul { list-style: none; }
        .mobile-panel ul li a { display: block; padding: 10px 0; color: #94a3b8; border-bottom: 1px solid #1e293b; }
        .mobile-panel ul li a:hover { color: #fff; }
        .mobile-panel .btn-download { display: inline-block; margin-top: 12px; }

        /* ===== 下载页英雄区 ===== */
        .hero-download { background: #0b1120; padding: 70px 0 60px; border-bottom: 1px solid #1e293b; }
        .hero-download .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
        .hero-download .hero-left { order: 1; }
        .hero-download .hero-right { order: 2; }
        .hero-download .breadcrumb { color: #64748b; font-size: 14px; margin-bottom: 12px; }
        .hero-download .breadcrumb a { color: #94a3b8; }
        .hero-download .breadcrumb a:hover { color: #60a5fa; }
        .hero-download .breadcrumb .sep { margin: 0 8px; color: #475569; }
        .hero-download h1 { color: #fff; font-size: 38px; font-weight: 800; line-height: 1.2; }
        .hero-download h1 span { color: #60a5fa; }
        .hero-download p { color: #94a3b8; font-size: 17px; margin: 16px 0 28px; max-width: 520px; }
        .hero-download .badge { display: inline-block; background: #1e293b; color: #60a5fa; padding: 4px 16px; border-radius: 20px; font-size: 13px; font-weight: 500; margin-bottom: 14px; border: 1px solid #334155; }
        .hero-download .badge i { margin-right: 4px; }
        .hero-download .btn-group { display: flex; gap: 14px; flex-wrap: wrap; }
        .hero-download .btn-primary { background: #2563eb; color: #fff; padding: 14px 40px; border-radius: 8px; font-weight: 600; font-size: 16px; transition: background .2s; border: none; cursor: pointer; }
        .hero-download .btn-primary:hover { background: #1d4ed8; color: #fff; }
        .hero-download .btn-primary i { margin-right: 8px; }
        .hero-download .btn-outline { border: 1.5px solid #334155; color: #94a3b8; padding: 14px 32px; border-radius: 8px; font-weight: 500; font-size: 16px; transition: all .2s; background: transparent; cursor: pointer; }
        .hero-download .btn-outline:hover { border-color: #60a5fa; color: #60a5fa; }
        .hero-download .platform-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
        .hero-download .platform-badges .pbadge { background: #162032; border: 1px solid #1e293b; padding: 4px 16px; border-radius: 20px; color: #94a3b8; font-size: 13px; display: flex; align-items: center; gap: 6px; }
        .hero-download .platform-badges .pbadge i { color: #60a5fa; font-size: 14px; }
        .hero-download .hero-right img { width: 100%; border-radius: 12px; border: 1px solid #1e293b; }

        .section { padding: 60px 0; }
        .section-alt { background: #fff; }
        .section h2 { font-size: 28px; font-weight: 700; color: #0b1120; margin-bottom: 12px; text-align: center; }
        .section .subtitle { color: #64748b; font-size: 16px; margin-bottom: 32px; text-align: center; }

        .download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
        .download-card { background: #fff; border: 2px solid #e2e8f0; border-radius: 16px; padding: 28px 24px 32px; text-align: center; transition: border-color .3s, box-shadow .3s; }
        .download-card:hover { border-color: #2563eb; box-shadow: 0 8px 30px rgba(37,99,235,0.06); }
        .download-card .icon { font-size: 48px; color: #2563eb; margin-bottom: 8px; }
        .download-card .platform { font-size: 18px; font-weight: 700; color: #0b1120; }
        .download-card .version { font-size: 13px; color: #475569; margin-bottom: 4px; }
        .download-card .desc { font-size: 14px; color: #475569; margin-bottom: 16px; }
        .download-card .btn-dl { display: inline-block; background: #2563eb; color: #fff; padding: 8px 28px; border-radius: 6px; font-weight: 600; font-size: 14px; transition: background .2s; }
        .download-card .btn-dl:hover { background: #1d4ed8; color: #fff; }
        .download-card .btn-dl-outline { display: inline-block; background: transparent; color: #2563eb; padding: 8px 28px; border-radius: 6px; font-weight: 600; font-size: 14px; border: 2px solid #2563eb; transition: all .2s; }
        .download-card .btn-dl-outline:hover { background: #2563eb; color: #fff; }

        .install-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
        .step-card { background: #f8fafc; padding: 24px 20px; border-radius: 12px; border: 1px solid #e2e8f0; text-align: center; }
        .step-card .num { display: inline-block; background: #2563eb; color: #fff; width: 36px; height: 36px; border-radius: 50%; line-height: 36px; font-weight: 700; font-size: 16px; margin-bottom: 10px; }
        .step-card h3 { font-size: 16px; font-weight: 600; color: #0b1120; }
        .step-card p { font-size: 14px; color: #64748b; margin-top: 4px; }

        .version-history { max-width: 800px; margin: 0 auto; }
        .version-item { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #f1f5f9; align-items: center; flex-wrap: wrap; gap: 8px; }
        .version-item:last-child { border-bottom: none; }
        .version-item .ver { font-weight: 600; color: #0b1120; min-width: 70px; }
        .version-item .changes { color: #64748b; font-size: 14px; flex: 1; }
        .version-item .date { color: #64748b; font-size: 13px; min-width: 100px; text-align: right; }

        .footer { background: #0b1120; padding: 40px 0 24px; border-top: 1px solid #1e293b; margin-top: 40px; }
        .footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
        .footer .footer-heading { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
        .footer p { color: #94a3b8; font-size: 14px; }
        .footer ul { list-style: none; }
        .footer ul li { padding: 4px 0; }
        .footer ul li a { color: #94a3b8; font-size: 14px; }
        .footer ul li a:hover { color: #fff; }
        .footer-bottom { grid-column: 1 / -1; border-top: 1px solid #1e293b; padding-top: 20px; text-align: center; color: #94a3b8; font-size: 13px; }

        .scroll-top { position: fixed; bottom: 30px; right: 30px; background: #2563eb; color: #fff; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; cursor: pointer; transition: background .2s; z-index: 99; border: none; }
        .scroll-top:hover { background: #1d4ed8; }

        @media (max-width: 1024px) {
            .hero-download .container { grid-template-columns: 1fr; gap: 40px; }
            .hero-download .hero-left { order: 1; }
            .hero-download .hero-right { order: 2; }
            .download-grid { grid-template-columns: repeat(2, 1fr); }
            .install-steps { grid-template-columns: repeat(2, 1fr); }
            .footer .container { grid-template-columns: 1fr 1fr; }
        }
        @media (max-width: 768px) {
            .site-nav { display: none; }
            .mobile-toggle { display: block; }
            .hero-download h1 { font-size: 26px; }
            .hero-download .btn-group { flex-direction: column; }
            .hero-download .btn-group a { text-align: center; }
            .download-grid { grid-template-columns: 1fr; max-width: 380px; }
            .install-steps { grid-template-columns: 1fr; }
            .footer .container { grid-template-columns: 1fr; gap: 24px; }
            .container { max-width: 100%; padding: 0 16px; }
            .version-item { flex-direction: column; align-items: flex-start; }
            .version-item .date { text-align: left; }
        }
        @media (max-width: 480px) {
            .hero-download h1 { font-size: 22px; }
            .section h2 { font-size: 22px; }
        }
        /* ===== 标准化修复：跳转链接 / 屏幕阅读器文本 / 页脚可读性 ===== */
        .skip-link { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
        .skip-link:focus { position: fixed; left: 16px; top: 12px; width: auto; height: auto; margin: 0; padding: 10px 18px; overflow: visible; clip: auto; z-index: 1000; background: #2563eb; color: #fff; border-radius: 6px; }
        .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
        .footer-bottom a { color: #60a5fa; text-decoration: underline; }
        .tags .tag-item { background: #f1f5f9; color: #475569; padding: 4px 16px; border-radius: 16px; font-size: 13px; }

        /* ===== 标准化修复覆盖层：WCAG 对比度 / 链接区分 / 焦点可见 / 触控目标 / 图标占位 ===== */
        .footer p { color: #94a3b8; }
        .footer-bottom { color: #94a3b8; }
        .footer-bottom a { color: #60a5fa; text-decoration: underline; }
        .page-header .breadcrumb, .article-header .breadcrumb, .hero-download .breadcrumb { color: #94a3b8; }
        .page-header .breadcrumb a, .article-header .breadcrumb a, .hero-download .breadcrumb a { color: #60a5fa; text-decoration: underline; }
        .article-body a, .article-body p a, .article-body li a, .info-box a, .policy-content a, .block a,
        .note-box a, .contact-card .detail a, .download-card .desc a { text-decoration: underline; }
        a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid #2563eb; outline-offset: 2px; box-shadow: 0 0 0 5px #fff; }
        .mobile-toggle { min-width: 44px; min-height: 44px; }
        .fas, .far, .fab { display: inline-block; width: 1.1em; text-align: center; }
