/* 聚汇数联 - 简约大气科技风 */
:root {
  --bg: #070d1a;
  --bg-2: #0b1526;
  --card: rgba(255, 255, 255, 0.04);
  --border: rgba(120, 190, 255, 0.14);
  --text: #e8f1fb;
  --muted: #8fa5bd;
  --accent: #2ea8ff;
  --accent-2: #00e5c3;
  --grad: linear-gradient(135deg, #2ea8ff 0%, #00e5c3 100%);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---------- 导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(7, 13, 26, 0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: 1px; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 9px; background: var(--grad);
  display: grid; place-items: center; color: #04121f; font-weight: 900; font-size: 15px;
  box-shadow: 0 0 18px rgba(46, 168, 255, 0.45);
}
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
  padding: 8px 16px; border-radius: 8px; color: var(--muted); font-size: 15px; transition: 0.2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-links a.active { color: #fff; background: rgba(46,168,255,0.14); }
.nav-cta {
  background: var(--grad) !important; color: #04121f !important; font-weight: 600; margin-left: 8px;
  box-shadow: 0 4px 16px rgba(0, 229, 195, 0.25);
}
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 24px; cursor: pointer; }

/* ---------- Hero ---------- */
.logo-img { width: 38px; height: 38px; object-fit: contain; border-radius: 8px; filter: drop-shadow(0 0 10px rgba(46, 168, 255, 0.3)); }

/* 压缩 Hero 与首个板块之间的留白 */
.hero { position: relative; padding: 150px 0 72px; overflow: hidden;
  background:
    radial-gradient(800px 400px at 15% 10%, rgba(46, 168, 255, 0.16), transparent 60%),
    radial-gradient(700px 380px at 85% 20%, rgba(0, 229, 195, 0.12), transparent 60%),
    linear-gradient(180deg, #08101f 0%, var(--bg) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(120,190,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,190,255,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 30%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--border); background: rgba(46,168,255,0.08); color: var(--accent-2);
  font-size: 13px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(27px, 3.4vw, 42px); line-height: 1.25; font-weight: 800; letter-spacing: 1px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { margin: 22px 0 34px; color: var(--muted); font-size: 17px; max-width: 560px; }
.btn {
  display: inline-block; padding: 13px 30px; border-radius: 10px; font-size: 15px; font-weight: 600;
  transition: 0.25s; cursor: pointer; border: none;
}
.btn-primary { background: var(--grad); color: #04121f; box-shadow: 0 6px 24px rgba(0, 229, 195, 0.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0, 229, 195, 0.4); }
.btn-ghost { border: 1px solid var(--border); color: var(--text); background: transparent; margin-left: 14px; }
.btn-ghost:hover { border-color: var(--accent); background: rgba(46,168,255,0.08); }
.hero-actions { display: flex; align-items: center; }

/* 盾牌视觉 */
.hero-visual { position: relative; display: grid; place-items: center; }
.shield {
  width: 300px; height: 300px; border-radius: 30px; position: relative;
  background: linear-gradient(160deg, rgba(46,168,255,0.16), rgba(0,229,195,0.1));
  border: 1px solid var(--border);
  display: grid; place-items: center;
  animation: float 6s ease-in-out infinite;
}
.shield::after {
  content: ""; position: absolute; inset: -40px; border-radius: 50%;
  background: radial-gradient(circle, rgba(46,168,255,0.14), transparent 65%);
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.chip-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; position: absolute; bottom: -34px; }
.chip {
  padding: 8px 16px; border-radius: 10px; font-size: 13px; color: var(--muted);
  background: var(--bg-2); border: 1px solid var(--border); white-space: nowrap;
}
.chip b { color: var(--accent-2); font-weight: 600; }

/* ---------- 通用 Section ---------- */
section.block { padding: 84px 0; }
section.block:first-of-type { padding-top: 56px; }
section.block.alt { background: var(--bg-2); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.sec-eyebrow {
  display: inline-block; font-size: 13px; color: var(--accent-2); letter-spacing: 4px; margin-bottom: 12px;
}
.sec-head h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: 1px; }
.sec-head p { color: var(--muted); margin-top: 14px; }

/* 数据条 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 70px; }
.stat {
  text-align: center; padding: 30px 16px; border-radius: 16px;
  background: var(--card); border: 1px solid var(--border);
}
.stat .num { font-size: 34px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lbl { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* 卡片 */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 36px 30px;
  transition: 0.3s; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); border-color: rgba(46,168,255,0.5); box-shadow: 0 18px 40px rgba(0,0,0,0.35); }
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad); opacity: 0; transition: 0.3s;
}
.card:hover::before { opacity: 1; }
.icon-box {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  background: rgba(46,168,255,0.12); border: 1px solid var(--border);
}
.icon-box svg { width: 26px; height: 26px; }
.card h3 { font-size: 20px; margin-bottom: 12px; font-weight: 700; }
.card p { color: var(--muted); font-size: 14.5px; }
.card ul { margin-top: 16px; list-style: none; }
.card ul li { color: var(--muted); font-size: 14px; padding: 5px 0 5px 22px; position: relative; }
.card ul li::before { content: "▸"; position: absolute; left: 0; color: var(--accent-2); }

