@charset "utf-8";

/* ==========================================================
   360浏览器资源分享站 · 主样式
   ========================================================== */

:root{
    --bg:#f5f6f8;
    --panel:#ffffff;
    --ink:#151a21;
    --ink-2:#1d242d;
    --ink-3:#28313c;
    --txt:#3a434f;
    --txt-2:#5b6572;
    --sub:#828c9b;
    --line:#e4e8ee;
    --line-2:#eef1f5;
    --brand:#1f8a54;
    --brand-2:#176b41;
    --brand-soft:#eef7f2;
    --gold:#b98a3c;
    --radius:10px;
    --radius-lg:14px;
    --shadow-1:0 1px 2px rgba(18,24,32,.05);
    --shadow-2:0 10px 30px rgba(18,24,32,.07);
    --maxw:1150px;
}

*,*::before,*::after{box-sizing:border-box}

html{-webkit-text-size-adjust:100%}

body{
    margin:0;
    background:var(--bg);
    color:var(--txt);
    font-family:system-ui,-apple-system,"Segoe UI","Microsoft YaHei","PingFang SC","Hiragino Sans GB",sans-serif;
    font-size:15px;
    line-height:1.75;
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
}

img{max-width:100%;height:auto;display:block;border:0}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{margin:0;color:var(--ink);font-weight:600;letter-spacing:-.01em;line-height:1.35}
p{margin:0}
ul{margin:0;padding:0;list-style:none}

.wrap{max-width:var(--maxw);margin:0 auto;padding:0 22px}

/* ---------- 顶部导航 ---------- */
.site-head{
    position:sticky;top:0;z-index:60;
    background:rgba(255,255,255,.94);
    backdrop-filter:saturate(160%) blur(8px);
    border-bottom:1px solid var(--line);
    transition:box-shadow .25s ease;
}
.site-head.is-stuck{box-shadow:0 2px 14px rgba(18,24,32,.06)}
.head-inner{display:flex;align-items:center;height:64px;gap:28px}
.brand{display:flex;align-items:center;gap:10px;flex-shrink:0}
.brand img{width:30px;height:30px;border-radius:7px}
.brand-txt{display:flex;flex-direction:column;line-height:1.15}
.brand-name{font-size:15px;font-weight:600;color:var(--ink);letter-spacing:.02em}
.brand-sub{font-size:10.5px;color:var(--sub);letter-spacing:.12em;text-transform:uppercase}

