/* ============================================================
   quickq 官网下载中心 - 独立样式表
   文件: css/download.css
   说明: 包含全局变量、布局、组件及响应式
   ============================================================ */

   /* 全局重置 & 基础 */
   * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
        }

        body {
            background: #ffffff;
            color: #1e1f2a;
            line-height: 1.5;
            -webkit-font-smoothing: antialiased;
        }

        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 24px;
        }

        /* 导航 */
        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 0;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            flex-wrap: wrap;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 700;
            font-size: 1.8rem;
            letter-spacing: -0.5px;
            color: #0b0d15;
        }

        .logo i {
            color: #2563eb;
            font-size: 2.2rem;
        }

        .logo span {
            background: linear-gradient(135deg, #2563eb, #7c3aed);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .nav-links {
            display: flex;
            gap: 32px;
            font-weight: 500;
            font-size: 1rem;
            color: #2d3349;
        }

        .nav-links a {
            color: inherit;
            text-decoration: none;
            transition: 0.2s;
        }

        .nav-links a:hover {
            color: #2563eb;
        }

        .nav-actions {
            display: flex;
            gap: 16px;
            align-items: center;
        }

        .btn-outline {
            background: transparent;
            border: 1px solid rgba(0, 0, 0, 0.15);
            color: #1e1f2a;
            padding: 8px 20px;
            border-radius: 40px;
            font-weight: 600;
            font-size: 0.95rem;
            cursor: default;
            transition: 0.2s;
        }

        .btn-outline i {
            margin-right: 6px;
        }

        .btn-primary {
            background: #2563eb;
            border: none;
            color: white;
            padding: 10px 28px;
            border-radius: 40px;
            font-weight: 600;
            font-size: 0.95rem;
            cursor: pointer;
            box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
            transition: 0.2s;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            text-decoration: none;
        }

        .btn-primary i {
            font-size: 0.9rem;
        }

        .btn-primary:hover {
            background: #1d4ed8;
            box-shadow: 0 12px 28px rgba(37, 99, 235, 0.3);
            transform: translateY(-2px);
        }

        .mobile-menu {
            display: none;
            font-size: 1.6rem;
            color: #2d3349;
            cursor: default;
        }

        /* 下载头部 */
        .download-hero {
            text-align: center;
            padding: 40px 0 20px;
        }

        .download-hero h1 {
            font-size: clamp(2.4rem, 7vw, 3.8rem);
            font-weight: 800;
            letter-spacing: -1px;
            color: #0b0d15;
        }

        .download-hero h1 i {
            color: #2563eb;
            margin-right: 12px;
        }

        .download-hero p {
            font-size: 1.2rem;
            color: #3f465e;
            max-width: 600px;
            margin: 12px auto 30px;
        }

        /* 下载卡片 — 一行一个 */
        .download-list {
            display: flex;
            flex-direction: column;
            gap: 18px;
            margin: 20px 0 30px;
        }

        .download-card {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: #f8fafc;
            border: 1px solid #eef2f6;
            border-radius: 60px;
            padding: 16px 28px 16px 24px;
            transition: 0.2s;
            flex-wrap: wrap;
        }

        .download-card:hover {
            background: #ffffff;
            border-color: #2563eb30;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
        }

        .download-card .left {
            display: flex;
            align-items: center;
            gap: 18px;
        }

        .download-card .icon {
            font-size: 2.2rem;
            color: #2563eb;
            width: 48px;
            text-align: center;
        }

        .download-card .info h3 {
            font-size: 1.2rem;
            font-weight: 700;
            color: #0b0d15;
        }

        .download-card .info .meta {
            font-size: 0.85rem;
            color: #5b637d;
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
        }

        /* 统一下载按钮样式 */
        .download-btn {
            background: #2563eb;
            border: none;
            color: white;
            padding: 10px 28px;
            border-radius: 60px;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: 0.2s;
            display: inline-flex;
            align-items: center;
            gap: 12px;
            box-shadow: 0 6px 16px rgba(37, 99, 235, 0.2);
            flex-shrink: 0;
            font-family: inherit;
        }

        .download-btn:hover {
            background: #1d4ed8;
            transform: scale(1.02);
            box-shadow: 0 10px 24px rgba(37, 99, 235, 0.3);
        }

        .download-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none !important;
        }

        .download-btn i {
            font-size: 1rem;
        }

        .download-btn i:last-child {
            transition: transform 0.2s;
        }

        .download-btn:hover i:last-child {
            transform: translateX(4px);
        }

        /* 其他下载方式 */
        .other-downloads {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 30px 60px;
            background: #f8fafc;
            border-radius: 48px;
            padding: 30px 32px;
            margin: 20px 0 10px;
            border: 1px solid #eef2f6;
        }

        .other-item {
            display: flex;
            align-items: center;
            gap: 18px;
        }

        .other-item i {
            font-size: 2.2rem;
            color: #2563eb;
        }

        .other-item .info {
            text-align: left;
        }

        .other-item .info .label {
            font-weight: 600;
            color: #0b0d15;
        }

        .other-item .info .desc {
            font-size: 0.9rem;
            color: #5b637d;
        }

        .qr-placeholder {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .qr-box {
            background: white;
            border-radius: 16px;
            padding: 8px 10px 4px;
            border: 1px solid #eef2f6;
            text-align: center;
            width: 90px;
        }

        .qr-box i {
            font-size: 3rem;
            color: #2563eb;
        }

        .qr-box span {
            display: block;
            font-size: 0.7rem;
            color: #5b637d;
            margin-top: 2px;
        }

        /* 系统要求 */
        .sys-req {
            margin: 20px 0 10px;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 16px 36px;
            background: #f8fafc;
            border-radius: 60px;
            padding: 16px 28px;
            border: 1px solid #eef2f6;
        }

        .sys-req span {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 0.95rem;
            color: #1e1f2a;
        }

        .sys-req i {
            color: #2563eb;
            font-size: 1.2rem;
        }

        /* 安装步骤 */
        .install-section {
            margin: 40px 0 20px;
            background: #f8fafc;
            border-radius: 48px;
            padding: 36px 32px 28px;
            border: 1px solid #eef2f6;
        }

        .install-section h2 {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 10px;
            color: #0b0d15;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .install-section h2 i {
            color: #2563eb;
        }

        .install-steps {
            display: flex;
            flex-wrap: wrap;
            gap: 20px 40px;
            margin-top: 16px;
            justify-content: center;
        }

        .step-item {
            display: flex;
            align-items: center;
            gap: 14px;
            background: white;
            padding: 12px 24px 12px 18px;
            border-radius: 60px;
            border: 1px solid #eef2f6;
            flex: 1 0 200px;
            max-width: 320px;
        }

        .step-item .num {
            background: #2563eb;
            color: white;
            width: 36px;
            height: 36px;
            border-radius: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 1rem;
            flex-shrink: 0;
        }

        .step-item .step-text {
            font-weight: 500;
            color: #0b0d15;
            font-size: 0.98rem;
        }

        /* FAQ 6个，一行两个 */
        .faq-section {
            padding: 20px 0 10px;
        }

        .faq-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px 30px;
            margin-top: 6px;
        }

        .faq-item {
            background: #f8fafc;
            border-radius: 24px;
            padding: 24px 28px;
            border: 1px solid #eef2f6;
        }

        .faq-item h4 {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 10px;
            color: #0b0d15;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .faq-item h4 i {
            color: #2563eb;
            font-size: 1.2rem;
            width: 24px;
        }

        .faq-item p {
            color: #3f465e;
            font-size: 0.95rem;
            line-height: 1.6;
            margin: 0;
        }

        /* 页脚 */
        .footer {
            margin-top: 50px;
            padding: 30px 0 20px;
            border-top: 1px solid #eef2f6;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            font-size: 0.9rem;
            color: #5b637d;
        }

        .footer-links {
            display: flex;
            gap: 28px;
        }

        .footer-links a {
            color: #5b637d;
            text-decoration: none;
            transition: 0.2s;
        }

        .footer-links a:hover {
            color: #2563eb;
        }

        .footer-social i {
            font-size: 1.4rem;
            margin-left: 16px;
            color: #5b637d;
            transition: 0.2s;
            cursor: default;
        }

        .footer-social i:hover {
            color: #2563eb;
        }

        /* 响应式 */
        @media (max-width: 820px) {
            .navbar {
                flex-wrap: wrap;
                gap: 12px 0;
            }
            .nav-links {
                order: 3;
                flex-basis: 100%;
                justify-content: center;
                gap: 20px;
                font-size: 0.95rem;
                border-top: 1px solid rgba(0, 0, 0, 0.04);
                padding-top: 16px;
            }
            .nav-actions {
                margin-left: auto;
            }
            .mobile-menu {
                display: block;
            }

            .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 {
                flex-direction: column;
                align-items: center;
                text-align: center;
                padding: 24px 20px;
            }
            .other-item {
                flex-direction: column;
                text-align: center;
            }
            .other-item .info {
                text-align: center;
            }
            .qr-placeholder {
                flex-direction: column;
                align-items: center;
            }
            .sys-req {
                flex-direction: column;
                align-items: center;
                border-radius: 32px;
                padding: 18px;
                gap: 12px;
            }
            .install-steps {
                flex-direction: column;
                align-items: center;
            }
            .step-item {
                max-width: 100%;
                width: 100%;
            }
            .faq-grid {
                grid-template-columns: 1fr;
            }
            .footer {
                flex-direction: column;
                gap: 20px;
                text-align: center;
            }
        }

        @media (max-width: 500px) {
            .download-card .left {
                flex-wrap: wrap;
                justify-content: center;
                text-align: center;
            }
            .download-card .info .meta {
                justify-content: center;
            }
        }