/* ==========================================================================
   FCC认证服务官网 - 全站样式 v9 完整版
   ========================================================================== */

/* ====== 重置 ====== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0A0E1A;
  --bg-2: #11151F;
  --bg-3: #1A1F2E;
  --bg-4: #232938;

  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.18);

  --text: #E8EAF0;
  --text-2: #B0B3BC;
  --text-3: #7A7D86;

  --gold: #D4AF37;
  --gold-light: #E8C76A;
  --gold-dark: #9C7C28;
  --gold-soft: rgba(212,175,55,0.1);

  --blue: #3B82F6;
  --green: #10B981;

  --serif: 'Source Serif Pro', 'Noto Serif SC', 'Source Han Serif SC', Georgia, '宋体', serif;
  --sans: 'Inter', 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', 'Courier New', monospace;

  --container: 1320px;
  --container-narrow: 960px;
}

html {
  font-size: 17px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  font-feature-settings: "kern", "liga";
  letter-spacing: 0.005em;
  min-height: 100vh;
}

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

a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--gold); }

h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: -0.022em; line-height: 1.06; }
h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: 0.8rem; font-weight: 700; letter-spacing: -0.014em; }
h3 { font-size: clamp(1.18rem, 1.8vw, 1.4rem); margin-bottom: 0.5rem; font-weight: 700; }
h4 { font-size: 1.02rem; margin-bottom: 0.4rem; font-weight: 600; }

p { margin-bottom: 0.9rem; }

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

/* ====== 顶部状态条 ====== */
.topbar {
  background: var(--bg);
  color: var(--text-3);
  font-size: 0.84rem;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-left { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; row-gap: 6px; }
.topbar-left > span,
.topbar .container > span { white-space: nowrap; }

.live-indicator { display: inline-flex; align-items: center; gap: 8px; }

.live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  position: relative;
  box-shadow: 0 0 12px rgba(212,175,55,0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.topbar-divider { width: 1px; height: 12px; background: var(--line-strong); }

.topbar a { color: var(--text-3); margin-left: 18px; }
.topbar a:hover { color: var(--gold); }

/* ====== 导航 ====== */
.navbar {
  background: rgba(10,14,26,0.92);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line-strong);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.brand { display: flex; align-items: center; gap: 14px; color: var(--text); }

.brand-mark {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.9rem;   /* FC -> FCC 后收窄字号，保证 44px 容器内留白均衡 */
  letter-spacing: 0.01em;
  box-shadow: 0 4px 16px rgba(212,175,55,0.3);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }

.brand-text-main {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.brand-sub {
  font-size: 0.65rem;
  color: var(--text-3);
  letter-spacing: 0.18em;
  font-weight: 500;
  margin-top: 3px;
  text-transform: uppercase;
}

.nav-menu { display: flex; gap: 4px; list-style: none; }

.nav-menu > li > a {
  color: var(--text-2);
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 2px;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-menu > li > a:hover { background: rgba(255,255,255,0.04); color: var(--gold); }

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg);
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 2px;
  box-shadow: 0 4px 16px rgba(212,175,55,0.25);
}
.nav-cta:hover { box-shadow: 0 6px 24px rgba(212,175,55,0.4); }

/* ====== Hero ====== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}

.hero-bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 0; }
.hero-bg::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(10,14,26,0.92) 0%, rgba(10,14,26,0.7) 50%, rgba(10,14,26,0.95) 100%);
  z-index: 1;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }

.hero-content { position: relative; z-index: 2; width: 100%; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 28px;
  padding: 8px 18px;
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 2px;
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.hero-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  margin-bottom: 36px;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: #FFFFFF;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-lead {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.78);
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 10px; }

.trust-item {
  padding: 8px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

/* 右侧数据面板 */
.hero-side {
  background: rgba(17,21,31,0.7);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 36px 32px;
}

.hero-side-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.hero-side-title {
  font-family: var(--serif);
  font-size: 0.96rem;
  font-weight: 600;
  color: #FFFFFF;
}

.hero-side-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
}

.hero-data { display: flex; flex-direction: column; }

.hero-data-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hero-data-row:last-child { border-bottom: 0; }

.hero-data-label { font-size: 0.88rem; color: rgba(255,255,255,0.65); font-weight: 500; }

.hero-data-value {
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.018em;
}

.hero-data-value .unit {
  font-size: 0.84rem; color: rgba(255,255,255,0.55); margin-left: 4px; font-weight: 500;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: center;
}

/* ====== Section ====== */
.section { padding: 120px 0; position: relative; }

.section-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
}
.section-eyebrow::before {
  content: ''; display: inline-block; width: 24px; height: 1px; background: var(--gold);
}

.section-head { margin-bottom: 60px; max-width: 760px; }

.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.018em;
  color: #FFFFFF;
}

.section-head p {
  color: rgba(255,255,255,0.7);
  font-size: 1.04rem;
  line-height: 1.75;
}

