/* ==========================================================================
   山西大赉通信科技有限公司 - 官方企业门户网站样式表
   标杆科技白主题版 (High-Tech Light/White Theme - Apple / Linear / Stripe 风格)
   1. 纯净科技白 + 冰蓝数智网格背景 (Cyber Dot Matrix & Ambient Glow)
   2. 高对比度科技排版 (WCAG 2.1 AAA 墨青与电光青蓝组合)
   3. 交互式二级页面模态抽屉系统 (Sub-page Sheet Modals)
   4. 移动端高辨识度触控优化与防放大工程
   ========================================================================== */

/* --- 1. CSS 全局设计系统变量 (Design Tokens - Tech White Theme) --- */
:root {
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;

  /* 物理弹簧阻尼微交互曲线 (transitions.dev & Emil Design Engineering) */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-snappy: cubic-bezier(0.4, 0, 0.2, 1);

  --duration-fast: 0.16s;
  --duration-normal: 0.28s;
  --duration-smooth: 0.42s;

  /* 科技白主题背景系统 (Tech White / Ice Slate System) */
  --bg-page: #f8fafc;           /* 页面主底色：冰白 Slate-50 */
  --bg-surface: #ffffff;        /* 主卡片与展板底色：纯净科技白 */
  --bg-elevated: #f1f5f9;       /* 次级提升区域：轻冰蓝灰 Slate-100 */
  --bg-elevated-alt: #eef2f6;   /* 强调背景 */
  --bg-glass: rgba(255, 255, 255, 0.88);
  --bg-glass-card: rgba(255, 255, 255, 0.94);

  /* 板块微明微暗交替系统 (Light Mode Rhythm) */
  --bg-section-white: #ffffff;
  --bg-section-ice: #f8fafc;
  --bg-bright-gradient: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);

  /* 边框与光晕 */
  --border-subtle: rgba(226, 232, 240, 0.9);   /* 柔和石板灰边框 */
  --border-accent: rgba(14, 165, 233, 0.35);    /* 电光青蓝微光边 */
  --border-bright: rgba(14, 165, 233, 0.65);    /* 高亮青蓝边 */
  --border-glow: rgba(14, 165, 233, 0.9);

  /* 品牌高科技电光色系 (Tech Electric Colors) */
  --primary: #0284c7;           /* 天蓝600：在白底上对比度极高 */
  --primary-light: #0ea5e9;     /* 电光青蓝500：高亮与光晕 */
  --primary-glow: rgba(14, 165, 233, 0.25);
  --accent-cyan: #0891b2;       /* 青蓝数据流 */
  --accent-blue: #2563eb;       /* 核心主干蓝 */
  --accent-emerald: #059669;    /* 在线/健康绿 */
  --accent-amber: #d97706;      /* 收益高光橙 */
  --accent-rose: #e11d48;       /* 痛点与警示红 */

  /* 文本系统 (WCAG 2.1 AAA 4.5:1+ 强对比) */
  --text-main: #0f172a;         /* 深墨青 Slate-900：标题与核心文字 */
  --text-secondary: #334155;    /* 沉稳石板 Slate-700：正文段落 */
  --text-muted: #64748b;        /* 辅助石板灰 Slate-500：小字与元数据 */

  --nav-height: 72px;
  --container-max-width: 1240px;
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  /* 科技白多层漫反射物理阴影 (Layered Diffuse Elevation - 淘汰扁平描边) */
  --shadow-elevation-1: 0 1px 3px rgba(0, 0, 0, 0.04), 0 8px 24px -4px rgba(15, 23, 42, 0.06);
  --shadow-elevation-hover: 0 16px 36px -6px rgba(14, 165, 233, 0.12), 0 0 0 1px rgba(14, 165, 233, 0.25);
  --shadow-elevation-modal: 0 25px 60px -12px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(226, 232, 240, 0.8);

  --shadow-sm: 0 2px 6px -1px rgba(15, 23, 42, 0.05);
  --shadow-md: var(--shadow-elevation-1);
  --shadow-card: var(--shadow-elevation-1);
  --shadow-card-hover: var(--shadow-elevation-hover);
  --shadow-glow: 0 0 35px rgba(14, 165, 233, 0.25);
}


/* 全局基础重置与防溢出工程 */
*, *::before, *::after {
  box-sizing: border-box;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* --- 2. 基础重置 --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  /* 科技数智微点阵纹理 (Cyber Dot Matrix Grid) */
  background-image: 
    radial-gradient(rgba(14, 165, 233, 0.12) 1px, transparent 1px),
    radial-gradient(rgba(2, 132, 199, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: 0 0, 14px 14px;
}

/* --- 3. 科技白板块微明微暗节奏系统 --- */
.section {
  padding: 95px 0;
  position: relative;
}

/* 白底板块：纯白极简 */
.section-dark {
  background-color: var(--bg-section-white);
  border-top: 1px solid rgba(226, 232, 240, 0.6);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

/* 微亮板块：冰蓝灰微光渐变，带轻微青蓝光晕 */
.section-bright {
  background: var(--bg-bright-gradient);
  position: relative;
}

.section-bright::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.45), transparent);
}

.section-bright::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.45), transparent);
}

.section-bright .glass-card {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(203, 213, 225, 0.9);
  box-shadow: 0 6px 24px -2px rgba(15, 23, 42, 0.07);
}

.section-bright .glass-card:hover {
  background: #ffffff;
  border-color: rgba(14, 165, 233, 0.5);
  box-shadow: var(--shadow-card-hover);
}

.section-bright .arch-display-panel {
  background: #ffffff;
  border-color: rgba(14, 165, 233, 0.35);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
}

.section-bright .calculator-box {
  background: #ffffff;
  border-color: rgba(14, 165, 233, 0.35);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
}

.section-bright .coop-plan-card {
  background: #ffffff;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
}

/* --- 4. 容器与通用排版 --- */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 50%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* 科技白徽标：浅蓝底色 + 青蓝文字 */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.28);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.1);
}

.section-badge svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
}


/* --- 5.1 触觉反馈与弹簧微交互 (Emil Design Engineering) --- */
.btn, .scenario-tab-btn, .btn-subpage-trigger, .topo-mode-btn, .mobile-bottom-item, .subpage-close-btn, .subpage-tab-item {
  transition: transform 0.35s var(--ease-spring), box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
}

.btn:active, .scenario-tab-btn:active, .btn-subpage-trigger:active, .topo-mode-btn:active {
  transform: scale(0.975) !important;
}

