/* ════════════════════════════════════════════════════════════════
   all4automation — premium B2B redesign
   Dark-mode-first. Space Grotesk + IBM Plex Sans/Mono.
   ════════════════════════════════════════════════════════════════ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Tokens (dark = default) ── */
:root {
  --bg:          #0a1220;
  --bg-2:        #0c1628;
  --bg-3:        #111d33;
  --panel:       #0f1a2e;
  --panel-2:     #14223c;
  --glass:       rgba(20, 34, 60, .55);
  --glass-brd:   rgba(120, 160, 230, .14);
  --line:        #1d2c47;
  --line-soft:   #16243c;
  --ink:         #eaf1fc;
  --ink-2:       #aebfd3;
  --muted:       #8497b6;
  --muted-2:     #5d6e8e;

  --accent:      #2f6bff;
  --accent-2:    #1a4fe0;
  --accent-soft: rgba(47, 107, 255, .14);
  --accent-ring: rgba(47, 107, 255, .28);
  --cyan:        #19b6ff;
  --cyan-soft:   rgba(25, 182, 255, .14);
  --teal:        #1fd9c5;

  --ok:          #2fd07a;
  --warn:        #ffb020;
  --hvac:        #19b6ff;

  --r-xs: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --sh-sm: 0 2px 10px rgba(0,0,0,.35);
  --sh-md: 0 14px 40px rgba(0,0,0,.45);
  --sh-lg: 0 30px 80px rgba(0,0,0,.55);
  --glow:  0 0 0 1px var(--accent-ring), 0 12px 50px rgba(47,107,255,.28);

  --t:   .22s cubic-bezier(.4,0,.2,1);
  --t-s: .14s ease;

  --font:    'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Space Grotesk', var(--font);
  --mono:    'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --maxw: 1240px;
  --pad:  clamp(18px, 4vw, 40px);
}

body.light {
  --bg:          #f6f8fc;
  --bg-2:        #eef2fa;
  --bg-3:        #e6ecf7;
  --panel:       #ffffff;
  --panel-2:     #f3f6fc;
  --glass:       rgba(255,255,255,.6);
  --glass-brd:   rgba(20, 50, 110, .1);
  --line:        #dce3f1;
  --line-soft:   #e9eef8;
  --ink:         #0b1424;
  --ink-2:       #3a4a66;
  --muted:       #5a6a88;
  --muted-2:     #8a99b6;
  --accent:      #2255d4;
  --accent-2:    #163fb0;
  --accent-soft: rgba(34,85,212,.08);
  --accent-ring: rgba(34,85,212,.22);
  --cyan:        #0e8fd6;
  --sh-sm: 0 2px 10px rgba(20,40,90,.07);
  --sh-md: 0 14px 40px rgba(20,40,90,.1);
  --sh-lg: 0 30px 80px rgba(20,40,90,.14);
  --glow:  0 0 0 1px var(--accent-ring), 0 12px 50px rgba(34,85,212,.18);
}

/* ── Base ── */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background var(--t), color var(--t);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: var(--accent); color: #fff; }

h1,h2,h3,h4 { font-family: var(--display); font-weight: 600; letter-spacing: -.025em; line-height: 1.08; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

.eyebrow {
  font-family: var(--mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--cyan);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ''; width: 26px; height: 1px; background: var(--cyan); opacity: .7;
}

.section { padding: clamp(72px, 11vw, 140px) 0; position: relative; }
.section-head { max-width: 680px; margin-bottom: clamp(40px, 6vw, 68px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem); margin: 18px 0 16px;
}
.section-head p { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.12rem); max-width: 60ch; }
.section-head.center p { margin-inline: auto; }

/* ── Buttons ── */
.btn {
  --b: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font); font-weight: 600; font-size: .95rem;
  padding: 14px 26px; border-radius: var(--r-pill); cursor: pointer;
  border: 1.5px solid transparent; white-space: nowrap; line-height: 1;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
  position: relative;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(47,107,255,.32); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 44px rgba(47,107,255,.46); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); background: var(--accent-soft); }
