:root {
  --bg: #05080d;
  --panel: rgba(17, 24, 33, 0.72);
  --panel-solid: #0f151d;
  --line: rgba(255, 255, 255, 0.08);
  --line2: rgba(255, 255, 255, 0.14);
  --ink: #f1f5f9;
  --ink2: #b7c1cd;
  --muted: #7d8794;
  --accent: #3ad1ff;
  --accent2: #3987e5;
  --good: #2bd576;
  --crit: #ff5a4f;
  --warn: #fab219;
  --font: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Mono", Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 15px; overflow-x: hidden; }
a { color: inherit; }

/* ---------------------------- background ---------------------------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}
.bg-glow { position: fixed; z-index: -1; border-radius: 50%; filter: blur(120px); pointer-events: none; opacity: .55; }
.bg-glow.g1 { width: 720px; height: 720px; left: -200px; top: -260px; background: #1d5fb8; }
.bg-glow.g2 { width: 620px; height: 620px; right: -220px; top: 120px; background: #0e7fa3; opacity: .35; }

/* -------------------------------- nav -------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 28px;
  padding: 14px clamp(16px, 5vw, 72px);
  background: rgba(5, 8, 13, .7); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo { width: 40px; height: 40px; flex: 0 0 auto; filter: drop-shadow(0 6px 16px rgba(58, 209, 255, .35)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 850; font-size: 20px; letter-spacing: -0.03em; }
.brand-name span { background: linear-gradient(90deg, #46dbff, #9b84ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-tag { font-size: 9.5px; font-weight: 750; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.links { display: flex; gap: 24px; flex: 1; justify-content: flex-end; }
.links a { text-decoration: none; color: var(--ink2); font-size: 14px; font-weight: 550; }
.links a:hover { color: #fff; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 15px;
  padding: 13px 22px; border-radius: 12px; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s;
  font-family: inherit;
}
.btn.small { padding: 8px 14px; font-size: 13.5px; }
.btn.primary { background: linear-gradient(135deg, #3ad1ff, #3987e5); color: #031019; box-shadow: 0 10px 30px rgba(58, 209, 255, .25); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(58, 209, 255, .35); }
.btn.ghost { border-color: var(--line2); color: var(--ink); background: rgba(255, 255, 255, .03); }
.btn.ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(58, 209, 255, .45); }

/* ------------------------------- hero ------------------------------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(28px, 4vw, 64px); align-items: center;
  padding: clamp(40px, 7vw, 96px) clamp(16px, 5vw, 72px) 60px; max-width: 1640px; margin: 0 auto;
}
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 59, 48, .6); } 70% { box-shadow: 0 0 0 9px rgba(255, 59, 48, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); } }
h1 { font-size: clamp(34px, 4.4vw, 62px); line-height: 1.04; letter-spacing: -0.035em; margin: 18px 0 18px; font-weight: 850; }
.grad { background: linear-gradient(90deg, #3ad1ff, #7aa8ff 60%, #b49cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(15px, 1.2vw, 18px); line-height: 1.6; color: var(--ink2); max-width: 600px; margin: 0 0 28px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.cta.center { justify-content: center; }
.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 40px; max-width: 640px; }
.hs { border-left: 2px solid rgba(58, 209, 255, .5); padding: 2px 0 2px 12px; }
.hs b { display: block; font-size: clamp(20px, 2vw, 28px); font-weight: 850; letter-spacing: -0.02em; }
.hs span { font-size: 12px; color: var(--muted); }

.hero-visual, .hero-copy { position: relative; min-width: 0; }
.eyebrow { flex-wrap: wrap; }
.monitor {
  border-radius: 18px; overflow: hidden; border: 1px solid var(--line2); background: #070b10;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .6), 0 0 0 1px rgba(58, 209, 255, .08), 0 0 80px rgba(57, 135, 229, .18);
  transform: perspective(1600px) rotateY(-5deg) rotateX(2deg); transition: transform .5s;
}
.hero-visual:hover .monitor { transform: perspective(1600px) rotateY(0) rotateX(0); }
.monitor-head { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #0c1219; border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #2a323c; display: block; }
.dots i:nth-child(1) { background: #ff5f57; } .dots i:nth-child(2) { background: #febc2e; } .dots i:nth-child(3) { background: #28c840; }
.mon-title { font-family: var(--mono); font-size: 12px; color: var(--ink2); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .3s; }
.live-tag { font-size: 11px; font-weight: 800; color: #ff5a4f; letter-spacing: .06em; }
.monitor-screen { position: relative; aspect-ratio: 16 / 9; }
.monitor-screen canvas { width: 100%; height: 100%; display: block; transition: opacity .35s; }
.monitor-screen canvas.fade { opacity: 0; }
.scan { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 0%, rgba(58, 209, 255, .07) 50%, transparent 100%); height: 30%; animation: scan 4s linear infinite; }
@keyframes scan { from { transform: translateY(-100%); } to { transform: translateY(340%); } }
.monitor-foot { display: flex; gap: 8px; padding: 10px 14px; background: #0c1219; border-top: 1px solid var(--line); flex-wrap: wrap; }
.mchip { font-size: 12px; font-weight: 650; color: var(--ink2); padding: 4px 9px; border-radius: 7px; background: rgba(255, 255, 255, .05); }
.mchip.ok { color: #9ff0b5; background: rgba(12, 163, 12, .14); }
.mchip.bad { color: #ffb3ad; background: rgba(208, 59, 59, .18); }

.float {
  position: absolute; display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 14px;
  background: rgba(12, 18, 26, .86); border: 1px solid var(--line2); backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .45); font-size: 13px; animation: bob 6s ease-in-out infinite; max-width: 290px;
}
.float b { display: block; font-size: 13.5px; }
.float span { color: var(--muted); font-size: 12px; }
.f-ico { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 900; background: rgba(255, 90, 79, .18); color: var(--crit); }
.f-ico.ok { background: rgba(43, 213, 118, .16); color: var(--good); }
.f-ico.blue { background: rgba(58, 209, 255, .16); color: var(--accent); }
.f1 { left: -34px; bottom: 18%; }
.f2 { right: -22px; top: 12%; animation-delay: -2s; }
.f3 { right: -22px; bottom: 30%; animation-delay: -4s; }
.float.flash { border-color: rgba(255, 90, 79, .8); box-shadow: 0 0 0 4px rgba(255, 90, 79, .15), 0 16px 40px rgba(0, 0, 0, .45); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ----------------------------- sections ----------------------------- */
.section { padding: 70px clamp(16px, 5vw, 72px); max-width: 1640px; margin: 0 auto; scroll-margin-top: 60px; }
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head h2 { font-size: clamp(28px, 3vw, 42px); letter-spacing: -0.03em; margin: 10px 0 12px; font-weight: 850; }
.section-head p { color: var(--ink2); font-size: 16px; line-height: 1.6; margin: 0; }

/* --------------------------- industry cards --------------------------- */
.ind-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.ind-card { grid-column: span 2; }
.ind-card:nth-child(4), .ind-card:nth-child(5) { grid-column: span 3; }
.ind-card {
  position: relative; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; cursor: pointer;
  background: linear-gradient(180deg, rgba(22, 31, 42, .9), rgba(12, 17, 24, .95)); border: 1px solid var(--line);
  transition: transform .25s, border-color .25s, box-shadow .25s; text-decoration: none; outline: none;
}
.ind-card::before { content: ""; position: absolute; inset: 0; border-radius: 20px; padding: 1px; background: linear-gradient(135deg, rgba(58, 209, 255, .7), transparent 40%, transparent 60%, rgba(180, 156, 255, .6)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .25s; pointer-events: none; }
.ind-card:hover, .ind-card:focus-visible { transform: translateY(-6px); box-shadow: 0 30px 70px rgba(0, 0, 0, .5), 0 0 60px rgba(58, 209, 255, .12); }
.ind-card:hover::before, .ind-card:focus-visible::before { opacity: 1; }
.ic-media { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.ind-card:nth-child(4) .ic-media, .ind-card:nth-child(5) .ic-media { aspect-ratio: 16 / 7.4; }
.ic-media canvas { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .6s, opacity .3s; }
.ind-card:hover .ic-media canvas { transform: scale(1.03); }
.ic-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8, 12, 17, .95)); pointer-events: none; }
.ic-badge { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border-radius: 12px; background: rgba(6, 10, 15, .72); backdrop-filter: blur(8px); border: 1px solid var(--line2); font-weight: 750; font-size: 13px; }
.ic-badge .em { width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 17px; background: rgba(58, 209, 255, .15); }
.ic-live { position: absolute; top: 14px; right: 12px; z-index: 2; font-size: 11px; font-weight: 800; letter-spacing: .05em; padding: 5px 9px; border-radius: 8px; background: rgba(208, 59, 59, .85); color: #fff; }
.ic-cam { position: absolute; left: 14px; bottom: 10px; z-index: 2; font-family: var(--mono); font-size: 11.5px; color: #dbe7f3; text-shadow: 0 1px 3px #000; }
.ic-dots { position: absolute; right: 14px; bottom: 14px; z-index: 2; display: flex; gap: 5px; }
.ic-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .3); display: block; transition: background .3s, transform .3s; }
.ic-dots i.on { background: var(--accent); transform: scale(1.25); }
.ic-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.ic-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.ic-body h3 { margin: 0; font-size: 22px; letter-spacing: -0.02em; font-weight: 800; }
.ic-site { font-size: 12.5px; color: var(--accent); font-weight: 650; margin-top: 3px; }
.ic-score { text-align: right; flex: 0 0 auto; }
.ic-score b { font-size: 24px; font-weight: 850; display: block; line-height: 1; }
.ic-score span { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.ic-desc { color: var(--ink2); font-size: 14px; line-height: 1.55; margin: 0; }
.ic-zones { display: flex; flex-wrap: wrap; gap: 6px; }
.zc { font-size: 12px; color: var(--ink2); padding: 4px 9px; border-radius: 8px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); white-space: nowrap; }
.zc b { color: var(--accent); font-family: var(--mono); font-size: 11px; margin-right: 5px; }
.ic-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ic-metrics div { padding: 10px; border-radius: 11px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line); }
.ic-metrics b { display: block; font-size: 17px; font-weight: 800; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.ic-metrics span { font-size: 11px; color: var(--muted); }
.ic-actions { display: flex; gap: 10px; margin-top: auto; padding-top: 4px; }
.ic-actions .btn { flex: 1; justify-content: center; padding: 12px 14px; font-size: 14px; }

/* ------------------------------ steps ------------------------------ */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.step { position: relative; padding: 22px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.step:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 30px; color: var(--accent); font-weight: 900; z-index: 2; }
.s-ico { font-size: 26px; }
.s-n { position: absolute; top: 18px; right: 20px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.step h3 { margin: 12px 0 6px; font-size: 17px; }
.step p { margin: 0; color: var(--ink2); font-size: 13.5px; line-height: 1.55; }

.caps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cap { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.cap .ci { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 19px; background: rgba(255, 255, 255, .05); }
.cap b { display: block; font-size: 14px; }
.cap span { font-size: 11.5px; color: var(--muted); text-transform: capitalize; }
.cap .sev { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 2px 6px; border-radius: 4px; margin-left: auto; flex: 0 0 auto; }
.sev.critical { background: #d03b3b; color: #fff; } .sev.high { background: #ec835a; color: #1a0a04; }
.sev.medium { background: #fab219; color: #1a1204; } .sev.low { background: #3a424d; color: #dde3ea; }

.final-cta { text-align: center; padding: 80px 20px; margin: 30px clamp(16px, 5vw, 72px) 0; border-radius: 26px; border: 1px solid var(--line); background: radial-gradient(600px 240px at 50% 0%, rgba(58, 209, 255, .14), transparent), var(--panel); }
.final-cta h2 { font-size: clamp(26px, 3vw, 40px); margin: 0 0 10px; letter-spacing: -0.03em; }
.final-cta p { color: var(--ink2); margin: 0 0 26px; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  max-width: 1440px; margin: 0 auto; color: var(--muted); font-size: 12.5px; padding: 40px 28px; }
.powered { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 4px; text-decoration: none; opacity: .85; transition: opacity .2s; }
.powered:hover { opacity: 1; }
.powered span { font-size: 8.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.powered img { display: block; height: 28px; width: auto; }@media (max-width: 640px) { .foot { justify-content: center; text-align: center; } .powered { align-items: center; } }

/* ---------------------------- responsive ---------------------------- */
@media (max-width: 1200px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 860px; }
  .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ind-card, .ind-card:nth-child(4), .ind-card:nth-child(5) { grid-column: auto; }
  .ind-card:nth-child(5) { grid-column: 1 / -1; }
  .ind-card:nth-child(4) .ic-media { aspect-ratio: 16 / 9; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .step::after { display: none; }
  .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .links { display: none; }
  .nav { justify-content: space-between; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .float { display: none; }
  .monitor { transform: none; }
  .ind-grid { grid-template-columns: minmax(0, 1fr); }
  .ic-actions { flex-direction: column; }
  .ind-card:nth-child(5) .ic-media { aspect-ratio: 16 / 9; }
  .ic-metrics { grid-template-columns: repeat(2, 1fr); }
  .steps, .caps { grid-template-columns: minmax(0, 1fr); }
  .cta .btn { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .float, .scan, .pulse { animation: none; }
  .monitor, .ind-card { transition: none; transform: none; }
}
