/* ====================================
   HuigoTech Download Station - v3.0
   深度打磨版 CSS
   ==================================== */

/* --- CSS 变量系统 --- */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --accent: #06b6d4;
    --accent2: #8b5cf6;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --bg: #f0f4ff;
    --bg-card: #ffffff;
    --bg-dark: #0f172a;
    --text: #1e293b;
    --text-light: #64748b;
    --text-lighter: #94a3b8;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
    --shadow: 0 4px 16px rgba(0,0,0,.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
    --shadow-color: 0 4px 20px rgba(37,99,235,.15);
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all .3s cubic-bezier(.4,0,.2,1);
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--font);
    font-size: 14px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
}
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; border-radius: 8px; }

/* --- 自定义滚动条 --- */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--primary-light), var(--accent)); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* --- 页面加载进度条 --- */
.page-loader {
    position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 9999;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--accent2), var(--primary));
    background-size: 300% 100%;
    animation: shimmer 1.5s infinite linear;
}
@keyframes shimmer { 0%{background-position:100% 0} 100%{background-position:-100% 0} }

/* --- 顶部信息条 --- */
.top-bar {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: #cbd5e1;
    font-size: 12px;
    padding: 6px 0;
    text-align: center;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}
.top-bar::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 200%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.03), transparent);
    animation: topBarShine 8s infinite;
}
@keyframes topBarShine { 0%{left:-100%} 100%{left:100%} }
.top-bar a { color: var(--primary-light); }
.top-bar a:hover { color: #fff; }

/* --- 主导航栏 --- */
.main-nav {
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(226,232,240,.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    padding: 0 20px;
}
.main-nav.scrolled {
    background: rgba(255,255,255,.95);
    box-shadow: var(--shadow);
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    text-decoration: none;
    color: var(--text);
}
.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border-radius: 10px;
    font-weight: 900;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(37,99,235,.3);
    transition: var(--transition);
}
.logo:hover .logo-icon {
    transform: rotate(-10deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(37,99,235,.4);
}
.logo-text {
    background: linear-gradient(135deg, var(--primary), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- 搜索框 --- */
.nav-search {
    position: relative;
    flex: 0 1 320px;
}
.nav-search input {
    width: 100%;
    height: 38px;
    border: 2px solid var(--border);
    border-radius: 20px;
    padding: 0 42px 0 16px;
    font-size: 13px;
    background: var(--bg);
    transition: var(--transition);
    outline: none;
}
.nav-search input:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37,99,235,.1);
}
.nav-search .search-btn {
    position: absolute; right: 4px; top: 4px;
    width: 30px; height: 30px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-search .search-btn:hover { transform: scale(1.1); box-shadow: 0 2px 8px rgba(37,99,235,.3); }

/* --- 分类导航 --- */
.cate-nav {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-light);
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}
.cate-nav::-webkit-scrollbar { height: 0; }
.cate-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 0;
}
.cate-nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    color: var(--text-light);
    font-size: 13px;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    position: relative;
}
.cate-nav a:hover, .cate-nav a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: rgba(37,99,235,.04);
}
.cate-nav a .cate-icon {
    font-size: 16px;
}

/* --- 热搜标签 --- */
.hot-tags-bar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 20px;
    font-size: 12px;
    color: var(--text-lighter);
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
}
.hot-tags-bar::-webkit-scrollbar { height: 0; }
.hot-label {
    color: var(--danger);
    font-weight: 700;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 3px;
}
.hot-label::before {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    background: var(--danger);
    border-radius: 50%;
    animation: hotPulse 1.5s infinite;
}
@keyframes hotPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.8)} }
.hot-tags-bar a {
    color: var(--text-light);
    padding: 2px 10px;
    border-radius: 12px;
    background: var(--bg);
    white-space: nowrap;
    transition: var(--transition);
    font-size: 12px;
}
.hot-tags-bar a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-1px);
}

