/* ============================================================
   7-Zip 中文下载站 - 统一设计系统 v2
   每个产品文件夹独立一份，仅需修改 :root 中 --p / --p2 两个主色
   ============================================================ */
:root {
    --p: #3776ab;          /* 产品主色 */
    --p2: #2c5f8a;         /* 产品主色（深） */
    --ink: #0f172a;
    --mut: #64748b;
    --line: #e2e8f0;
    --bg: #f6f8fa;
    --card: #ffffff;
    --rad: 14px;
    --shadow: 0 1px 3px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
    --xunlei: #2f7bff;
    --baidu: #12b7f5;
    --quark: #7c5cff;
    --uc: #ff7a45;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: var(--p); }
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------- 顶部导航 ---------- */
.header {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    gap: 16px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-badge {
    width: 42px; height: 42px; flex: 0 0 42px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--p) 0%, var(--p2) 100%);
    color: #fff; font-weight: 800; font-size: 15px;
    border-radius: 11px; letter-spacing: .5px;
    text-decoration: none;
}
.logo-name { font-size: 19px; font-weight: 800; color: var(--ink); line-height: 1.2; }
.logo-name a { color: inherit; text-decoration: none; }
.logo .tagline { font-size: 12px; color: var(--mut); }

.nav ul { display: flex; list-style: none; gap: 6px; flex-wrap: wrap; }
.nav a {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    font-size: 14.5px;
    padding: 7px 13px;
    border-radius: 8px;
    transition: all .2s;
}
.nav a:hover { color: var(--p); background: color-mix(in srgb, var(--p) 8%, #fff); }
.nav a.active { color: var(--p); background: color-mix(in srgb, var(--p) 12%, #fff); font-weight: 600; }
.nav-cta {
    background: linear-gradient(135deg, var(--p) 0%, var(--p2) 100%) !important;
    color: #fff !important;
    font-weight: 600 !important;
    padding: 8px 16px !important;
    box-shadow: 0 2px 8px color-mix(in srgb, var(--p) 40%, transparent);
}
.nav-cta:hover { filter: brightness(1.06); }

/* ---------- 面包屑 ---------- */
.crumb { padding: 14px 0 0; font-size: 13px; color: var(--mut); }
.crumb a { color: var(--mut); text-decoration: none; }
.crumb a:hover { color: var(--p); }
.crumb .sep { margin: 0 6px; color: #cbd5e1; }

/* ---------- Hero ---------- */
.hero {
    background:
        radial-gradient(1000px 400px at 85% -10%, rgba(255, 255, 255, .16), transparent 60%),
        linear-gradient(135deg, var(--p) 0%, var(--p2) 100%);
    color: #fff;
    padding: 64px 0 56px;
}
.hero .container { display: flex; align-items: center; gap: 48px; }
.hero-content { flex: 1.2; min-width: 0; }
.hero-title { font-size: 40px; font-weight: 800; margin-bottom: 14px; line-height: 1.25; }
.hero-title .hl { display: inline-block; background: rgba(255,255,255,.18); border-radius: 8px; padding: 0 8px; }
.hero-subtitle { font-size: 16.5px; margin-bottom: 22px; opacity: .94; max-width: 640px; }
.hero-buttons { display: flex; gap: 14px; margin-bottom: 26px; flex-wrap: wrap; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15.5px;
    border: none;
    cursor: pointer;
    transition: all .2s;
}
.btn-primary { background: #fff; color: var(--p2); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .22); }
.btn-secondary { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .75); }
.btn-secondary:hover { background: rgba(255, 255, 255, .12); }
.btn-large { padding: 16px 42px; font-size: 17px; }

.hero-stats { display: flex; gap: 40px; }
.stat-item { text-align: center; }
.stat-number { display: block; font-size: 26px; font-weight: 800; margin-bottom: 2px; }
.stat-label { font-size: 13px; opacity: .85; }
.hero-image { flex: .8; }

/* ---------- 信任徽标行 ---------- */
.trust-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.trust-chips span {
    font-size: 12.5px;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .35);
    padding: 4px 12px;
    border-radius: 999px;
}

/* ---------- 区块通用 ---------- */
.section { padding: 64px 0; }
.section.alt { background: var(--card); }
.section-head { text-align: center; margin-bottom: 40px; }
.section-title { font-size: 30px; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.section-sub { color: var(--mut); font-size: 15px; max-width: 640px; margin: 0 auto; }

/* ---------- 功能卡片 ---------- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.feature-card {
    background: var(--card);
    padding: 26px 24px;
    border-radius: var(--rad);
    text-align: left;
    border: 1px solid var(--line);
    transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon {
    width: 48px; height: 48px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 24px;
    background: color-mix(in srgb, var(--p) 10%, #fff);
    border-radius: 12px;
    margin-bottom: 14px;
}
.feature-card h3 { font-size: 17.5px; margin-bottom: 8px; color: var(--ink); }
.feature-card p { color: var(--mut); font-size: 14px; line-height: 1.7; }

/* ---------- 网盘下载按钮 ---------- */
.nd-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.nd {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 13px 10px 11px;
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    transition: transform .15s, filter .15s, box-shadow .15s;
    border: none;
    line-height: 1.3;
}
.nd:hover { transform: translateY(-2px); filter: brightness(1.07); box-shadow: 0 6px 16px rgba(15, 23, 42, .18); }
.nd small { font-size: 11.5px; font-weight: 500; opacity: .92; letter-spacing: .3px; }
.nd--xunlei { background: var(--xunlei); }
.nd--baidu { background: var(--baidu); }
.nd--quark { background: var(--quark); }
.nd--uc { background: var(--uc); }

.code-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: #475569;
    background: #f1f5f9;
    border: 1px dashed #cbd5e1;
    padding: 3px 10px;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: all .15s;
    font-family: ui-monospace, Consolas, monospace;
}
.code-chip:hover { border-color: var(--p); color: var(--p); background: color-mix(in srgb, var(--p) 6%, #fff); }
.code-chip::before { content: "提取码 "; opacity: .75; }
.code-chip.ok::before { content: ""; }
.code-chip.ok { background: #dcfce7; border-color: #86efac; color: #166534; }

/* ---------- 推荐下载卡 ---------- */
.dlhero {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 28px;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 28px;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.dlhero::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--xunlei), var(--baidu), var(--quark), var(--uc));
}
.dlhero-info { min-width: 0; }
.dlhero-info h2 { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.dlhero-info .file-line { color: var(--mut); font-size: 14px; margin-bottom: 12px; }
.dlhero-info .file-line code {
    background: #f1f5f9; border: 1px solid var(--line);
    padding: 2px 8px; border-radius: 6px;
    font-size: 13px; color: var(--ink);
    font-family: ui-monospace, Consolas, monospace;
}
.dlhero-rec {
    display: inline-flex; align-items: center; gap: 6px;
    background: linear-gradient(135deg, var(--p) 0%, var(--p2) 100%);
    color: #fff; font-size: 12.5px; font-weight: 600;
    padding: 3px 12px; border-radius: 999px; margin-bottom: 10px;
}
.dlhero-panel h3 { font-size: 15px; color: var(--ink); margin-bottom: 12px; font-weight: 700; }
.dlhero-note { margin-top: 12px; font-size: 12.5px; color: var(--mut); }

/* ---------- 下载步骤 ---------- */
.steps-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.step {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--rad);
    padding: 22px;
    position: relative;
}
.step-no {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px;
    background: linear-gradient(135deg, var(--p) 0%, var(--p2) 100%);
    color: #fff; border-radius: 50%;
    font-weight: 800; font-size: 16px;
    margin-bottom: 12px;
}
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { color: var(--mut); font-size: 13.5px; line-height: 1.7; }

/* ---------- 版本区块 + 下载表格 ---------- */
.ver-sec { margin-bottom: 44px; }
.ver-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 6px; }
.ver-head h3 { font-size: 22px; font-weight: 800; color: var(--ink); }
.ver-head .ver-date { color: var(--mut); font-size: 13.5px; }
.ver-sub { color: var(--mut); font-size: 14px; margin-bottom: 16px; }
.table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); }
.dl-table { width: 100%; border-collapse: collapse; min-width: 760px; background: var(--card); }
.dl-table th, .dl-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: middle; }
.dl-table th { background: #f8fafc; font-weight: 600; color: #475569; font-size: 13px; white-space: nowrap; }
.dl-table tr:last-child td { border-bottom: none; }
.dl-table tbody tr:hover { background: #f0fdf9; }
.dl-table td.desc-cell { color: #334155; }
.cell-btns { display: flex; flex-direction: column; gap: 6px; align-items: stretch; min-width: 128px; }

/* 兼容旧表格类（其他子页面沿用） */
.download-table { width: 100%; border-collapse: collapse; margin: 30px 0; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.download-table th, .download-table td { padding: 16px; text-align: left; border-bottom: 1px solid var(--line); }
.download-table th { background: #f8fafc; font-weight: 600; color: #374151; text-transform: uppercase; font-size: 13px; }
.download-table tr:hover { background: #f0fdf9; }
.download-table tr:last-child td { border-bottom: none; }
.download-link {
    display: inline-block; padding: 9px 22px; background: var(--p); color: #fff;
    text-decoration: none; border-radius: 7px; font-size: 14px; font-weight: 600; transition: all .2s;
}
.download-link:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 4px 12px color-mix(in srgb, var(--p) 35%, transparent); }
.download-link.xunlei { background: var(--xunlei); }
.download-link.baidu { background: var(--baidu); }
.download-link.quark { background: var(--quark); }
.download-link.uc { background: var(--uc); }

.platform-badge {
    display: inline-block; padding: 3px 10px; border-radius: 6px;
    font-size: 12px; font-weight: 600; white-space: nowrap;
    background: #e0f2fe; color: #0369a1;
}
.platform-badge.x64, .platform-badge.win64 { background: #dbeafe; color: #1d4ed8; }
.platform-badge.x86, .platform-badge.win32 { background: #fef3c7; color: #92400e; }
.platform-badge.arm64, .platform-badge.arm { background: #e0e7ff; color: #4338ca; }
.platform-badge.install { background: #dcfce7; color: #166534; }
.platform-badge.portable { background: #fae8ff; color: #86198f; }

.category-title {
    font-size: 20px; font-weight: 700; color: var(--ink);
    margin: 34px 0 14px; padding-bottom: 8px; border-bottom: 3px solid var(--p);
}
.version-header { text-align: center; margin-bottom: 40px; }
.version-number { font-size: 42px; font-weight: 800; color: var(--p); margin-bottom: 8px; }
.version-date { color: var(--mut); font-size: 15px; }
.version-section { margin-bottom: 60px; }
.version-section-title { font-size: 26px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.version-section-date { color: var(--mut); margin-bottom: 24px; }

.info-box { background: #f0fdf9; border-left: 4px solid var(--p); padding: 18px 20px; border-radius: 10px; margin: 24px 0; }
.info-box h4 { color: var(--ink); margin-bottom: 8px; font-size: 15.5px; }
.info-box p { color: #475569; line-height: 1.8; margin: 0; font-size: 14px; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-mini {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 20px 22px;
    margin-bottom: 14px;
}
.faq-mini h3 { font-size: 16px; margin-bottom: 8px; display: flex; gap: 10px; align-items: baseline; }
.faq-mini h3 .q-tag { color: var(--p); font-weight: 800; flex: 0 0 auto; }
.faq-mini p { color: var(--mut); font-size: 14px; line-height: 1.8; }

/* 兼容旧 FAQ 折叠类 */
.faq-section { padding: 64px 0; background: #fff; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { margin-bottom: 14px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.faq-question { padding: 16px 20px; background: #f8fafc; cursor: pointer; font-weight: 600; font-size: 16px; color: var(--ink); display: flex; justify-content: space-between; align-items: center; }
.faq-question::after { content: '+'; font-size: 22px; color: var(--p); }
.faq-answer { padding: 16px 20px; background: #fff; color: #475569; line-height: 1.8; display: none; font-size: 14.5px; }
.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-question::after { content: '-'; }

/* ---------- 相关推荐 ---------- */
.rel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.rel-card {
    display: block;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 18px;
    text-decoration: none;
    transition: transform .15s, box-shadow .15s, border-color .15s;
}
.rel-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--p) 40%, var(--line)); }
.rel-card .rel-ico {
    width: 40px; height: 40px; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    background: color-mix(in srgb, var(--p) 10%, #fff);
    font-size: 19px; margin-bottom: 10px;
}
.rel-card h3 { font-size: 15.5px; color: var(--ink); margin-bottom: 4px; }
.rel-card p { font-size: 13px; color: var(--mut); line-height: 1.6; }

/* ---------- 更新日志（新版页面内嵌） ---------- */
.log-list { max-width: 860px; margin: 0 auto; }
.log-item {
    background: var(--card);
    border: 1px solid var(--line);
    border-left: 4px solid var(--p);
    border-radius: 12px;
    padding: 20px 22px;
    margin-bottom: 14px;
}
.log-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.log-ver { font-size: 17px; font-weight: 800; }
.log-date { color: var(--mut); font-size: 13px; background: #f1f5f9; padding: 3px 12px; border-radius: 999px; }
.log-item ul { list-style: none; }
.log-item li { padding: 5px 0 5px 18px; position: relative; color: #475569; font-size: 14px; }
.log-item li::before { content: "•"; position: absolute; left: 2px; color: var(--p); font-weight: 700; }
.badge { display: inline-block; padding: 2px 9px; border-radius: 5px; font-size: 12px; font-weight: 600; margin-right: 6px; }
.badge.new { background: #dcfce7; color: #166534; }
.badge.fix { background: #fef3c7; color: #92400e; }
.badge.improve { background: #dbeafe; color: #1e40af; }

/* 兼容旧 quickstart / changelog 类 */
.quickstart-section { background: #f8fafc; padding: 64px 0; }
.quickstart-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; margin-top: 36px; }
.quickstart-card { background: #fff; border-radius: 12px; padding: 26px; box-shadow: 0 2px 6px rgba(0,0,0,.05); border: 1px solid var(--line); transition: all .2s; }
.quickstart-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.quickstep-number { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; background: linear-gradient(135deg, var(--p) 0%, var(--p2) 100%); color: #fff; border-radius: 50%; font-weight: 700; font-size: 17px; margin-bottom: 16px; }
.quickstart-card h3 { font-size: 19px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.quickstart-card p { color: var(--mut); line-height: 1.7; font-size: 14px; }
.quickstart-card .quick-link { display: inline-block; margin-top: 12px; color: var(--p); text-decoration: none; font-weight: 500; font-size: 14px; }
.quickstart-card .quick-link:hover { text-decoration: underline; }
.changelog-section { padding: 64px 0; }
.changelog-container { max-width: 860px; margin: 0 auto; }
.changelog-item { background: #fff; border-radius: 12px; padding: 22px; margin-bottom: 16px; box-shadow: 0 2px 4px rgba(0,0,0,.04); border-left: 4px solid var(--p); }
.changelog-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; flex-wrap: wrap; gap: 8px; }
.changelog-version { font-size: 17px; font-weight: 700; color: var(--ink); }
.changelog-date { color: var(--mut); font-size: 13px; background: #f1f5f9; padding: 3px 12px; border-radius: 999px; }
.changelog-content { color: #475569; line-height: 1.8; }
.changelog-content ul { list-style: none; }
.changelog-content li { padding: 6px 0 6px 18px; position: relative; }
.changelog-content li::before { content: "•"; position: absolute; left: 0; color: var(--p); font-weight: bold; }
.changelog-badge { display: inline-block; padding: 3px 10px; border-radius: 5px; font-size: 12px; font-weight: 600; margin-left: 8px; }
.changelog-badge.new { background: #dcfce7; color: #166534; }
.changelog-badge.fix { background: #fef3c7; color: #92400e; }
.changelog-badge.improve { background: #dbeafe; color: #1e40af; }

/* ---------- Hero 压缩演示（兼容） ---------- */
.compress-demo { background: #fff; border-radius: 14px; padding: 26px; box-shadow: 0 12px 40px rgba(0, 0, 0, .18); }
.compress-box { display: flex; flex-direction: column; gap: 16px; }
.compress-item { display: flex; align-items: center; gap: 14px; padding: 14px; background: #f8fafc; border-radius: 10px; }
.compress-icon { font-size: 30px; }
.compress-name { flex: 1; font-weight: 600; color: var(--ink); font-size: 17px; }
.compress-size { font-size: 22px; font-weight: 800; color: var(--p); }
.compress-arrow { text-align: center; font-size: 30px; color: var(--p); font-weight: bold; }

/* ---------- 兼容旧下载页区块 ---------- */
.download-section { padding: 64px 0; background: #fff; }
.download-content { display: flex; align-items: center; gap: 48px; }
.download-info { flex: 1; }
.download-image { flex: 1; text-align: center; }
.download-image img { max-width: 100%; border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,.18); }
.download-info h2 { font-size: 32px; margin-bottom: 16px; color: var(--ink); }
.download-info p { font-size: 15px; color: var(--mut); margin-bottom: 24px; }
.download-options { display: flex; flex-direction: column; gap: 14px; }
.download-option { display: flex; align-items: center; justify-content: space-between; padding: 18px; background: #f8fafc; border-radius: 10px; border: 2px solid var(--line); transition: all .2s; }
.download-option:hover { border-color: var(--p); background: #f0fdf9; }
.option-info { display: flex; align-items: center; gap: 14px; }
.option-icon { font-size: 30px; }
.option-details h3 { font-size: 17px; margin-bottom: 4px; color: var(--ink); }
.option-details p { font-size: 13px; color: var(--mut); margin: 0; }
.version-info { display: flex; gap: 18px; font-size: 13px; color: var(--mut); }
.version-info span { display: flex; align-items: center; gap: 5px; }

/* ---------- 兼容旧功能/关于/团队 ---------- */
.features-preview { padding: 64px 0; background: #fff; }
.features-section { padding: 64px 0; background: #f8fafc; }
.features-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 22px; }
.feature-item { background: #fff; padding: 26px; border-radius: 12px; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.feature-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-item h3 { font-size: 20px; margin-bottom: 12px; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.feature-item p { color: var(--mut); font-size: 14.5px; line-height: 1.8; }
.about-section { padding: 64px 0; background: #fff; }
.about-content { max-width: 800px; margin: 0 auto; }
.about-content h2 { font-size: 32px; margin-bottom: 24px; color: var(--ink); }
.about-content p { font-size: 15px; color: #475569; line-height: 1.8; margin-bottom: 16px; }
.team-section { padding: 64px 0; background: #f8fafc; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 40px; }
.team-member { background: #fff; padding: 26px; border-radius: 12px; text-align: center; border: 1px solid var(--line); }
.team-member h3 { font-size: 19px; margin-bottom: 8px; color: var(--ink); }
.team-member p { color: var(--mut); font-size: 13.5px; }

/* ---------- CTA ---------- */
.cta-section { background: linear-gradient(135deg, var(--p) 0%, var(--p2) 100%); color: #fff; padding: 64px 0; text-align: center; }
.cta-title { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.cta-subtitle { font-size: 16px; margin-bottom: 26px; opacity: .92; }

/* ---------- 页脚 ---------- */
.footer { background: #0f172a; color: #cbd5e1; padding: 52px 0 24px; margin-top: 0; }
.footer-content { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 32px; }
.footer-section h4 { font-size: 15.5px; margin-bottom: 14px; color: #fff; }
.footer-section ul { list-style: none; }
.footer-section li { margin-bottom: 9px; }
.footer-section a { color: #94a3b8; text-decoration: none; font-size: 13.5px; transition: color .2s; }
.footer-section a:hover { color: #fff; }
.footer-section p { color: #94a3b8; font-size: 13px; line-height: 1.7; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 18px; font-size: 12.5px; color: #64748b; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
    .hero .container { flex-direction: column; text-align: center; }
    .hero-title { font-size: 32px; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-buttons, .trust-chips, .hero-stats { justify-content: center; }
    .hero-image { display: none; }
    .dlhero { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .header .container { flex-direction: column; gap: 10px; }
    .nav ul { justify-content: center; }
    .hero { padding: 44px 0 40px; }
    .hero-title { font-size: 27px; }
    .section { padding: 46px 0; }
    .section-title { font-size: 24px; }
    .dl-table th, .dl-table td { padding: 10px 10px; font-size: 13px; }
    .footer-content { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 480px) {
    .hero-title { font-size: 23px; }
    .btn { padding: 11px 20px; font-size: 14px; }
    .nd-grid { grid-template-columns: 1fr 1fr; }
    .dlhero { padding: 20px; }
}

/* ---------- 旧版子页面兼容（features / faq / download 旧区块沿用） ---------- */
.logo h1 { font-size: 19px; font-weight: 800; line-height: 1.2; margin: 0; }
.logo h1 a { color: inherit; text-decoration: none; }
.mobile-menu-btn { display: none; }
.footer-section h3 { font-size: 15.5px; margin-bottom: 14px; color: #fff; }

.page-header { background: linear-gradient(135deg, var(--p) 0%, var(--p2) 100%); color: #fff; padding: 54px 0 46px; text-align: center; }
.page-title { font-size: 36px; font-weight: 800; margin-bottom: 10px; }
.page-subtitle { font-size: 16px; opacity: .92; }

.features-main-section { padding: 60px 0; background: #fff; }
.feature-category { margin-bottom: 40px; }
.feature-detail { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; margin-bottom: 18px; display: flex; gap: 18px; align-items: flex-start; transition: transform .2s, box-shadow .2s; }
.feature-detail:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.feature-icon-large { flex: 0 0 54px; width: 54px; height: 54px; border-radius: 14px; background: color-mix(in srgb, var(--p) 10%, #fff); display: inline-flex; align-items: center; justify-content: center; font-size: 27px; }
.feature-content { flex: 1; min-width: 0; }
.feature-content h3 { font-size: 19px; color: var(--ink); margin-bottom: 10px; }
.feature-content p { color: #475569; font-size: 14.5px; line-height: 1.8; margin-bottom: 10px; }
.feature-list { list-style: none; margin: 6px 0; }
.feature-list li { padding: 5px 0 5px 20px; position: relative; color: #475569; font-size: 14px; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--p); font-weight: 700; }
.feature-note { background: #f0fdf9; border-left: 4px solid var(--p); padding: 12px 16px; border-radius: 8px; color: #475569; font-size: 13.5px; line-height: 1.7; }
.feature-grid-detailed { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-top: 18px; }

.disclaimer-box { background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 16px 20px; color: #92400e; font-size: 13.5px; line-height: 1.7; }

/* div 版对比表（features「版本对比」沿用） */
.download-table .download-row { display: grid; grid-template-columns: 1.4fr .9fr 1fr 1.3fr; gap: 10px; padding: 13px 18px; border-bottom: 1px solid var(--line); align-items: center; }
.download-table .download-row:last-child { border-bottom: none; }
.download-table .download-row.header-row { background: #f8fafc; font-weight: 600; font-size: 13px; color: #374151; }
.download-table .download-cell { font-size: 14px; color: #475569; min-width: 0; overflow-wrap: break-word; }
.download-table .download-cell strong { color: var(--ink); font-size: 14.5px; }

/* faq 页搜索 / 分类 / 代码块 / 联系块 */
.faq-search { max-width: 640px; margin: 0 auto 26px; }
.search-input { width: 100%; padding: 13px 18px; border: 2px solid var(--line); border-radius: 10px; font-size: 15px; outline: none; background: #fff; color: var(--ink); transition: border-color .2s; }
.search-input:focus { border-color: var(--p); }
.faq-categories { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.faq-category-btn { padding: 9px 20px; border: 1px solid var(--line); background: #fff; color: #475569; border-radius: 999px; font-size: 14px; cursor: pointer; transition: all .2s; }
.faq-category-btn:hover { border-color: var(--p); color: var(--p); }
.faq-category-btn.active { background: linear-gradient(135deg, var(--p), var(--p2)); color: #fff; border-color: transparent; }
.faq-toggle { display: none; }
.code-block { background: #0f172a; color: #e2e8f0; padding: 12px 16px; border-radius: 8px; font-family: Consolas, Monaco, 'Courier New', monospace; font-size: 13.5px; margin: 10px 0; overflow-x: auto; }
.faq-contact { text-align: center; margin-top: 40px; padding: 26px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.faq-contact h3 { font-size: 18px; color: var(--ink); margin-bottom: 8px; }
.faq-contact p { color: var(--mut); font-size: 14px; }

/* 旧下载页卡片式区块（与 download.html 内联兼容块配合） */
.download-main-section { padding: 60px 0; background: #f8fafc; }
.download-content { display: block; }
.os-download-section { display: none; }
.os-download-section.active { display: block; }
.download-sources { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.btn-download-small { display: inline-flex; align-items: center; justify-content: center; padding: 7px 16px; border-radius: 7px; background: var(--xunlei); color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; transition: all .2s; }
.btn-download-small:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-download-small.btn-quark { background: var(--quark); }
.btn-download-small.btn-uc { background: var(--uc); }
.version-details { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.source-badge.quark { background: var(--quark); }
.source-badge.uc { background: var(--uc); }

/* 行内 code（FAQ 答案/功能详情内嵌代码） */
.faq-answer code, .feature-content code, .faq-contact code {
    background: #f1f5f9; color: #0f172a; border: 1px solid #e2e8f0;
    padding: 2px 7px; border-radius: 5px; font-size: 13px;
    font-family: Consolas, Monaco, 'Courier New', monospace;
}

/* 下载提示 / 安装提示框（download.html 各平台区块内） */
.download-tips { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--p); border-radius: 12px; padding: 20px 24px; margin-top: 26px; }
.download-tips h3 { font-size: 15.5px; color: var(--ink); margin-bottom: 10px; }
.download-tips ul { list-style: none; margin-bottom: 14px; }
.download-tips li { padding: 5px 0 5px 18px; position: relative; color: #475569; font-size: 14px; line-height: 1.7; }
.download-tips li::before { content: "•"; position: absolute; left: 2px; color: var(--p); font-weight: 700; }
.disclaimer-box h2 { font-size: 17px; margin-bottom: 10px; }
.disclaimer-box p { margin-bottom: 8px; }
.disclaimer-box p:last-child { margin-bottom: 0; }
