/* 求真学术 PaperSeek — 全站样式 */
:root {
  --primary: #1a3a5c;
  --accent: #c9a227;
  --text: #2c3440;
  --muted: #6b7686;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --border: #e3e8ee;
  --link: #1a5cab;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.75; font-size: 16px;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* 顶栏 */
.site-header { border-bottom: 1px solid var(--border); background: #fff; position: sticky; top: 0; z-index: 10; }
.header-inner { max-width: 1080px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.brand { font-size: 20px; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 36px; height: 36px; flex: 0 0 auto; }
.brand .en { color: var(--accent); font-size: 14px; margin-left: 6px; font-weight: 500; letter-spacing: 1px; }
nav.main-nav a { margin-left: 18px; color: var(--text); font-size: 15px; }
nav.main-nav a:hover { color: var(--primary); }

/* 主体 */
.container { max-width: 1080px; margin: 0 auto; padding: 32px 20px; }
.hero { background: linear-gradient(160deg, #f0f4f9 0%, #ffffff 70%); border-bottom: 1px solid var(--border); }
.hero h1 { font-size: 32px; color: var(--primary); line-height: 1.4; margin-bottom: 12px; }
.hero p.sub { font-size: 17px; color: var(--muted); max-width: 760px; }
.badge-row { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.badge { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 6px 14px; font-size: 14px; color: var(--primary); }

h2.section { font-size: 24px; color: var(--primary); margin: 40px 0 16px; padding-left: 12px; border-left: 4px solid var(--accent); }
h3 { font-size: 19px; color: var(--primary); margin: 24px 0 10px; }
p { margin-bottom: 12px; }
ul, ol { margin: 0 0 14px 1.6em; }
li { margin-bottom: 6px; }

/* 卡片 */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin: 20px 0; }
.card { border: 1px solid var(--border); border-radius: 10px; padding: 22px; background: #fff; box-shadow: 0 1px 4px rgba(20,40,70,.05); }
.card h3 { margin-top: 0; }
.card .tag { display: inline-block; font-size: 13px; color: var(--accent); border: 1px solid var(--accent); border-radius: 4px; padding: 1px 8px; margin-bottom: 10px; }
.btn { display: inline-block; background: var(--primary); color: #fff; padding: 10px 22px; border-radius: 6px; margin-top: 10px; font-size: 15px; }
.btn:hover { background: #14304e; text-decoration: none; }
.btn.ghost { background: transparent; color: var(--primary); border: 1px solid var(--primary); }

/* 步骤 */
.steps { counter-reset: step; margin: 16px 0; }
.step { position: relative; padding: 14px 16px 14px 56px; border: 1px solid var(--border); border-radius: 8px; margin-bottom: 10px; background: #fff; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 14px; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; }
.step b { color: var(--primary); }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); padding: 16px 0; }
.faq-item h3 { margin: 0 0 8px; font-size: 17px; }
.faq-item p { color: var(--text); margin: 0; }

/* 提示框 */
.notice { background: var(--bg-soft); border-left: 4px solid var(--accent); padding: 14px 18px; border-radius: 0 8px 8px 0; margin: 18px 0; font-size: 15px; }

/* 面包屑 */
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }

/* 实拍截图 */
.shot-grid { display: grid; grid-template-columns: 1fr; gap: 26px; margin: 20px 0; max-width: 920px; }
.shot-grid figure.shot { cursor: zoom-in; }
.shot-grid figure.shot:hover { box-shadow: 0 3px 12px rgba(20,40,70,.12); }
figure.shot { margin: 0; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 1px 4px rgba(20,40,70,.05); }
figure.shot img { display: block; width: 100%; height: auto; }
figure.shot figcaption { padding: 10px 14px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--border); background: var(--bg-soft); }
figure.shot figcaption b { color: var(--primary); }

/* 点击放大查看层 */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(10,18,28,.88); z-index: 999; align-items: center; justify-content: center; flex-direction: column; padding: 24px; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 96vw; max-height: 88vh; border-radius: 6px; box-shadow: 0 8px 40px rgba(0,0,0,.5); }
.lightbox p { color: #e8edf3; font-size: 14px; margin-top: 12px; }
.hero-img { margin-top: 24px; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(20,40,70,.08); }
.hero-img img { display: block; width: 100%; height: auto; }
.hero-img figcaption { padding: 10px 16px; font-size: 14px; color: var(--muted); background: #fff; border-top: 1px solid var(--border); }

/* 使用入口提示框 */
.usage-note { background: var(--bg-soft); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 8px; padding: 12px 16px; font-size: 15px; margin: 18px 0 4px; }

/* 页脚 */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-soft); margin-top: 60px; }
.footer-inner { max-width: 1080px; margin: 0 auto; padding: 28px 20px; font-size: 14px; color: var(--muted); }
.footer-inner a { color: var(--muted); margin-right: 14px; }
.footer-inner .disclaimer { margin-top: 12px; font-size: 13px; }