.btn-sm { padding: 10px 18px; font-size: .85rem; }
.btn-lg { padding: 17px 34px; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* electric shimmer pulse on interactive hover */
@keyframes shimmer-pulse {
  0%   { box-shadow: 0 0 0 0 var(--accent-ring); }
  100% { box-shadow: 0 0 0 18px transparent; }
}
.btn-primary:active { animation: shimmer-pulse .6s ease-out; }

/* ════════════════ SCROLL PROGRESS ════════════════ */
.scroll-prog {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 300;
  transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--cyan), var(--accent));
  box-shadow: 0 0 12px rgba(47,107,255,.5);
}
.hero-stage, .hero-copy { will-change: transform; }

/* ════════════════ HEADER ════════════════ */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  transition: background var(--t), border-color var(--t), backdrop-filter var(--t);
  border-bottom: 1px solid transparent;
}
.hdr.scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom-color: var(--line-soft);
}
.hdr-inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img { height: 34px; width: auto; }
.brand b { font-family: var(--display); font-weight: 600; font-size: 1.18rem; letter-spacing: -.02em; }
.brand b i { color: var(--cyan); font-style: normal; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  font-size: .9rem; color: var(--muted); padding: 9px 15px; border-radius: var(--r-pill);
  transition: color var(--t), background var(--t); font-weight: 500;
}
.nav a:hover { color: var(--ink); background: var(--accent-soft); }

.hdr-cta { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1.5px solid var(--line); border-radius: var(--r-pill); background: transparent;
  color: var(--muted); cursor: pointer; transition: all var(--t); flex-shrink: 0;
}
.icon-btn:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.icon-btn svg { width: 18px; height: 18px; }
body.light .i-moon { display: none; }
body:not(.light) .i-sun { display: none; }

.burger { display: none; }

/* ════════════════ HERO ════════════════ */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 120px 0 80px; overflow: hidden;
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(47,107,255,.16), transparent 60%),
    radial-gradient(80% 60% at 10% 100%, rgba(25,182,255,.1), transparent 55%);
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .9; }
.hero::after { /* vignette fade to next section */
  content: ''; position: absolute; inset: auto 0 0 0; height: 220px; z-index: 1;
  background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 64px); align-items: center; width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--glass); border: 1px solid var(--glass-brd);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 7px 14px 7px 8px; border-radius: var(--r-pill);
  font-size: .78rem; color: var(--ink-2); margin-bottom: 28px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(47,208,122,.18); animation: live 2s ease-in-out infinite; }
@keyframes live { 50% { box-shadow: 0 0 0 7px rgba(47,208,122,0); } }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); font-weight: 600; }
.hero h1 .grad {
  background: linear-gradient(100deg, var(--cyan), var(--accent) 60%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { color: var(--muted); font-size: clamp(1.02rem, 1.7vw, 1.22rem); max-width: 48ch; margin: 24px 0 36px; line-height: 1.7; }
.hero-cta { display: flex; gap: 13px; flex-wrap: wrap; }

/* counters */
.counters { display: flex; gap: clamp(20px, 4vw, 48px); margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line-soft); }
.counter .num { font-family: var(--display); font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 600; letter-spacing: -.03em; display: flex; align-items: baseline; gap: 2px; }
.counter .num .suffix { color: var(--cyan); }
.counter .lbl { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-top: 6px; }

/* hero product visual */
.hero-stage { position: relative; display: grid; place-items: center; min-height: 440px; }
.hero-stage .halo {
  position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(47,107,255,.5), transparent 65%);
  filter: blur(40px); z-index: 0;
}
.hero-device {
  position: relative; z-index: 1; width: clamp(220px, 30vw, 330px);
  filter: drop-shadow(0 40px 60px rgba(0,0,0,.55));
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(-10px); } 50% { transform: translateY(10px); } }
.hero-chip {
  position: absolute; z-index: 2;
  background: var(--glass); border: 1px solid var(--glass-brd);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: var(--r); padding: 12px 15px; box-shadow: var(--sh-md);
  display: flex; align-items: center; gap: 11px; animation: float 7s ease-in-out infinite;
}
.hero-chip .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--accent-soft); color: var(--cyan); flex-shrink: 0; }
.hero-chip .ic svg { width: 17px; height: 17px; }
.hero-chip .t1 { font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hero-chip .t2 { font-size: .92rem; font-weight: 600; font-family: var(--display); }
.hero-chip.c1 { top: 8%; left: -4%; animation-delay: -1s; }
.hero-chip.c2 { bottom: 14%; right: -6%; animation-delay: -3.5s; }
.hero-chip.c3 { bottom: 2%; left: 6%; animation-delay: -2s; }

/* ════════════════ MARQUEE / USP STRIP ════════════════ */
.usp { position: relative; background: linear-gradient(90deg, var(--bg-2), var(--panel) 50%, var(--bg-2)); border-block: 1px solid var(--line-soft); overflow: hidden; }
.usp::before { /* gradient sweep */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(25,182,255,.12) 50%, transparent 70%);
  transform: translateX(-100%); animation: sweep 6s ease-in-out infinite;
}
@keyframes sweep { 0% { transform: translateX(-100%);} 55%,100% { transform: translateX(100%);} }
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; z-index: 1; }
.usp-item { display: flex; align-items: center; gap: 15px; padding: 32px clamp(16px, 2.5vw, 30px); border-right: 1px solid var(--line-soft); }
.usp-item:last-child { border-right: none; }
.usp-item .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--cyan); display: grid; place-items: center; flex-shrink: 0; }
.usp-item .ic svg { width: 22px; height: 22px; }
.usp-item b { display: block; font-family: var(--display); font-size: .98rem; font-weight: 600; }
.usp-item small { display: block; color: var(--muted); font-size: .8rem; margin-top: 3px; }

