/* ==========================================================================
   深圳独具智能科技有限公司 · 官网样式
   FDE Agentor 智能体基座 / 行业智能体
   色板与 Lawyer Agentor 站点保持一致（同一集团视觉体系）
   ========================================================================== */

:root {
  --bg-1: #F0F0F5;
  --bg-2: #E8E8EF;
  --ink: #1C2539;                          /* 主文字 / 主色：深蓝墨 */
  --ink-soft: #2A3450;
  --gold: #C2A990;                         /* 品牌金 */
  --gold-deep: #8A7159;                    /* 品牌金深色，用于小号金字 */
  --body: #4A4A55;                         /* 正文灰 */
  --muted: #7A7A85;                        /* 次要说明灰 */
  --card: #FFFFFF;
  --line: rgba(28, 37, 57, .08);
  --shadow: 0 1px 3px rgba(28, 37, 57, .06);
  --shadow-lg: 0 16px 40px rgba(28, 37, 57, .08);
  --radius: 16px;
  --font: Inter, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --maxw: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 100%);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

svg { display: block; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

section[id] { scroll-margin-top: 84px; }

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

/* FSE 主题会给 .wp-site-blocks 的首个子元素加 1.2rem 上边距，会在顶栏上方留出约 20px 空隙。
   WordPress 还会把正文包进 .wp-block-post-content（flow 布局会加块间距），本站页面自带顶栏/页脚，
   这里把包装层的内外边距清零，避免多出空隙。 */
.wp-site-blocks > main { margin-block-start: 0; }
.entry-content.wp-block-post-content,
.wp-block-post-content.is-layout-flow > *,
.wp-block-post-content.is-layout-flow > * + * {
  margin-block-start: 0;
  margin-block-end: 0;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  padding: 13px 24px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease,
              color .18s ease, transform .18s ease;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover { background: var(--ink-soft); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(28, 37, 57, .28);
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(28, 37, 57, .04);
}

.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }

/* ---------- 顶栏 ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 248, 251, .86);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 26px;
  height: 26px;
  color: var(--gold);
  flex: none;
}

/* 品牌标：用 FDE Agentor 软件原版 logo */
.brand-logo {
  width: auto;
  height: 30px;
  flex: none;
}

.brand-name {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .02em;
}

.header-nav {
  display: none;
  align-items: center;
  gap: 26px;
  margin-left: auto;                 /* 导航整体贴右，而不是居中 */
}

.header-nav > a {
  text-decoration: none;
  color: var(--body);
  font-size: 15px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.header-nav > a:not(.btn):hover { color: var(--ink); }

.header-nav > a:not(.btn).active {
  color: var(--ink);
  font-weight: 600;
  border-bottom-color: var(--gold);
}

.header-nav > a.btn.active { background: var(--ink-soft); }

/* 下拉菜单（行业应用 → Lawyer Agentor），纯 CSS，无外部依赖 */
.nav-item { position: relative; display: flex; align-items: center; }

.nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--body);
  font-size: 15px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav-item > a:hover { color: var(--ink); }

.nav-item.active > a {
  color: var(--ink);
  font-weight: 600;
  border-bottom-color: var(--gold);
}

.nav-caret {
  width: 10px;
  height: 10px;
  flex: none;
  transition: transform .18s ease;
}

.nav-item:hover .nav-caret,
.nav-item:focus-within .nav-caret { transform: rotate(180deg); }

/* 悬停桥接：下拉与导航项之间有 8px 视觉间隙，鼠标穿过时 .nav-item:hover 会断掉、
   下拉随即消失，导致点不到里面的链接。用一个透明伪元素把这段间隙盖住，
   只在悬停/聚焦时显示，避免常驻挡住下方内容的点击。 */
.nav-item::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -12px;
  right: -12px;
  height: 12px;
  display: none;
}

.nav-item:hover::after,
.nav-item:focus-within::after { display: block; }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 216px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  display: none;
  z-index: 60;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown { display: block; }

.nav-dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--body);
  font-size: 14.5px;
  line-height: 1.5;
  white-space: nowrap;
}

.nav-dropdown a:hover { background: rgba(194, 169, 144, .14); color: var(--ink); }

.nav-dropdown .dd-note {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12.5px;
}