/* 平台架构 */
.arch { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.arch-item {
  padding: 26px 20px; border-radius: 14px; text-align: center;
  background: linear-gradient(180deg, rgba(46,168,255,0.07), rgba(0,229,195,0.04));
  border: 1px solid var(--border);
}
.arch-item .t { font-weight: 700; margin-bottom: 8px; font-size: 15px; }
.arch-item .d { font-size: 13px; color: var(--muted); }

/* 流程 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px 22px; border-radius: 14px; background: var(--card); border: 1px solid var(--border); }
.step .no {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800;
  background: var(--grad); color: #04121f; margin-bottom: 16px;
}
.step h4 { font-size: 16px; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--muted); }

/* 时间线 */
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--accent), var(--accent-2)); opacity: 0.4; }
.tl-item { position: relative; padding: 0 0 34px 26px; }
.tl-item::before {
  content: ""; position: absolute; left: -30px; top: 8px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--accent);
}
.tl-item .year { color: var(--accent-2); font-weight: 700; font-size: 15px; }
.tl-item h4 { margin: 4px 0 6px; font-size: 17px; }
.tl-item p { color: var(--muted); font-size: 14.5px; }

/* CTA */
.cta {
  margin: 0 0 96px; border-radius: 24px; padding: 70px 40px; text-align: center;
  background: linear-gradient(135deg, rgba(46,168,255,0.16), rgba(0,229,195,0.12));
  border: 1px solid var(--border);
}
.cta h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 14px; }
.cta p { color: var(--muted); margin-bottom: 30px; }

/* ---------- 表单 ---------- */
.contact-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; }
.info-list { list-style: none; }
.info-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px dashed var(--border); }
.info-list .ic {
  width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center;
  background: rgba(46,168,255,0.12); border: 1px solid var(--border);
}
.info-list .k { color: var(--muted); font-size: 13px; }
.info-list .v { font-size: 15.5px; font-weight: 600; margin-top: 2px; }
.form-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; color: var(--muted); margin-bottom: 8px; }
.field label b { color: #ff7a7a; font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; font-size: 14.5px; color: var(--text);
  background: rgba(7, 13, 26, 0.6); border: 1px solid var(--border); outline: none; transition: 0.2s;
  font-family: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(46,168,255,0.15); }
.field textarea { min-height: 110px; resize: vertical; }
.field select option { background: var(--bg-2); }
.file-zone {
  border: 1.5px dashed var(--border); border-radius: 12px; padding: 22px; text-align: center;
  color: var(--muted); font-size: 13.5px; cursor: pointer; transition: 0.2s;
}
.file-zone:hover, .file-zone.drag { border-color: var(--accent); background: rgba(46,168,255,0.05); }
.file-zone input { display: none; }
.file-hint { margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.form-msg { margin-top: 14px; font-size: 14px; min-height: 20px; }
.form-msg.ok { color: var(--accent-2); }
.form-msg.err { color: #ff7a7a; }

/* ---------- 页脚 ---------- */
footer { border-top: 1px solid var(--border); background: #060b15; padding: 56px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.foot-grid h5 { font-size: 15px; margin-bottom: 16px; }
.foot-grid a, .foot-grid p { display: block; color: var(--muted); font-size: 13.5px; padding: 4px 0; }
.foot-grid a:hover { color: var(--accent-2); }
.foot-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; color: var(--muted); font-size: 12.5px; flex-wrap: wrap; gap: 8px; }

/* 关于页 banner */
.page-banner {
  padding: 150px 0 70px; text-align: center; position: relative; overflow: hidden;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(46,168,255,0.15), transparent 65%),
    var(--bg-2);
}
.page-banner h1 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; }
.page-banner .crumb { color: var(--muted); font-size: 13.5px; margin-top: 10px; }
.page-banner .crumb a:hover { color: var(--accent-2); }

/* 资质徽章 */
.badges { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.badge-item {
  text-align: center; padding: 22px 10px; border-radius: 14px; background: var(--card);
  border: 1px solid var(--border); font-size: 13.5px; color: var(--muted);
}
.badge-item .em { font-size: 26px; display: block; margin-bottom: 8px; }

/* 后台 */
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--border); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 860px; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); }
th { color: var(--muted); font-weight: 600; font-size: 13px; white-space: nowrap; }
td a { color: var(--accent); word-break: break-all; }
.tag { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; background: rgba(46,168,255,0.14); color: var(--accent-2); }

