:root {
  --bg: #07110f;
  --ink: #f5fbf7;
  --muted: #9fb2aa;
  --line: rgba(255,255,255,.14);
  --panel: #0e1b18;
  --soft: #14241f;
  --green: #70e0a8;
  --mint: #c9ffe1;
  --amber: #ffc35b;
  --red: #ff755f;
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 75% 4%, rgba(112,224,168,.18), transparent 32rem),
    linear-gradient(180deg, #07110f 0%, #0a1412 42%, #07110f 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
  background: rgba(7,17,15,.88);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  letter-spacing: .01em;
}
.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--green);
  background: radial-gradient(circle at 50% 50%, var(--green) 0 22%, transparent 24% 100%);
  box-shadow: 0 0 28px rgba(112,224,168,.45);
}
nav { display: flex; gap: 20px; color: var(--muted); font-size: 14px; }
nav a:hover { color: var(--ink); }

.lang-switch {
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
}
.lang-switch button {
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  padding: 7px 10px;
  cursor: pointer;
  font-weight: 800;
}
.lang-switch button.active { color: #06110d; background: var(--green); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 68px);
  padding: clamp(48px, 7vw, 92px) clamp(18px, 4vw, 52px);
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: .98;
  letter-spacing: 0;
}
h2 {
  max-width: 920px;
  margin-bottom: 0;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}
h3 { margin-bottom: 8px; font-size: 18px; }
.hero-text {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.primary, .secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: var(--radius);
  padding: 0 18px;
  font-weight: 850;
}
.primary { color: #06110d; background: var(--green); }
.secondary { color: var(--ink); border: 1px solid var(--line); background: rgba(255,255,255,.04); }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 13px; }
.trust-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255,255,255,.04);
}

.hero-visual { position: relative; }
.camera-frame {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  box-shadow: 0 32px 90px rgba(0,0,0,.42);
  padding: 14px;
}
.feed-grid {
  display: grid;
  grid-template-columns: 1.6fr .8fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}
.feed {
  position: relative;
  overflow: hidden;
  min-height: 170px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px),
    #091412;
  background-size: 26px 26px;
}
.feed-main { grid-row: span 2; min-height: 520px; }
.small-feed span {
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(112,224,168,.24);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(112,224,168,.16), transparent);
}
.small-feed.alt span { background: linear-gradient(135deg, rgba(255,195,91,.14), transparent); }
.store-scene { position: absolute; inset: 0; }
.shelf, .counter, .door-zone, .person { position: absolute; display: block; }
.shelf {
  width: 22%;
  height: 62%;
  top: 13%;
  border: 1px solid rgba(255,255,255,.18);
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.10) 8px, transparent 8px, transparent 44px);
}
.shelf-a { left: 8%; }
.shelf-b { right: 9%; }
.counter {
  left: 35%;
  bottom: 10%;
  width: 32%;
  height: 16%;
  border: 1px solid rgba(112,224,168,.38);
  background: rgba(112,224,168,.10);
}
.door-zone {
  left: 38%;
  top: 5%;
  width: 24%;
  height: 22%;
  border: 2px dashed rgba(255,195,91,.5);
  background: rgba(255,195,91,.08);
}
.person {
  width: 34px;
  height: 54px;
  border-radius: 18px 18px 10px 10px;
  background: var(--green);
}
.person::before {
  content: "";
  position: absolute;
  left: 9px;
  top: -18px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: inherit;
}
.person.suspicious {
  left: 45%;
  top: 31%;
  background: var(--red);
  box-shadow: 0 0 0 10px rgba(255,117,95,.08), 0 0 34px rgba(255,117,95,.5);
}
.person.staff { right: 22%; bottom: 23%; opacity: .55; }
.event-card {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  border: 1px solid rgba(112,224,168,.32);
  border-radius: 8px;
  padding: 14px;
  background: rgba(5,12,10,.86);
  backdrop-filter: blur(10px);
}
.event-card small { color: var(--green); font-weight: 900; text-transform: uppercase; }
.event-card strong { display: block; margin: 5px 0; font-size: 18px; }
.event-card span { color: var(--muted); font-size: 13px; }
.signal-list {
  position: absolute;
  right: -18px;
  bottom: 34px;
  display: grid;
  gap: 8px;
  width: min(320px, 70%);
}
.signal-list div {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(8,17,15,.9);
}
.signal-list span { width: 10px; height: 10px; border-radius: 50%; background: var(--amber); }
.signal-list em { color: var(--muted); font-style: normal; font-size: 12px; }
.signal-list .active { border-color: rgba(112,224,168,.48); }
.signal-list .active span { background: var(--green); }

.band, .store-section, .final-cta {
  padding: clamp(54px, 7vw, 92px) clamp(18px, 4vw, 52px);
}
.section-head { max-width: 980px; margin-bottom: 28px; }
.three, .usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.three article, .usecase-grid article, .tech-copy {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 20px;
}
.three p, .usecase-grid p, .tech-copy p { color: var(--muted); margin-bottom: 0; }
.icon { display: block; color: var(--green); font-weight: 900; margin-bottom: 18px; }
.usecase-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pipeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 30px 0 14px;
}
.pipeline div {
  min-height: 118px;
  border: 1px solid rgba(112,224,168,.26);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(112,224,168,.10), rgba(255,255,255,.03));
  padding: 16px;
}
.pipeline strong { display: block; font-size: 20px; margin-bottom: 8px; }
.pipeline span { color: var(--muted); }
.tech-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.final-cta {
  text-align: center;
  border-top: 1px solid var(--line);
}
.final-cta h2, .final-cta p { margin-left: auto; margin-right: auto; }
.final-cta p { max-width: 700px; color: var(--muted); }
.contact-line {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 14px;
}
.contact-line a { color: var(--green); }

@media (max-width: 980px) {
  .topbar { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual { max-width: 720px; }
  .three, .usecase-grid, .pipeline, .tech-copy { grid-template-columns: 1fr; }
  .feed-main { min-height: 420px; }
  .signal-list { position: static; width: 100%; margin-top: 12px; }
}

@media (max-width: 560px) {
  .topbar { padding: 12px; gap: 10px; }
  .brand span:last-child { font-size: 14px; }
  .lang-switch button { padding: 6px 8px; }
  h1 { font-size: 40px; }
  .feed-grid { grid-template-columns: 1fr; }
  .feed-main { min-height: 380px; }
  .small-feed { min-height: 110px; }
}
