:root {
  --bg: #05080d;
  --bg-soft: #0b1119;
  --panel: rgba(14, 23, 34, 0.76);
  --panel-solid: #101925;
  --text: #eef7ff;
  --muted: #92a6b8;
  --line: rgba(128, 222, 255, 0.16);
  --cyan: #38d8ff;
  --blue: #5c8dff;
  --green: #43f0a5;
  --amber: #ffb84d;
  --red: #ff5d68;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 12%, rgba(56, 216, 255, 0.18), transparent 28%),
    radial-gradient(circle at 82% 4%, rgba(67, 240, 165, 0.1), transparent 26%),
    linear-gradient(180deg, #04070c 0%, #07101a 45%, #05080d 100%);
  letter-spacing: 0;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea, select {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

.page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.7), transparent 86%);
  z-index: 0;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100vw - 32px));
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: rgba(5, 10, 16, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.24);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 210px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(56, 216, 255, 0.46);
  background: linear-gradient(135deg, rgba(56,216,255,0.18), rgba(67,240,165,0.12));
  color: var(--cyan);
  font-weight: 800;
}

.brand strong, .brand small {
  display: block;
}

.brand strong {
  font-size: 14px;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #b9c9d8;
  font-size: 13px;
}

.nav-links a:hover {
  color: var(--cyan);
}

.header-cta {
  padding: 10px 14px;
  border: 1px solid rgba(56, 216, 255, 0.38);
  background: rgba(56, 216, 255, 0.1);
  color: var(--text);
  font-size: 13px;
}

.section-band {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 104px 0;
}

.section-band.compact {
  padding: 70px 0;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 48px;
  padding-top: 120px;
}

.hero-copy,
.hero-console,
.section-heading,
.scenario-panel,
.engine-panel,
.contact-card {
  min-width: 0;
}

.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  background: var(--green);
  box-shadow: 0 0 20px rgba(67, 240, 165, 0.8);
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  margin: 18px 0 22px;
  font-size: clamp(48px, 6.5vw, 84px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  max-width: 760px;
  overflow-wrap: anywhere;
  word-break: keep-all;
  background: linear-gradient(135deg, #ffffff 20%, #d4f2ff 55%, var(--cyan) 85%, var(--green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 80px rgba(56, 216, 255, 0.12);
}

h2 {
  margin: 12px 0 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 680px;
  color: #c4d4e2;
  font-size: 18px;
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: #031018;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 18px 44px rgba(56, 216, 255, 0.18);
}

.btn.secondary {
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
  color: var(--text);
}

.btn.secondary.dark {
  background: rgba(5, 10, 16, 0.44);
}

.btn.full {
  width: 100%;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.proof-strip span, .tag-row span, .trust-row span {
  display: inline-flex;
  padding: 9px 12px;
  border: 1px solid rgba(56, 216, 255, 0.18);
  background: rgba(56, 216, 255, 0.07);
  color: #ccefff;
  font-size: 13px;
}

.hero-console {
  border: 1px solid rgba(56, 216, 255, 0.2);
  background: linear-gradient(180deg, rgba(14,23,34,0.92), rgba(7,13,20,0.86));
  box-shadow: var(--shadow);
  padding: 16px;
  min-height: 620px;
}

.console-topbar, .console-bottom, .scenario-panel, .contact-card, .engine-panel {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.035);
}

.console-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
  margin-bottom: 14px;
}

.console-topbar strong, .console-topbar span {
  display: block;
}

.console-topbar span {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(67,240,165,0.1);
  color: var(--green);
  font-size: 12px;
}

.live-pill i {
  width: 8px;
  height: 8px;
  background: var(--green);
  animation: pulse 1.6s infinite;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.video-card {
  position: relative;
  min-height: 174px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: #111b28;
}

.video-card.active {
  border-color: rgba(56, 216, 255, 0.62);
  box-shadow: inset 0 0 0 1px rgba(56,216,255,0.2), 0 0 40px rgba(56,216,255,0.08);
}

.video-texture {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(56,216,255,0.08), transparent 42%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.08) 0 2px, transparent 2px 28px),
    linear-gradient(135deg, #173041, #101622 58%, #202e39);
}

