:root {
  --bg: #050b14;
  --panel: rgba(8, 17, 29, 0.8);
  --panel-2: rgba(10, 22, 38, 0.82);
  --border: rgba(116, 163, 255, 0.16);
  --border-strong: rgba(116, 163, 255, 0.28);
  --text: #eef4ff;
  --muted: #b9c5dd;
  --muted-2: #8ea2c7;
  --blue: #3794ff;
  --blue-2: #6bb1ff;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1000px 500px at 50% -10%, rgba(66, 125, 255, 0.18), transparent 60%),
    radial-gradient(600px 300px at 10% 20%, rgba(63, 110, 209, 0.10), transparent 65%),
    linear-gradient(180deg, #050b15 0%, #08111d 45%, #060d17 100%);
  min-height: 100vh;
}

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

.page-noise {
  position: fixed; inset: 0; pointer-events: none; opacity: 0.08;
  background-image: radial-gradient(rgba(255,255,255,.3) 0.7px, transparent 0.7px);
  background-size: 9px 9px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent);
}

.site-shell { width: min(var(--max), calc(100% - 28px)); margin: 22px auto 36px; position: relative; z-index: 1; }

.topbar {
  position: sticky; top: 14px; z-index: 20;
  display: flex; align-items: center; gap: 18px; justify-content: space-between;
  padding: 16px 20px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(10, 18, 34, 0.92), rgba(8, 15, 28, 0.82));
  border-radius: 24px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.04);
  backdrop-filter: blur(14px);
}

.brand { display: flex; align-items: center; gap: 14px; min-width: 210px; }
.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center; font-weight: 800;
  border-radius: 12px; color: white;
  background: linear-gradient(180deg, #6bb1ff 0%, #2f77ff 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 0 24px rgba(55, 148, 255, .28);
}
.brand-name { letter-spacing: 0.08em; font-weight: 800; font-size: 1.45rem; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a { color: var(--muted); font-weight: 700; transition: color .2s ease, transform .2s ease; }
.nav a:hover { color: var(--text); transform: translateY(-1px); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 28px; border-radius: 18px;
  font-weight: 800; letter-spacing: -.01em;
  border: 1px solid transparent; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #54a8ff 0%, #2e86ff 100%);
  box-shadow: 0 8px 30px rgba(52, 136, 255, 0.24), inset 0 1px 0 rgba(255,255,255,.22);
}
.btn-primary:hover { box-shadow: 0 12px 34px rgba(52, 136, 255, 0.28), inset 0 1px 0 rgba(255,255,255,.22); }
.btn-secondary {
  color: var(--text); border-color: rgba(255,255,255,.16);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  backdrop-filter: blur(8px);
}
.btn-small { min-height: 50px; padding-inline: 24px; }
.menu-btn {
  display: none; width: 52px; height: 52px; border-radius: 16px; border: 1px solid var(--border);
  background: rgba(10, 20, 35, 0.9); color: white; font-size: 1.4rem;
}

.panel {
  position: relative; overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(10, 18, 33, 0.72), rgba(8, 15, 28, 0.8));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.03);
}

.hero {
  margin-top: 18px;
  min-height: 670px;
  padding: 84px 40px 72px;
}
.hero-bg-glow {
  position: absolute; inset: auto; width: 720px; height: 720px;
  left: 50%; top: 34%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(89, 149, 255, .16) 0%, rgba(89,149,255,.07) 28%, rgba(89,149,255,0) 64%);
  filter: blur(16px);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(93, 135, 220, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93, 135, 220, 0.06) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, black 35%, rgba(0,0,0,.55) 62%, transparent 92%);
}

.hero-content {
  position: relative; z-index: 2; max-width: 760px; margin: 0 auto;
  text-align: center; padding-top: 36px;
}
.eyebrow {
  color: #a8c4ff; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  font-size: .95rem; margin: 0 0 16px;
}
.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 18px; padding: 10px 14px; border-radius: 999px;
  color: #d9e7ff; font-weight: 700; font-size: .92rem;
  background: rgba(41, 98, 255, 0.12); border: 1px solid rgba(102, 154, 255, .24);
}
.hero h1 {
  margin: 0; line-height: .95; letter-spacing: -.05em;
  font-size: clamp(3.6rem, 8vw, 6.4rem);
  text-shadow: 0 0 26px rgba(255,255,255,.03);
}
.hero-copy {
  max-width: 800px; margin: 26px auto 0; color: var(--muted);
  font-size: clamp(1.18rem, 2vw, 1.42rem); line-height: 1.72;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; margin-top: 34px; }

.hero-sketch {
  position: absolute; top: 155px; width: clamp(290px, 34vw, 430px); height: auto;
  z-index: 1; opacity: .78; pointer-events: none;
  filter: drop-shadow(0 0 16px rgba(85, 151, 255, .09));
}
.hero-sketch-left { left: -10px; }
.hero-sketch-right { right: -14px; }
.sketch-lines {
  fill: none; stroke: rgba(141, 184, 255, 0.66); stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round;
}

.section { padding: 78px 8px 0; }
.section-heading { text-align: center; max-width: 840px; margin: 0 auto 34px; }
.section-heading.narrow { max-width: 700px; }
.section h2 {
  margin: 0 0 16px; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1;
  letter-spacing: -.04em;
}
.section-heading p:last-child,
.split p,
.cta p { color: var(--muted); font-size: 1.12rem; line-height: 1.78; }