.section-more {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 32px;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(212,175,55,0.4);
  padding-bottom: 4px;
}
.section-more::after { content: ' →'; transition: transform 0.2s; }
.section-more:hover { border-color: var(--gold); transform: translateX(4px); }

/* ====== 按钮 ====== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 17px 34px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s;
  text-align: center;
  font-family: var(--sans);
  border-radius: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg);
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(212,175,55,0.25);
}
.btn-primary:hover { box-shadow: 0 6px 24px rgba(212,175,55,0.4); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); background: rgba(212,175,55,0.05); }

/* ====== 数据条 ====== */
.data-strip {
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  padding: 60px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.data-strip-grid { display: grid; grid-template-columns: repeat(6, 1fr); }

.data-cell {
  padding: 0 24px;
  border-left: 1px solid var(--line);
  text-align: center;
}
.data-cell:first-child { border-left: 0; }

.data-cell-value {
  display: block;
  font-family: var(--mono);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.018em;
  margin-bottom: 8px;
}

.data-cell-label {
  display: block;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.06em;
}

/* ====== 服务 ====== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-grid-card {
  background: var(--bg-2);
  padding: 40px 32px;
  position: relative;
  transition: background 0.2s;
  display: block;
  color: var(--text);
}
.service-grid-card:hover { background: var(--bg-3); }

.service-grid-card-num {
  font-family: var(--mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
}

.service-grid-card h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #FFFFFF;
}

.service-grid-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 18px;
}

.service-grid-card-foot {
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

.service-grid-card-time {
  font-family: var(--mono);
  color: var(--gold);
  font-weight: 700;
}

.service-grid-card-tag {
  color: rgba(255,255,255,0.55);
}

/* ====== 实验室能力 ====== */
.lab-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
  padding: 60px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  position: relative;
}

.lab-feature::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 80px; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.lab-feature-image { width: 100%; height: auto; border: 1px solid var(--line); }

.lab-feature-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--gold-soft);
  border: 1px solid var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.lab-feature-content h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.012em;
  color: #FFFFFF;
}

.lab-feature-content p {
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  margin-bottom: 24px;
  font-size: 1rem;
}

.lab-feature-list { display: flex; flex-direction: column; gap: 8px; }

.lab-feature-item {
  padding: 12px 18px;
  background: rgba(255,255,255,0.04);
  border-left: 2px solid var(--gold);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

.lab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.lab-card {
  background: var(--bg-2);
  padding: 36px 28px;
  position: relative;
  transition: background 0.2s;
}
.lab-card:hover { background: var(--bg-3); }

.lab-card-num {
  position: absolute; top: 24px; right: 28px;
  font-family: var(--mono);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-soft);
}

.lab-card-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--gold);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.lab-card h4 {
  font-family: var(--serif);
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 700;
  color: #FFFFFF;
}

.lab-card p {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ====== 产品 ====== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: all 0.3s ease;
  display: block;
  position: relative;
}

.product-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.product-card:hover::before { transform: scaleX(1); }

.product-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(212,175,55,0.18);
}

.product-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-3);
}

.product-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
  filter: brightness(0.95);
}

.product-card:hover .product-card-image img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

.product-card-body { padding: 28px; }

.product-card-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.product-card h4 {
  font-family: var(--serif);
  font-size: 1.18rem;
  margin-bottom: 12px;
  font-weight: 700;
  color: #FFFFFF;
}

.product-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
  line-height: 1.6;
}

.product-card-meta {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.74rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
}

/* ====== 新闻 ====== */
.news-timeline { position: relative; padding-left: 0; }

.news-timeline::before {
  content: '';
  position: absolute; left: 80px; top: 0; bottom: 0;
  width: 1px;
  background: var(--line-strong);
}

.news-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: center;
  padding: 28px 0;
  position: relative;
}

.news-item::before {
  content: '';
  position: absolute; left: 78px; top: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-50%);
  box-shadow: 0 0 8px rgba(212,175,55,0.6);
}

.news-date {
  font-family: var(--mono);
  font-size: 0.84rem;
  color: var(--gold);
  letter-spacing: 0.04em;
  font-weight: 700;
  padding-left: 12px;
}

.news-body {
  display: flex; gap: 24px; align-items: center; padding-left: 24px;
}

.news-image {
  width: 180px; height: 120px;
  overflow: hidden; flex-shrink: 0;
  border: 1px solid var(--line);
}

.news-image img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.9);
}

.news-content { flex: 1; }

.news-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--gold-soft);
  border: 1px solid var(--gold);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.news-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #FFFFFF;
  line-height: 1.35;
}

.news-summary {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.6);
  margin: 0;
  line-height: 1.55;
}

.news-read-more {
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.04em;
}

/* ====== 专题导航 ====== */
.topics-nav {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 36px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.topic-tab {
  padding: 10px 18px;
  background: transparent;
  border: 1px solid var(--line-strong);
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: 2px;
}
.topic-tab:hover, .topic-tab.active {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

.topic-tab-count {
  font-family: var(--mono);
  font-size: 0.75rem;
  opacity: 0.7;
}

.topics-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }

.topic-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 20px;
  align-items: start;
  transition: padding 0.2s;
}
.topic-item:hover { padding-left: 18px; padding-right: 18px; background: var(--bg-2); }

