/* =========================================================
   四川昭沐科技官网 v2 — 深空控制室设计系统
   底色：深空藏青 · 信号：消防红 · 数据：等宽字
   ========================================================= */
:root {
  --bg0: #050b18;
  --bg1: #0a1526;
  --bg2: #0e1d33;
  --bg3: #12253f;
  --line: rgba(125, 170, 255, 0.13);
  --line2: rgba(125, 170, 255, 0.25);
  --txt: #e8f0ff;
  --txt2: #93a7c9;
  --txt3: #64789b;
  --red: #ff5a4e;
  --red-dim: rgba(255, 90, 78, 0.14);
  --cyan: #53e1c7;
  --cyan-dim: rgba(83, 225, 199, 0.12);
  --font: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", Consolas, "Courier New", monospace;
  --rad: 10px;
  --w: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg0);
  color: var(--txt);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

::selection { background: var(--red-dim); color: var(--txt); }

/* ---------- 布局基元 ---------- */
.container { max-width: var(--w); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, rgba(14, 29, 51, 0.45), rgba(5, 11, 24, 0)); }

/* 网格底纹（控制室大屏氛围，克制使用） */
.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 30%, transparent 75%);
}

/* 板块眉标（回路式编号） */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--txt3);
  text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 1px;
  background: var(--red); box-shadow: 0 0 8px rgba(255, 90, 78, 0.7);
}
.sec-title { font-size: 30px; font-weight: 700; letter-spacing: 0.02em; line-height: 1.3; }
.sec-sub { color: var(--txt2); margin-top: 10px; font-size: 15.5px; max-width: 640px; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5, 11, 24, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { max-width: var(--w); margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 48px; width: 48px; object-fit: contain; filter: drop-shadow(0 0 12px rgba(83,225,199,.18)); }
.nav-logo .name { font-size: 18px; font-weight: 600; letter-spacing: 0.04em; }
.nav-logo .name small { display: block; font-family: var(--mono); font-size: 10px; color: var(--txt3); letter-spacing: 0.26em; }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
  padding: 8px 14px; font-size: 14.5px; color: var(--txt2);
  border-radius: 6px; transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--txt); background: rgba(125, 170, 255, 0.08); }
.nav-links a.active { color: var(--txt); background: rgba(255, 90, 78, 0.1); }
.nav-links a.active::after {
  content: ""; display: block; height: 2px; margin-top: 2px;
  background: var(--red); border-radius: 1px;
}
.nav-cta {
  border: 1px solid rgba(255, 90, 78, 0.5) !important;
  color: var(--red) !important;
}
.nav-cta:hover { background: var(--red) !important; color: #fff !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--txt); margin: 5px 0; transition: 0.3s; }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: rgba(5, 11, 24, 0.97); }
.mobile-menu a { display: block; padding: 13px 24px; color: var(--txt2); border-bottom: 1px solid var(--line); }
.mobile-menu a.active { color: var(--txt); }
.mobile-menu.open { display: block; }

/* ---------- HERO ---------- */
.hero { position: relative; overflow: hidden; padding: 92px 0 64px; }
.hero-grid { }
.hero-inner { display: grid; grid-template-columns: 1.25fr 0.85fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.14em;
  color: var(--cyan);
  border: 1px solid rgba(83, 225, 199, 0.35); background: var(--cyan-dim);
  padding: 6px 14px; border-radius: 4px; margin-bottom: 22px;
}
.hero-badge::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan); animation: pulse 2.2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.hero h1 { font-size: 52px; font-weight: 800; line-height: 1.18; letter-spacing: 0.01em; }
.hero h1 .hl {
  display: block; color: var(--red);
  text-shadow: 0 0 34px rgba(255, 90, 78, 0.35);
}
.hero-sub { color: var(--txt2); font-size: 17px; margin: 22px 0 30px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; font-size: 15px; font-weight: 600;
  border-radius: var(--rad); border: 1px solid transparent;
  cursor: pointer; transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 6px 26px rgba(255, 90, 78, 0.3); }