/* ════════════════ PRODUCTS ════════════════ */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 38px; }
.tab {
  font-family: var(--font); font-size: .86rem; font-weight: 500; color: var(--muted);
  padding: 10px 18px; border-radius: var(--r-pill); cursor: pointer;
  border: 1.5px solid var(--line); background: transparent; transition: all var(--t);
}
.tab:hover { color: var(--ink); border-color: var(--accent); }
.tab.active { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 6px 20px rgba(47,107,255,.34); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.card {
  position: relative; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card::before { /* top accent line slides in */
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--accent));
  transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.4,0,.2,1); z-index: 3;
}
.card:hover { transform: translateY(-7px); box-shadow: var(--sh-lg); border-color: var(--accent-ring); }
.card:hover::before { transform: scaleX(1); }
.card.hide { display: none; }

.card-media {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
  background:
    radial-gradient(80% 80% at 50% 30%, rgba(47,107,255,.16), transparent 70%),
    var(--panel-2);
  display: grid; place-items: center;
}
.card-media img { width: 78%; height: 78%; object-fit: contain; transition: transform .5s cubic-bezier(.4,0,.2,1); filter: drop-shadow(0 18px 26px rgba(0,0,0,.45)); }
.card:hover .card-media img { transform: scale(1.07); }
.tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-family: var(--mono); font-size: .62rem; font-weight: 500; letter-spacing: .07em; text-transform: uppercase;
  padding: 5px 10px; border-radius: var(--r-pill); color: #fff;
}
.tag.rgb { background: linear-gradient(90deg,#f97316,#eab308,#22c55e,#3b82f6); }
.tag.new { background: #7c5cff; }
.tag.kiosk { background: var(--accent); }
.tag.ip { background: var(--ok); color: #03210f; }

.card-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-cat { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.card-model { font-family: var(--mono); font-size: .72rem; font-weight: 500; color: var(--cyan); background: var(--cyan-soft); padding: 3px 9px; border-radius: var(--r-pill); }
.card h3 { font-size: 1.12rem; }
.variants { display: flex; flex-wrap: wrap; gap: 5px; }
.variants span { font-family: var(--mono); font-size: .64rem; color: var(--muted); border: 1px solid var(--line); padding: 2px 7px; border-radius: 5px; }
.specs { display: flex; flex-direction: column; border-top: 1px solid var(--line-soft); margin-top: 2px; }
.specs li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line-soft); font-size: .82rem; }
.specs li:last-child { border-bottom: none; }
.specs li span:first-child { color: var(--muted); }
.specs li span:last-child { font-weight: 500; text-align: right; }
.card-desc { font-size: .85rem; color: var(--muted); line-height: 1.6; flex: 1; }
.card-actions { display: flex; gap: 9px; margin-top: 4px; }
.card-actions .btn { flex: 1; }

/* ════════════════ MaR FLOOR PLAN ════════════════ */
.mar { background: var(--bg-2); position: relative; overflow: hidden; }
.mar::before { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 60% at 70% 30%, rgba(25,182,255,.08), transparent 60%); pointer-events: none; }
.mar-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; position: relative; z-index: 1; }

.plan-frame {
  position: relative; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 18px; box-shadow: var(--sh-lg);
}
.plan-frame .plan-hud {
  position: absolute; top: 16px; right: 16px; z-index: 4;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); background: var(--glass); border: 1px solid var(--glass-brd);
  padding: 6px 11px; border-radius: var(--r-pill); backdrop-filter: blur(8px);
}
.plan-hud .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: live 2s infinite; }
.floorplan { width: 100%; height: auto; display: block; }

