/* ============================================================
   LIVE VIDEO MONITORING — page layout
   Composition idea: "the operations centre".
   Centred stacked hero over a console mock, a vertical timed
   rail, a tabbed operator desk, a numbers band, an offset
   evidence grid.  Nothing here repeats the mobile-unit page.
   ============================================================ */

/* ---------- 1. HERO — centred, console beneath ---------- */
.lvm-hero { position: relative; padding-top: clamp(140px, 16vw, 210px); padding-bottom: clamp(40px, 5vw, 64px); overflow: hidden; text-align: center; }
.lvm-hero h1 {
  margin-top: 24px;
  font-family: 'Sora',sans-serif; font-weight: 700;
  font-size: clamp(38px, 6.6vw, 92px); line-height: 0.98; letter-spacing: -0.045em;
}
.lvm-hero h1 em { font-style: normal; background: linear-gradient(180deg, #fff, #6E9BFF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lvm-hero .svp-lead { margin-inline: auto; }
.lvm-hero-actions { margin-top: 38px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* live console mock */
.lvm-console {
  position: relative; margin-top: clamp(48px, 6vw, 82px);
  border-radius: 22px; overflow: hidden; border: 1px solid var(--hair);
  background: #05070c; box-shadow: 0 60px 140px -60px rgba(46,107,255,0.6);
}
.lvm-console-bar {
  display: flex; align-items: center; gap: 14px; padding: 13px 18px;
  border-bottom: 1px solid var(--hair); background: rgba(255,255,255,0.02);
  font-family: 'JetBrains Mono',monospace; font-size: 11.5px; color: var(--ink-dim); letter-spacing: .8px;
}
.lvm-console-bar .dots { display: flex; gap: 6px; }
.lvm-console-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.16); }
.lvm-console-bar .live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; color: #33d17a; }
.lvm-console-bar .live i { width: 7px; height: 7px; border-radius: 50%; background: #33d17a; animation: svpPulse 1.8s ease-in-out infinite; }
.lvm-console img { width: 100%; display: block; aspect-ratio: 16/8; object-fit: cover; opacity: .82; }

/* detection boxes drawn over the console feed */
.lvm-box {
  position: absolute; border: 1.5px solid rgba(46,107,255,0.9); border-radius: 3px;
  box-shadow: 0 0 22px rgba(46,107,255,0.35);
  animation: lvmBox 5s ease-in-out infinite;
}
.lvm-box span {
  position: absolute; top: -20px; left: -1px; padding: 2px 6px; border-radius: 3px;
  background: rgba(46,107,255,0.92); color: #fff;
  font-family: 'JetBrains Mono',monospace; font-size: 9.5px; letter-spacing: .6px; white-space: nowrap;
}
@keyframes lvmBox { 0%, 100% { opacity: 0; } 12%, 76% { opacity: 1; } }

/* ticker under the console */
.lvm-ticker {
  display: flex; gap: 46px; padding: 15px 18px; border-top: 1px solid var(--hair);
  background: rgba(255,255,255,0.02); overflow: hidden;
  font-family: 'JetBrains Mono',monospace; font-size: 11.5px; color: var(--ink-dim); white-space: nowrap;
}
.lvm-ticker > div { display: flex; gap: 46px; animation: lvmScroll 34s linear infinite; }
.lvm-ticker b { color: rgba(255,255,255,0.72); font-weight: 500; }
@keyframes lvmScroll { to { transform: translateX(-100%); } }

/* ---------- 2. THE 60 SECONDS — vertical timed rail ---------- */
.lvm-time { position: relative; }
.lvm-time-grid { margin-top: clamp(44px, 5vw, 70px); display: grid; grid-template-columns: 1fr; gap: 0; }
.lvm-beat {
  position: relative; display: grid; grid-template-columns: 130px 1fr; gap: clamp(20px, 4vw, 60px);
  padding: clamp(26px, 3.2vw, 44px) 0; border-top: 1px solid var(--hair);
}
.lvm-beat:last-child { border-bottom: 1px solid var(--hair); }
.lvm-beat .clock {
  font-family: 'JetBrains Mono',monospace; font-size: clamp(20px, 2.4vw, 30px); font-weight: 600;
  color: var(--accent-2); letter-spacing: -.02em;
}
.lvm-beat .clock small { display: block; margin-top: 8px; font-size: 10.5px; letter-spacing: 2px; color: var(--ink-dim); }
.lvm-beat-body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 48px); align-items: start; }
.lvm-beat h3 { font-family: 'Sora',sans-serif; font-size: clamp(19px, 2vw, 26px); font-weight: 650; letter-spacing: -.025em; line-height: 1.18; }
.lvm-beat p { font-size: 14.8px; line-height: 1.7; color: var(--ink-soft); }
.lvm-beat::after {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0;
  background: var(--accent); transition: width 1.1s cubic-bezier(.2,.8,.2,1) var(--d, 0s);
}
.lvm-beat.in::after { width: 100%; }

/* the fill rail down the left gutter */
.lvm-rail-track {
  position: absolute; left: -26px; top: 0; bottom: 0; width: 2px; background: var(--hair);
  border-radius: 2px; overflow: hidden;
}
.lvm-rail-track i { position: absolute; inset: 0 0 auto 0; height: calc(var(--p, 0) * 100%); background: linear-gradient(180deg, var(--accent), var(--accent-2)); }
@media (max-width: 1180px) { .lvm-rail-track { display: none; } }