/* --- 布局 --- */
.main-wrap { max-width: 1200px; margin: 0 auto; padding: 20px; }
.main-container {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.content-left { flex: 1; min-width: 0; }
.content-right { width: 300px; flex-shrink: 0; }

/* --- 今日统计横幅 --- */
.today-stats-bar {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--accent2) 100%);
    border-radius: var(--radius-lg);
    padding: 20px 30px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: var(--shadow-color);
    position: relative;
    overflow: hidden;
}
.today-stats-bar::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,.1) 0%, transparent 60%);
    animation: statGlow 6s infinite;
}
@keyframes statGlow { 0%,100%{transform:translate(0,0)} 50%{transform:translate(30px,-20px)} }
.today-stat-item { text-align: center; position: relative; z-index: 1; }
.ts-num { font-size: 24px; font-weight: 800; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.2); }
.ts-label { font-size: 12px; color: rgba(255,255,255,.8); margin-top: 2px; }

/* --- 英雄Banner --- */
.hero-banner {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    border-radius: var(--radius-xl);
    padding: 40px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    color: #fff;
}
.hero-banner::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(37,99,235,.3), transparent);
    border-radius: 50%;
}
.hero-banner::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(6,182,212,.2), transparent);
    border-radius: 50%;
}
.hero-content { position: relative; z-index: 1; }
.hero-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(to right, #fff, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc { font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: 20px; line-height: 1.8; }
.hero-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-tag {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,.2);
    color: rgba(255,255,255,.9);
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,.08);
    transition: var(--transition);
}
.hero-tag:hover {
    background: rgba(255,255,255,.2);
    color: #fff;
    transform: translateY(-2px);
}

/* --- 信任徽章区 --- */
.trust-badges {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    flex: 1;
    min-width: 150px;
    transition: var(--transition);
    border: 1px solid var(--border-light);
}
.trust-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.trust-badge .badge-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.badge-icon.green { background: rgba(16,185,129,.1); }
.badge-icon.blue { background: rgba(37,99,235,.1); }
.badge-icon.purple { background: rgba(139,92,246,.1); }
.badge-icon.orange { background: rgba(245,158,11,.1); }

/* --- 区块通用 --- */
.section-box {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}
.section-box.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .6s ease, transform .6s ease;
}
.section-box:hover {
    box-shadow: var(--shadow);
}
.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
}
.section-title h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}
.section-title h3::before {
    content: '';
    display: inline-block;
    width: 4px; height: 18px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 2px;
}
.more-link {
    font-size: 13px;
    color: var(--text-lighter);
    padding: 4px 12px;
    border-radius: 16px;
    background: var(--bg);
    transition: var(--transition);
}
.more-link:hover {
    background: var(--primary);
    color: #fff;
}

/* --- 编辑推荐网格 --- */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    padding: 20px;
}
.featured-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 8px;
    border-radius: var(--radius);
    transition: var(--transition);
    text-decoration: none;
    position: relative;
}
.featured-card:hover {
    background: var(--bg);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.featured-card img {
    width: 56px; height: 56px;
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 8px;
    transition: var(--transition);
}
.featured-card:hover img { transform: scale(1.1); }
.fc-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}
.fc-cate { font-size: 11px; color: var(--text-lighter); }

