        :root {
            --primary: #2563eb;
            --primary-dark: #1d4ed8;
            --primary-light: #3b82f6;
            --accent: #f59e0b;
            --accent-dark: #d97706;
            --bg: #f8fafc;
            --card-bg: #ffffff;
            --text-primary: #000000;
            --text-secondary: #64748b;
            --text-muted: #94a3b8;
            --border: #e2e8f0;
            --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
            --shadow-md: 0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -1px rgba(0,0,0,.04);
            --shadow-lg: 0 10px 25px -3px rgba(0,0,0,.08), 0 4px 6px -2px rgba(0,0,0,.03);
            --shadow-xl: 0 20px 40px -5px rgba(0,0,0,.1);
            --radius: 12px;
            --radius-lg: 16px;
        }
        * { box-sizing: border-box; }
        body {
            background: var(--bg);
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
            color: var(--text-primary);
            margin: 0;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        a { color: var(--primary); }
        a:hover { color: var(--primary-dark); }

        /* ========== HEADER ========== */
        .site-header {
            background: #fff;
            box-shadow: 0 1px 3px rgba(0,0,0,.05);
            position: sticky;
            top: 0;
            z-index: 1000;
            border-bottom: 1px solid var(--border);
        }
        .header-inner {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1.5rem;
            display: flex;
            align-items: center;
            height: 64px;
            gap: 1.5rem;
        }
        .header-brand {
            display: flex;
            align-items: center;
            text-decoration: none;
            font-weight: 800;
            font-size: 1.25rem;
            color: var(--text-primary);
            white-space: nowrap;
            gap: .5rem;
            flex-shrink: 0;
        }
        .header-brand img { height: 32px; width: auto; }
        .header-brand:hover { color: var(--primary); }
        .header-nav { display: flex; align-items: center; gap: .25rem; flex-shrink: 0; }
        .header-nav a {
            color: #000000;
            text-decoration: none;
            font-size: .9rem;
            font-weight: 500;
            padding: .5rem .75rem;
            border-radius: 8px;
            transition: all .15s;
            white-space: nowrap;
        }
        .header-nav a:hover { color: #fff; background: var(--primary); border-radius: 6px; }
        .header-search {
            flex: 1;
            max-width: 420px;
            margin-left: auto;
        }
        .header-search form {
            display: flex;
            align-items: center;
            background: #f1f5f9;
            border-radius: 50px;
            border: 2px solid transparent;
            transition: all .2s;
            overflow: hidden;
        }
        .header-search form:focus-within {
            background: #fff;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(37,99,235,.12);
        }
        .header-search input {
            flex: 1;
            border: none;
            outline: none;
            background: transparent;
            padding: .55rem 1.25rem;
            font-size: .9rem;
            color: var(--text-primary);
            min-width: 0;
        }
        .header-search input::placeholder { color: var(--text-muted); }
        .header-search button {
            border: none;
            background: var(--primary);
            color: #fff;
            width: 38px;
            height: 38px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 3px;
            cursor: pointer;
            flex-shrink: 0;
            transition: background .15s;
        }
        .header-search button:hover { background: var(--primary-dark); }
        .mobile-toggle {
            display: none;
            border: none;
            background: none;
            font-size: 1.4rem;
            color: var(--text-primary);
            cursor: pointer;
            padding: .25rem;
        }

        /* ========== LEFT SIDEBAR ========== */
        .layout-container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 1.5rem;
            box-sizing: border-box;
            display: flex;
            gap: 1.5rem;
            flex: 1 0 auto;
        }
        .right-content {
            flex: 1;
            min-width: 0;
        }
        .right-content .row {
            margin-left: 0;
            margin-right: 0;
        }
        .left-sidebar {
            width: 220px;
            flex-shrink: 0;
            align-self: flex-start;
            position: sticky;
            top: 80px;
            background: var(--card-bg);
            border-radius: var(--radius);
            border: 1px solid var(--border);
            box-shadow: var(--shadow-sm);
            overflow: hidden;
        }
        .sidebar-title {
            padding: 1rem 1.25rem .75rem;
            font-size: .85rem;
            font-weight: 700;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: .05em;
            border-bottom: 1px solid var(--border);
        }
        .cate-nav { padding: .5rem 0; }
        .cate-group { margin-bottom: .25rem; }
        .cate-parent-btn {
            display: flex;
            align-items: center;
            width: 100%;
            padding: .6rem 1.25rem;
            border: none;
            background: none;
            color: var(--text-primary);
            font-size: .9rem;
            font-weight: 600;
            cursor: pointer;
            text-align: left;
            transition: all .15s;
            gap: .5rem;
        }
        .cate-parent-btn:hover { background: #eff6ff; color: var(--primary); }
        .cate-parent-btn .bi-chevron-right {
            font-size: .7rem;
            transition: transform .2s;
            color: var(--text-muted);
        }
        .cate-parent-btn.expanded .bi-chevron-right { transform: rotate(90deg); }
        .cate-children-list {
            display: none;
            padding: .25rem 0 .5rem;
        }
        .cate-children-list.show { display: block; }
        .cate-child-link {
            display: block;
            padding: .4rem 1.25rem .4rem 2.5rem;
            color: #333;
            text-decoration: none;
            font-size: .85rem;
            transition: all .15s;
            border-left: 2px solid transparent;
        }
        .cate-child-link:hover { color: var(--primary); background: #f0f7ff; border-left-color: var(--primary); }
        .cate-child-link.active { color: var(--primary); background: #eff6ff; border-left-color: var(--primary); font-weight: 600; }
        .cate-parent-btn.active { background: #eff6ff; color: var(--primary); }
        .soft-item { transition: all .2s ease; }

        /* ========== SOFTWARE CARDS ========== */
        .section-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 1.25rem;
            padding-bottom: .75rem;
            border-bottom: 2px solid var(--border);
        }
        .section-title {
            font-size: 1.35rem;
            font-weight: 800;
            color: var(--text-primary);
            margin: 0;
            display: flex;
            align-items: center;
            gap: .5rem;
        }
        .section-title i { color: var(--primary); font-size: 1.1rem; }
        .section-more {
            font-size: .85rem;
            color: var(--primary);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: .25rem;
            transition: color .15s;
        }
        .section-more:hover { color: var(--primary-dark); }
        .soft-card {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 1.25rem;
            display: flex;
            flex-direction: column;
            transition: all .2s;
            height: 100%;
        }
        .soft-card:hover { box-shadow: var(--shadow-md); border-color: rgba(37,99,235,.2); transform: translateY(-2px); }
        .card-top { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: 1rem; }
        .card-logo { width: 56px; height: 56px; border-radius: var(--radius-lg); object-fit: cover; background: #f1f5f9; flex-shrink: 0; }
        .card-info { flex: 1; min-width: 0; }
        .card-name { font-weight: 700; font-size: 24px; color: var(--text-primary); margin-bottom: .25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .card-desc { font-size: 15px; color: var(--text-primary); line-height: 1.5; margin-top: .4375rem; margin-bottom: 3px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; max-height: 68px; word-break: break-all; }
        .badge-sys { display: inline-flex; align-items: center; gap: .25rem; font-size: .825rem; padding: .15rem .4rem; border-radius: 4px; background: #eff6ff; color: var(--primary); font-weight: 500; }
        .badge-sys.mac { background: #f0fdf4; color: #16a34a; }
        .card-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: calc(.75rem + 2px); padding-bottom: 2px; border-top: 1px solid var(--border); }
        .card-btns { display:flex; gap:.5rem; align-items:center; }
        .card-meta { font-size: .75rem; color: var(--text-primary); display: flex; gap: .85rem; flex-wrap: wrap; }
        .card-meta span { display: inline-flex; align-items: center; gap: .25rem; white-space: nowrap; }
        .card-meta i { font-size: .8rem; opacity: .75; }
        .btn-dl { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem 1rem; border-radius: 8px; background: var(--primary); color: #fff; text-decoration: none; font-size: .85rem; font-weight: 600; transition: all .15s; border: none; cursor: pointer; }
        .btn-detail { display:inline-flex;align-items:center;gap:.35rem;padding:.45rem 1rem;border-radius:8px;background:var(--primary);color:#fff;text-decoration:none;font-size:.85rem;font-weight:600;transition:all .15s;border:none;cursor:pointer; }
        .btn-dl:hover { background: var(--primary-dark); color: #fff; }
        .btn-dl-outline { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
        .btn-dl-outline:hover { background: var(--primary); color: #fff; }

        /* ========== FOOTER ========== */
        .site-footer { background: #0f172a; color: #94a3b8; margin-top: auto; }
        .footer-main { max-width: 1200px; margin: 0 auto; padding: 1.5rem 1rem 1rem; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 0.5rem; }
        .footer-brand { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; }
        .footer-brand img { height: 28px; }
        .footer-brand span { font-weight: 700; font-size: 1.1rem; color: #e2e8f0; }
        .footer-desc { font-size: .85rem; line-height: 1.7; color: rgba(255,255,255,0.85); }
        .footer-title { font-weight: 700; font-size: .9rem; color: #fff; margin-bottom: 1rem; }
        .footer-links { list-style: none; padding: 0; margin: 0; }
        .footer-links li { margin-bottom: .5rem; }
        .footer-links a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: .85rem; transition: color .15s; }
        .footer-links a:hover { color: #fff; }
        .footer-links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1.5rem; }
        .footer-links-col { display: flex; flex-direction: column; gap: .5rem; }
        .footer-links-col a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: .85rem; transition: color .15s; }
        .footer-links-col a:hover { color: #fff; }
        .footer-contact p { font-size: .85rem; margin-bottom: .5rem; color: rgba(255,255,255,0.8); }
        .footer-contact i { margin-right: .4rem; color: var(--primary-light); }
        .footer-qr { margin-top: 1rem; }
        .footer-qr img { width: 100px; height: 100px; border-radius: 8px; object-fit: cover; background: #1e293b; }
        .footer-qr p { font-size: .75rem; color: #475569; margin-top: .4rem; }
        .footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); max-width: 1200px; margin: 0 auto; padding: 1.25rem 1.5rem; text-align: center; font-size: .8rem; color: rgba(255,255,255,0.7); }
        .footer-beian { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .25rem; }
        .footer-beian a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color .15s; }
        .footer-beian a:hover { color: #fff; }
        .beian-sep { color: rgba(255,255,255,0.4); margin: 0 .25rem; }
        .police-item { display: inline-flex; align-items: center; }
        .police-icon { height: 14px; vertical-align: middle; margin-right: 0; }

        /* ========== BREADCRUMB ========== */
        .breadcrumb-nav { background: transparent; padding: 0; margin-bottom: 1.5rem; }
        .breadcrumb-nav .breadcrumb-item { font-size: .85rem; }
        .breadcrumb-nav .breadcrumb-item a { color: var(--text-secondary); text-decoration: none; }
        .breadcrumb-nav .breadcrumb-item a:hover { color: var(--primary); }
        .breadcrumb-nav .breadcrumb-item.active { color: var(--text-muted); }

        /* ========== PAGINATION ========== */
        .pagination-wrap { margin-top: 2rem; display: flex; justify-content: center; }
        .pagination .page-link { color: var(--text-secondary); border-color: var(--border); border-radius: 8px !important; margin: 0 2px; font-size: .85rem; padding: .4rem .75rem; }
        .pagination .page-item.active .page-link { background: var(--primary); border-color: var(--primary); color: #fff; }
        .pagination .page-link:hover { background: #eff6ff; color: var(--primary); }

        /* ========== FLOATING BUTTONS ========== */
        .float-actions { position: fixed; right: 1.25rem; top: 50%; transform: translateY(-50%); z-index: 999; display: flex; flex-direction: column; gap: .6rem; }
        .float-btn { width: 44px; height: 44px; border-radius: 50%; background: var(--card-bg); border: 1px solid var(--border); box-shadow: var(--shadow-md); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .2s; color: var(--text-secondary); font-size: 1.1rem; }
        .float-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
        .float-cs { position: relative; }
        .cs-popup { display: none; position: absolute; right: 56px; top: 50%; transform: translateY(-50%); background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1.25rem; width: 200px; text-align: center; z-index: 1000; }
        .float-cs:hover .cs-popup, .float-cs:focus .cs-popup { display: block; }
        .cs-popup::after { content: ''; position: absolute; right: -8px; top: 50%; transform: translateY(-50%); border: 8px solid transparent; border-left-color: #fff; }
        .cs-popup::before { content: ''; position: absolute; right: -9px; top: 50%; transform: translateY(-50%); border: 8px solid transparent; border-left-color: var(--border); }
        .cs-title { font-size: .85rem; font-weight: 600; color: var(--text-primary); margin-bottom: .75rem; }
        .cs-qr { width: 150px; height: 150px; border-radius: 8px; object-fit: cover; background: #f1f5f9; margin: 0 auto .6rem; display: block; }
        .cs-account { font-size: .8rem; color: var(--text-secondary); margin: 0; display: flex; align-items: center; justify-content: center; gap: .3rem; }
        .cs-account i { color: #07c160; font-size: 1rem; }

        /* ========== EMPTY STATE ========== */
        .empty-state { text-align: center; padding: 4rem 2rem; }
        .empty-state i { font-size: 3.5rem; color: #cbd5e1; }
        .empty-state p { color: var(--text-muted); margin-top: 1rem; font-size: .95rem; }

        /* ========== PAGE CONTENT ========== */
        .page-content { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.5rem; line-height: 1.8; color: var(--text-primary); }
        .page-content h1, .page-content h2, .page-content h3, .page-content h4 { margin-top: 1.5rem; margin-bottom: .75rem; font-weight: 700; color: var(--text-primary); }
        .page-content p { margin-bottom: 1rem; color: var(--text-secondary); }
        .page-content img { max-width: 100%; border-radius: 8px; margin: 1rem 0; }

        /* ========== RESPONSIVE ========== */
        @media (max-width: 991px) {
            .header-nav { display: none; }
            .mobile-toggle { display: block; }
            .header-nav.show { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: #fff; padding: 1rem; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); gap: 0; }
            .layout-container { flex-direction: column; padding: 1rem; }
            .left-sidebar { width: 100%; position: static; }
            .footer-main { flex-direction: column; gap: 2rem; }
        }
        @media (max-width: 576px) {
            .header-inner { padding: 0 1rem; gap: .75rem; }
            .header-search { max-width: none; }
        }