/* 响应式 */
@media (max-width: 960px) {
  .hero-grid, .contact-wrap { grid-template-columns: 1fr; }
  .hero { padding: 130px 0 110px; }
  .cards { grid-template-columns: 1fr; }
  .stats, .arch, .steps { grid-template-columns: repeat(2, 1fr); }
  .badges { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { order: -1; margin-bottom: 50px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column;
    background: rgba(7,13,26,0.97); border-bottom: 1px solid var(--border); padding: 12px 0; align-items: stretch;
  }
  .nav-links.open { display: flex; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .stats, .arch, .steps { grid-template-columns: 1fr; }
  .badges { grid-template-columns: repeat(2, 1fr); }
}

/* ==================== v2 新增：安联星主题 / 新闻 / 后台 ==================== */
:root { --alx: #ff5a5f; --alx-deep: #e60012; }

/* 安联星红色点缀 */
.alx-tag { color: var(--alx); border-color: rgba(255, 90, 95, 0.35); background: rgba(255, 90, 95, 0.08); }
.alx-text { color: var(--alx); }
.icon-box.alx { background: rgba(255, 90, 95, 0.1); border-color: rgba(255, 90, 95, 0.25); }
.sec-eyebrow.alx { color: var(--alx); }
.alx-text { background: linear-gradient(135deg, #ff5a5f, #ff8f5f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pain { color: var(--alx); font-weight: 600; }

/* Hero 右侧海报 */
.hero-poster {
  width: 100%; max-width: 560px; border-radius: 18px; border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(46, 168, 255, 0.12);
}
.hero-kpi { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.kpi {
  display: flex; flex-direction: column; padding: 14px 22px; border-radius: 12px;
  background: var(--card); border: 1px solid var(--border);
}
.kpi b { font-size: 22px; color: var(--alx); font-weight: 800; }
.kpi span { font-size: 12.5px; color: var(--muted); }

/* 首页 KPI（替代原数字快板，静态轻量展示） */

/* 痛点条 */
.pain-bar { display: flex; gap: 16px; justify-content: center; margin-bottom: 44px; flex-wrap: wrap; }
.pain-bar span {
  padding: 10px 26px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--alx);
  background: rgba(255, 90, 95, 0.08); border: 1px dashed rgba(255, 90, 95, 0.4);
}

/* 卡片标签 */
.card-tag {
  display: inline-block; font-size: 12px; color: var(--accent-2); padding: 3px 12px;
  border-radius: 999px; background: rgba(0, 229, 195, 0.08); border: 1px solid rgba(0, 229, 195, 0.25);
  margin-bottom: 14px;
}

/* 新闻卡片 */
.news-card { display: flex; flex-direction: column; }
.news-cover { width: 100%; height: 170px; object-fit: cover; border-radius: 12px; margin-bottom: 16px; border: 1px solid var(--border); }
.news-date { margin-top: auto; padding-top: 16px; color: var(--muted); font-size: 12.5px; }

/* 页脚 / 联系页 二维码 */
.foot-qr { display: flex; gap: 18px; margin-top: 18px; }
.foot-qr > div { text-align: center; }
.foot-qr img {
  width: 84px; height: 84px; object-fit: cover; border-radius: 10px;
  border: 1px solid var(--border); background: #fff; padding: 4px;
}
.foot-qr span { display: block; color: var(--muted); font-size: 12px; margin-top: 6px; }

/* 文章正文 */
.article-content { color: #c8d6e8; font-size: 15.5px; line-height: 1.9; }
.article-content h1, .article-content h2, .article-content h3 { color: var(--text); margin: 26px 0 14px; }
.article-content img { border-radius: 14px; margin: 18px 0; border: 1px solid var(--border); }
.article-content a { color: var(--accent); }

/* ---------- 后台登录页 ---------- */
.login-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px;
  background:
    radial-gradient(700px 400px at 20% 10%, rgba(46, 168, 255, 0.14), transparent 60%),
    radial-gradient(600px 360px at 85% 25%, rgba(0, 229, 195, 0.1), transparent 60%),
    var(--bg);
}
.login-card {
  width: min(420px, 94%); background: var(--card); border: 1px solid var(--border);
  border-radius: 22px; padding: 44px 38px; backdrop-filter: blur(10px);
}

/* ---------- 后台标签页 ---------- */
.admin-tabs { display: flex; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; }
.atab {
  padding: 10px 22px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--card); color: var(--muted); font-size: 14.5px; cursor: pointer; transition: 0.2s;
}
.atab:hover { color: var(--text); }
.atab.active { background: var(--grad); color: #04121f; font-weight: 600; border-color: transparent; }
.tag-draft { background: rgba(255, 122, 122, 0.14); color: #ff7a7a; }