.mobile-bottom-item:active {
  transform: scale(0.94) !important;
}

.product-card, .cert-card, .infra-card, .compare-card {
  transition: transform 0.4s var(--ease-spring), box-shadow 0.35s var(--ease-smooth), border-color 0.25s ease;
}

.product-card:hover, .cert-card:hover, .infra-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevation-hover);
}

/* --- 5. 按钮规范 (Button System - Tech White) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-spring);
  text-decoration: none;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  user-select: none;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
  color: #ffffff;
  border-color: rgba(2, 132, 199, 0.4);
  box-shadow: 0 4px 18px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  box-shadow: 0 6px 24px rgba(14, 165, 233, 0.45);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-secondary {
  background: #ffffff;
  color: var(--primary);
  border: 1px solid rgba(14, 165, 233, 0.35);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.btn-secondary:hover {
  background: rgba(14, 165, 233, 0.06);
  border-color: var(--primary-light);
  color: #0369a1;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.15);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 30px;
  font-size: 1.05rem;
}

/* 带有右箭头的二级页面互动按钮 */
.btn-subpage-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  transition: all var(--duration-fast);
  cursor: pointer;
}

.btn-subpage-trigger:hover {
  background: rgba(14, 165, 233, 0.16);
  border-color: var(--primary);
  color: #0369a1;
  transform: translateX(3px);
}

.btn-subpage-trigger svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}

.btn-subpage-trigger:hover svg {
  transform: translateX(3px);
}

/* 玻化卡片 */
.glass-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: all var(--duration-normal) var(--ease-spring);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

/* --- 6. 顶部响应式导航栏 (Site Header) --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  z-index: 1000;
  transition: all var(--duration-normal);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
  border-bottom-color: rgba(14, 165, 233, 0.2);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
  flex-shrink: 0;
}

.logo-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.6px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color var(--duration-fast);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: var(--primary);
  border-radius: 999px;
  box-shadow: 0 0 10px var(--primary-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* 汉堡包移动端按钮 */
.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  border-radius: 10px;
  border: 1px solid rgba(203, 213, 225, 0.85);
  background: #ffffff;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1002;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  transition: all var(--duration-fast);
}

.mobile-menu-toggle:active {
  transform: scale(0.92);
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: currentColor;
  position: relative;
  transition: 0.25s var(--ease-spring);
  pointer-events: none;
}

.mobile-menu-toggle span::before,
.mobile-menu-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  transition: 0.25s var(--ease-spring);
  pointer-events: none;
}

.mobile-menu-toggle span::before { top: -7px; }
.mobile-menu-toggle span::after { top: 7px; }

.mobile-menu-toggle.active {
  background: rgba(2, 132, 199, 0.08);
  border-color: var(--primary-light);
  color: var(--primary);
}

.mobile-menu-toggle.active span {
  background-color: transparent;
}

.mobile-menu-toggle.active span::before {
  transform: rotate(45deg);
  top: 0;
}

.mobile-menu-toggle.active span::after {
  transform: rotate(-45deg);
  top: 0;
}

/* 移动端侧滑抽屉菜单 (Tech White) */
.mobile-drawer {
  position: fixed;
  top: var(--nav-height);
  right: -100%;
  width: 84%;
  max-width: 320px;
  height: calc(100dvh - var(--nav-height));
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-left: 1px solid var(--border-subtle);
  padding: 16px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: right 0.32s var(--ease-spring);
  z-index: 1001;
  box-shadow: -15px 0 35px rgba(15, 23, 42, 0.15);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer.open,
.mobile-drawer.active {
  right: 0 !important;
}

.mobile-drawer .drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  margin-bottom: 4px;
}

.mobile-drawer .drawer-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.5px;
}

.mobile-drawer .drawer-close {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(241, 245, 249, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: all var(--duration-fast);
}

.mobile-drawer .drawer-close:active {
  transform: scale(0.92);
}

.mobile-drawer .nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  border-radius: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--duration-fast);
}

.mobile-drawer .nav-link:active,
.mobile-drawer .nav-link:hover {
  background: rgba(2, 132, 199, 0.08);
  color: var(--primary);
  padding-left: 16px;
}

.drawer-contact-info {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.drawer-contact-info p {
  margin-bottom: 6px;
}

.drawer-overlay {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  width: 100vw;
  height: calc(100dvh - var(--nav-height));
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.drawer-overlay.active,
.drawer-overlay.open {
  display: block !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* --- 7. 首页主视觉主屏 (Hero Section - Tech White) --- */
.hero-section {
  position: relative;
  padding-top: calc(var(--nav-height) + 50px);
  padding-bottom: 85px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 10%, rgba(14, 165, 233, 0.09) 0%, rgba(248, 250, 252, 0) 70%);
}

#heroCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  max-width: 630px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.3);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}

.hero-tag svg {
  color: var(--primary-light);
}

.hero-title {
  font-size: 3.35rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -1px;
  color: var(--text-main);
  margin-bottom: 22px;
}

.hero-desc {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 34px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 45px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 2.1rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-main);
  line-height: 1.2;
}

.stat-value span {
  font-size: 1.1rem;
  color: var(--primary);
  margin-left: 2px;
  font-family: var(--font-main);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* 英雄右侧媒体卡片 (Tech White) */
.hero-media {
  position: relative;
}

.hero-media-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(14, 165, 233, 0.3);
  box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.15);
  background: #ffffff;
}

.hero-media-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-spring);
}

.hero-media-wrapper:hover img {
  transform: scale(1.03);
}

.hero-float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(14, 165, 233, 0.35);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  z-index: 3;
  animation: floatAnim 4.5s ease-in-out infinite;
}

.float-top-left {
  top: 30px;
  left: -25px;
}

.float-bottom-right {
  bottom: 30px;
  right: -25px;
  animation-delay: 2.2s;
}

@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.float-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(14, 165, 233, 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.float-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.float-text h5 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

.float-text p {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
}


/* --- 7.1 英雄右侧数智全栈架构卡片 (Hero Visual Card - Tech White) --- */
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 50px;
  align-items: center;
}

.hero-content {
  min-width: 0;
  max-width: 630px;
}

.hero-visual {
  min-width: 0;
  position: relative;
  width: 100%;
}

.visual-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elevation-1);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.3s ease;
}

.visual-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevation-hover);
}

.card-header-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  margin-bottom: 20px;
}