/* svg floorplan styles */
.fp-wall { fill: none; stroke: var(--line); stroke-width: 2.5; }
.fp-wall.draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.in-view .fp-wall.draw { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s ease .2s; }
.fp-zone { opacity: 0; transition: opacity .8s ease; }
.in-view .fp-zone { opacity: 1; }
.fp-zone.ok   { fill: rgba(47,208,122,.07); stroke: rgba(47,208,122,.35); }
.fp-zone.warn { fill: rgba(255,176,32,.08);  stroke: rgba(255,176,32,.4); }
.fp-zone.hvac { fill: rgba(25,182,255,.08);  stroke: rgba(25,182,255,.4); }
.fp-zone { stroke-width: 1; stroke-dasharray: 3 4; }
.fp-room-lbl { font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; fill: var(--muted-2); }
.fp-link { fill: none; stroke-width: 1.4; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); opacity: .5; }
.in-view .fp-link { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s ease .6s; }
.fp-packet { opacity: 0; }
.in-view .fp-packet { opacity: 1; }
.fp-node circle.core { stroke: var(--bg-2); stroke-width: 2; }
.fp-node circle.ring { fill: none; opacity: 0; transform-box: fill-box; transform-origin: center; }
.in-view .fp-node circle.ring { animation: node-ping 2.6s ease-out infinite; }
@keyframes node-ping { 0% { opacity: .7; r: 6; } 100% { opacity: 0; r: 17; } }
.fp-node text { font-family: var(--mono); font-size: 8px; fill: var(--ink-2); }
.fp-hub rect { fill: var(--accent); }
.fp-hub .glow { fill: none; stroke: var(--cyan); opacity: 0; transform-box: fill-box; transform-origin: center; }
.in-view .fp-hub .glow { animation: hub-ping 3s ease-out infinite; }
@keyframes hub-ping { 0% { opacity: .6; transform: scale(.9);} 100% { opacity: 0; transform: scale(1.5);} }
.fp-hub-lbl { font-family: var(--mono); font-size: 8.5px; letter-spacing: .1em; fill: #fff; text-transform: uppercase; }

/* protocols side panel */
.proto-list { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.proto {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px;
  background: var(--glass); border: 1px solid var(--glass-brd); border-radius: var(--r);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform var(--t), border-color var(--t), background var(--t);
}
.proto:hover { transform: translateX(6px); border-color: var(--accent-ring); }
.proto .px { font-family: var(--mono); font-weight: 600; color: var(--cyan); font-size: .92rem; min-width: 64px; }
.proto .pd { font-size: .85rem; color: var(--muted); }

/* ════════════════ SIGNAGE SHOWCASE ════════════════ */
.signage { background: var(--bg); position: relative; overflow: hidden; }
.signage-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.scene { perspective: 1500px; display: grid; place-items: center; min-height: 500px; overflow: visible; }
.device-wrap { position: relative; width: min(100%, 580px); transform-style: preserve-3d; }
.tv {
  position: relative; aspect-ratio: 16/10; border-radius: 22px;
  background: linear-gradient(158deg, #16203a 0%, #0a1120 55%, #05080f 100%);
  border: 1px solid #20304f;
  padding: 15px 15px 0; display: flex; flex-direction: column; gap: 11px;
  box-shadow: var(--sh-lg), inset 0 1px 0 rgba(255,255,255,.07), 0 0 0 6px rgba(10,18,32,.6);
  transform-style: preserve-3d; transition: transform .3s cubic-bezier(.33,1,.68,1);
  will-change: transform;
}
.tv::after { /* glass edge sheen */
  content: ''; position: absolute; inset: 0; border-radius: 22px; pointer-events: none;
  background: linear-gradient(160deg, rgba(255,255,255,.08), transparent 22%);
  box-shadow: inset 0 0 0 1px rgba(120,160,230,.08);
}
.tv-screen { position: relative; flex: 1; border-radius: 9px; overflow: hidden; background: #0a1322; box-shadow: inset 0 0 0 1px rgba(0,0,0,.6), inset 0 0 44px rgba(0,0,0,.55); }
.tv-chin { height: 26px; display: flex; align-items: center; justify-content: center; gap: 9px; flex-shrink: 0; }
.tv-chin .led { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); animation: live 2.4s ease-in-out infinite; }
.tv-chin .bm { font-family: var(--mono); font-size: .58rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted-2); }
.tv-glare { position: absolute; inset: 0; z-index: 6; pointer-events: none; background: linear-gradient(112deg, transparent 32%, rgba(255,255,255,.14) 46%, rgba(255,255,255,.04) 54%, transparent 64%); transform: translateX(-70%); animation: glare 7s ease-in-out infinite; }
@keyframes glare { 0%, 12% { transform: translateX(-90%); } 55%, 100% { transform: translateX(90%); } }
/* floor reflection */
.tv-reflection { position: absolute; left: 8%; right: 8%; top: calc(100% + 16px); height: 70px; border-radius: 22px; background: linear-gradient(to bottom, rgba(47,107,255,.28), transparent 78%); filter: blur(7px); opacity: .5; transform: scaleY(-1); pointer-events: none; }
/* floating spec tags */
.spec-tag {
  position: absolute; z-index: 7; font-family: var(--mono); font-size: .66rem; letter-spacing: .04em;
  padding: 8px 12px; border-radius: var(--r-pill); background: var(--glass); border: 1px solid var(--glass-brd);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--ink-2);
  box-shadow: var(--sh-md); white-space: nowrap; transition: transform .25s ease-out;
}
.spec-tag b { color: var(--cyan); font-weight: 500; }
.spec-tag.t-a { top: 5%; left: -8%; }
.spec-tag.t-b { top: 42%; right: -10%; }
.spec-tag.t-c { bottom: 14%; left: -5%; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; display: flex; flex-direction: column; }
.slide.on { opacity: 1; }
/* menu slide */
.s-menu { background: linear-gradient(160deg,#0d1b33,#0a1322); padding: 7%; color: #eaf1fc; }
.s-menu h4 { font-size: clamp(1rem,2.6vw,1.5rem); margin-bottom: 4%; color: #fff; }
.s-menu .row { display: flex; justify-content: space-between; align-items: baseline; padding: 2.6% 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: clamp(.7rem,1.7vw,.95rem); }
.s-menu .row .price { font-family: var(--mono); color: var(--cyan); }
/* wayfinding slide */
.s-way { background: radial-gradient(120% 90% at 20% 10%, #14346b, #07101f); color: #fff; padding: 7%; justify-content: center; gap: 8%; }
.s-way .big { font-family: var(--display); font-size: clamp(2rem,8vw,4.4rem); font-weight: 600; display: flex; align-items: center; gap: 4%; }
.s-way .arr { color: var(--cyan); }
.s-way .dest { display: flex; flex-direction: column; gap: 8px; font-size: clamp(.7rem,1.8vw,1rem); }
.s-way .dest span { display: flex; align-items: center; gap: 10px; color: #cfe0fb; }
.s-way .dest b { color: var(--cyan); font-family: var(--mono); }
/* info slide */
.s-info { background: linear-gradient(160deg,#06243a,#07101f); color: #fff; padding: 7%; justify-content: space-between; }
.s-info .top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: clamp(.65rem,1.6vw,.9rem); color: var(--cyan); }
.s-info .mid { font-family: var(--display); font-size: clamp(1.2rem,3.4vw,2.1rem); font-weight: 600; }
.s-info .stats { display: flex; gap: 6%; }
.s-info .stats div { display: flex; flex-direction: column; }
.s-info .stats .v { font-family: var(--display); font-size: clamp(1.1rem,3vw,1.8rem); font-weight: 600; }
.s-info .stats .k { font-family: var(--mono); font-size: clamp(.55rem,1.3vw,.7rem); color: #8fb4e6; text-transform: uppercase; letter-spacing: .1em; }

.tv-dots { display: flex; gap: 8px; justify-content: center; margin-top: 24px; }
.tv-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: var(--line); cursor: pointer; transition: all var(--t); padding: 0; }
.tv-dots button.on { background: var(--cyan); width: 26px; border-radius: var(--r-pill); }

.signage-feats { display: flex; flex-direction: column; gap: 18px; margin-top: 30px; }
.sf { display: flex; gap: 14px; align-items: flex-start; }
.sf .ic { width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center; background: var(--accent-soft); color: var(--cyan); }
.sf .ic svg { width: 19px; height: 19px; }
.sf b { font-family: var(--display); font-size: 1rem; }
.sf p { color: var(--muted); font-size: .88rem; margin-top: 3px; }

/* ════════════════ SERVICES (glass) ════════════════ */
.services { position: relative; background: var(--bg-2); overflow: hidden; }
.services::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 50% at 80% 20%, rgba(47,107,255,.1), transparent 60%); pointer-events: none; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; z-index: 1; }
.svc {
  position: relative; padding: 26px; border-radius: var(--r-lg);
  background: var(--glass); border: 1px solid var(--glass-brd);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
  overflow: hidden;
}
.svc:hover { transform: translateY(-6px); border-color: var(--accent-ring); box-shadow: var(--sh-md); }
.svc .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--cyan); margin-bottom: 18px; transition: box-shadow var(--t); }
.svc:hover .ic { box-shadow: 0 0 0 1px var(--accent-ring), 0 10px 30px rgba(47,107,255,.3); }
.svc .ic svg { width: 24px; height: 24px; }
.svc h3 { font-size: 1.12rem; margin-bottom: 9px; }
.svc p { color: var(--muted); font-size: .88rem; line-height: 1.65; }
.svc .no { position: absolute; top: 20px; right: 22px; font-family: var(--mono); font-size: .82rem; color: var(--muted-2); }

/* ════════════════ FORM ════════════════ */
.contact { position: relative; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.contact-aside .eyebrow { margin-bottom: 18px; }
.contact-aside h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 18px; }
.contact-aside p { color: var(--muted); margin-bottom: 28px; max-width: 38ch; }
.aside-points { display: flex; flex-direction: column; gap: 16px; }
.aside-points li { display: flex; gap: 13px; align-items: center; font-size: .92rem; }
.aside-points .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--cyan); display: grid; place-items: center; flex-shrink: 0; }
.aside-points .ic svg { width: 18px; height: 18px; }

.form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--sh-md); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; margin-top: 22px; }
.field.full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; padding: 18px 15px 8px; font-family: var(--font); font-size: .95rem;
  background: var(--bg-2); border: 1.5px solid var(--line); border-radius: var(--r-xs);
  color: var(--ink); outline: none; transition: border-color var(--t), box-shadow var(--t);
  appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; padding-top: 22px; }