.video-texture.alt { background: linear-gradient(135deg, #162838, #2b2f2d 58%, #0d1721); }
.video-texture.warm { background: linear-gradient(135deg, #302216, #151b1e 55%, #38291a); }
.video-texture.road { background: linear-gradient(135deg, #17212d, #272c37 55%, #0d151d); }

.video-texture::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.48));
}

.camera-name {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  color: #d8eefe;
  font-size: 12px;
  padding: 6px 8px;
  background: rgba(3, 9, 14, 0.68);
}

.video-overlay {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  gap: 6px;
  pointer-events: none;
}

.stream-fps, .stream-codec {
  font-size: 9px;
  padding: 3px 6px;
  background: rgba(3, 9, 14, 0.72);
  color: var(--muted);
  border: 1px solid rgba(255,255,255,0.06);
  font-family: monospace;
}

.stream-fps {
  color: var(--green);
}

.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(180deg, transparent, rgba(56, 216, 255, 0.38), transparent);
  pointer-events: none;
  z-index: 1;
  animation: scan-move 4s linear infinite;
}

@keyframes scan-move {
  0% { top: -4px; }
  100% { top: 100%; }
}

.detect-box {
  position: absolute;
  z-index: 2;
  min-width: 92px;
  min-height: 54px;
  border: 1.5px solid var(--cyan);
  color: var(--cyan);
  padding: 5px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  font-size: 11px;
  background: rgba(5, 16, 26, 0.28);
  box-shadow: 0 0 15px rgba(56, 216, 255, 0.15);
  animation: box-float 4s ease-in-out infinite alternate;
}

.detect-box::before {
  content: "";
  position: absolute;
  top: -2px; left: -2px;
  width: 6px; height: 6px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
}

.detect-box::after {
  content: "";
  position: absolute;
  bottom: -2px; right: -2px;
  width: 6px; height: 6px;
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.detect-box b, .detect-box em {
  background: rgba(2, 10, 15, 0.78);
  padding: 2px 4px;
  font-style: normal;
  position: relative;
}

.detect-box b::before {
  content: "";
  position: absolute;
  top: -2px; right: -2px;
  width: 6px; height: 6px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.detect-box b::after {
  content: "";
  position: absolute;
  bottom: -2px; left: -2px;
  width: 6px; height: 6px;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
}

@keyframes box-float {
  0% { transform: translate(0, 0); }
  50% { transform: translate(2px, -1px); }
  100% { transform: translate(-1px, 2px); }
}

.detect-box.person { left: 22%; top: 34%; }
.detect-box.vehicle { right: 12%; bottom: 18%; border-color: var(--green); color: var(--green); }
.detect-box.zone { left: 18%; bottom: 20%; border-color: var(--amber); color: var(--amber); }
.detect-box.alert { right: 14%; top: 28%; border-color: var(--red); color: var(--red); }
.detect-box.wide { width: 130px; left: 26%; bottom: 24%; }

.console-bottom {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
  margin-top: 14px;
  padding: 14px;
}

.event-feed {
  display: grid;
  gap: 10px;
}

.event-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: rgba(5, 12, 18, 0.7);
  border-left: 3px solid var(--cyan);
  color: #c7d8e7;
  font-size: 12px;
  animation: slide-in-event 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slide-in-event {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.event-item.high { border-left-color: var(--red); }
.event-item.medium { border-left-color: var(--amber); }
.event-item.done { border-left-color: var(--green); }
.event-item strong { color: var(--text); font-size: 13px; }
.event-item small { color: var(--muted); }

.pipeline-mini {
  display: grid;
  align-content: center;
  gap: 10px;
}

.pipeline-mini span {
  position: relative;
  padding: 10px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: #8fa4b5;
  font-size: 13px;
}

.pipeline-mini span.done {
  color: var(--green);
  border-color: rgba(67,240,165,0.3);
}

.pipeline-mini span.active {
  color: var(--cyan);
  border-color: rgba(56,216,255,0.4);
  background: rgba(56,216,255,0.08);
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading.center {
  text-align: center;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading.split {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 48px;
  align-items: end;
}

.section-heading p, .problem p, .about-grid p, .engine-panel p, .contact-card p {
  color: #b7c8d6;
  line-height: 1.78;
  font-size: 16px;
}

.contrast-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.contrast-card, .cards article, .mechanism-flow article, .scenario-grid article {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 24px;
}

.contrast-card span, .cards article span, .mechanism-flow article span, .panel-label {
  color: var(--cyan);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
}

.contrast-card.active {
  background: linear-gradient(135deg, rgba(56,216,255,0.13), rgba(67,240,165,0.08));
  border-color: rgba(56,216,255,0.28);
}

.mechanism-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.mechanism-flow p, .cards p, .scenario-grid p {
  color: var(--muted);
  line-height: 1.66;
  margin-bottom: 0;
}

.demo-band {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100vw - 1180px) / 2));
  padding-right: max(16px, calc((100vw - 1180px) / 2));
  background: linear-gradient(180deg, rgba(56,216,255,0.04), rgba(67,240,165,0.035));
}

.demo-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
}

.scenario-tabs {
  display: grid;
  gap: 10px;
}

.scenario-tabs button {
  min-height: 48px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: #b9c9d8;
  cursor: pointer;
  text-align: left;
  padding: 0 16px;
}

.scenario-tabs button.active {
  color: #031018;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  border-color: transparent;
  font-weight: 800;
}

.scenario-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  padding: 24px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.event-table {
  display: grid;
  gap: 10px;
}

.event-row {
  display: grid;
  grid-template-columns: 78px 1fr auto;
  gap: 12px;
  padding: 13px;
  align-items: center;
  background: rgba(5,12,18,0.64);
  border: 1px solid rgba(255,255,255,0.06);
}

.event-row strong {
  display: block;
  margin-bottom: 3px;
}

.event-row small {
  color: var(--muted);
}

.risk {
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 800;
}

.risk.high { color: var(--red); background: rgba(255,93,104,0.11); }
.risk.medium { color: var(--amber); background: rgba(255,184,77,0.12); }
.risk.normal { color: var(--green); background: rgba(67,240,165,0.11); }

.cards.six {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.engine-band {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100vw - 1180px) / 2));
  padding-right: max(16px, calc((100vw - 1180px) / 2));
}

.engine-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  padding: 38px;
  background:
    linear-gradient(135deg, rgba(56,216,255,0.06), rgba(67,240,165,0.03)),
    rgba(7, 13, 20, 0.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.engine-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.engine-desc {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.76;
}

.engine-metrics-mini {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 30px;
}

.metric-item {
  background: rgba(14, 23, 34, 0.48);
  border: 1px solid rgba(56, 216, 255, 0.08);
  padding: 14px 16px;
  border-radius: 4px;
}

.metric-item strong {
  display: block;
  font-size: 20px;
  color: var(--cyan);
  margin-bottom: 4px;
}

.metric-item span {
  font-size: 12px;
  color: var(--muted);
}

.engine-diagram {
  background: rgba(6, 12, 20, 0.6);
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 8px;
  box-shadow: inset 0 0 24px rgba(56, 216, 255, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.diagram-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-left: 2px solid var(--cyan);
  padding-left: 8px;
  align-self: flex-start;
}

.engine-svg {
  max-width: 100%;
  overflow: visible;
}

/* 管道流动动画 */
.pipe-flow {
  stroke-dasharray: 6 12;
  animation: flow-pulse 4s linear infinite;
}

@keyframes flow-pulse {
  to {
    stroke-dashoffset: -72;
  }
}

/* 节点内圆点闪烁 */
.node-indicator {
  animation: node-glow 1.8s ease-in-out infinite alternate;
}

@keyframes node-glow {
  0% { opacity: 0.4; r: 3.5px; }
  100% { opacity: 1; r: 5px; filter: drop-shadow(0 0 4px currentColor); }
}

/* 环形缓存槽位填充动画 */
.slot-s1 { animation: slot-glow 1.5s infinite 0.0s alternate; }
.slot-s2 { animation: slot-glow 1.5s infinite 0.3s alternate; }
.slot-s3 { animation: slot-glow 1.5s infinite 0.6s alternate; }
.slot-s4 { animation: slot-glow 1.5s infinite 0.9s alternate; }

@keyframes slot-glow {
  0% { opacity: 0.2; stroke-width: 2px; }
  100% { opacity: 1; stroke-width: 3.2px; filter: drop-shadow(0 0 2px currentColor); }
}

.engine-node {
  transition: transform 0.3s ease;
}

.engine-node:hover {
  transform: translateY(-2px);
}

.engine-node rect {
  transition: stroke 0.3s ease, fill 0.3s ease;
}

.engine-node:hover rect {
  stroke: var(--cyan);
  fill: rgba(56, 216, 255, 0.2);
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.deploy-band {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100vw - 1180px) / 2));
  padding-right: max(16px, calc((100vw - 1180px) / 2));
  background: rgba(255,255,255,0.012);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.deploy-diagram-container {
  background: rgba(6, 12, 20, 0.45);
  border: 1px solid var(--line);
  padding: 34px 24px;
  border-radius: 8px;
  box-shadow: inset 0 0 40px rgba(56, 216, 255, 0.03);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.deploy-svg {
  min-width: 740px;
  width: 100%;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  overflow: visible;
}

/* 协同流动线 */
.dep-pipe-flow {
  stroke-dasharray: 8 16;
  animation: dep-flow-pulse 5s linear infinite;
}

@keyframes dep-flow-pulse {
  to {
    stroke-dashoffset: -96;
  }
}

/* 拓扑图节点 */
.dep-node {
  cursor: pointer;
}

.dep-node circle, .dep-node rect {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.3s ease, fill 0.3s ease;
  transform-origin: center;
  transform-box: fill-box;
}

.dep-node:hover circle {
  transform: scale(1.08);
  stroke: var(--cyan);
  fill: rgba(56, 216, 255, 0.18);
}

.dep-node:hover rect {
  transform: scale(1.025);
  stroke: var(--cyan);
  fill: rgba(56, 216, 255, 0.15);
}

/* 呼吸灯效果 */
.status-dot {
  animation: dot-pulse 1.5s infinite alternate;
}

.status-dot-blue {
  animation: dot-pulse-blue 1.5s infinite alternate;
}

@keyframes dot-pulse {
  0% { opacity: 0.4; r: 4px; }
  100% { opacity: 1; r: 6px; filter: drop-shadow(0 0 5px var(--green)); }
}

@keyframes dot-pulse-blue {
  0% { opacity: 0.4; r: 2.5px; }
  100% { opacity: 1; r: 4px; filter: drop-shadow(0 0 3px var(--blue)); }
}

/* 产品规格参数样式 */
.specs-band {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100vw - 1180px) / 2));
  padding-right: max(16px, calc((100vw - 1180px) / 2));
  background: rgba(255, 255, 255, 0.005);
  border-bottom: 1px solid var(--line);
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
}

