@charset "UTF-8";

/**
 * 察心智能官网 - 自定义科技感样式、动效与高级矢量图标系统
 * @version 3.0.0 (Build 20261016)
 * 结合 Cyber Grid 赛博网格、霓虹微光、全息玻璃态与高精度双色矢量图标
 */

/* 字体改为自托管：声明见 assets/css/fonts.css，授权见 assets/fonts/README.md */

:root {
  --color-brand-cyan: #0FA3B1;
  --color-brand-cyan-light: #4DC4C0;
  --color-brand-orange: #FF9F1C;
  --color-brand-dark: #082F34;
  --color-brand-interactive: #087D87;
  --color-brand-heading: #20343A;
  --color-brand-light-bg: #F4F8F8;
  --color-brand-cyan-bg: #EAF7F7;
  --color-brand-border: #D6E8E8;
  --color-brand-body: #595959;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  font-family: "CX Web Sans", "Source Han Sans SC", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--color-brand-body);
  background-color: #FFFFFF;
  line-height: 1.7;
}

/* 现代中文排版避孤字与视觉平衡换行规范 */
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
  word-break: break-word;
}

/* 等宽字体类用于科技遥测数据 */
.font-mono-tech {
  font-family: "CX Web Mono", "JetBrains Mono", Menlo, Monaco, Consolas, monospace;
}

/* 键盘可访问性焦点指示器 */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--color-brand-orange);
  outline-offset: 2px;
}