.status-text {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.visual-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.v-stat {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.v-stat-val {
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--font-mono);
}

.v-stat-lbl {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* 英雄右侧拓扑简图流程 */
.topology-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  margin-bottom: 20px;
}

.topology-preview .topo-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  flex: 1;
}

.topology-preview .topo-node svg {
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  max-width: 38px;
  max-height: 38px;
  padding: 8px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid rgba(14, 165, 233, 0.25);
  fill: var(--primary);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
}

.topology-preview .topo-node span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
}

.topo-connector {
  flex: 0 0 28px;
  height: 2px;
  background: #cbd5e1;
  position: relative;
}

.pulse-flow {
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: flowPulse 1.8s ease-in-out infinite;
}

@keyframes flowPulse {
  0% { left: 0%; opacity: 0; }
  30% { opacity: 1; }
  70% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

.visual-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px dashed #e2e8f0;
}

.v-footer-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.dot-sm {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.dot-sm.green { background: #10b981; }
.dot-sm.blue { background: #0284c7; }
.dot-sm.purple { background: #8b5cf6; }

/* --- 8. 运维痛点与方案对比 (Solutions - Tech White) --- */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.compare-card {
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: all var(--duration-normal) var(--ease-spring);
}

/* 传统模式痛点卡片：淡粉柔和警告风 */
.compare-pain {
  background: #ffffff;
  border: 1px solid rgba(244, 63, 94, 0.25);
}

.compare-pain:hover {
  border-color: rgba(244, 63, 94, 0.45);
  box-shadow: 0 16px 36px -4px rgba(244, 63, 94, 0.12);
  transform: translateY(-3px);
}

/* 大赉AIoT优势卡片：高亮冰蓝科技风 */
.compare-solution {
  background: #ffffff;
  border: 1.5px solid rgba(14, 165, 233, 0.4);
  box-shadow: 0 8px 32px -4px rgba(14, 165, 233, 0.12);
  position: relative;
}

.compare-solution:hover {
  border-color: var(--primary);
  box-shadow: 0 18px 42px -4px rgba(14, 165, 233, 0.2);
  transform: translateY(-3px);
}

.compare-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.compare-header-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.compare-pain .compare-header-icon {
  background: rgba(244, 63, 94, 0.12);
  color: var(--accent-rose);
}

.compare-solution .compare-header-icon {
  background: rgba(14, 165, 233, 0.14);
  color: var(--primary);
}

.compare-header-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.compare-header h3 {
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--text-main);
}

.compare-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.compare-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.compare-item-icon-box {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.compare-pain .compare-item-icon-box {
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.25);
  color: #e11d48;
}

.compare-solution .compare-item-icon-box {
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.35);
  color: #0284c7;
}

.compare-item-icon-box svg {
  width: 20px;
  height: 20px;
  display: block;
}

.compare-item-text h4 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.compare-item-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}


/* --- 8.1 三大自研旗舰产品矩阵 (Flagship Products Matrix - Tech White) --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.product-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: all var(--duration-normal) var(--ease-spring);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #38bdf8);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 165, 233, 0.4);
  box-shadow: 0 20px 40px -8px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(14, 165, 233, 0.15);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.product-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.product-icon-box.laizhi-icon {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.product-icon-box.wifi-icon {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.product-icon-box.ops-icon {
  background: rgba(14, 165, 233, 0.12);
  color: #0284c7;
  border: 1px solid rgba(14, 165, 233, 0.25);
}

.product-icon-box svg {
  width: 28px;
  height: 28px;
}

/* 成熟度状态胶囊标 */
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  line-height: 1.4;
  letter-spacing: 0.2px;
  white-space: normal;
  text-align: right;
}

.badge-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.badge-delivered {
  color: #047857;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.badge-delivered .badge-status-dot {
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.badge-poc {
  color: #b45309;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.badge-poc .badge-status-dot {
  background: #f59e0b;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.6);
}

.badge-iterating {
  color: #0369a1;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.3);
}
.badge-iterating .badge-status-dot {
  background: #0ea5e9;
  box-shadow: 0 0 8px rgba(14, 165, 233, 0.6);
}

.product-name-block {
  margin-bottom: 12px;
}

.product-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.product-slogan {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.3px;
}

.product-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
  min-height: 58px;
}

.product-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  flex-grow: 1;
}

.product-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-main);
  line-height: 1.5;
}

.product-feature-item svg {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-top: 2px;
  color: var(--primary);
}

.product-feature-item strong {
  color: var(--text-main);
  font-weight: 700;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
  padding-top: 14px;
  border-top: 1px dashed rgba(226, 232, 240, 0.9);
}

.product-tag {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  background: #f1f5f9;
  color: #475569;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
}

.product-card-footer {
  margin-top: auto;
}

.product-card-footer .btn-subpage-trigger {
  width: 100%;
  justify-content: center;
  padding: 10px 16px;
  font-size: 0.88rem;
}

/* 权威工商合规卡片 (Company Legal Profile Card) */
.company-profile-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-card);
}

.profile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 24px;
}

.profile-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.profile-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 16px;
}

.profile-item-label {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 600;
}

.profile-item-value {
  font-size: 0.96rem;
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.4;
}

.profile-item-value.highlight-primary {
  color: var(--primary);
  font-size: 1.08rem;
}

.profile-scope-box {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.profile-scope-box strong {
  color: var(--text-main);
}

@media (max-width: 991px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  .profile-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }
}

/* --- 9. 工作原理与四层技术架构 (Architecture - Tech White 统一规范 & 高度交互) --- */
.svg-diagram-wrapper {
  background: #ffffff;
  border: 1px solid rgba(203, 213, 225, 0.85);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 36px;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}

.svg-diagram-wrapper:hover {
  border-color: rgba(14, 165, 233, 0.4);
  box-shadow: 0 14px 40px -8px rgba(15, 23, 42, 0.08);
}

.svg-diagram-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  gap: 16px;
  flex-wrap: wrap;
}

.svg-header-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.svg-diagram-header h3 {
  font-size: 1.12rem;
  color: var(--text-main);
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.svg-header-tip {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* 交互运行模式切换控制器 */
.topo-mode-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(203, 213, 225, 0.8);
}

.topo-mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s var(--ease-spring);
}

.topo-mode-btn:hover {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.6);
}

