/* ==========================================================================
   母模板 D · 工业数字驾驶舱版 (Industrial Cockpit Master Template Stylesheet)
   设计语言：工业4.0数字孪生控制台、遥测仪表盘、硬核参数比对表、指令工单式交互
   ========================================================================== */

.layout-industrial_cockpit {
  background-color: #030712;
  color: #e2e8f0;
  font-family: "SF Mono", Monaco, Consolas, "PingFang SC", "Microsoft YaHei", monospace, sans-serif;
}

.layout-industrial_cockpit .top-bar {
  background: #020617;
  border-bottom: 1px solid #1e293b;
  font-size: 12px;
}

.layout-industrial_cockpit .header-nav {
  background: rgba(3, 7, 18, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #1e293b;
}

.layout-industrial_cockpit .nav-item a {
  color: #94a3b8;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.layout-industrial_cockpit .nav-item:hover a,
.layout-industrial_cockpit .nav-item.active a {
  color: #38bdf8;
}

/* 1. 工业驾驶舱数字巨幕 Hero */
.cockpit-hero {
  padding: 60px 0 70px;
  background: radial-gradient(circle at 50% 0%, rgba(14, 165, 233, 0.12) 0%, transparent 60%),
              #030712;
  border-bottom: 1px solid #1e293b;
  position: relative;
}

.cockpit-statusbar {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid #1e293b;
  border-radius: 6px;
  padding: 8px 16px;
  margin-bottom: 24px;
  font-size: 12px;
  width: fit-content;
}

.status-dot-green {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
}

.cockpit-title {
  font-size: 40px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.cockpit-title span {
  color: #38bdf8;
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

.cockpit-grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.cockpit-telemetry-panel {
  background: #0b1329;
  border: 1px solid #1e3a8a;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  position: relative;
}

.telemetry-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.telemetry-gauge {
  background: #030712;
  border: 1px solid #1e293b;
  border-radius: 8px;
  padding: 14px 10px;
  text-align: center;
}

.telemetry-val {
  font-size: 22px;
  font-weight: 900;
  color: #38bdf8;
}

.telemetry-lbl {
  font-size: 11px;
  color: #64748b;
  margin-top: 4px;
}

/* 2. 工业模块阵列 (Production Matrix) */
.module-matrix-section {
  padding: 70px 0;
  background: #020617;
}

.module-matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.module-card {
  background: #0b1120;
  border: 1px solid #1e293b;
  border-radius: 10px;
  padding: 24px;
  transition: all 0.2s ease;
  position: relative;
}

.module-card:hover {
  border-color: #38bdf8;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.15);
}

.module-code {
  font-size: 11px;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 12px;
}

.module-title {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.module-desc {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* 3. 硬核工程参数对比台 */
.specs-table-section {
  padding: 70px 0;
  background: #030712;
  border-top: 1px solid #1e293b;
}

.cockpit-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  background: #0b1120;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #1e293b;
}

.cockpit-table th,
.cockpit-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid #1e293b;
  font-size: 13.5px;
}

.cockpit-table th {
  background: #070d18;
  color: #38bdf8;
  font-weight: 700;
}

/* 4. 指挥舱式工单派发终端 */
.dispatch-section {
  padding: 70px 0;
  background: #070d18;
  border-top: 1px solid #1e293b;
}

.dispatch-terminal {
  max-width: 800px;
  margin: 0 auto;
  background: #0b1329;
  border: 1px solid #1e3a8a;
  border-radius: 12px;
  padding: 36px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

@media (max-width: 900px) {
  .cockpit-grid-2,
  .module-matrix-grid {
    grid-template-columns: 1fr;
  }
}