/* --- 软件列表 --- */
.soft-list-pro { padding: 8px 20px; }
.soft-item-pro {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}
.soft-item-pro:last-child { border-bottom: none; }
.soft-item-pro:hover { background: var(--bg); margin: 0 -20px; padding: 14px 20px; border-radius: var(--radius); }
.si-rank {
    min-width: 24px; height: 24px;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700; color: var(--text-lighter);
    background: var(--bg);
    border-radius: 6px;
}
.si-rank.top1 { background: linear-gradient(135deg, #f59e0b, #f97316); color: #fff; box-shadow: 0 2px 8px rgba(245,158,11,.3); }
.si-rank.top2 { background: linear-gradient(135deg, #64748b, #475569); color: #fff; }
.si-rank.top3 { background: linear-gradient(135deg, #a16207, #b45309); color: #fff; }
.si-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
    transition: var(--transition);
}
.soft-item-pro:hover .si-icon { transform: scale(1.08); }
.si-info { flex: 1; min-width: 0; }
.si-name { font-weight: 600; margin-bottom: 3px; }
.si-name a { color: var(--text); }
.si-name a:hover { color: var(--primary); }
.si-desc {
    font-size: 12px;
    color: var(--text-lighter);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 4px;
}
.si-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--text-lighter);
    align-items: center;
    flex-wrap: wrap;
}
.meta-cate a {
    color: var(--primary);
    font-weight: 500;
}
.btn-dl {
    padding: 6px 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(37,99,235,.2);
}
.btn-dl:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(37,99,235,.35);
}

/* --- 热门卡片 --- */
.hot-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 20px;
}
.hot-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 12px;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.hot-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: var(--transition);
}
.hot-card:hover::before { opacity: 1; }
.hot-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}
.hot-card-icon {
    width: 50px; height: 50px;
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 10px;
}
.hot-card-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}
.hot-card-cate { font-size: 11px; color: var(--text-lighter); }

/* --- 星级评分 --- */
.stars { color: #fbbf24; font-size: 12px; letter-spacing: 1px; }

/* --- 详情页 --- */
.breadcrumb {
    font-size: 13px;
    color: var(--text-lighter);
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 4px;
}
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { margin: 0 4px; }

.detail-box {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}
.detail-header { display: flex; gap: 20px; align-items: flex-start; }
.detail-icon img {
    width: 80px; height: 80px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}
.detail-info { flex: 1; }
.detail-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text);
}
.detail-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--text-light);
}
.dm-item b { color: var(--text); font-weight: 600; }
.detail-actions { display: flex; gap: 12px; align-items: center; }

/* --- 下载按钮（脉冲动画） --- */
.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 36px;
    background: linear-gradient(135deg, var(--success), #059669);
    color: #fff;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(16,185,129,.35);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.btn-download::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    background: rgba(255,255,255,.2);
    border-radius: 50%;
    transform: translate(-50%,-50%);
    transition: width .6s, height .6s;
}
.btn-download:hover::before { width: 300px; height: 300px; }
.btn-download:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(16,185,129,.45);
}
.btn-download.btn-disabled {
    background: var(--text-lighter);
    box-shadow: none;
    cursor: not-allowed;
}
@keyframes downloadPulse {
    0% { box-shadow: 0 4px 20px rgba(16,185,129,.35); }
    50% { box-shadow: 0 4px 30px rgba(16,185,129,.55), 0 0 0 8px rgba(16,185,129,.1); }
    100% { box-shadow: 0 4px 20px rgba(16,185,129,.35); }
}
.btn-download:not(.btn-disabled) { animation: downloadPulse 2s infinite; }

/* --- 截图画廊 --- */
.screenshot-gallery {
    display: flex;
    gap: 10px;
    padding: 16px 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.screenshot-gallery::-webkit-scrollbar { height: 4px; }
.screenshot-gallery img {
    width: 200px;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
    scroll-snap-align: start;
    flex-shrink: 0;
    transition: var(--transition);
    cursor: pointer;
}
.screenshot-gallery img:hover { transform: scale(1.05); box-shadow: var(--shadow-lg); }

/* --- 软件介绍内容 --- */
.soft-intro-content {
    padding: 20px;
    line-height: 1.9;
    font-size: 14px;
    color: var(--text);
}
.soft-intro-content h2, .soft-intro-content h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 20px 0 10px;
    padding-left: 12px;
    border-left: 3px solid var(--primary);
    color: var(--text);
}
.soft-intro-content p { margin-bottom: 12px; }
.intro-image-wrap {
    margin: 16px 0;
    text-align: center;
}
.intro-image {
    max-height: 300px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* --- 功能亮点网格 --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 16px 20px;
}
.feature-item {
    padding: 12px 16px;
    background: var(--bg);
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}
.feature-item:hover { background: rgba(37,99,235,.06); transform: translateX(4px); }
.feature-icon {
    color: var(--success);
    font-weight: 700;
    font-size: 15px;
}

