@charset "utf-8";
/* ============================================================
   甲壳虫adb助手 · 样式表
   配色：深钴蓝 + 青绿 + 琥珀   基调：开发工具 / 极客
   ============================================================ */

:root{
  --ink:#0e2036;
  --body:#47586e;
  --muted:#7b8ba0;
  --brand:#12467e;
  --brand-2:#2f8fd6;
  --teal:#12a89b;
  --amber:#f2951f;
  --bg:#f2f6fb;
  --card:#ffffff;
  --line:#e1e9f3;
  --dark:#0a1728;
  --grad:linear-gradient(135deg,#0b2846 0%,#12467e 48%,#12808f 100%);
  --grad-soft:linear-gradient(135deg,#eaf2fb 0%,#e6f6f4 100%);
  --shadow:0 12px 32px rgba(14,46,84,.08);
  --shadow-lg:0 24px 60px rgba(9,32,60,.16);
  --r:16px;
  --r-sm:10px;
  --wrap:1160px;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  background:var(--bg);
  color:var(--body);
  font:16px/1.75 "Microsoft YaHei","PingFang SC","Hiragino Sans GB","Helvetica Neue",Arial,sans-serif;
}
img{max-width:100%;height:auto;display:block;border:0}
a{color:var(--brand);text-decoration:none}
a:hover{color:var(--brand-2)}
h1,h2,h3,h4{margin:0;color:var(--ink);line-height:1.35;font-weight:800}
p{margin:0}
ul,ol{margin:0;padding:0;list-style:none}
.wrap{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 20px}
.sec{padding:74px 0}
.sec--tight{padding:52px 0}
.sec--alt{background:#fff}
.sec--dark{background:var(--dark);color:#a9bdd2}
.sec--dark h2,.sec--dark h3{color:#fff}

/* ---------- 通用标题 ---------- */
.sec-head{max-width:760px;margin:0 auto 42px;text-align:center}
.sec-tag{
  display:inline-block;font-size:13px;font-weight:700;letter-spacing:1.6px;
  color:var(--teal);text-transform:uppercase;margin-bottom:12px;
}
.sec-head h2{font-size:31px;letter-spacing:.2px}
.sec-head p{margin-top:14px;color:var(--muted);font-size:15.5px}
.sec--dark .sec-head p{color:#8ba2ba}

/* ---------- 按钮 ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  height:52px;padding:0 30px;border-radius:26px;font-size:16px;font-weight:700;
  letter-spacing:.4px;transition:transform .18s ease,box-shadow .18s ease,background .18s ease;
  border:1px solid transparent;cursor:pointer;white-space:nowrap;
}
.btn svg{width:18px;height:18px;flex:none}
.btn--primary{background:linear-gradient(135deg,var(--amber),#ffb347);color:#3a2405;box-shadow:0 12px 26px rgba(242,149,31,.32)}
.btn--primary:hover{color:#3a2405;transform:translateY(-2px);box-shadow:0 16px 32px rgba(242,149,31,.4)}
.btn--ghost{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.42);color:#fff}
.btn--ghost:hover{background:rgba(255,255,255,.2);color:#fff;transform:translateY(-2px)}
.btn--outline{background:#fff;border-color:#cfdcea;color:var(--brand)}
.btn--outline:hover{border-color:var(--brand-2);color:var(--brand-2);transform:translateY(-2px)}
.btn--sm{height:42px;padding:0 20px;font-size:14.5px}
.btn--wide{width:100%}

/* ---------- 页头 ---------- */
.site-header{
  position:sticky;top:0;z-index:60;background:rgba(255,255,255,.94);
  backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid var(--line);
}
.header-inner{display:flex;align-items:center;min-height:70px;gap:18px}
.brand{display:flex;align-items:center;gap:11px;flex:none}
.brand img{width:42px;height:42px;border-radius:11px}
.brand-name{display:flex;flex-direction:column;line-height:1.2}
.brand-name b{font-size:17.5px;color:var(--ink);font-weight:800;letter-spacing:.3px}
.brand-name .sub{font-size:11px;color:var(--muted);letter-spacing:1.4px;text-transform:uppercase}
.nav{display:flex;align-items:center;gap:4px;margin-left:auto}
.nav a{
  display:inline-block;padding:9px 14px;border-radius:9px;font-size:15px;font-weight:600;
  color:#41546b;transition:background .16s ease,color .16s ease;
}
.nav a:hover{background:#eef4fb;color:var(--brand)}
.nav a.active{background:#e8f1fc;color:var(--brand)}
.nav .header-cta{margin-left:10px}
.header-cta .btn{height:44px;padding:8px 22px;font-size:14.5px}

/* ---------- Hero ---------- */
.hero{
  position:relative;overflow:hidden;color:#cfe0f0;
  background:var(--grad);
}
.hero::before{
  content:"";position:absolute;inset:0;opacity:.5;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px);
  background-size:44px 44px;
}
.hero::after{
  content:"";position:absolute;right:-160px;top:-160px;width:520px;height:520px;border-radius:50%;
  background:radial-gradient(circle,rgba(18,168,155,.42),transparent 68%);
}
.hero-grid{
  position:relative;z-index:2;display:grid;grid-template-columns:1.08fr .92fr;
  gap:52px;align-items:center;padding:70px 0 78px;
}
.hero-grid>*{min-width:0}
.hero .pill{
  display:inline-flex;align-items:center;gap:9px;height:34px;padding:0 15px;border-radius:17px;
  background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.26);
  font-size:13px;color:#dcebf8;font-weight:600;
}
.hero .pill i{width:7px;height:7px;border-radius:50%;background:var(--teal);display:block;box-shadow:0 0 0 4px rgba(18,168,155,.22)}
.hero h1{
  margin:20px 0 0;font-size:46px;line-height:1.24;color:#fff;letter-spacing:.4px;
}
.hero h1 em{font-style:normal;color:#ffc266}
.hero .lead{margin-top:18px;font-size:16.5px;color:#bed4e8;max-width:560px}
.hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:30px}
.hero-facts{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}
.hero-facts span{
  font-size:13px;color:#c3d8ea;background:rgba(255,255,255,.09);
  border:1px solid rgba(255,255,255,.16);padding:6px 13px;border-radius:8px;
}
.hero-visual{display:flex;align-items:flex-end;justify-content:center;gap:20px}
.hero-visual .phone{flex:0 1 auto}
.phone{
  background:#0c1626;border-radius:26px;padding:8px;
  box-shadow:0 0 0 1px rgba(255,255,255,.16),0 26px 56px rgba(3,14,28,.5);
}
.phone .screen{background:#fff;border-radius:19px;overflow:hidden}
.phone .screen img{width:100%;height:auto;display:block}
.hero-visual .phone{width:clamp(140px,42%,232px)}
.hero-visual .phone--small{width:clamp(108px,31%,176px);margin-bottom:-26px}

/* ---------- 数据条 ---------- */
.stats{background:#fff;border-bottom:1px solid var(--line)}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0}
.stats-grid>div{padding:30px 18px;text-align:center;border-left:1px solid var(--line)}
.stats-grid>div:first-child{border-left:0}
.stats-grid b{display:block;font-size:29px;color:var(--brand);font-weight:800;line-height:1.2}
.stats-grid span{display:block;margin-top:6px;font-size:14px;color:var(--muted)}

/* ---------- 卡片组 ---------- */
.grid{display:grid;gap:22px}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}
.grid>*{min-width:0}
.card{
  background:var(--card);border:1px solid var(--line);border-radius:var(--r);
  padding:28px 26px;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:#cfe0f2}
.card .ico{
  width:50px;height:50px;border-radius:13px;display:flex;align-items:center;justify-content:center;
  margin-bottom:18px;background:var(--grad-soft);
}
.card .ico svg{width:25px;height:25px;stroke:var(--brand);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.card h3{font-size:18px;margin-bottom:10px}
.card p{font-size:14.6px;color:var(--body)}
.card .more{display:inline-block;margin-top:14px;font-size:14px;font-weight:700;color:var(--teal)}

/* ---------- 界面预览 ---------- */
.shots{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.shots figure{margin:0;background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;
  transition:transform .2s ease,box-shadow .2s ease}
.shots figure:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.shots .shot{padding:14px 14px 0;background:linear-gradient(160deg,#eef4fb,#e8f5f4)}
.shot img{width:100%;height:auto;border-radius:10px 10px 0 0;box-shadow:0 4px 14px rgba(14,46,84,.1)}
.shots figcaption{padding:14px 16px 16px;font-size:14px;color:var(--body)}
.shots figcaption b{display:block;color:var(--ink);font-size:15px;margin-bottom:5px}

/* ---------- 内页入口 ---------- */
.entries .card{display:flex;flex-direction:column;background:linear-gradient(150deg,#fff,#f7fbff)}
.entries .card h3{font-size:17.5px}
.entries .card .tag{
  display:inline-block;font-size:12px;font-weight:700;color:var(--teal);
  background:rgba(18,168,155,.1);padding:3px 10px;border-radius:6px;margin-bottom:14px;align-self:flex-start;
}
.entries .card p{font-size:14.4px}
.entries .card .more{margin-top:auto;padding-top:16px}

/* ---------- 评价 ---------- */
.reviews{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}
.review{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:26px 26px 22px}
.review .stars{color:var(--amber);font-size:15px;letter-spacing:3px;margin-bottom:12px}
.review q{display:block;font-size:15.2px;color:#33465c;quotes:none}
.review .who{display:flex;align-items:center;gap:12px;margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
.review .who .av{
  width:40px;height:40px;border-radius:50%;flex:none;display:flex;align-items:center;justify-content:center;
  background:var(--grad);color:#fff;font-weight:700;font-size:15px;
}
.review .who b{display:block;font-size:14.5px;color:var(--ink)}
.review .who span{display:block;font-size:12.5px;color:var(--muted)}

/* ---------- 折叠问答 ---------- */
.faq-list{max-width:860px;margin:0 auto}
.faq-item{background:#fff;border:1px solid var(--line);border-radius:var(--r-sm);margin-bottom:12px;overflow:hidden}
.faq-item summary{
  cursor:pointer;list-style:none;padding:17px 22px;font-size:16px;font-weight:700;color:var(--ink);
  display:flex;align-items:center;gap:12px;
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"+";margin-left:auto;font-size:21px;color:var(--brand-2);font-weight:400;line-height:1}
.faq-item[open] summary::after{content:"\2212"}
.faq-item[open] summary{background:#f6fafd}
.faq-item .ans{padding:4px 22px 20px;font-size:14.8px;color:var(--body)}
.faq-item .ans p+p{margin-top:10px}
.faq-item .ans code{
  background:#eef3f9;border-radius:5px;padding:2px 6px;font-family:Consolas,Monaco,monospace;
  font-size:13.4px;color:#1c4a78;
}

/* ---------- 正文排版（内页） ---------- */
.prose{max-width:900px;margin:0 auto}
.prose h2{font-size:25px;margin:0 0 16px;padding-left:16px;border-left:5px solid var(--amber);line-height:1.3}
.prose h3{font-size:18.5px;margin:26px 0 10px}
.prose p{margin-bottom:14px}
.prose ul{margin:0 0 16px}
.prose li{position:relative;padding-left:22px;margin-bottom:9px}
.prose li::before{content:"";position:absolute;left:4px;top:11px;width:7px;height:7px;border-radius:2px;background:var(--teal)}
.prose .block{margin-bottom:44px}
.prose .note{
  background:var(--grad-soft);border:1px solid #d7e9f6;border-radius:var(--r-sm);
  padding:18px 22px;font-size:14.8px;margin:18px 0 22px;
}
.prose .note b{color:var(--brand)}
.step-list{counter-reset:s;margin-bottom:18px}
.step-list li{counter-increment:s;padding-left:46px;margin-bottom:16px}
.step-list li::before{
  content:counter(s);left:0;top:2px;width:30px;height:30px;border-radius:9px;
  background:var(--grad);color:#fff;font-size:14px;font-weight:700;
  display:flex;align-items:center;justify-content:center;
}
.step-list li b{display:block;color:var(--ink);font-size:16px;margin-bottom:4px}

/* ---------- 命令表 ---------- */
.cmd-table{width:100%;min-width:760px;border-collapse:collapse;font-size:14.4px;background:#fff;
  border:1px solid var(--line);border-radius:var(--r-sm);overflow:hidden}
.cmd-table th{background:#eef4fb;color:var(--ink);font-size:14px;text-align:left;padding:13px 16px;font-weight:800}
.cmd-table td{padding:13px 16px;border-top:1px solid var(--line);vertical-align:top}
.cmd-table code{font-family:Consolas,Monaco,monospace;font-size:13.4px;color:#12467e;
  background:#eef3f9;border-radius:5px;padding:2px 7px;display:inline-block;word-break:break-all}
.cmd-table tr:hover td{background:#f8fbfe}
.table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;margin-bottom:22px;
  border:1px solid var(--line);border-radius:var(--r-sm)}
.table-scroll .cmd-table{border:0;border-radius:0}

/* ---------- 底部下载通道 ---------- */
.cta-band{
  position:relative;overflow:hidden;background:var(--grad);color:#cfe0f0;
  border-radius:22px;padding:46px 48px;display:flex;align-items:center;gap:34px;flex-wrap:wrap;
}
.cta-band::after{
  content:"";position:absolute;right:-90px;bottom:-140px;width:380px;height:380px;border-radius:50%;
  background:radial-gradient(circle,rgba(242,149,31,.34),transparent 70%);
}
.cta-band .txt{position:relative;z-index:2;flex:1 1 320px;min-width:0}
.cta-band h2{color:#fff;font-size:26px;margin-bottom:10px}
.cta-band p{font-size:15px;color:#bcd2e6;max-width:560px}
.cta-band .act{position:relative;z-index:2;display:flex;gap:14px;flex-wrap:wrap}
.cta-meta{display:block;margin-top:12px;font-size:13px;color:#9dbbd6}

/* ---------- 页脚 ---------- */
.site-footer{background:#08131f;color:#7d94ab;padding:56px 0 26px;font-size:14px}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:34px}
.footer-brand{display:flex;align-items:center;gap:11px;margin-bottom:16px}
.footer-brand img{width:38px;height:38px;border-radius:10px}
.footer-brand b{color:#fff;font-size:16.5px}
.site-footer p{line-height:1.8}
.footer-col h4{color:#fff;font-size:15px;margin-bottom:14px}
.footer-col a{display:block;color:#8ba3ba;padding:5px 0;font-size:14px}
.footer-col a:hover{color:#fff}
.footer-bottom{
  margin-top:40px;padding-top:20px;border-top:1px solid rgba(255,255,255,.09);
  display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:13.2px;color:#6c8299;
}
.disclaimer{
  margin-top:22px;padding:16px 20px;border-radius:10px;background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);font-size:13.4px;color:#93a9bf;line-height:1.85;
}
.disclaimer b{color:#c8d8e8}

/* ---------- 内页头图 ---------- */
.page-hero{background:var(--grad);color:#c9dcee;position:relative;overflow:hidden}
.page-hero::before{
  content:"";position:absolute;inset:0;opacity:.45;
  background-image:linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px);
  background-size:44px 44px;
}
.page-hero .wrap{position:relative;z-index:2;padding-top:52px;padding-bottom:56px}
.crumb{font-size:13.5px;color:#9fbdd8;margin-bottom:16px}
.crumb a{color:#9fbdd8}
.crumb a:hover{color:#fff}
.page-hero h1{color:#fff;font-size:36px;line-height:1.3;max-width:900px}
.page-hero p{margin-top:16px;max-width:760px;font-size:16px;color:#bdd3e7}

/* ---------- 渐显动画（三层兜底） ---------- */
.reveal{transition:opacity .5s ease,transform .5s ease}
.js .reveal{opacity:0;transform:translateY(18px)}
.js .reveal.is-in{opacity:1;transform:none}

@media (prefers-reduced-motion:reduce){
  .js .reveal,.reveal{opacity:1;transform:none;transition:none}
  .card:hover,.shots figure:hover,.btn:hover{transform:none}
}

/* 打印 / 无 JS 场景：正文必须完整可见 */
@media print{
  .js .reveal,.reveal{opacity:1 !important;transform:none !important}
  .site-header,.cta-band .act,.nav .header-cta{display:none}
}

/* ---------- 响应式 ---------- */
@media (max-width:980px){
  .sec{padding:56px 0}
  .hero-grid{grid-template-columns:1fr;gap:40px;padding:52px 0 60px}
  .hero h1{font-size:37px}
  .hero-visual{justify-content:center}
  .grid-3,.grid-4{grid-template-columns:repeat(2,1fr)}
  .shots{grid-template-columns:repeat(2,1fr)}
  .reviews{grid-template-columns:1fr}
  .stats-grid{grid-template-columns:repeat(2,1fr)}
  .stats-grid>div:nth-child(3){border-left:0}
  .stats-grid>div:nth-child(3),.stats-grid>div:nth-child(4){border-top:1px solid var(--line)}
  .footer-grid{grid-template-columns:1fr 1fr;gap:26px}
  .sec-head h2{font-size:26px}
  .page-hero h1{font-size:29px}
  .cta-band{padding:34px 28px}
}

@media (max-width:620px){
  body{font-size:15.4px}
  .sec{padding:44px 0}
  .header-inner{flex-wrap:wrap;min-height:0;padding-top:10px;padding-bottom:10px;gap:8px}
  .brand{width:100%}
  .brand-name .sub{display:none}
  .nav{width:100%;margin-left:0;justify-content:space-between;gap:0}
  .nav a{padding:8px 6px;font-size:14px}
  .nav .header-cta{display:none}
  .hero h1{font-size:29px}
  .hero .lead{font-size:15.4px}
  .hero-grid{padding:36px 0 48px;gap:32px}
  .hero-visual{flex-wrap:wrap;gap:14px}
  .hero-visual .phone{width:46vw;max-width:210px}
  .hero-visual .phone--small{width:32vw;max-width:150px;margin-bottom:0}
  .btn{height:48px;padding:0 22px;font-size:15px}
  .btn--wide{width:100%}
  .hero-actions .btn{flex:1 1 100%}
  .grid-3,.grid-4,.shots{grid-template-columns:1fr}
  .stats-grid{grid-template-columns:1fr}
  .stats-grid>div{border-left:0;border-top:1px solid var(--line);padding:20px 12px}
  .stats-grid>div:first-child{border-top:0}
  .sec-head h2{font-size:23px}
  .sec-head{margin-bottom:30px}
  .card{padding:22px 20px}
  .page-hero .wrap{padding-top:34px;padding-bottom:38px}
  .page-hero h1{font-size:24px}
  .page-hero p{font-size:15px}
  .prose h2{font-size:21px}
  .footer-grid{grid-template-columns:1fr}
  .cta-band{padding:28px 20px;border-radius:16px}
  .cta-band .act{width:100%}
  .cmd-table{font-size:13.6px}
  .cmd-table th,.cmd-table td{padding:11px 12px}
}
