/* ═══ css/base/reset.css ═══ */
/* Modern CSS Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family-primary);
  line-height: var(--leading-normal);
  color: var(--neutral-gray-800);
  background-color: var(--neutral-gray-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

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

button, input, textarea, select {
  font: inherit;
}

/* ═══ css/base/variables.css ═══ */
:root {
  /* === 主色系 - 亮蓝科技 === */
  --primary-blue: #0095FF;            /* 主蓝色 - 更亮 */
  --primary-blue-light: #00B4FF;      /* 浅蓝色 - 更亮 */
  --primary-blue-bright: #00D4FF;     /* 亮蓝色 - 科技感 */
  --primary-blue-accent: #0693e3;     /* 强调蓝色 */
  --primary-blue-dark: #0066CC;       /* 深蓝色 - 更亮 */
  --primary-blue-alpha: rgba(0, 149, 255, 0.1);

  /* === 深海军蓝 - 首页 Hero 背景系 === */
  --primary-navy-950: #001428;        /* Hero 渐变最深处 */
  --primary-navy-900: #002952;        /* Hero 渐变次深 */
  --primary-navy-700: #003d7a;        /* Hero 渐变主色 */
  --primary-navy-500: #0055a8;        /* Hero 渐变亮端 */

  /* === 顶部导航渐变 === */
  --gradient-nav: linear-gradient(90deg, #3C54B8 0%, #4371C9 50%, #4893D2 100%);

  /* === 辅色系 - 亮蓝变体 === */
  --secondary-blue-dark: #0066CC;     /* 深蓝色 */
  --secondary-blue: #0095FF;          /* 中蓝色 */
  --secondary-blue-light: #00B4FF;    /* 浅蓝色 */
  --secondary-blue-alpha: rgba(0, 149, 255, 0.1);

  /* === 现代渐变色 - 科技感 === */
  --gradient-primary: linear-gradient(70deg, #0095FF 0%, #00D4FF 100%);
  --gradient-secondary: linear-gradient(135deg, #0066CC 0%, #0095FF 100%);
  --gradient-tech: linear-gradient(135deg, #0066CC 0%, #0095FF 50%, #00D4FF 100%);
  --gradient-glass: linear-gradient(135deg, rgba(0, 149, 255, 0.2) 0%, rgba(0, 212, 255, 0.1) 100%);

  /* === 中性色系 === */
  --neutral-white: #ffffff;
  --neutral-gray-50: #f8fafc;
  --neutral-gray-100: #f1f5f9;
  --neutral-gray-200: #e2e8f0;
  --neutral-gray-300: #cbd5e1;
  --neutral-gray-400: #94a3b8;
  --neutral-gray-500: #64748b;
  --neutral-gray-600: #475569;
  --neutral-gray-700: #334155;
  --neutral-gray-800: #1e293b;
  --neutral-gray-900: #0f172a;

  /* === 功能色系 === */
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --error-color: #ef4444;
  --info-color: #0095FF;

  /* === 毛玻璃效果 === */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  --glass-backdrop: blur(10px);

  /* === 字体系统 === */
  --font-family-primary: system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  --font-family-mono: ui-monospace, 'SF Mono', 'Monaco', 'Consolas', monospace;
  --font-family-chinese: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;

  /* === 字体大小 === */
  --text-xs: 0.75rem;    /* 12px */
  --text-sm: 0.875rem;   /* 14px */
  --text-base: 1rem;     /* 16px */
  --text-lg: 1.125rem;   /* 18px */
  --text-xl: 1.25rem;    /* 20px */
  --text-2xl: 1.5rem;    /* 24px */
  --text-3xl: 1.875rem;  /* 30px */
  --text-4xl: 2.25rem;   /* 36px */
  --text-5xl: 3rem;      /* 48px */

  /* === 字重 === */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  /* === 行高 === */
  --leading-tight: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.75;

  /* === 间距系统 === */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */

  /* === 圆角 === */
  --radius-sm: 0.25rem;   /* 4px */
  --radius-md: 0.5rem;    /* 8px */
  --radius-lg: 0.75rem;   /* 12px */
  --radius-xl: 1rem;      /* 16px */
  --radius-2xl: 1.5rem;   /* 24px */
  --radius-full: 9999px;

  /* === 层级系统（替代全站魔法数字） === */
  --z-sticky: 999;          /* 吸顶条 / 悬浮按钮 / 移动端菜单（位于顶栏之下） */
  --z-nav: 1000;            /* 固定顶栏 */
  --z-nav-dropdown: 1001;   /* 顶栏下拉菜单 */
  --z-modal: 9999;          /* 弹窗与浮层（原 9000/9999/10000 三套并存，统一至此） */

  /* === 阴影 === */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] {
  --glass-bg: rgba(15, 23, 42, 0.3);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ═══ css/base/typography.css ═══ */
body {
  font-family: var(--font-family-primary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-chinese);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  color: var(--neutral-gray-900);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

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

/* ═══ css/base/a11y.css ═══ */
/* ============================================================
   可访问性基础（全站生效，随 core.css 加载）
   1) 键盘焦点可见环  2) 屏幕阅读器工具类  3) 动效豁免
   ============================================================ */

/* 键盘导航必须有可见焦点环；:focus-visible 不影响鼠标点击的视觉 */
:focus-visible {
  outline: 3px solid rgba(0, 149, 255, 0.85) !important;
  outline-offset: 2px !important;
}

/* 文本类表单控件自带边框/阴影焦点态（trial-modal、price-calculator、invoice 等），
   不再叠加外圈 outline，避免出现双重边框 */
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none !important;
}

/* 仅供屏幕阅读器的文本（不依赖 Font Awesome 的 .fa-sr-only） */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* 动效敏感用户：过渡与关键帧动画收为一帧 */
@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;
  }
}

/* ═══ css/layout/containers.css ═══ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.container-fluid {
  width: 100%;
  padding: 0 var(--space-4);
}

.container-sm { max-width: 640px; margin: 0 auto; padding: 0 var(--space-4); }
.container-md { max-width: 768px; margin: 0 auto; padding: 0 var(--space-4); }
.container-lg { max-width: 1024px; margin: 0 auto; padding: 0 var(--space-4); }
.container-xl { max-width: 1280px; margin: 0 auto; padding: 0 var(--space-4); }

/* Responsive Padding */
@media (max-width: 768px) {
  .container { padding: 0 var(--space-3); }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .container { padding: 0 var(--space-5); }
}

@media (min-width: 1024px) {
  .container { padding: 0 var(--space-6); }
}

@media (min-width: 1200px) {
  .container { max-width: 1280px; }
}

/* ═══ css/layout/grid.css ═══ */
/* === Grid System === */
.grid {
  display: grid;
  gap: var(--space-6);
}

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

/* === Flexbox === */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }

.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-stretch { align-items: stretch; }

.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }

.flex-1 { flex: 1 1 0%; }
.flex-auto { flex: 1 1 auto; }
.flex-none { flex: none; }
.gap-4 { gap: var(--space-4); }
.gap-8 { gap: var(--space-8); }

/* === Responsive Grid === */
@media (min-width: 769px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .lg\:grid-cols-6 { grid-template-columns: repeat(6, 1fr); }
}

/* ═══ css/components/buttons.css ═══ */
/* === 基础按钮 === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-family-primary);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  line-height: var(--leading-tight);
  text-decoration: none;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}

/* 内层上移：外层 .btn 保持原有几何命中区，避免下沿悬停抖动 */
.btn .btn-shift {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-width: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s;
}

.btn:hover:before {
  left: 100%;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(255,255,255,0.4), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn:hover::after {
  opacity: 1;
}

/* === 主要按钮 === */
.btn-primary {
  background: var(--gradient-primary);
  color: var(--neutral-white);
  box-shadow: 0 10px 30px rgba(0, 149, 255, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 15px 40px rgba(0, 212, 255, 0.6);
  background: linear-gradient(70deg, var(--primary-blue-bright) 0%, var(--primary-blue) 100%);
}

.btn-primary:hover > .btn-shift {
  transform: translateY(-3px);
}

.btn-primary:active > .btn-shift {
  transform: translateY(-1px);
}

.btn-primary:active {
  box-shadow: 0 5px 20px rgba(0, 149, 255, 0.4);
}

/* === 毛玻璃按钮 === */
.btn-glass {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--neutral-white);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 12px 40px rgba(255, 255, 255, 0.2);
}

.btn-glass:hover > .btn-shift {
  transform: translateY(-3px);
}

.btn-glass:active > .btn-shift {
  transform: translateY(-1px);
}

/* === 次要按钮 === */
.btn-secondary {
  background: var(--gradient-secondary);
  color: var(--neutral-white);
  box-shadow: 0 8px 25px rgba(0, 149, 255, 0.3);
}

.btn-secondary:hover {
  box-shadow: 0 12px 35px rgba(0, 212, 255, 0.45);
}

.btn-secondary:hover > .btn-shift {
  transform: translateY(-2px);
}

/* === 按钮尺寸 === */
.btn-sm { 
  padding: var(--space-2) var(--space-4); 
  font-size: var(--text-sm);
  border-radius: 40px;
}

.btn-lg { 
  padding: var(--space-4) var(--space-8); 
  font-size: var(--text-lg);
  border-radius: 60px;
}

.btn-xl { 
  padding: 18px 48px; 
  font-size: 1.125rem;
  border-radius: 60px;
  font-weight: 600;
}

/* ═══ css/components/cards.css ═══ */
/* === 基础卡片 === */
.card {
  background: var(--neutral-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow-xl);
}

/* === 毛玻璃卡片 === */
.card-glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-backdrop);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

/* === 卡片内容 === */
.card-header {
  padding: var(--space-6);
  border-bottom: 1px solid var(--neutral-gray-200);
}

.card-body {
  padding: var(--space-6);
}

.card-footer {
  padding: var(--space-6);
  border-top: 1px solid var(--neutral-gray-200);
  background: var(--neutral-gray-50);
}

/* ═══ css/components/section-heading.css ═══ */
/* ============================================================
   区块标题组件（全站共享，随 core.css 加载）
   A) 基础版：徽章 + 渐变大标题 + 下划线（首页与资讯类页面）
   B) 三件套版：44px 深色标题 + 大写副标 + 渐变分隔线，
      仅作用于 .section-header 内（pricing/product/app/danzheng），
      由原 pricing/product/app/danzheng 四处逐字拷贝收编而来。
   ============================================================ */

/* ---------- A) 基础版（自 home.css 迁出） ---------- */

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title .text-primary {
    color: var(--primary-blue);
    font-size: 0.8125rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(0, 149, 255, 0.08) 0%, rgba(0, 212, 255, 0.05) 100%);
    border-radius: 30px;
    border: 1px solid rgba(0, 149, 255, 0.15);
    margin-bottom: 18px;
    order: 1;
}