.topic-num {
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--gold);
  font-weight: 700;
}

.topic-content h4 {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #FFFFFF;
}

.topic-content p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
  margin: 0;
  line-height: 1.6;
}

.topic-arrow {
  color: rgba(255,255,255,0.3);
  font-size: 1.2rem;
  align-self: center;
}

.topic-item:hover .topic-arrow { color: var(--gold); transform: translateX(4px); }

/* ====== 权威资源 ====== */
.authority-section {
  position: relative;
  background: var(--bg);
  padding: 120px 0;
  overflow: hidden;
}

.authority-image { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 0; }

.authority-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.25;
  filter: grayscale(0.6) brightness(0.7);
}

.authority-image::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(10,14,26,0.92) 0%, rgba(10,14,26,0.78) 50%, rgba(10,14,26,0.96) 100%);
  z-index: 1;
}

.authority-content { position: relative; z-index: 2; }

.authority-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.authority-section .section-eyebrow { color: var(--gold); }
.authority-section h2 { color: #FFFFFF; }
.authority-section p { color: rgba(255,255,255,0.78); line-height: 1.75; }

.authority-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
}

.authority-list a {
  color: rgba(255,255,255,0.85);
  font-size: 0.94rem;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px;
  transition: all 0.2s;
}
.authority-list a::before { content: '↗'; color: var(--gold); }
.authority-list a:hover { color: var(--gold); padding-left: 10px; }

/* ====== CTA ====== */
.cta-section {
  background: linear-gradient(135deg, var(--bg-2) 0%, var(--bg) 100%);
  color: #FFFFFF;
  padding: 130px 0;
  text-align: center;
  position: relative;
  border-top: 1px solid var(--line);
}

.cta-section::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.cta-decor {
  display: inline-block;
  padding: 6px 18px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 32px;
  text-transform: uppercase;
  background: var(--gold-soft);
}

.cta-section h2 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  margin-bottom: 24px;
  font-weight: 700;
  letter-spacing: -0.018em;
  color: #FFFFFF;
}
.cta-section h2 strong { color: var(--gold); font-weight: 700; }

.cta-section p {
  max-width: 660px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ====== Footer ====== */
.footer {
  background: var(--bg);
  color: rgba(255,255,255,0.55);
  padding: 80px 0 30px;
  font-size: 0.92rem;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 28px;
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: #FFFFFF;
  font-weight: 700;
  display: flex; align-items: center; gap: 14px;
}

.footer-brand-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 0.78rem;  /* FC -> FCC 后收窄字号，保证 36px 容器内不溢出 */
  letter-spacing: 0.01em;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(212,175,55,0.3);
}

.footer-tag { color: var(--text-3); font-size: 0.88rem; }
.footer-tag strong { color: var(--gold); font-weight: 600; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.footer h5 {
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 700;
}

.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a {
  color: var(--text-3);
  font-size: 0.96rem;
  transition: color 0.2s;
}
.footer ul a:hover { color: var(--gold); }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  border-top: 1px solid var(--line);
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--gold); }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
}
.footer-legal a { display: inline-flex; align-items: center; gap: 4px; }

/* ====== 文章页 - 全新设计 ====== */
.article-hero {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.article-hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.article-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 7px 16px;
  background: var(--gold-soft);
  border: 1px solid rgba(212,175,55,0.4);
  border-radius: 2px;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.article-hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 22px;
  line-height: 1.15;
  letter-spacing: -0.022em;
  color: #FFFFFF;
}

