/* ==========================================================================
   VIDCOM 站点设计系统
   配色取自原站 LOGO：黑字 VIDCOM + 红色镜头 O (#e02020)
   主体框架宽度 1380px；导航折叠断点 = 1386px
   ========================================================================== */
:root {
  --brand: #d81f26;
  --brand-dark: #a81219;
  --brand-soft: #fdecec;
  --ink: #12161c;
  --ink-2: #1b2129;
  --body: #464e5a;
  --muted: #7b8595;
  --line: #e4e8ef;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-deep: #12161c;
  --wrap: 1380px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 10px rgba(18, 22, 28, .06);
  --shadow: 0 10px 30px rgba(18, 22, 28, .09);
  --shadow-lg: 0 22px 60px rgba(18, 22, 28, .14);
  --fs-body: 17px;
  --t: .25s cubic-bezier(.4, 0, .2, 1);
}

* { scroll-margin-top: 96px; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Source Han Sans SC", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--body);
  background: var(--bg);
  overflow-x: hidden;
  font-variant-numeric: tabular-nums;
}

img { max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; transition: color var(--t); }
a:hover { color: var(--brand); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.h1,.h2,.h3,.h4,h1,h2,h3,h4,h5 { color: var(--ink); font-weight: 700; line-height: 1.3; }
.h1 { font-size: clamp(30px, 3.4vw, 44px); }
.h2, h2 { font-size: clamp(24px, 2.5vw, 34px); }
.h3, h3 { font-size: clamp(19px, 1.8vw, 24px); }
.h4, h4 { font-size: 19px; }
p { margin-bottom: 1rem; }

/* ---------- 通用区块 ---------- */
.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.section-soft { background: var(--bg-soft); }
.section-deep {
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 255, 255, .14), transparent 45%),
    linear-gradient(112deg, var(--brand-dark) 0%, var(--brand) 62%, #e5373d 100%);
  color: rgba(255, 255, 255, .88);
}
.section-deep .h2, .section-deep .h3, .section-deep h2, .section-deep h3 { color: #fff; }
.section-deep .sec-sub { color: rgba(255, 255, 255, .88); }

.sec-head { margin-bottom: 42px; }
.sec-head-center { text-align: center; }
.sec-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 12px;
}
.sec-kicker::before { content: ""; width: 26px; height: 2px; background: var(--brand); }
.sec-head-center .sec-kicker::after { content: ""; width: 26px; height: 2px; background: var(--brand); }
.sec-title { margin: 0 0 12px; }
.sec-sub { max-width: 760px; color: var(--muted); font-size: 17px; margin: 0; }
.sec-head-center .sec-sub { margin-inline: auto; }
.sec-more { font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.sec-more:hover { color: var(--brand); gap: 10px; }
.sec-head-center .sec-more { margin-top: 4px; }

/* ---------- 按钮 ---------- */
.btn {
  --bs-btn-padding-y: .68rem; --bs-btn-padding-x: 1.5rem;
  font-size: 16px; font-weight: 600; border-radius: 8px; letter-spacing: .01em;
  transition: all var(--t); display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-brand { background: var(--brand); border: 1px solid var(--brand); color: #fff; }
.btn-brand:hover, .btn-brand:focus { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(216, 31, 38, .28); }
.btn-white { background: #fff; border: 1px solid #fff; color: var(--brand); }
.btn-white:hover, .btn-white:focus { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(18, 22, 28, .22); }
.btn-outline-brand { border: 1px solid var(--line); color: var(--ink); background: #fff; }
.btn-outline-brand:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.btn-ghost-light { border: 1px solid rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-sm { --bs-btn-padding-y: .42rem; --bs-btn-padding-x: .95rem; font-size: 14px; }
.btn-lg { --bs-btn-padding-y: .85rem; --bs-btn-padding-x: 1.9rem; font-size: 17px; }
.btn-link-brand { color: var(--brand); font-weight: 600; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1030; background: #fff;
  transition: background var(--t), box-shadow var(--t), border-color var(--t);
  border-bottom: 1px solid var(--line);
}
.site-header .bar { display: flex; align-items: center; gap: 14px; min-height: 82px; }
.brand-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-logo img { height: 38px; width: auto; display: block; }
.brand-logo .logo-light { display: none; }
.nav-menu { display: flex; align-items: center; justify-content: space-between; gap: 0; list-style: none; margin: 0; padding: 0; flex: 1 1 auto; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: block; padding: 10px 8px; font-size: 15px; font-weight: 600; color: var(--ink);
  position: relative; white-space: nowrap;
}
.nav-menu > li > a::after {
  content: ""; position: absolute; left: 8px; right: 8px; bottom: 4px; height: 2px;
  background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform var(--t);
}
.nav-menu > li > a:hover::after, .nav-menu > li.active > a::after { transform: scaleX(1); }
.nav-menu > li.active > a { color: var(--brand); }
.nav-menu .caret { font-size: 11px; margin-left: 4px; opacity: .65; }
.submenu {
  position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all var(--t); z-index: 40;
}
.nav-menu li:hover > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; font-size: 15px; border-radius: 6px; color: var(--ink-2); }
.submenu a:hover { background: var(--bg-soft); color: var(--brand); }
.submenu i { color: var(--brand); font-size: 15px; }
.nav-tools { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); font-size: 16px; }
.nav-phone i { color: var(--brand); font-size: 19px; }
.nav-phone:hover { color: var(--brand); }
.lang-switch { position: relative; }
.lang-switch > button {
  background: transparent; border: 1px solid var(--line); border-radius: 7px; color: var(--ink);
  font-size: 14px; font-weight: 600; padding: 6px 11px; display: inline-flex; align-items: center; gap: 6px;
}
.lang-switch > button:hover { border-color: var(--brand); color: var(--brand); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 160px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 6px;
  list-style: none; margin: 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all var(--t);
}
.lang-switch:hover .lang-menu, .lang-switch:focus-within .lang-menu { opacity: 1; visibility: visible; transform: 0; }
.lang-menu a { display: flex; justify-content: space-between; padding: 8px 11px; font-size: 15px; border-radius: 6px; }
.lang-menu a:hover { background: var(--bg-soft); }
.lang-menu .on { color: var(--brand); font-weight: 700; }
.navbar-toggler { border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; display: none; }
.navbar-toggler:focus { box-shadow: none; }

/* 悬浮在首屏上的导航（仅首页） */
.header-overlay { position: absolute; left: 0; right: 0; background: transparent; border-bottom-color: transparent; }
.header-overlay .nav-menu > li > a, .header-overlay .brand-logo, .header-overlay .nav-phone,
.header-overlay .lang-switch > button { color: #fff; }
.header-overlay .nav-phone i { color: #fff; }
.header-overlay .lang-switch > button { border-color: rgba(255, 255, 255, .45); }
.header-overlay .brand-logo .logo-dark { display: none; }
.header-overlay .brand-logo .logo-light { display: block; }
.header-overlay .navbar-toggler { border-color: rgba(255, 255, 255, .45); color: #fff; }
.header-overlay .navbar-toggler-icon { filter: invert(1); }
.header-overlay.solid { position: sticky; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.header-overlay.solid .nav-menu > li > a, .header-overlay.solid .nav-phone,
.header-overlay.solid .lang-switch > button { color: var(--ink); }
.header-overlay.solid .nav-phone i { color: var(--brand); }
.header-overlay.solid .lang-switch > button { border-color: var(--line); }
.header-overlay.solid .brand-logo .logo-dark { display: block; }
.header-overlay.solid .brand-logo .logo-light { display: none; }
.header-overlay.solid .navbar-toggler { border-color: var(--line); color: var(--ink); }
.header-overlay.solid .navbar-toggler-icon { filter: none; }

@media (max-width: 1385.98px) {
  .navbar-toggler { display: inline-flex; }
  .nav-menu {
    display: none; flex-direction: column; align-items: stretch; gap: 0; width: 100%;
    order: 3; padding: 8px 0 18px; max-height: 66vh; overflow-y: auto;
  }
  .nav-menu.show { display: flex; }
  .nav-menu > li > a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav-menu > li > a::after { display: none; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; border-left: 2px solid var(--brand-soft); margin: 0 0 6px 10px; padding: 0 0 0 12px; min-width: 0; display: none; }
  .nav-menu li.open > .submenu { display: block; }
  .site-header .bar { min-height: 70px; flex-wrap: wrap; gap: 14px; }
  .nav-menu > li > a, .header-overlay .nav-menu > li > a { color: var(--ink) !important; }
  .header-overlay .nav-menu { background: transparent; }
  .header-overlay.solid-menu { background: #fff; }
  .header-overlay.solid-menu .nav-menu > li > a { color: var(--ink); }
}

/* ---------- 首屏 ---------- */
.hero {
  position: relative; min-height: 900px; display: flex; align-items: center;
  background: var(--bg-deep) center/cover no-repeat; margin-top: 0;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(96deg, rgba(10, 13, 17, .93) 0%, rgba(10, 13, 17, .78) 34%, rgba(10, 13, 17, .18) 62%, rgba(10, 13, 17, .05) 100%);
}
.hero > .wrap { position: relative; z-index: 2; padding-block: 150px 110px; }
.hero-kicker { color: #ff8087; font-size: 14px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 18px; display: inline-flex; align-items: center; gap: 10px; }
.hero-kicker::before { content: ""; width: 34px; height: 2px; background: var(--brand); }
.hero-title { color: #fff; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.16; margin-bottom: 22px; max-width: 15em; font-weight: 800; letter-spacing: -.01em; text-wrap: balance; }
.hero-title em { font-style: normal; color: #ff6a72; }
.hero-sub { color: rgba(255, 255, 255, .82); font-size: clamp(17px, 1.35vw, 20px); max-width: 640px; margin-bottom: 34px; text-wrap: balance; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 12px 30px; margin-top: 42px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .16); }
.hero-points span { color: rgba(255, 255, 255, .78); font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.hero-points i { color: var(--brand); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.hero-slide.on { opacity: 1; }
.hero-dots { position: absolute; bottom: 42px; left: 50%; transform: translateX(-50%); display: flex; gap: 9px; z-index: 3; }
.hero-dots button { width: 34px; height: 4px; border: 0; border-radius: 2px; background: rgba(255, 255, 255, .35); padding: 0; }
.hero-dots button.on { background: var(--brand); }
@media (max-width: 991.98px) {
  .hero { min-height: 640px; }
  .hero > .wrap { padding-block: 120px 80px; }
}

/* 官方横幅带（原站 Banner 原比例展示，不叠加文案） */
.promo-band { background: var(--bg-soft); padding: 34px 0; }
.promo-band img { width: 100%; max-width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-sm); display: block; }

/* ---------- 数字条 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stats > div { background: #fff; padding: 30px 24px; text-align: center; }
.stats .num { font-size: clamp(30px, 3vw, 42px); font-weight: 800; color: var(--ink); line-height: 1.1; }
.stats .num small { font-size: .5em; color: var(--brand); font-weight: 700; }
.stats .lbl { font-size: 15px; color: var(--muted); margin-top: 6px; }
@media (max-width: 767.98px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 卡片 ---------- */
.card-tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t); height: 100%; display: flex; flex-direction: column;
}
.card-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-tile .thumb {
  display: block; background: #f2f4f7; aspect-ratio: 4 / 3; overflow: hidden; position: relative;
}
.card-tile .thumb img { width: 100%; height: 100%; object-fit: contain; padding: 22px; transition: transform .5s ease; }
.card-tile .thumb.cover img { object-fit: cover; padding: 0; }
.card-tile:hover .thumb img { transform: scale(1.06); }
.card-tile .badge-corner {
  position: absolute; top: 12px; left: 12px; background: var(--brand); color: #fff; font-size: 12px;
  font-weight: 700; padding: 3px 9px; border-radius: 5px; letter-spacing: .04em;
}
.card-tile .body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1 1 auto; }
.card-tile .k-title { font-size: 18px; line-height: 1.45; margin-bottom: 8px; font-weight: 700; }
.card-tile .k-title a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.card-tile .k-sub { color: var(--muted); font-size: 15px; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex: 1 1 auto; }
.card-tile .k-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 12px; margin-top: auto; }
.card-tile .k-meta .model { color: var(--brand); font-weight: 700; font-size: 13px; letter-spacing: .02em; }
.card-tile .k-link { font-weight: 600; color: var(--ink); font-size: 15px; display: inline-flex; align-items: center; gap: 5px; }
.card-tile .k-link:hover { color: var(--brand); gap: 9px; }

.card-cat { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; height: 100%; transition: all var(--t); display: flex; gap: 16px; align-items: flex-start; }
.card-cat:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-3px); }
.card-cat .ic { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 24px; }
.card-cat .t { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.card-cat .c { font-size: 14px; color: var(--muted); }

.card-feature { padding: 28px 26px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; height: 100%; }
.card-feature .ic { width: 54px; height: 54px; border-radius: 14px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 25px; margin-bottom: 18px; transition: all var(--t); }
.card-feature:hover .ic { background: var(--brand); transform: rotate(-6deg); }
.card-feature .t { font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.card-feature .c { font-size: 15.5px; color: var(--muted); margin: 0; }

.card-step { position: relative; padding: 26px 24px 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); height: 100%; }
.card-step .no { font-size: 40px; font-weight: 800; color: var(--brand-soft); line-height: 1; -webkit-text-stroke: 1px var(--brand); }
.card-step .t { font-size: 18px; font-weight: 700; color: var(--ink); margin: 10px 0 6px; }
.card-step .c { font-size: 15px; color: var(--muted); margin: 0; }

/* ---------- 内页页头 ---------- */
.page-head {
  position: relative; background: var(--bg-deep) center/cover no-repeat; padding: 74px 0 66px; color: #fff;
}
.page-head::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 15, 20, .92), rgba(12, 15, 20, .6)); }
.page-head > .wrap { position: relative; z-index: 2; }
.page-head h1 { color: #fff; font-size: clamp(26px, 3vw, 40px); margin: 0 0 10px; }
.page-head .sub { color: rgba(255, 255, 255, .78); margin: 0; max-width: 780px; }
.crumbs { font-size: 14.5px; color: rgba(255, 255, 255, .7); margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.crumbs a { color: rgba(255, 255, 255, .85); }
.crumbs a:hover { color: #fff; }
.crumbs .sep { opacity: .5; }
.crumbs .now { color: #ff8087; }
/* 白底内页页头（导航不压 Banner 时使用的浅色版） */
.page-head-light { background: var(--bg-soft); color: var(--body); padding: 46px 0 40px; }
.page-head-light::after { display: none; }
.page-head-light h1 { color: var(--ink); }
.page-head-light .sub { color: var(--muted); }
.page-head-light .crumbs { color: var(--muted); }
.page-head-light .crumbs a { color: var(--muted); }
.page-head-light .crumbs a:hover { color: var(--brand); }
.page-head-light .crumbs .now { color: var(--brand); }

/* ---------- 侧栏 ---------- */
.side-block { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; padding: 22px; margin-bottom: 24px; }
.side-block .t { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 14px; padding-bottom: 12px; border-bottom: 2px solid var(--brand); display: flex; align-items: center; gap: 8px; }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list > li { border-bottom: 1px solid var(--line); }
.side-list > li:last-child { border-bottom: 0; }
.side-list > li > a, .side-list .grp {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 4px;
  font-size: 15.5px; color: var(--ink-2); font-weight: 600;
}
.side-list > li > a:hover { color: var(--brand); }
.side-list > li.on > a { color: var(--brand); }
.side-list .cnt { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.side-list .sub { list-style: none; margin: 0; padding: 0 0 8px 12px; display: none; border-left: 2px solid var(--brand-soft); margin-left: 6px; }
.side-list li.open > .sub { display: block; }
.side-list .sub a { display: block; padding: 7px 4px; font-size: 14.5px; color: var(--muted); }
.side-list .sub a:hover, .side-list .sub li.on a { color: var(--brand); }
.side-cta { background: var(--ink); border-radius: var(--radius-lg); padding: 26px 24px; color: #b9c1cd; }
.side-cta .t { color: #fff; font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.side-cta .ph { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 20px; font-weight: 800; margin: 14px 0 6px; }
.side-cta .ph i { color: var(--brand); }
.side-cta a.btn { width: 100%; margin-top: 10px; }
.side-mini { list-style: none; padding: 0; margin: 0; }
.side-mini li { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.side-mini li:last-child { border-bottom: 0; }
.side-mini img { width: 64px; height: 52px; object-fit: contain; background: #f2f4f7; border-radius: 6px; flex: 0 0 64px; }
.side-mini .t { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.side-mini .d { font-size: 12.5px; color: var(--muted); }

/* ---------- 详情正文 ---------- */
.doc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3.4vw, 46px); box-shadow: var(--shadow-sm);
}
.doc-body { max-width: 940px; }
.doc-body > *:first-child { margin-top: 0; }
.doc-body p { margin-bottom: 1.15em; }
.doc-body h2 { font-size: 23px; margin: 2em 0 .8em; padding-left: 14px; border-left: 4px solid var(--brand); line-height: 1.35; }
.doc-body h3 { font-size: 19px; margin: 1.8em 0 .6em; color: var(--ink); }
.doc-body h4 { font-size: 17px; margin: 1.5em 0 .5em; }
.doc-body ul, .doc-body ol { padding-left: 1.4em; margin-bottom: 1.2em; }
.doc-body li { margin-bottom: .5em; }
.doc-body img { border-radius: var(--radius); margin: 1.2em 0; box-shadow: var(--shadow-sm); }
.doc-body table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15.5px; }
.doc-body th, .doc-body td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
.doc-body th { background: var(--bg-soft); color: var(--ink); font-weight: 700; }
.doc-body blockquote { border-left: 4px solid var(--brand); background: var(--brand-soft); padding: 16px 20px; margin: 1.4em 0; border-radius: 0 8px 8px 0; color: var(--ink-2); }
.doc-body a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 14.5px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.doc-meta i { color: var(--brand); margin-right: 5px; }

.doc-label { font-size: 16px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }

/* 规格表 */
.spec-table { width: 100%; border-collapse: collapse; font-size: 15.5px; border: 1px solid var(--line); }
.spec-table th, .spec-table td { border-bottom: 1px solid var(--line); padding: 11px 16px; text-align: left; vertical-align: top; }
.spec-table th { width: 32%; background: var(--bg-soft); color: var(--ink); font-weight: 600; }
.spec-table tr:hover td { background: #fbfcfe; }
.spec-table .grp td { background: var(--ink); color: #fff; font-weight: 700; letter-spacing: .02em; }

.feat-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.feat-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; color: var(--ink-2); }
.feat-list i { color: var(--brand); margin-top: 4px; flex: 0 0 auto; }

/* 产品详情头 */
.pd-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 44px; align-items: start; }
@media (max-width: 991.98px) { .pd-top { grid-template-columns: 1fr; gap: 28px; } }
.pd-gallery .main { background: #f2f4f7; border-radius: var(--radius-lg); border: 1px solid var(--line); aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; }
.pd-gallery .main img { width: 100%; height: 100%; object-fit: contain; padding: 26px; }
.pd-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.pd-thumbs button { width: 74px; height: 74px; border: 1px solid var(--line); background: #f2f4f7; border-radius: 8px; padding: 6px; overflow: hidden; }
.pd-thumbs button.on { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(216, 31, 38, .18); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd-info h1 { font-size: clamp(23px, 2.3vw, 31px); line-height: 1.35; margin-bottom: 14px; }
.pd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.pd-tags span { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: 13.5px; color: var(--ink-2); }
.pd-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.pd-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin: 22px 0 0; padding: 20px 0 0; border-top: 1px dashed var(--line); }
.pd-facts .f { font-size: 14.5px; }
.pd-facts .f b { display: block; color: var(--ink); font-size: 15.5px; font-weight: 600; }
.pd-facts .f span { color: var(--muted); }

/* 标签页 */
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 26px; flex-wrap: wrap; }
.tabs button { border: 0; background: transparent; padding: 12px 20px; font-size: 16px; font-weight: 700; color: var(--muted); border-bottom: 2px solid transparent; }
.tabs button.on { color: var(--brand); border-bottom-color: var(--brand); }
.tab-pane { display: none; }
.tab-pane.on { display: block; }

/* ---------- 列表工具条 ---------- */
.list-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 26px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.list-bar .cnt { color: var(--muted); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; font-size: 14.5px; color: var(--ink-2); background: #fff; }
.chips a:hover { border-color: var(--brand); color: var(--brand); }
.chips a.on { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- 分页 ---------- */
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 42px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 8px; font-size: 15px; color: var(--ink-2); background: #fff; padding: 0 10px; }
.pager a:hover { border-color: var(--brand); color: var(--brand); }
.pager .on { background: var(--brand); border-color: var(--brand); color: #fff; }
.pager .gap { border: 0; background: transparent; color: var(--muted); }

/* ---------- 表单 ---------- */
.form-label { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form-label .req { color: var(--brand); }
.form-control, .form-select {
  border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; font-size: 16px; color: var(--ink);
  background: #fff; transition: border-color var(--t), box-shadow var(--t);
}
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(216, 31, 38, .12); outline: 0; }
.form-control::placeholder { color: #a9b2be; }
.hp-field { position: absolute !important; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }
.cap-img { width: 150px; height: 46px; border: 1px solid var(--line); border-radius: 8px; background: #f4f5f7; cursor: pointer; }
.alert-ok { background: #eaf7ef; border: 1px solid #b9e3c6; color: #17663a; border-radius: var(--radius); padding: 14px 18px; }
.alert-err { background: var(--brand-soft); border: 1px solid #f5c2c5; color: var(--brand-dark); border-radius: var(--radius); padding: 14px 18px; }

/* 联系信息卡 */
.info-card { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; height: 100%; }
.info-card .ic { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 21px; }
.info-card .t { font-size: 14.5px; color: var(--muted); margin-bottom: 3px; }
.info-card .v { font-size: 16.5px; color: var(--ink); font-weight: 600; word-break: break-word; }
.info-card a.v:hover { color: var(--brand); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--bg-deep); color: #97a1b0; padding: 66px 0 0; font-size: 15.5px; }
.site-footer h4 { color: #fff; font-size: 17px; margin-bottom: 20px; font-weight: 700; }
.site-footer a { color: #97a1b0; }
.site-footer a:hover { color: var(--brand); }
.footer-logo { display: flex; align-items: center; gap: 12px; color: #fff; font-size: 21px; font-weight: 800; margin-bottom: 18px; }
.footer-logo img { height: 34px; width: auto; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact i { color: var(--brand); margin-top: 3px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 40px; height: 40px; border-radius: 9px; border: 1px solid rgba(255, 255, 255, .14); display: grid; place-items: center; font-size: 18px; color: #c7cfda; }
.footer-social a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.footer-bar { margin-top: 52px; border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; font-size: 14px; color: #77828f; }
.footer-bar .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; }

/* ---------- 悬浮工具 ---------- */
.float-tools { position: fixed; right: 18px; bottom: 26px; z-index: 1040; display: grid; gap: 10px; }
.float-tools a, .float-tools button {
  width: 50px; height: 50px; border-radius: 12px; background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 21px; color: var(--ink); box-shadow: var(--shadow);
}
.float-tools a:hover, .float-tools button:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.float-tools .top { opacity: 0; pointer-events: none; transition: opacity var(--t); }
.float-tools .top.on { opacity: 1; pointer-events: auto; }
@media (max-width: 575.98px) { .float-tools { right: 10px; bottom: 70px; } }

/* 移动端底部快捷条 */
.mobile-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1035; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 18px rgba(0, 0, 0, .07); }
.mobile-bar a { flex: 1; display: grid; place-items: center; gap: 2px; padding: 8px 4px; font-size: 12px; color: var(--ink-2); }
.mobile-bar a i { font-size: 19px; color: var(--brand); }
@media (max-width: 767.98px) { .mobile-bar { display: flex; } body { padding-bottom: 62px; } }

/* ---------- 其它 ---------- */
.divider { height: 1px; background: var(--line); margin: 30px 0; }
.tag-line { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-line a { font-size: 13.5px; border: 1px solid var(--line); border-radius: 999px; padding: 3px 11px; color: var(--muted); }
.tag-line a:hover { border-color: var(--brand); color: var(--brand); }
.kbd { font-family: ui-monospace, monospace; font-size: 13px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; }
.no-img { display: grid; place-items: center; background: #f2f4f7; color: #c3cbd6; font-size: 34px; width: 100%; height: 100%; }
.text-brand { color: var(--brand) !important; }
.bg-brand-soft { background: var(--brand-soft); }
.muted { color: var(--muted); }
.fs-15 { font-size: 15px; } .fs-14 { font-size: 14px; } .fs-13 { font-size: 13px; }
.link-plain { color: var(--body); }
.link-plain:hover { color: var(--brand); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1199.98px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
