@charset "utf-8";
/* ============================================================
   猪猪软件库 · zhuzhuruanjianku.net  全站共享样式
   配色：琥珀橙 + 深海墨蓝 + 暖白，工具/资源聚合类调性
   ============================================================ */

:root {
  --brand: #f0932b;
  --brand-d: #cf600c;
  --brand-l: #fff3e2;
  --navy: #1f3556;
  --ink: #23324a;
  --muted: #6b7789;
  --line: #e9edf4;
  --bg: #fffaf3;
  --green: #2f9e79;
  --grad: linear-gradient(135deg, #ffc254, #f0932b 58%, #cf600c);
  --shadow: 0 10px 28px rgba(31, 53, 86, .09);
  --radius: 16px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

a { color: var(--brand-d); text-decoration: none; }
a:hover { color: var(--brand); }

img { max-width: 100%; height: auto; display: block; border: 0; }

h1, h2, h3, h4 { color: var(--navy); line-height: 1.35; margin: 0; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand img { width: 44px; height: 44px; border-radius: 12px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name b { font-size: 18px; color: var(--navy); letter-spacing: .5px; }
.brand-name .sub { font-size: 11px; color: var(--muted); letter-spacing: .5px; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  display: inline-block; padding: 9px 14px; border-radius: 10px;
  font-size: 15px; color: var(--ink); white-space: nowrap;
}
.nav a:hover { background: var(--brand-l); color: var(--brand-d); }
.nav a.on { color: var(--brand-d); font-weight: 700; background: var(--brand-l); }

.btn {
  display: inline-block; border-radius: 999px; font-weight: 700;
  text-align: center; white-space: nowrap; transition: .22s;
}
.btn-main {
  background: var(--grad); color: #fff; padding: 13px 32px; font-size: 16px;
  box-shadow: 0 8px 20px rgba(207, 96, 12, .26);
}
.btn-main:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(207, 96, 12, .32); }
.btn-ghost {
  background: #fff; color: var(--navy); padding: 12px 26px; font-size: 15px;
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-d); }
.btn-sm { padding: 9px 20px; font-size: 14px; }
.header-cta { display: inline-block; }

/* ---------------- Hero ---------------- */
.hero {
  background:
    radial-gradient(760px 340px at 12% -10%, #ffeed6 0%, rgba(255, 238, 214, 0) 68%),
    radial-gradient(620px 300px at 92% 0%, #e8f0ff 0%, rgba(232, 240, 255, 0) 70%),
    var(--bg);
  padding: 54px 0 46px;
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; }
.hero-grid > * { min-width: 0; }
.tagline {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 15px; font-size: 13px; color: var(--brand-d); margin-bottom: 16px;
}
.tagline i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); display: block; }
.hero h1 { font-size: 40px; letter-spacing: 1px; margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--brand-d); }
.hero-lead { font-size: 16.5px; color: #4a5a75; margin: 0 0 24px; max-width: 46em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }

.hero-visual { display: flex; justify-content: center; align-items: flex-end; gap: 18px; flex-wrap: wrap; }

.phone {
  background: #101a2b; border-radius: 30px; padding: 9px;
  box-shadow: 0 22px 46px rgba(31, 53, 86, .22);
  flex: 0 1 auto;
}
.phone .screen { border-radius: 22px; overflow: hidden; background: #f2f4f8; }
.phone .screen img { width: 100%; height: auto; }
.phone-stage .phone { width: clamp(206px, 60%, 264px); }
.phone-stage .phone--sm { width: clamp(140px, 40%, 176px); }

/* ---------------- 数据信任条 ---------------- */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 26px 0; }
.stat { text-align: center; }
.stat b { display: block; font-size: 27px; color: var(--brand-d); font-weight: 800; letter-spacing: .5px; }
.stat span { font-size: 13.5px; color: var(--muted); }

/* ---------------- 通用区块 ---------------- */
.section { padding: 62px 0; }
.section--alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 760px; margin: 0 auto 38px; text-align: center; }
.sec-head h2 { font-size: 29px; margin-bottom: 12px; }
.sec-head p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* 核心卖点 */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; box-shadow: var(--shadow);
}
.section--alt .card { background: var(--bg); }
.card .ico {
  width: 46px; height: 46px; border-radius: 13px; background: var(--brand-l);
  display: flex; align-items: center; justify-content: center; margin-bottom: 15px;
  color: var(--brand-d); font-size: 21px; font-weight: 800;
}
.card h3 { font-size: 17.5px; margin-bottom: 9px; }
.card p { margin: 0; font-size: 14.5px; color: #56657f; }

/* 截图墙 */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.shots figure { margin: 0; }
.shots .frame {
  background: #101a2b; border-radius: 20px; padding: 6px;
  box-shadow: 0 12px 26px rgba(31, 53, 86, .16);
}
.shots .frame img { width: 100%; height: auto; border-radius: 15px; display: block; }
.shots figcaption { text-align: center; font-size: 13px; color: var(--muted); margin-top: 10px; }

/* 功能列表 */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.feat h3 { font-size: 17px; margin-bottom: 8px; display: flex; align-items: center; gap: 9px; }
.feat h3 s { text-decoration: none; width: 26px; height: 26px; border-radius: 8px; background: var(--grad); flex: 0 0 auto; }
.feat p { margin: 0; font-size: 14.5px; color: #56657f; }

/* 深度内容入口卡 */
.entries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.entry {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow); transition: .22s;
}
.entry:hover { transform: translateY(-4px); border-color: #ffd9a8; box-shadow: 0 16px 32px rgba(207, 96, 12, .14); }
.entry em { font-style: normal; font-size: 12px; color: var(--brand-d); font-weight: 700; letter-spacing: 1px; }
.entry h3 { font-size: 17.5px; margin: 9px 0 8px; color: var(--navy); }
.entry p { margin: 0 0 12px; font-size: 14px; color: #56657f; }
.entry span { font-size: 14px; color: var(--brand-d); font-weight: 700; }

/* 用户评价 */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.review .stars { color: #f0a020; font-size: 15px; letter-spacing: 2px; margin-bottom: 12px; }
.review p { margin: 0 0 16px; font-size: 14.5px; color: #445268; }
.review .who { display: flex; align-items: center; gap: 10px; }
.review .who i {
  width: 34px; height: 34px; border-radius: 50%; background: var(--grad); flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center; color: #fff; font-style: normal; font-size: 14px; font-weight: 700;
}
.review .who b { font-size: 14px; color: var(--navy); display: block; }
.review .who span { font-size: 12px; color: var(--muted); }

/* 首页 FAQ 速览 */
.mini-faq { max-width: 880px; margin: 0 auto; }
.mini-faq details, .prose details {
  background: #fff; border: 1px solid var(--line); border-radius: 13px;
  padding: 4px 20px; margin-bottom: 12px;
}
.mini-faq summary, .prose summary {
  cursor: pointer; font-weight: 700; color: var(--navy); font-size: 15.5px;
  padding: 13px 0; list-style: none;
}
.mini-faq summary::-webkit-details-marker, .prose summary::-webkit-details-marker { display: none; }
.mini-faq summary::before, .prose summary::before { content: "＋ "; color: var(--brand-d); }
.mini-faq details[open] summary::before, .prose details[open] summary::before { content: "－ "; }
.mini-faq p, .prose details p { margin: 0 0 14px; font-size: 14.5px; color: #56657f; }

/* 底部下载通道 */
.cta-band {
  background: var(--grad); color: #fff; border-radius: 22px;
  padding: 44px 36px; text-align: center; box-shadow: 0 18px 40px rgba(207, 96, 12, .24);
}
.cta-band h2 { color: #fff; font-size: 27px; margin-bottom: 12px; }
.cta-band p { margin: 0 auto 24px; max-width: 640px; color: rgba(255, 255, 255, .93); font-size: 15.5px; }
.cta-band .btn-main { background: #fff; color: var(--brand-d); box-shadow: 0 8px 20px rgba(64, 32, 0, .2); }
.cta-band .btn-main:hover { color: var(--brand-d); }
.cta-band small { display: block; margin-top: 16px; font-size: 12.5px; color: rgba(255, 255, 255, .88); }

/* ---------------- 内页正文 ---------------- */
.page-hero {
  background: linear-gradient(180deg, #fff3e2, var(--bg));
  border-bottom: 1px solid var(--line); padding: 48px 0 40px;
}
.crumb { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.crumb a { color: var(--brand-d); }
.page-hero h1 { font-size: 33px; margin-bottom: 14px; }
.page-hero .lead { margin: 0; max-width: 62em; color: #4a5a75; font-size: 16px; }

.layout { max-width: 900px; margin: 0 auto; padding: 46px 20px 60px; }
.layout > * { min-width: 0; }
.prose { max-width: 900px; min-width: 0; }
.prose h2 {
  font-size: 24px; margin: 44px 0 16px; padding-left: 14px; border-left: 5px solid var(--brand);
  line-height: 1.4;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18.5px; margin: 30px 0 10px; }
.prose p { margin: 0 0 16px; color: #3f4e66; font-size: 15.5px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; color: #3f4e66; font-size: 15.5px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--navy); }
.prose .tip {
  background: var(--brand-l); border-left: 4px solid var(--brand);
  border-radius: 0 12px 12px 0; padding: 16px 20px; margin: 0 0 20px;
  font-size: 14.8px; color: #6a4a1c;
}
.prose .shot { margin: 28px auto; max-width: 368px; }
.prose .shot img { width: 100%; height: auto; border-radius: 16px; box-shadow: var(--shadow); }
.prose .shot figcaption { text-align: center; font-size: 13px; color: var(--muted); margin-top: 10px; }

/* 步骤列表 */
.steps { list-style: none; margin: 0 0 22px; padding: 0; counter-reset: st; }
.steps li {
  position: relative; padding: 0 0 20px 52px; margin: 0; counter-increment: st;
  border-left: 2px dashed #f2d5ae; margin-left: 17px;
}
.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps li::before {
  content: counter(st); position: absolute; left: -18px; top: -2px;
  width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #fff;
  font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center;
}
.steps li b { display: block; color: var(--navy); font-size: 16.5px; margin-bottom: 5px; }
.steps li p { margin: 0; }

/* 表格 */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; margin: 0 0 22px; }
.cmp { width: 100%; min-width: 700px; border-collapse: collapse; font-size: 14.5px; background: #fff; }
.cmp caption { text-align: left; font-size: 13.5px; color: var(--muted); padding: 12px 14px 0; }
.cmp th, .cmp td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { background: var(--brand-l); color: var(--navy); font-size: 14.5px; white-space: nowrap; }
.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp tbody tr:nth-child(even) { background: #fffdf9; }

/* 相关阅读 */
.related { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; margin-top: 46px; }
.related h2 { font-size: 19px; margin: 0 0 14px; border: 0; padding: 0; }
.related ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.related li { margin: 0; font-size: 15px; }

/* ---------------- 页脚 ---------------- */
.site-footer { background: var(--navy); color: #c8d4e6; padding: 46px 0 26px; margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, .13); }
.footer-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.footer-brand img { width: 40px; height: 40px; border-radius: 11px; }
.footer-brand b { color: #fff; font-size: 17px; }
.site-footer p { margin: 0; font-size: 14px; color: #a9b8d0; }
.footer-col h3 { color: #fff; font-size: 15.5px; margin: 0 0 14px; }
.footer-col a { display: block; font-size: 14px; color: #a9b8d0; padding: 4px 0; }
.footer-col a:hover { color: #ffc254; }
.footer-bottom { padding-top: 20px; font-size: 13px; color: #8fa1bd; }
.footer-bottom .disc { margin-bottom: 10px; color: #a9b8d0; }

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

/* ---------------- 响应式 ---------------- */
@media (max-width: 980px) {
  .hero { padding: 40px 0 36px; }
  .hero h1 { font-size: 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-visual { order: 2; }
  .cards, .entries { grid-template-columns: repeat(2, 1fr); }
  .feats, .reviews { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: repeat(3, 1fr); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .section { padding: 48px 0; }
  .page-hero h1 { font-size: 27px; }
  .prose h2 { font-size: 21px; }
}

@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .header-inner { flex-wrap: wrap; min-height: 0; padding: 10px 0; gap: 8px; align-items: center; }
  .brand { width: 100%; }
  .brand-name .sub { display: none; }
  .nav { width: 100%; margin-left: 0; flex-wrap: wrap; justify-content: space-between; gap: 0; }
  .nav a { flex: 0 0 33.3333%; text-align: center; padding: 7px 0; font-size: 14px; white-space: nowrap; }
  .nav .header-cta { display: none; }

  .hero h1 { font-size: 25px; }
  .hero-lead { font-size: 15.5px; }
  .btn-main { padding: 12px 26px; font-size: 15.5px; }
  .phone-stage .phone { width: clamp(158px, 52%, 220px); }
  .phone-stage .phone--sm { width: clamp(116px, 38%, 158px); }

  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat b { font-size: 23px; }

  .cards, .entries, .feats, .reviews, .shots { grid-template-columns: 1fr; }
  .shots { gap: 22px; }
  .shots .frame { max-width: 380px; margin: 0 auto; }
  .sec-head h2 { font-size: 22px; }
  .section { padding: 40px 0; }

  .cta-band { padding: 32px 20px; border-radius: 18px; }
  .cta-band h2 { font-size: 21px; }

  .layout { padding: 32px 18px 46px; }
  .page-hero { padding: 34px 0 28px; }
  .page-hero h1 { font-size: 23px; }
  .prose h2 { font-size: 19.5px; margin: 34px 0 13px; }
  .prose h3 { font-size: 17px; }
  .related ul { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
}

@media print {
  .js .reveal, .reveal { opacity: 1 !important; transform: none !important; }
  .site-header, .cta-band { box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .reveal { opacity: 1; transform: none; }
  .btn-main:hover, .entry:hover { transform: none; }
}