.header-cta { display: inline-flex; margin-left: 4px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
  min-height: min(84vh, 680px);
  background-color: var(--bg-1);
  background-image: url("../assets/brand-hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 62% at 50% 50%,
              rgba(255, 255, 255, .92) 0%,
              rgba(255, 255, 255, .45) 58%,
              rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 72px 0 84px;
}

.hero-logo {
  display: block;
  width: auto;
  height: 104px;
  margin: 0 auto 24px;
}

.hero-eyebrow {
  margin: 0;
  color: var(--gold-deep);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero-title {
  margin: 18px 0 0;
  font-size: clamp(40px, 6.4vw, 72px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.04;
  color: var(--ink);
}

.hero-subtitle {
  margin: 14px 0 0;
  font-size: clamp(19px, 2.5vw, 26px);
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--ink);
}

.hero-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: .12em;
}

.hero-slogan {
  max-width: 720px;
  margin: 26px auto 0;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 500;
  line-height: 1.65;
  color: var(--body);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 34px;
}

/* ---------- 定位条 ---------- */
.positioning {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
}

.positioning-text {
  margin: 0;
  text-align: center;
  font-size: clamp(16px, 1.9vw, 20px);
  font-weight: 600;
  line-height: 1.65;
  color: var(--ink);
}

.positioning-text strong { color: var(--gold-deep); }

/* ---------- 通用版块 ---------- */
.section { padding: 84px 0; }

.section-tint {
  background: #fff;
  border-block: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-deep);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.section-title {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(25px, 3.2vw, 36px);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.22;
}

.section-lede {
  max-width: 720px;
  margin: 0 0 40px;
  color: var(--body);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.75;
}

.section-note {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.section-note a { color: var(--gold-deep); }

/* ---------- 网格与卡片 ---------- */
.grid { display: grid; gap: 20px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
}

.card p {
  margin: 0;
  color: var(--body);
  font-size: 15px;
  line-height: 1.7;
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: rgba(194, 169, 144, .14);
  color: var(--gold-deep);
}

.card-icon svg { width: 24px; height: 24px; }

/* ---------- 对比（现状 / 基座） ---------- */
.compare {
  display: grid;
  gap: 20px;
}

.compare-col {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.compare-col.is-base {
  border-color: rgba(194, 169, 144, .5);
  box-shadow: var(--shadow-lg);
}

.compare-label {
  display: inline-block;
  margin: 0 0 16px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--muted);
  background: rgba(28, 37, 57, .05);
}

.compare-col.is-base .compare-label {
  color: #6F5940;
  background: rgba(194, 169, 144, .2);
}

.compare-col h3 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 19px;
}

.compare-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.compare-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.7;
}

.compare-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(28, 37, 57, .22);
}

.compare-col.is-base .compare-list li::before { background: var(--gold); }

/* ---------- 编号能力条目 ---------- */
.cap-list {
  display: grid;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.cap-item {
  padding: 30px 28px;
  border-top: 1px solid var(--line);
}

.cap-item:first-child { border-top: 0; }

.cap-num {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
}

.cap-item h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.35;
}

.cap-item p {
  margin: 0 0 14px;
  color: var(--body);
  font-size: 15px;
  line-height: 1.75;
}

.cap-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.cap-points li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.cap-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 8px;
  height: 2px;
  background: var(--gold);
}

/* ---------- 步骤 ---------- */
.steps { display: grid; gap: 20px; }

.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: rgba(28, 37, 57, .06);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.step h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 17px;
}

.step p {
  margin: 0;
  color: var(--body);
  font-size: 14.5px;
  line-height: 1.7;
}

/* ---------- 产品 / 服务卡片 ---------- */
.prod-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
}

.prod-card.is-live {
  border-color: rgba(194, 169, 144, .55);
  box-shadow: var(--shadow-lg);
}

.prod-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.prod-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
}

.badge {
  flex: none;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--muted);
  background: rgba(28, 37, 57, .06);
}

.badge--live {
  color: #6F5940;
  background: rgba(194, 169, 144, .22);
}

.prod-desc {
  margin: 0 0 18px;
  color: var(--body);
  font-size: 15px;
  line-height: 1.75;
}

.prod-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.prod-tags li {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(240, 240, 245, .7);
  color: var(--ink);
  font-size: 13px;
}

.prod-actions { margin-top: auto; }

/* ---------- 信任 / 边界 ---------- */
.trust-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.trust-list li {
  position: relative;
  padding-left: 30px;
  color: var(--body);
  font-size: 15px;
  line-height: 1.75;
}

.trust-list li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 12px;
  width: 12px;
  height: 2px;
  background: var(--gold);
}

/* ---------- CTA ---------- */
.cta { padding: 88px 0; }

.cta-inner {
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 56px 32px;
}

.cta-inner h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.3;
}

.cta-inner p {
  margin: 0 auto;
  max-width: 640px;
  color: var(--body);
  font-size: 16px;
  line-height: 1.75;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
}

/* ---------- 页脚 ---------- */
.footer {
  padding: 44px 0 52px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  text-align: center;
}

.footer .brand { color: var(--ink); }

.footer .brand-logo { height: 32px; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
}

.footer-nav a {
  color: var(--body);
  text-decoration: none;
  font-size: 14px;
}

.footer-nav a:hover { color: var(--ink); }

.footer-copy,
.footer-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

/* ---------- 子页简化 Hero ---------- */
.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 300px;
  text-align: center;
  background-color: var(--bg-1);
  background-image: url("../assets/brand-hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--line);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
              rgba(255, 255, 255, .82) 0%,
              rgba(255, 255, 255, .66) 100%);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  padding: 72px 0;
}

.page-hero-mark {
  display: block;
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
}

.page-hero-title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.15;
}

.page-hero-sub {
  max-width: 680px;
  margin: 14px auto 0;
  color: var(--body);
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.65;
}

/* ---------- 联系表单 ---------- */
.contact-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
}

.form-row { margin-bottom: 20px; }

.field { display: flex; flex-direction: column; gap: 8px; }