.topo-mode-btn.active {
  background: #ffffff;
  color: var(--primary);
  border-color: rgba(14, 165, 233, 0.35);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.topo-viewport-box {
  width: 100%;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: var(--radius-md);
  padding: 12px 10px;
  position: relative;
  overflow: hidden;
}

.svg-flow-diagram {
  width: 100%;
  height: auto;
  display: block;
}

/* 拓扑节点交互状态与统一科技白样式 */
.svg-topo-node {
  cursor: pointer;
  outline: none;
  transition: transform 0.2s var(--ease-spring);
}

.svg-topo-node:hover {
  transform: translateY(-4px);
}

.svg-topo-node .node-rect {
  stroke: rgba(203, 213, 225, 0.85);
  stroke-width: 1.5;
  transition: all 0.2s;
}

.svg-topo-node:hover .node-rect {
  stroke: var(--primary);
  stroke-width: 2;
  filter: drop-shadow(0 6px 14px rgba(2, 132, 199, 0.15));
}

.svg-topo-node.active .node-rect {
  stroke: var(--primary);
  stroke-width: 2.5;
  fill: url(#topoNodeActiveBg);
  filter: drop-shadow(0 8px 20px rgba(2, 132, 199, 0.22));
}

/* 连线与光脉流动动效 */
.topo-flow-line {
  stroke: #0284c7;
  stroke-width: 2.5;
  stroke-dasharray: 6 6;
  animation: flowDash 1.2s linear infinite;
}

.topo-flow-line.line-step-2 {
  stroke: #0891b2;
}

.topo-flow-line.line-step-3 {
  stroke: #2563eb;
}

.topo-feedback-loop {
  stroke: rgba(2, 132, 199, 0.45);
  stroke-width: 2;
  stroke-dasharray: 6 6;
  fill: none;
  animation: flowDashReverse 2.4s linear infinite;
}

@keyframes flowDash {
  to { stroke-dashoffset: -24; }
}

@keyframes flowDashReverse {
  to { stroke-dashoffset: 24; }
}

/* 高速模式下的流动加速 */
.svg-diagram-wrapper.mode-boost .topo-flow-line {
  animation-duration: 0.45s;
  stroke-width: 3.5;
  filter: drop-shadow(0 0 6px rgba(14, 165, 233, 0.6));
}

.svg-diagram-wrapper.mode-heal .topo-feedback-loop {
  stroke: #10b981;
  stroke-width: 3;
  animation-duration: 1.2s;
  filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.5));
}

/* 实时遥测指标 HUD 面板 */
.topo-telemetry-bar {
  margin-top: 16px;
  background: #f8fafc;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.telemetry-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
}

.telemetry-name {
  color: var(--text-secondary);
  font-weight: 600;
}

.telemetry-value {
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--text-main);
  transition: all 0.2s;
}

.telemetry-value.highlight {
  color: var(--primary);
}

/* 移动端专属自适应流程展示块 (Tech White) */
.mobile-arch-flow {
  display: none;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.mobile-flow-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--primary);
  background: rgba(14, 165, 233, 0.06);
  border: 1px dashed rgba(14, 165, 233, 0.35);
  padding: 8px 14px;
  border-radius: 10px;
  margin-bottom: 4px;
  font-weight: 600;
}

.mobile-flow-node {
  background: #ffffff;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
  box-shadow: var(--shadow-sm);
}

.mobile-flow-node:active {
  transform: scale(0.97);
}

.mobile-flow-node.active {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(240, 249, 255, 0.95) 0%, rgba(224, 242, 254, 0.6) 100%);
  box-shadow: 0 4px 18px rgba(14, 165, 233, 0.2);
}

.m-node-icon-box {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.3);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.mobile-flow-node.active .m-node-icon-box {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 0 14px rgba(14, 165, 233, 0.5);
  border-color: #ffffff;
}

.m-node-icon-box svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.m-node-content {
  flex: 1;
  min-width: 0;
}

.m-node-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3px;
}

.m-node-step {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
}

.m-node-status {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.06);
  color: var(--text-muted);
}

.m-node-status.highlight {
  background: rgba(14, 165, 233, 0.15);
  color: var(--primary);
  border: 1px solid rgba(14, 165, 233, 0.3);
}

.m-node-content h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
}

.m-node-content p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-flow-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 20px;
  color: var(--primary);
  opacity: 0.8;
  animation: bounceDown 1.8s infinite;
}

.mobile-flow-arrow svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* 电脑端架构左右分栏 */
.arch-container {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 32px;
}

.arch-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.arch-layer-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-fast) var(--ease-spring);
}

.arch-layer-card:hover {
  border-color: var(--border-accent);
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.arch-layer-card.active {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(240, 249, 255, 0.95) 0%, #ffffff 100%);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.16);
}

.layer-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.layer-step {
  font-size: 0.74rem;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary);
  border: 1px solid rgba(14, 165, 233, 0.25);
}

.layer-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
}

.layer-info p {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.layer-arrow {
  color: var(--text-muted);
  transition: transform var(--duration-fast), color var(--duration-fast);
}

.layer-arrow svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.arch-layer-card.active .layer-arrow {
  color: var(--primary);
  transform: translateX(4px);
}

.arch-display-panel {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: opacity 0.2s var(--ease-spring);
}

.display-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.display-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.display-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.display-header-text h3 {
  font-size: 1.35rem;
  color: var(--text-main);
  font-weight: 800;
}

.display-header-text span {
  font-size: 0.88rem;
  color: var(--primary);
  font-weight: 600;
}

.display-body {
  margin-bottom: 20px;
}

.display-body p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tech-tag {
  font-size: 0.8rem;
  padding: 5px 12px;
  border-radius: 6px;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.2);
  color: var(--primary);
  font-weight: 600;
}

.display-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  border-radius: 8px;
  background: rgba(241, 245, 249, 0.7);
  font-size: 0.88rem;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.metric-label {
  color: var(--text-secondary);
}

.metric-value {
  color: var(--primary);
  font-family: var(--font-mono);
  font-weight: 700;
}

/* --- 10. 标杆落地应用场景 (Scenarios - Tech White) --- */
.scenario-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.scenario-tab-btn {
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid rgba(203, 213, 225, 0.9);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-fast) var(--ease-spring);
}

.scenario-tab-btn:active {
  transform: scale(0.97);
}

.scenario-tab-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

.scenario-tab-btn:hover {
  color: var(--primary);
  border-color: rgba(14, 165, 233, 0.4);
  background: rgba(240, 249, 255, 0.5);
}

.scenario-tab-btn.active {
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(14, 165, 233, 0.35);
}

.scenario-panel {
  display: none;
}

.scenario-panel.active {
  display: block;
  animation: fadeIn 0.3s var(--ease-spring);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.scenario-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px;
  align-items: center;
}