.article-meta {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  display: flex; gap: 24px; flex-wrap: wrap;
  font-family: var(--mono);
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.article-meta span::before {
  content: '';
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

/* ====== 面包屑 ====== */
.breadcrumb {
  background: var(--bg-2);
  padding: 14px 0;
  font-size: 0.84rem;
  border-bottom: 1px solid var(--line);
}

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.breadcrumb li::after { content: '/'; margin-left: 10px; color: var(--text-3); }
.breadcrumb li:last-child::after { display: none; }
.breadcrumb a { color: var(--gold); }
.breadcrumb .current { color: var(--text-2); }

/* ====== 文章正文区 ====== */
.article-section { padding: 70px 0; background: var(--bg); }

.article-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 60px;
  max-width: 1080px;
  margin: 0 auto;
}

.article-content {
  max-width: 820px;
  font-size: 1.06rem;
  line-height: 1.9;
  color: var(--text);
}

.article-content h2 {
  font-family: var(--serif);
  font-size: 1.55rem;
  margin: 52px 0 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #FFFFFF;
  letter-spacing: -0.012em;
  position: relative;
}

.article-content h2:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.article-content h3 {
  font-family: var(--serif);
  font-size: 1.22rem;
  margin: 36px 0 14px;
  color: #FFFFFF;
  font-weight: 700;
}

.article-content p { margin-bottom: 16px; color: rgba(255,255,255,0.85); }
.article-content ul, .article-content ol { margin: 14px 0 22px 24px; color: rgba(255,255,255,0.85); }
.article-content li { margin-bottom: 8px; }
.article-content strong { color: var(--gold); font-weight: 600; }

.article-content blockquote {
  background: var(--bg-2);
  border-left: 2px solid var(--gold);
  padding: 22px 26px;
  margin: 28px 0;
  font-style: italic;
  color: rgba(255,255,255,0.85);
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 26px 0;
  font-size: 0.92rem;
  background: var(--bg-2);
}

.article-content th, .article-content td {
  border: 1px solid var(--line);
  padding: 12px 16px;
  text-align: left;
  color: var(--text);
}

.article-content th {
  background: var(--bg-3);
  color: var(--gold);
  font-weight: 700;
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.article-content tr:nth-child(even) td { background: rgba(255,255,255,0.02); }

.article-content code {
  background: var(--bg-3);
  padding: 2px 8px;
  font-family: var(--mono);
  font-size: 0.88em;
  color: var(--gold);
  border-radius: 2px;
}

/* ====== 侧边栏 ====== */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sidebar-block {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 22px;
}

.sidebar-block h5 {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  font-weight: 700;
}

.sidebar-block ul { list-style: none; }
.sidebar-block li {
  border-bottom: 1px solid var(--line);
  padding: 9px 0;
}
.sidebar-block li:last-child { border-bottom: 0; }
.sidebar-block a {
  font-size: 0.94rem;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.sidebar-block a:hover { color: var(--gold); }
.sidebar-block a::before { content: '›'; color: var(--gold); }

/* ====== 信息卡片 ====== */
.info-callout {
  background: var(--bg-2);
  border-left: 2px solid var(--gold);
  padding: 22px 26px;
  margin: 32px 0;
  border-radius: 2px;
}

.info-callout-title {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--gold);
  font-size: 0.86rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.info-callout-title::before { content: '✎'; color: var(--gold); }
.info-callout p { margin: 0; color: rgba(255,255,255,0.85); font-size: 0.94rem; }

/* ====== FAQ ====== */
.faq-item {
  background: var(--bg-2);
  border: 1px solid var(--line);
  margin-bottom: 10px;
  border-radius: 2px;
  transition: all 0.2s;
}
.faq-item[open] { border-left: 2px solid var(--gold); }

.faq-q {
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 600;
  color: #FFFFFF;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.96rem;
}

.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  font-family: var(--mono);
  font-size: 1.4rem;
  color: var(--gold);
  font-weight: 300;
}
.faq-item[open] .faq-q::after { content: '−'; }

.faq-a {
  padding: 0 24px 20px;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  font-size: 0.94rem;
}

/* ====== 相关推荐 ====== */
.related-section {
  padding: 80px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

.related-head {
  margin-bottom: 36px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 1080px;
  margin: 0 auto;
  background: var(--line);
  border: 1px solid var(--line);
}

.related-card {
  padding: 24px 28px;
  background: var(--bg-2);
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 18px;
  align-items: start;
  transition: background 0.2s;
  color: var(--text);
}
.related-card:hover { background: var(--bg-3); }

.related-num {
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--gold);
  font-weight: 700;
}

.related-content h4 {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #FFFFFF;
}

.related-content p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  margin: 0;
  line-height: 1.6;
}

.related-arrow {
  color: rgba(255,255,255,0.3);
  font-size: 1.2rem;
  align-self: center;
}

.related-card:hover .related-arrow { color: var(--gold); transform: translateX(4px); }

/* ====== 响应式 ====== */
@media (max-width: 1024px) {
  .hero { min-height: auto; padding: 80px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .data-strip-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .lab-feature { grid-template-columns: 1fr; gap: 30px; padding: 36px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .authority-grid { grid-template-columns: 1fr; gap: 40px; }
  .authority-list { grid-template-columns: 1fr; }
  .topics-list { grid-template-columns: 1fr; }
  .news-timeline::before { left: 20px; }
  .news-item { grid-template-columns: 60px 1fr; gap: 12px; padding: 24px 0 24px 28px; }
  .news-item::before { left: 18px; }
  .news-date { padding-left: 0; }
  .news-body { flex-direction: column; align-items: flex-start; padding-left: 0; gap: 12px; }
  .news-image { width: 100%; height: 160px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .article-grid { grid-template-columns: 1fr; }
  .lab-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .data-strip-grid { grid-template-columns: repeat(2, 1fr); gap: 16px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .lab-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
}

/* ====== 工具 ====== */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
::selection { background: var(--gold); color: var(--bg); }

.read-progress {
  position: fixed; top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 1000;
  transition: width 0.08s linear;
}

.float-cta {
  position: fixed; bottom: 28px; right: 28px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg);
  padding: 14px 22px;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 2px;
  box-shadow: 0 8px 28px rgba(212,175,55,0.4);
  z-index: 99;
  display: flex; align-items: center; gap: 8px;
}
.float-cta:hover { box-shadow: 0 12px 36px rgba(212,175,55,0.6); color: var(--bg); }

/* ====== 文章配图 ====== */
.article-figure {
  margin: 32px 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-2);
}
.article-figure img { width: 100%; height: auto; display: block; }
.article-figure figcaption {
  padding: 12px 18px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

/* ====== 枢纽页（二级栏目页） ====== */
.hub-hero {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  padding: 70px 0 50px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.hub-hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hub-hero-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: center;
}
.hub-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}
.hub-hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 640px;
}
.hub-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hub-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.hub-hero-stats > div {
  background: rgba(17,21,31,0.7);
  padding: 28px 18px;
  text-align: center;
}
.hub-hero-stats strong {
  display: block;
  font-family: var(--mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}
.hub-hero-stats span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}

.hub-section { padding: 70px 0; }
.hub-jump {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.hub-jump-link {
  padding: 9px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.8);
  transition: all 0.2s;
}
.hub-jump-link:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

.hub-group { margin-bottom: 60px; scroll-margin-top: 100px; }
.hub-group-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
  padding-left: 14px;
  border-left: 3px solid var(--gold);
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.hub-group-count {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.06em;
}

.hub-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.hub-item {
  background: var(--bg-2);
  padding: 26px 28px;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 16px;
  align-items: center;
  transition: background 0.2s, padding 0.2s;
  color: var(--text);
}
.hub-item:hover { background: var(--bg-3); padding-left: 30px; }
.hub-num {
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
}
.hub-body h4 {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}
.hub-body p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
  margin: 0;
  line-height: 1.5;
}
.hub-arrow {
  color: rgba(255,255,255,0.3);
  font-size: 1.1rem;
  transition: all 0.2s;
}
.hub-item:hover .hub-arrow { color: var(--gold); transform: translateX(4px); }

.cross-nav { padding: 60px 0; border-top: 1px solid var(--line); background: var(--bg-2); }

/* ====== 文中 CTA ====== */
.cta-inline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(212,175,55,0.08), rgba(212,175,55,0.03));
  border: 1px solid rgba(212,175,55,0.35);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  padding: 24px 28px;
  margin: 36px 0;
}
.cta-inline-text strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: #FFFFFF;
  margin-bottom: 4px;
}
.cta-inline-text span {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
}
.cta-inline-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-inline .btn { padding: 12px 24px; font-size: 0.86rem; }

