/* ============================================================
   Watchman — powered by Awera · marketing site (LIGHT theme)
   Self-contained, no build step. CCTV/product "screens" stay dark.
   ============================================================ */

:root {
  --bg:        #f6f9fc;
  --bg-2:      #eef3f9;
  --panel:     #ffffff;
  --panel-2:   #f3f7fb;
  --line:      #e1e8f0;
  --line-soft: #edf1f6;
  --text:      #0f1b2d;
  --muted:     #586a82;
  --muted-2:   #8b9ab0;
  --accent:    #0fae74;   /* emerald (deeper for white bg contrast) */
  --accent-2:  #0ea5e9;   /* sky */
  --warn:      #e08c0b;
  --crit:      #e0394f;
  --radius:    16px;
  --shadow:    0 18px 50px -24px rgba(22,45,85,.28);
  --shadow-sm: 0 6px 20px -10px rgba(22,45,85,.18);
  --mono:      'JetBrains Mono', ui-monospace, monospace;
  /* dark "screen" surfaces reused by camera views / product mockups */
  --screen:    #0b1019;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: clip; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(1100px 600px at 85% -8%, #e6f6ef 0%, transparent 55%),
    radial-gradient(800px 500px at -5% 8%, #e7f1fb 0%, transparent 50%),
    var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, 92vw); margin: 0 auto; }