.scenario-text {
  min-width: 0;
}

.scenario-visual-box, .scenario-image-wrapper {
  min-width: 0;
  width: 100%;
  height: 380px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
}

.scenario-visual-box img, .scenario-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-spring);
}

.scenario-visual-box:hover img, .scenario-image-wrapper:hover img {
  transform: scale(1.03);
}

.sc-img-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(15, 23, 42, 0.78);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.scenario-text {
  display: flex;
  flex-direction: column;
}

.scenario-highlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 6px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.3);
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 14px;
  align-self: flex-start;
}

.scenario-text h3 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 14px;
  line-height: 1.3;
}

.scenario-text p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 24px;
}

.scenario-feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.scenario-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* 高辨识度打勾图标 (Tech White) */
.feature-icon-badge {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 7px;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 2px;
}

.feature-icon-badge svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.scenario-visual-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
}

.scenario-visual-box img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-spring);
}

.scenario-visual-box:hover img {
  transform: scale(1.03);
}

.scenario-overlay-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(226, 232, 240, 0.9);
  font-size: 0.85rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

/* --- 11. 自有硬核通信网络底座 (Infrastructure - Tech White) --- */
.infra-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.infra-card {
  padding: 26px 22px;
}

.infra-image-holder {
  width: 100%;
  height: 190px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 20px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.infra-image-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-spring);
}

.infra-card:hover .infra-image-holder img {
  transform: scale(1.05);
}

.infra-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.25);
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.infra-card h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
}

.infra-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- 12. 合作方案与 ROI 在线测算器 (Cooperation - Tech White) --- */
.coop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 50px;
}

.coop-plan-card {
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: all var(--duration-normal) var(--ease-spring);
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
}

.coop-plan-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 165, 233, 0.4);
  box-shadow: var(--shadow-card-hover);
}

.coop-plan-card.featured {
  border: 2px solid var(--primary);
  background: linear-gradient(180deg, #ffffff 0%, rgba(240, 249, 255, 0.6) 100%);
  box-shadow: 0 12px 36px rgba(14, 165, 233, 0.15);
}

.plan-ribbon {
  position: absolute;
  top: 20px;
  right: 24px;
  padding: 5px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.35);
}

.plan-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
}

.plan-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.plan-price {
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--text-main);
  font-family: var(--font-mono);
  margin-bottom: 24px;
}

.plan-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-family: var(--font-main);
  font-weight: 500;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.plan-icon-badge {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.plan-icon-badge svg {
  width: 14px;
  height: 14px;
}

/* 投资回报测算器 (Calculator - Tech White) */
.calculator-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.calc-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 36px;
}

.calc-header h3 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.calc-header p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.calc-interactive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.control-group label {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 12px;
}

.control-group label span:last-child {
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 1.15rem;
}

.slider-container {
  position: relative;
}

.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(226, 232, 240, 0.9);
  outline: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 0 14px rgba(14, 165, 233, 0.5);
  border: 2px solid #ffffff;
  transition: transform 0.15s var(--ease-bounce);
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

.slider-scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 8px;
  font-family: var(--font-mono);
}

.calc-results-card {
  background: rgba(248, 250, 252, 0.85);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.calc-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.calc-result-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
  padding-top: 6px;
}

.result-label {
  color: var(--text-secondary);
}

.result-val {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-main);
}

.result-val.highlight {
  font-size: 1.45rem;
  color: var(--accent-emerald);
}

/* --- 13. 专属会员特色生态赋能 (Ecosystem - Tech White) --- */
.eco-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.eco-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: all var(--duration-normal) var(--ease-spring);
  position: relative;
}

.eco-card:hover {
  border-color: rgba(14, 165, 233, 0.4);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.eco-number {
  font-size: 2.2rem;
  font-weight: 900;
  font-family: var(--font-mono);
  color: rgba(14, 165, 233, 0.2);
  line-height: 1;
  margin-bottom: 14px;
}

.eco-card h4 {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
}

.eco-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- 14. 官方权威资质与认证 (Qualifications - Tech White, 100% 大赉独立资质) --- */
.cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.cert-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow-card);
  transition: all var(--duration-normal) var(--ease-spring);
}

.cert-card:hover {
  border-color: rgba(14, 165, 233, 0.4);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.cert-thumb {
  width: 170px;
  height: 220px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.cert-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  transition: transform 0.4s var(--ease-spring);
}

.cert-thumb:hover img {
  transform: scale(1.08);
}

.cert-zoom-hint {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.2s;
  gap: 6px;
}

.cert-thumb:hover .cert-zoom-hint {
  opacity: 1;
}

.cert-info {
  display: flex;
  flex-direction: column;
}

.cert-info h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.cert-meta {
  display: inline-block;
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--primary);
  font-weight: 700;
  background: rgba(14, 165, 233, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(14, 165, 233, 0.25);
  margin-bottom: 12px;
  align-self: flex-start;
}

.cert-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- 15. 联系我们与地图导航 (Contact - Tech White) --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.3);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon-box svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.contact-details h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.contact-details p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-phone-link {
  font-size: 1.65rem;
  font-weight: 900;
  font-family: var(--font-mono);
  color: var(--primary);
  text-decoration: none;
  display: inline-block;
  margin-top: 2px;
  transition: color 0.2s;
}

.contact-phone-link:hover {
  color: #0369a1;
  text-decoration: underline;
}

.wechat-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-fast);
}

.wechat-box:hover {
  transform: translateY(-2px);
  border-color: rgba(14, 165, 233, 0.35);
  box-shadow: var(--shadow-md);
}

.wechat-qr-img {
  width: 104px;
  height: 104px;
  border-radius: 10px;
  background: #ffffff;
  padding: 4px;
  cursor: pointer;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  transition: transform var(--duration-normal) var(--ease-bounce);
}

.wechat-qr-img:hover {
  transform: scale(1.08);
}

.wechat-qr-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.wechat-desc h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.wechat-desc p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* 在线咨询表单 (Tech White) */
.contact-form-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
}

.contact-form-box h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.contact-form-box p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  background: #f8fafc;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--text-main);
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s;
}

.form-control:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.form-feedback-alert {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  animation: fadeIn 0.3s ease;
}

.form-feedback-alert.success {
  display: block;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #047857;
}

/* --- 16. 页脚 (Site Footer - Tech White) --- */
.site-footer {
  background: #f1f5f9;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  padding: 65px 0 32px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 45px;
}