.section-title h2 {
    font-size: 2.75rem;
    color: var(--primary-blue-dark);
    margin-bottom: 1.5rem;
    font-weight: 800;
    position: relative;
    display: block;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--primary-navy-700) 0%, var(--primary-blue-dark) 50%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    order: 2;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-blue-bright));
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 149, 255, 0.4);
}

.section-title>p:not(.text-primary) {
    color: var(--neutral-gray-600);
    font-size: 1.0625rem;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.75;
    margin-top: 10px;
    order: 3;
}

/* ---------- B) 三件套版（.section-header 作用域，优先于基础版） ---------- */

.section-header .section-title {
  font-size: 44px;
  color: #1A2332;
  margin-bottom: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.section-header .section-subtitle {
  color: #64748B;
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 500;
}

.section-header .section-divider {
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-blue-dark));
  margin: 25px auto 0;
  border-radius: 3px;
  position: relative;
}

.section-header .section-divider::before {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--primary-blue);
  border-radius: 50%;
  left: -12px;
  top: -2px;
}

.section-header .section-divider::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--primary-blue-dark);
  border-radius: 50%;
  right: -12px;
  top: -2px;
}

/* ═══ css/components/table.css ═══ */
/* ============================================================
   对比表格公共皮肤（comparison-table @pricing 与 agent-table @ai-employee
   的逐字重复收编于此，页面文件仅保留各自的扩展规则）
   ============================================================ */

