@charset "utf-8";
/* =========================================================
   猪猪软件库 · 内容专题站共享样式
   主色：青绿 #0fa89b  辅色：暖橙 #ff8a2b  点缀：深靛 #1d3f66
   ========================================================= */

:root{
  --brand:#0fa89b;
  --brand-d:#0b8377;
  --brand-dd:#08655c;
  --brand-l:#e4f7f3;
  --brand-l2:#f2fbf9;
  --accent:#ff8a2b;
  --accent-d:#ef7412;
  --accent-l:#fff3e6;
  --indigo:#1d3f66;
  --ink:#152831;
  --ink-2:#4f6a74;
  --ink-3:#8aa4ab;
  --line:#e2eeec;
  --bg:#ffffff;
  --bg-soft:#f5faf9;
  --bg-softer:#eef7f5;
  --radius:16px;
  --radius-s:11px;
  --shadow-s:0 2px 10px rgba(21,40,49,.05);
  --shadow:0 10px 30px rgba(11,131,119,.10);
  --shadow-l:0 20px 50px rgba(11,131,119,.16);
  --wrap:1180px;
}

*,*::before,*::after{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;}

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

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

a{color:var(--brand-d);text-decoration:none;}
a:hover{color:var(--brand);}
p{margin:0 0 16px;}
ul,ol{margin:0 0 16px;padding-left:22px;}
li{margin:6px 0;}
h1,h2,h3,h4{margin:0;line-height:1.35;font-weight:800;letter-spacing:.2px;}

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

/* ---------- 顶部导航 ---------- */
.site-header{
  position:sticky;top:0;z-index:60;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex;align-items:center;gap:14px;min-height:66px;
}
.brand{display:flex;align-items:center;gap:10px;flex-shrink:0;}
.brand img{width:42px;height:42px;border-radius:12px;}
.brand-name{display:flex;flex-direction:column;line-height:1.16;}
.brand-name b{font-size:17.5px;font-weight:800;color:var(--ink);letter-spacing:.5px;}
.brand-name .sub{font-size:11px;color:var(--ink-3);letter-spacing:.6px;}

