:root {
  --ink: #102033;
  --muted: #5a697b;
  --panel: #ffffff;
  --line: #d8e1ea;
  --soft: #eef4f8;
  --deep: #07131f;
  --blue: #1266f1;
  --cyan: #16b8d9;
  --green: #19a974;
  --amber: #d9822b;
  --shadow: 0 22px 70px rgba(7, 19, 31, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f8fafc;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

img,
svg {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 250, 252, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 42%),
    linear-gradient(135deg, #0b1d30, var(--blue));
  border-radius: 8px;
  border: 1px solid rgba(18, 102, 241, 0.28);
  box-shadow: 0 12px 30px rgba(7, 19, 31, 0.18);
  font-weight: 800;
  letter-spacing: 0;
}

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

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #26374a;
  font-size: 0.95rem;
  font-weight: 700;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  min-height: calc(100vh - 76px);
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  align-items: center;
  gap: 44px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.45rem, 6vw, 5.65rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 670px;
  margin: 12px 0 0;
  color: #435368;
  font-size: 1.13rem;
}

.hero-lead {
  max-width: 700px;
  margin: 22px 0 0;
  color: var(--ink);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.95rem;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn-primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 14px 32px rgba(18, 102, 241, 0.22);
}

.btn-secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 700px;
  margin: 36px 0 0;
}

.hero-stats div {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.hero-stats dt {
  font-weight: 900;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  min-height: 520px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(18, 102, 241, 0.12), rgba(22, 184, 217, 0.08)),
    repeating-linear-gradient(90deg, rgba(16, 32, 51, 0.06) 0 1px, transparent 1px 52px),
    repeating-linear-gradient(0deg, rgba(16, 32, 51, 0.05) 0 1px, transparent 1px 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.system-panel,
.retailq-dashboard,
.enquiry-form {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.system-panel {
  width: min(420px, calc(100% - 32px));
  padding: 18px;
}

.panel-top {
  display: flex;
  gap: 7px;
  margin-bottom: 18px;
}

.panel-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}

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

.camera-card,
.dashboard-preview,
.dash-grid > div,
.feature-card,
.why-list article,
.use-case-grid article {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
}

.camera-card {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 16px;
}

.camera-card small,
.metric span,
.dash-grid small {
  color: var(--muted);
}

.css-icon,
.card-icon {
  display: inline-block;
  position: relative;
  width: 38px;
  height: 38px;
  color: var(--blue);
}

.camera-icon::before {
  content: "";
  position: absolute;
  inset: 9px 4px 12px 3px;
  background: currentColor;
  border-radius: 5px;
}

.camera-icon::after {
  content: "";
  position: absolute;
  right: 1px;
  top: 14px;
  width: 11px;
  height: 10px;
  background: var(--cyan);
  transform: skewX(-18deg);
  border-radius: 2px;
}

.nvr-icon::before {
  content: "";
  position: absolute;
  inset: 8px 3px;
  border: 3px solid currentColor;
  border-radius: 6px;
}

.nvr-icon::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 12px;
  height: 3px;
  background: var(--cyan);
}

.network-icon::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.network-icon::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 17px;
  height: 3px;
  background: var(--cyan);
}

.phone-icon::before {
  content: "";
  position: absolute;
  inset: 3px 10px;
  border: 3px solid currentColor;
  border-radius: 7px;
}

.phone-icon::after {
  content: "";
  position: absolute;
  left: 17px;
  bottom: 7px;
  width: 4px;
  height: 4px;
  background: var(--cyan);
  border-radius: 50%;
}

.shield-icon::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 26px;
  height: 31px;
  background: currentColor;
  clip-path: polygon(50% 0, 92% 14%, 84% 72%, 50% 100%, 16% 72%, 8% 14%);
}

.shield-icon::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 12px;
  width: 9px;
  height: 14px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(42deg);
}

.dashboard-preview {
  margin-top: 12px;
  padding: 16px;
}

.metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.metric strong {
  color: var(--blue);
}

.metric.ok strong {
  color: var(--green);
}

