:root {
    --brand: #1faa52;
    --brand-2: #34c759;
    --brand-dark: #158043;
    --ink: #1f2430;
    --ink-2: #5b6472;
    --ink-3: #97a0ad;
    --card: #ffffff;
    --line: #eef1f5;
    --radius: 20px;
    --shadow: 0 12px 38px rgba(24, 51, 96, .10);
    --glow: 0 22px 60px rgba(31, 170, 82, .28);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "微软雅黑", sans-serif;
    color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased;
    background-color: #e6eefb; position: relative; min-height: 100vh; overflow-x: hidden;
}
/* 背景底色渐变 */
body::before {
    content: ""; position: fixed; inset: 0; z-index: -2;
    background:
        radial-gradient(1000px 560px at 12% -10%, rgba(52, 199, 120, .18), transparent 60%),
        radial-gradient(820px 560px at 100% 0%, rgba(56, 132, 255, .20), transparent 55%),
        linear-gradient(180deg, #e3ecfb 0%, #e8f0fa 50%, #e5edf8 100%);
}
/* 背景浮动光球（动态炫光） */
body::after {
    content: ""; position: fixed; z-index: -1; top: 12%; left: 55%;
    width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
    background: radial-gradient(circle at 30% 30%, rgba(52, 199, 120, .28), transparent 62%),
                radial-gradient(circle at 70% 70%, rgba(56, 132, 255, .26), transparent 62%);
    filter: blur(60px); border-radius: 50%;
    animation: floatBlob 18s ease-in-out infinite; pointer-events: none;
}
@keyframes floatBlob {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(-14vw, 8vw) scale(1.12); }
    66%  { transform: translate(8vw, -6vw) scale(.92); }
    100% { transform: translate(0, 0) scale(1); }
}
a { text-decoration: none; color: inherit; }
img { border: 0; max-width: 100%; vertical-align: middle; }
.cont { width: min(92%, 1280px); margin: 0 auto; }

/* ===== 顶部导航（玻璃） ===== */
.top {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .62);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, .5);
    box-shadow: 0 4px 24px rgba(24, 51, 96, .06);
}
.top .cont { display: flex; align-items: center; justify-content: space-between; height: clamp(60px, 8vw, 76px); gap: 12px; flex-wrap: wrap; }
.header-logo a { display: inline-flex; align-items: center; gap: 10px; }
.header-logo img { max-height: 44px; transition: transform .3s; }
.header-logo:hover img { transform: scale(1.06); }
.header-logo .logo-text {
    font-size: clamp(18px, 2.4vw, 23px); font-weight: 800; letter-spacing: .5px;
    background: linear-gradient(90deg, var(--brand), var(--brand-2) 60%, #38b6ff);
    background-size: 200% auto;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }
.header-nav { list-style: none; display: flex; gap: 4px; flex-wrap: wrap; }
.header-nav li a {
    position: relative; display: block; padding: 9px 16px; font-size: 15px;
    color: var(--ink-2); border-radius: 10px; font-weight: 500; transition: all .22s ease;
}
.header-nav li a:hover { color: var(--brand); background: rgba(31, 170, 82, .10); }
.header-nav li a.current { color: var(--brand); }
.header-nav li a.current::after {
    content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 3px;
    border-radius: 3px; background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

/* ===== 下载区块 ===== */
.down-section { padding: clamp(24px, 4vw, 42px) 0 6px; }
.down-section .title {
    position: relative; font-size: clamp(18px, 2.6vw, 22px); font-weight: 800; color: var(--ink);
    padding-left: 16px; margin-bottom: clamp(18px, 2.5vw, 28px);
}
.down-section .title::before {
    content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 5px;
    border-radius: 4px; background: linear-gradient(180deg, var(--brand), var(--brand-2));
    box-shadow: 0 0 12px rgba(31, 170, 82, .5);
}
.item-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr));
    gap: clamp(18px, 2vw, 26px);
}