/* ---------- 3. OPERATOR DESK — tabs ---------- */
.lvm-desk { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 58px); align-items: start; }
.lvm-tabs { display: grid; gap: 8px; }
.lvm-tab {
  position: relative; width: 100%; text-align: left; padding: 20px 22px;
  border: 1px solid var(--hair); border-radius: 16px; background: transparent; cursor: pointer;
  color: var(--ink-soft); font-family: 'Sora',sans-serif; font-size: 15.5px; font-weight: 600;
  transition: color .4s ease, background .4s ease, border-color .4s ease, transform .4s cubic-bezier(.2,.8,.2,1);
}
.lvm-tab small { display: block; margin-top: 7px; font-family: 'Sora',sans-serif; font-size: 12.5px; font-weight: 400; color: var(--ink-dim); }
.lvm-tab:hover { color: #fff; border-color: var(--hair-2); }
.lvm-tab.on { color: #fff; background: var(--panel-2); border-color: rgba(46,107,255,0.55); transform: translateX(6px); }
.lvm-tab.on::before {
  content: ""; position: absolute; left: -1px; top: 18px; bottom: 18px; width: 2px;
  border-radius: 2px; background: var(--accent);
}

.lvm-pane { position: relative; min-height: 380px; }
.lvm-pane-item {
  position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateY(20px) scale(.99);
  transition: opacity .55s ease, transform .55s cubic-bezier(.2,.8,.2,1), visibility .55s;
}
.lvm-pane-item.on { position: relative; opacity: 1; visibility: visible; transform: none; }
.lvm-pane-fig { border-radius: 20px; overflow: hidden; border: 1px solid var(--hair); }
.lvm-pane-fig img { width: 100%; aspect-ratio: 16/8; object-fit: cover; opacity: .78; }
.lvm-pane-item h3 { margin-top: 28px; font-family: 'Sora',sans-serif; font-size: clamp(21px, 2.2vw, 29px); font-weight: 700; letter-spacing: -.03em; }
.lvm-pane-item p { margin-top: 15px; font-size: 15.2px; line-height: 1.72; color: var(--ink-soft); max-width: 62ch; }
.lvm-pane-list { margin-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; list-style: none; }
.lvm-pane-list li { padding: 18px; border: 1px solid var(--hair); border-radius: 14px; background: var(--panel); }
.lvm-pane-list b { display: block; font-family: 'Sora',sans-serif; font-size: 13.8px; font-weight: 650; }
.lvm-pane-list span { display: block; margin-top: 7px; font-size: 12.8px; line-height: 1.55; color: var(--ink-dim); }

/* ---------- 4. NUMBERS BAND ---------- */
.lvm-band { background: linear-gradient(180deg, rgba(46,107,255,0.09), transparent 70%); }
.lvm-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); border-radius: 22px; overflow: hidden; }
.lvm-nums .n { background: #000; padding: clamp(28px, 3.4vw, 46px) clamp(20px, 2.4vw, 34px); }
.lvm-nums b { display: block; font-family: 'Sora',sans-serif; font-size: clamp(30px, 4vw, 54px); font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.lvm-nums span { display: block; margin-top: 14px; font-size: 13px; line-height: 1.55; color: var(--ink-dim); }

/* ---------- 5. EVIDENCE — offset asymmetric grid ---------- */
.lvm-ev { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lvm-ev article {
  padding: 32px 28px 36px; border: 1px solid var(--hair); border-radius: 20px; background: var(--panel);
  transition: transform .5s cubic-bezier(.2,.8,.2,1), border-color .5s ease, background .5s ease;
}
.lvm-ev article:nth-child(2) { transform: translateY(28px); }
.lvm-ev article:nth-child(3) { transform: translateY(56px); }
.lvm-ev article:hover { border-color: rgba(255,255,255,0.28); background: var(--panel-2); }
.lvm-ev article:nth-child(1):hover { transform: translateY(-6px); }
.lvm-ev article:nth-child(2):hover { transform: translateY(22px); }
.lvm-ev article:nth-child(3):hover { transform: translateY(50px); }
.lvm-ev .k { font-family: 'JetBrains Mono',monospace; font-size: 11px; letter-spacing: 1.8px; color: var(--accent-2); }
.lvm-ev h3 { margin-top: 20px; font-family: 'Sora',sans-serif; font-size: 19.5px; font-weight: 650; letter-spacing: -.025em; }
.lvm-ev p { margin-top: 13px; font-size: 14.2px; line-height: 1.68; color: var(--ink-soft); }
@media (max-width: 900px) {
  .lvm-ev article:nth-child(2), .lvm-ev article:nth-child(3) { transform: none; }
  .lvm-ev article:hover, .lvm-ev article:nth-child(2):hover, .lvm-ev article:nth-child(3):hover { transform: translateY(-5px); }
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .lvm-desk { grid-template-columns: 1fr; }
  .lvm-tabs { grid-template-columns: repeat(2, 1fr); }
  .lvm-tab.on { transform: none; }
  .lvm-pane-list { grid-template-columns: 1fr; }
  .lvm-nums { grid-template-columns: repeat(2, 1fr); }
  .lvm-ev { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .lvm-beat { grid-template-columns: 1fr; gap: 16px; }
  .lvm-beat-body { grid-template-columns: 1fr; gap: 12px; }
  .lvm-tabs { grid-template-columns: 1fr; }
  .lvm-box { display: none; }
}