.field select { cursor: pointer; }
.field label {
  position: absolute; left: 15px; top: 14px; font-size: .95rem; color: var(--muted);
  pointer-events: none; transition: all .16s ease; font-family: var(--font);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-ring); }
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field select:focus + label,
.field select.filled + label {
  top: 7px; font-size: .68rem; color: var(--cyan); font-family: var(--mono); letter-spacing: .05em; text-transform: uppercase;
}
.field.bad input, .field.bad select, .field.bad textarea { border-color: #ff5a5a; box-shadow: 0 0 0 4px rgba(255,90,90,.14); }
.err { display: none; font-size: .74rem; color: #ff7a7a; margin-top: 6px; font-family: var(--mono); }
.field.bad .err { display: block; }
.select-wrap::after { content: ''; position: absolute; right: 16px; top: 22px; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); pointer-events: none; }

.f-label { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 26px 0 12px; display: block; }
.chk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.chk {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: var(--r-xs); font-size: .85rem;
  transition: all var(--t); color: var(--ink-2);
}
.chk:hover { border-color: var(--accent); }
.chk input { width: 17px; height: 17px; accent-color: var(--accent); flex-shrink: 0; cursor: pointer; }
.chk:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); }
.chk-tos { margin-top: 16px; align-items: flex-start; }
.chk-tos a { color: var(--cyan); }