em { font-style: normal; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: .18s ease; white-space: nowrap;
}
.btn--primary { background: linear-gradient(135deg, var(--accent) 0%, #0c9bd0 120%); color: #fff; box-shadow: 0 10px 26px -10px rgba(15,174,116,.55); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgba(15,174,116,.55); }
.btn--ghost { background: #fff; border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(246,249,252,.78);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,.9); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand__mark { color: var(--accent); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: rgba(15,174,116,.1); border: 1px solid rgba(15,174,116,.22); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.brand__by { font-size: 11px; color: var(--muted-2); font-weight: 500; letter-spacing: .02em; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links > a { font-size: 14.5px; color: var(--muted); font-weight: 500; transition: color .15s; }
.nav__links > a:hover { color: var(--text); }
.nav__cta { padding: 9px 16px !important; font-size: 14px; }

/* ---------- hero ---------- */
.hero { padding: 70px 0 84px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 500; border: 1px solid var(--line); padding: 6px 13px; border-radius: 999px; background: #fff; margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(15,174,116,.55); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(15,174,116,.45);} 70% { box-shadow: 0 0 0 8px rgba(15,174,116,0);} 100% { box-shadow: 0 0 0 0 rgba(15,174,116,0);} }
.hero h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.04; letter-spacing: -.025em; font-weight: 800; margin: 0 0 22px; }
.grad { background: linear-gradient(110deg, var(--accent) 8%, var(--accent-2) 92%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 18.5px; color: var(--muted); max-width: 30em; margin: 0 0 30px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.trustline { font-size: 13px; color: var(--muted-2); margin: 0; }

/* ---------- panel ---------- */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.panel__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line-soft); }
.panel__title { font-size: 13px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--crit); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* live status chip */
.status-chip { display: flex; gap: 14px; }
.status-chip__item { font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; }
.status-chip__item b { font-family: var(--mono); font-size: 15px; font-weight: 700; color: var(--accent); }
.status-chip__item--alert b { color: var(--crit); }

/* ---------- site map (dark device preview on light hero) ---------- */
.panel--map { overflow: hidden; background: #0c1320; border-color: #1b2536; box-shadow: 0 30px 70px -30px rgba(22,45,85,.5); }
.panel--map .panel__head { border-bottom-color: #1b2536; }
.panel--map .panel__title { color: #8aa0bf; }
.map { position: relative; height: 340px; background:
    linear-gradient(rgba(40,55,80,.4) 1px, transparent 1px) 0 0 / 100% 34px,
    linear-gradient(90deg, rgba(40,55,80,.4) 1px, transparent 1px) 0 0 / 34px 100%,
    var(--screen); }
.zone { position: absolute; border: 1px solid #233046; border-radius: 8px; background: rgba(255,255,255,.012); transition: .4s; }
.zone__name { position: absolute; top: 6px; left: 8px; font-size: 10px; color: #5d6c84; letter-spacing: .03em; text-transform: uppercase; }
.zone.is-alert { border-color: rgba(224,57,79,.55); background: rgba(224,57,79,.08); box-shadow: 0 0 0 1px rgba(224,57,79,.3), inset 0 0 30px rgba(224,57,79,.08); }
.zone.is-warn  { border-color: rgba(224,140,11,.5); background: rgba(224,140,11,.07); }
.cam { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); transform: translate(-50%,-50%); box-shadow: 0 0 0 3px rgba(15,174,116,.2); }
.cam.is-firing { animation: camFire 1.1s ease-out; }
@keyframes camFire { 0% { box-shadow: 0 0 0 0 rgba(14,165,233,.6); } 100% { box-shadow: 0 0 0 16px rgba(14,165,233,0); } }
.ping { position: absolute; width: 8px; height: 8px; border-radius: 50%; transform: translate(-50%,-50%); pointer-events: none; }
.ping::after { content:''; position:absolute; inset:0; border-radius:50%; border:1.5px solid var(--crit); animation: ping 1.3s ease-out forwards; }
@keyframes ping { 0% { transform: scale(1); opacity:.9; } 100% { transform: scale(7); opacity:0; } }
.map__legend { display: flex; align-items: center; gap: 18px; padding: 11px 16px; border-top: 1px solid #1b2536; font-size: 12px; color: #8aa0bf; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; vertical-align: middle; }
.dot--online { background: var(--accent); }
.dot--alert { background: var(--crit); }
.map__ticker { margin-left: auto; font-family: var(--mono); font-size: 11px; color: #5d6c84; }

/* ---------- generic section ---------- */
.section { padding: 88px 0; border-top: 1px solid var(--line-soft); }
.section__kicker { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.section__title { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -.02em; font-weight: 800; margin: 0 0 18px; max-width: 18em; }
.section__sub { font-size: 18px; color: var(--muted); max-width: 42em; margin: 0 0 40px; }
.muted-strike { color: var(--muted-2); text-decoration: line-through; text-decoration-color: var(--crit); }

/* ---------- problem feeds (dark monitors) ---------- */
.feeds { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-bottom: 16px; }
.feed { aspect-ratio: 16/10; border-radius: 9px; border: 1px solid #1b2536; background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.02) 0 2px, transparent 2px 4px), #0c1320;
  filter: grayscale(1) brightness(.85); position: relative; overflow: hidden; }
.feed::after { content: 'CAM ' attr(data-n); position: absolute; bottom: 6px; left: 7px; font-family: var(--mono); font-size: 9px; color: #5d6c84; }
.feed::before { content:''; position:absolute; inset:0; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.06) 50%, transparent 60%); animation: scan 5s linear infinite; }
@keyframes scan { to { transform: translateX(60%); } }
.feeds__caption { text-align: center; font-size: 13px; color: var(--muted-2); }


/* category tag chips (shared by story) */
.cat__tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .03em; padding: 4px 11px; border-radius: 999px; }
.cat__tag--sec  { color: var(--accent-2); background: rgba(14,165,233,.12); }
.cat__tag--ops  { color: var(--accent); background: rgba(15,174,116,.12); }
.cat__tag--safe { color: var(--crit); background: rgba(224,57,79,.12); }
.cat__tag--int  { color: var(--warn); background: rgba(224,140,11,.14); }

/* ---------- real-footage frame (video + overlay) ---------- */
.camframe { position: relative; width: 100%; aspect-ratio: 200 / 118; background: var(--screen); overflow: hidden; }
.camframe__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.camframe .camview--overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.camframe__tag { position: absolute; left: 10px; bottom: 9px; z-index: 4; font: 600 10px var(--mono); letter-spacing: .04em; text-transform: uppercase; color: #fff; background: rgba(15,174,116,.92); padding: 4px 9px; border-radius: 6px; }
/* detection box reveals only when the event happens (synced to the clip) */
.camframe .det { transition: opacity .3s ease; }
.camframe .det--hidden { opacity: 0; }
.camframe .det:not(.det--hidden) .det__box { animation: lockon .55s ease; }
@keyframes lockon { 0% { stroke-width: 3.2; } 55% { stroke-width: 2.4; } 100% { stroke-width: 1.4; } }

/* real-clip detection box is a positioned DOM element (px-accurate, tracks the
   video's object-fit:cover crop via JS) so it always lands on the subject.
   Default colour = blue (sec); safe = red. */
.camframe .detbox { position: absolute; z-index: 3; box-sizing: border-box; pointer-events: none;
  border: 1.7px dashed var(--accent-2); background: rgba(14,165,233,.06); border-radius: 3px;
  transition: left .12s linear, top .12s linear, width .12s linear, height .12s linear; }
.camframe .detbox.det--hidden { opacity: 0; }
.camframe .detbox:not(.det--hidden) { animation: lockon2 .5s ease; }
@keyframes lockon2 { 0% { transform: scale(1.14); opacity: 0; } 60% { opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
.camframe .detbox__lbl { position: absolute; left: -1.7px; top: -15px; font: 700 9px/1 var(--mono);
  letter-spacing: .04em; white-space: nowrap; padding: 2px 5px; border-radius: 3px 3px 3px 0;
  background: var(--accent-2); color: #04121c; }
.camframe .detbox.det--safe { border-color: var(--crit); background: rgba(224,57,79,.10); }
.camframe .detbox.det--safe .detbox__lbl { background: var(--crit); color: #fff; }
.camframe .detbox.det--int { border-color: var(--warn); background: rgba(224,140,11,.08); }
.camframe .detbox.det--int .detbox__lbl { background: var(--warn); color: #1a1204; }

/* ---------- camera-view SVG internals (shared, dark) ---------- */
.camview .ground { stroke: #2a3650; stroke-width: 1.4; }
.camview .struct { fill: #141c2b; stroke: #3a4a66; stroke-width: 1.4; }
.camview .hatch { stroke: #3a4a66; stroke-width: 1; }
.camview .fig { fill: rgba(220,228,240,.62); }
.camview .ghost { fill: rgba(220,228,240,.12); stroke: rgba(220,228,240,.3); stroke-width: 1; stroke-dasharray: 3 2; }
.camview .veh__body { fill: #1b2740; stroke: #46597e; stroke-width: 1.5; }
.camview .veh__wheel { fill: #0b1019; stroke: #46597e; stroke-width: 1.5; }
.camview .firelane { fill: rgba(224,57,79,.08); }
.camview .firehatch { stroke: rgba(224,57,79,.5); stroke-width: 2; }
.camview .water { fill: rgba(14,165,233,.14); stroke: rgba(14,165,233,.45); stroke-width: 1.2; }
.camview .wave { fill: none; stroke: rgba(14,165,233,.55); stroke-width: 1.2; }
.camview .moon { fill: rgba(224,140,11,.9); }
.camview .clock { fill: none; stroke: var(--warn); stroke-width: 1.6; }
.camview .alarm { fill: var(--crit); stroke: var(--crit); stroke-width: 1.6; }
.camview .strip rect { fill: #141c2b; stroke: #3a4a66; stroke-width: 1.2; }
.camview .strip__hit { stroke: var(--warn) !important; fill: rgba(224,140,11,.1) !important; }
.camview .mag { fill: none; stroke: #cdd7e6; stroke-width: 2; }
.camview .mag circle { fill: rgba(0,0,0,.2); }
.camview .det__box { fill: rgba(14,165,233,.05); stroke: var(--accent-2); stroke-width: 1.4; stroke-dasharray: 4 3; animation: dashmove 16s linear infinite; }
@keyframes dashmove { to { stroke-dashoffset: -200; } }
.camview .det__tagbg { fill: var(--accent-2); }
.camview .det__tagtx { fill: #06121f; font: 700 7px var(--mono); letter-spacing: .3px; }
.det--ops .det__box { stroke: var(--accent); fill: rgba(15,174,116,.06); }
.det--ops .det__tagbg { fill: var(--accent); }
.det--safe .det__box { stroke: var(--crit); fill: rgba(224,57,79,.08); }
.det--safe .det__tagbg { fill: var(--crit); }
.det--int .det__box { stroke: var(--warn); fill: rgba(224,140,11,.06); }
.det--int .det__tagbg { fill: var(--warn); }
.camview .hud path { stroke: rgba(120,150,185,.55); stroke-width: 1.4; fill: none; }
.camview .hud__rec { fill: var(--crit); animation: blink 1.4s infinite; }
.camview .hud__t { fill: rgba(165,185,210,.85); font: 700 7px var(--mono); letter-spacing: .4px; }
.camview .hud__ts { text-anchor: end; }

/* ---------- highlight stats strip ---------- */
.section--tight { padding: 30px 0; }
.highlights-band { border-top: none; }
.highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hl { display: flex; align-items: center; gap: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow-sm); }
.hl__ico { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; color: var(--accent); background: rgba(15,174,116,.1); border: 1px solid rgba(15,174,116,.2); }
.hl__big { font-size: 21px; font-weight: 800; letter-spacing: -.01em; line-height: 1.1; }
.hl__sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* ---------- try it yourself ---------- */
.tryit__panel { padding: 26px; }
.dropzone { border: 2px dashed var(--line); border-radius: 14px; background: var(--panel-2); padding: 48px 24px; text-align: center; cursor: pointer; transition: .18s; }
.dropzone:hover, .dropzone:focus, .dropzone.is-over { border-color: var(--accent); background: rgba(15,174,116,.06); outline: none; }
.dropzone__ico { color: var(--accent); display: inline-flex; }
.dropzone__title { font-size: 18px; font-weight: 700; margin: 12px 0 6px; }
.dropzone__title span { color: var(--accent); text-decoration: underline; }
.dropzone__hint { font-size: 13px; color: var(--muted-2); }

.tryit__working { text-align: center; padding: 40px 20px; }
.tryit__spinner { width: 42px; height: 42px; margin: 0 auto 18px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.tryit__filename { font-weight: 600; font-size: 15px; }
.tryit__status { font-family: var(--mono); font-size: 13px; color: var(--accent); margin-top: 8px; }
.tryit__sub { font-size: 13px; color: var(--muted-2); margin-top: 6px; }

.tryit__resulthead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.tryit__count { font-size: 14px; font-weight: 600; color: var(--muted); }
.tryit__again { background: #fff; border: 1px solid var(--line); color: var(--muted); padding: 8px 14px; border-radius: 999px; font-size: 13px; cursor: pointer; font-family: inherit; transition: .15s; }
.tryit__again:hover { border-color: var(--accent); color: var(--accent); }
.tryit__cards { display: grid; gap: 12px; }
.tcard { display: flex; gap: 14px; background: var(--panel-2); border: 1px solid var(--line); border-left: 3px solid var(--muted-2); border-radius: 12px; padding: 14px; opacity: 0; transform: translateY(8px); animation: rise .4s forwards; }
.tcard--critical { border-left-color: var(--crit); }
.tcard--warning  { border-left-color: var(--warn); }
.tcard--info     { border-left-color: var(--accent-2); }
.tcard__thumb { width: 116px; height: 74px; flex: none; border-radius: 8px; overflow: hidden; background: var(--screen); border: 1px solid var(--line); }
.tcard__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tcard__body { flex: 1; min-width: 0; }
.tcard__top { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; flex-wrap: wrap; }
.tcard__sev { font-family: var(--mono); font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 5px; text-transform: uppercase; letter-spacing: .04em; }
.tcard--critical .tcard__sev { color: var(--crit); background: rgba(224,57,79,.14); }
.tcard--warning  .tcard__sev { color: var(--warn); background: rgba(224,140,11,.16); }
.tcard--info     .tcard__sev { color: var(--accent-2); background: rgba(14,165,233,.14); }
.tcard__type { font-weight: 700; font-size: 15px; text-transform: capitalize; }
.tcard__t { font-family: var(--mono); font-size: 12px; color: var(--muted-2); margin-left: auto; }
.tcard__desc { font-size: 14px; color: var(--text); line-height: 1.45; }
.tcard__meta { font-size: 12px; color: var(--muted-2); margin-top: 6px; }

/* results: left (description + events) | right (phone) */
.tr-grid { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.tr-left { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.tr-label { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.tr-desc { background: var(--panel-2); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; }
.tr-desc__text { font-size: 16.5px; line-height: 1.55; color: var(--text); margin: 0; }
.tr-eventsbox { background: var(--panel-2); border: 1px solid var(--line); border-radius: 14px; padding: 18px 18px 8px; }
.tr-eventslist { max-height: 340px; overflow-y: auto; padding-right: 6px; margin-bottom: 10px; }
.tr-eventslist::-webkit-scrollbar { width: 7px; }
.tr-eventslist::-webkit-scrollbar-thumb { background: var(--line); border-radius: 6px; }

/* ---------- see it in action (combined section) ---------- */
.sc-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.sc-tab { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--muted); font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit; transition: .15s; }
.sc-tab:hover { border-color: var(--accent); color: var(--text); }
.sc-tab.is-active { border-color: var(--accent); color: var(--text);
  /* story-style fill, paced by the playing clip (--fill set from JS) */
  background: linear-gradient(90deg, rgba(15,174,116,.3) var(--fill, 0%), rgba(15,174,116,.08) var(--fill, 0%)); }
.sc-tab__ico { font-size: 16px; line-height: 1; }
.sc-tab--upload { margin-left: auto; border-style: dashed; color: var(--accent); }
.sc-tab--upload.is-active { background: rgba(15,174,116,.12); }
.sc-stage { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.sc-left { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.sc-right { display: flex; flex-direction: column; }
.sc-right .sc-desc { margin-bottom: 20px; padding: 18px 20px; }
.sc-right .tr-desc__text { font-size: 14px; line-height: 1.5; }
.sc-video { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--screen); }
.sc-video .camframe, .sc-video .camview, .sc-video > video { display: block; width: 100%; }
.sc-video .dropzone { aspect-ratio: 200 / 118; border: 0; border-radius: 0; background: #0d1320; display: grid; place-items: center; }
.sc-video .dropzone:hover, .sc-video .dropzone.is-over { background: #111c2e; }
.sc-video .dropzone__title { color: #eaf0f8; }
.sc-video .dropzone__hint { color: #7d8ca6; }
.sc-working { aspect-ratio: 200 / 118; display: grid; place-content: center; justify-items: center; gap: 14px; background: var(--screen); }
.sc-working .tryit__spinner { margin: 0; }
.sc-caps { font-size: 13px; color: var(--muted-2); line-height: 1.55; }
.sc-caps__label { color: var(--muted); font-weight: 600; }

/* notification phone */
.tr-notifwrap { display: flex; flex-direction: column; }
.np-phone { position: relative; width: 256px; margin: 0 auto; background: #05080d; border: 2px solid #1e2940; border-radius: 34px; padding: 10px 10px 14px; box-shadow: var(--shadow); }
.np-notch { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 86px; height: 22px; background: #05080d; border-radius: 999px; z-index: 5; }
.np-screen { position: relative; background: linear-gradient(180deg, #101a2b 0%, #0a0e16 60%); border-radius: 26px; height: 360px; overflow: hidden; }
.np-push { padding: 40px 14px 16px; }
.np-time { font-family: var(--mono); font-size: 40px; color: #fff; text-align: center; font-weight: 700; letter-spacing: -.01em; }
.np-date { font-size: 12px; color: #8aa0bf; text-align: center; margin: 2px 0 20px; }
.np-card { background: rgba(255,255,255,.08); backdrop-filter: blur(4px); border-radius: 14px; padding: 12px 13px; border-left: 3px solid var(--muted-2); }
.np-card--critical { border-left-color: #ff5a6e; }
.np-card--warning  { border-left-color: #ffb454; }
.np-card--info     { border-left-color: #4cc5ff; }
.np-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.np-app { font-size: 11px; font-weight: 700; color: #cfe0f2; display: inline-flex; align-items: center; gap: 5px; }
.np-app::before { content: ''; width: 13px; height: 13px; border-radius: 4px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.np-when { font-size: 10px; color: #7d8ca6; }
.np-card__title { font-size: 13px; font-weight: 700; color: #fff; text-transform: capitalize; }
.np-card__body { font-size: 12px; color: #a9bad2; margin-top: 3px; line-height: 1.35; }

/* urgent call/alarm layer — revealed on hover for critical */
.np-call { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 0%, #3a0e17, #0a0e16 70%); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .25s; }
.np-call__ring { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,90,110,.16); display: grid; place-items: center; color: #ff5a6e; margin-bottom: 14px; position: relative; }
.np-call__ring::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(255,90,110,.5); animation: ring 1.2s ease-out infinite; }
@keyframes ring { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
.np-call__app { font-size: 16px; font-weight: 800; color: #fff; }
.np-call__label { font-family: var(--mono); font-size: 11px; color: #ff8b99; letter-spacing: .06em; text-transform: uppercase; margin: 4px 0 2px; }
.np-call__type { font-size: 13px; color: #e7c2c8; text-transform: capitalize; margin-bottom: 20px; }
.np-call__btns { display: flex; gap: 14px; }
.np-cbtn { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 18px; }
.np-cbtn--green { background: #1fb866; } .np-cbtn--red { background: #e0394f; }
/* hover reveal — only critical has the call layer; it animates in */
.np-phone.is-critical:hover .np-call { opacity: 1; }
.np-phone.is-critical:hover .np-push { filter: blur(2px); }
/* calm caption for non-critical on hover */
.np-quiet { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font-size: 11px; color: #6f8aa0; opacity: 0; transition: opacity .25s; }
.np-phone.is-quiet:hover .np-quiet { opacity: 1; }
.tr-notif__cap { font-size: 12px; color: var(--muted-2); text-align: center; margin-top: 12px; }

.tryit__note { padding: 20px; border-radius: 12px; background: rgba(224,140,11,.07); border: 1px solid rgba(224,140,11,.3); font-size: 14px; color: var(--muted); }
.tryit__note strong { color: var(--text); }
.tryit__legal { font-size: 12px; color: var(--muted-2); margin: 14px 0 0; text-align: center; }

/* ---------- demo / ask ---------- */
.ask { padding: 22px; }
.ask__bar { display: flex; align-items: center; gap: 12px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 11px; padding: 15px 18px; font-size: 17px; }
.ask__icon { color: var(--accent); font-size: 20px; }
.ask__typed { color: var(--text); }
.ask__caret { color: var(--accent); animation: blink 1s steps(1) infinite; }
.ask__chips { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 6px; }
.chip { background: #fff; border: 1px solid var(--line); color: var(--muted); padding: 8px 14px; border-radius: 999px; font-size: 13px; cursor: pointer; transition: .15s; font-family: inherit; }
.chip:hover, .chip.is-active { border-color: var(--accent); color: var(--accent); background: rgba(15,174,116,.07); }
.ask__results { display: grid; gap: 10px; margin-top: 16px; }
.result { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 11px; opacity: 0; transform: translateY(8px); animation: rise .4s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
.result__thumb { width: 74px; height: 48px; border-radius: 7px; flex: none; background: linear-gradient(135deg, #1b2940, #0f1726); border: 1px solid #1b2536; position: relative; overflow: hidden; }
.result__thumb::after { content: '▶'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; color: rgba(255,255,255,.7); }
.result__meta { flex: 1; }
.result__time { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.result__desc { font-size: 14px; color: var(--text); }
.result__cam { font-size: 12px; color: var(--muted-2); }

/* ---------- alert flow (camera -> phone) ---------- */
.flow { display: flex; align-items: center; justify-content: center; gap: 30px; flex-wrap: wrap; }
.flow__cam { width: 300px; max-width: 80vw; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.flow__cam .camview { display: block; width: 100%; }
.flow__arrow { color: var(--accent); opacity: .85; }
.phone { width: 230px; background: #05080d; border: 2px solid #1e2940; border-radius: 30px; padding: 12px 12px 18px; position: relative; box-shadow: var(--shadow); }
.phone__notch { width: 90px; height: 6px; background: #1e2940; border-radius: 999px; margin: 4px auto 12px; }
.phone__screen { background: linear-gradient(180deg, #0c1320, #0a0e16); border-radius: 20px; padding: 14px 12px 18px; min-height: 250px; }
.phone__time { font-family: var(--mono); font-size: 12px; color: #8aa0bf; text-align: center; }
.phone__app { font-size: 11px; color: #5d6c84; text-align: center; letter-spacing: .1em; text-transform: uppercase; margin: 2px 0 14px; }
.notif { background: #121a28; border: 1px solid #202c40; border-left: 3px solid var(--crit); border-radius: 12px; padding: 13px 14px; animation: notifIn .6s ease both; }
@keyframes notifIn { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
.notif__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.notif__sev { font-family: var(--mono); font-size: 10px; font-weight: 700; color: #ff7082; background: rgba(224,57,79,.16); padding: 3px 7px; border-radius: 5px; }
.notif__when { font-size: 11px; color: #5d6c84; }
.notif__title { font-size: 14px; font-weight: 700; line-height: 1.25; color: #eaf0f8; }
.notif__sub { font-size: 12px; color: #8aa0bf; margin: 4px 0 10px; }
.notif__thumb { height: 64px; border-radius: 8px; background:
    radial-gradient(120px 60px at 40% 30%, rgba(14,165,233,.18), transparent),
    repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 3px), #0c1422;
  border: 1px solid #202c40; margin-bottom: 10px; position: relative; }
.notif__thumb::after { content: '▶'; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.7); font-size: 13px; }
.notif__actions { display: flex; gap: 8px; }
.notif__btn { flex: 1; text-align: center; font-size: 11.5px; font-weight: 600; padding: 7px 0; border-radius: 8px; background: var(--accent); color: #fff; }
.notif__btn--ghost { background: transparent; border: 1px solid #2a3850; color: #8aa0bf; }

/* ---------- product UI mockups (dark screenshots) ---------- */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.shot { margin: 0; }
.shot__ui { border-radius: 14px; border: 1px solid var(--line); overflow: hidden; background: #0d1320; box-shadow: var(--shadow); }
.shot__ui svg { display: block; width: 100%; height: auto; }
.shot:hover .shot__ui { border-color: rgba(14,165,233,.4); }
.shot figcaption { font-size: 13.5px; color: var(--muted); margin-top: 12px; }

/* ---------- why tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px; box-shadow: var(--shadow-sm); }
.tile__icon { font-size: 26px; margin-bottom: 14px; }
.tile h3 { margin: 0 0 10px; font-size: 18px; }
.tile p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- pricing plans ---------- */
.plans { display: grid; gap: 20px; }
.plans--3 { grid-template-columns: repeat(3, 1fr); }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 30px 28px; position: relative; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.plan--featured { border-color: rgba(15,174,116,.5); box-shadow: 0 24px 60px -28px rgba(15,174,116,.4); transform: translateY(-6px); }
.plan__badge { position: absolute; top: -12px; left: 28px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #fff; background: var(--accent); padding: 5px 12px; border-radius: 999px; }
.plan__name { font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.plan__price { font-size: clamp(30px, 3vw, 40px); font-weight: 800; letter-spacing: -.02em; margin: 12px 0 4px; line-height: 1.05; }
.plan__price { color: var(--accent); }
.plan__price .plan__per { display: block; font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; text-transform: none; margin-top: 6px; }
.plan__eg { font-size: 13.5px; color: var(--muted-2); margin-bottom: 22px; }
.plan__list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 11px; flex: 1; }
.plan__list li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--muted); line-height: 1.45; }
.plan__list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700; }
.plan__list strong { color: var(--text); }
.plan__cta { width: 100%; }
.plans__note { font-size: 14px; color: var(--muted-2); margin: 26px 0 0; text-align: center; }
.plans__note strong { color: var(--text); }

/* ---------- trust / works with ---------- */
.works { text-align: center; margin-bottom: 30px; }
.works__label { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-2); }
.works__brands { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.works__brands > span { font-size: 17px; font-weight: 700; color: var(--muted); padding: 8px 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.works__any { font-weight: 500 !important; font-size: 14px !important; color: var(--muted-2) !important; border-style: dashed !important; }
.trust__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; list-style: none; padding: 0; margin: 0; }
.trust__list li { font-size: 13.5px; color: var(--muted); background: #fff; border: 1px solid var(--line); padding: 8px 15px; border-radius: 999px; }
.trust__list li::before { content: '✓ '; color: var(--accent); font-weight: 700; }

/* ---------- CTA ---------- */
.cta__inner { max-width: 720px; text-align: center; margin: 0 auto; }
.cta h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -.02em; margin: 0 0 14px; }
.cta__inner > p { font-size: 17px; color: var(--muted); margin: 0 0 30px; }
.cta__form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cta__form input { background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 14px 16px; color: var(--text); font-size: 15px; font-family: inherit; }
.cta__form input:focus { outline: none; border-color: var(--accent); }
.cta__form input::placeholder { color: var(--muted-2); }
.cta__form .btn { grid-column: 1 / -1; }
.cta__ok { margin-top: 18px; color: var(--accent); font-weight: 600; }

/* ---------- footer ---------- */
.footer { padding: 56px 0; border-top: 1px solid var(--line); background: var(--bg-2); }
.footer__inner { text-align: center; }
.brand--footer { justify-content: center; display: inline-flex; gap: 4px; flex-direction: column; align-items: center; margin-bottom: 16px; }
.brand--footer .brand__name { font-size: 22px; }
.footer__trust { max-width: 50em; margin: 0 auto 18px; color: var(--muted); font-size: 15px; }
.footer__copy { color: var(--muted-2); font-size: 13px; margin: 0; }

/* ---------- reveal on scroll ---------- */
.section { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.section.is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .highlights { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .nav__links > a:not(.nav__cta) { display: none; }
  .plans--3, .shots, .tr-grid, .sc-stage { grid-template-columns: 1fr; }
  .feeds { grid-template-columns: repeat(3, 1fr); }
  .cta__form { grid-template-columns: 1fr; }
  .flow__arrow { transform: rotate(90deg); }
  .plan--featured { transform: none; }
}
@media (max-width: 560px) {
  .highlights, .tiles { grid-template-columns: 1fr; }
}

/* ============================================================
   V2 ADDITIONS — mobile nav, unwatched wall, timeline, day,
   calculator, privacy, whatsapp, theme moments, hero variants
   ============================================================ */

/* ---------- mobile nav (burger) ---------- */
.nav__burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 11px; background: #fff; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; }
.nav__burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text); transition: .2s; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__menu { display: none; flex-direction: column; padding: 10px 4vw 18px; gap: 4px; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.nav__menu a { padding: 12px 10px; border-radius: 10px; font-weight: 600; font-size: 16px; color: var(--text); }
.nav__menu a:active, .nav__menu a:hover { background: var(--panel-2); }
.nav__menu:not([hidden]) { display: flex; }

/* ---------- full-bleed 3D hero ---------- */
.hero--3d { position: relative; padding: 0; background: #0b1019; overflow: hidden; }
.hero3d-bg { position: absolute; inset: 0; }
.hero3d-bg canvas { display: block; width: 100%; height: 100%; }
/* fallback when WebGL / motion is unavailable: quiet dark site-grid */
.hero3d-bg.is-fallback { background:
    radial-gradient(600px 320px at 78% 40%, rgba(15,174,116,.14), transparent 65%),
    radial-gradient(420px 260px at 60% 75%, rgba(14,165,233,.10), transparent 65%),
    linear-gradient(rgba(40,55,80,.35) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(40,55,80,.35) 1px, transparent 1px) 0 0 / 44px 44px,
    #0b1019; }
.hero__scrim { position: absolute; inset: 0; pointer-events: none; background:
    linear-gradient(90deg, rgba(8,12,20,.92) 0%, rgba(8,12,20,.72) 34%, rgba(8,12,20,.28) 62%, rgba(8,12,20,.12) 100%),
    linear-gradient(180deg, rgba(8,12,20,.35) 0%, transparent 18%, transparent 72%, rgba(8,12,20,.75) 100%); }
.hero__inner3d { position: relative; z-index: 2; min-height: min(88vh, 820px); display: flex; align-items: center; gap: 56px; padding: 96px 0 120px; }
.hero--3d .hero__copy { flex: 1.1 1 0; max-width: 620px; }

/* ---------- hero film slot (video drops in here) ---------- */
.hvs { flex: 1 1 0; max-width: 560px; }
.hvs__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; border: 1px solid #223049;
  background: radial-gradient(85% 95% at 50% 15%, #111c30, #0b1019 82%);
  box-shadow: 0 34px 80px -32px rgba(0,0,0,.65); }
.hvs__corner { position: absolute; width: 20px; height: 20px; border: 2px solid rgba(150,180,215,.55); }
.hvs__corner--tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.hvs__corner--tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.hvs__corner--bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }
.hvs__corner--br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }
.hvs__rec { position: absolute; top: 15px; left: 42px; display: inline-flex; align-items: center; gap: 6px; font: 700 11px var(--mono); letter-spacing: .08em; color: #8aa0bf; }
.hvs__rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--crit); animation: blink 1.4s infinite; }
.hvs__center { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; padding: 20px; }
.hvs__play { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; padding-left: 5px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.28); color: #fff; font-size: 20px; backdrop-filter: blur(4px); }
.hvs__title { color: #dbe6f4; font-weight: 700; font-size: 16.5px; letter-spacing: -.01em; }
.hvs__sub { color: #7d8ca6; font: 500 11.5px var(--mono); letter-spacing: .04em; }
.hvs__ts { position: absolute; right: 16px; bottom: 12px; font: 700 11px var(--mono); color: #7d8ca6; }
.hero--3d h1 { color: #f4f8fd; }
.hero--3d .lede { color: #b7c5d9; }
.hero--3d .trustline { color: #7d8ca6; }
.hero--3d .eyebrow { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); color: #c3d1e4; box-shadow: none; backdrop-filter: blur(4px); }
.hero--3d .btn--ghost { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.28); color: #fff; backdrop-filter: blur(4px); }
.hero--3d .btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.hero__hud { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  padding: 13px max(4vw, calc((100vw - 1180px)/2)); border-top: 1px solid rgba(120,145,180,.16); background: rgba(8,12,20,.55); backdrop-filter: blur(8px);
  font-size: 12.5px; color: #8aa0bf; }
.hud__live { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #aebfd6; }
.hud__stat b { font-family: var(--mono); font-size: 14px; color: var(--accent); font-weight: 700; }
.hud__stat--alert b { color: #ff6b7f; }
.hud__ticker { margin-left: auto; font-family: var(--mono); font-size: 11.5px; color: #7d8ca6; }

/* ---------- command-wall section ---------- */
.wallsec #wallSlot { margin-top: 6px; }

/* ---------- see-it-in-action: timeline + tour ---------- */
.sc-timeline { padding: 2px 4px; }
.sc-timeline__track { position: relative; height: 22px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line); }
.sc-timeline__played { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 999px; background: rgba(15,174,116,.16); transition: width .2s linear; }
.sc-dot { position: absolute; top: 50%; width: 9px; height: 9px; border-radius: 50%; transform: translate(-50%,-50%); background: var(--muted-2); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.sc-dot--critical { background: var(--crit); }
.sc-dot--warning { background: var(--warn); }
.sc-dot--info { background: var(--accent-2); }
.sc-dot.is-hit { animation: dotPop .5s ease; }
@keyframes dotPop { 40% { transform: translate(-50%,-50%) scale(1.9); } }
.sc-tab--tour { border-style: solid; color: var(--accent-2); }
.sc-tab--tour.is-on { border-color: var(--accent-2); background: rgba(14,165,233,.1); color: var(--accent-2); }

/* ---------- day with watchman ---------- */
.day__panel { padding: 30px 28px 24px; }
.day__strip { position: relative; height: 92px; border-radius: 14px; border: 1px solid var(--line); overflow: hidden; cursor: pointer; touch-action: none;
  background: linear-gradient(90deg, #0e1526 0%, #16233c 18%, #dfeefe 32%, #f3f8e9 50%, #f6ecd8 68%, #35446b 86%, #0e1526 100%); }
.day__hours { position: absolute; inset: 0; }
.day__hourmark { position: absolute; bottom: 6px; transform: translateX(-50%); font-family: var(--mono); font-size: 9px; color: rgba(90,105,130,.85); }
.day__marker { position: absolute; top: 26px; width: 13px; height: 13px; border-radius: 50%; transform: translate(-50%,-50%); border: 2.5px solid #fff; box-shadow: 0 1px 6px rgba(20,40,70,.35); cursor: pointer; transition: transform .15s; }
.day__marker:hover { transform: translate(-50%,-50%) scale(1.35); }
.day__marker--ok { background: var(--accent); }
.day__marker--warn { background: var(--warn); }
.day__marker--crit { background: var(--crit); box-shadow: 0 0 0 5px rgba(224,57,79,.22), 0 1px 6px rgba(20,40,70,.35); }
.day__marker.is-current { transform: translate(-50%,-50%) scale(1.45); }
.day__handle { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--text); pointer-events: none; }
.day__handle::after { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: var(--text); }
.day__handletime { position: absolute; top: 8px; left: 8px; font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--text); background: rgba(255,255,255,.9); padding: 2px 7px; border-radius: 6px; white-space: nowrap; }
.day__card { display: flex; gap: 16px; align-items: flex-start; margin-top: 20px; padding: 18px 20px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line); border-left: 3px solid var(--accent); min-height: 86px; }
.day__card--warn { border-left-color: var(--warn); }
.day__card--crit { border-left-color: var(--crit); }
.day__card__t { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--muted); padding-top: 2px; min-width: 52px; }
.day__card__title { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.day__card__desc { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.day__card__sev { font-family: var(--mono); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 3px 8px; border-radius: 5px; margin-left: auto; flex: none; }
.day__card--ok .day__card__sev { color: var(--accent); background: rgba(15,174,116,.12); }
.day__card--warn .day__card__sev { color: var(--warn); background: rgba(224,140,11,.14); }
.day__card--crit .day__card__sev { color: var(--crit); background: rgba(224,57,79,.12); }

/* ---------- pricing calculator ---------- */
.calc { padding: 26px 28px; margin-bottom: 34px; }
.calc__row { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.calc__label { font-weight: 700; font-size: 17px; }
.calc__n { font-size: 14px; color: var(--muted); }
.calc__n b { font-family: var(--mono); font-size: 22px; color: var(--accent); }
.calc input[type=range] { width: 100%; accent-color: var(--accent); height: 32px; cursor: pointer; }
.calc__out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.calc__cell { background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.calc__big { font-size: 26px; font-weight: 800; letter-spacing: -.01em; }
.calc__big span { font-size: 14px; font-weight: 600; color: var(--muted); }
.calc__sub { font-size: 12.5px; color: var(--muted); margin-top: 3px; line-height: 1.35; }
.plan.is-fit { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(15,174,116,.25), var(--shadow-sm); }

/* ---------- deployment architectures (cloud vs on-prem) ---------- */
.arch { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 44px; }
.arch__card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow-sm); }
.arch__tag { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.arch__tag--cloud { color: var(--accent-2); background: rgba(14,165,233,.12); }
.arch__tag--prem { color: var(--accent); background: rgba(15,174,116,.12); }
.arch__card h3 { margin: 0 0 16px; font-size: 21px; letter-spacing: -.01em; }
.arch__diagram { background: var(--panel-2); border: 1px solid var(--line-soft); border-radius: 12px; padding: 14px 10px; margin-bottom: 16px; }
.arch__diagram svg { display: block; width: 100%; height: auto; }
.arch__card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* ---------- whatsapp cta + footer ---------- */
.btn--wa { gap: 9px; margin-top: 14px; background: #eafff3; border-color: #bfe8d2; color: #128c4b; }
.btn--wa:hover { border-color: #1fb866; background: #ddfbeb; }
.footer__contact { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.footer__contact a { color: var(--accent); font-weight: 600; }

/* ---------- theme moments: zone tags + h1 detection ---------- */
.section[data-zone] { position: relative; }
.zone-tag { position: absolute; top: 26px; right: max(14px, calc((100vw - 1180px)/2)); font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .1em; color: var(--muted-2); border: 1px dashed var(--line); border-radius: 6px; padding: 4px 9px; opacity: 0; transition: opacity .8s; pointer-events: none; }
.zone-tag::before { content: 'ZONE: '; color: var(--accent); }
.section.is-visible .zone-tag { opacity: .8; }
.h1det { position: absolute; border: 1.6px dashed var(--accent-2); border-radius: 6px; background: rgba(14,165,233,.04); pointer-events: none; z-index: 5; opacity: 0; animation: h1det 3.2s ease forwards; }
.h1det__tag { position: absolute; top: -20px; left: -2px; font-family: var(--mono); font-size: 10px; font-weight: 700; color: #fff; background: var(--accent-2); padding: 3px 8px; border-radius: 4px; }
@keyframes h1det { 0% { opacity: 0; transform: scale(1.06); } 12% { opacity: 1; transform: scale(1); } 80% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- CSS 3D video command wall ---------- */
.cwall { position: relative; height: 430px; background: radial-gradient(90% 100% at 50% 0%, #101a2e, #0b1019 75%); overflow: hidden; perspective: 900px; }
.cwall__rows { position: absolute; inset: 24px 18px 46px; display: grid; grid-template-rows: repeat(3, 1fr); gap: 12px; transform-style: preserve-3d; }
.cwall__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; transform-style: preserve-3d; }
.cwall__tile { position: relative; border-radius: 8px; overflow: hidden; border: 1px solid #223049; background: #0c1320; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.2,.8,.2,1), box-shadow .7s, border-color .4s; }
.cwall__row .cwall__tile:nth-child(1) { transform: rotateY(16deg) translateZ(-30px); }
.cwall__row .cwall__tile:nth-child(2) { transform: rotateY(6deg) translateZ(0); }
.cwall__row .cwall__tile:nth-child(3) { transform: rotateY(-6deg) translateZ(0); }
.cwall__row .cwall__tile:nth-child(4) { transform: rotateY(-16deg) translateZ(-30px); }
.cwall__tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.75) brightness(.75); }
.cwall__tile--noise::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 3px), #0c1421; animation: scan 6s linear infinite; }
.cwall__tile .cwall__cam { position: absolute; left: 6px; bottom: 5px; font-family: var(--mono); font-size: 8.5px; color: #5d6c84; z-index: 2; }
.cwall__tile.is-live { border-color: rgba(14,165,233,.8); box-shadow: 0 0 34px rgba(14,165,233,.35); z-index: 5; }
.cwall__tile.is-live video { filter: grayscale(0) brightness(1); }
.cwall__alert { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 8; display: flex; align-items: center; gap: 9px; background: rgba(9,14,24,.92); border: 1px solid #223049; border-left: 3px solid var(--crit); border-radius: 10px; padding: 9px 14px; font-size: 12px; color: #dbe6f4; white-space: nowrap; opacity: 0; transition: opacity .4s, transform .4s; }
.cwall__alert.is-on { opacity: 1; transform: translateX(-50%) translateY(-4px); }
.cwall__alert b { font-family: var(--mono); font-size: 10px; color: #ff7082; }

/* ---------- the full picture: community story map ---------- */
.cm { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; align-items: stretch; }
.cm__map { display: flex; flex-direction: column; }
.cm__stage { position: relative; flex: 1; min-height: 440px; }
.cm__svg { display: block; width: 100%; height: 100%; }
.cm__stage canvas { display: block; width: 100%; height: 100%; }
.cm__spot { position: absolute; width: 16px; height: 16px; transform: translate(-50%,-50%); border-radius: 50%; border: 2px solid #fff; background: var(--spot, var(--accent)); cursor: pointer; padding: 0; box-shadow: 0 1px 5px rgba(20,40,70,.3); }
.cm__spot::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--spot, var(--accent)); animation: spotPulse 2.2s infinite; }
@keyframes spotPulse { 0% { transform: scale(.7); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }
.cm__spot.is-on { box-shadow: 0 0 0 4px rgba(255,255,255,.16); }
.cm__spot.is-on::after { animation-duration: 1.1s; }
.cm__side { display: flex; flex-direction: column; }
.cm__card { flex: 1; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 24px 26px; }
.cm__card__top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.cm__time { font-family: var(--mono); font-size: 15px; font-weight: 700; }
.cm__card h4 { margin: 0 0 10px; font-size: 20px; letter-spacing: -.01em; }
.cm__card p { margin: 0 0 14px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.cm__out { font-family: var(--mono); font-size: 12.5px; color: var(--accent); background: rgba(15,174,116,.08); border: 1px solid rgba(15,174,116,.2); border-radius: 9px; padding: 9px 12px; }
.cm__dots { display: flex; gap: 7px; margin: 14px 2px 10px; }
.cm__dot { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: #c2cedd; cursor: pointer; transition: .2s; }
.cm__dot.is-on { background: var(--accent); transform: scale(1.3); }
.cm__note { font-size: 12.5px; color: var(--muted-2); margin: 0; }

/* ---------- full-bleed 3D tour ---------- */
.cmfull { position: relative; width: 100vw; margin-left: calc(50% - 50vw); height: min(86vh, 760px); margin-top: 10px; overflow: hidden; background: #e4ecf5; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cmfull .cm__stage { position: absolute; inset: 0; min-height: 0; }
/* NOTE: no backdrop-filter here on purpose — blurring over an animating
   WebGL canvas forces a per-frame readback and makes the flight stutter. */
.cmfull__chip { position: absolute; z-index: 5; top: 18px; left: max(4vw, calc((100vw - 1180px)/2)); display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 999px; padding: 8px 15px; }
.cmfull__chip b { font-family: var(--mono); color: var(--accent); }
.cmfull__side { position: absolute; z-index: 5; right: max(4vw, calc((100vw - 1180px)/2)); top: 50%; transform: translateY(-50%); width: min(380px, 86vw); }
.cmfull .cm__card { flex: none; background: rgba(255,255,255,.97); box-shadow: var(--shadow); }
.cmfull .cm__note { background: rgba(255,255,255,.9); border-radius: 8px; padding: 7px 11px; color: var(--muted); }

/* ---------- "what watchman saw" card (right column, always visible) ---------- */
.sc-saw { background: var(--panel-2); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; }
.tr-label--saw { margin-bottom: 8px; }
.sc-saw__text { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text); }

/* ---------- two ways to run it: big diagram rows ---------- */
.arch2 { display: grid; gap: 24px; margin-bottom: 44px; }
.arch2__row { display: grid; grid-template-columns: 1.55fr 1fr; gap: 32px; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow-sm); }
.arch2__row--flip { grid-template-columns: 1fr 1.55fr; }
.arch2__row--flip .arch2__diagram { order: 2; }
.arch2__diagram { background: #0b1019; border: 1px solid #1e2940; border-radius: 16px; padding: 16px 12px; box-shadow: 0 24px 55px -30px rgba(10,20,40,.55); }
.arch2__diagram svg { display: block; width: 100%; height: auto; }
.arch2__copy h3 { margin: 14px 0 10px; font-size: 24px; letter-spacing: -.015em; }
.arch2__copy p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* ---------- how it works: 4 steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; margin-top: 10px; }
.steps::before { content: ''; position: absolute; top: 27px; left: 8%; right: 8%; height: 2px; background: var(--line); }
.step { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 40px 22px 20px; box-shadow: var(--shadow-sm); text-align: left; }
.step__n { position: absolute; top: -26px; left: 22px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 20px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--accent) 0%, #0c9bd0 130%); box-shadow: 0 10px 22px -8px rgba(15,174,116,.5); }
.step__ico { position: absolute; top: 20px; right: 20px; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: var(--accent); background: rgba(15,174,116,.09); border: 1px solid rgba(15,174,116,.18); }
.step__ico svg { width: 27px; height: 27px; }
.step h3 { margin: 8px 0 8px; font-size: 18px; letter-spacing: -.01em; }
.step p { margin: 0 0 14px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.step__t { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: rgba(15,174,116,.09); border-radius: 999px; padding: 4px 10px; }
.how .steps { margin-top: 44px; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse-dot, .live-dot, .feed::before, .camview .det__box, .hud__rec, .ask__caret,
  .cwall__tile--noise::before, .cm__spot::after { animation: none !important; }
  .section { opacity: 1; transform: none; transition: none; }
  .h1det { display: none; }
}

/* ---------- v2 responsive ---------- */
@media (max-width: 900px) {
  .nav__burger { display: flex; }
  .nav__links > a:not(.nav__cta) { display: none; }
  .calc__out { grid-template-columns: 1fr; }
  .arch { grid-template-columns: 1fr; }
  .feeds--wall { grid-template-columns: repeat(3, 1fr); }
  .day__panel { padding: 20px 14px; }
  .cwall__row { grid-template-columns: repeat(3, 1fr); }
  .cwall__row .cwall__tile:nth-child(4) { display: none; }
  .cm { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 16px; }
  .steps::before { display: none; }
  .arch2__row, .arch2__row--flip { grid-template-columns: 1fr; }
  .arch2__row--flip .arch2__diagram { order: 0; }
  .hero__inner3d { min-height: min(78vh, 720px); padding: 72px 0 130px; flex-direction: column; align-items: stretch; gap: 36px; }
  .hvs { max-width: none; }
  .hero__hud { gap: 12px 18px; font-size: 11.5px; }
  .hud__ticker { flex-basis: 100%; margin-left: 0; }
  .cmfull { height: auto; }
  .cmfull .cm__stage { position: relative; height: 52vh; min-height: 340px; }
  .cmfull__side { position: static; transform: none; width: auto; padding: 14px 4vw 20px; }
  .cmfull__chip { left: 4vw; }
  .zone-tag { display: none; }
}

/* ---------- pricing: currency switcher ---------- */
.pricing__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cur-switch { display: inline-flex; gap: 4px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-top: 6px; }
.cur-switch button { border: 0; background: transparent; font: 600 13px 'Inter', sans-serif; color: var(--muted); padding: 7px 13px; border-radius: 999px; cursor: pointer; transition: .15s; white-space: nowrap; }
.cur-switch button:hover { color: var(--text); }
.cur-switch button.is-on { background: #fff; color: var(--text); box-shadow: var(--shadow-sm); }
