/* ============================================================
   quickq 官网下载中心 - 独立样式表
   文件: css/download.css
   说明: 包含全局变量、布局、组件及响应式
   ============================================================ */

   /* 全局重置 & 基础 */
 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            font-size: 16px;
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background: #0a0a12;
            color: #e8ecf5;
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
        }

        /* 背景动态光晕 */
        body::before {
            content: '';
            position: fixed;
            top: -40%;
            left: -20%;
            width: 80%;
            height: 80%;
            background: radial-gradient(ellipse at 30% 20%, rgba(37, 99, 235, 0.15), transparent 70%);
            pointer-events: none;
            z-index: 0;
        }
        body::after {
            content: '';
            position: fixed;
            bottom: -30%;
            right: -20%;
            width: 70%;
            height: 70%;
            background: radial-gradient(ellipse at 70% 80%, rgba(124, 58, 237, 0.12), transparent 70%);
            pointer-events: none;
            z-index: 0;
        }

        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 28px;
            position: relative;
            z-index: 1;
        }

        /* ----- 2. 全新原创导航栏 (Header / Navbar) ----- */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    margin: 20px 0 30px;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.brand-zone .brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-zone .brand-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
}

.brand-zone .brand-icon i {
    color: #ffffff;
    font-size: 1.3rem;
}

.brand-zone .brand-text {
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.brand-zone .brand-text span {
    color: #3b82f6;
    font-weight: 600;
}

.main-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.menu-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 6px 0;
    position: relative;
    transition: color 0.3s ease;
}

.menu-link:hover,
.menu-link.active {
    color: #ffffff;
}