.footer-brand h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.footer-col h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--duration-fast);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(203, 213, 225, 0.7);
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* 页脚合规备案与公安联网悬挂规范 (Tech White) */
.footer-compliance {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.compliance-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.84rem;
  line-height: 1.6;
}

.compliance-sep {
  color: rgba(148, 163, 184, 0.6);
}

.compliance-link {
  color: var(--text-secondary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color var(--duration-fast);
}

.compliance-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

.police-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.police-badge-img {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
}

/* --- 17. 交互式二级页面模态抽屉系统 (Interactive Sub-page Modal Sheets) --- */
.subpage-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.subpage-modal.active {
  display: flex;
  animation: subpageBackdropIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes subpageBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.subpage-dialog {
  width: 100%;
  max-width: 980px;
  max-height: 90vh;
  background: #ffffff;
  border: 1px solid rgba(203, 213, 225, 0.85);
  border-radius: 20px;
  box-shadow: var(--shadow-elevation-modal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  animation: subpageSlideUp 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes subpageSlideUp {
  from { opacity: 0; transform: translateY(28px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.subpage-header {
  padding: 22px 28px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
}

.subpage-title-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.subpage-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary);
  border: 1px solid rgba(14, 165, 233, 0.3);
  align-self: flex-start;
}

.subpage-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
}

.subpage-close-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f1f5f9;
  border: 1px solid rgba(203, 213, 225, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 1.5rem;
  transition: all 0.25s var(--ease-spring);
}

.subpage-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: scale(1.06);
}

.subpage-tabs-bar {
  display: flex;
  gap: 8px;
  padding: 10px 28px;
  background: #f8fafc;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  overflow-x: auto;
}

.subpage-tab-item {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  background: transparent;
  border: 1px solid transparent;
}

.subpage-tab-item:hover {
  color: var(--primary);
  background: rgba(14, 165, 233, 0.06);
}

.subpage-tab-item.active {
  color: var(--primary);
  background: #ffffff;
  border-color: rgba(14, 165, 233, 0.35);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
  font-weight: 700;
}

.subpage-body {
  padding: 28px;
  overflow-y: auto;
  flex: 1;
}

/* Tab 切换淡入微位移 (Fade-in with 8px Slide-up) */
.subpage-content-wrapper {
  animation: subpageContentIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes subpageContentIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.subpage-footer {
  padding: 16px 28px;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* 二级页面大厂文档级数据表格 (吸顶 + 斑马纹 + 等宽字体) */
.subpage-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 16px 0;
  font-size: 0.88rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 10px;
  overflow: hidden;
}

.subpage-table th {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #f1f5f9;
  backdrop-filter: blur(4px);
  font-weight: 700;
  color: var(--text-main);
  padding: 12px 16px;
  border-bottom: 1.5px solid rgba(203, 213, 225, 0.9);
  text-align: left;
}

.subpage-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  color: var(--text-secondary);
  line-height: 1.6;
}

.subpage-table tr:last-child td {
  border-bottom: none;
}

.subpage-table tr:nth-child(even) {
  background: rgba(248, 250, 252, 0.8);
}

.subpage-table tr:hover td {
  background: rgba(224, 242, 254, 0.35);
}

.subpage-table code, .subpage-table strong {
  font-family: var(--font-mono);
}

/* 矢量组件流向卡片 (Generative UI Component Cards) */
.component-flow-box {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin: 16px 0;
}

.component-flow-step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #ffffff;
  border: 1px solid rgba(14, 165, 233, 0.25);
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-main);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.component-flow-arrow {
  color: var(--primary);
  font-weight: 800;
  font-size: 1rem;
}

/* 拓扑雷达微扫描波 (Subtle Radar Sweep) */
.svg-topo-node.active .node-rect {
  stroke: var(--primary);
  stroke-width: 2;
  filter: drop-shadow(0 0 10px rgba(14, 165, 233, 0.35));
}


/* --- 18. 证书弹窗 (Lightbox - Tech White) --- */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-modal.active {
  display: flex;
  animation: modalFadeIn 0.25s var(--ease-spring);
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: calc(100vw - 48px);
  max-height: 75vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 50px rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #ffffff;
  padding: 8px;
}

.lightbox-caption {
  margin-top: 16px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  color: #fff;
  font-size: 2.2rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s var(--ease-bounce);
}

.lightbox-close:hover {
  color: var(--primary-light);
  transform: scale(1.15);
}

/* --- 19. 手机端底部吸底快捷工具条 (Mobile Bottom Bar - Tech White) --- */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(64px + env(safe-area-inset-bottom, 0px));
  padding: 0 8px env(safe-area-inset-bottom, 0px);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(203, 213, 225, 0.85);
  z-index: 1000;
  align-items: center;
  justify-content: space-around;
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
}

.m-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--text-secondary);
  font-size: 0.74rem;
  font-weight: 600;
  text-decoration: none;
  flex: 1;
  min-height: 48px;
  transition: transform var(--duration-fast) var(--ease-bounce), color var(--duration-fast);
}

.m-action-item:active {
  transform: scale(0.92);
}

.m-action-item svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.m-action-item:hover, .m-action-item.active {
  color: var(--primary);
}

.m-action-item.primary-call {
  color: #ffffff;
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  border-radius: 999px;
  height: 46px;
  margin: 0 6px;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.4);
}

.m-action-item.primary-call svg {
  width: 20px;
  height: 20px;
}

/* --- 20. 响应式断点 (Responsive Breakpoints - Tech White) --- */

