/* ============ 基础 ============ */
:root {
  --primary: #0b6efd;
  --primary-dark: #0857c9;
  --accent: #00c2a8;
  --bg: #f6f8fb;
  --ink: #1a2332;
  --muted: #64748b;
  --line: #e5e9f0;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(15, 40, 90, .08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 820px; }
.muted { color: var(--muted); }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* ============ 头部 ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.brand-mark { display: inline-flex; gap: 2px; align-items: flex-end; height: 18px; }
.brand-mark i { display: block; width: 4px; background: var(--primary); border-radius: 2px; animation: eq 1.4s ease-in-out infinite; }
.brand-mark i:nth-child(1) { height: 8px; }
.brand-mark i:nth-child(2) { height: 16px; animation-delay: .15s; }
.brand-mark i:nth-child(3) { height: 12px; animation-delay: .3s; }
@keyframes eq { 0%,100% { transform: scaleY(.6); } 50% { transform: scaleY(1); } }
.main-nav { display: flex; gap: 4px; }
.main-nav a {
  padding: 8px 14px; border-radius: 8px; color: var(--ink); font-size: 15px;
  transition: color .2s, background .2s;
}
.main-nav a:hover { color: var(--primary); background: rgba(11,110,253,.06); }
.main-nav a.active { color: var(--primary); font-weight: 600; }
.nav-toggle { display: none; border: none; background: none; font-size: 22px; cursor: pointer; color: var(--ink); }

/* ============ Hero ============ */
.hero {
  position: relative; min-height: 520px; display: flex; align-items: center;
  overflow: hidden; color: #fff;
  background: linear-gradient(135deg, #06203f 0%, #0a2f5c 45%, #063a6b 100%);
}
.hero-slides, .hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero-slide {
  background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: .28; }
.hero-scan { position: absolute; inset: 0; pointer-events: none; }
.radar {
  position: absolute; right: 8%; top: 12%; width: 300px; height: 300px; opacity: .35;
}
.radar::before, .radar::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(120,220,255,.5);
}
.radar::after { inset: 20%; }
.radar span {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(120,220,255,.55), transparent 28%);
  animation: radar-sweep 3s linear infinite;
}
@keyframes radar-sweep { to { transform: rotate(360deg); } }
.face-frame {
  position: absolute; left: 10%; bottom: 16%; width: 180px; height: 220px;
  border: 2px solid rgba(0,194,168,.7); opacity: .4;
}
.face-frame::before, .face-frame::after {
  content: ""; position: absolute; width: 26px; height: 26px;
  border: 2px solid rgba(0,194,168,.9);
}
.face-frame::before { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.face-frame::after { bottom: -2px; right: -2px; border-left: none; border-top: none; }
.face-frame .scanline {
  position: absolute; left: 0; right: 0; height: 2px; top: 0;
  background: linear-gradient(90deg, transparent, #00c2a8, transparent);
  animation: scan 2.4s ease-in-out infinite;
}
@keyframes scan { 0%,100% { top: 0; } 50% { top: 100%; } }
.hero-content { position: relative; z-index: 2; }
.hero-title { font-size: 42px; font-weight: 800; line-height: 1.25; letter-spacing: 1px; }
.hero-sub { max-width: 720px; margin: 18px 0 28px; color: rgba(255,255,255,.85); font-size: 17px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 48px; margin-top: 40px; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 34px; font-weight: 800; color: #fff; }
.stat-label { font-size: 13px; color: rgba(255,255,255,.7); }

/* ============ 按钮 ============ */
.btn {
  display: inline-block; padding: 11px 22px; border-radius: 9px; font-size: 15px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; transition: all .2s;
}
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(11,110,253,.35); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* ============ 区块 ============ */
.section { padding: 72px 0; }
.section-alt { background: #fff; }
.section-head { margin-bottom: 34px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section-title { font-size: 28px; font-weight: 800; position: relative; padding-left: 16px; }
.section-title::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 5px;
  border-radius: 3px; background: linear-gradient(var(--primary), var(--accent));
}
.section-sub { color: var(--muted); margin-top: 6px; }
.section-more { color: var(--primary); font-size: 14px; }

/* ============ 卡片 ============ */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(15,40,90,.16); }
.card-img { height: 180px; background-size: cover; background-position: center; background-color: #e8edf4; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-title { font-size: 17px; font-weight: 700; line-height: 1.4; }
.card-desc { color: var(--muted); font-size: 14px; }
.card-date { color: #9aa7b8; font-size: 13px; margin-top: auto; }

/* ============ 新闻列表 ============ */
.news-list { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.news-item { display: flex; gap: 18px; align-items: center; padding: 16px 22px; border-bottom: 1px solid var(--line); transition: background .15s; }
.news-item:last-child { border-bottom: none; }
.news-item:hover { background: #f4f8ff; }
.news-date { color: #9aa7b8; font-size: 13px; white-space: nowrap; }
.news-title { font-size: 15px; font-weight: 500; }

/* ============ 页头/面包屑 ============ */
.page-head { background: linear-gradient(135deg, #06203f, #0a2f5c); color: #fff; padding: 48px 0; }
.page-title { font-size: 30px; font-weight: 800; }
.breadcrumb { margin-top: 12px; font-size: 13px; color: rgba(255,255,255,.65); display: flex; gap: 6px; flex-wrap: wrap; }
.breadcrumb a:hover { color: #fff; }
.page-head .breadcrumb a { color: rgba(255,255,255,.85); }
.subcat-tabs { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.tab { padding: 7px 16px; border-radius: 20px; background: rgba(255,255,255,.12); font-size: 14px; transition: background .2s; }
.tab:hover { background: rgba(255,255,255,.22); }
.tab.active { background: #fff; color: var(--primary); font-weight: 600; }

/* ============ 文章/单页 ============ */
.article-page { padding: 48px 0 72px; }
.article-page .breadcrumb { color: var(--muted); margin-bottom: 24px; }
.article-page .breadcrumb a { color: var(--muted); }
.article-page .breadcrumb a:hover { color: var(--primary); }
.article-title { font-size: 30px; font-weight: 800; line-height: 1.4; }
.article-meta { color: var(--muted); font-size: 13px; margin: 14px 0 22px; display: flex; gap: 18px; flex-wrap: wrap; }
.article-cover { margin-bottom: 26px; border-radius: var(--radius); overflow: hidden; }
.article-content { font-size: 16px; line-height: 1.9; color: #2a3548; }
.article-content p { margin-bottom: 16px; }
.article-content h2, .article-content h3 { margin: 28px 0 14px; font-weight: 700; }
.article-content img { border-radius: 10px; margin: 16px 0; height: auto; }
.article-content ul, .article-content ol { padding-left: 22px; margin-bottom: 16px; }
.article-content a { color: var(--primary); }
.article-content table { border-collapse: collapse; width: 100%; margin-bottom: 16px; }
.article-content table td, .article-content table th { border: 1px solid var(--line); padding: 8px 12px; }

/* ============ 分页 ============ */
.pagination { display: flex; gap: 14px; justify-content: center; align-items: center; margin-top: 40px; }
.pagination a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; transition: all .2s; }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.page-info { color: var(--muted); font-size: 14px; }

/* ============ 页脚 ============ */
.site-footer { background: #0a1c33; color: #c3cede; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 40px; padding: 56px 20px 40px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-col a { display: block; color: #c3cede; padding: 4px 0; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-desc { font-size: 14px; line-height: 1.8; }
.footer-col p { font-size: 14px; margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 18px 20px; font-size: 13px; color: #8094ad; }

/* ============ 滚动渐入 ============ */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].revealed { opacity: 1; transform: none; }

/* ============ 响应式 ============ */
@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .main-nav {
    position: absolute; top: 64px; left: 0; right: 0; flex-direction: column;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 16px; }
  .nav-toggle { display: block; }
  .hero { min-height: 460px; }
  .hero-title { font-size: 26px; }
  .hero-stats { gap: 24px; }
  .stat-num { font-size: 26px; }
  .section { padding: 48px 0; }
  .card-grid, .card-grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .radar, .face-frame { display: none; }
}