.comparison-table,
.agent-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.comparison-table thead,
.agent-table thead {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
}

.comparison-table th,
.agent-table th {
  padding: 20px;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
}

.comparison-table th:first-child,
.agent-table th:first-child {
  text-align: left;
  padding-left: 30px;
}

.comparison-table td,
.agent-table td {
  padding: 18px 20px;
  border-bottom: 1px solid #E8E8E8;
  text-align: center;
  font-size: 15px;
}

.comparison-table td:first-child,
.agent-table td:first-child {
  text-align: left;
  padding-left: 30px;
  font-weight: 500;
  color: #2C3E50;
}

.comparison-table tbody tr:hover,
.agent-table tbody tr:hover {
  background: #F8F9FA;
}

.comparison-table tbody tr:last-child td,
.agent-table tbody tr:last-child td {
  border-bottom: none;
}

/* ═══ css/utilities/text.css ═══ */
/* === Text Utilities === */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }
.text-4xl { font-size: var(--text-4xl); }

.font-light { font-weight: var(--font-light); }
.font-normal { font-weight: var(--font-normal); }
.font-medium { font-weight: var(--font-medium); }
.font-semibold { font-weight: var(--font-semibold); }
.font-bold { font-weight: var(--font-bold); }

.text-primary { color: var(--primary-blue); }
.text-secondary { color: var(--secondary-blue); }
.text-gray-500 { color: var(--neutral-gray-500); }
.text-gray-800 { color: var(--neutral-gray-800); }
.text-white { color: var(--neutral-white); }