/* ====== 侧栏 CTA ====== */
.sidebar-cta { border-color: rgba(212,175,55,0.4); background: linear-gradient(160deg, rgba(212,175,55,0.08), var(--bg-2)); }
.sidebar-cta-strong {
  font-family: var(--mono);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.sidebar-cta-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 14px;
}
.sidebar-btn { display: block; text-align: center; padding: 12px 18px; font-size: 0.86rem; }
.sidebar-more {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 600;
}
.sidebar-more:hover { text-decoration: underline; }

/* ====== 表格注释 ====== */
.table-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-top: -12px;
}

/* ====== FAQ（details 版） ====== */
details.faq-item { overflow: hidden; }
details.faq-item summary { list-style: none; }
details.faq-item summary::-webkit-details-marker { display: none; }

@media (max-width: 1024px) {
  .hub-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hub-list { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hub-jump { gap: 8px; }
  .cta-inline { flex-direction: column; align-items: flex-start; }
}

@media print {
  .navbar, .topbar, .footer, .float-cta, .cta-section, .fc-chat { display: none; }
  body { color: #000; }
}

/* ==========================================================================
   站内咨询组件（易聊接入）
   ========================================================================== */
/* 隐藏易聊自带的悬浮图标、最小化条与气泡，统一由本站咨询组件承接 */
#jesong_panel,
#jesong_chat_min,
#jesong_chat_min_horizontal,
#jesong_pop_msg,
#airBubblesUl { display: none !important; }

/* --------------------------------------------------------------------------
   易聊内嵌窗口主题化：只覆盖配色/圆角，不改其内部布局
   —— 皮肤主色在运行时已改为香槟金，这里补齐深色底、金色顶栏与输入区
   -------------------------------------------------------------------------- */
#jesong_chat_layout {
  background: #11151F !important;
  border: 1px solid rgba(212,175,55,0.35) !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6) !important;
  font-family: var(--sans) !important;
}

