:root {
  color-scheme: dark;
  --bg: #050a12;
  --panel: #0b1422;
  --panel-2: #101d2e;
  --line: rgba(148, 177, 212, 0.16);
  --text: #f4f8ff;
  --muted: #92a6bd;
  --blue: #1da1ff;
  --blue-2: #5fc4ff;
  --green: #37d69b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 6%, rgba(17, 87, 137, .4) 0, transparent 34rem),
    radial-gradient(circle at 8% 66%, rgba(6, 60, 101, .26) 0, transparent 30rem),
    var(--bg);
  color: var(--text);
}
a { color: inherit; }
.page-shell { min-height: 100vh; }
.eyebrow { color: var(--blue-2); font-size: .72rem; font-weight: 850; letter-spacing: .18em; }

.site-header {
  position: relative;
  z-index: 20;
  width: min(1380px, calc(100% - 3rem));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; }
.brand img { width: clamp(170px, 19vw, 250px); display: block; }

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .78rem 1.08rem;
  background: #101b2b;
  color: var(--text);
  font-size: .86rem;
  font-weight: 780;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-1px); border-color: rgba(95, 196, 255, .54); }
.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, #087ed3, #19a6ff);
  box-shadow: 0 12px 34px rgba(4, 139, 228, .25);
}
.button.primary:hover { box-shadow: 0 16px 42px rgba(4, 139, 228, .34); }
.button.quiet { background: rgba(11, 25, 42, .74); backdrop-filter: blur(14px); }