.chart-bars {
  height: 84px;
  display: flex;
  align-items: end;
  gap: 10px;
  padding-top: 18px;
}

.chart-bars i {
  flex: 1;
  display: block;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
}

.chart-bars i:nth-child(1) { height: 38%; }
.chart-bars i:nth-child(2) { height: 62%; }
.chart-bars i:nth-child(3) { height: 48%; }
.chart-bars i:nth-child(4) { height: 78%; }
.chart-bars i:nth-child(5) { height: 58%; }

.trust-strip {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(7, 19, 31, 0.08);
}

.trust-strip div {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 18px;
  background: #fff;
}

.trust-strip strong {
  line-height: 1.25;
}

.trust-strip span {
  color: var(--muted);
  font-size: 0.88rem;
}

.section {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 30px;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  color: #435368;
  font-size: 1.05rem;
}

.service-section,
.use-cases {
  border-top: 1px solid var(--line);
}

.feature-grid,
.use-case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.use-case-grid article {
  padding: 22px;
}

.feature-card p,
.why-list p,
.use-case-grid p,
.retailq-copy p,
.contact-copy p {
  color: var(--muted);
}

.retailq-section,
.contact-section {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 42px;
  align-items: center;
  padding: 82px max(16px, calc((100vw - 1140px) / 2));
  background: var(--deep);
  color: #fff;
}

.retailq-section .eyebrow,
.contact-section .eyebrow {
  color: #7bdff0;
}

.retailq-copy p,
.contact-copy p {
  color: #c5d2df;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--cyan);
  border-bottom: 3px solid var(--cyan);
  transform: rotate(-45deg);
}

.retailq-dashboard {
  padding: 18px;
  color: var(--ink);
}

.dash-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.dash-header span {
  color: var(--green);
  font-weight: 800;
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.dash-grid > div {
  padding: 16px;
}

.dash-grid strong {
  display: block;
  margin: 8px 0;
  font-size: 1.8rem;
}

.status {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 800;
}

.status.good {
  color: #0d6b4d;
  background: #dff8ee;
}

.status.warn {
  color: #875100;
  background: #fff2d8;
}

.why-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.why-list article {
  padding: 24px;
}

.contact-section {
  align-items: start;
  background: #edf3f8;
  color: var(--ink);
}

.contact-section .eyebrow {
  color: var(--blue);
}

.contact-copy p {
  color: var(--muted);
}

address {
  margin-top: 24px;
  padding: 20px;
  color: #30445a;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-style: normal;
}

address a {
  color: var(--blue);
  font-weight: 700;
}

.enquiry-form {
  display: grid;
  gap: 10px;
  padding: 24px;
}

label {
  font-weight: 800;
  font-size: 0.9rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #c9d5e1;
  border-radius: 8px;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(18, 102, 241, 0.18);
  border-color: var(--blue);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.responsibility-note {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
  border-top: 1px solid var(--line);
}

.responsibility-note h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.responsibility-note p {
  max-width: 880px;
  color: var(--muted);
}

.site-footer {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer strong {
  display: block;
  color: var(--ink);
  margin-bottom: 8px;
}

.site-footer p {
  margin: 0 0 4px;
}

.site-footer a {
  color: var(--blue);
  font-weight: 800;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
  }

  .hero,
  .retailq-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 46px;
  }

  .hero-visual {
    min-height: 430px;
  }

  .feature-grid,
  .trust-strip,
  .why-list,
  .use-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .nav {
    width: min(100% - 24px, 1140px);
  }

  .brand small {
    display: none;
  }

  .hero,
  .section,
  .trust-strip,
  .responsibility-note {
    width: min(100% - 24px, 1140px);
  }

  .hero-stats,
  .two-column,
  .feature-grid,
  .trust-strip,
  .why-list,
  .use-case-grid,
  .dash-grid,
  .camera-row {
    grid-template-columns: 1fr;
  }

  .hero-stats div,
  .feature-card,
  .why-list article,
  .use-case-grid article {
    padding: 18px;
  }

  .retailq-section,
  .contact-section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 0;
  }

  .btn {
    width: 100%;
  }
}
