/* ============================================
   数字图书馆整体解决方案 - 产品详情页
   视觉系统：深蓝 + 暖金强调色，图书馆学术感
   ============================================ */

:root {
  --c-ink:        #0E2A47;   /* 主深色 */
  --c-ink-2:      #1A3A5C;
  --c-accent:     #C9A86A;   /* 暖金 */
  --c-accent-2:   #B08C4E;
  --c-blue:       #2563EB;
  --c-cyan:       #0891B2;
  --c-text:       #1F2937;
  --c-text-2:     #4B5563;
  --c-muted:      #6B7280;
  --c-line:       #E5E9F0;
  --c-line-2:     #EEF2F7;
  --c-bg:         #FFFFFF;
  --c-bg-soft:    #F6F8FC;
  --c-bg-alt:     #F1F4FA;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 22px;

  --shadow-sm: 0 1px 2px rgba(15, 42, 71, 0.04), 0 1px 1px rgba(15, 42, 71, 0.03);
  --shadow-md: 0 8px 24px rgba(15, 42, 71, 0.06), 0 2px 6px rgba(15, 42, 71, 0.04);
  --shadow-lg: 0 24px 60px rgba(15, 42, 71, 0.10), 0 6px 16px rgba(15, 42, 71, 0.05);

  --container: 1200px;
  --gutter: 24px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
               "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.65;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5 {
  margin: 0;
  color: var(--c-ink);
  font-weight: 700;
  letter-spacing: -0.01em;
}

p { margin: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============ 顶部导航 ============ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; color: var(--c-ink);
}
.brand__mark {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--c-ink); color: var(--c-accent);
  border-radius: var(--r-sm);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand__name { font-size: 16px; letter-spacing: 0.01em; }

.nav {
  display: flex; align-items: center; gap: 28px;
  font-size: 14.5px; color: var(--c-text-2);
}
.nav a { transition: color .2s ease; }
.nav a:hover { color: var(--c-ink); }
.nav__cta {
  padding: 8px 16px;
  background: var(--c-ink);
  color: #fff !important;
  border-radius: var(--r-sm);
  font-weight: 600;
}
.nav__cta:hover { background: var(--c-ink-2); }

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: 80px 0 96px;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(201,168,106,0.12), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(37,99,235,0.07), transparent 60%),
    linear-gradient(180deg, #FBFCFE 0%, #F4F7FC 100%);
  border-bottom: 1px solid var(--c-line);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-accent-2);
  background: rgba(201,168,106,0.12);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}
.hero h1 {
  font-size: 46px;
  line-height: 1.18;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.lead {
  font-size: 17px;
  color: var(--c-text-2);
  max-width: 560px;
  margin-bottom: 28px;
}
.lead-sm {
  font-size: 16px;
  color: var(--c-text-2);
  margin-bottom: 20px;
}
.hero__cta { display: flex; gap: 14px; margin-bottom: 32px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 22px;
  font-size: 15px; font-weight: 600;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  transition: all .2s ease;
  cursor: pointer;
}
.btn--primary {
  background: var(--c-ink);
  color: #fff;
}
.btn--primary:hover { background: var(--c-ink-2); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-line);
}
.btn--ghost:hover { border-color: var(--c-ink); }

.hero__points {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 14px; color: var(--c-text-2);
}
.hero__points li {
  position: relative; padding-left: 22px;
}
.hero__points li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 12px; height: 2px; background: var(--c-accent);
}
.hero__points b { color: var(--c-ink); font-weight: 700; margin-right: 4px; }

.hero__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #fff;
  padding: 8px;
  border: 1px solid var(--c-line);
}
.hero__media img { border-radius: calc(var(--r-lg) - 6px); }
.hero__media-cap {
  display: block;
  padding: 12px 16px 4px;
  font-size: 12.5px;
  color: var(--c-muted);
  text-align: center;
}

/* ============ 信任栏 ============ */
.trustbar {
  background: #fff;
  border-bottom: 1px solid var(--c-line);
  padding: 22px 0;
}
.trustbar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.trustbar__item {
  display: flex; flex-direction: column; gap: 4px;
  font-size: 13.5px; color: var(--c-muted);
}
.trustbar__item b {
  font-size: 15px; color: var(--c-ink); font-weight: 700;
  letter-spacing: 0.01em;
}