.hero {
  position: relative;
  isolation: isolate;
  width: min(1380px, calc(100% - 3rem));
  min-height: calc(100vh - 92px);
  margin: 0 auto;
  padding: clamp(4.5rem, 8vw, 8.5rem) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(430px, .96fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 8rem);
}
.hero-grid {
  position: absolute;
  z-index: -2;
  inset: 0 calc(50% - 50vw);
  opacity: .17;
  background-image:
    linear-gradient(rgba(73, 170, 235, .18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(73, 170, 235, .18) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(105deg, #000 0, rgba(0, 0, 0, .6) 45%, transparent 82%);
}
.hero-copy { position: relative; z-index: 1; }
.hero h1 {
  max-width: 790px;
  margin: 1.15rem 0 1.5rem;
  font-size: clamp(3.3rem, 6vw, 6.6rem);
  line-height: .97;
  letter-spacing: -.058em;
}
.hero h1 em { display: block; color: var(--blue-2); font-style: normal; }
.lead {
  max-width: 710px;
  margin: 0;
  color: #d8e5f2;
  font-size: clamp(1.16rem, 1.7vw, 1.42rem);
  line-height: 1.62;
}
.lead strong:first-child { color: white; }
.supporting-copy { max-width: 640px; margin: 1rem 0 0; color: var(--muted); line-height: 1.72; }
.hero-actions { margin-top: 2.2rem; display: flex; align-items: center; flex-wrap: wrap; gap: 1.15rem 1.5rem; }
.text-link { color: #bbd8ee; font-size: .9rem; font-weight: 720; text-underline-offset: .28rem; }
.text-link:hover { color: var(--blue-2); }
.trust-row { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; color: #9fb4ca; font-size: .75rem; font-weight: 780; text-transform: uppercase; letter-spacing: .09em; }
.trust-row i, .system-state i {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: .48rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(55, 214, 155, .1);
}

.product-visual { position: relative; display: grid; place-items: center; }
.visual-glow { position: absolute; width: 92%; aspect-ratio: 1; border-radius: 50%; background: rgba(22, 144, 222, .2); filter: blur(80px); }
.monitor-card {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 1rem;
  overflow: hidden;
  border: 1px solid rgba(95, 196, 255, .24);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(16, 33, 53, .97), rgba(5, 13, 23, .98));
  box-shadow: 0 38px 100px rgba(0, 0, 0, .46), 0 0 0 9px rgba(5, 16, 27, .55);
  transform: perspective(1100px) rotateY(-4deg) rotateX(1deg);
}
.monitor-head { padding: .55rem .45rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.monitor-head > div { display: grid; gap: .28rem; }
.monitor-label { color: var(--blue-2); font-size: .6rem; font-weight: 850; letter-spacing: .14em; }
.monitor-head b { font-size: .95rem; }
.system-state { color: #9ee8ce; font-size: .58rem; font-weight: 850; letter-spacing: .08em; white-space: nowrap; }
.camera-preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.camera-preview {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(132, 179, 214, .14);
  border-radius: 12px;
  background:
    linear-gradient(145deg, transparent 46%, rgba(39, 115, 164, .24) 47%, transparent 49%),
    radial-gradient(circle at 68% 34%, rgba(78, 170, 230, .4), transparent 16%),
    linear-gradient(155deg, #10273b, #07111c 68%);
}
.camera-preview::before, .camera-preview::after { content: ""; position: absolute; background: rgba(132, 188, 226, .18); }
.camera-preview::before { width: 48%; height: 38%; left: 10%; bottom: 12%; border-radius: 3px 3px 0 0; transform: skewX(-8deg); }
.camera-preview::after { width: 24%; height: 52%; right: 9%; bottom: 12%; border-radius: 4px 4px 0 0; }
.camera-preview span { position: absolute; z-index: 2; left: .6rem; top: .55rem; padding: .28rem .4rem; border-radius: 5px; background: rgba(1, 8, 14, .74); color: #cbe3f4; font-size: .52rem; font-weight: 850; letter-spacing: .08em; }
.camera-preview i { position: absolute; z-index: 2; right: .7rem; top: .68rem; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.monitor-footer { padding: .95rem .35rem .25rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; }
.monitor-footer div { min-width: 0; display: grid; gap: .2rem; }
.monitor-footer small { color: #607d96; font-size: .48rem; font-weight: 800; letter-spacing: .08em; }
.monitor-footer strong { color: #cce1f2; font-size: .7rem; }

.contact-section {
  width: min(1380px, calc(100% - 3rem));
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 9rem) 0;
  display: grid;
  grid-template-columns: minmax(280px, .7fr) minmax(520px, 1.3fr);
  align-items: start;
  gap: clamp(3rem, 8vw, 8rem);
  border-top: 1px solid var(--line);
}
.contact-copy { position: sticky; top: 3rem; }
.contact-copy h2 { margin: .65rem 0 1rem; font-size: clamp(2.5rem, 4.7vw, 4.8rem); line-height: 1; letter-spacing: -.052em; }
.contact-copy > p { max-width: 540px; color: var(--muted); font-size: 1.05rem; line-height: 1.72; }
.customer-card { margin-top: 2rem; padding: 1.15rem; display: grid; gap: .45rem; border: 1px solid rgba(95, 196, 255, .2); border-radius: 15px; background: rgba(18, 41, 64, .48); }
.customer-card span { color: var(--blue-2); font-size: .7rem; font-weight: 820; letter-spacing: .08em; text-transform: uppercase; }
.customer-card strong { font-size: .9rem; }
.customer-card a { width: fit-content; margin-top: .35rem; color: #c7e7ff; font-size: .83rem; font-weight: 760; text-underline-offset: .25rem; }

.form-card { overflow: hidden; border: 1px solid rgba(95, 196, 255, .2); border-radius: 22px; background: linear-gradient(150deg, rgba(15, 29, 46, .97), rgba(7, 15, 26, .99)); box-shadow: var(--shadow); }
.form-heading { padding: 1.7rem 1.7rem 1.3rem; border-bottom: 1px solid var(--line); }
.form-heading h3 { margin: .45rem 0 .35rem; font-size: 1.6rem; letter-spacing: -.025em; }
.form-heading p { margin: 0; color: var(--muted); font-size: .88rem; }
.jotform-frame { min-height: 520px; padding: .4rem; background: #fff; }
.jotform-frame iframe { width: 100% !important; min-height: 620px; border: 0 !important; }
.jotform-frame noscript { display: block; padding: 2rem; background: white; color: #172536; }
.jotform-frame noscript a { color: #087ed3; }

.site-footer {
  width: min(1380px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 1.5rem 0 2.2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  color: #63778e;
  font-size: .75rem;
}

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { max-width: 820px; }
  .product-visual { width: min(700px, 94%); margin: 0 auto; }
  .contact-section { grid-template-columns: 1fr; }
  .contact-copy { position: static; }
}

@media (max-width: 680px) {
  .site-header, .hero, .contact-section, .site-footer { width: min(100% - 2rem, 1380px); }
  .site-header { min-height: 78px; }
  .brand img { width: 150px; }
  .customer-login { min-height: 42px; padding: .65rem .75rem; font-size: .72rem; }
  .customer-login span { display: none; }
  .hero { min-height: auto; padding: 4rem 0 5rem; gap: 4.5rem; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.7rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button, .hero-actions .text-link { width: 100%; text-align: center; }
  .trust-row { gap: .85rem 1.2rem; }
  .monitor-card { transform: none; }
  .system-state { display: none; }
  .monitor-footer { grid-template-columns: 1fr 1fr; }
  .monitor-footer div:last-child { display: none; }
  .contact-section { padding: 5rem 0; }
  .form-heading { padding: 1.35rem 1.15rem 1.1rem; }
  .jotform-frame { padding: 0; }
  .site-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
