/* SGCL 官网 · 参考 PCL2 网页的简洁版式 */
:root{
  --blue:#1772E2;
  --blue-dark:#0F5CBC;
  --blue-soft:#EAF3FF;
  --ink:#1F2937;
  --muted:#6B7A8C;
  --line:#E4EAF2;
  --bg:#F7FAFE;
  --radius:12px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;background:#fff;color:var(--ink);line-height:1.7;
  font-family:"Microsoft YaHei UI","Segoe UI","PingFang SC",sans-serif;
  font-size:15px;-webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:var(--blue);text-decoration:none}
a:hover{text-decoration:underline;text-underline-offset:3px}
h1,h2,h3,h4,p{margin:0}
ul,ol{margin:0;padding:0;list-style:none}
.container{max-width:960px;margin:0 auto;padding:0 24px}
:focus-visible{outline:2px solid var(--blue);outline-offset:3px;border-radius:6px}

/* 顶栏 */
.topbar{
  position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.bar{height:64px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.brand{display:flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none}
.brand:hover{text-decoration:none}
.brand img{width:30px;height:30px;border-radius:7px}
.brand-text{display:flex;flex-direction:column;line-height:1.1}
.brand-text b{font-size:17px;letter-spacing:.01em}
.brand-text small{font-size:10.5px;color:var(--muted);letter-spacing:.04em;margin-top:2px}
.nav{display:flex;align-items:center;gap:4px}
.nav a{
  color:var(--ink);font-size:14.5px;padding:8px 14px;border-radius:8px;position:relative;
  text-decoration:none;transition:background .18s,color .18s;
}
.nav a:hover{background:var(--bg);text-decoration:none}
.nav a.active{color:var(--blue);font-weight:600}
.nav a.active::after{
  content:"";position:absolute;left:14px;right:14px;bottom:2px;height:2px;border-radius:2px;background:var(--blue);
}

/* 按钮 */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  height:44px;padding:0 22px;border-radius:9px;font-size:15px;font-weight:600;
  border:1px solid transparent;cursor:pointer;text-decoration:none;
  transition:background .18s,border-color .18s,transform .15s,box-shadow .2s;
}
.btn:hover{text-decoration:none;transform:translateY(-1px)}
.btn:active{transform:none}
.btn-primary{background:var(--blue);color:#fff}
.btn-primary:hover{background:var(--blue-dark)}
.btn-ghost{background:#fff;border-color:#D3DCE8;color:var(--ink)}
.btn-ghost:hover{border-color:#B7C7DA;background:#FBFDFF}
.btn-lg{height:50px;padding:0 28px;font-size:16px}

/* 页头 */
.page-head{padding:48px 0 26px}
.page-head .kicker{font-size:13px;color:var(--blue);font-weight:600;letter-spacing:.02em}
.page-head h1{font-size:clamp(28px,4vw,38px);line-height:1.3;letter-spacing:-.01em;margin-top:8px;font-weight:700}
.page-head p{color:var(--muted);margin-top:12px;max-width:640px}

/* 首页 */
.hero{padding:52px 0 30px}
.hero h1{font-size:clamp(30px,4.6vw,44px);line-height:1.28;letter-spacing:-.015em;font-weight:700;max-width:660px}
.hero .lead{color:var(--muted);font-size:16px;margin-top:16px;max-width:620px}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.hero-meta{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:22px;font-size:13px;color:var(--muted)}
.hero-meta b{color:var(--ink);font-weight:600}

.shot-frame{
  margin:34px 0 0;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;
  background:#fff;box-shadow:0 18px 40px -28px rgba(31,41,55,.5);
}
.shot-frame img{width:100%;height:auto}
.shot-frame figcaption{
  padding:10px 14px;font-size:12.5px;color:var(--muted);border-top:1px solid var(--line);background:#FCFDFF;
}

/* 特点 */
.section{padding:44px 0}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:22px}
.section-head h2{font-size:22px;font-weight:700;letter-spacing:-.01em}
.section-head a{font-size:14px}
.features{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.feature{border:1px solid var(--line);border-radius:var(--radius);padding:20px;background:#fff;transition:border-color .2s,box-shadow .2s}
.feature:hover{border-color:#C9DCF4;box-shadow:0 14px 30px -26px rgba(31,41,55,.55)}
.feature .num{
  width:26px;height:26px;border-radius:7px;background:var(--blue-soft);color:var(--blue);
  display:grid;place-items:center;font-size:12px;font-weight:700;margin-bottom:12px;
}
.feature h3{font-size:16px;font-weight:600}
.feature p{font-size:13.5px;color:var(--muted);margin-top:6px}

.shots{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:4px}
.shots figure{margin:0;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fff}
.shots img{width:100%;height:auto}
.shots figcaption{padding:9px 12px;font-size:12.5px;color:var(--muted);border-top:1px solid var(--line)}

/* 下载页 */
.dl-card{border:1px solid var(--line);border-radius:var(--radius);padding:28px;background:#fff;
  box-shadow:0 20px 44px -34px rgba(31,41,55,.5)}
.dl-top{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;flex-wrap:wrap}
.dl-title{display:flex;align-items:center;gap:12px}
.dl-title img{width:42px;height:42px;border-radius:10px}
.dl-title h2{font-size:22px;font-weight:700}
.dl-title .ver{font-size:12px;color:var(--blue);background:var(--blue-soft);border-radius:999px;padding:2px 9px;margin-left:2px}
.dl-sub{color:var(--muted);font-size:13.5px;margin-top:10px}
.dl-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.dl-file{font-size:12.5px;color:var(--muted);margin-top:10px}

.block{border:1px solid var(--line);border-radius:var(--radius);padding:24px;background:#fff;margin-top:20px}
.block h2{font-size:17px;font-weight:700;margin-bottom:14px}
.steps-list{counter-reset:s}
.steps-list li{position:relative;padding:10px 0 10px 34px;border-bottom:1px dashed #EDF2F8;font-size:14px}
.steps-list li:last-child{border-bottom:0}
.steps-list li::before{
  counter-increment:s;content:counter(s);
  position:absolute;left:0;top:11px;width:22px;height:22px;border-radius:6px;
  background:var(--blue-soft);color:var(--blue);font-size:11.5px;font-weight:700;
  display:grid;place-items:center;
}
.req{display:grid;grid-template-columns:96px 1fr;gap:8px 16px;font-size:14px}
.req dt{color:var(--muted)}
.req dd{margin:0}
.note{background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:14px 16px;font-size:13.5px;color:var(--muted);margin-top:16px}
.note b{color:var(--ink)}

/* 使用教程 */
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.step{border:1px solid var(--line);border-radius:var(--radius);padding:20px;background:#fff}
.step .n{font-size:12px;font-weight:700;color:var(--blue);letter-spacing:.06em}
.step h3{font-size:15.5px;font-weight:600;margin-top:6px}
.step p{font-size:13.5px;color:var(--muted);margin-top:6px}
.step .path{display:inline-block;margin-top:10px;font-size:12px;color:var(--blue);background:var(--blue-soft);
  border-radius:6px;padding:3px 8px}
.faq{margin-top:6px}
.faq details{border-bottom:1px solid var(--line);padding:14px 2px}
.faq summary{cursor:pointer;font-weight:600;font-size:14.5px;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary::before{content:"＋";color:var(--blue);margin-right:8px;font-weight:700}
.faq details[open] summary::before{content:"－"}
.faq p{font-size:13.5px;color:var(--muted);margin-top:8px;padding-left:22px}

/* 更多 / 鸣谢 */
.credit{border:1px solid var(--line);border-radius:var(--radius);padding:26px;background:#fff;display:flex;
  align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap}
.person{display:flex;align-items:center;gap:16px}
.person img{width:76px;height:76px;border-radius:50%;object-fit:cover;border:2px solid #fff;
  box-shadow:0 0 0 2px var(--blue-soft),0 10px 24px -18px rgba(31,41,55,.9)}
.person .role{font-size:12px;color:var(--blue);font-weight:600;letter-spacing:.04em}
.person h2{font-size:20px;font-weight:700;margin-top:2px}
.person p{font-size:13px;color:var(--muted)}
.jump{position:relative}
.jump-menu{
  position:absolute;right:0;top:calc(100% + 8px);min-width:220px;background:#fff;
  border:1px solid var(--line);border-radius:10px;padding:6px;z-index:20;
  box-shadow:0 20px 40px -22px rgba(31,41,55,.55);
  opacity:0;transform:translateY(-6px);pointer-events:none;transition:opacity .18s,transform .18s;
}
.jump.open .jump-menu{opacity:1;transform:none;pointer-events:auto}
.jump-menu button{
  display:flex;align-items:center;gap:9px;width:100%;padding:10px 11px;border:0;border-radius:7px;
  background:none;font:inherit;font-size:14px;color:var(--ink);cursor:pointer;text-align:left;
}
.jump-menu button:hover,.jump-menu button:focus-visible{background:var(--bg);outline:none}
.jump-menu .dot{width:7px;height:7px;border-radius:2px;background:var(--blue);flex:none}
.jump-menu .hint{margin-left:auto;font-size:10.5px;color:var(--muted)}
.caret{width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;
  border-top:5px solid currentColor;transition:transform .2s}
.jump.open .caret{transform:rotate(180deg)}
.jump-menu .caret{width:0;height:0}
.social-status{font-size:12.5px;color:var(--muted);margin-top:10px;min-height:18px}
.web-fallback{margin-top:6px;font-size:13px;padding:6px 10px;border-radius:7px;border:1px solid #CFE0F5;
  background:#F6FAFF;color:var(--blue);cursor:pointer;font-family:inherit}
.web-fallback[hidden]{display:none}
.about p{font-size:14px;color:var(--muted);margin-top:8px}
.about p b{color:var(--ink)}
.tech{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:16px}
.tech div{border:1px solid var(--line);border-radius:10px;padding:14px;font-size:13.5px}
.tech b{display:block;font-size:14px;margin-bottom:3px}
.tech span{color:var(--muted);font-size:12.5px}

/* 页脚 */
.site-footer{margin-top:56px;border-top:1px solid var(--line);background:#FBFDFF;padding:24px 0 32px}
.site-footer .container{display:flex;flex-wrap:wrap;gap:10px 24px;align-items:center;justify-content:space-between;
  font-size:12.5px;color:var(--muted)}
.foot-links{display:flex;gap:16px;flex-wrap:wrap}
.foot-links a{color:var(--muted)}
.foot-links a:hover{color:var(--blue)}

/* 入场动效：仅一次淡入，避免复杂滚动效果 */
.page-in{animation:fadeUp .45s ease-out both}
@keyframes fadeUp{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.page-in{animation:none}}

@media (max-width:820px){
  .features,.tech{grid-template-columns:1fr}
  .shots,.two-col{grid-template-columns:1fr}
  .bar{height:auto;flex-direction:column;align-items:flex-start;gap:6px;padding:12px 0}
  .nav{width:100%;overflow-x:auto}
  .hero{padding-top:36px}
}
