/* ==========================================================================
   无锡宝界科技有限公司 — 浅色纯净云原生工程风设计系统
   ========================================================================== */
:root {
  --bg-canvas: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-code: #eef2f6;
  --border-light: #e2e8f0;
  --border-strong: #cbd5e1;

  --brand-navy: #0f4c81;
  --brand-blue: #2563eb;
  --brand-blue-dark: #1d4ed8;
  --brand-blue-soft: rgba(37, 99, 235, 0.08);
  --brand-blue-ring: rgba(37, 99, 235, 0.22);

  --accent-emerald: #059669;
  --accent-emerald-soft: rgba(5, 150, 105, 0.1);
  --accent-amber: #d97706;
  --accent-amber-soft: rgba(217, 119, 6, 0.1);
  --accent-slate: #475569;

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 28px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 22px 54px rgba(15, 23, 42, 0.14), 0 4px 12px rgba(15, 23, 42, 0.06);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "Segoe UI", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --container-max: 1220px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand-blue);
  text-decoration: none;
}

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

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

.mono {
  font-family: var(--font-mono);
}

/* ---------------- 顶部毛玻璃导航栏 ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
}

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

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text-primary);
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0f4c81 0%, #2563eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  flex-shrink: 0;
}

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

.brand-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: var(--text-primary);
}

.brand-sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 11px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color 0.16s ease, background 0.16s ease;
  cursor: pointer;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-blue);
  background: var(--brand-blue-soft);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 280px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.18s ease;
  z-index: 950;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.14s ease;
}

.dropdown-link:hover {
  background: var(--bg-canvas);
}

.dropdown-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dropdown-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  white-space: nowrap;
}

.nav-phone:hover {
  color: var(--brand-blue);
  border-color: var(--brand-blue-ring);
}

.mobile-menu-btn {
  display: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  color: var(--text-primary);
  cursor: pointer;
}

/* ---------------- 按钮规范 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.16s ease;
  font-family: inherit;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-blue);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  background: var(--brand-blue-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  background: #ffffff;
}

.btn-ghost {
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
}

.btn-ghost:hover {
  background: rgba(37, 99, 235, 0.14);
}

.btn-sm {
  padding: 7px 13px;
  font-size: 13px;
}

.btn-lg {
  padding: 12px 22px;
  font-size: 15px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.65);
  animation: pulseDot 2s infinite;
  display: inline-block;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.65); }
  70% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ---------------- Hero 首屏 ---------------- */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 68px 0 64px;
  background-color: #ffffff;
  background-image:
    radial-gradient(circle at 82% 18%, rgba(37, 99, 235, 0.08), transparent 42%),
    radial-gradient(circle at 12% 85%, rgba(5, 150, 105, 0.06), transparent 36%),
    linear-gradient(to right, rgba(15, 23, 42, 0.032) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.032) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 36px 36px, 36px 36px;
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--brand-blue-soft);
  border: 1px solid rgba(37, 99, 235, 0.18);
  color: var(--brand-navy);
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--text-primary);
  margin: 0 0 18px;
}

.hero-title .highlight {
  background: linear-gradient(120deg, #0f4c81 0%, #2563eb 65%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 15.5px;
  color: var(--text-secondary);
  margin: 0 0 28px;
  max-width: 600px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--border-light);
}

.metric-card {
  background: rgba(248, 250, 252, 0.85);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.metric-val {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-navy);
  font-family: var(--font-mono);
}

.metric-label {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* 首屏动态拓扑卡片 */
.topo-stage {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: 18px;
  position: relative;
}

.topo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
  font-size: 12.5px;
  color: var(--text-muted);
}

.topo-dots {
  display: inline-flex;
  gap: 6px;
}

.topo-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cbd5e1;
}

