/* ===== 基础样式：科技蓝 + 白 ===== */
:root {
  --primary: #1a6dff;
  --primary-dark: #0b4fd1;
  --primary-light: #e8f0ff;
  --text: #1f2d3d;
  --text-2: #5a6b7d;
  --border: #e3e8ef;
  --bg: #f5f7fb;
  --danger: #e5484d;
  --success: #18a058;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px; line-height: 1.7; color: var(--text); background: #fff;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { width: 1200px; max-width: 100%; margin: 0 auto; padding: 0 20px; }

/* ===== 页头 ===== */
.header { background: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, .06); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; height: 72px; }
.logo img { height: 44px; width: auto; }
.nav { display: flex; margin-left: 60px; flex: 1; }
.nav a { color: var(--text); padding: 0 22px; line-height: 72px; font-size: 16px; position: relative; }
.nav a:hover, .nav a.active { color: var(--primary); }
.nav a.active::after {
  content: ""; position: absolute; left: 22px; right: 22px; bottom: 0; height: 3px; background: var(--primary);
}
.user-bar { font-size: 14px; color: var(--text-2); }
.user-bar span { margin: 0 8px; color: var(--border); }
.nav-toggle { display: none; margin-left: auto; font-size: 24px; background: none; border: 0; cursor: pointer; }

/* ===== 页脚 ===== */
.footer { background: #0f1c33; color: #a9b6c9; margin-top: 60px; font-size: 14px; }
.footer a { color: #a9b6c9; }
.footer a:hover { color: #fff; }
.footer-cols { display: flex; gap: 40px; padding: 44px 0 30px; }
.footer-col { flex: 1; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 12px; }
.footer-logo { height: 40px; width: auto; margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid #22314d; padding: 18px 0; text-align: center; font-size: 13px; }
.footer-bottom a { margin: 0 4px; }
.gongan { display: inline-block; width: 18px; height: 18px; vertical-align: -4px; margin-right: 4px; }

/* ===== 通用区块 ===== */
.section { padding: 64px 0; }
.section.gray { background: var(--bg); }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 30px; font-weight: 600; }
.section-title p { color: var(--text-2); margin-top: 6px; }
.page-banner {
  height: 240px; background: #0b2a5e url(../images/page-banner.jpg) center/cover no-repeat;
  display: flex; align-items: center; color: #fff;
}
.page-banner h1 { font-size: 34px; font-weight: 600; }
.page-banner p { opacity: .85; margin-top: 6px; }
.breadcrumb { padding: 14px 0; font-size: 14px; color: var(--text-2); border-bottom: 1px solid var(--border); }
.btn {
  display: inline-block; padding: 10px 28px; border-radius: 4px; border: 1px solid var(--primary);
  background: var(--primary); color: #fff; font-size: 15px; cursor: pointer; transition: .2s;
}
.btn:hover { background: var(--primary-dark); color: #fff; }
.btn.outline { background: #fff; color: var(--primary); }
.btn.outline:hover { background: var(--primary-light); }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn.block { display: block; width: 100%; }
.card { background: #fff; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: .25s; }
.card:hover { box-shadow: 0 8px 28px rgba(26, 109, 255, .12); transform: translateY(-3px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; align-items: center; }
.empty { text-align: center; color: var(--text-2); padding: 30px 0; }

/* ===== 提示框 ===== */
.toast {
  position: fixed; left: 50%; top: 90px; transform: translate(-50%, -20px); opacity: 0;
  padding: 10px 22px; border-radius: 6px; color: #fff; background: #333; z-index: 999; transition: .3s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }
