/* ===========================================================
   声卡驱动中心 · soft 版式（对标中华网软件详情页）
   结构：白底卡片 + 六列参数带 + 大号正文 + 三列推荐
   色板取自竞品实测：#f8fafc 底 / #fff 卡 / #e5e7eb 线 / #2563eb 主色
   仅用于 /intel/ /lenovo/ /asus/ 三页样板，不影响 style.css
   =========================================================== */

:root {
  --ink: #111827;
  --ink-2: #1f2937;
  --gray: #6b7280;
  --gray-3: #9ca3af;
  --line: #e5e7eb;
  --line-2: #f1f5f9;
  --bg: #f8fafc;
  --card: #fff;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-soft: #eff6ff;
  --green: #16a34a;
  --r-lg: 16px;
  --r-md: 12px;
  --r-sm: 8px;
  --shadow: 0 1px 3px rgba(15, 23, 42, .06), 0 8px 24px -12px rgba(15, 23, 42, .12);
  --font: system-ui, -apple-system, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--bg);
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; display: block; }

h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.4; }
p { margin: 0 0 16px; }
ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin: 6px 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- 页头 ---------- */
.soft-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.soft-header .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
}
.soft-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--ink);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: .2px;
}
.soft-logo img { max-height: 28px; width: auto; }

.soft-nav { display: flex; gap: 26px; flex: 1 1 auto; }
.soft-nav a { color: var(--ink-2); font-size: 17px; }
.soft-nav a:hover { color: var(--blue); }
.soft-nav a[aria-current="page"] { color: var(--blue); font-weight: 700; }

.soft-search {
  flex: 0 0 260px;
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(90deg, #dbeafe, #fce7f3);
  overflow: hidden;
}
.soft-search input {
  flex: 1 1 auto;
  border: 0;
  background: transparent;
  padding: 9px 16px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  min-width: 0;
}
.soft-search button {
  border: 0;
  background: transparent;
  padding: 0 16px;
  font: inherit;
  font-size: 14px;
  color: var(--blue-dark);
  font-weight: 700;
  cursor: pointer;
}

/* ---------- 主区 ---------- */
.soft-page { padding: 24px 0 56px; }

.crumb { font-size: 13px; color: var(--gray-3); margin: 0 0 10px; }
.crumb a { color: var(--gray); }
.crumb span { margin: 0 6px; }

/* ---------- 基础信息卡 ---------- */
.baseinfo {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow);
}
.baseinfo-top { display: flex; align-items: flex-start; gap: 20px; }

.thumb {
  flex: 0 0 96px;
  width: 96px;
  height: 96px;
  border-radius: 22px;
  background: linear-gradient(150deg, #e0ecff 0%, #c7dcff 55%, #a9c8ff 100%);
  border: 1px solid rgba(37, 99, 235, .16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 6px 16px -8px rgba(37,99,235,.45);
  display: grid;
  place-items: center;
  padding: 0;
}
.thumb svg, .thumb img { width: 60px; height: 60px; display: block; object-fit: contain; }
.thumb.lenovo { background: #fff; border-color: rgba(15,23,42,.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 6px 16px -8px rgba(15,23,42,.28); }
.thumb.asus { background: #fff; border-color: rgba(15,23,42,.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 6px 16px -8px rgba(15,23,42,.28); }

.info-base { flex: 1 1 auto; min-width: 0; }
.info-base h1 {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -.2px;
  margin: 0 0 6px;
}
.ver-badge {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray);
  background: var(--line-2);
  border-radius: 999px;
  padding: 2px 12px;
  margin-left: 10px;
  vertical-align: 4px;
}
.trust {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--green);
  font-size: 14px;
  margin-top: 12px;
}
.trust i {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-style: normal;
}
.trust svg { width: 15px; height: 15px; flex: 0 0 15px; }
.trust .upd { color: var(--gray-3); }

.info-dl { flex: 0 0 auto; align-self: center; text-align: center; }

.btn-dl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
  color: #fff !important;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .3px;
  padding: 15px 46px;
  border-radius: 999px;
  box-shadow: 0 10px 22px -8px rgba(37, 99, 235, .85), inset 0 1px 0 rgba(255,255,255,.28);
  transition: transform .12s, box-shadow .12s;
  white-space: nowrap;
}
.btn-dl:hover { transform: translateY(-1px); box-shadow: 0 14px 26px -8px rgba(37, 99, 235, .9), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-dl svg { width: 19px; height: 19px; flex: 0 0 19px; }
.btn-dl small { display: block; font-size: 12px; font-weight: 400; opacity: .85; }

.dl-hint {
  margin: 10px 0 0;
  font-size: 12.5px;
  color: var(--gray-3);
  text-align: center;
}

/* ---------- 六列参数带 ---------- */
.info-detail {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line-2);
}
.spec-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin: 0;
}
.spec-grid > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border-left: 1px solid var(--line-2);
  text-align: center;
  min-width: 0;
}
.spec-grid > div:first-child { border-left: 0; }
.spec-grid dt { font-size: 12px; color: var(--gray-3); margin: 0; }
.spec-grid dd { margin: 0; font-size: 17px; line-height: 1.35; color: var(--ink); font-weight: 700; letter-spacing: -.2px; overflow-wrap: anywhere; }

.src-note {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--gray-3);
}

/* ---------- 正文卡 ---------- */
.art-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px 44px;
  margin-top: 20px;
  box-shadow: var(--shadow);
}
.art-card h2 {
  font-size: 21px;
  font-weight: 700;
  margin: 0 0 14px;
}
.art-card h2:not(:first-child) { margin-top: 36px; }
.art-card p, .art-card li { font-size: 17px; line-height: 1.9; color: #374151; }
.art-card .lead {
  font-size: 17px;
  color: var(--ink-2);
  background: var(--blue-soft);
  border-left: 3px solid #93c5fd;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 14px 18px;
}
.art-card b, .art-card strong { color: var(--ink); }

/* 机型表 */
.tbl-wrap { overflow-x: auto; margin: 0 0 8px; }
table.pack {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
table.pack th, table.pack td {
  text-align: left;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line-2);
  white-space: nowrap;
}
table.pack th {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-3);
  letter-spacing: .3px;
  background: #fafafa;
}
table.pack td { color: #374151; }
table.pack tr:last-child td { border-bottom: 0; }
table.pack .m { font-weight: 600; color: var(--ink); }

.steps { counter-reset: s; list-style: none; padding: 0; }
.steps > li {
  counter-increment: s;
  position: relative;
  padding-left: 38px;
  margin: 0 0 14px;
}
.steps > li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.faq { margin-top: 4px; }
.faq details {
  border-bottom: 1px solid var(--line-2);
  padding: 14px 0;
}
.faq details:last-child { border-bottom: 0; }
.faq summary {
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q "; color: var(--blue); font-weight: 700; }
.faq p { margin: 10px 0 0; font-size: 15px; color: var(--gray); }

.dl-row { text-align: center; margin: 32px 0 8px; }

/* ---------- 三列推荐 ---------- */
.rec-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 36px;
  margin-top: 20px;
  box-shadow: var(--shadow);
}
.rec-card h2 { font-size: 19px; font-weight: 700; margin: 0 0 20px; }
.rec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 32px;
}
.rec-grid a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.rec-grid a:last-child { border-bottom: 0; }
.rec-grid .t {
  display: block;
  font-size: 16px;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rec-grid .d {
  display: block;
  font-size: 13px;
  color: var(--gray-3);
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- 页脚 ---------- */
.soft-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 28px 0;
  font-size: 13px;
  color: var(--gray-3);
}
.soft-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.soft-footer a { color: var(--gray); }

/* ---------- 移动端 ---------- */
@media (max-width: 900px) {
  .soft-nav { display: none; }
  .soft-header .wrap { height: 64px; gap: 10px; }
  .soft-logo span { font-size: 15px; }
  .soft-logo img { max-height: 24px; }
  .soft-search { display: none; }
  .soft-page { padding: 14px 0 40px; }
  .baseinfo { padding: 20px; }
  .baseinfo-top { flex-wrap: wrap; }
  .thumb { flex-basis: 68px; width: 68px; height: 68px; border-radius: 17px; }
  .thumb svg, .thumb img { width: 42px; height: 42px; }
  .info-base h1 { font-size: 18px; line-height: 1.5; }
  .info-dl { flex: 1 1 100%; margin-top: 16px; }
  .info-dl .btn-dl { width: 100%; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); gap: 16px 0; }
  .spec-grid > div { padding: 0 14px; }
  .spec-grid > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .spec-grid dd { font-size: 14px; line-height: 1.5; }
  .art-card, .rec-card { padding: 24px 20px; border-radius: var(--r-md); }
  .art-card h2 { font-size: 18px; }
  .art-card p, .art-card li { font-size: 16px; }
  .rec-grid { grid-template-columns: 1fr; gap: 0; }
  .trust { flex-direction: column; gap: 2px; font-size: 13px; }
}

/* ---------- 移动端底部下载条 ---------- */
.mobile-dl-bar { display: none; }
@media (max-width: 900px) {
  .mobile-dl-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: #fff;
    border-top: 1px solid var(--line);
  }
  .mobile-dl-bar a {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--blue);
    color: #fff;
    border-radius: 999px;
    padding: 10px 10px;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
  }
  .mobile-dl-bar a svg { width: 15px; height: 15px; flex: 0 0 15px; }
  .mobile-dl-bar small { font-size: 10.5px; color: var(--gray-3); white-space: nowrap; flex: 0 0 auto; }
  body { padding-bottom: 68px; }
}

/* ---------- 场景图 ---------- */
.prod-gallery {
  margin: 22px 0 8px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: #fff;
}
.prod-gallery img { width: 100%; height: auto; display: block; }

/* ---------- 竞品式 H1 后缀与功能列表 ---------- */
.h1-sub {
  display: block;
  margin-top: 6px;
  font-size: .58em;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--gray);
}
ul.feat { list-style: none; padding: 0; margin: 0 0 18px; }
ul.feat li {
  font-size: 17px;
  line-height: 1.85;
  color: #374151;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-2);
}
ul.feat li:last-child { border-bottom: 0; }
ul.feat b { color: var(--ink); }
@media (max-width: 900px) {
  ul.feat li { font-size: 16px; }
}

/* ---------- 侧栏（对标竞品 .side .sticky 结构） ---------- */
.page-layout {
  display: flex;
  align-items: flex-start;
  margin-top: 20px;
}
.main-col {
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 32px;
  margin-right: 24px;
  border-right: 1px solid var(--line-2);
}
.main-col .art-card,
.main-col .rec-card { margin-top: 0; }
.main-col .rec-card { margin-top: 20px; }

.side-col {
  flex: 0 0 320px;
  width: 320px;
}
.side-sticky { position: sticky; top: 16px; }

.side-card {
  background: #f9fafb;
  border-radius: 12px;
  padding: 4px 16px 18px;
  margin-bottom: 12px;
}
.side-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 22px 0 18px;
}
.side-head .title {
  font-size: 19px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -.2px;
}
.side-head a { font-size: 12px; color: var(--gray-3); }