/* === Spacing Utilities === */
.m-0 { margin: 0; }
.m-4 { margin: var(--space-4); }
.my-4 { margin-top: var(--space-4); margin-bottom: var(--space-4); }
.my-8 { margin-top: var(--space-8); margin-bottom: var(--space-8); }
.my-12 { margin-top: var(--space-12); margin-bottom: var(--space-12); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-12 { margin-top: var(--space-12); }

.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }
.py-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.py-8 { padding-top: var(--space-8); padding-bottom: var(--space-8); }
.py-12 { padding-top: var(--space-12); padding-bottom: var(--space-12); }
.px-4 { padding-left: var(--space-4); padding-right: var(--space-4); }

.ml-4 { margin-left: var(--space-4); }

/* ═══ css/main.css ═══ */
/* Main CSS Entry Point */
/* This file is a placeholder/aggregator if needed, 
   but currently HTML imports files individually for clarity */

/* Additional Global Styles */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

footer {
  margin-top: auto;
}

/* Background pattern for "Tech" feel */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 15% 50%, rgba(58, 76, 180, 0.05), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(78, 160, 226, 0.05), transparent 25%);
  z-index: -1;
  pointer-events: none;
}

/* ═══ css/layout/site-chrome.css ═══ */
/* 站点公共框架样式：顶部导航 + 页脚 + 返回顶部按钮。
   由 home.css 拆出（原 core.css 把全部首页样式发给全站），所有页面经 core.css 加载。 */

.main-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: var(--z-nav);
    background: var(--gradient-nav);
    border-bottom: 1px solid rgba(0, 212, 255, 0.15);
    backdrop-filter: blur(20px);
    transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 20px rgba(0, 149, 255, 0.15);
}

