/* 夸克网盘 仿官网设计系统（母版 https://pan.quark.cn）·静态 Astro·无重 JS */
*{box-sizing:border-box;margin:0;padding:0}
:root{--brand:#0664ff;--brand2:#19d4c6;--ink:#1d2129;--muted:#5f6470;--line:#e9edf5;--bg:#fff;--panel:#f4f8ff;--panel2:#eef4ff;--radius:18px;--shadow:0 8px 30px rgba(13,60,160,.08)}
html{scroll-behavior:smooth}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",Roboto,"Helvetica Neue",Arial,sans-serif;color:var(--ink);background:var(--bg);line-height:1.65;-webkit-font-smoothing:antialiased}
.wrap{max-width:1160px;margin:0 auto;padding:0 22px}
a{color:var(--brand);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto;display:block}
h1,h2,h3{line-height:1.25;color:var(--ink);font-weight:700}
.accent{color:var(--brand)}

/* 顶栏 */
.site-hd{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.86);backdrop-filter:saturate(180%) blur(10px);border-bottom:1px solid var(--line)}
.bar{display:flex;align-items:center;gap:24px;height:62px}
.brand{display:flex;align-items:center}
.brand img{height:40px;width:auto}
.nav{display:flex;gap:22px;margin-left:8px;flex:1;flex-wrap:wrap}
.nav a{color:#3a4250;font-weight:500;font-size:15px}
.nav a:hover{color:var(--brand);text-decoration:none}
.btn{display:inline-flex;align-items:center;gap:6px;padding:9px 22px;border-radius:999px;background:var(--brand);color:#fff!important;font-weight:600;border:none;cursor:pointer;transition:.18s}
.btn:hover{background:#0a57d8;text-decoration:none;box-shadow:0 6px 18px rgba(6,100,255,.28)}
.btn-ghost{display:inline-flex;align-items:center;gap:7px;padding:9px 22px;border-radius:999px;background:#fff;color:var(--brand)!important;font-weight:600;border:1.5px solid var(--brand);transition:.18s}
.btn-ghost:hover{background:var(--panel2);text-decoration:none}
.btn-ghost svg,.btn svg{width:16px;height:16px}

/* hero */
.hero{background:linear-gradient(180deg,#e7f0ff 0%,#f1f6ff 48%,#fff 100%);padding:64px 0 76px}
.hero-inner{display:flex;gap:48px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.hero-copy{flex:1 1 440px;max-width:560px}
.hero-copy h1{font-size:46px;letter-spacing:-.5px;margin-bottom:14px}
.hero-sub{font-size:20px;color:#404a5a;margin-bottom:30px}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap}
.pill{display:inline-flex;align-items:center;gap:9px;padding:12px 22px;border-radius:14px;background:#fff;border:1px solid #dde6f6;color:var(--ink)!important;font-weight:600;box-shadow:0 3px 12px rgba(13,60,160,.06)}
.pill:hover{text-decoration:none;border-color:var(--brand);color:var(--brand)!important}
.pill svg{width:20px;height:20px;color:var(--brand)}
.hero-card{flex:0 0 380px;background:#fff;border-radius:22px;box-shadow:var(--shadow);padding:30px;text-align:center}
.hero-card img{border-radius:14px}
.hero-card .qr{width:188px;height:188px;margin:14px auto;border-radius:12px;border:1px solid var(--line);background:var(--panel)}
.hero-media{flex:0 0 520px;max-width:520px}
.hero-media img{border-radius:18px;box-shadow:var(--shadow)}

/* 特性区（左右交替·浅蓝面板） */
.features{padding:30px 0 10px}
.feat{margin:34px 0}
.feat-inner{background:var(--panel);border-radius:24px;padding:46px;display:flex;gap:54px;align-items:center;flex-wrap:wrap}
.feat:nth-child(even) .feat-inner{flex-direction:row-reverse}
.feat-copy{flex:1 1 340px;min-width:280px}
.feat-copy h2{font-size:30px;margin-bottom:10px}
.feat-copy .lead{font-size:18px;color:#404a5a;margin-bottom:18px}
.feat-list{list-style:none;display:flex;flex-direction:column;gap:11px;margin-bottom:24px}
.feat-list li{display:flex;gap:10px;align-items:flex-start;color:#454e5d}
.feat-list li svg{flex:0 0 18px;width:18px;height:18px;color:var(--brand);margin-top:4px}
.feat-media{flex:1 1 380px;min-width:300px}
.feat-media img{border-radius:16px;box-shadow:0 10px 34px rgba(13,60,160,.12)}
.feat-media.plain img{box-shadow:none}

/* 下载区 */
.dlsec{padding:64px 0 30px;text-align:center}
.dlsec h2{font-size:32px;margin-bottom:34px}
.dlgrid{display:grid;grid-template-columns:repeat(6,1fr);gap:18px}
.dlcard{position:relative;background:var(--panel);border-radius:18px;padding:30px 14px;text-align:center;transition:.18s;border:1px solid transparent}
.dlcard:hover{background:#fff;border-color:#dde6f6;box-shadow:var(--shadow);text-decoration:none}
.dlcard .ic{width:46px;height:46px;margin:0 auto 14px;color:#2a3340}
.dlcard .nm{font-weight:600;color:var(--ink)}
.dlcard .dl{position:absolute;top:12px;right:12px;width:20px;height:20px;color:var(--muted)}

/* 通用内容页 */
.page-hero{background:linear-gradient(180deg,#e9f1ff,#f6f9ff);padding:50px 0 40px}
.crumb{font-size:13px;color:var(--muted);margin-bottom:14px}
.crumb a{color:var(--muted)}
.page-hero h1{font-size:38px;max-width:880px;margin-bottom:14px}
.page-hero .intro{font-size:18px;color:#3f4856;max-width:820px}
.layout{display:flex;gap:44px;align-items:flex-start;padding:44px 0}
.content{flex:1 1 auto;min-width:0}
.aside{flex:0 0 280px;position:sticky;top:80px}
.sec{margin:0 0 30px}
.sec h2{font-size:25px;margin:34px 0 8px;padding-top:6px}
.sec h3{font-size:20px;margin:24px 0 8px}
.answer{background:var(--panel2);border-left:3px solid var(--brand);border-radius:0 10px 10px 0;padding:11px 16px;color:#2c3543;font-size:15.5px;margin:6px 0 14px}
.prose p{margin:12px 0;color:#39424f}
.prose ul{margin:12px 0 12px 22px;color:#39424f}
.prose li{margin:6px 0}
.figure{margin:22px 0}
.figure img{border-radius:14px;box-shadow:var(--shadow)}
.figure figcaption{font-size:13px;color:var(--muted);margin-top:8px;text-align:center}
.sources{font-size:14px;color:var(--muted);margin:22px 0;padding:14px 16px;background:var(--panel);border-radius:12px}
.sources a{color:#3a4658}

/* 侧栏卡 */
.card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px;box-shadow:var(--shadow);margin-bottom:20px}
.card h4{font-size:15px;color:var(--muted);margin-bottom:12px;font-weight:600}
.card .related{display:flex;flex-direction:column;gap:9px}
.card .related a{color:#33404f;font-weight:500}
.toc a{display:block;color:#445;font-size:14px;padding:4px 0}

/* FAQ 手风琴 */
.faq{margin:30px 0}
.faq h2{font-size:26px;margin-bottom:14px}
.faq details{background:#fff;border:1px solid var(--line);border-radius:12px;margin:10px 0;overflow:hidden}
.faq summary{cursor:pointer;padding:15px 18px;font-weight:600;color:var(--ink);list-style:none;display:flex;justify-content:space-between;gap:12px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--brand);font-size:20px;line-height:1}
.faq details[open] summary::after{content:"\2212"}
.faq details[open] summary{border-bottom:1px solid var(--line)}
.faq details p{padding:14px 18px;color:#39424f;font-size:15px}

/* 工具页 */
.tool-card{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);padding:26px;margin:20px 0}
.tool-row{display:flex;gap:18px;flex-wrap:wrap;align-items:flex-end;margin-bottom:18px}
.field{flex:1 1 200px}
.field label{display:block;font-size:14px;color:var(--muted);margin-bottom:6px}
.field input,.field select{width:100%;padding:11px 13px;border:1px solid #d7deec;border-radius:10px;font-size:15px;background:#fff}
.field input:focus,.field select:focus{outline:none;border-color:var(--brand)}
.result{background:var(--panel);border-radius:14px;padding:20px;margin-top:8px}
.result .big{font-size:30px;font-weight:700;color:var(--brand)}
table.data{width:100%;border-collapse:collapse;margin:18px 0;font-size:14.5px}
table.data th,table.data td{border:1px solid var(--line);padding:10px 12px;text-align:left}
table.data th{background:var(--panel);font-weight:600}
table.data tr:nth-child(even) td{background:#fafcff}

/* 卡片栅格（博客/对比/认知页用） */
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:24px 0}
.tile{background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px;box-shadow:0 4px 16px rgba(13,60,160,.05)}
.tile .tnum{display:inline-flex;width:34px;height:34px;border-radius:10px;background:var(--panel2);color:var(--brand);font-weight:700;align-items:center;justify-content:center;margin-bottom:12px}
.tile h3{font-size:17px;margin-bottom:6px}
.tile p{font-size:14.5px;color:#4a5462}

/* 页脚 */
.site-ft{background:#f7f9fd;border-top:1px solid var(--line);padding:34px 0;margin-top:50px}
.cols{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}
.ftbrand{display:flex;align-items:center;gap:10px}
.ftbrand strong{font-size:17px}
.related{display:flex;gap:18px;flex-wrap:wrap}
.related a{color:#5a6473;font-size:14px}
.ftnote{margin-top:14px;color:#8a93a3}

@media(max-width:860px){
  .hero-copy h1{font-size:34px}.page-hero h1{font-size:28px}
  .feat-inner{padding:28px;gap:26px}.feat-copy h2{font-size:24px}
  .layout{flex-direction:column}.aside{position:static;flex-basis:auto;width:100%}
  .dlgrid{grid-template-columns:repeat(3,1fr)}.grid3{grid-template-columns:1fr}
  .nav{display:none}
}