/* --- 更新日志 --- */
.changelog-list { padding: 16px 20px; }
.changelog-ver {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}
.changelog-date { color: var(--text-lighter); font-weight: 400; font-size: 13px; }
.changelog-items { padding-left: 20px; }
.changelog-items li {
    padding: 4px 0;
    font-size: 13px;
    color: var(--text-light);
    position: relative;
}
.changelog-items li::marker { color: var(--primary); }

/* --- 信息表格 --- */
.info-table-wrap { padding: 16px 20px; }
.info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.info-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-light);
}
.info-table tr:last-child td { border-bottom: none; }
.info-label {
    width: 100px;
    font-weight: 600;
    color: var(--text);
    background: var(--bg);
}

/* --- FAQ 手风琴 --- */
.faq-list { padding: 8px 20px; }
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
    padding: 14px 0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.faq-q::before { content: 'Q'; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; background: var(--primary); color: #fff; border-radius: 6px; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.faq-q:hover { color: var(--primary); }
.faq-a {
    display: none;
    padding: 0 0 14px 30px;
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.8;
}

/* --- 评分进度条 --- */
.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: rgba(16,185,129,.1);
    color: var(--success);
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
}
.security-badge::before { content: '\2713'; font-weight: 800; }
.rating-bars { padding: 16px 20px; }
.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.rating-bar-label { width: 80px; font-size: 13px; font-weight: 500; color: var(--text); }
.rating-bar {
    flex: 1;
    height: 10px;
    background: var(--bg);
    border-radius: 5px;
    overflow: hidden;
}
.rating-bar-fill {
    height: 100%;
    border-radius: 5px;
    transition: width 1.2s cubic-bezier(.4,0,.2,1);
    position: relative;
}
.rating-bar-fill.excellent { background: linear-gradient(90deg, var(--primary), var(--accent)); }
.rating-bar-fill.good { background: linear-gradient(90deg, var(--success), #34d399); }
.rating-bar-pct { width: 40px; text-align: right; font-size: 13px; font-weight: 700; color: var(--primary); }

/* --- 用户评价 --- */
.user-reviews { padding: 16px 20px; }
.review-item {
    padding: 16px;
    margin-bottom: 12px;
    background: var(--bg);
    border-radius: var(--radius);
    transition: var(--transition);
}
.review-item:last-child { margin-bottom: 0; }
.review-item:hover { box-shadow: var(--shadow-sm); }
.review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.review-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-light);
}
.review-user { font-weight: 600; font-size: 13px; color: var(--text); }
.review-date { margin-left: auto; font-size: 12px; color: var(--text-lighter); }
.review-text { font-size: 13px; color: var(--text-light); line-height: 1.8; margin-bottom: 8px; }
.review-helpful { font-size: 12px; color: var(--text-lighter); }

/* --- 安装步骤 --- */
.install-steps { padding: 16px 20px; counter-reset: step; }
.install-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px dashed var(--border);
    position: relative;
}
.install-step:last-child { border-bottom: none; }
.install-step::before {
    counter-increment: step;
    content: counter(step);
    min-width: 32px; height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(37,99,235,.25);
    flex-shrink: 0;
}
.install-step-content h4 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.install-step-content p { font-size: 13px; color: var(--text-light); }