/* ============ Section 通用 ============ */
.section {
  padding: 88px 0;
  background: #fff;
}
.section--alt { background: var(--c-bg-soft); }

.section__head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.section__num {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-accent-2);
  letter-spacing: 0.18em;
  margin-bottom: 12px;
}
.section__head h2 {
  font-size: 34px;
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.section__head p {
  font-size: 16px;
  color: var(--c-text-2);
}

/* ============ Grid 卡片 ============ */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--tight { gap: 18px; }

.card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow-md); }
.card__title {
  font-size: 20px;
  margin-bottom: 14px;
  position: relative;
  padding-left: 14px;
}
.card__title::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 3px; height: 18px; background: var(--c-accent);
  border-radius: 2px;
}
.card p, .card li { color: var(--c-text-2); font-size: 14.5px; }

.checklist {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.checklist li {
  position: relative; padding-left: 24px;
  font-size: 14.5px; color: var(--c-text-2);
  line-height: 1.6;
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 14px; height: 14px;
  background: rgba(37,99,235,0.08);
  border-radius: 50%;
}
.checklist li::after {
  content: ""; position: absolute; left: 4px; top: 11px;
  width: 6px; height: 3px;
  border-left: 1.5px solid var(--c-blue);
  border-bottom: 1.5px solid var(--c-blue);
  transform: rotate(-45deg);
}

/* ============ 架构图 ============ */
.arch {
  display: flex; flex-direction: column; gap: 14px;
  max-width: 980px; margin: 0 auto;
}
.arch__row {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
  gap: 18px;
}
.arch__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-text-2);
  letter-spacing: 0.06em;
  text-align: right;
  padding-right: 18px;
  border-right: 2px solid var(--c-line);
}
.arch__row--accent .arch__label { color: var(--c-accent-2); border-color: var(--c-accent); }
.arch__cells { display: flex; flex-wrap: wrap; gap: 10px; }
.arch__cell {
  background: #fff;
  border: 1px solid var(--c-line);
  color: var(--c-text-2);
  font-size: 14px;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-sm);
}
.arch__cell--hl {
  background: var(--c-ink);
  color: #fff;
  border-color: var(--c-ink);
  font-weight: 600;
}

/* ============ 核心能力卡 ============ */
.feature {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  transition: all .2s ease;
  position: relative;
}
.feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #DDE3EE;
}
.feature__icon {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(201,168,106,0.10));
  color: var(--c-ink);
  border-radius: var(--r-md);
  margin-bottom: 16px;
}
.feature h3 {
  font-size: 18px;
  margin-bottom: 10px;
  letter-spacing: 0;
}
.feature p {
  font-size: 14.5px;
  color: var(--c-text-2);
  line-height: 1.65;
}

/* ============ 章节-图文分栏 ============ */
.section--split { background: #fff; }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split__copy h2 { font-size: 30px; margin-bottom: 18px; }
.split__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.split__media img { width: 100%; }
.split__media--inset {
  position: absolute;
  right: -32px; bottom: -32px;
  width: 56%;
  border-radius: var(--r-md);
  border: 6px solid #fff;
  box-shadow: var(--shadow-lg);
}

.bullet {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.bullet li {
  position: relative; padding-left: 18px;
  font-size: 14.5px; color: var(--c-text-2);
  line-height: 1.65;
}
.bullet li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 6px; height: 6px; background: var(--c-accent);
  border-radius: 50%;
}
.bullet b { color: var(--c-ink); font-weight: 700; }

/* ============ 系统截图 ============ */
.sys-shot {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-md);
  margin-bottom: 48px;
  background: #fff;
}
.sys-shot img { width: 100%; }

.mod {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 22px 22px 20px;
  border-top: 3px solid var(--c-accent);
}
.mod h4 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--c-ink);
}
.mod p {
  font-size: 13.5px;
  color: var(--c-text-2);
  line-height: 1.65;
}

/* ============ 硬件卡 ============ */
.hw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.hw {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  transition: all .2s ease;
}
.hw:hover {
  border-color: var(--c-ink-2);
  box-shadow: var(--shadow-md);
}
.hw h4 {
  font-size: 17px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-line-2);
  color: var(--c-ink);
}
.hw ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.hw li {
  font-size: 13.5px;
  color: var(--c-text-2);
  line-height: 1.6;
  position: relative; padding-left: 16px;
}
.hw li::before {
  content: "—";
  position: absolute; left: 0; top: 0;
  color: var(--c-accent);
  font-weight: 700;
}