/* ===== 玻璃卡片 ===== */
.item {
    position: relative;
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: var(--radius); padding: clamp(20px, 2.6vw, 28px);
    box-shadow: var(--shadow);
    display: grid; grid-template-columns: 74px 1fr; column-gap: 20px; row-gap: 14px;
    align-items: start; overflow: hidden;
    transition: transform .32s cubic-bezier(.2,.7,.3,1), box-shadow .32s, border-color .32s;
    animation: fadeUp .6s both;
}
.item:nth-child(1){animation-delay:.04s} .item:nth-child(2){animation-delay:.10s}
.item:nth-child(3){animation-delay:.16s} .item:nth-child(4){animation-delay:.22s}
.item:nth-child(5){animation-delay:.28s} .item:nth-child(6){animation-delay:.34s}
.item:nth-child(7){animation-delay:.40s} .item:nth-child(8){animation-delay:.46s}
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.item::before {
    content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
    background: linear-gradient(90deg, var(--brand), var(--brand-2), #38b6ff);
    opacity: 0; transition: opacity .32s;
}
.item:hover {
    transform: translateY(-8px);
    box-shadow: var(--glow);
    border-color: rgba(52, 199, 120, .5);
}
.item:hover::before { opacity: 1; }

.softicon {
    width: 74px; height: 74px; object-fit: contain; grid-row: span 2;
    border-radius: 18px; background: #fff; padding: 6px;
    box-shadow: 0 6px 18px rgba(31,41,55,.12); transition: transform .32s, box-shadow .32s;
}
.item:hover .softicon { transform: scale(1.06) rotate(-3deg); box-shadow: 0 10px 26px rgba(31,170,82,.35); }
.softicon-ph {
    grid-row: span 2; width: 74px; height: 74px;
    background: linear-gradient(135deg, #e4f7ec, #d6ecff);
    transition: transform .32s;
}
.item:hover .softicon-ph { transform: scale(1.06) rotate(-3deg); }
.softwareInfo { padding-top: 2px; min-width: 0; }
.softwareInfo .name { font-size: clamp(16px, 2vw, 18px); font-weight: 700; color: var(--ink); line-height: 1.35; }
.softwareInfo .var {
    display: inline-block; margin-top: 8px; font-size: 12.5px; color: var(--ink-2);
    background: rgba(31, 60, 110, .06); padding: 3px 10px; border-radius: 20px;
}
.introduction {
    grid-column: 1 / span 2; font-size: 13.5px; color: var(--ink-2);
    min-height: 40px; line-height: 1.7;
}
.down { grid-column: 1 / span 2; display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.down a {
    position: relative; overflow: hidden;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 24px; border-radius: 12px; font-size: 14px; font-weight: 600;
    transition: transform .2s, box-shadow .2s, background .2s; cursor: pointer;
}
/* 按钮流光划过 */
.down a::after {
    content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent);
    transform: skewX(-20deg); transition: left .6s ease;
}
.down a:hover::after { left: 140%; }
.btn-main {
    color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: 0 8px 20px rgba(31, 170, 82, .38);
}
.btn-main:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(31, 170, 82, .5); }
.btn-main::before { content: "\2193"; font-weight: 800; }
.btn-sub {
    color: var(--brand-dark); background: rgba(255,255,255,.8); border: 1.5px solid rgba(31, 170, 82, .45);
}
.btn-sub:hover { background: rgba(31, 170, 82, .10); transform: translateY(-2px); }

/* ===== 页脚（融合背景） ===== */
.footer {
    background: transparent; color: var(--ink-2);
    margin-top: clamp(34px, 5vw, 60px); padding: clamp(30px, 4vw, 44px) 0 0;
    border-top: 1px solid rgba(31, 60, 110, .10);
}
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr auto; gap: clamp(28px, 5vw, 64px); padding-bottom: 30px; align-items: center; }
.foot-brand .foot-name {
    font-size: 19px; font-weight: 800; margin-bottom: 12px;
    background: linear-gradient(90deg, var(--brand), var(--brand-2), #38b6ff); background-size: 200% auto;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    animation: shine 6s linear infinite;
}
.foot-brand .foot-logo-img { max-width: 190px; margin-bottom: 4px; }
.foot-brand .foot-desc { font-size: 13px; line-height: 1.9; color: var(--ink-3); max-width: 460px; }
.foot-col h4 { color: var(--ink); font-size: 18px; font-weight: 700; margin-bottom: 18px; position: relative; padding-left: 12px; }
.foot-col h4::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 4px; border-radius: 3px; background: linear-gradient(180deg, var(--brand), var(--brand-2)); }
.foot-col p { font-size: 15px; margin-bottom: 12px; color: var(--ink-2); }
.foot-qr-col { text-align: center; }
.foot-qr-col .qr { width: 112px; height: 112px; border-radius: 14px; background: #fff; padding: 6px; box-shadow: var(--shadow); }
.foot-copy {
    border-top: 1px solid rgba(31, 60, 110, .10); padding: 18px 0 26px;
    font-size: 12.5px; color: var(--ink-3); text-align: center;
}
.foot-copy a { color: var(--ink-2); transition: color .2s; }
.foot-copy a:hover { color: var(--brand); }

/* ===== 响应式 ===== */
@media (max-width: 820px) {
    .foot-grid { grid-template-columns: 1fr; gap: 28px; }
    .foot-qr-col { text-align: left; }
}
@media (max-width: 560px) {
    .top .cont { justify-content: center; text-align: center; }
    .header-nav { justify-content: center; }
    .item { grid-template-columns: 60px 1fr; column-gap: 14px; }
    .softicon, .softicon-ph { width: 60px; height: 60px; }
    .down a { flex: 1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    body::after, .item, .logo-text, .foot-name { animation: none !important; }
}