.f-submit { display: flex; align-items: center; gap: 18px; margin-top: 26px; flex-wrap: wrap; }
.f-submit .note { font-family: var(--mono); font-size: .74rem; color: var(--muted-2); }
.btn .spin { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; display: none; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn.loading .spin { display: block; }
.btn.loading .btn-txt { opacity: .7; }
.form-ok { display: none; margin-top: 20px; padding: 16px 20px; border-radius: var(--r-xs); background: rgba(47,208,122,.1); border: 1px solid rgba(47,208,122,.4); color: var(--ok); font-size: .9rem; }
.form-ok.show { display: block; }
.form-err { display: none; margin-top: 20px; padding: 16px 20px; border-radius: var(--r-xs); background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.4); color: #ef4444; font-size: .9rem; }
.form-err.show { display: block; }

/* ════════════════ FOOTER ════════════════ */
.ftr { position: relative; background: var(--bg-2); border-top: 1px solid var(--line); }
.ftr::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--cyan), var(--accent), transparent); }
.ftr-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; padding: clamp(48px, 7vw, 80px) 0 48px; }
.ftr-brand .brand { margin-bottom: 16px; }
.ftr-brand p { color: var(--muted); font-size: .88rem; max-width: 32ch; }
.ftr-col h4 { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; }
.ftr-col a { display: block; color: var(--muted); font-size: .9rem; padding: 5px 0; transition: color var(--t); }
.ftr-col a:hover { color: var(--cyan); }
.ftr-bottom { border-top: 1px solid var(--line); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8rem; color: var(--muted-2); font-family: var(--mono); }