.specs-table-container {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.specs-table-container h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--cyan);
  margin-top: 0;
  margin-bottom: 18px;
  border-left: 3px solid var(--cyan);
  padding-left: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table th, .specs-table td {
  padding: 12px 14px;
  text-align: left;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.specs-table th {
  color: var(--cyan);
  font-weight: 700;
  background: rgba(56, 216, 255, 0.03);
}

.specs-table td {
  color: #cddff0;
  line-height: 1.6;
}

.specs-table td strong {
  color: var(--text);
}

.specs-table tr:hover td {
  background: rgba(255, 255, 255, 0.015);
}

.specs-table tr:last-child td {
  border-bottom: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.contact-band {
  padding-bottom: 60px;
}

.contact-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  padding: 34px;
  background: linear-gradient(135deg, rgba(56,216,255,0.08), rgba(67,240,165,0.05)), rgba(14,23,34,0.78);
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  color: #d6e8f5;
}

.lead-form {
  display: grid;
  gap: 12px;
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: #c9d9e6;
  font-size: 13px;
}

.lead-form input, .lead-form textarea, .lead-form select {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(5, 10, 16, 0.64);
  color: var(--text);
  padding: 12px 13px;
  outline: none;
}

.lead-form textarea {
  min-height: 92px;
  resize: vertical;
}

.site-footer {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 28px 0 42px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}

@keyframes scan {
  0%, 100% { opacity: 0.74; }
  50% { opacity: 1; }
}

@media (max-width: 1060px) {
  .nav-links { display: none; }
  .hero, .section-heading.split, .scenario-panel, .engine-panel, .about-grid, .contact-card, .specs-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 130px;
    gap: 30px;
  }
  .mechanism-flow, .cards.six, .scenario-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .site-header {
    top: 10px;
    width: calc(100vw - 20px);
  }
  .brand { min-width: 0; }
  .brand small { display: none; }
  .brand strong { font-size: 13px; }
  .header-cta { display: none; }
  .section-band {
    width: calc(100vw - 40px);
    padding: 70px 0;
  }
  .hero {
    min-height: auto;
    padding-top: 110px;
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
  }
  .hero-copy,
  .hero-console,
  .hero-lead,
  .proof-strip,
  .console-topbar,
  .console-bottom,
  .video-grid,
  .event-feed,
  .pipeline-mini {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  h1 {
    font-size: 38px;
    line-height: 1.12;
    max-width: 100%;
  }
  h2 {
    font-size: 30px;
  }
  .hero-lead,
  .section-heading p,
  .problem p,
  .about-grid p,
  .engine-panel p,
  .contact-card p {
    font-size: 16px;
    overflow-wrap: anywhere;
    word-break: normal;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .proof-strip {
    display: grid;
    grid-template-columns: 1fr;
  }
  .proof-strip span {
    justify-content: center;
    text-align: center;
    min-width: 0;
    white-space: normal;
  }
  .hero-console {
    width: 100%;
    min-height: auto;
    padding: 10px;
    overflow: hidden;
  }
  .console-topbar {
    align-items: flex-start;
    gap: 10px;
  }
  .console-topbar,
  .console-bottom {
    display: grid;
    grid-template-columns: 1fr;
  }
  .video-grid, .console-bottom, .contrast-grid, .mechanism-flow, .cards.six, .scenario-grid, .demo-layout, .engine-metrics-mini {
    grid-template-columns: 1fr;
  }
  .video-card {
    min-height: 150px;
    width: 100%;
    max-width: 100%;
  }
  .detect-box {
    min-width: 70px;
    max-width: calc(100% - 24px);
    font-size: 10px;
    gap: 4px;
  }
  .detect-box.person { left: 12%; top: 34%; }
  .detect-box.vehicle { right: 8%; bottom: 18%; }
  .detect-box.zone { left: 12%; bottom: 20%; }
  .detect-box.alert { right: 8%; top: 28%; }
  .detect-box.wide {
    width: 104px;
    left: 12%;
  }
  .event-item {
    grid-template-columns: 42px minmax(0, 1fr) 34px;
  }
  .event-item strong,
  .event-item small {
    overflow-wrap: anywhere;
  }
  .event-row {
    grid-template-columns: 1fr;
  }
  .contact-card, .engine-panel, .scenario-panel, .specs-table-container {
    padding: 18px 14px;
  }
  .specs-table th, .specs-table td {
    padding: 10px 8px;
    font-size: 11.5px;
  }
  .site-footer {
    flex-direction: column;
  }
}
