/* ========== 公共基础样式 ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --primary-light: #EFF6FF;
  --accent: #0EA5E9;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --text-main: #1E293B;
  --text-sub: #475569;
  --text-muted: #94A3B8;
  --border: #E2E8F0;
  --bg: #F8FAFC;
  --white: #FFFFFF;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }
body { font-family: 'Noto Sans SC', system-ui, sans-serif; background: var(--bg); color: var(--text-main); line-height: 1.6; }

/* ========== 导航栏 ========== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 64px;
  display: flex;
  align-items: center;
}
.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-icon img { width: 100%; height: 100%; object-fit: contain; }
.logo-icon img { width: 60px; height: 60px; object-fit: contain; border-radius: 10px; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-size: 18px; font-weight: 700; color: #004098; letter-spacing: 0.02em; line-height: 1.2; }
.logo-tagline { font-size: 12px; color: var(--text-muted); letter-spacing: 0.05em; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-sub);
  text-decoration: none;
  transition: all 0.2s;
}
.nav-link:hover, .nav-link.active { background: var(--primary-light); color: var(--primary); }

/* ========== 页面横幅（子页面通用） ========== */
.page-banner {
  width: 100%;
  height: 240px;
  background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 50%, #1E40AF 100%);
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(37,99,235,0.35) 0%, transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(14,165,233,0.2) 0%, transparent 50%);
}
.page-banner-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.page-banner-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 24px;
}
.page-banner-title {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.page-banner-desc {
  font-size: 15px;
  color: #94A3B8;
  margin-top: 8px;
}

/* ========== 面包屑（子页面通用） ========== */
.breadcrumb-wrap {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { margin: 0 6px; color: var(--border); }
.breadcrumb-current { color: var(--text-sub); }

/* ========== 页脚 ========== */
.footer {
  background: #004098;
  color: #fff;
  padding: 14px 8px 12px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
  margin-bottom: 14px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-logo { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 14px; }
.footer-logo-icon {
  width: 80px;
  height: 80px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.footer-logo-icon img { width: 100%; height: 100%; object-fit: contain; }
.footer-logo-name { font-size: 18px; font-weight: 700; color: #fff; }
.footer-desc { font-size: 15px; line-height: 1.7; max-width: 410px; margin: 0 auto; }
.footer-contacts { margin-top: 5px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.footer-contact { font-size: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.footer-col { text-align: center; }
.footer-col h4 { font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.footer-links { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer-link { font-size: 15px; color: rgba(255,255,255,0.85); text-decoration: none; transition: color 0.15s; }
.footer-link:hover { color: #fff; }
.footer-bottom {
  padding-top: 4px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
}
.footer-copy { font-size: 16px; }
.footer-bottom-links { display: flex; justify-content: center; gap: 20px; }
.footer-bottom-link { font-size: 16px; color: rgba(255,255,255,0.85); text-decoration: none; }
.footer-bottom-link:hover { color: #fff; }

/* ========== 滚动动画 ========== */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.js-enabled .reveal {
  opacity: 0;
  transform: translateY(24px);
}
.js-enabled .reveal.visible { opacity: 1; transform: none; }

/* ========== 响应式 ========== */
@media(max-width: 768px){
  .nav-links { display: none; }
  .page-banner { height: 180px; }
  .page-banner-title { font-size: 24px; }
}