/* ============ 参数表 ============ */
.table-wrap {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.spec-table th, .spec-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--c-line-2);
  vertical-align: top;
}
.spec-table thead th {
  background: var(--c-bg-alt);
  color: var(--c-ink);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.04em;
}
.spec-table tbody tr:last-child td { border-bottom: none; }
.spec-table tbody tr:hover { background: #FAFBFD; }
.spec-table td:first-child {
  font-weight: 700;
  color: var(--c-ink);
  background: #FBFCFE;
  width: 120px;
  text-align: center;
  border-right: 1px solid var(--c-line-2);
}
.spec-table td:nth-child(2) {
  color: var(--c-ink);
  font-weight: 600;
  width: 180px;
}
.spec-table td:last-child { color: var(--c-text-2); }

/* ============ 场景卡 ============ */
.scene {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 24px 22px;
  border-left: 3px solid var(--c-ink);
}
.scene h4 { font-size: 16px; margin-bottom: 8px; }
.scene p { font-size: 14px; color: var(--c-text-2); }

/* ============ 案例 ============ */
.case {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 36px 36px 32px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--c-ink);
}
.case__head {
  border-bottom: 1px solid var(--c-line-2);
  padding-bottom: 18px;
  margin-bottom: 24px;
}
.case__head h3 { font-size: 22px; margin-bottom: 10px; }
.case__meta {
  display: flex; flex-wrap: wrap; gap: 24px;
  font-size: 13.5px; color: var(--c-muted);
}
.case__meta span {
  display: inline-flex; align-items: center;
  padding-left: 14px; position: relative;
}
.case__meta span::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; background: var(--c-accent);
  border-radius: 50%;
}
.case__body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.case__col h4 {
  font-size: 15px;
  margin-bottom: 10px;
  color: var(--c-ink);
  letter-spacing: 0.02em;
}
.case__col p { font-size: 14px; color: var(--c-text-2); line-height: 1.7; }

/* ============ 联系区 ============ */
.section--contact {
  background:
    radial-gradient(800px 400px at 20% 0%, rgba(201,168,106,0.10), transparent 60%),
    linear-gradient(180deg, var(--c-ink) 0%, #08203A 100%);
  color: #fff;
}
.contact {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: center;
}
.contact__copy h2 { color: #fff; font-size: 32px; margin-bottom: 12px; }
.contact__copy p { color: rgba(255,255,255,0.7); font-size: 16px; }
.contact__items {
  display: grid; gap: 16px;
}
.contact__item {
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px 22px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  backdrop-filter: blur(6px);
}
.contact__label {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: var(--c-accent);
  text-transform: uppercase;
  font-weight: 600;
}
.contact__value {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.01em;
}

/* ============ 页脚 ============ */
.footer {
  background: #07182E;
  color: rgba(255,255,255,0.55);
  padding: 28px 0;
  font-size: 13px;
}
.footer__inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer__brand {
  display: flex; align-items: center; gap: 10px;
  color: #fff;
  font-weight: 600;
}
.footer__brand .brand__mark { width: 26px; height: 26px; font-size: 14px; }
.footer__meta { display: flex; gap: 24px; }

/* ============ 响应式 ============ */
@media (max-width: 960px) {
  .hero { padding: 56px 0 64px; }
  .hero__inner, .split, .contact { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 36px; }
  .grid--2, .grid--3, .hw-grid, .case__body { grid-template-columns: 1fr; }
  .trustbar__inner { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .section { padding: 64px 0; }
  .section__head h2 { font-size: 28px; }
  .arch__row { grid-template-columns: 1fr; gap: 10px; }
  .arch__label { text-align: left; padding-right: 0; padding-bottom: 6px; border-right: none; border-bottom: 2px solid var(--c-line); }
  .nav { display: none; }
  .case { padding: 26px 22px; }
  .spec-table { font-size: 13px; }
  .spec-table th, .spec-table td { padding: 12px 14px; }
}

@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .hero h1 { font-size: 30px; }
  .hero__cta { flex-direction: column; }
  .btn { width: 100%; }
  .section__head h2 { font-size: 24px; }
  .split__media--inset { display: none; }
}