/* --- 分享按钮 --- */
.share-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
}
.share-label { font-size: 13px; font-weight: 600; color: var(--text); }
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    font-size: 16px;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    border: 1px solid var(--border);
    color: var(--text-light);
    background: var(--bg-card);
}
.share-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.share-btn.wechat:hover { background: #07c160; color: #fff; border-color: #07c160; }
.share-btn.weibo:hover { background: #e6162d; color: #fff; border-color: #e6162d; }
.share-btn.qq:hover { background: #1296db; color: #fff; border-color: #1296db; }
.share-btn.link:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* --- 文章信息 --- */
.article-footer {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 12px 20px;
    font-size: 13px;
    color: var(--text-lighter);
}

/* --- 侧边栏 --- */
.side-box {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}
.side-box:hover { box-shadow: var(--shadow); }
.side-title {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-light);
    background: linear-gradient(135deg, rgba(37,99,235,.03), rgba(6,182,212,.03));
}
.side-title h4 {
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}
.side-title h4::before {
    content: '';
    width: 4px; height: 16px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 2px;
}
.side-content { padding: 12px 18px; }

/* --- 排行榜 --- */
.rank-list { list-style: none; }
.rank-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}
.rank-item:last-child { border-bottom: none; }
.rank-item:hover { transform: translateX(4px); }
.rank-num {
    min-width: 22px; height: 22px;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700;
    color: var(--text-lighter);
    background: var(--bg);
    border-radius: 6px;
}
.rank-top .rank-num {
    background: linear-gradient(135deg, var(--warning), #f97316);
    color: #fff;
    box-shadow: 0 2px 6px rgba(245,158,11,.25);
}
.rank-icon { width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0; }
.rank-info { flex: 1; min-width: 0; }
.rank-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.rank-name:hover { color: var(--primary); }
.rank-dl { font-size: 11px; color: var(--text-lighter); }

/* --- 标签云 --- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-item {
    padding: 5px 14px;
    background: var(--bg);
    border-radius: 16px;
    font-size: 12px;
    color: var(--text-light);
    transition: var(--transition);
    border: 1px solid transparent;
}
.tag-item:hover {
    background: rgba(37,99,235,.06);
    color: var(--primary);
    border-color: var(--primary-light);
    transform: translateY(-1px);
}

/* --- 推荐卡片 --- */
.recommend-cards {}
.rec-card {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    align-items: center;
    transition: var(--transition);
}
.rec-card:last-child { border-bottom: none; }
.rec-card:hover { transform: translateX(4px); }
.rec-card-icon { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; }
.rec-card-info { flex: 1; min-width: 0; }
.rec-card-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.rec-card-name:hover { color: var(--primary); }
.rec-card-desc { font-size: 12px; color: var(--text-lighter); margin-top: 2px; }

/* --- 最新更新列表 --- */
.new-list { list-style: none; }
.new-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 13px;
    transition: var(--transition);
}
.new-list li:last-child { border-bottom: none; }
.new-list li:hover { transform: translateX(4px); }
.new-list li a {
    color: var(--text);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 10px;
}
.new-list li a:hover { color: var(--primary); }
.side-time { font-size: 11px; color: var(--text-lighter); white-space: nowrap; }

/* --- 分页 --- */
.pagebar { text-align: center; padding: 20px 0; }
.pagebar a, .pagebar span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px; height: 36px;
    padding: 0 12px;
    margin: 0 3px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    background: var(--bg-card);
    color: var(--text-light);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.pagebar a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
}
.pagebar .now {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* --- Footer --- */
.site-footer {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0b1120 100%);
    color: #94a3b8;
    margin-top: 40px;
    position: relative;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 20px;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-brand-desc {
    font-size: 13px;
    line-height: 1.8;
    color: #64748b;
    margin-top: 12px;
}
.footer-col h5 {
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
    color: #64748b;
    font-size: 13px;
    transition: var(--transition);
}
.footer-col a:hover { color: var(--primary-light); transform: translateX(4px); display: inline-block; }
.footer-stats {
    display: flex;
    justify-content: space-around;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-stat { text-align: center; }
.stat-num { font-size: 22px; font-weight: 800; color: #e2e8f0; }
.stat-label { font-size: 12px; color: #64748b; margin-top: 2px; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    font-size: 12px;
    color: #475569;
    flex-wrap: wrap;
    gap: 8px;
}

/* --- 返回顶部 --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(37,99,235,.35);
    z-index: 999;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(37,99,235,.45);
}

/* --- 响应式 --- */
@media (max-width: 992px) {
    .main-container { flex-direction: column; }
    .content-right { width: 100%; }
    .featured-grid { grid-template-columns: repeat(4, 1fr); }
    .hot-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-inner { height: 52px; padding: 0 12px; }
    .nav-search { display: none; }
    .featured-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 12px; }
    .hot-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 12px; }
    .features-grid { grid-template-columns: 1fr; }
    .detail-header { flex-direction: column; align-items: center; text-align: center; }
    .detail-meta-row { justify-content: center; }
    .detail-actions { justify-content: center; }
    .hero-banner { padding: 24px 20px; }
    .hero-title { font-size: 22px; }
    .trust-badges { flex-direction: column; }
    .today-stats-bar { flex-wrap: wrap; gap: 12px; padding: 16px; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-stats { flex-wrap: wrap; gap: 16px; }
    .share-bar { justify-content: center; }
}
@media (max-width: 480px) {
    .featured-grid { grid-template-columns: repeat(2, 1fr); }
    .hot-grid { grid-template-columns: repeat(2, 1fr); }
    .main-wrap { padding: 10px; }
}

/* --- 骨架屏加载 --- */
.skeleton {
    background: linear-gradient(90deg, var(--bg) 25%, #e8ecf4 37%, var(--bg) 63%);
    background-size: 200% 100%;
    animation: skeletonWave 1.5s infinite;
    border-radius: 8px;
}
@keyframes skeletonWave { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* --- 权限列表 --- */
.perm-list { padding: 16px 20px; }
.perm-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 13px;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-light);
}
.perm-item:last-child { border-bottom: none; }
.perm-icon {
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(37,99,235,.08);
    color: var(--primary);
    border-radius: 8px;
    font-size: 14px;
    flex-shrink: 0;
}
.perm-name { font-weight: 600; color: var(--text); }
.perm-desc { font-size: 12px; color: var(--text-lighter); }

/* --- 版本时间线 --- */
.version-timeline { padding: 16px 20px; }
.timeline-item {
    display: flex;
    gap: 14px;
    padding-bottom: 20px;
    position: relative;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
    margin-top: 4px;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(37,99,235,.15);
}
.timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 16px;
    width: 2px;
    height: calc(100% - 12px);
    background: var(--border);
}
.timeline-content { flex: 1; }
.timeline-ver { font-size: 14px; font-weight: 700; color: var(--text); }
.timeline-date { font-size: 12px; color: var(--text-lighter); margin-left: 8px; }
.timeline-desc { font-size: 13px; color: var(--text-light); margin-top: 4px; line-height: 1.7; }

/* --- 软件对比表 --- */
.compare-table-wrap { padding: 16px 20px; overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.compare-table th {
    padding: 10px 14px;
    background: var(--bg);
    font-weight: 600;
    text-align: left;
    border-bottom: 2px solid var(--border);
}
.compare-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-light);
}
.compare-table .check { color: var(--success); font-weight: 700; }
.compare-table .cross { color: var(--danger); font-weight: 700; }