.menu-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #3b82f6;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.menu-link:hover::before,
.menu-link.active::before {
    width: 100%;
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-selector {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.3s;
}

.lang-selector:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-download-app {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-download-app:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37, 99, 235, 0.5);
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.4rem;
    cursor: pointer;
}

        /* ----- 下载头部 (霓虹) ----- */
        .download-hero {
            text-align: center;
            padding: 50px 0 30px;
            position: relative;
        }
        .download-hero::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 120px;
            height: 3px;
            background: linear-gradient(90deg, #4f8cff, #a78bfa);
            border-radius: 4px;
        }
        .download-hero h1 {
            font-size: 3.8rem;
            font-weight: 900;
            letter-spacing: -1.5px;
            color: #fff;
        }
        .download-hero h1 i {
            color: #4f8cff;
            margin-right: 14px;
            filter: drop-shadow(0 0 20px rgba(79, 140, 255, 0.3));
        }
        .download-hero p {
            font-size: 1.2rem;
            color: rgba(255, 255, 255, 0.5);
            max-width: 580px;
            margin: 10px auto 0;
        }

        /* ============================================================
           下载卡片 — 保留原有按钮样式和交互
           ============================================================ */
        .download-list {
            display: flex;
            flex-direction: column;
            gap: 18px;
            margin: 30px 0 32px;
        }

        .download-card {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: rgba(255, 255, 255, 0.03);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid rgba(255, 255, 255, 0.06);
            border-radius: 60px;
            padding: 16px 28px 16px 24px;
            transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            flex-wrap: wrap;
        }
        .download-card:hover {
            border-color: rgba(79, 140, 255, 0.25);
            background: rgba(255, 255, 255, 0.06);
            box-shadow: 0 0 40px rgba(79, 140, 255, 0.04);
            transform: translateY(-2px);
        }

        .download-card .left {
            display: flex;
            align-items: center;
            gap: 18px;
        }
        .download-card .icon {
            font-size: 2.2rem;
            color: #4f8cff;
            width: 48px;
            text-align: center;
            filter: drop-shadow(0 0 12px rgba(79, 140, 255, 0.15));
        }
        .download-card .info h3 {
            font-size: 1.2rem;
            font-weight: 700;
            color: #fff;
        }
        .download-card .info .meta {
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.35);
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
        }

        /* ----- 下载按钮 (保留原有样式和交互) ----- */
        .download-btn {
            background: linear-gradient(135deg, #4f8cff, #7c3aed);
            border: none;
            color: white;
            padding: 10px 28px;
            border-radius: 60px;
            font-weight: 700;
            font-size: 1rem;
            cursor: pointer;
            transition: 0.3s;
            display: inline-flex;
            align-items: center;
            gap: 12px;
            box-shadow: 0 0 30px rgba(79, 140, 255, 0.2);
            flex-shrink: 0;
            font-family: inherit;
        }
        .download-btn:hover {
            transform: scale(1.04) translateY(-2px);
            box-shadow: 0 0 50px rgba(79, 140, 255, 0.35);
        }
        .download-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none !important;
        }
        .download-btn i:last-child {
            transition: transform 0.3s;
        }
        .download-btn:hover i:last-child {
            transform: translateX(6px);
        }

        /* ----- 其他下载方式 (玻璃卡片) ----- */
        .other-downloads {
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            gap: 24px;
            align-items: center;
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 48px;
            padding: 28px 32px;
            margin: 20px 0 16px;
            backdrop-filter: blur(8px);
        }

        .other-item {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 12px 18px;
            border-radius: 32px;
            background: rgba(255, 255, 255, 0.03);
            transition: 0.3s;
            border: 1px solid transparent;
        }
        .other-item:hover {
            border-color: rgba(79, 140, 255, 0.15);
            background: rgba(255, 255, 255, 0.05);
        }
        .other-item i {
            font-size: 2rem;
            color: #4f8cff;
        }
        .other-item .info .label {
            font-weight: 700;
            color: #fff;
        }
        .other-item .info .desc {
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.35);
        }

        .qr-placeholder {
            display: flex;
            align-items: center;
            gap: 20px;
            padding: 6px 20px 6px 12px;
            background: rgba(255, 255, 255, 0.03);
            border-radius: 40px;
            border: 1px solid rgba(255, 255, 255, 0.06);
        }
        .qr-box {
            background: rgba(255, 255, 255, 0.04);
            border-radius: 16px;
            padding: 8px 10px 4px;
            border: 1px solid rgba(255, 255, 255, 0.06);
            text-align: center;
            width: 90px;
        }
        .qr-box i {
            font-size: 3rem;
            color: #4f8cff;
        }
        .qr-box span {
            display: block;
            font-size: 0.7rem;
            color: rgba(255, 255, 255, 0.3);
            margin-top: 2px;
        }
        .qr-placeholder > div:last-child {
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.4);
        }
        .qr-placeholder strong {
            color: #fff;
        }
        .qr-placeholder i.fa-arrow-right {
            color: #4f8cff;
        }

        /* ----- 系统要求 (玻璃) ----- */
        .sys-req {
            margin: 16px 0 10px;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 12px 36px;
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 60px;
            padding: 16px 32px;
            backdrop-filter: blur(8px);
        }
        .sys-req span {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 0.95rem;
            color: rgba(255, 255, 255, 0.6);
        }
        .sys-req i {
            color: #4f8cff;
            font-size: 1.1rem;
        }

        /* ----- 安装步骤 (玻璃卡片) ----- */
        .install-section {
            margin: 36px 0 20px;
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 48px;
            padding: 38px 34px 32px;
            backdrop-filter: blur(8px);
        }
        .install-section h2 {
            font-size: 1.8rem;
            font-weight: 800;
            color: #fff;
            display: flex;
            align-items: center;
            gap: 14px;
            margin-bottom: 4px;
        }
        .install-section h2 i {
            color: #4f8cff;
        }
        .install-section .sub {
            color: rgba(255, 255, 255, 0.3);
            font-size: 1rem;
            margin-bottom: 20px;
        }

        .install-steps {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 18px;
        }

        .step-item {
            display: flex;
            align-items: center;
            gap: 16px;
            background: rgba(255, 255, 255, 0.03);
            padding: 14px 22px 14px 16px;
            border-radius: 60px;
            border: 1px solid rgba(255, 255, 255, 0.05);
            transition: 0.3s;
        }
        .step-item:hover {
            border-color: rgba(79, 140, 255, 0.15);
            background: rgba(255, 255, 255, 0.05);
        }
        .step-item .num {
            background: linear-gradient(135deg, #4f8cff, #7c3aed);
            color: white;
            width: 38px;
            height: 38px;
            border-radius: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            font-size: 1rem;
            flex-shrink: 0;
            box-shadow: 0 0 20px rgba(79, 140, 255, 0.15);
        }
        .step-item .step-text {
            font-weight: 500;
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.98rem;
        }

        /* ----- FAQ (3列，与首页一致) ----- */
        .faq-section {
            padding: 30px 0 10px;
        }
        .faq-section .section-title {
            font-size: 2.4rem;
            font-weight: 900;
            text-align: center;
            margin-bottom: 4px;
            color: #fff;
        }
        .faq-section .section-title i {
            color: #4f8cff;
            margin-right: 10px;
        }
        .faq-section .section-sub {
            text-align: center;
            color: rgba(255, 255, 255, 0.35);
            margin-bottom: 28px;
            font-size: 1.05rem;
        }

        .faq-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 22px;
        }

        .faq-item {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 28px;
            padding: 28px 24px;
            transition: 0.3s;
        }
        .faq-item:hover {
            border-color: rgba(79, 140, 255, 0.12);
            background: rgba(255, 255, 255, 0.03);
        }
        .faq-item h4 {
            font-size: 1.05rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 14px;
        }
        .faq-item h4 i {
            color: #4f8cff;
            font-size: 1.1rem;
            width: 24px;
        }
        .faq-item p {
            font-size: 0.95rem;
            color: rgba(255, 255, 255, 0.35);
            line-height: 1.7;
            padding-left: 38px;
        }

        /* ----- 页脚 (暗色) ----- */
        .footer {
            margin-top: 50px;
            padding: 30px 0 24px;
            border-top: 1px solid rgba(255, 255, 255, 0.04);
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.3);
        }
        .footer-brand {
            display: flex;
            align-items: center;
            gap: 14px;
            font-weight: 700;
            color: rgba(255, 255, 255, 0.7);
            font-size: 1.05rem;
        }
        .footer-brand i {
            color: #4f8cff;
            font-size: 1.3rem;
        }
        .footer-links {
            display: flex;
            gap: 28px;
        }
        .footer-links a {
            color: rgba(255, 255, 255, 0.3);
            text-decoration: none;
            transition: 0.3s;
            font-weight: 500;
        }
        .footer-links a:hover {
            color: #4f8cff;
        }
        .footer-social i {
            font-size: 1.4rem;
            margin-left: 18px;
            color: rgba(255, 255, 255, 0.2);
            transition: 0.3s;
            cursor: default;
        }
        .footer-social i:hover {
            color: #4f8cff;
        }

        /* ===== 响应式 ===== */
        @media (max-width: 1024px) {
            .other-downloads {
                grid-template-columns: 1fr;
                gap: 16px;
                text-align: center;
            }
            .qr-placeholder {
                justify-content: center;
                flex-wrap: wrap;
            }
            .faq-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 820px) {
            .navbar {
                border-radius: 32px;
                padding: 16px 20px;
            }
            .nav-links {
                order: 3;
                flex-basis: 100%;
                justify-content: center;
                gap: 20px;
                font-size: 0.95rem;
                border-top: 1px solid rgba(255, 255, 255, 0.04);
                padding-top: 14px;
            }
            .nav-actions {
                margin-left: auto;
            }
            .mobile-menu {
                display: block;
            }

            .download-hero h1 {
                font-size: 2.8rem;
            }
            .download-card {
                border-radius: 32px;
                padding: 18px 20px;
                flex-direction: column;
                align-items: stretch;
                gap: 16px;
            }
            .download-card .left {
                gap: 14px;
            }
            .download-btn {
                width: 100%;
                justify-content: center;
                padding: 12px;
            }

            .other-downloads {
                padding: 20px 16px;
            }
            .other-item {
                justify-content: center;
            }
            .sys-req {
                flex-direction: column;
                align-items: center;
                border-radius: 32px;
                padding: 16px 20px;
                gap: 10px;
            }
            .install-steps {
                grid-template-columns: 1fr 1fr;
            }
            .faq-grid {
                grid-template-columns: 1fr;
            }
            .footer {
                flex-direction: column;
                gap: 16px;
                text-align: center;
            }
        }

        @media (max-width: 600px) {
            .container {
                padding: 0 16px;
            }
            .download-hero h1 {
                font-size: 2.2rem;
            }
            .download-hero p {
                font-size: 1rem;
            }
            .download-card .left {
                flex-wrap: wrap;
                justify-content: center;
                text-align: center;
            }
            .download-card .info .meta {
                justify-content: center;
            }
            .install-steps {
                grid-template-columns: 1fr;
            }
            .step-item {
                border-radius: 40px;
            }
            .qr-placeholder {
                flex-direction: column;
                align-items: center;
                padding: 16px;
            }
            .footer-links {
                flex-wrap: wrap;
                justify-content: center;
                gap: 14px;
            }
            .footer-social i {
                margin: 0 10px;
            }
            .navbar {
                border-radius: 24px;
                padding: 14px 16px;
            }
        }