.main-header img { display: block; height: 42px; width: auto; }

.main-header.scrolled {
    background: var(--gradient-nav);
    box-shadow: 0 4px 30px rgba(0, 149, 255, 0.25);
    border-bottom-color: rgba(0, 212, 255, 0.3);
}

.main-header a {
    color: rgba(255, 255, 255, 0.9) !important;
    transition: all 0.3s ease;
    position: relative;
}

.main-header .nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.main-header .nav-menu a:hover::after {
    width: 100%;
}

.main-header a:hover {
    color: var(--primary-blue-bright) !important;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(0, 26, 51, 0.98) 0%, rgba(0, 61, 122, 0.98) 100%);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    z-index: var(--z-sticky);
}

.mobile-menu.active {
    max-height: 700px;
    opacity: 1;
}

.mobile-menu a {
    display: block;
    padding: 16px 24px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    font-size: 1rem;
}

.mobile-menu a:hover {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-blue-bright);
    padding-left: 32px;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

/* 移动端「热门选配」折叠组（header.html 全站注入，样式必须随 site-chrome 全站生效） */
.mobile-nav-group-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    user-select: none;
}

.mobile-nav-group-title:hover {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-blue-bright);
    padding-left: 32px;
}

.mobile-nav-group-chevron {
    transition: transform 0.25s ease;
    flex-shrink: 0;
    opacity: 0.8;
}

.mobile-nav-group.open .mobile-nav-group-chevron {
    transform: rotate(180deg);
}

.mobile-nav-group-items {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-nav-group.open .mobile-nav-group-items {
    max-height: 200px;
}

.mobile-nav-group-items a {
    display: block;
    padding: 13px 24px 13px 38px;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    font-size: 0.9375rem;
}

.mobile-nav-group-items a:hover {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-blue-bright);
    padding-left: 46px;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: default;
}

.nav-dropdown-chevron {
    transition: transform 0.25s ease;
    flex-shrink: 0;
    opacity: 0.8;
}

.nav-dropdown:hover .nav-dropdown-chevron {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    min-width: 170px;
    background: linear-gradient(180deg, rgba(0, 26, 51, 0.97) 0%, rgba(0, 61, 122, 0.97) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    list-style: none;
    padding: 6px 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: var(--z-nav-dropdown);
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.nav-dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9375rem;
}

.nav-dropdown-menu li a::after {
    display: none !important;
}

.nav-dropdown-menu li:last-child a {
    border-bottom: none;
}

.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 56px;
    height: 56px;
    background: var(--primary-blue);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: var(--z-sticky);
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px) scale(0.8);
    overflow: visible;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top.visible:hover {
    transform: translateY(0) scale(1);
    background: #1AA3FF;
    box-shadow: 0 10px 28px rgba(0, 149, 255, 0.45);
}

.back-to-top.visible:hover > .btn-shift {
    transform: translateY(-5px) scale(1.08);
}

.back-to-top.visible:active {
    transform: translateY(0) scale(1);
    box-shadow: 0 6px 18px rgba(0, 149, 255, 0.35);
}

.back-to-top.visible:active > .btn-shift {
    transform: translateY(-2px) scale(1.02);
}