/* --- 页面加载器隐藏动画 --- */
.page-loader.loaded { opacity: 0; transition: opacity .4s; pointer-events: none; }


/* ========== SVG 图标系统 ========== */
.ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    flex-shrink: 0;
    line-height: 1;
}
.ic svg {
    display: block;
    width: 1em;
    height: 1em;
}
.ic svg[fill="none"] { fill: none !important; }

/* 分类导航图标 */
.cate-nav .cate-icon {
    display: inline-flex;
    align-items: center;
    margin-right: 4px;
    font-size: 18px;
    color: var(--primary);
    opacity: 0.85;
}
.cate-nav a.active .cate-icon { color: #fff; opacity: 1; }
.cate-nav a:hover .cate-icon { color: #fff; opacity: 1; }

/* 信任徽章图标 */
.trust-badge .badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    flex-shrink: 0;
}
.trust-badge .badge-icon .ic { font-size: 24px; }
.badge-icon.green { background: rgba(16,185,129,0.1); color: #10b981; }
.badge-icon.blue { background: rgba(37,99,235,0.1); color: #2563eb; }
.badge-icon.purple { background: rgba(139,92,246,0.1); color: #8b5cf6; }
.badge-icon.orange { background: rgba(245,158,11,0.1); color: #f59e0b; }

/* 权限图标 */
.perm-icon .ic { width: 16px; height: 16px; }