.nav{display:flex;align-items:center;gap:4px;margin-left:auto}
.nav a{
    padding:7px 13px;border-radius:7px;font-size:14px;color:var(--txt-2);
    transition:background .18s ease,color .18s ease;
}
.nav a:hover{background:#f0f2f5;color:var(--ink)}
.nav a.on{color:var(--ink);font-weight:600;background:#eff2f5}
.head-tip{
    display:none;font-size:12px;color:var(--sub);
    border-left:1px solid var(--line);padding-left:16px;letter-spacing:.02em;
}
@media (min-width:1080px){.head-tip{display:block}}

/* ---------- 首屏 ---------- */
.hero{position:relative;background:#10161d;color:#e8edf3;overflow:hidden}
.hero-bg{
    position:absolute;inset:0;
    background:url(/assets/img/hero-bg.jpg) center/cover no-repeat;
    opacity:.34;
}
.hero::after{
    content:"";position:absolute;inset:0;
    background:linear-gradient(100deg,#0d1219 6%,rgba(13,18,25,.86) 42%,rgba(13,18,25,.52) 100%);
}
.hero-inner{position:relative;z-index:2;padding:64px 0 76px}
.hero-grid{display:grid;grid-template-columns:1fr;gap:40px;align-items:center}
@media (min-width:960px){.hero-grid{grid-template-columns:1.05fr .95fr;gap:52px}}

.tagline{
    display:inline-block;font-size:12px;letter-spacing:.16em;color:#9fb0c2;
    border:1px solid rgba(255,255,255,.16);border-radius:100px;
    padding:4px 13px;margin-bottom:20px;
}
.hero h1{
    color:#f3f6fa;font-size:32px;line-height:1.3;font-weight:600;letter-spacing:-.015em;
}
@media (min-width:960px){.hero h1{font-size:38px}}
.hero h1 em{font-style:normal;color:#8fd9b3}
.hero-desc{margin-top:16px;color:#a9b6c4;font-size:14.5px;max-width:540px}
.hero-desc b{color:#dbe4ed;font-weight:600}

.hero-meta{
    margin-top:26px;display:flex;flex-wrap:wrap;gap:0 34px;
    border-top:1px solid rgba(255,255,255,.11);padding-top:18px;
}
.hero-meta dl{margin:0;min-width:88px}
.hero-meta dt{font-size:11.5px;color:#8494a5;letter-spacing:.08em}
.hero-meta dd{margin:2px 0 0;font-size:15px;color:#e7eef5;font-weight:600}

.hero-acts{margin-top:30px;display:flex;flex-wrap:wrap;gap:12px}
.btn{
    display:inline-flex;align-items:center;gap:9px;
    padding:12px 22px;border-radius:9px;border:1px solid transparent;
    font-size:14.5px;font-weight:600;cursor:pointer;
    transition:transform .16s ease,box-shadow .2s ease,background .2s ease,border-color .2s ease;
    font-family:inherit;
}
.btn:active{transform:translateY(1px)}
.btn-green{background:var(--brand);color:#fff;box-shadow:0 6px 18px rgba(31,138,84,.28)}
.btn-green:hover{background:var(--brand-2)}
.btn-ghost{background:rgba(255,255,255,.06);color:#dfe7ef;border-color:rgba(255,255,255,.22)}
.btn-ghost:hover{background:rgba(255,255,255,.12)}
.btn-line{background:#fff;color:var(--ink);border-color:var(--line)}
.btn-line:hover{border-color:#c9d0da}
.btn svg{width:16px;height:16px;flex-shrink:0}

.hero-shot{
    border:1px solid rgba(255,255,255,.14);
    border-radius:var(--radius-lg);overflow:hidden;
    box-shadow:0 24px 60px rgba(0,0,0,.42);
    background:#0b0f14;
}
.hero-shot img{width:100%}

/* ---------- 信息条 ---------- */
.factbar{margin-top:-34px;position:relative;z-index:5}
.factbar-inner{
    background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-lg);
    box-shadow:var(--shadow-2);
    display:grid;grid-template-columns:repeat(2,1fr);
}
@media (min-width:760px){.factbar-inner{grid-template-columns:repeat(4,1fr)}}
.fact{padding:18px 22px;border-right:1px solid var(--line-2);border-bottom:1px solid var(--line-2)}
.fact:nth-child(2n){border-right:0}
@media (min-width:760px){
    .fact{border-bottom:0}
    .fact:nth-child(2n){border-right:1px solid var(--line-2)}
    .fact:last-child{border-right:0}
}
.fact dt{font-size:12px;color:var(--sub);letter-spacing:.06em}
.fact dd{margin:3px 0 0;font-size:15.5px;font-weight:600;color:var(--ink)}

/* ---------- 通用区块 ---------- */
.section{padding:56px 0}
.section.alt{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.sec-head{margin-bottom:28px;max-width:720px}
.sec-kicker{
    font-size:11.5px;letter-spacing:.18em;color:var(--brand);
    text-transform:uppercase;font-weight:600;margin-bottom:9px;
}
.sec-head h2{font-size:24px}
@media (min-width:960px){.sec-head h2{font-size:27px}}
.sec-head p{margin-top:11px;color:var(--txt-2);font-size:14.5px}

/* ---------- 功能卡片 ---------- */
.cards{display:grid;grid-template-columns:1fr;gap:16px}
@media (min-width:700px){.cards{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1000px){.cards{grid-template-columns:repeat(3,1fr)}}
.card{
    background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);
    padding:24px 22px;transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease;
}
.card:hover{border-color:#d3dae3;transform:translateY(-2px);box-shadow:var(--shadow-2)}
.card-ico{
    width:38px;height:38px;border-radius:9px;background:var(--brand-soft);
    display:flex;align-items:center;justify-content:center;margin-bottom:15px;
}
.card-ico svg{width:19px;height:19px;stroke:var(--brand);fill:none;stroke-width:1.7}
.card h3{font-size:16px;margin-bottom:8px}
.card p{font-size:13.8px;color:var(--txt-2);line-height:1.7}

/* ---------- 截图 ---------- */
.shots{display:grid;grid-template-columns:1fr;gap:16px}
@media (min-width:820px){.shots{grid-template-columns:repeat(3,1fr)}}
.shot{
    background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);
    overflow:hidden;
}
.shot img{width:100%}
.shot figcaption{padding:13px 16px;font-size:13.5px;color:var(--txt-2);border-top:1px solid var(--line-2)}
.shot figcaption b{color:var(--ink);font-weight:600;display:block;font-size:14px;margin-bottom:2px}

.wide-shot{
    margin-top:16px;border:1px solid var(--line);border-radius:var(--radius);
    overflow:hidden;background:var(--panel);
}
.wide-shot img{width:100%}

/* ---------- 下载区 ---------- */
.dl-grid{display:grid;grid-template-columns:1fr;gap:18px}
@media (min-width:820px){.dl-grid{grid-template-columns:repeat(2,1fr)}}
.dl-card{
    background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-lg);
    padding:26px;display:flex;gap:24px;align-items:flex-start;
    box-shadow:var(--shadow-1);
}
@media (max-width:560px){.dl-card{flex-direction:column;align-items:center;text-align:center}}
.dl-body{flex:1;min-width:0}
.dl-name{display:flex;align-items:center;gap:9px;font-size:16.5px;font-weight:600;color:var(--ink)}
.dl-dot{width:7px;height:7px;border-radius:50%;background:var(--brand);flex-shrink:0}
.dl-baidu .dl-dot{background:#3d72f0}
.dl-note{margin-top:9px;font-size:13.5px;color:var(--txt-2);line-height:1.7}
.dl-note strong{color:var(--ink);font-weight:600}
.dl-meta{margin-top:12px;font-size:12.5px;color:var(--sub)}
.dl-btn{margin-top:18px;width:100%;justify-content:center}

/* 二维码（呼吸边框） */
.qr-hold{position:relative;flex-shrink:0;width:150px}
.qr-box{
    position:relative;padding:9px;background:#fff;border-radius:12px;
    border:1px solid var(--line);
    animation:qrBreath 2.6s ease-in-out infinite;
}
.qr-box::after{
    content:"";position:absolute;inset:-4px;border-radius:15px;
    border:1px solid rgba(31,138,84,.42);
    animation:qrHalo 2.6s ease-in-out infinite;
    pointer-events:none;
}
.dl-baidu .qr-box::after{border-color:rgba(61,114,240,.42)}
.qr-box img{width:132px;height:132px;border-radius:6px}
.qr-cap{
    margin-top:11px;text-align:center;font-size:12px;color:var(--sub);
    letter-spacing:.02em;
}
@keyframes qrBreath{
    0%,100%{transform:scale(1);box-shadow:0 0 0 0 rgba(31,138,84,0)}
    50%{transform:scale(1.022);box-shadow:0 6px 20px rgba(31,138,84,.14)}
}
@keyframes qrHalo{
    0%,100%{opacity:.30;transform:scale(1)}
    50%{opacity:.85;transform:scale(1.035)}
}
@media (prefers-reduced-motion:reduce){
    .qr-box,.qr-box::after{animation:none}
}

/* ---------- 提示条 ---------- */
.notice{
    margin-top:22px;border:1px solid #e8dfc9;background:#fdfaf3;border-radius:var(--radius);
    padding:16px 20px;font-size:13.6px;color:#6d5a34;line-height:1.75;
}
.notice b{color:#4c3d1d}
.notice .nt{display:block;font-weight:600;color:#4c3d1d;margin-bottom:5px;font-size:14px}

/* ---------- 教程步骤 ---------- */
.steps{counter-reset:st;display:grid;grid-template-columns:1fr;gap:14px}
@media (min-width:760px){.steps{grid-template-columns:repeat(2,1fr)}}
.step{
    position:relative;background:var(--panel);border:1px solid var(--line);
    border-radius:var(--radius);padding:20px 22px 20px 60px;
}
.step::before{
    counter-increment:st;content:counter(st,decimal-leading-zero);
    position:absolute;left:20px;top:19px;font-size:13px;font-weight:700;
    color:var(--brand);letter-spacing:.04em;
}
.step h3{font-size:15px;margin-bottom:6px}
.step p{font-size:13.6px;color:var(--txt-2)}

/* ---------- FAQ ---------- */
.faq{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.faq details{border-bottom:1px solid var(--line-2)}
.faq details:last-child{border-bottom:0}
.faq summary{
    cursor:pointer;list-style:none;padding:17px 22px;font-size:14.6px;font-weight:600;color:var(--ink);
    display:flex;align-items:center;gap:12px;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::before{
    content:"";width:6px;height:6px;border-radius:50%;background:#cfd6df;flex-shrink:0;
    transition:background .2s ease;
}
.faq details[open] summary::before{background:var(--brand)}
.faq .ans{padding:0 22px 19px 40px;font-size:13.8px;color:var(--txt-2);line-height:1.8}

/* ---------- 正文页 ---------- */
.page-head{background:#fff;border-bottom:1px solid var(--line);padding:42px 0 34px}
.crumb{font-size:12.5px;color:var(--sub);margin-bottom:13px}
.crumb a:hover{color:var(--brand)}
.crumb span{margin:0 7px;color:#c3cad4}
.page-head h1{font-size:27px}
.page-head p{margin-top:12px;color:var(--txt-2);font-size:14.5px;max-width:760px}

.prose{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:30px 32px}
.prose h2{font-size:19px;margin:32px 0 12px;padding-left:12px;border-left:3px solid var(--brand)}
.prose h2:first-child{margin-top:0}
.prose h3{font-size:15.6px;margin:22px 0 8px}
.prose p{margin:10px 0;font-size:14.3px;color:var(--txt-2)}
.prose ul{margin:10px 0 10px 2px}
.prose li{position:relative;padding-left:17px;font-size:14.3px;color:var(--txt-2);margin:7px 0}
.prose li::before{content:"";position:absolute;left:0;top:10px;width:5px;height:5px;border-radius:50%;background:#c6ced8}
.prose table{width:100%;border-collapse:collapse;margin:14px 0;font-size:13.8px}
.prose th,.prose td{border:1px solid var(--line);padding:10px 13px;text-align:left}
.prose th{background:#f7f9fb;font-weight:600;color:var(--ink);width:150px}
.prose td{color:var(--txt-2)}
.prose strong{color:var(--ink)}

/* ---------- 页脚 ---------- */
.site-foot{background:#121821;color:#93a0b0;margin-top:60px;font-size:13.4px;line-height:1.8}
.foot-top{display:grid;grid-template-columns:1fr;gap:26px;padding:44px 0 30px}
@media (min-width:860px){.foot-top{grid-template-columns:1.5fr 1fr 1fr}}
.site-foot h4{color:#d6dee8;font-size:13.5px;letter-spacing:.04em;margin-bottom:13px;font-weight:600}
.site-foot a{color:#93a0b0}
.site-foot a:hover{color:#c9d4e0}
.foot-nav li{margin:7px 0}
.foot-brief{max-width:420px;color:#7d8998}
.foot-brief .fb-brand{display:flex;align-items:center;gap:9px;margin-bottom:12px}
.foot-brief .fb-brand img{width:26px;height:26px;border-radius:6px}
.foot-brief .fb-brand span{color:#d6dee8;font-weight:600;font-size:14px}
.foot-bottom{
    border-top:1px solid rgba(255,255,255,.08);padding:20px 0 26px;
    display:flex;flex-wrap:wrap;gap:10px 24px;justify-content:space-between;
}
.foot-copy{color:#78848f;font-size:12.8px}
.foot-warn{color:#8b96a4;font-size:12.6px}

/* ---------- 弹窗 ---------- */
.modal{
    position:fixed;inset:0;z-index:120;display:none;
    background:rgba(12,17,24,.62);backdrop-filter:blur(3px);
    align-items:center;justify-content:center;padding:20px;
}
.modal.open{display:flex}
.modal-card{
    width:100%;max-width:392px;background:#fff;border-radius:16px;
    padding:30px 28px 26px;text-align:center;position:relative;
    box-shadow:0 30px 70px rgba(0,0,0,.32);
    animation:pop .22s ease;
}
@keyframes pop{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
.modal-x{
    position:absolute;right:14px;top:12px;width:30px;height:30px;border:0;background:transparent;
    color:#9aa4b1;font-size:19px;line-height:1;cursor:pointer;border-radius:8px;
}
.modal-x:hover{background:#f1f3f6;color:#5b6572}
.modal-net{
    display:inline-block;font-size:11.5px;letter-spacing:.14em;font-weight:600;
    color:var(--brand);background:var(--brand-soft);border-radius:100px;padding:3px 12px;
}
.modal-card h3{margin:14px 0 6px;font-size:18px}
.modal-card .m-sub{font-size:13.6px;color:var(--txt-2);line-height:1.7}
.modal-qr{
    width:172px;margin:20px auto 0;padding:11px;background:#fff;border-radius:14px;
    border:1px solid var(--line);position:relative;
    animation:qrBreath 2.6s ease-in-out infinite;
}
.modal-qr::after{
    content:"";position:absolute;inset:-5px;border-radius:17px;
    border:1px solid rgba(31,138,84,.45);
    animation:qrHalo 2.6s ease-in-out infinite;pointer-events:none;
}
.modal.is-baidu .modal-qr::after{border-color:rgba(61,114,240,.45)}
.modal-qr img{width:150px;height:150px;margin:0 auto}
.modal-scan{margin-top:14px;font-size:13.6px;font-weight:600;color:var(--ink)}
.modal-tips{
    margin-top:16px;text-align:left;background:#f7f9fb;border:1px solid var(--line-2);
    border-radius:10px;padding:13px 15px;font-size:12.8px;color:var(--txt-2);line-height:1.8;
}
.modal-tips li{position:relative;padding-left:15px}
.modal-tips li::before{
    content:"";position:absolute;left:0;top:9px;width:4px;height:4px;border-radius:50%;background:#b9c3cf;
}
.modal-foot{margin-top:14px;font-size:11.8px;color:var(--sub)}

/* ---------- 移动端微调 ---------- */
@media (max-width:700px){
    .head-inner{height:58px;gap:14px}
    .brand-sub{display:none}
    .nav a{padding:6px 9px;font-size:13.2px}
    .hero-inner{padding:40px 0 58px}
    .hero h1{font-size:25px}
    .section{padding:42px 0}
    .sec-head h2{font-size:21px}
    .prose{padding:22px 18px}
    .dl-card{padding:22px 18px}
}
