/* ============================================================
   铁路营业线安全管理系统 · 产品详情页
   配色对齐「集聚创新-铁路子站」主站视觉体系
   （深色 Hero 屏 + 浅色正文 + 品牌蓝 #2563EB）
   ============================================================ */

/* ===== Base ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
               "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--blue); }

:root {
  /* 品牌蓝 */
  --blue: #2563EB;
  --blue-light: #3B6EF4;
  --blue-lighter: #60A5FA;
  --blue-dark: #1D4ED8;
  --tint: #EFF4FF;
  --tint-line: #D6E2FF;

  /* 背景 */
  --bg: #FFFFFF;
  --bg-alt: #F8FAFC;
  --card: #FFFFFF;
  --card-hover: #F8FAFC;

  /* 描边 */
  --border: #E2E8F0;
  --border-strong: #CBD5E1;

  /* 文字层级 */
  --text: #0F172A;
  --ink-2: #334155;
  --muted: #64748B;
  --muted-2: #94A3B8;

  /* 功能色 */
  --warn: #EA580C;
  --warn-tint: #FFF4E8;
  --danger: #DC2626;

  /* 深色区 */
  --dark1: #060B14;
  --dark2: #0C111C;
  --dark3: #0F172A;

  --radius: 16px;
  --container: 1200px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* 顶部导航与页脚已统一为 m1- 组件（见页面内联样式），此处不再重复定义 */

/* ===== Hero（深色屏，对齐主站 Hero） ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 88px;
  color: #fff;
  background: linear-gradient(180deg, var(--dark1) 0%, var(--dark2) 42%, var(--dark3) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  top: -160px; right: -120px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(59, 110, 244, .35), transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -220px; left: -100px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(37, 99, 235, .22), transparent 65%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.eyebrow {
  font-size: 13px;
  letter-spacing: 1.2px;
  color: var(--blue-lighter);
  font-weight: 600;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 44px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 22px;
  color: #fff;
}
.hero h1 .grad {
  background: linear-gradient(135deg, #BFD4FF, var(--blue-lighter));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  font-size: 16px;
  color: #CBD5E1;
  max-width: 540px;
  margin-bottom: 36px;
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 600px;
}
.meta-item {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  backdrop-filter: blur(6px);
}
.meta-item .num {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--blue-lighter);
  margin-bottom: 4px;
}
.meta-item .lbl {
  font-size: 12px;
  color: var(--muted-2);
}
.hero-img img {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

@media (max-width: 900px) {
  .hero { padding: 60px 0 50px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 32px; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Section ===== */
.section { padding: 96px 0; background: var(--bg); }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section-head { margin-bottom: 56px; max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 1.5px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 14px;
  padding: 4px 10px;
  background: var(--tint);
  border: 1px solid var(--tint-line);
  border-radius: 999px;
}
.section h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  color: var(--text);
}
.section .sub { color: var(--muted); font-size: 15px; }

@media (max-width: 700px) {
  .section { padding: 64px 0; }
  .section h2 { font-size: 24px; }
}

/* ===== Pain grid ===== */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pain-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  border-color: var(--tint-line);
}
.pain-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--warn-tint);
  color: var(--warn);
  font-weight: 700;
  margin-bottom: 18px;
}
.pain-card h3 { font-size: 20px; margin-bottom: 10px; color: var(--text); }
.pain-card p { color: var(--muted); font-size: 14.5px; }

@media (max-width: 860px) {
  .pain-grid { grid-template-columns: 1fr; }
}

/* ===== Two column ===== */
.two-col {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.col-text p { color: var(--muted); margin-bottom: 24px; font-size: 15px; }
.col-text strong { color: var(--blue); }
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.check-list li {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.7;
}
.check-list .dot {
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.12);
  border: 2px solid var(--blue);
  position: relative;
}
.check-list .dot::after {
  content: "";
  position: absolute;
  left: 4px; top: 1px;
  width: 6px; height: 10px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg);
}
.col-img img {
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}
.col-img figcaption {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 36px; }
}