/* ════════════════ SCROLL REVEAL ════════════════ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s cubic-bezier(.4,0,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
.reveal[data-d="5"] { transition-delay: .4s; }

/* ════════════════ RESPONSIVE ════════════════ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-stage { min-height: 340px; order: -1; }
  .usp-grid { grid-template-columns: 1fr 1fr; }
  .usp-item:nth-child(2) { border-right: none; }
  .usp-item:nth-child(1), .usp-item:nth-child(2) { border-bottom: 1px solid var(--line-soft); }
  .mar-grid, .signage-grid, .contact-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .scene { order: -1; }
  .ftr-top { grid-template-columns: 1fr 1fr; }
  .ftr-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav, .hdr-cta .btn { display: none; }
  .burger { display: grid; place-items: center; }
  .nav.open {
    display: flex; position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch;
    background: color-mix(in srgb, var(--bg) 96%, transparent); backdrop-filter: blur(20px);
    padding: 12px var(--pad) 24px; border-bottom: 1px solid var(--line); gap: 2px;
  }
  .nav.open a { padding: 14px 8px; font-size: 1rem; border-bottom: 1px solid var(--line-soft); }
  .counters { flex-wrap: wrap; gap: 22px; }
  .usp-grid { grid-template-columns: 1fr; }
  .usp-item { border-right: none; border-bottom: 1px solid var(--line-soft); }
  .usp-item:last-child { border-bottom: none; }
  .svc-grid { grid-template-columns: 1fr; }
  .f-row, .chk-grid { grid-template-columns: 1fr; }
  .ftr-top { grid-template-columns: 1fr 1fr; }
  .hero-chip.c1 { left: 0; }
  .hero-chip.c2 { right: 0; }
}
@media (max-width: 460px) {
  .ftr-top { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .hero-chip { display: none; }
}

/* ════════════════ REDUCED MOTION ════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .in-view .fp-wall.draw, .in-view .fp-link { stroke-dashoffset: 0; }
  .hero-device { animation: none; }
}

/* ════════════════════════════════════════════════════════════════
   PRODUCT DETAIL PAGE
   ════════════════════════════════════════════════════════════════ */
.pd-page { padding-top: 74px; }
.breadcrumb { display: flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: .74rem; color: var(--muted-2); padding: 26px 0 0; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); transition: color var(--t); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .cur { color: var(--cyan); }

