/* 站点通用样式（在 Tailwind 基础上做轻量增强） */
/* 字体与颜色基调 */
:root {
  --brand: #1e40af;
  --text: #0f172a;
  --muted: #475569;
  --bg: #ffffff;
}

html, body {
  scroll-behavior: smooth;
  color: var(--text);
  background: var(--bg);
}

/* 统一容器宽度 */
.container-safe {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* 导航悬浮阴影与毛玻璃背景 */
.glass {
  backdrop-filter: saturate(180%) blur(8px);
  background-color: rgba(255,255,255,0.75);
}

/* 首页主视觉渐变罩层 */
.hero-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 100%);
}

/* 统一卡片效果 */
.card {
  border-radius: 0.75rem;
  border: 1px solid rgba(2,6,23,0.08);
  background: #fff;
  box-shadow: 0 4px 16px rgba(2,6,23,0.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(2,6,23,0.12);
}

/* 页脚小字号与链接样式 */
.footer-note {
  font-size: 0.875rem;
  color: var(--muted);
}
.footer-note a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 顶部导航当前项标记 */
.nav-active {
  color: var(--brand);
  font-weight: 600;
}

/* 简易表单样式增强 */
.form-input {
  display: block;
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  padding: 0.75rem 1rem;
  outline: none;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.form-input:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(59,130,246,0.15);
}

/* 徽章 */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  background: #eff6ff;
  color: #1e40af;
  font-size: 0.75rem;
  font-weight: 600;
}