/* 优雅滚动条 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #082F34;
}
::-webkit-scrollbar-thumb {
  background: #0FA3B1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-brand-cyan-light);
}

/* 赛博网格科技背景 (Cyber Grid) */
.cyber-grid {
  background-image: 
    linear-gradient(to right, rgba(77, 196, 192, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(77, 196, 192, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}

.cyber-grid-dense {
  background-image: 
    linear-gradient(to right, rgba(15, 163, 177, 0.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 163, 177, 0.12) 1px, transparent 1px);
  background-size: 16px 16px;
}

/* 霓虹发光与光晕效果 */
.neon-glow-cyan {
  box-shadow: 0 0 25px -4px rgba(15, 163, 177, 0.45);
}
.neon-glow-orange {
  box-shadow: 0 0 25px -4px rgba(255, 159, 28, 0.5);
}

/* 玻璃拟态与渐变边框 */
.glass-panel {
  background: rgba(8, 47, 52, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(77, 196, 192, 0.25);
}

.glass-panel-light {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(214, 232, 232, 0.8);
}

/* 高级科技流光卡片 (Border Gradient Shimmer) */
.tech-card {
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.tech-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(15, 163, 177, 0.4), transparent 50%, rgba(255, 159, 28, 0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.4s ease;
}
.tech-card:hover::before {
  opacity: 1;
}
.tech-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(8, 47, 52, 0.15);
}

/* 高级科技图标容器系统 (摒弃土味色块，采用微质感赛博中枢容器) */
.tech-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 16px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.tech-icon-cyan {
  background: linear-gradient(135deg, rgba(15, 163, 177, 0.16), rgba(8, 47, 52, 0.05));
  border: 1px solid rgba(77, 196, 192, 0.35);
  color: var(--color-brand-cyan);
  box-shadow: 0 4px 14px rgba(8, 47, 52, 0.06);
}

.tech-icon-orange {
  background: linear-gradient(135deg, rgba(255, 159, 28, 0.18), rgba(255, 159, 28, 0.05));
  border: 1px solid rgba(255, 159, 28, 0.4);
  color: var(--color-brand-orange);
  box-shadow: 0 4px 14px rgba(255, 159, 28, 0.1);
}

.tech-icon-dark {
  background: linear-gradient(135deg, rgba(8, 47, 52, 0.8), rgba(8, 47, 52, 0.95));
  border: 1px solid rgba(77, 196, 192, 0.3);
  color: var(--color-brand-cyan-light);
  box-shadow: 0 4px 16px rgba(8, 47, 52, 0.4);
}

/* 卡片悬浮时图标微动与辉光响应 */
.tech-card:hover .tech-icon-cyan {
  border-color: var(--color-brand-cyan);
  box-shadow: 0 0 22px rgba(15, 163, 177, 0.38);
  transform: translateY(-2px) scale(1.05);
}

.tech-card:hover .tech-icon-orange {
  border-color: var(--color-brand-orange);
  box-shadow: 0 0 22px rgba(255, 159, 28, 0.42);
  transform: translateY(-2px) scale(1.05);
}

/* 呼吸光点动效 */
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}
.pulse-dot-cyan {
  animation: pulse-dot 2s ease-in-out infinite;
}
.pulse-dot-orange {
  animation: pulse-dot 1.8s ease-in-out infinite;
}

/* 减弱动画适配 */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 工业级工程透视控制台与知识沙盘样式 (去AI浮夸味，采用严肃工程质感) */
.code-hud-box {
  background-color: #051a1d;
  border: 1px solid rgba(77, 196, 192, 0.25);
  font-family: 'CX Web Mono', 'JetBrains Mono', Consolas, Monaco, monospace;
}

.hairline-card {
  border: 1px solid rgba(15, 163, 177, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hairline-card:hover {
  border-color: rgba(77, 196, 192, 0.6);
  box-shadow: 0 12px 30px -10px rgba(8, 47, 52, 0.12);
}

.sandbox-tab.active {
  background-color: #082F34;
  color: #FFFFFF;
  border-color: #0FA3B1;
  box-shadow: 0 4px 14px rgba(8, 47, 52, 0.15);
}

.sandbox-tab.active .sandbox-tab-badge {
  background-color: #FF9F1C;
  color: #082F34;
}

/* ==========================================================================
   V3.0.1 补充工具类
   本站 Tailwind 为静态编译产物（只含旧页面用到的类），因此新增的少量工具类
   在此手动补齐；加载顺序上 tailwind.css 在后，但类名互不重叠，不会互相覆盖。
   ========================================================================== */
.aspect-square { aspect-ratio: 1 / 1; }

/* 人像裁切时把焦点稍上移，避免方形裁切切掉下巴 */
.object-face { -o-object-position: center 32%; object-position: center 32%; }

/* 客户 Logo 墙：统一容器高度，按各自的视觉重量单独设定最大高度 */
.logo-wall {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-wall img {
  max-height: 46px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.logo-wall img.tall  { max-height: 64px; }   /* 飞利浦盾形主标，纵向 */
.logo-wall img.small { max-height: 30px; }   /* 南孚、聚复，横向细长 */
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* 客户短视频缩略图：播放标记放在右下角，不遮挡画面主体 */
.video-card__badge {
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(8, 47, 52, 0.55);
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.video-card:hover .video-card__badge {
  background: rgba(8, 47, 52, 0.9);
  transform: scale(1.08);
}
.video-card img { transition: transform 0.5s ease; }
.video-card:hover img { transform: scale(1.04); }
/* 团队照片上的能力标签：整体缩小一档（配合「整体变小」的反馈） */
.team-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  line-height: 1.25;
  font-weight: 700;
}
@media (min-width: 640px) {
  .team-tag { font-size: 11px; }
}
/* 核心团队三张人物卡片：整体限宽，避免卡片过大（三列布局不变） */
.team-cards {
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}

/* ===========================================================================
   访问统计看板（隐藏入口 5 连击触发，脚本按需加载）
   =========================================================================== */
.cxstats-mask {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(4, 24, 27, 0.78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.cxstats-mask.is-open { display: flex; }

.cxstats-panel {
  display: flex;
  flex-direction: column;
  width: min(980px, 96vw);
  max-height: 90vh;
  overflow: hidden;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.cxstats-body { display: flex; flex-direction: column; min-height: 0; }

.cxstats-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid #D6E8E8;
  flex-wrap: wrap;
}


.cxstats-host {
  margin-left: 6px;
  padding: 2px 6px;
  font-size: 11px;
  font-weight: 400;
  color: #087D87;
  background: #EAF7F7;
  border: 1px solid #D6E8E8;
  border-radius: 6px;
  cursor: pointer;
}
.cxstats-title { font-size: 15px; font-weight: 700; color: #20343A; }
.cxstats-sub { font-size: 12px; font-weight: 400; color: #8a9a9d; margin-left: 6px; }

.cxstats-tools { display: flex; align-items: center; gap: 6px; }

.cxstats-range {
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 8px;
  border: 1px solid #D6E8E8;
  background: #F4F8F8;
  color: #595959;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cxstats-range:hover { border-color: #0FA3B1; color: #087D87; }
.cxstats-range.is-active { background: #0FA3B1; border-color: #0FA3B1; color: #fff; }

.cxstats-close {
  width: 28px;
  height: 28px;
  margin-left: 4px;
  font-size: 20px;
  line-height: 1;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #8a9a9d;
  cursor: pointer;
}

.cxstats-close:hover { background: #F4F8F8; color: #20343A; }

.cxstats-scroll { overflow-y: auto; padding: 16px 18px 20px; }

/* 数字卡 */
.cxstats-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.cxstats-card {
  padding: 12px 10px;
  text-align: center;
  background: #F4F8F8;
  border: 1px solid #D6E8E8;
  border-radius: 10px;
}

.cxstats-card-v { font-size: 22px; font-weight: 700; color: #082F34; line-height: 1.2; }
.cxstats-card-l { font-size: 11px; color: #595959; margin-top: 2px; }
.cxstats-card-u { font-size: 10px; color: #0FA3B1; margin-top: 2px; }

/* 区块 */
.cxstats-section { margin-bottom: 18px; }
.cxstats-section h4 { font-size: 12px; font-weight: 700; color: #20343A; margin: 0 0 8px; }

/* 柱状图 */
.cxstats-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 140px;
  padding: 8px 6px 0;
  background: #F4F8F8;
  border: 1px solid #D6E8E8;
  border-radius: 10px;
  overflow-x: auto;
}

.cxstats-bar-item {
  flex: 1 0 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  min-width: 18px;
}

.cxstats-bar-wrap { flex: 1; display: flex; align-items: flex-end; width: 100%; }
.cxstats-bar {
  width: 100%;
  min-height: 2px;
  background: linear-gradient(180deg, #4DC4C0, #0FA3B1);
  border-radius: 3px 3px 0 0;
  transition: height 0.3s ease;
}

.cxstats-bar-n { font-size: 9px; color: #087D87; margin-top: 2px; }
.cxstats-bar-d { font-size: 9px; color: #9aa8ab; margin-top: 1px; white-space: nowrap; }

/* 两栏 */
.cxstats-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cxstats-col { display: flex; flex-direction: column; }

/* 排行行 */
.cxstats-row { display: flex; align-items: center; gap: 8px; padding: 3px 0; font-size: 12px; }
.cxstats-row-name {
  flex: 0 0 38%;
  color: #595959;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cxstats-row-bar { flex: 1; height: 6px; background: #EAF7F7; border-radius: 3px; overflow: hidden; }
.cxstats-row-bar i { display: block; height: 100%; background: #0FA3B1; border-radius: 3px; }
.cxstats-row-num { flex: 0 0 auto; color: #20343A; font-weight: 600; font-variant-numeric: tabular-nums; }
.cxstats-row-num em { font-style: normal; font-weight: 400; color: #9aa8ab; font-size: 10px; }

/* 明细表 */
.cxstats-table-wrap { max-height: 260px; overflow: auto; border: 1px solid #D6E8E8; border-radius: 10px; }
.cxstats-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.cxstats-table th {
  position: sticky;
  top: 0;
  padding: 6px 8px;
  text-align: left;
  font-weight: 600;
  color: #595959;
  background: #F4F8F8;
  border-bottom: 1px solid #D6E8E8;
  white-space: nowrap;
}
.cxstats-table td { padding: 5px 8px; color: #595959; border-bottom: 1px solid #f0f5f5; white-space: nowrap; }
.cxstats-table tr:last-child td { border-bottom: none; }
.cxstats-td-time { color: #9aa8ab; font-variant-numeric: tabular-nums; }
.cxstats-td-ip { font-variant-numeric: tabular-nums; }

/* 密码门 / 空态 */
.cxstats-gate { padding: 28px 24px 32px; text-align: center; }
.cxstats-hint { font-size: 13px; color: #595959; margin: 0 0 16px; }
.cxstats-input {
  display: block;
  width: min(280px, 100%);
  margin: 0 auto 12px;
  padding: 9px 12px;
  font-size: 14px;
  border: 1px solid #D6E8E8;
  border-radius: 8px;
  outline: none;
}
.cxstats-input:focus { border-color: #0FA3B1; box-shadow: 0 0 0 3px rgba(15, 163, 177, 0.15); }
.cxstats-error { font-size: 12px; color: #d9534f; margin: 0 0 10px; }
.cxstats-btn {
  padding: 9px 24px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: #0FA3B1;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.cxstats-btn:hover { background: #087D87; }
.cxstats-empty { padding: 32px 0; text-align: center; font-size: 13px; color: #9aa8ab; }
.cxstats-foot { margin: 4px 0 0; font-size: 10px; line-height: 1.6; color: #9aa8ab; }

@media (max-width: 720px) {
  .cxstats-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cxstats-grid2 { grid-template-columns: 1fr; }
  .cxstats-chart { height: 110px; }
  .cxstats-row-name { flex-basis: 34%; }
}
