/* ===== 深时智算 - 公司官网样式 ===== */
/* 风格：浅色商务企业风，参考循环智能 rcrai.com */
:root {
  --bg-page: #f6f8fc;
  --bg-white: #ffffff;
  --bg-deep: #0a2540;
  --bg-deep-2: #0f2d52;
  --bg-card: #ffffff;
  --bg-soft: #eef2f9;
  --border-light: #e1e8f0;
  --border-mid: #c8d3e0;
  --text-primary: #0a2540;
  --text-secondary: #4a5b72;
  --text-muted: #8896a8;
  --text-on-dark: #f5f9ff;
  --text-on-dark-2: #a8bdd6;
  --brand-blue: #0066ff;
  --brand-cyan: #00b8d9;
  --brand-deep: #0a2540;
  --gradient-brand: linear-gradient(135deg, #0066ff 0%, #00b8d9 100%);
  --gradient-deep: linear-gradient(135deg, #0a2540 0%, #0f3a6e 50%, #0066ff 100%);
  --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.06);
  --shadow-md: 0 8px 28px rgba(10, 37, 64, 0.10);
  --shadow-lg: 0 20px 60px rgba(10, 37, 64, 0.15);
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  overflow-x: hidden;
  line-height: 1.6;
}

/* 渐变文字 */
.text-brand {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 导航栏 - 白底商务 */
.nav-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
}
.nav-link {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.nav-link:hover { color: var(--brand-blue); }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 2px;
  background: var(--gradient-brand);
  transition: width 0.3s;
}
.nav-link:hover::after { width: 100%; }

/* LOGO */
.logo-mark {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
}
.logo-mark img { width: 100%; height: 100%; }

/* 按钮 */
.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  padding: 11px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.28);
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 102, 255, 0.38);
}
.btn-secondary {
  background: var(--bg-white);
  color: var(--text-primary);
  padding: 11px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  border: 1.5px solid var(--border-mid);
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
}
.btn-secondary:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.btn-ghost-dark {
  color: var(--text-on-dark);
  padding: 11px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
}
.btn-ghost-dark:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
}

/* 卡片 */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 28px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-cyan);
}

/* 深色区块（用于Hero/CTA） */
.section-dark {
  background: var(--gradient-deep);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 20% 30%, rgba(0, 184, 217, 0.18), transparent 60%),
    radial-gradient(ellipse 500px 400px at 80% 70%, rgba(0, 102, 255, 0.20), transparent 60%);
  pointer-events: none;
}
.section-dark > * { position: relative; z-index: 1; }

/* 数据统计 */
.stat-num {
  font-size: 40px;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}
.stat-num-dark {
  font-size: 44px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

/* 标签 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(0, 102, 255, 0.08);
  color: var(--brand-blue);
  border: 1px solid rgba(0, 102, 255, 0.18);
  letter-spacing: 0.5px;
}
.tag.cyan {
  background: rgba(0, 184, 217, 0.10);
  color: #0086a8;
  border-color: rgba(0, 184, 217, 0.22);
}
.tag.dark {
  background: rgba(255, 255, 255, 0.10);
  color: var(--text-on-dark);
  border-color: rgba(255, 255, 255, 0.25);
}

/* 客户LOGO 墙格子 */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  overflow: hidden;
}
.logo-cell {
  background: var(--bg-white);
  padding: 24px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 15px;
  transition: all 0.3s;
  text-align: center;
}
.logo-cell:hover {
  background: var(--bg-soft);
  color: var(--brand-blue);
}

/* 时间线 */
.timeline {
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 11px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--brand-blue), var(--brand-cyan), transparent);
}
.timeline-item {
  position: relative;
  padding-bottom: 36px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -35px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 3px solid var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.15);
}
.timeline-year {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: 1px;
}

/* 团队卡片 */
.team-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.team-avatar {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #e1ecff 0%, #d4f0f7 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 56px; font-weight: 700;
  color: var(--brand-blue);
}

/* 新闻卡片 */
.news-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.news-thumb {
  height: 160px;
  background: var(--gradient-deep);
  position: relative;
  overflow: hidden;
}
.news-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(0, 184, 217, 0.3), transparent 60%);
}

/* 资质徽章 */
.badge {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s;
}
.badge:hover {
  border-color: var(--brand-cyan);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.badge-icon {
  width: 48px; height: 48px;
  margin: 0 auto 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,102,255,0.1), rgba(0,184,217,0.1));
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-blue);
}

/* 渐入动画 */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 脉冲点 */
.dot-pulse {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  animation: dotPulse 2s infinite;
}
@keyframes dotPulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* 滚动条 */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-mid); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-blue); }

/* 移动端 */
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .hero-title { font-size: 32px !important; }
  .section-title { font-size: 26px !important; }
  .stat-num, .stat-num-dark { font-size: 30px !important; }
}

/* 板块通用 */
.section { padding: 80px 24px; }
@media (max-width: 768px) { .section { padding: 56px 16px; } }
.container { max-width: 1200px; margin: 0 auto; }
.section-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  margin: 0 0 12px;
}
.section-subtitle {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 720px;
  margin: 0 auto;
}