/* 顶栏（PC 小窗 / 手机全屏） */
#jesong-mini-main-top,
.jesong-mini-main-top,
#jesong_full_top,
.jesong-full-top {
  background: linear-gradient(135deg, #D4AF37 0%, #9C7C28 100%) !important;
  border-bottom: 0 !important;
}
#jesong-mini-main-top .jesong-abstract-con,
#jesong-mini-main-top .jesong-custom,
#jesong-mini-main-top .jesong_chatP_title,
.jesong-mini-main-top .jesong-abstract-con,
.jesong-mini-main-top .jesong-custom,
#jesong_full_top .jesong-abstract-con,
#jesong_full_top .jesong-custom,
#jesong_full_top .jesong_chatP_title,
.jesong-full-top .jesong-abstract-con,
.jesong-full-top .jesong-custom { color: #0A0E1A !important; }

/* 消息区 / 输入区底色 */
#jesong_chat_record,
#jesong_chat_body,
#jesong_chat_layout .jesong_chat_left,
#jesong-mini-main-body { background: #0A0E1A !important; }

/* 输入区与底部工具条（SDK 默认是白底，必须一并改成深色） */
#jesong_chat_layout .jesong-opinion-layout,
#jesong_chat_layout .jesong-pop-window,
#jesong_chat_layout .jesong-reason,
#jesong_chat_layout .jesongChat-quick-layout,
#jesong_chat_layout .jesong-chat-quick-layout,
#jesong_chat_layout .jesong-operation-main,
#jesong_chat_layout .jesong-operation-header {
  background: #11151F !important;
  border-color: rgba(212,175,55,0.22) !important;
  color: #E8EAF0 !important;
}
#jesong_chat_layout .jesong-opinion-layout *,
#jesong_chat_layout .jesongChat-quick-layout *,
#jesong_chat_layout .jesong-chat-quick-layout * { color: #E8EAF0 !important; }
#jesong_chat_layout .jesongChat-quick-layout *,
#jesong_chat_layout .jesong-chat-quick-layout * { border-color: rgba(255,255,255,0.12) !important; }
#jesong_chat_layout .jesong-count,
#jesong_chat_layout .jesong_chat_count { color: #7A7D86 !important; }

/* 底部操作栏 / 分割线（SDK 原生白底，最后兜底） */
#jesong_chat_layout #jesong-mini-main-footer-pc,
#jesong_chat_layout .jesong-mini-main-footer-pc,
#jesong_chat_layout .jesong-footer,
#jesong_chat_layout .jesong-opinion-segmentation,
#jesong_chat_layout .jesong_detainment_interval,
#jesong_chat_layout .jesong-main-import,
#jesong_chat_layout #jesong_message,
#jesong_chat_layout .jesong_message_content,
#jesong_chat_layout .jesong-operation-footer {
  background: #11151F !important;
  border-color: rgba(255,255,255,0.1) !important;
}
#jesong_chat_layout .jesong-operation-footer { color: #7A7D86 !important; }
#jesong_chat_layout #pc_phone { color: #0A0E1A !important; }
/* 工具条图标是精灵图，深色底上反相成浅灰保证可见 */
#jesong_chat_layout .jesong_tools_div { filter: brightness(0) invert(0.78); }
#jesong_chat_layout #jesong_message,
#jesong_chat_layout .jesong_message_content { color: #E8EAF0 !important; }

/* 客服消息：深色底上的浅色文字 */
#jesong_chat_layout .jesong-service-bubble,
#jesong_chat_layout .jesong-service-bubble-con,
#jesong_chat_layout .jesong_service_bubble,
#jesong_chat_layout .jesong_service_bubble_con { color: #E8EAF0 !important; }

/* 访客自己的消息：香槟金气泡 + 深色文字 */
#jesong_chat_layout .jesong-user-msg,
#jesong_chat_layout .jesong_user_msg {
  background: #D4AF37 !important;
  color: #0A0E1A !important;
}
#jesong_chat_layout .vstText { color: #0A0E1A !important; }

/* 输入框 */
#jesong_chat_layout input,
#jesong_chat_layout textarea,
#jesong_chat_layout #pc_phone_num {
  background: #1A1F2E !important;
  color: #E8EAF0 !important;
  border-color: rgba(255,255,255,0.14) !important;
}
#jesong_chat_layout input::placeholder,
#jesong_chat_layout textarea::placeholder { color: #7A7D86 !important; }

/* 发送 / 提交按钮 */
#jesong_chat_layout #jesong_chat_send_btn,
#jesong_chat_layout .jesong-btn-info,
#jesong_chat_layout .jesong-commit {
  background-color: #D4AF37 !important;
  background-image: none !important;
  color: #0A0E1A !important;
}
#jesong_chat_layout #jesong_chat_send_btn:hover,
#jesong_chat_layout .jesong-btn-info:hover,
#jesong_chat_layout .jesong-commit:hover { background-color: #E8C76A !important; }
#jesong_chat_layout .jesong_chatP_title { color: #FFFFFF !important; }
#jesong_chat_layout a { color: var(--gold) !important; }

/* 打开对话后收起本站入口，避免遮挡 */
body.chat-open .fc-chat-launcher,
body.chat-open .fc-chat-teaser { display: none !important; }

/* 手机端：用户主动发起后全屏铺满，正文撑开、输入栏贴底
   仅在 ≤640 生效，避免平板宽度下把 SDK 固定尺寸小窗撑变形 */