.field label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #FBFBFD;
  border: 1px solid rgba(28, 37, 57, .16);
  border-radius: 10px;
  padding: 12px 14px;
}

.field textarea { min-height: 130px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
}

.form-submit { margin-top: 4px; }

.contact-meta {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
}

.contact-meta h3 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 17px;
}

.contact-meta h3 + .contact-meta-list + h3 { margin-top: 26px; }

.contact-meta-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.contact-meta-list li {
  position: relative;
  padding-left: 20px;
  color: var(--body);
  font-size: 15px;
  line-height: 1.7;
}

.contact-meta-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 2px;
  background: var(--gold);
}

.contact-meta-note {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

/* ==========================================================================
   响应式：平板 768px+ / 桌面 1200px+
   ========================================================================== */
@media (min-width: 768px) {
  .header-nav { display: flex; }
  .header-cta { display: inline-flex; }

  .grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }

  .compare { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }

  .contact-layout { display: grid; grid-template-columns: 1.35fr .85fr; gap: 24px; }
}

@media (min-width: 1200px) {
  .section { padding: 96px 0; }

  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

  .steps { grid-template-columns: repeat(4, 1fr); }

  .cap-item {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 0 24px;
    padding: 36px 32px;
  }

  .cap-num { grid-row: span 3; margin: 0; padding-top: 4px; }
  .cap-item h3 { grid-column: 2; }
  .cap-item p { grid-column: 2; }
  .cap-points { grid-column: 2; }
}

@media (max-width: 767.98px) {
  /* 移动端：顶栏折成两行，导航横向可滚动，右上角保留「联系我们」按钮，
     保证窄屏下仍能走到站内其他页面（不能只靠汉堡菜单缺失就藏掉导航）。 */
  .header-inner {
    flex-wrap: wrap;
    align-items: center;
    row-gap: 0;
    min-height: 0;
    padding-top: 10px;
  }
  .brand { order: 1; font-size: 15px; }
  .header-cta { order: 2; display: inline-flex; }
  .header-nav {
    order: 3;
    display: flex;
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    white-space: nowrap;
    margin-top: 10px;
    padding: 10px 0 12px;
    border-top: 1px solid var(--line);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .header-nav::-webkit-scrollbar { display: none; }
  .header-nav > a:not(.btn) { flex: none; font-size: 14px; }
  /* 导航行里不再重复放按钮：右上角 .header-cta 已提供「联系我们」 */
  .header-nav > a.btn { display: none; }

  /* 移动端：下拉改为原地展开（横向滚动容器里用绝对定位会被裁掉） */
  .nav-item { flex: none; flex-direction: column; align-items: flex-start; }
  .nav-item > a { font-size: 14px; }
  .nav-dropdown {
    position: static;
    min-width: 0;
    padding: 4px 0 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .nav-dropdown a { padding: 6px 0; font-size: 13.5px; }
  .hero-logo { height: 76px; }

  .hero { min-height: auto; }
  .hero-inner { padding: 56px 0 64px; }
  .section { padding: 64px 0; }
  .cta { padding: 64px 0; }
  .cta-inner { padding: 40px 22px; }
  .card,
  .cap-item,
  .compare-col,
  .step,
  .prod-card,
  .contact-form,
  .contact-meta { padding: 22px; }
  .hero-actions .btn,
  .cta-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* ---- 页脚备案号 ---- */
.footer-icp {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 13px;
}

.footer-icp a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(28, 37, 57, .16);
  transition: color .18s ease, border-color .18s ease;
}

.footer-icp a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* ---------- 知识库界面轮播 ---------- */
.kb-carousel {
  position: relative;
  margin-top: 30px;
}

/* 知识库下拉的锚点跳转要避开吸顶导航 */
.prod-card[id] { scroll-margin-top: 92px; }

.kb-viewport {
  position: relative;
  aspect-ratio: 1800 / 852;
  border-radius: 16px;
  overflow: hidden;
  background: #101823;
  box-shadow: 0 18px 48px rgba(28, 37, 57, .16);
}

.kb-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity .42s ease;
  pointer-events: none;
}

.kb-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.kb-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kb-slide figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  padding: 44px 24px 18px;
  color: #fff;
  background: linear-gradient(to top, rgba(11, 17, 26, .88), rgba(11, 17, 26, 0));
}

.kb-slide figcaption strong { font-size: 16px; }

.kb-slide figcaption span {
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
}

.kb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(28, 37, 57, .12);
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}

.kb-arrow:hover { background: #fff; }

.kb-arrow:active { transform: translateY(-50%) scale(.95); }

.kb-prev { left: 14px; }
.kb-next { right: 14px; }

.kb-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.kb-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(28, 37, 57, .22);
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}

.kb-dot.is-active {
  width: 26px;
  background: var(--gold);
}

.kb-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .kb-arrow { width: 34px; height: 34px; }
  .kb-prev { left: 8px; }
  .kb-next { right: 8px; }
  .kb-slide figcaption { padding: 30px 14px 12px; gap: 4px; }
  .kb-slide figcaption strong { font-size: 14px; }
  .kb-slide figcaption span { font-size: 12px; }
}