.pd-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(34px, 5vw, 60px) 0 clamp(48px, 7vw, 80px); }
.pd-info .cat { font-family: var(--mono); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); }
.pd-info h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); margin: 14px 0 14px; }
.pd-info .tagline { font-size: clamp(1.05rem, 1.9vw, 1.28rem); color: var(--ink-2); font-family: var(--display); font-weight: 400; line-height: 1.4; margin-bottom: 18px; }
.pd-info .desc { color: var(--muted); line-height: 1.75; margin-bottom: 26px; max-width: 52ch; }
.pd-variants { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 26px; }
.pd-variants span { font-family: var(--mono); font-size: .72rem; color: var(--ink-2); border: 1px solid var(--line); background: var(--panel); padding: 5px 11px; border-radius: var(--r-pill); }
.keyspecs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 30px; }
.keyspec { background: var(--glass); border: 1px solid var(--glass-brd); border-radius: var(--r); padding: 14px 16px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.keyspec .k { font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.keyspec .v { font-family: var(--display); font-size: .98rem; font-weight: 500; margin-top: 5px; }
.pd-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.pd-stage { position: relative; display: grid; place-items: center; min-height: 440px; border-radius: var(--r-lg);
  background: radial-gradient(70% 60% at 50% 35%, rgba(47,107,255,.2), transparent 68%), var(--panel);
  border: 1px solid var(--line); overflow: hidden; }
.pd-stage::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px); background-size: 34px 34px; opacity: .5; mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent 75%); -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent 75%); }
.pd-stage .pd-badge { position: absolute; top: 18px; left: 18px; z-index: 3; font-family: var(--mono); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: var(--r-pill); background: var(--accent); color: #fff; }
.pd-stage img { position: relative; z-index: 2; width: 64%; max-height: 78%; object-fit: contain; filter: drop-shadow(0 34px 50px rgba(0,0,0,.55)); animation: float 6s ease-in-out infinite; }

.pd-section { padding: clamp(48px, 7vw, 88px) 0; }
.pd-section.alt { background: var(--bg-2); border-block: 1px solid var(--line-soft); }
.pd-section h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 8px; }
.pd-section .lead { color: var(--muted); margin-bottom: 38px; max-width: 56ch; }

.pd-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pd-feat { background: var(--glass); border: 1px solid var(--glass-brd); border-radius: var(--r-lg); padding: 26px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform var(--t), border-color var(--t); }
.pd-feat:hover { transform: translateY(-5px); border-color: var(--accent-ring); }
.pd-feat .ic { width: 50px; height: 50px; border-radius: 13px; background: var(--accent-soft); color: var(--cyan); display: grid; place-items: center; margin-bottom: 16px; }
.pd-feat .ic svg { width: 23px; height: 23px; }
.pd-feat h3 { font-size: 1.1rem; margin-bottom: 8px; }
.pd-feat p { color: var(--muted); font-size: .9rem; line-height: 1.65; }

.spec-table { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.spec-table .srow { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.spec-table .srow .sk { color: var(--muted); font-size: .9rem; }
.spec-table .srow .sv { font-weight: 500; font-size: .9rem; text-align: right; }

.usecases { display: flex; flex-wrap: wrap; gap: 10px; }
.usecase { display: inline-flex; align-items: center; gap: 9px; font-size: .9rem; padding: 11px 18px; border-radius: var(--r-pill); background: var(--panel); border: 1px solid var(--line); transition: border-color var(--t), color var(--t); }
.usecase::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.usecase:hover { border-color: var(--accent); }

.pd-band { margin: clamp(48px,7vw,88px) auto; padding: clamp(34px, 5vw, 56px); border-radius: var(--r-lg); position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--accent-2), var(--accent)); color: #fff; text-align: center; }
.pd-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 120% at 80% 0%, rgba(255,255,255,.18), transparent 60%); }
.pd-band h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 12px; position: relative; }
.pd-band p { opacity: .9; margin-bottom: 26px; position: relative; }
.pd-band .btn { position: relative; background: #fff; color: var(--accent-2); border-color: #fff; }
.pd-band .btn:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,.3); }

.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rel-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform var(--t), border-color var(--t); display: flex; flex-direction: column; }
.rel-card:hover { transform: translateY(-5px); border-color: var(--accent-ring); }
.rel-card .rel-img { aspect-ratio: 4/3; display: grid; place-items: center; background: radial-gradient(70% 70% at 50% 35%, rgba(47,107,255,.14), transparent 70%), var(--panel-2); }
.rel-card .rel-img img { width: 72%; height: 72%; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(0,0,0,.4)); }
.rel-card .rel-b { padding: 14px 16px; }
.rel-card .rel-cat { font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.rel-card h3 { font-size: .98rem; margin-top: 5px; }

@media (max-width: 1024px) {
  .pd-hero { grid-template-columns: 1fr; gap: 36px; }
  .pd-stage { order: -1; min-height: 320px; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .pd-feats, .spec-table, .keyspecs { grid-template-columns: 1fr; }
  .spec-table { gap: 0; }
}
@media (max-width: 460px) {
  .related-grid { grid-template-columns: 1fr 1fr; }
  .pd-cta { flex-direction: column; }
  .pd-cta .btn { width: 100%; }
}