.topo-dots span:nth-child(1) { background: #f87171; }
.topo-dots span:nth-child(2) { background: #fbbf24; }
.topo-dots span:nth-child(3) { background: #34d399; }

.topo-svg {
  width: 100%;
  height: auto;
  display: block;
}

.flow-line {
  stroke-dasharray: 6 6;
  animation: dashFlow 18s linear infinite;
}

.flow-line-rev {
  stroke-dasharray: 6 6;
  animation: dashFlowRev 18s linear infinite;
}

@keyframes dashFlow {
  to { stroke-dashoffset: -240; }
}

@keyframes dashFlowRev {
  to { stroke-dashoffset: 240; }
}

.topo-node {
  cursor: pointer;
  transition: transform 0.16s ease, filter 0.16s ease;
}

.topo-node:hover {
  filter: drop-shadow(0 4px 10px rgba(37, 99, 235, 0.2));
}

.topo-caption-bar {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-canvas);
  border: 1px solid var(--border-light);
  font-size: 12.5px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

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

.section-white {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--brand-blue);
  background: var(--brand-blue-soft);
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 800;
  letter-spacing: -0.4px;
  margin: 0 0 12px;
  color: var(--text-primary);
  line-height: 1.25;
}

.section-desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0;
}

/* ---------------- 生态架构矩阵 ---------------- */
.eco-notice {
  background: linear-gradient(90deg, rgba(15, 76, 129, 0.05) 0%, rgba(37, 99, 235, 0.04) 100%);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-left: 4px solid var(--brand-blue);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 24px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.eco-notice strong {
  color: var(--text-primary);
}

.table-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.table-wrap {
  overflow-x: auto;
}

.eng-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 760px;
}

.eng-table th {
  text-align: left;
  padding: 13px 16px;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  font-weight: 700;
  border-bottom: 1px solid var(--border-light);
  white-space: nowrap;
}

.eng-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
  vertical-align: top;
}

.eng-table tr:last-child td {
  border-bottom: none;
}

.eng-table tr:hover td {
  background: #fafcff;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.pill-blue { background: var(--brand-blue-soft); color: var(--brand-blue); }
.pill-green { background: var(--accent-emerald-soft); color: var(--accent-emerald); }
.pill-amber { background: var(--accent-amber-soft); color: var(--accent-amber); }
.pill-slate { background: var(--bg-subtle); color: var(--text-secondary); border: 1px solid var(--border-light); }

/* ---------------- 核心网关双产品展示区 ---------------- */
.product-tabs {
  display: inline-flex;
  padding: 5px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  gap: 6px;
  margin-bottom: 28px;
}

.tab-btn {
  border: none;
  background: transparent;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.16s ease;
  font-family: inherit;
}

.tab-btn.active {
  background: #ffffff;
  color: var(--brand-blue);
  box-shadow: var(--shadow-xs);
}

.product-showcase {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

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

.product-top h3 {
  margin: 8px 0 8px;
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
}

.product-top p {
  margin: 0;
  max-width: 720px;
  font-size: 14.5px;
  color: var(--text-secondary);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

.highlight-card {
  background: var(--bg-canvas);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.highlight-card:hover {
  border-color: var(--brand-blue-ring);
  transform: translateY(-2px);
}

.highlight-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 6px;
}

.highlight-card h4 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.highlight-card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
}

/* 实机界面/架构图交互画廊 */
.gallery-box {
  background: var(--bg-canvas);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px;
}

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

.gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.thumb-btn {
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 600;
  background: #ffffff;
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.thumb-btn.active, .thumb-btn:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  background: var(--brand-blue-soft);
}

.browser-frame {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.browser-bar {
  height: 34px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

.browser-img-wrap {
  background: #ffffff;
  padding: 10px;
  cursor: zoom-in;
  display: flex;
  justify-content: center;
}

.browser-img-wrap img {
  max-height: 440px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
}

.gallery-caption {
  padding: 12px 16px;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ---------------- 互联网平台与云服务卡片 ---------------- */
.cloud-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.cloud-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.cloud-card:hover {
  border-color: var(--brand-blue-ring);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

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

.cloud-card h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  color: var(--text-primary);
}

.cloud-card .summary {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin: 0 0 16px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.check-list li {
  font-size: 13px;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-emerald-soft);
  border: 2px solid var(--accent-emerald);
}

.cloud-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

/* ---------------- 重点板块：典型应用场景全景矩阵 ---------------- */
.scenario-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.filter-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
  font-family: inherit;
}

.filter-btn:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.filter-btn.active {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.22);
}

.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.scenario-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.scenario-card:hover {
  border-color: var(--brand-blue-ring);
  box-shadow: var(--shadow-md);
}

.scenario-diagram {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border-light);
  padding: 14px 18px;
}

.scenario-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.scenario-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.scenario-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
}

.scenario-kv {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.scenario-kv strong {
  color: var(--text-primary);
}

.scenario-steps {
  margin: 6px 0 14px;
  padding-left: 18px;
  font-size: 12.8px;
  color: var(--text-secondary);
}

.scenario-steps li {
  margin-bottom: 4px;
}

.scenario-outcome {
  margin-top: auto;
  padding: 10px 12px;
  background: var(--accent-emerald-soft);
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  color: #065f46;
  font-weight: 500;
  margin-bottom: 14px;
}

.scenario-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.scenario-products {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* ---------------- 文档与下载中心 ---------------- */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.doc-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow-xs);
}

.doc-card:hover {
  border-color: var(--brand-blue-ring);
}

.doc-card h3 {
  margin: 8px 0 6px;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-primary);
}