.nav{
  margin-left:auto;display:flex;align-items:center;gap:2px;
}
.nav a{
  display:inline-block;padding:9px 13px;border-radius:9px;
  font-size:15px;font-weight:600;color:var(--ink-2);white-space:nowrap;
}
.nav a:hover{color:var(--brand-d);background:var(--brand-l);}
.nav a.is-active{color:var(--brand-d);background:var(--brand-l);}
.nav .header-cta{
  margin-left:8px;padding:10px 20px;border-radius:24px;color:#fff;font-weight:700;
  background:linear-gradient(135deg,#ffa855,#ff7d1c);
  box-shadow:0 6px 16px rgba(255,138,43,.32);
}
.nav .header-cta:hover{color:#fff;background:linear-gradient(135deg,#ff9c42,#ef7412);}

/* ---------- 通用按钮 ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:14px 32px;border-radius:28px;font-size:16.5px;font-weight:800;color:#fff;
  background:linear-gradient(135deg,#ffa855,#ff7d1c);
  box-shadow:0 10px 24px rgba(255,138,43,.32);
  transition:transform .18s ease,box-shadow .18s ease;
}
.btn:hover{color:#fff;transform:translateY(-2px);box-shadow:0 14px 30px rgba(255,138,43,.4);}
.btn--ghost{
  color:var(--brand-d);background:#fff;border:1.5px solid var(--brand);
  box-shadow:var(--shadow-s);
}
.btn--ghost:hover{color:var(--brand-d);background:var(--brand-l);box-shadow:var(--shadow-s);}
.btn--sm{padding:10px 22px;font-size:15px;}

/* ---------- Hero ---------- */
.hero{
  position:relative;overflow:hidden;
  background:
    radial-gradient(900px 420px at 88% -10%,rgba(15,168,155,.16),transparent 62%),
    radial-gradient(700px 360px at 6% 8%,rgba(255,138,43,.10),transparent 60%),
    linear-gradient(180deg,#f5fbfa,#ffffff 78%);
  padding:54px 0 60px;
}
.hero-grid{
  display:grid;grid-template-columns:1.12fr .88fr;gap:52px;align-items:center;
}
.hero-grid > *{min-width:0;}
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  background:var(--brand-l);color:var(--brand-dd);
  font-size:13px;font-weight:700;padding:7px 15px;border-radius:20px;margin-bottom:20px;
}
.eyebrow i{width:7px;height:7px;border-radius:50%;background:var(--brand);display:block;}
.hero h1{
  font-size:clamp(30px,4.4vw,46px);line-height:1.24;letter-spacing:1px;
}
.hero h1 em{
  font-style:normal;
  background:linear-gradient(120deg,var(--brand),var(--brand-dd) 55%,#22b9a6);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.hero-lead{
  margin:20px 0 26px;font-size:17px;color:var(--ink-2);max-width:560px;
}
.hero-actions{display:flex;flex-wrap:wrap;gap:14px;align-items:center;}
.hero-note{font-size:13px;color:var(--ink-3);margin:18px 0 0;}
.hero-tags{display:flex;flex-wrap:wrap;gap:9px;margin-top:22px;}
.hero-tags span{
  font-size:13px;color:var(--ink-2);background:#fff;border:1px solid var(--line);
  padding:6px 13px;border-radius:20px;box-shadow:var(--shadow-s);
}

.hero-visual{display:flex;justify-content:center;align-items:flex-end;gap:18px;}
.phone{
  border-radius:30px;background:#fff;padding:8px;
  box-shadow:0 0 0 1px var(--line),var(--shadow-l);
}
.hero-visual .phone{width:clamp(150px,44%,236px);flex-shrink:1;}
.phone .screen{border-radius:23px;overflow:hidden;background:#f3f5fa;}
.phone .screen img{width:100%;height:auto;}

/* ---------- 数据条 ---------- */
.stats{
  background:linear-gradient(135deg,#0fa89b,#0b8377 62%,#08655c);
  color:#fff;padding:36px 0;
}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;}
.stat{text-align:center;padding:6px 4px;}
.stat b{display:block;font-size:clamp(24px,3.2vw,34px);font-weight:800;letter-spacing:.5px;}
.stat span{display:block;font-size:13.5px;color:#c8efe9;margin-top:6px;}

/* ---------- 区块 ---------- */
.sec{padding:66px 0;}
.sec--soft{background:var(--bg-soft);}
.sec--softer{background:var(--bg-softer);}
.sec-head{max-width:720px;margin:0 auto 42px;text-align:center;}
.sec-head .kicker{
  display:inline-block;font-size:13px;font-weight:800;letter-spacing:2px;
  color:var(--brand-d);background:var(--brand-l);padding:6px 14px;border-radius:20px;margin-bottom:14px;
}
.sec-head h2{font-size:clamp(23px,3vw,31px);}
.sec-head p{margin:14px 0 0;color:var(--ink-2);font-size:16px;}

/* ---------- 功能卡 ---------- */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
.card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:26px 24px;box-shadow:var(--shadow-s);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:#bfe6df;}
.card .ico{
  width:50px;height:50px;border-radius:15px;display:flex;align-items:center;justify-content:center;
  background:var(--brand-l);margin-bottom:16px;
}
.card .ico svg{width:26px;height:26px;}
.card h3{font-size:18.5px;margin-bottom:10px;}
.card p{margin:0;color:var(--ink-2);font-size:15px;}
.card ul{margin:12px 0 0;padding-left:19px;}
.card li{font-size:14.5px;color:var(--ink-2);}

/* ---------- 预览图墙 ---------- */
.shots{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
.shots--pair{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;}
.shot{margin:0;}
.shot img{
  width:100%;height:auto;border-radius:var(--radius-s);
  border:1px solid var(--line);box-shadow:var(--shadow-s);background:#fff;
}
.shot figcaption{
  margin-top:9px;font-size:13px;color:var(--ink-3);text-align:center;line-height:1.5;
}

/* ---------- 深度内容入口 ---------- */
.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-s);transition:transform .2s ease,box-shadow .2s ease;
}
.entry:hover{transform:translateY(-4px);box-shadow:var(--shadow);}
.entry .tag{
  display:inline-block;font-size:12px;font-weight:800;color:var(--accent-d);
  background:var(--accent-l);padding:4px 11px;border-radius:20px;margin-bottom:14px;
}
.entry h3{font-size:17.5px;color:var(--ink);margin-bottom:9px;}
.entry p{margin:0;font-size:14.5px;color:var(--ink-2);}
.entry .go{display:block;margin-top:14px;font-size:14px;font-weight:700;color:var(--brand-d);}

/* ---------- 表格 ---------- */
.table-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:var(--radius-s);background:#fff;}
.cmp{width:100%;min-width:680px;border-collapse:collapse;font-size:14.5px;}
.cmp th,.cmp td{padding:13px 16px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top;}
.cmp thead th{background:var(--brand-l2);color:var(--brand-dd);font-weight:800;font-size:14px;white-space:nowrap;}
.cmp tbody tr:last-child td{border-bottom:0;}
.cmp tbody tr:nth-child(even){background:#fbfdfd;}

/* ---------- 评价 ---------- */
.reviews{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
.review{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:24px 22px;box-shadow:var(--shadow-s);
}
.review .stars{color:var(--accent);font-size:14px;letter-spacing:2px;margin-bottom:12px;}
.review p{margin:0 0 16px;font-size:15px;color:var(--ink-2);}
.review .who{display:flex;align-items:center;gap:11px;}
.review .who i{
  width:38px;height:38px;border-radius:50%;flex:0 0 38px;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#2bc6b4,#0b8377);color:#fff;font-style:normal;font-weight:800;font-size:15px;
}
.review .who b{display:block;font-size:14.5px;color:var(--ink);}
.review .who s{display:block;font-size:12.5px;color:var(--ink-3);text-decoration:none;}

/* ---------- FAQ ---------- */
.faq-group{max-width:900px;margin:0 auto 34px;}
.faq-group > h3{
  font-size:18px;color:var(--brand-dd);margin-bottom:14px;
  padding-left:12px;border-left:4px solid var(--brand);
}
details.qa{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius-s);
  margin-bottom:11px;overflow:hidden;
}
details.qa summary{
  cursor:pointer;list-style:none;padding:16px 46px 16px 20px;position:relative;
  font-size:15.5px;font-weight:700;color:var(--ink);
}
details.qa summary::-webkit-details-marker{display:none;}
details.qa summary::after{
  content:"+";position:absolute;right:19px;top:14px;font-size:20px;font-weight:700;color:var(--brand);
  line-height:1;
}
details.qa[open] summary::after{content:"\2013";}
details.qa summary:hover{background:var(--brand-l2);}
details.qa .ans{padding:0 20px 18px;font-size:15px;color:var(--ink-2);}
details.qa .ans p:last-child{margin-bottom:0;}

/* ---------- 内容排版（内页） ---------- */
.layout{padding:0 0 10px;}
.prose{max-width:900px;margin:0 auto;min-width:0;}
.prose h2{
  font-size:clamp(21px,2.6vw,26px);margin:44px 0 16px;padding-left:14px;
  border-left:5px solid var(--brand);line-height:1.4;
}
.prose h2:first-of-type{margin-top:8px;}
.prose h3{font-size:18.5px;margin:30px 0 10px;color:var(--ink);}
.prose p{color:var(--ink-2);}
.prose ul,.prose ol{color:var(--ink-2);}
.prose strong{color:var(--ink);}
.prose .shot{margin:26px auto;max-width:340px;}
.prose .note{
  background:var(--brand-l2);border-left:4px solid var(--brand);border-radius:10px;
  padding:16px 20px;margin:22px 0;font-size:15px;color:var(--ink-2);
}
.prose .note b{color:var(--brand-dd);}
.steps{counter-reset:st;list-style:none;padding:0;margin:24px 0;}
.steps > li{
  position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:22px 24px 22px 70px;margin-bottom:16px;box-shadow:var(--shadow-s);
}
.steps > li::before{
  counter-increment:st;content:counter(st);
  position:absolute;left:20px;top:20px;width:34px;height:34px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#2bc6b4,#0b8377);color:#fff;font-weight:800;font-size:16px;
}
.steps > li h3{margin:0 0 8px;font-size:17.5px;}
.steps > li p:last-child{margin-bottom:0;}

/* ---------- 页头（内页 Hero） ---------- */
.page-hero{
  background:
    radial-gradient(760px 340px at 82% -20%,rgba(15,168,155,.18),transparent 62%),
    linear-gradient(180deg,#f3fbfa,#ffffff 82%);
  padding:52px 0 44px;border-bottom:1px solid var(--line);
}
.page-hero .prose{text-align:left;}
.page-hero h1{font-size:clamp(26px,3.6vw,38px);line-height:1.3;}
.page-hero p{margin:16px 0 0;font-size:16.5px;color:var(--ink-2);max-width:760px;}
.crumb{font-size:13.5px;color:var(--ink-3);margin-bottom:16px;}
.crumb a{color:var(--ink-3);}
.crumb a:hover{color:var(--brand-d);}

/* ---------- 网页底部下载通道 ---------- */
.cta-band{
  background:linear-gradient(135deg,#0fa89b,#0b8377 58%,#08655c);
  color:#fff;padding:54px 0;text-align:center;
}
.cta-band h2{font-size:clamp(22px,2.8vw,29px);}
.cta-band p{margin:14px auto 26px;max-width:620px;color:#cdf0eb;font-size:16px;}
.cta-band .hero-note{color:#a9ded8;margin-top:16px;}

/* ---------- 页脚 ---------- */
.site-footer{background:#12303a;color:#b6ccd3;padding:52px 0 26px;font-size:14.5px;}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:32px;}
.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{font-size:16.5px;color:#fff;letter-spacing:.5px;}
.footer-col h4{font-size:15px;color:#fff;margin-bottom:12px;}
.footer-col a{display:block;color:#a8c2ca;padding:4px 0;font-size:14.5px;}
.footer-col a:hover{color:#4fd6c6;}
.footer-about p{color:#9db8c0;margin:0;font-size:14.5px;line-height:1.75;}
.footer-bottom{
  margin-top:34px;padding-top:20px;border-top:1px solid rgba(255,255,255,.12);
  font-size:13.5px;color:#8fabb4;
}
.footer-bottom .disc{color:#9fbac2;margin-bottom:10px;}
.footer-bottom .copy{color:#8fabb4;}

/* ---------- 内页相关推荐 ---------- */
.related{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:36px 0 0;}
.related a{
  display:block;background:#fff;border:1px solid var(--line);border-radius:var(--radius-s);
  padding:18px 20px;box-shadow:var(--shadow-s);
}
.related a:hover{border-color:#bfe6df;box-shadow:var(--shadow);}
.related b{display:block;font-size:15.5px;color:var(--ink);margin-bottom:6px;}
.related span{font-size:14px;color:var(--ink-2);}

/* ---------- 渐显（仅首页使用） ---------- */
.reveal{transition:opacity .6s ease,transform .6s ease;}
.js .reveal{opacity:0;transform:translateY(18px);}
.js .reveal.is-in{opacity:1;transform:none;}

/* =========================================================
   响应式
   ========================================================= */
@media (max-width:980px){
  .hero{padding:40px 0 48px;}
  .hero-grid{grid-template-columns:1fr;gap:34px;}
  .hero-visual{order:2;justify-content:center;}
  .hero-visual .phone{width:clamp(150px,56%,228px);}
  .cards,.entries,.reviews{grid-template-columns:repeat(2,1fr);}
  .shots{grid-template-columns:repeat(2,1fr);}
  .shots--pair{grid-template-columns:repeat(2,1fr);}
  .stats-grid{grid-template-columns:repeat(2,1fr);gap:26px;}
  .footer-grid{grid-template-columns:1fr 1fr;gap:26px;}
  .related{grid-template-columns:1fr;}
  .sec{padding:50px 0;}
}

@media (max-width:620px){
  body{font-size:15.5px;}
  .wrap{padding:0 16px;}
  .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;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;border-radius:7px;
  }
  .nav .header-cta{display:none;}
  .hero h1{font-size:28px;letter-spacing:.5px;}
  .hero-lead{font-size:16px;}
  .btn{width:100%;padding:13px 20px;}
  .hero-actions{gap:10px;}
  .cards,.entries,.reviews{grid-template-columns:1fr;}
  .shots{grid-template-columns:repeat(2,1fr);gap:14px;}
  .shots--pair{grid-template-columns:1fr;}
  .shot figcaption{font-size:12px;}
  .stats-grid{grid-template-columns:repeat(2,1fr);gap:20px;}
  .footer-grid{grid-template-columns:1fr;gap:22px;}
  .sec{padding:42px 0;}
  .sec-head{margin-bottom:30px;}
  .steps > li{padding:20px 18px 20px 62px;}
  .steps > li::before{left:16px;top:18px;width:30px;height:30px;font-size:15px;}
  .page-hero{padding:34px 0 30px;}
  .prose .shot{max-width:280px;}
  .cta-band{padding:42px 0;}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  .js .reveal,.reveal{opacity:1;transform:none;}
  .card,.entry,.btn{transition:none;}
}

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