/* 屏幕尺寸 <= 1024px (平板端与小型屏幕) */
@media (max-width: 1024px) {
  .nav-menu, .nav-actions .btn {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: flex !important;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-content {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    width: 100%;
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-media-wrapper {
    max-width: 440px;
    margin: 0 auto;
  }

  .arch-container {
    grid-template-columns: 1fr;
  }

  .scenario-content-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .calc-interactive-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .infra-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .eco-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cert-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

/* 屏幕尺寸 <= 768px (手机端专项重构) */
@media (max-width: 768px) {
  :root {
    --nav-height: 62px;
  }

  * {
    -webkit-tap-highlight-color: transparent;
  }

  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section {
    padding: 56px 0;
  }

  .section-header {
    margin-bottom: 32px;
    text-align: center;
  }

  .section-title {
    font-size: clamp(1.6rem, 5.5vw, 2.05rem);
    line-height: 1.25;
    margin-bottom: 12px;
  }

  .section-desc {
    font-size: 0.92rem;
    line-height: 1.65;
    padding: 0 4px;
    color: var(--text-secondary);
  }

  .nav-menu, .nav-actions .btn {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-bottom-bar {
    display: flex;
  }

  .hero-section {
    padding-top: calc(var(--nav-height) + 20px);
    padding-bottom: 44px;
  }

  .hero-title {
    font-size: clamp(2rem, 7.5vw, 2.5rem);
  }

  .hero-cta {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    gap: 12px;
    margin: 0 auto;
  }

  .hero-cta .btn {
    width: 100%;
    min-height: 50px;
    font-size: 1rem;
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .stat-item {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 14px;
    padding: 16px 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
  }

  .stat-value {
    font-size: 1.75rem;
  }

  .hero-float-card {
    display: none !important;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .compare-card {
    padding: 22px 16px;
  }

  .desktop-only {
    display: none !important;
  }

  .arch-visual {
    display: none !important;
  }

  .mobile-arch-flow {
    display: flex !important;
  }

  .arch-display-panel {
    padding: 22px 18px;
    min-height: auto;
  }

  .scenario-tabs-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 24px;
  }

  .scenario-tab-btn {
    padding: 12px 8px;
    font-size: 0.84rem;
    min-height: 48px;
    justify-content: center;
  }

  .scenario-content-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .scenario-visual-box img {
    height: 220px;
  }

  .infra-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .infra-card {
    padding: 20px 18px !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .infra-card h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    letter-spacing: -0.2px;
  }

  .infra-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
  }

  .coop-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .coop-plan-card {
    padding: 24px 18px;
  }

  .calculator-box {
    padding: 22px 16px;
  }

  .calc-interactive-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .eco-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cert-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cert-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 14px;
  }

  .cert-thumb {
    width: 100%;
    height: 200px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-form-box {
    padding: 22px 16px;
  }

  /* 核心防缩放规则：iOS 必须 >= 16px */
  .form-control {
    font-size: 16px !important;
    min-height: 48px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 14px;
    padding-top: 20px;
  }

  .footer-compliance {
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  .compliance-row {
    justify-content: center;
    text-align: center;
    font-size: 0.74rem;
    gap: 6px;
  }

  /* 二级页面手机端抽屉展开 */
  .subpage-modal {
    padding: 0;
    align-items: flex-end;
  }

  .subpage-dialog {
    max-height: 94dvh;
    border-radius: 20px 20px 0 0;
  }

  .subpage-header {
    padding: 18px 20px;
  }

  .subpage-tabs-bar {
    padding: 8px 16px;
  }

  .subpage-body {
    padding: 20px 16px;
  }

  .subpage-card-grid {
    grid-template-columns: 1fr;
  }

  .subpage-footer {
    padding: 14px 16px;
    flex-direction: column;
    align-items: stretch;
  }

  .subpage-footer .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* 导航栏滚动锚点偏移补偿 (消除导航栏遮挡标题 Bug) */
section[id], span[id] {
  scroll-margin-top: calc(var(--nav-height) + 24px);
}

/* 场景卡片内容高亮列表样式 */
.scenario-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  align-self: flex-start;
  border: 1px solid rgba(14, 165, 233, 0.25);
  line-height: 1.4;
}

.scenario-highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.h-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 50%;
  background: var(--primary);
  margin-top: 8px;
  box-shadow: 0 0 8px rgba(14, 165, 233, 0.6);
}

.highlight-item strong {
  color: var(--text-main);
}


/* 动态呼吸状态指示灯与辅助样式 */
.live-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.7);
  animation: livePulseAnim 2s ease-in-out infinite;
}

@keyframes livePulseAnim {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(14, 165, 233, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.visual-body {
  display: flex;
  flex-direction: column;
}

.subpage-subtitle {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.copy-phone-btn {
  cursor: pointer;
}

/* ==========================================================================
   15. 全栈表单交互反馈与 Loading 态增强 (Form Enhancements)
   ========================================================================== */
.form-feedback-alert {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  line-height: 1.6;
  animation: fadeInDown 0.25s var(--ease-smooth);
}

.feedback-success {
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.35);
  color: #065f46;
}

.feedback-error {
  background: rgba(225, 29, 72, 0.08);
  border: 1px solid rgba(225, 29, 72, 0.35);
  color: #9f1239;
}

.btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   16. 外部 AI 智能助手悬浮挂件与流式对话视窗 (AI Chat Widget)
   遵循 UI/UX Pro Max 规范与 Emil Design Engineering 物理弹簧阻尼微交互
   ========================================================================== */
#dalaiChatWidget {
  position: relative;
  z-index: 1050;
}

/* 屏幕右下角常驻悬浮挂件 */
.dalai-chat-trigger {
  position: fixed;
  right: 28px;
  bottom: 88px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 14px;
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
  color: #ffffff;
  border-radius: 999px;
  box-shadow: 0 8px 24px -4px rgba(2, 132, 199, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
  cursor: pointer;
  user-select: none;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s ease;
  z-index: 1050;
}

.dalai-chat-trigger:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 32px -4px rgba(2, 132, 199, 0.55), 0 0 18px rgba(14, 165, 233, 0.5);
}

.dalai-chat-trigger:active {
  transform: translateY(1px) scale(0.97);
}

.trigger-pulse {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: livePulseAnim 2s infinite ease-in-out;
}

.trigger-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.trigger-label {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.trigger-badge {
  padding: 2px 7px;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

/* 对话弹窗主容器 (PC端精致卡片) */
.dalai-chat-modal {
  position: fixed;
  right: 28px;
  bottom: 96px;
  width: 390px;
  height: 580px;
  max-height: calc(100vh - 120px);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(203, 213, 225, 0.8);
  border-radius: 22px;
  box-shadow: 0 24px 60px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(14, 165, 233, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px) scale(0.95);
  transition: opacity 0.22s var(--ease-smooth), transform 0.25s var(--ease-spring);
}

.dalai-chat-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* 弹窗头部 */
.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.chat-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
}

.chat-subtitle {
  font-size: 0.76rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.online-indicator {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

.chat-close-btn {
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}

.chat-close-btn:hover {
  color: var(--text-main);
  background: rgba(15, 23, 42, 0.06);
}

/* 消息滚动区 */
.chat-messages {
  flex: 1;
  padding: 18px 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #fafbfc;
  scroll-behavior: smooth;
}

.chat-msg {
  display: flex;
  gap: 10px;
  max-width: 90%;
  animation: fadeInDown 0.2s ease;
}

.chat-msg.msg-ai {
  align-self: flex-start;
}

.chat-msg.msg-user {
  align-self: flex-end;
  flex-direction: row;
}

.msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #e2e8f0;
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.msg-ai .msg-avatar {
  background: #0284c7;
  color: #ffffff;
}

.msg-content {
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.65;
  word-break: break-word;
}

.msg-ai .msg-content {
  background: #ffffff;
  color: var(--text-secondary);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.msg-user .msg-content {
  background: #0284c7;
  color: #ffffff;
  border-radius: 14px 14px 2px 14px;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

/* 推荐快捷提问气泡 */
.chat-quick-suggestions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.quick-btn {
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.28);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.quick-btn:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}

/* 打字机动画点 */
.chat-typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 0;
}

.chat-typing-dots span {
  width: 6px;
  height: 6px;
  background: var(--primary-light);
  border-radius: 50%;
  animation: dotPulse 1.2s infinite ease-in-out;
}

.chat-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotPulse {
  0%, 100% { transform: scale(0.6); opacity: 0.4; }
  50% { transform: scale(1.1); opacity: 1; }
}

/* 弹窗底部输入区 */
.chat-footer {
  padding: 12px 16px 14px;
  background: #ffffff;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.chat-input-form {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid rgba(203, 213, 225, 0.8);
  border-radius: 12px;
  padding: 4px 6px 4px 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.chat-input-form:focus-within {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
  background: #ffffff;
}

.chat-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 8px 0;
  font-size: 0.88rem;
  color: var(--text-main);
  outline: none;
}

.chat-input::placeholder {
  color: var(--text-muted);
  font-size: 0.84rem;
}

.chat-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: none;
  background: #0284c7;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s var(--ease-spring), background 0.15s ease;
}

.chat-send-btn:hover:not(:disabled) {
  background: #0ea5e9;
  transform: scale(1.05);
}

.chat-send-btn:disabled {
  background: #cbd5e1;
  cursor: not-allowed;
}

.chat-security-tip {
  margin-top: 8px;
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ==========================================================================
   17. 手机端全屏自适应与触控体验深度优化 (@media <= 768px)
   ========================================================================== */
@media (max-width: 768px) {
  /* 手机端精简微缩圆形胶囊悬浮球 (解决遮挡痛点，保持便捷可用) */
  .dalai-chat-trigger {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 12px;
    bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
    box-shadow: 0 4px 18px rgba(2, 132, 199, 0.45);
    transition: transform 0.28s var(--ease-spring), opacity 0.25s ease;
    z-index: 995;
    touch-action: none;
  }

  .dalai-chat-trigger .trigger-icon svg {
    width: 23px;
    height: 23px;
  }

  .trigger-label,
  .trigger-badge {
    display: none !important;
  }

  .trigger-pulse {
    top: 3px;
    right: 3px;
    left: auto;
    width: 8px;
    height: 8px;
  }

  /* 页面滚动时自动半收缩吸边模式 (智能微缩不遮挡，静止后自动回弹) */
  .dalai-chat-trigger.tucked {
    transform: translateX(18px);
    opacity: 0.58;
  }

  /* 当抽屉菜单或全屏模态框打开时，彻底隐藏悬浮按钮，绝不遮挡抽屉内操作 */
  body.drawer-open .dalai-chat-trigger,
  body.modal-open .dalai-chat-trigger,
  body.chat-modal-open .dalai-chat-trigger {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
  }

  .dalai-chat-modal {
    right: 0;
    bottom: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
    border: none;
    z-index: 1200;
  }

  .chat-header {
    padding: 14px 16px;
    padding-top: max(14px, env(safe-area-inset-top));
  }

  .chat-footer {
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }

  .chat-close-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .chat-input {
    font-size: 16px; /* 防止 iOS 浏览器点击输入框自动缩放页面 */
  }
}

/* 针对小屏手机优化 (<= 480px & <= 380px) */
@media (max-width: 480px) {
  .brand-logo {
    gap: 8px;
  }

  .logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .logo-icon svg {
    width: 20px;
    height: 20px;
  }

  .brand-title {
    font-size: 1.15rem;
  }

  .brand-sub {
    font-size: 0.66rem;
    letter-spacing: 0.2px;
  }

  .mobile-menu-toggle {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
  }
}

@media (max-width: 360px) {
  .brand-sub {
    display: none; /* 超小窄屏隐去副标，避免排版截断 */
  }
}

/* ==========================================================================
   18. 客户端分辨率与屏幕形态全自动智能适配引擎 (Dynamic Resolution Adaptation)
   ========================================================================== */

/* 1. 超紧凑窄屏手机 (<= 375px，如 iPhone SE / 迷你屏) */
[data-screen-tier="compact-mobile"] {
  --nav-height: 58px;
}
[data-screen-tier="compact-mobile"] .container {
  padding-left: 12px;
  padding-right: 12px;
}
[data-screen-tier="compact-mobile"] .hero-title {
  font-size: clamp(1.65rem, 6vw, 1.88rem);
  line-height: 1.25;
}
[data-screen-tier="compact-mobile"] .section-title {
  font-size: 1.45rem;
}
[data-screen-tier="compact-mobile"] .section {
  padding: 42px 0;
}
[data-screen-tier="compact-mobile"] .hero-cta .btn {
  font-size: 0.92rem;
  min-height: 46px;
  padding: 8px 12px;
}
[data-screen-tier="compact-mobile"] .brand-title {
  font-size: 1.08rem;
}

/* 2. 平板端横竖屏智能自适应 (769px - 1024px) */
[data-screen-tier="tablet"] .container {
  padding-left: 24px;
  padding-right: 24px;
}
[data-screen-tier="tablet"] .hero-grid {
  grid-template-columns: 1fr;
  gap: 36px;
}
[data-screen-tier="tablet"] .infra-grid {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 20px;
}
[data-screen-tier="tablet"] .products-grid {
  grid-template-columns: 1fr;
  gap: 24px;
}

/* 3. 2K/4K 视网膜超宽大屏 (> 1440px) */
[data-screen-tier="wide-screen"] .container {
  max-width: 1320px;
}
[data-screen-tier="wide-screen"] .hero-title {
  font-size: 3.2rem;
}

/* 4. 移动端横向旋转防拥挤适配 */
@media (max-height: 500px) and (orientation: landscape) {
  :root {
    --nav-height: 52px;
  }
  .mobile-bottom-bar {
    display: none !important;
  }
  .hero-section {
    padding-top: calc(var(--nav-height) + 12px);
    padding-bottom: 30px;
  }
}