.side-list { display: flex; flex-direction: column; gap: 15px; }
.side-item { display: flex; gap: 10px; align-items: flex-start; }
.side-num {
  flex: 0 0 18px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
  color: #cbd5e1;
  text-align: center;
}
.side-item:nth-child(-n+3) .side-num { color: #93c5fd; }
.side-body { flex: 1 1 auto; min-width: 0; }
.side-t {
  display: block;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.side-d {
  display: block;
  font-size: 12px;
  color: var(--gray-3);
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.side-item:hover .side-t { color: var(--blue); }

@media (max-width: 1000px) {
  .page-layout { flex-direction: column; align-items: stretch; }
  .main-col { width: 100%; padding-right: 0; margin-right: 0; border-right: 0; }
  .side-col { flex: 1 1 auto; width: 100%; margin-top: 20px; }
  .side-sticky { position: static; }
  .side-list { gap: 12px; }
}

/* HP / RME 图标框 */
.thumb.hp { background: #fff; border-color: rgba(15,23,42,.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 6px 16px -8px rgba(15,23,42,.28); }
.thumb.rme { background: #fff; border-color: rgba(15,23,42,.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 6px 16px -8px rgba(15,23,42,.28); }
.thumb.rme img { width: 78px; height: auto; }
@media (max-width: 900px) {
  .thumb.rme img { width: 52px; }
}

/* ---------- 型号驱动就绪台 ---------- */
.ready-hero {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 32px 24px;
  box-shadow: var(--shadow);
}
.ready-head h1 {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -.2px;
  margin: 0 0 8px;
}
.ready-sub { margin: 0; font-size: 15px; color: var(--gray); }

.picker { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.pick-row { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.pick-row:last-child { margin-bottom: 0; }
.pick-label {
  flex: 0 0 104px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  padding-top: 9px;
}
.pick-opts { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 auto; }
.pick {
  font: inherit;
  font-size: 14px;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background .12s, border-color .12s, color .12s;
}
.pick:hover { border-color: #bfdbfe; background: #f8fbff; }
.pick.on {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 6px 14px -6px rgba(37,99,235,.8);
}
.pick.off { color: var(--gray-3); background: #fafafa; }
.pick.off::after { content: " · 无此系统包"; font-size: 12px; }

.ready-task {
  margin-top: 20px;
  border-top: 1px dashed var(--line);
  padding-top: 20px;
}
.rt-head {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
}
.rt-list { margin: 0; padding: 0; }
.rt-list > div {
  display: flex;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-2);
}
.rt-list > div:last-child { border-bottom: 0; }
.rt-list dt {
  flex: 0 0 84px;
  font-size: 13px;
  color: var(--gray-3);
  padding-top: 2px;
}
.rt-list dd { margin: 0; font-size: 15px; line-height: 1.7; color: #374151; }
.rt-list dd b { color: var(--ink); }
.rt-list dd.warn { color: #b45309; }

.rt-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 20px; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  background: #fff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  padding: 12px 22px;
  transition: background .12s;
}
.btn-ghost:hover { background: var(--blue-soft); }

@media (max-width: 900px) {
  .ready-hero { padding: 20px; }
  .ready-head h1 { font-size: 18px; line-height: 1.5; }
  .pick-row { flex-direction: column; gap: 8px; }
  .pick-label { flex-basis: auto; padding-top: 0; }
  .pick { font-size: 13px; padding: 7px 13px; }
  .rt-list > div { flex-direction: column; gap: 3px; }
  .rt-list dt { flex-basis: auto; }
  .rt-actions .btn-dl, .rt-actions .btn-ghost { width: 100%; justify-content: center; }
}

/* ---------- 品牌就绪台头部（图标 + 标题同行） ---------- */
.ready-title-row { display: flex; gap: 16px; align-items: flex-start; }
.ready-title-row .thumb {
  flex: 0 0 72px; width: 72px; height: 72px; border-radius: 17px;
  background: #fff; border: 1px solid rgba(15,23,42,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 6px 16px -8px rgba(15,23,42,.28);
}
.ready-title-row .thumb img { width: 44px; height: 44px; object-fit: contain; }
.thumb.terratec img, .thumb.tempotec img, .thumb.yamaha img { width: 58px; height: auto; }
.thumb.nvidia img { width: 48px; height: auto; }
.thumb.esi img { width: 46px; height: auto; }
.ready-title-row h1 { margin: 0 0 6px; }

@media (max-width: 900px) {
  .ready-title-row { gap: 12px; }
  .ready-title-row .thumb { flex-basis: 56px; width: 56px; height: 56px; border-radius: 14px; }
  .ready-title-row .thumb img { width: 34px; height: 34px; }
  .thumb.terratec img, .thumb.tempotec img, .thumb.yamaha img { width: 44px; }
}

/* ---------- 首屏参数带（标题下方，竞品顺序） ---------- */
.ready-hero > .spec-grid {
  margin: 18px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line-2);
}
.ready-hero > .spec-grid + .src-note { margin-top: 14px; }
.ready-hero > .picker { border-top: 0; margin-top: 18px; padding-top: 0; }

/* ---------- 首屏 CTA（标题右侧） ---------- */
.ready-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.ready-head .ready-title-row { flex: 1 1 auto; min-width: 0; }
.ready-cta { flex: 0 0 auto; text-align: center; padding-top: 4px; max-width: 42%; }
.ready-cta .dl-hint { margin: 8px 0 0; }
.rt-actions { margin-top: 16px; }

@media (max-width: 900px) {
  .ready-head { flex-direction: column; gap: 14px; }
  .ready-cta { width: 100%; text-align: center; }
  .ready-cta .btn-dl { width: 100%; }
}