.btn-primary:hover { box-shadow: 0 8px 34px rgba(255, 90, 78, 0.5); }
.btn-outline { border-color: var(--line2); color: var(--txt); background: rgba(125, 170, 255, 0.05); }
.btn-outline:hover { border-color: var(--red); color: var(--red); }

/* 数据带 */
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 46px; background: var(--line); border: 1px solid var(--line); border-radius: var(--rad); overflow: hidden; }
.stat { background: var(--bg1); padding: 18px 14px 16px; text-align: center; }
.stat .num { font-family: var(--mono); font-size: 30px; font-weight: 700; color: var(--txt); }
.stat .num em { font-style: normal; color: var(--red); font-size: 20px; }
.stat .lbl { font-size: 12.5px; color: var(--txt3); letter-spacing: 0.12em; margin-top: 4px; }

/* —— 签名元素：消防主机状态卡 —— */
.panel-card {
  position: relative;
  background: linear-gradient(180deg, var(--bg3), var(--bg1));
  border: 1px solid var(--line2);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 18px; border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.2em; color: var(--txt3);
}
.panel-head .lamp { display: flex; gap: 6px; }
.panel-head .lamp i { width: 8px; height: 8px; border-radius: 50%; background: var(--red-dim); }
.panel-head .lamp i.on { background: var(--red); box-shadow: 0 0 10px rgba(255, 90, 78, 0.8); animation: pulse 1.8s infinite; }
.panel-head .lamp i.c { background: var(--cyan); box-shadow: 0 0 10px rgba(83, 225, 199, 0.8); }
/* 扫描线 */
.panel-scan {
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 90, 78, 0.75), transparent);
  animation: scan 4.5s linear infinite; pointer-events: none;
}
@keyframes scan { 0% { top: 40px; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { top: calc(100% - 2px); opacity: 0; } }
.panel-body { padding: 20px 18px 22px; position: relative; }
.p-row { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.p-row .k { color: var(--txt3); font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.1em; }
.p-row .v { font-family: var(--mono); font-weight: 600; }
.p-row .v.ok { color: var(--cyan); }
.p-row .v.warn { color: var(--red); }
.panel-foot { padding: 12px 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.panel-foot .sys { font-family: var(--mono); font-size: 10.5px; color: var(--txt3); letter-spacing: 0.18em; }
.panel-foot .clock { font-family: var(--mono); font-size: 13px; color: var(--txt2); }

/* ---------- 业务大卡 ---------- */
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.biz-card {
  position: relative; background: var(--bg1);
  border: 1px solid var(--line); border-radius: var(--rad);
  padding: 28px 26px; transition: transform 0.25s, border-color 0.25s, background 0.25s;
  display: flex; flex-direction: column;
}
.biz-card:hover { transform: translateY(-6px); border-color: rgba(255, 90, 78, 0.45); background: var(--bg2); }
.biz-card .idx { font-family: var(--mono); font-size: 11px; color: var(--txt3); letter-spacing: 0.24em; }
.biz-card .icon { width: 46px; height: 46px; border-radius: 8px; background: var(--red-dim); display: flex; align-items: center; justify-content: center; margin: 18px 0 16px; }
.biz-card .icon svg { width: 24px; height: 24px; stroke: var(--red); }
.biz-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.biz-card p { color: var(--txt2); font-size: 14px; flex: 1; }
.biz-card .go { margin-top: 20px; color: var(--red); font-size: 14px; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.biz-card .go::after { content: "→"; transition: transform 0.2s; }
.biz-card:hover .go::after { transform: translateX(4px); }

/* ---------- 关于 ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.about-hl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 26px 0 32px; }
.about-hl div {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg1); border: 1px solid var(--line); border-radius: 8px;
  padding: 11px 14px; font-size: 14px;
}
.about-hl .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); flex: none; }
.about-fig { position: relative; }
.about-fig img { border-radius: 12px; border: 1px solid var(--line); }

/* ---------- 产品 ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.prod-card {
  position: relative; background: var(--bg1);
  border: 1px solid var(--line); border-radius: var(--rad);
  padding: 22px 20px; cursor: pointer;
  transition: transform 0.22s, border-color 0.22s, background 0.22s;
}
.prod-card:hover { transform: translateY(-5px); border-color: var(--line2); background: var(--bg2); }
.prod-card .tag {
  position: absolute; top: 14px; right: 14px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em;
  color: var(--red); background: var(--red-dim);
  padding: 3px 8px; border-radius: 3px; border: 1px solid rgba(255, 90, 78, 0.3);
}
.prod-card img { width: 64px; height: 64px; margin-bottom: 16px; }
.prod-card h3 { font-size: 16px; font-weight: 600; line-height: 1.4; }
.prod-card .cat { font-family: var(--mono); font-size: 11px; color: var(--txt3); letter-spacing: 0.16em; margin: 4px 0 10px; }
.prod-card .dsc { color: var(--txt2); font-size: 13px; }
.prod-card .feat { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.prod-card .feat span {
  font-size: 11.5px; color: var(--cyan);
  background: var(--cyan-dim); padding: 2px 8px; border-radius: 3px;
}

/* 产品详情弹层 */
.modal-mask {
  position: fixed; inset: 0; background: rgba(3, 7, 15, 0.78);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  z-index: 200; display: none; align-items: center; justify-content: center; padding: 24px;
}
.modal-mask.open { display: flex; }
.modal {
  background: var(--bg1); border: 1px solid var(--line2); border-radius: 14px;
  max-width: 640px; width: 100%; max-height: 82vh; overflow: auto;
  padding: 30px 30px 26px; position: relative;
}
.modal .close {
  position: absolute; top: 14px; right: 16px; background: none; border: none;
  color: var(--txt3); font-size: 22px; cursor: pointer; line-height: 1;
}
.modal .close:hover { color: var(--red); }
.modal .cat { font-family: var(--mono); font-size: 11.5px; color: var(--red); letter-spacing: 0.2em; }
.modal h3 { font-size: 24px; margin: 8px 0 4px; }
.modal .dsc { color: var(--txt2); font-size: 14px; margin-bottom: 18px; }
.modal .feat { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.modal .feat span {
  font-size: 12px; color: var(--cyan); background: var(--cyan-dim);
  padding: 4px 10px; border-radius: 4px;
}
.modal .detail { font-size: 14.5px; color: var(--txt2); border-top: 1px solid var(--line); padding-top: 16px; }

/* ---------- CTA ---------- */
.cta {
  position: relative; text-align: center; padding: 72px 24px;
  background:
    radial-gradient(ellipse 55% 90% at 50% 120%, rgba(255, 90, 78, 0.16), transparent),
    var(--bg1);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.cta h2 { font-size: 30px; font-weight: 700; }
.cta p { color: var(--txt2); margin: 14px auto 28px; max-width: 560px; }
.cta .hero-actions { justify-content: center; }

/* ---------- 页脚 ---------- */
.footer { background: #040810; border-top: 1px solid var(--line); padding: 56px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-brand img { height: 56px; width: 56px; object-fit: contain; margin-bottom: 14px; }
.foot-brand p { color: var(--txt3); font-size: 13.5px; margin-top: 8px; }
.foot-col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; color: var(--txt3); margin-bottom: 16px; }
.foot-col a { display: block; color: var(--txt2); font-size: 14px; padding: 5px 0; }
.foot-col a:hover { color: var(--red); }
.foot-col .li { display: flex; gap: 10px; color: var(--txt2); font-size: 14px; padding: 5px 0; }
.foot-col .li svg { width: 16px; height: 16px; stroke: var(--red); flex: none; margin-top: 4px; }
.foot-bar {
  margin-top: 46px; border-top: 1px solid var(--line);
  padding: 18px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--txt3);
}
.foot-bar a { color: var(--txt3); }
.foot-bar a:hover { color: var(--txt2); }

/* ---------- 内页 hero ---------- */
.page-hero { position: relative; padding: 84px 0 64px; overflow: hidden; }
.page-hero h1 { font-size: 38px; font-weight: 800; margin: 10px 0 12px; }
.page-hero .sub { color: var(--txt2); font-size: 16.5px; max-width: 680px; }
.crumb { font-family: var(--mono); font-size: 12px; color: var(--txt3); letter-spacing: 0.14em; }
.crumb a:hover { color: var(--red); }

/* 流程步骤 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 44px; counter-reset: step; }
.step { position: relative; padding: 26px 28px; border: 1px solid var(--line); background: var(--bg1); }
.step + .step { border-left: none; }
.step:first-child { border-radius: var(--rad) 0 0 var(--rad); }
.step:last-child { border-radius: 0 var(--rad) var(--rad) 0; }
.step .no { font-family: var(--mono); font-size: 26px; font-weight: 700; color: var(--red); opacity: 0.85; }
.step h3 { font-size: 17px; margin: 12px 0 6px; }
.step p { color: var(--txt2); font-size: 13.5px; }

/* 优势网格 */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.adv {
  background: var(--bg1); border: 1px solid var(--line); border-radius: var(--rad);
  padding: 24px 22px;
}
.adv .icon { width: 40px; height: 40px; border-radius: 8px; background: var(--cyan-dim); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.adv .icon svg { width: 20px; height: 20px; stroke: var(--cyan); }
.adv h3 { font-size: 15.5px; margin-bottom: 6px; }
.adv p { color: var(--txt2); font-size: 13px; }

/* 客户带 */
.client-strip { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.client-strip span {
  font-family: var(--mono); font-size: 13px; color: var(--txt2);
  border: 1px solid var(--line); border-radius: 6px; padding: 9px 18px;
  background: var(--bg1);
}

/* 加盟收益 */
.bene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.bene { background: var(--bg1); border: 1px solid var(--line); border-radius: var(--rad); padding: 26px 24px; }
.bene h3 { font-size: 16px; display: flex; align-items: center; gap: 10px; }
.bene h3::before { content: "◆"; color: var(--red); font-size: 12px; }
.bene p { color: var(--txt2); font-size: 13.5px; margin-top: 10px; }

/* 时间线（加盟步骤） */
.timeline { margin-top: 44px; border-left: 1px solid var(--line2); padding-left: 34px; }
.tl-item { position: relative; padding: 0 0 34px; }
.tl-item::before {
  content: ""; position: absolute; left: -39px; top: 6px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg0); border: 2px solid var(--red);
}
.tl-item .no { font-family: var(--mono); font-size: 11px; color: var(--txt3); letter-spacing: 0.2em; }
.tl-item h3 { font-size: 16.5px; margin: 4px 0 4px; }
.tl-item p { color: var(--txt2); font-size: 13.5px; }

/* 联系卡 + 表单 */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; margin-top: 44px; }
.c-card { background: var(--bg1); border: 1px solid var(--line); border-radius: var(--rad); padding: 22px 24px; margin-bottom: 14px; display: flex; gap: 16px; align-items: flex-start; }
.c-card .icon { width: 42px; height: 42px; border-radius: 8px; background: var(--red-dim); display: flex; align-items: center; justify-content: center; flex: none; }
.c-card .icon svg { width: 20px; height: 20px; stroke: var(--red); }
.c-card .lbl { font-family: var(--mono); font-size: 11px; color: var(--txt3); letter-spacing: 0.2em; }
.c-card .val { font-size: 15.5px; margin-top: 3px; }
.form { background: var(--bg1); border: 1px solid var(--line); border-radius: 12px; padding: 30px; }
.form h3 { font-size: 18px; margin-bottom: 4px; }
.form .hint { color: var(--txt3); font-size: 13px; margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; color: var(--txt2); margin-bottom: 6px; }
.field label em { color: var(--red); font-style: normal; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--bg0); border: 1px solid var(--line2);
  border-radius: 8px; padding: 12px 14px; color: var(--txt);
  font-family: inherit; font-size: 14.5px; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--red); box-shadow: 0 0 0 3px rgba(255, 90, 78, 0.15);
}
.field textarea { min-height: 110px; resize: vertical; }
.form-ok {
  background: var(--cyan-dim); border: 1px solid rgba(83, 225, 199, 0.4);
  color: var(--cyan); border-radius: 8px; padding: 12px 16px; font-size: 14px; margin-top: 12px;
  display: none;
}
.form-err {
  background: var(--red-dim); border: 1px solid rgba(255, 90, 78, 0.4);
  color: var(--red); border-radius: 8px; padding: 12px 16px; font-size: 14px; margin-top: 12px;
  display: none;
}

/* ---------- 揭示动效 ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 0.08s; } .rv-d2 { transition-delay: 0.16s; } .rv-d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .panel-scan, .hero-badge::before, .panel-head .lamp i.on { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 38px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .biz-grid { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .bene-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .step + .step { border-left: 1px solid var(--line); border-top: none; }
  .step:first-child { border-radius: var(--rad) var(--rad) 0 0; }
  .step:last-child { border-radius: 0 0 var(--rad) var(--rad); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 620px) {
  .nav-logo img { height: 40px; width: 40px; }
  .nav-logo .name { font-size: 15px; }
  .section { padding: 60px 0; }
  .hero { padding: 64px 0 48px; }
  .hero h1 { font-size: 32px; }
  .prod-grid, .adv-grid, .bene-grid, .form-row { grid-template-columns: 1fr; }
  .about-hl { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .cta h2 { font-size: 24px; }
}


/* ---------- 案例卡片（线上演示） ---------- */
.demo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; }
.demo-card {
  position: relative; background: var(--bg1); border: 1px solid var(--line); border-radius: var(--rad);
  overflow: hidden; display: flex; flex-direction: column; cursor: pointer;
  transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s;
}
.demo-card:hover, .demo-card:focus-visible {
  transform: translateY(-5px); border-color: var(--line2);
  box-shadow: 0 16px 40px rgba(0,0,0,.28); outline: none;
}
.dc-cover { position: relative; height: 148px; overflow: hidden; background: var(--bg2); }
.dc-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.demo-card:hover .dc-cover img { transform: scale(1.05); }
.dc-cover.ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: linear-gradient(135deg, hsl(var(--h), 58%, 24%), hsl(var(--h), 46%, 11%));
}
.dc-cover.ph .ph-grid {
  position: absolute; inset: 0; opacity: .2;
  background-image: linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px);
  background-size: 22px 22px;
}
.dc-cover.ph .ph-t { position: relative; font-size: 20px; font-weight: 700; letter-spacing: .12em; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.dc-cover.ph .ph-b { position: relative; font-family: var(--mono); font-size: 10px; letter-spacing: .28em; color: rgba(255,255,255,.62); }
.dc-feat {
  position: absolute; top: 12px; right: 12px; z-index: 2; font-family: var(--mono);
  font-size: 10.5px; letter-spacing: .1em; color: #fff; background: var(--red);
  padding: 3px 9px; border-radius: 3px; box-shadow: 0 4px 14px rgba(255,90,78,.4);
}
.dc-feat.inline { position: static; display: inline-block; box-shadow: none; margin-left: 8px; }
.dc-body { padding: 18px 18px 16px; display: flex; flex-direction: column; flex: 1; }
.dc-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.dc-meta .cat { font-family: var(--mono); font-size: 10.5px; color: var(--red); letter-spacing: .16em; background: var(--red-dim); padding: 3px 9px; border-radius: 3px; }
.dc-meta .ind { font-size: 11.5px; color: var(--txt3); }
.demo-card h3 { font-size: 16px; font-weight: 600; margin: 12px 0 8px; line-height: 1.45; }
.demo-card .dsc {
  color: var(--txt2); font-size: 12.8px; line-height: 1.7; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.dc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.dc-tags span { font-family: var(--mono); font-size: 10.5px; color: var(--cyan); background: var(--cyan-dim); padding: 3px 8px; border-radius: 3px; }
.dc-keys { margin-top: 9px; font-size: 11px; color: var(--txt3); letter-spacing: .04em; }
.demo-card .go { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); font-family: var(--mono); font-size: 12.5px; color: var(--red); letter-spacing: .06em; }
.demo-card .go .arrow { float: right; }

/* ---------- 案例筛选条 ---------- */
.demo-filters { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 26px; }
.df-chips { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.df-chip { font-family: inherit; font-size: 13px; color: var(--txt2); background: var(--bg1); border: 1px solid var(--line); border-radius: 20px; padding: 7px 16px; cursor: pointer; transition: .2s; }
.df-chip:hover { color: var(--txt); border-color: var(--line2); }
.df-chip.on { color: #fff; background: var(--red); border-color: var(--red); }
.df-search { background: var(--bg1); border: 1px solid var(--line2); border-radius: 8px; padding: 9px 14px; color: var(--txt); font-size: 13px; outline: none; min-width: 240px; font-family: inherit; }
.df-search:focus { border-color: var(--red); }
.df-tip { color: var(--txt3); font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; }

/* ---------- 案例详情弹窗 ---------- */
.dm-modal { max-width: 720px; padding: 0; }
.dm-modal .close { top: 12px; right: 14px; z-index: 3; background: rgba(5,11,24,.72); width: 32px; height: 32px; border-radius: 50%; }
.dm-modal .dc-cover { height: 230px; }
.dm-modal .dc-cover.ph .ph-t { font-size: 28px; }
.dm-content { padding: 26px 30px 30px; }
.dm-content h3 { font-size: 25px; margin: 10px 0 8px; }
.dm-summary { color: var(--txt2); font-size: 14.5px; line-height: 1.75; }
.dm-block { margin-top: 22px; }
.dm-block h4 { font-family: var(--mono); font-size: 11.5px; letter-spacing: .18em; color: var(--red); margin-bottom: 10px; }
.dm-text { color: var(--txt2); font-size: 14px; line-height: 1.85; white-space: pre-line; }
.dm-hl { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 18px; }
.dm-hl li { position: relative; padding-left: 18px; color: var(--txt2); font-size: 13.5px; line-height: 1.6; }
.dm-hl li::before { content: "▹"; position: absolute; left: 0; color: var(--cyan); }
.dm-keys { color: var(--txt3); font-size: 13px; }
.dm-actions { display: flex; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.btn-ghost { display: inline-block; padding: 11px 24px; border-radius: 8px; border: 1px solid var(--line2); color: var(--txt2); font-size: 14.5px; font-weight: 600; cursor: pointer; background: transparent; font-family: inherit; }
.btn-ghost:hover { color: var(--txt); border-color: var(--txt3); }
@media (max-width: 620px) { .dm-hl { grid-template-columns: 1fr; } .dm-content { padding: 22px 20px 26px; } .df-search { min-width: 100%; } }

/* ---------- 全代码交付承诺带 ---------- */
.promise {
  position: relative;
  background:
    radial-gradient(ellipse 60% 90% at 50% 130%, rgba(255, 90, 78, 0.13), transparent),
    var(--bg2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 72px 0;
}
.promise .big {
  font-size: 30px; font-weight: 800; text-align: center; letter-spacing: 0.04em;
}
.promise .big .hl { color: var(--red); }
.promise .sub { text-align: center; color: var(--txt2); margin-top: 10px; }
.promise .items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.promise .pi { background: var(--bg1); border: 1px solid var(--line); border-radius: var(--rad); padding: 20px 22px; }
.promise .pi .k { font-family: var(--mono); font-size: 10.5px; color: var(--txt3); letter-spacing: 0.2em; margin-bottom: 8px; }
.promise .pi h3 { font-size: 15.5px; margin-bottom: 5px; }
.promise .pi p { color: var(--txt2); font-size: 12.5px; }

/* 技术栈带 */
.stack-strip { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.stack-strip span {
  font-family: var(--mono); font-size: 13px; color: var(--txt2);
  border: 1px solid var(--line); border-radius: 6px; padding: 9px 18px; background: var(--bg1);
}
.stack-strip span:hover { border-color: rgba(255, 90, 78, 0.5); color: var(--txt); }

@media (max-width: 960px) { .demo-grid { grid-template-columns: repeat(2, 1fr); } .promise .items { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .demo-grid, .promise .items { grid-template-columns: 1fr; } }

/* 页脚管理入口 */

/* ===== 五项核心业务能力（营业执照经营范围） ===== */
.core5-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 40px; }
.core5-card {
  position: relative; background: var(--bg1); border: 1px solid var(--line);
  border-radius: var(--rad); padding: 26px 20px 22px; transition: border-color .25s, transform .25s;
}
.core5-card:hover { border-color: rgba(255,90,78,.55); transform: translateY(-4px); }
.core5-card .c5-no {
  position: absolute; top: 14px; right: 16px; font-family: var(--mono);
  font-size: 11px; letter-spacing: .18em; color: var(--txt3);
}
.core5-card .c5-ic {
  width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
  border-radius: 10px; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(255,90,78,.18), rgba(83,225,199,.12));
  border: 1px solid rgba(255,90,78,.24);
}
.core5-card .c5-ic svg { width: 22px; height: 22px; stroke: var(--red); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.core5-card h3 { font-size: 16px; margin-bottom: 9px; letter-spacing: .02em; }
.core5-card p { color: var(--txt2); font-size: 12.5px; line-height: 1.75; }

/* ===== 企业登记信息公示（关于我们） ===== */
.reg-panel { margin-top: 40px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; }
.reg-list { background: var(--bg1); border: 1px solid var(--line); border-radius: var(--rad); padding: 10px 26px; }
.reg-item { display: flex; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.reg-item:last-child { border-bottom: 0; }
.reg-item .k { flex: 0 0 132px; color: var(--txt3); }
.reg-item .v { color: var(--txt); flex: 1; word-break: break-all; }
.reg-item .v.mono { font-family: var(--mono); letter-spacing: .04em; color: var(--cyan, #53e1c7); }
.reg-scope { background: var(--bg1); border: 1px solid var(--line); border-radius: var(--rad); padding: 26px; }
.reg-scope .rs-title { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--txt3); margin-bottom: 16px; }
.rs-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.reg-tag { font-size: 12px; padding: 6px 12px; border-radius: 20px; border: 1px solid rgba(255,90,78,.4); color: var(--red); background: rgba(255,90,78,.08); }
.rs-full { color: var(--txt2); font-size: 12.5px; line-height: 1.9; }
.rs-note { margin-top: 16px; font-size: 12px; color: var(--txt3); }
.foot-credit { font-size: 12px; color: var(--txt3); }
.foot-credit b { font-family: var(--mono); font-weight: 500; color: var(--txt2); letter-spacing: .04em; }
@media (max-width: 1100px) { .core5-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 960px) { .reg-panel { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .core5-grid { grid-template-columns: 1fr; } .reg-item { flex-direction: column; gap: 4px; } .reg-item .k { flex: none; } }

/* ===== 招中标信息发布（自营平台栏目页 + 首页入口） ===== */
.bd-flags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.bd-flags span {
  font-size: 13px; color: var(--cyan); background: var(--cyan-dim);
  border: 1px solid rgba(83,225,199,.28); border-radius: 20px; padding: 7px 16px;
}

/* 覆盖平台四宫格 */
.bd-platforms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.bd-platform {
  position: relative; background: linear-gradient(160deg, var(--bg2), var(--bg1));
  border: 1px solid var(--line2); border-radius: var(--rad); padding: 26px 22px 24px;
  transition: transform .25s, border-color .25s;
}
.bd-platform:hover { transform: translateY(-5px); border-color: rgba(255,90,78,.5); }
.bd-platform .bp-no { font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; color: var(--txt3); }
.bd-platform h3 { font-size: 18px; margin: 18px 0 8px; color: var(--txt); }
.bd-platform p { color: var(--txt2); font-size: 12.5px; }
.bd-platform::after {
  content: ""; position: absolute; left: 22px; bottom: 20px; width: 26px; height: 2px;
  background: var(--red); border-radius: 1px;
}

/* 四项服务 */
.bd-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 40px; }
.bd-service {
  background: var(--bg1); border: 1px solid var(--line); border-radius: var(--rad);
  padding: 28px 26px; transition: border-color .25s, background .25s;
}
.bd-service:hover { border-color: rgba(255,90,78,.45); background: var(--bg2); }
.bd-service .no { font-family: var(--mono); font-size: 24px; font-weight: 700; color: var(--red); opacity: .85; }
.bd-service h3 { font-size: 17px; margin: 12px 0 8px; }
.bd-service p { color: var(--txt2); font-size: 13.5px; line-height: 1.8; }

/* 四步流程（带连接线） */
.bd-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.bd-step {
  position: relative; background: var(--bg1); border: 1px solid var(--line);
  border-radius: var(--rad); padding: 24px 20px;
}
.bd-step:not(:last-child)::after {
  content: "→"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%);
  color: var(--red); font-size: 18px; z-index: 2;
}
.bd-step .no { font-family: var(--mono); font-size: 22px; font-weight: 700; color: var(--red); }
.bd-step h3 { font-size: 16px; margin: 10px 0 6px; }
.bd-step p { color: var(--txt2); font-size: 12.5px; }

/* 城市合伙人招募 */
.bd-partner {
  position: relative; padding: 72px 0;
  background: radial-gradient(ellipse 60% 100% at 15% 0%, rgba(255,90,78,.16), transparent), var(--bg2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.bd-partner-inner { display: grid; grid-template-columns: 1.25fr .75fr; gap: 44px; align-items: center; }
.bd-partner-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.bd-partner-tags span {
  font-size: 12.5px; color: var(--txt2); border: 1px solid var(--line2);
  border-radius: 6px; padding: 7px 14px; background: var(--bg1);
}
.bd-partner-card {
  background: var(--bg1); border: 1px solid var(--line2); border-radius: 12px; padding: 26px;
}
.bd-partner-card .bp-label { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; color: var(--txt3); }
.bd-partner-card .bp-qq { font-family: var(--mono); font-size: 26px; font-weight: 700; color: var(--cyan); margin: 10px 0 12px; }
.bd-partner-card p { color: var(--txt2); font-size: 13px; line-height: 1.75; margin-bottom: 18px; }
.bd-note { color: var(--txt3); font-size: 12px; margin-top: 26px; }

/* 首页入口 */
.bd-feat-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; margin-top: 8px; }
.bd-feat-pts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.bd-feat-pts span {
  font-size: 12.5px; color: var(--cyan); background: var(--cyan-dim);
  border: 1px solid rgba(83,225,199,.3); border-radius: 6px; padding: 7px 14px;
}
.bd-feat-panel {
  background: linear-gradient(180deg, var(--bg3), var(--bg1));
  border: 1px solid var(--line2); border-radius: 12px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
.bd-feat-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 18px; border-top: 1px solid var(--line); }
.bd-feat-chips span {
  font-family: var(--mono); font-size: 11px; color: var(--txt2);
  border: 1px solid var(--line); border-radius: 4px; padding: 5px 10px; background: var(--bg0);
}

@media (max-width: 960px) {
  .bd-platforms { grid-template-columns: repeat(2, 1fr); }
  .bd-flow { grid-template-columns: repeat(2, 1fr); }
  .bd-flow .bd-step:nth-child(2)::after { display: none; }
  .bd-partner-inner, .bd-feat-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 620px) {
  .bd-services, .bd-platforms, .bd-flow { grid-template-columns: 1fr; }
  .bd-step:not(:last-child)::after { display: none; }
}