/* ===== Functions ===== */
.func-list { display: flex; flex-direction: column; gap: 28px; }
.func-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 36px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  align-items: start;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.func-card:hover {
  border-color: var(--tint-line);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}
.func-card.reverse { grid-template-columns: 1fr 180px; }
.func-card.reverse .func-no { order: 2; }
.func-card.reverse .func-body { order: 1; }
.func-no {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.func-body h3 { font-size: 22px; margin-bottom: 8px; color: var(--text); }
.func-body .tagline {
  font-size: 14px;
  color: var(--blue);
  margin-bottom: 12px;
  font-weight: 500;
}
.func-body p { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.func-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.func-points.three { grid-template-columns: repeat(3, 1fr); }
.func-points h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.func-points h4::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
}
.func-points p { font-size: 13.5px; color: var(--muted); margin: 0; }
.func-img {
  margin-top: 24px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.func-img.zone { background: var(--bg-alt); }
.func-img img { width: 100%; }
.func-img figcaption {
  padding: 10px 14px;
  font-size: 12px;
  color: var(--muted);
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

@media (max-width: 860px) {
  .func-card, .func-card.reverse { grid-template-columns: 1fr; gap: 16px; padding: 28px; }
  .func-card.reverse .func-no, .func-card.reverse .func-body { order: initial; }
  .func-no { font-size: 32px; }
  .func-points, .func-points.three { grid-template-columns: 1fr; }
}

/* ===== Tech grid ===== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.tech-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.tech-card:hover {
  transform: translateY(-3px);
  border-color: var(--tint-line);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}
.tech-mark {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 5px 10px;
  background: var(--tint);
  color: var(--blue);
  border-radius: 6px;
  margin-bottom: 16px;
}
.tech-card h3 { font-size: 17px; margin-bottom: 8px; color: var(--text); }
.tech-card p { font-size: 13.5px; color: var(--muted); }

@media (max-width: 860px) {
  .tech-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .tech-grid { grid-template-columns: 1fr; }
}

/* Tech host */
.tech-host {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
}
.host-text h3 { font-size: 24px; margin-bottom: 12px; color: var(--text); }
.host-text > p { color: var(--muted); margin-bottom: 20px; font-size: 14.5px; }
.host-img img {
  border-radius: 12px;
  background: #fff;
  padding: 16px;
  border: 1px solid var(--border);
}
.check-list.two { grid-template-columns: 1fr 1fr; gap: 12px 24px; }

@media (max-width: 900px) {
  .tech-host { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
  .check-list.two { grid-template-columns: 1fr; }
}

/* ===== Table ===== */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
}
.hw-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 14px;
}
.hw-table th, .hw-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--ink-2);
}
.hw-table thead th {
  background: var(--tint);
  color: var(--blue);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
}
.hw-table tbody tr:hover { background: var(--bg-alt); }
.hw-table tbody tr:last-child td { border-bottom: none; }
.hw-table td:first-child { color: var(--blue); font-weight: 600; }
.hw-table td:nth-child(3) { color: var(--ink-2); font-weight: 600; }

/* ===== Delivery ===== */
.del-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.del-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px;
}
.del-no {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--blue);
  margin-bottom: 16px;
}
.del-card h3 { font-size: 19px; margin-bottom: 10px; color: var(--text); }
.del-card p { font-size: 14px; color: var(--muted); }

@media (max-width: 860px) { .del-grid { grid-template-columns: 1fr; } }

/* ===== CTA / Contact（品牌蓝渐变带，对齐主站 CTA） ===== */
.section-cta {
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  color: #fff;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.cta-text h2 { font-size: 30px; margin-bottom: 14px; color: #fff; }
.cta-text p { color: rgba(255, 255, 255, 0.88); font-size: 15px; }
.cta-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  padding: 28px;
  backdrop-filter: blur(6px);
}
.cta-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.cta-row:last-child { border-bottom: none; }
.cta-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.cta-val {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

@media (max-width: 860px) {
  .cta-grid { grid-template-columns: 1fr; gap: 28px; }
}