.cards { display: grid; gap: 18px; }
.four-up { grid-template-columns: repeat(4, 1fr); }
.two-up { grid-template-columns: repeat(2, 1fr); }
.card {
  position: relative; min-height: 270px; padding: 24px; overflow: hidden;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(10, 19, 34, .84), rgba(8, 14, 25, .96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}
.card h3 { margin: 12px 0 10px; font-size: 1.6rem; }
.card p { color: var(--muted); line-height: 1.7; }
.small-card { min-height: 0; }

.card-graphic {
  position: relative; height: 108px; border-radius: 14px;
  background: radial-gradient(circle at 50% 0%, rgba(89,149,255,.12), transparent 60%);
}
.card-graphic::before,
.card-graphic::after { content: ""; position: absolute; border: 2px solid rgba(126, 174, 255, .45); }
.phone::before { inset: 12px auto 8px 24px; width: 52px; border-radius: 14px; }
.phone::after { width: 10px; height: 10px; border-radius: 99px; left: 45px; bottom: 16px; }
.detect::before { inset: 26px 46px 22px 10px; border-radius: 0; }
.detect::after { width: 34px; height: 34px; border-radius: 99px; right: 14px; bottom: 24px; }
.room::before { inset: 26px 26px 20px 10px; clip-path: polygon(0 34%, 39% 12%, 100% 12%, 100% 100%, 0 100%); }
.room::after { inset: 26px 120px 20px 120px; border-left-width: 2px; border-right: 0; border-top: 0; border-bottom: 0; }
.cube::before { inset: 26px 68px 20px 12px; clip-path: polygon(0 30%, 30% 10%, 75% 10%, 100% 28%, 100% 100%, 0 100%); }
.cube::after { width: 62px; height: 22px; right: 14px; top: 42px; transform: skewX(-30deg); }

.split {
  display: grid; grid-template-columns: 1.08fr 1fr; gap: 34px; align-items: start;
  border-top: 1px solid rgba(255,255,255,.06); margin-top: 8px; padding-top: 60px;
}

.timeline { display: grid; gap: 18px; }
.timeline-item {
  padding: 24px 24px 26px; border-radius: 22px; border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(10,19,34,.8), rgba(8,14,26,.96));
  position: relative;
}
.timeline-item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  border-radius: 22px 0 0 22px; background: linear-gradient(180deg, rgba(98,162,255,.85), rgba(35,114,255,.15));
}
.phase { color: #a8c4ff; font-size: .9rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.timeline h3 { margin: 10px 0 10px; font-size: 1.65rem; }
.timeline p { margin: 0; color: var(--muted); line-height: 1.75; }

.cta { text-align: center; padding: 62px 28px; margin-top: 78px; }
.contact-form {
  display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 28px;
}
.contact-form input {
  width: min(430px, 100%); min-height: 56px; padding: 0 18px;
  border-radius: 18px; border: 1px solid rgba(122, 163, 255, .16);
  background: rgba(255,255,255,.04); color: var(--text); outline: none;
}
.contact-form input::placeholder { color: #91a4c7; }
.form-note { color: var(--muted-2); font-size: .95rem; margin-top: 14px; }

.footer {
  display: flex; justify-content: space-between; gap: 22px; align-items: flex-end;
  padding: 48px 8px 20px; color: var(--muted);
}
.footer-brand { margin-bottom: 12px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--text); }

@media (max-width: 1060px) {
  .four-up { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 620px; }
  .hero-sketch { width: 310px; top: 170px; opacity: .7; }
  .hero-sketch-left { left: -26px; }
  .hero-sketch-right { right: -22px; }
}

@media (max-width: 860px) {
  .site-shell { width: min(var(--max), calc(100% - 18px)); }
  .topbar { padding: 14px 16px; }
  .nav, .desktop-cta { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .nav.open {
    display: grid; position: absolute; left: 0; right: 0; top: calc(100% + 10px);
    gap: 12px; padding: 16px; border-radius: 22px; border: 1px solid var(--border);
    background: rgba(8, 15, 28, 0.96); backdrop-filter: blur(12px);
  }
  .hero { padding: 72px 20px 48px; min-height: auto; }
  .hero-content { padding-top: 66px; }
  .hero h1 { font-size: clamp(3.2rem, 12vw, 5rem); }
  .hero-copy { font-size: 1.05rem; max-width: 620px; }
  .hero-actions { flex-wrap: wrap; }
  .hero-sketch { width: 260px; top: 152px; opacity: .52; }
  .hero-sketch-left { left: -80px; }
  .hero-sketch-right { right: -80px; }
  .split, .footer, .two-up, .four-up { grid-template-columns: 1fr; display: grid; }
  .footer { align-items: start; }
}

@media (max-width: 560px) {
  .brand-name { font-size: 1.2rem; }
  .brand-mark { width: 40px; height: 40px; }
  .hero { min-height: auto; }
  .hero-grid { background-size: 80px 80px; }
  .hero-content { padding-top: 56px; }
  .hero-sketch { width: 220px; top: 165px; opacity: .42; }
  .hero-sketch-left { left: -92px; }
  .hero-sketch-right { right: -96px; }
  .hero-copy { font-size: 1rem; line-height: 1.75; }
  .btn { width: 100%; }
  .contact-form input { width: 100%; }
  .section { padding-top: 62px; }
  .cta { padding: 50px 18px; }
}