@media (max-width: 640px) {
  body.chat-open #jesong_chat_layout {
    display: flex !important;
    flex-direction: column !important;
    left: 0 !important; top: 0 !important; right: 0 !important; bottom: 0 !important;
    width: 100% !important; height: 100% !important;
    border: 0 !important; border-radius: 0 !important;
  }
  body.chat-open #jesong_chat_layout #jesong_chat_body { flex: 1 1 auto !important; height: auto !important; }
  body.chat-open #jesong_chat_layout .jesong-full-top { flex: 0 0 auto !important; }
  body.chat-open #jesong_container_mini_inner,
  body.chat-open .jesong-container-mini-inner {
    display: flex !important; flex-direction: column !important; height: 100% !important; min-height: 0 !important;
  }
  body.chat-open .jesong-container-mini-main {
    display: flex !important; flex-direction: column !important; flex: 1 1 auto !important; min-height: 0 !important;
  }
  body.chat-open #jesong_chat_body { display: flex !important; flex-direction: column !important; min-height: 0 !important; }
  body.chat-open .jesong_chat_left {
    display: flex !important; flex-direction: column !important;
    width: 100% !important; height: auto !important; flex: 1 1 auto !important; min-height: 0 !important;
  }
  body.chat-open #jesong_chat_record { flex: 1 1 auto !important; height: auto !important; min-height: 0 !important; }
  body.chat-open #jesong-mini-main-footer-pc { flex: 0 0 auto !important; width: 100% !important; }
  body.chat-open .jesong-operation-main,
  body.chat-open .jesong-operation-header { width: 100% !important; }
}

.fc-nav-toggle { display: none; }

.fc-chat {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.fc-chat-teaser[hidden] { display: none !important; }

.fc-chat-launcher {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 22px;
  border: 0;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0A0E1A;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  box-shadow: 0 10px 30px rgba(212,175,55,0.42);
  transition: transform 0.2s, box-shadow 0.2s;
}
.fc-chat-launcher:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(212,175,55,0.55); }
.fc-chat-launcher-icon { display: inline-flex; }
.fc-chat-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: #D93A3A;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg);
}

@keyframes fcIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.fc-chat-avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0A0E1A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.8rem;   /* FC -> FCC 后收窄字号，适配 40px 圆形头像 */
  letter-spacing: 0.01em;
}
.fc-chat-online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.62);
}
.fc-chat-online i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 8px rgba(52,211,153,0.7);
  display: inline-block;
}
.fc-chat-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.fc-chat-chip {
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  color: var(--text-2);
  font-size: 0.88rem;
  font-family: var(--sans);
  padding: 11px 10px;
  cursor: pointer;
  transition: all 0.2s;
}
.fc-chat-chip:hover { border-color: var(--gold); color: var(--gold); background: rgba(212,175,55,0.06); }
.fc-chat-teaser-text a { color: var(--gold); font-weight: 700; }

.fc-chat-teaser {
  width: 344px;
  max-width: calc(100vw - 32px);
  padding: 16px 18px 18px;
  background: var(--bg-2);
  border: 1px solid rgba(212,175,55,0.35);
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
  position: relative;
  animation: fcIn 0.25s ease;
}
.fc-chat-teaser-close {
  position: absolute;
  top: 6px;
  right: 10px;
  background: transparent;
  border: 0;
  color: rgba(255,255,255,0.45);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.fc-chat-teaser-close:hover { color: var(--gold); }
.fc-chat-teaser-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.fc-chat-teaser-title { display: flex; flex-direction: column; line-height: 1.35; }
.fc-chat-teaser-title strong { font-size: 0.95rem; color: #FFFFFF; }
.fc-chat-teaser-text {
  margin: 0 0 14px;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.78);
}
.fc-chat-teaser-text b { color: var(--gold); }
.fc-chat-teaser-actions { display: flex; gap: 8px; }
.fc-chat-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 8px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}
.fc-chat-btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0A0E1A;
}
.fc-chat-btn-ghost { border-color: var(--line-strong); color: var(--text-2); background: transparent; }
.fc-chat-btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

@media (max-width: 1360px) {
  .brand-text-main { font-size: 1rem; }
  .nav-menu { gap: 0; }
  .nav-menu > li > a { font-size: 0.92rem; padding: 8px 8px; }
  .nav-cta { padding: 10px 18px; font-size: 0.9rem; }
}

/* 中等宽度：再压一档，避免 9 项菜单把「免费评估」挤出容器 */
@media (max-width: 1200px) {
  .brand-sub { display: none; }
  .brand-text-main { font-size: 0.96rem; }
  .nav-menu > li > a { font-size: 0.88rem; padding: 7px 7px; }
  .nav-cta { padding: 9px 16px; font-size: 0.88rem; }
}