.back-to-top > .btn-shift {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-to-top svg {
    position: relative;
    z-index: 1;
}

@keyframes back-to-top-ripple {
    0% {
        transform: scale(1);
        opacity: 0.55;
    }
    100% {
        transform: scale(1.85);
        opacity: 0;
    }
}

.back-to-top::before,
.back-to-top::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(0, 149, 255, 0.5);
    pointer-events: none;
    animation: back-to-top-ripple 2.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.back-to-top::after {
    animation-delay: 1.2s;
}

footer {
    background: linear-gradient(180deg, #0f1224 0%, #1a1f3c 100%) !important;
    color: #8b9bb4 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.4), transparent);
}

footer h4 {
    color: #fff !important;
    font-weight: 600;
}

footer a {
    color: #8b9bb4 !important;
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--primary-blue-bright) !important;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 0;
}

.footer-links a {
    padding: 0 12px;
}

.footer-links .link-separator {
    color: rgba(139, 155, 180, 0.4);
    font-size: 0.875rem;
}

.copyright {
    line-height: 1.75;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.copyright-main-line {
    display: block;
    width: 100%;
    max-width: 100%;
    text-align: center;
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.copyright-company-line {
    display: block;
    width: 100%;
    text-align: center;
}

.copyright-filings-line {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    max-width: 100%;
}

@media (min-width: 769px) {
.copyright {
flex-direction: row;
flex-wrap: nowrap;
align-items: center;
justify-content: center;
gap: 0.5rem;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}
.copyright-main-line {
display: inline;
width: auto;
max-width: none;
flex: 0 0 auto;
white-space: nowrap;
overflow-x: visible;
}
.copyright-company-line {
display: inline;
width: auto;
flex: 0 0 auto;
white-space: nowrap;
}
.copyright-filings-line {
flex: 0 0 auto;
white-space: nowrap;
}
}

.copyright a {
    color: #8b9bb4 !important;
    text-decoration: none;
    transition: color 0.3s ease;
    padding-left: 0 !important;
}

.copyright a:hover {
    color: var(--primary-blue-bright) !important;
}

.beian-text {
    display: inline;
    vertical-align: middle;
    line-height: 1.35;
}

.beian-icp {
    display: inline !important;
}

.beian-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    margin-left: 0;
}

.beian-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

@media (max-width: 768px) {
.copyright {
line-height: 1.65;
font-size: 0.8125rem;
padding: 0 12px;
gap: 0.45rem;
}
.copyright-main-line {
white-space: nowrap;
overflow-x: auto;
overflow-y: hidden;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
font-size: clamp(0.65rem, 2.85vw, 0.8125rem);
letter-spacing: -0.02em;
padding-bottom: 2px;
}
.copyright-main-line::-webkit-scrollbar {
display: none;
}
.copyright-company-line {
font-size: 0.8125rem;
line-height: 1.5;
padding: 0 4px;
}
.copyright-filings-line {
gap: 0.35rem;
font-size: clamp(0.65rem, 2.9vw, 0.75rem);
padding: 0 4px;
}
.beian-link {
margin-top: 0;
}
.beian-text {
line-height: 1.35;
}
}

@media (max-width: 480px) {
.copyright {
font-size: 0.75rem;
padding: 0 8px;
}
.copyright-company-line {
font-size: 0.75rem;
}
.beian-icon {
width: 14px;
height: 14px;
}
}

@media (max-width: 768px) {
.main-header .nav-menu {
display: none;
}
.mobile-menu-toggle {
display: block;
}
.mobile-menu {
display: block;
}
.back-to-top {
width: 50px;
height: 50px;
bottom: 30px;
right: 30px;
}
.back-to-top svg {
width: 20px;
height: 20px;
}
footer .grid {
grid-template-columns: 1fr;
gap: 30px;
text-align: center;
}
.footer-links {
font-size: 0.8125rem;
gap: 4px 0;
}
.footer-links a {
padding: 0 6px;
font-size: 0.8125rem;
}
.footer-links .link-separator {
margin: 0 2px;
font-size: 0.75rem;
}
}

@media (max-width: 480px) {
.back-to-top {
width: 46px;
height: 46px;
bottom: 20px;
right: 20px;
}
.back-to-top svg {
width: 18px;
height: 18px;
}
.footer-links {
font-size: 0.75rem;
gap: 2px 0;
line-height: 1.8;
}
.footer-links a {
padding: 0 4px;
font-size: 0.75rem;
display: inline;
}
.footer-links .link-separator {
margin: 0 1px;
font-size: 0.7rem;
}
}