.doc-card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
}

.doc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------------- 底部咨询横幅 & 可扩展页脚 ---------------- */
.cta-banner {
  background: linear-gradient(135deg, #0f4c81 0%, #1e40af 55%, #2563eb 100%);
  border-radius: var(--radius-xl);
  padding: 40px 42px;
  color: #ffffff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 18px 40px rgba(15, 76, 129, 0.24);
}

.cta-banner h2 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 800;
}

.cta-banner p {
  margin: 0;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 620px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-white {
  background: #ffffff;
  color: var(--brand-navy);
}

.btn-white:hover {
  background: #f1f5f9;
  color: var(--brand-blue);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 48px 0 28px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-light);
}

.footer-col h4 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--brand-blue);
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.footer-ext-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ---------------- 灯箱弹窗 ---------------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.84);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  max-width: 1120px;
  width: 100%;
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.lightbox-bar {
  padding: 12px 18px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 14px;
}

.lightbox-close {
  border: none;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  padding: 4px 10px;
  cursor: pointer;
  font-size: 13px;
}

.lightbox-body {
  padding: 16px;
  background: #ffffff;
  text-align: center;
  max-height: 78vh;
  overflow: auto;
}

.lightbox-body img {
  margin: 0 auto;
  max-height: 70vh;
}

/* ---------------- 右下角实时咨询悬浮窗 (AnyToken + AI 协议) ---------------- */
.chat-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f4c81 0%, #2563eb 100%);
  color: #ffffff;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.36);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  font-family: inherit;
}

.chat-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.44);
}

.chat-fab-badge {
  position: absolute;
  top: -4px;
  right: -2px;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #ef4444;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border: 2px solid #ffffff;
}

.chat-drawer {
  position: fixed;
  right: 24px;
  bottom: 88px;
  width: 400px;
  max-width: calc(100vw - 24px);
  height: 590px;
  max-height: calc(100vh - 110px);
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  z-index: 1250;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chat-drawer.open {
  display: flex;
}

.chat-head {
  padding: 14px 16px;
  background: linear-gradient(135deg, #0f4c81 0%, #2563eb 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.chat-head-title {
  font-size: 14.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-head-sub {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 2px;
}

.chat-head-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-head-btn {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-radius: 6px;
  padding: 4px 9px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.chat-head-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.chat-quick-bar {
  padding: 8px 12px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chat-chip {
  font-size: 11.5px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.14s ease;
  font-family: inherit;
}

.chat-chip:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  background: var(--brand-blue-soft);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  display: flex;
  flex-direction: column;
  max-width: 86%;
}

.chat-msg.guest {
  align-self: flex-end;
  align-items: flex-end;
}

.chat-msg.admin {
  align-self: flex-start;
  align-items: flex-start;
}

.chat-sender-tag {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.chat-bubble {
  padding: 10px 13px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.55;
  word-break: break-word;
  white-space: pre-wrap;
}

.chat-msg.guest .chat-bubble {
  background: var(--brand-blue);
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.chat-msg.admin .chat-bubble {
  background: #ffffff;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-xs);
}

.chat-bubble img {
  max-width: 220px;
  border-radius: 8px;
  cursor: zoom-in;
  display: block;
}

.chat-input-area {
  padding: 10px 12px;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--text-muted);
}

.chat-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--border-light);
  background: var(--bg-canvas);
  color: var(--text-secondary);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
}

.chat-upload-btn:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.chat-compose {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.chat-textarea {
  flex: 1;
  resize: none;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 8px 11px;
  font-size: 13.5px;
  font-family: inherit;
  min-height: 40px;
  max-height: 96px;
  outline: none;
}

.chat-textarea:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px var(--brand-blue-ring);
}

/* ---------------- 独立产品详情页样式 ---------------- */
.detail-hero {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 52px 0 44px;
}

.breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.spec-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.spec-k {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 4px;
}

.spec-v {
  font-size: 13.5px;
  color: var(--text-primary);
}

/* ---------------- 响应式适配 ---------------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .highlights-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  .nav-links, .nav-phone { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border-light);
    padding: 12px 20px 18px;
    box-shadow: var(--shadow-md);
  }
  .nav-item:hover .nav-dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 4px 0 4px 12px; }
}

@media (max-width: 820px) {
  .hero-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cloud-grid, .scenarios-grid, .docs-grid, .highlights-grid, .spec-grid { grid-template-columns: 1fr; }
  .product-showcase { padding: 20px; }
  .cta-banner { padding: 28px 24px; }
}