/* ≤1024：横向菜单放不下，提前切成汉堡菜单（移动端下拉） */
@media (max-width: 1024px) {
  .nav-wrap { position: relative; flex-wrap: wrap; gap: 10px; }
  .fc-nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--line-strong);
    background: transparent;
    cursor: pointer;
    order: 2;
  }
  .fc-nav-toggle span { display: block; width: 22px; height: 2px; background: var(--gold); transition: all 0.2s; }
  .fc-nav-open .fc-nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .fc-nav-open .fc-nav-toggle span:nth-child(2) { opacity: 0; }
  .fc-nav-open .fc-nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-menu { display: none; }
  .fc-nav-open .nav-menu { display: flex; }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 130;
    flex-direction: column;
    gap: 0;
    padding: 6px 16px 16px;
    background: var(--bg-2);
    border: 1px solid var(--line-strong);
    box-shadow: 0 18px 40px rgba(0,0,0,0.5);
  }
  .nav-menu > li > a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav-menu > li:last-child > a { border-bottom: 0; }
  .nav-cta { padding: 10px 16px; font-size: 0.9rem; margin-left: auto; }
}

/* 超窄屏：压缩品牌与按钮，保证「免费评估」和汉堡按钮同行 */
@media (max-width: 480px) {
  .topbar-divider { display: none; }
  .brand-text-main { font-size: 0.82rem; }
  .brand { gap: 10px; }
  .nav-cta { padding: 8px 10px; font-size: 0.8rem; }
  .fc-nav-toggle { width: 40px; height: 40px; padding: 9px; }
}
@media (max-width: 380px) {
  .brand-text { display: none; }
}

@media (max-width: 768px) {
  .fc-chat { right: 14px; bottom: 14px; left: 14px; }
  .fc-chat-launcher { height: 50px; padding: 0 16px; font-size: 0.92rem; }
  .fc-chat-launcher-text { display: none; }
  .fc-chat-teaser { width: 100%; }
  .fc-chat-teaser-actions { flex-direction: column; }

  .nav-wrap { position: relative; flex-wrap: wrap; gap: 10px; }
  .fc-nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--line-strong);
    background: transparent;
    cursor: pointer;
    order: 2;
  }
  .fc-nav-toggle span { display: block; width: 22px; height: 2px; background: var(--gold); transition: all 0.2s; }
  .fc-nav-open .fc-nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .fc-nav-open .fc-nav-toggle span:nth-child(2) { opacity: 0; }
  .fc-nav-open .fc-nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .fc-nav-open .nav-menu { display: flex; }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 130;
    flex-direction: column;
    gap: 0;
    padding: 6px 16px 16px;
    background: var(--bg-2);
    border: 1px solid var(--line-strong);
    box-shadow: 0 18px 40px rgba(0,0,0,0.5);
  }
  .nav-menu > li > a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav-menu > li:last-child > a { border-bottom: 0; }
  .nav-cta { padding: 10px 16px; font-size: 0.9rem; }
  .brand-text-main { font-size: 1rem; }
}

/* ==========================================================================
   转化页（联系咨询 / 在线评估）
   ========================================================================== */
.convert-hero {
  position: relative;
  overflow: hidden;
  padding: 36px 38px 32px;
  margin-bottom: 30px;
  border: 1px solid rgba(212,175,55,0.4);
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(212,175,55,0.10), rgba(212,175,55,0.02));
}
.convert-hero::after {
  content: 'FCC';
  position: absolute;
  right: 10px;
  bottom: -34px;
  font-family: var(--serif);
  font-size: 9rem;
  font-weight: 700;
  color: rgba(212,175,55,0.06);
  line-height: 1;
  pointer-events: none;
}
.convert-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 14px;
  border: 1px solid rgba(212,175,55,0.4);
  border-radius: 2px;
  background: rgba(212,175,55,0.1);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.convert-hero h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  margin-bottom: 10px;
  color: #FFFFFF;
}
.convert-hero p { color: rgba(255,255,255,0.82); font-size: 1.02rem; line-height: 1.8; }
.convert-phone {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  margin: 20px 0 4px;
  font-family: var(--mono);
  font-size: clamp(2rem, 4.4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--gold);
}
.convert-phone::before {
  content: '全国服务热线';
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
}
.convert-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 20px; }
.convert-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--text-3);
}
.convert-meta span { display: inline-flex; align-items: center; gap: 6px; }
.convert-channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0 8px; }
.convert-channel {
  padding: 22px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: border-color 0.2s;
}
.convert-channel:hover { border-color: rgba(212,175,55,0.45); }
.convert-channel h4 { font-size: 1.06rem; margin-bottom: 6px; }
.convert-channel p { margin: 0 0 14px; font-size: 0.94rem; color: var(--text-3); line-height: 1.7; }
.convert-channel a { color: var(--gold); font-weight: 700; font-size: 0.96rem; }

@media (max-width: 768px) {
  .convert-hero { padding: 26px 22px; }
  .convert-phone { flex-direction: column; gap: 2px; font-size: 2.1rem; }
  .convert-phone::before { font-size: 0.82rem; }
  .convert-channels { grid-template-columns: 1fr; }
}