/* =====================================================================
   ProLink • Bin Overflow Intelligence
   Design system + page styles
   Palette derived from the ProLink wordmark:
     ink navy #101A2B  ·  electric blue #1160E8
   ===================================================================== */

/* ---------------------------------------------------------------
   1. TOKENS
   --------------------------------------------------------------- */
:root {
  /* Brand */
  --ink:          #101A2B;
  --ink-900:      #0A1220;
  --ink-800:      #0F1A2C;
  --ink-700:      #16233A;
  --ink-600:      #1F3049;

  --blue:         #1160E8;
  --blue-700:     #0B4CC2;
  --blue-400:     #4D8CFF;
  --blue-200:     #A8C7FF;
  --blue-050:     #EEF4FF;
  --blue-glow:    rgba(17, 96, 232, .28);

  /* Neutrals */
  --white:        #FFFFFF;
  --paper:        #F7F9FC;
  --paper-2:      #EFF3F9;
  --line:         #E3E9F2;
  --line-strong:  #CFD8E6;
  --muted:        #5C6D87;
  --muted-2:      #8494AB;

  /* Status (bin fill semantics) */
  --ok:           #12B76A;
  --ok-soft:      rgba(18, 183, 106, .12);
  --warn:         #F79009;
  --warn-soft:    rgba(247, 144, 9, .13);
  --crit:         #F04438;
  --crit-soft:    rgba(240, 68, 56, .12);

  /* Dark-band tokens */
  --d-bg:         #0A1220;
  --d-surface:    #101C31;
  --d-surface-2:  #16243C;
  --d-line:       rgba(255, 255, 255, .09);
  --d-line-2:     rgba(255, 255, 255, .16);
  --d-text:       #E8EEF8;
  --d-muted:      #8CA0BC;

  /* Type */
  --f-display: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-logo:    "Exo 2", "Inter", system-ui, sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Space & shape */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(16, 26, 43, .05), 0 2px 8px rgba(16, 26, 43, .04);
  --shadow-md: 0 4px 12px rgba(16, 26, 43, .06), 0 12px 32px rgba(16, 26, 43, .07);
  --shadow-lg: 0 8px 24px rgba(16, 26, 43, .08), 0 32px 64px rgba(16, 26, 43, .10);
  --shadow-blue: 0 8px 28px rgba(17, 96, 232, .28);

  --nav-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------------------------------------------------------------
   2. RESET / BASE
   --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -.028em;
  line-height: 1.1;
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 6.2vw, 4.4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.95rem, 4.2vw, 3.05rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); letter-spacing: -.02em; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--blue); color: #fff; }

:focus-visible {
  outline: 3px solid var(--blue-400);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 16px; top: -70px;
  background: var(--ink); color: #fff;
  padding: 12px 20px; border-radius: var(--r-sm);
  z-index: 200; transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------------------------------------------------------------
   3. LAYOUT UTILITIES
   --------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}
.wrap--tight { max-width: 900px; }

.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section--paper { background: var(--paper); }
.section--dark {
  background: var(--d-bg);
  color: var(--d-text);
}
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .74rem; font-weight: 650;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px;
  background: currentColor; border-radius: 2px;
  opacity: .55;
}
.section--dark .eyebrow { color: var(--blue-400); }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: var(--muted);
  line-height: 1.62;
}
.section--dark .section-head p { color: var(--d-muted); }

.lede { font-size: clamp(1.05rem, 1.7vw, 1.22rem); color: var(--muted); line-height: 1.6; }
.grad-text {
  background: linear-gradient(100deg, var(--blue) 10%, #5B9BFF 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------------------------------------------------------------
   4. BUTTONS
   --------------------------------------------------------------- */
.btn {
  --btn-bg: var(--blue);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid transparent; border-radius: var(--r-pill);
  font-size: .95rem; font-weight: 620; letter-spacing: -.01em;
  cursor: pointer; white-space: nowrap;
  transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out),
              background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
  box-shadow: var(--shadow-blue);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(17,96,232,.36); }
.btn:active { transform: translateY(0); }
.btn svg { width: 17px; height: 17px; flex: none; transition: transform .3s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }

.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink);
  border-color: var(--line-strong); box-shadow: none;
}
.btn--ghost:hover {
  background: var(--white); border-color: var(--ink);
  box-shadow: var(--shadow-md);
}
.btn--onDark {
  --btn-bg: rgba(255,255,255,.06); --btn-fg: #fff;
  border-color: var(--d-line-2); box-shadow: none;
  backdrop-filter: blur(8px);
}
.btn--onDark:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.32); box-shadow: none; }
.btn--lg { padding: 17px 34px; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ---------------------------------------------------------------
   5. LOGO
   --------------------------------------------------------------- */
.logo { display: inline-flex; align-items: center; line-height: 1; }
.logo__img { height: 26px; width: auto; }
.logo__text {
  font-family: var(--f-logo);
  font-weight: 300;
  font-size: 1.32rem;
  letter-spacing: .30em;
  color: var(--ink);
  padding-left: .30em; /* optical balance for tracking */
}
.logo__text .l { color: var(--blue); font-weight: 400; }
.logo--onDark .logo__text { color: #fff; }
.logo--onDark .logo__text .l { color: var(--blue-400); }
/* If a real logo file is present, JS adds .has-img and hides the text mark */
.logo.has-img .logo__text { display: none; }
.logo:not(.has-img) .logo__img { display: none; }

/* ---------------------------------------------------------------
   6. HEADER / NAV
   --------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .35s var(--ease), box-shadow .35s var(--ease),
              border-color .35s var(--ease), height .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 24px rgba(16,26,43,.06);
  height: 66px;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; padding: 9px 14px; border-radius: var(--r-sm);
  font-size: .93rem; font-weight: 520; color: var(--muted);
  transition: color .2s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px;
  height: 2px; border-radius: 2px; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--ink); }
.nav__cta { display: flex; align-items: center; gap: 12px; }

.nav__toggle {
  display: none; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); border-radius: var(--r-sm);
  cursor: pointer;
}
.nav__toggle span {
  display: block; width: 19px; height: 1.5px; background: var(--ink);
  border-radius: 2px; position: relative;
  transition: transform .3s var(--ease-out), background .2s;
}
.nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 0; width: 19px; height: 1.5px;
  background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .2s;
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(20px);
  padding: 28px clamp(20px,5vw,40px) 40px;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease), transform .35s var(--ease-out);
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a {
  padding: 15px 4px; font-size: 1.28rem; font-weight: 600;
  letter-spacing: -.02em; border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 24px; }

/* ---------------------------------------------------------------
   7. HERO
   --------------------------------------------------------------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(52px, 8vw, 96px)) 0 clamp(64px, 8vw, 104px);
  overflow: hidden;
  background: linear-gradient(180deg, #FBFCFE 0%, #F2F6FC 58%, #FFFFFF 100%);
}
.hero__mesh {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(52% 48% at 78% 18%, rgba(17,96,232,.13) 0%, transparent 72%),
    radial-gradient(44% 44% at 12% 8%,  rgba(77,140,255,.11) 0%, transparent 70%),
    radial-gradient(60% 50% at 50% 100%, rgba(17,96,232,.06) 0%, transparent 70%);
}
.hero__grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(to right, rgba(16,26,43,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(16,26,43,.05) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(78% 66% at 50% 34%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(78% 66% at 50% 34%, #000 20%, transparent 78%);
}
.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(36px, 5vw, 68px); align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero__sub { font-size: clamp(1.06rem, 1.7vw, 1.24rem); color: var(--muted); max-width: 33ch; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero__note {
  display: flex; align-items: center; gap: 9px;
  font-size: .87rem; color: var(--muted-2);
}
.hero__note svg { width: 15px; height: 15px; color: var(--ok); flex: none; }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 9px; margin-bottom: 26px;
  background: rgba(255,255,255,.72); border: 1px solid var(--line);
  border-radius: var(--r-pill); backdrop-filter: blur(8px);
  font-size: .82rem; font-weight: 540; color: var(--muted);
  box-shadow: var(--shadow-sm);
}
.pill b { color: var(--ink); font-weight: 640; }
.pill__dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 0 4px var(--ok-soft);
  animation: livePulse 2.4s var(--ease) infinite;
}
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 3px var(--ok-soft); }
  50%      { box-shadow: 0 0 0 7px rgba(18,183,106,.05); }
}

/* Hero stat strip */
.hero__stats {
  position: relative; z-index: 2;
  margin-top: clamp(48px, 6vw, 76px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.hero__stat { background: rgba(255,255,255,.86); padding: 26px 24px; backdrop-filter: blur(6px); }
.hero__stat .n {
  font-size: clamp(1.7rem, 3vw, 2.35rem); font-weight: 700;
  letter-spacing: -.04em; color: var(--ink); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hero__stat .n span { color: var(--blue); }
.hero__stat .k { margin-top: 8px; font-size: .84rem; color: var(--muted); line-height: 1.45; }

/* Hero visual • sensor network */
.hero__visual { position: relative; }
.netmap {
  position: relative; width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 540px; margin-inline: auto;
}
.netmap svg { width: 100%; height: 100%; overflow: visible; }
.netmap__ring {
  fill: none; stroke: rgba(17,96,232,.16); stroke-width: 1;
  transform-origin: 50% 50%;
}
.netmap__ring--a { animation: spinSlow 46s linear infinite; stroke-dasharray: 3 9; }
.netmap__ring--b { animation: spinSlow 68s linear infinite reverse; stroke-dasharray: 2 14; }
@keyframes spinSlow { to { transform: rotate(360deg); } }

.netmap__link {
  stroke: rgba(17,96,232,.22); stroke-width: 1.25; fill: none;
  stroke-dasharray: 4 6;
  animation: dashFlow 3.4s linear infinite;
}
@keyframes dashFlow { to { stroke-dashoffset: -40; } }

.netmap__hub {
  fill: var(--blue);
  filter: drop-shadow(0 6px 18px rgba(17,96,232,.45));
}
.netmap__hubPulse {
  fill: none; stroke: var(--blue); stroke-width: 1.5;
  transform-origin: center; transform-box: fill-box;
  animation: hubPulse 3s var(--ease-out) infinite;
}
@keyframes hubPulse {
  0%   { transform: scale(.55); opacity: .8; }
  80%  { transform: scale(2.4); opacity: 0; }
  100% { transform: scale(2.4); opacity: 0; }
}
/* NB: never set a CSS transform here • it would override the SVG
   translate() attribute that positions each node on the ring. */
.netmap__node { transform-box: fill-box; }
.netmap__node .core { fill: rgba(255,255,255,.94); stroke-width: 2; }
.netmap__node.is-ok    .core { stroke: var(--ok); }
.netmap__node.is-warn  .core { stroke: var(--warn); }
.netmap__node.is-crit  .core { stroke: var(--crit); }
.netmap__node.is-ok    .fill { fill: var(--ok); }
.netmap__node.is-warn  .fill { fill: var(--warn); }
.netmap__node.is-crit  .fill { fill: var(--crit); }
.netmap__node.is-crit  .core { animation: nodeAlert 1.7s var(--ease) infinite; }
@keyframes nodeAlert {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(240,68,56,0)); }
  50%      { filter: drop-shadow(0 0 9px rgba(240,68,56,.65)); }
}

.netmap__card {
  position: absolute; z-index: 3;
  background: rgba(255,255,255,.94); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 12px 15px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 11px;
  font-size: .8rem; white-space: nowrap;
  animation: floatCard 7s var(--ease) infinite;
}
.netmap__card--1 { top: 6%;  left: -4%; }
.netmap__card--2 { bottom: 16%; right: -6%; animation-delay: -3.5s; }
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}
.netmap__card .ico {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  display: grid; place-items: center;
}
.netmap__card .ico svg { width: 15px; height: 15px; }
.netmap__card .t { font-weight: 640; color: var(--ink); line-height: 1.25; }
.netmap__card .s { font-size: .73rem; color: var(--muted-2); }

/* ---------------------------------------------------------------
   8. MARQUEE / SECTOR STRIP
   --------------------------------------------------------------- */
.strip { padding: 30px 0; border-block: 1px solid var(--line); background: var(--white); }
.strip__label {
  text-align: center; font-size: .74rem; font-weight: 620;
  letter-spacing: .15em; text-transform: uppercase; color: var(--muted-2);
  margin-bottom: 20px;
}
.marquee { position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__item {
  display: flex; align-items: center; gap: 10px;
  padding: 0 30px; font-size: .95rem; font-weight: 560;
  color: var(--muted); white-space: nowrap;
}
.marquee__item svg { width: 17px; height: 17px; color: var(--blue); opacity: .7; }

/* ---------------------------------------------------------------
   9. PROBLEM • cost of the blind round
   --------------------------------------------------------------- */
.split {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(32px, 5vw, 64px); align-items: center;
}

.roundviz {
  border: 1px solid var(--line); border-radius: var(--r-xl);
  background: var(--white); box-shadow: var(--shadow-md);
  overflow: hidden;
}
.roundviz__head {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 20px; border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.roundviz__title { font-size: .84rem; font-weight: 640; letter-spacing: -.01em; }
.roundviz__tabs { display: flex; gap: 4px; background: var(--paper-2); padding: 3px; border-radius: var(--r-pill); }
.roundviz__tab {
  border: 0; background: transparent; cursor: pointer;
  padding: 7px 14px; border-radius: var(--r-pill);
  font-size: .78rem; font-weight: 600; color: var(--muted);
  transition: background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.roundviz__tab.is-active { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }
.roundviz__body { padding: 22px 20px 24px; }
.roundviz__grid {
  display: grid; grid-template-columns: repeat(8, 1fr);
  gap: 8px; margin-bottom: 20px;
}
.rbin {
  aspect-ratio: 1; border-radius: 7px;
  border: 1.5px solid var(--line-strong); background: var(--paper);
  position: relative; overflow: hidden;
  transition: border-color .4s var(--ease), background .4s var(--ease), transform .4s var(--ease-out);
}
.rbin::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: var(--fill, 20%);
  background: var(--line-strong); transition: height .5s var(--ease-out), background .4s var(--ease);
}
.rbin.is-target { border-color: var(--crit); transform: scale(1.06); }
.rbin.is-target::after { background: var(--crit); }
.rbin.is-visited { border-color: var(--warn); }
.rbin.is-visited::after { background: var(--warn); }
.rbin.is-skipped { opacity: .32; }
.roundviz__meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  padding-top: 18px; border-top: 1px solid var(--line);
}
.roundviz__meta div .k { font-size: .72rem; color: var(--muted-2); letter-spacing: .04em; text-transform: uppercase; }
.roundviz__meta div .v {
  font-family: var(--f-mono); font-size: 1.28rem; font-weight: 600;
  letter-spacing: -.03em; margin-top: 3px;
}
.roundviz__meta .v.good { color: var(--ok); }
.roundviz__meta .v.bad { color: var(--crit); }

.painlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.painlist li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 18px; border: 1px solid var(--line);
  border-radius: var(--r-md); background: var(--white);
  transition: border-color .3s var(--ease), transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.painlist li:hover { border-color: var(--line-strong); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.painlist .ico {
  width: 34px; height: 34px; flex: none; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--crit-soft); color: var(--crit);
}
.painlist .ico svg { width: 17px; height: 17px; }
.painlist b { display: block; font-size: .97rem; margin-bottom: 2px; letter-spacing: -.015em; }
.painlist span { font-size: .89rem; color: var(--muted); line-height: 1.5; }

/* ---------------------------------------------------------------
   10. HOW IT WORKS
   --------------------------------------------------------------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps::before {
  content: ""; position: absolute; top: 30px; left: 6%; right: 6%; height: 2px;
  background: linear-gradient(90deg, var(--blue-200), var(--blue), var(--blue-200));
  opacity: .35; border-radius: 2px;
}
.step { position: relative; text-align: center; }
.step__num {
  position: relative; z-index: 2;
  width: 60px; height: 60px; margin: 0 auto 20px;
  border-radius: 50%; display: grid; place-items: center;
  background: var(--white); border: 2px solid var(--blue);
  color: var(--blue); font-weight: 700; font-size: 1.05rem;
  box-shadow: 0 0 0 8px rgba(17,96,232,.06);
  transition: transform .4s var(--ease-out), background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.step:hover .step__num {
  transform: translateY(-5px) scale(1.06);
  background: var(--blue); color: #fff;
  box-shadow: 0 0 0 10px rgba(17,96,232,.10), var(--shadow-blue);
}
.step h3 { margin-bottom: 9px; }
.step p { font-size: .93rem; color: var(--muted); line-height: 1.58; }

/* ---------------------------------------------------------------
   11. SENSOR
   --------------------------------------------------------------- */
.sensor-shell {
  position: relative; border-radius: var(--r-xl);
  background: radial-gradient(80% 80% at 50% 0%, #16243C 0%, var(--d-bg) 70%);
  border: 1px solid var(--d-line);
  padding: clamp(26px, 4vw, 46px);
  overflow: hidden;
}
.sensor-shell::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.10) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .35; pointer-events: none;
}
.sensorviz { position: relative; z-index: 2; width: 100%; max-width: 340px; margin-inline: auto; }
.sensorviz svg { width: 100%; height: auto; overflow: visible; }
.sv-bin { fill: none; stroke: rgba(255,255,255,.28); stroke-width: 2; }
.sv-bin-inner { fill: rgba(255,255,255,.03); }
.sv-sensor-body { fill: var(--blue); }
.sv-cone { fill: url(#coneGrad); opacity: .45; animation: conePing 2.8s var(--ease) infinite; transform-origin: 50% 0; transform-box: fill-box; }
@keyframes conePing {
  0%, 100% { opacity: .18; transform: scaleY(.92); }
  45%      { opacity: .55; transform: scaleY(1); }
}
.sv-wave { fill: none; stroke: var(--blue-400); stroke-width: 1.6; opacity: 0; animation: waveDrop 2.8s var(--ease-out) infinite; }
.sv-wave:nth-of-type(2) { animation-delay: .22s; }
.sv-wave:nth-of-type(3) { animation-delay: .44s; }
@keyframes waveDrop {
  0%   { opacity: 0; transform: translateY(0) scaleX(.6); }
  18%  { opacity: .9; }
  70%  { opacity: 0; transform: translateY(74px) scaleX(1.1); }
  100% { opacity: 0; transform: translateY(74px) scaleX(1.1); }
}
.sv-trash { fill: rgba(255,255,255,.16); }
.sv-level-line { stroke: var(--warn); stroke-width: 1.5; stroke-dasharray: 4 4; animation: dashFlow 2s linear infinite; }
.sv-label { fill: var(--d-muted); font-family: var(--f-mono); font-size: 9px; letter-spacing: .08em; }
.sv-readout { fill: var(--warn); font-family: var(--f-mono); font-size: 13px; font-weight: 600; }
.sv-uplink { stroke: var(--blue-400); stroke-width: 1.5; stroke-dasharray: 3 5; fill: none; animation: dashFlow 1.6s linear infinite; }

.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px; background: var(--d-line); border: 1px solid var(--d-line); border-radius: var(--r-lg); overflow: hidden; margin-top: 34px; }
.spec { background: var(--d-bg); padding: 20px 22px; }
.spec .k { font-size: .73rem; letter-spacing: .1em; text-transform: uppercase; color: var(--d-muted); margin-bottom: 7px; }
.spec .v { font-size: .98rem; font-weight: 600; color: #fff; letter-spacing: -.015em; }
.spec .d { font-size: .82rem; color: var(--d-muted); margin-top: 4px; line-height: 1.45; }

/* ---------------------------------------------------------------
   12. DASHBOARD (dark)
   --------------------------------------------------------------- */
.dash {
  border: 1px solid var(--d-line); border-radius: var(--r-xl);
  background: var(--d-surface); overflow: hidden;
  box-shadow: 0 40px 90px rgba(0,0,0,.45);
}
.dash__bar {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 18px; border-bottom: 1px solid var(--d-line);
  background: rgba(255,255,255,.02);
}
.dash__dots { display: flex; gap: 6px; }
.dash__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.14); }
.dash__url {
  flex: 1; text-align: center; font-family: var(--f-mono);
  font-size: .74rem; color: var(--d-muted);
  background: rgba(255,255,255,.04); border-radius: var(--r-pill);
  padding: 6px 14px; max-width: 320px; margin-inline: auto;
}
.dash__live { display: flex; align-items: center; gap: 7px; font-size: .74rem; color: var(--ok); font-weight: 600; }
.dash__live i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); animation: livePulse 2s infinite; }

.dash__body { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.dash__map {
  position: relative; border-right: 1px solid var(--d-line);
  padding: 22px; min-height: 430px;
  background:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px) 0 0 / 100% 34px,
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px) 0 0 / 34px 100%;
}
.dash__mapHead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.dash__mapTitle { font-size: .9rem; font-weight: 640; color: #fff; }
.dash__legend { display: flex; gap: 14px; font-size: .72rem; color: var(--d-muted); }
.dash__legend span { display: inline-flex; align-items: center; gap: 6px; }
.dash__legend i { width: 8px; height: 8px; border-radius: 2px; }

.floorplan { position: relative; width: 100%; aspect-ratio: 16 / 11; }
.floorplan svg { width: 100%; height: 100%; }
.fp-zone { fill: rgba(255,255,255,.022); stroke: rgba(255,255,255,.10); stroke-width: 1; rx: 4; }
.fp-zone-label { fill: rgba(255,255,255,.28); font-family: var(--f-mono); font-size: 7px; letter-spacing: .12em; }
.fp-route { fill: none; stroke: var(--blue-400); stroke-width: 1.6; stroke-dasharray: 5 5; opacity: .7; animation: dashFlow 2.4s linear infinite; }
/* Positioned by cx/cy (not a transform attribute) so these CSS
   transforms scale each bin in place. */
.fp-bin { cursor: pointer; transform-origin: center; transform-box: fill-box; transition: transform .25s var(--ease-out); }
.fp-bin:hover { transform: scale(1.4); }
.fp-bin circle { transition: fill .5s var(--ease); }
.fp-bin.is-crit .fp-bin__dot { animation: nodeAlert 1.6s infinite; }
.fp-bin__halo { opacity: 0; transform-origin: center; transform-box: fill-box; }
.fp-bin.is-crit .fp-bin__halo { opacity: 1; animation: hubPulse 2.2s var(--ease-out) infinite; }

.dash__side { padding: 22px; display: flex; flex-direction: column; min-height: 430px; }
.dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.kpi { background: rgba(255,255,255,.035); border: 1px solid var(--d-line); border-radius: var(--r-md); padding: 13px 14px; }
.kpi .k { font-size: .66rem; letter-spacing: .09em; text-transform: uppercase; color: var(--d-muted); }
.kpi .v { font-family: var(--f-mono); font-size: 1.32rem; font-weight: 600; color: #fff; margin-top: 5px; letter-spacing: -.03em; }
.kpi .v.crit { color: var(--crit); }
.kpi .v.ok { color: var(--ok); }

.dash__listHead {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .78rem; color: var(--d-muted); margin-bottom: 10px;
  padding-bottom: 10px; border-bottom: 1px solid var(--d-line);
}
.dash__listHead b { color: #fff; font-weight: 620; font-size: .86rem; }
.binlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; overflow: hidden; }
.binrow {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
  padding: 11px 13px; border-radius: var(--r-md);
  background: rgba(255,255,255,.03); border: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .4s var(--ease-out);
}
.binrow.is-crit { background: rgba(240,68,56,.09); border-color: rgba(240,68,56,.28); }
.binrow__id { font-family: var(--f-mono); font-size: .72rem; color: var(--d-muted); }
.binrow__main .n { font-size: .86rem; font-weight: 600; color: #fff; letter-spacing: -.015em; }
.binrow__bar { height: 4px; border-radius: 2px; background: rgba(255,255,255,.10); margin-top: 6px; overflow: hidden; }
.binrow__bar i { display: block; height: 100%; border-radius: 2px; transition: width .9s var(--ease-out), background .5s var(--ease); }
.binrow__pct { font-family: var(--f-mono); font-size: .86rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.binrow__pct.ok { color: var(--ok); }
.binrow__pct.warn { color: var(--warn); }
.binrow__pct.crit { color: var(--crit); }

.dash__dispatch {
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--d-line);
  display: flex; align-items: center; gap: 12px;
}
.dash__dispatch .txt { flex: 1; font-size: .8rem; color: var(--d-muted); line-height: 1.4; }
.dash__dispatch .txt b { color: #fff; }

/* ---------------------------------------------------------------
   13. APP SHOWCASE (dark)
   --------------------------------------------------------------- */
.appshow { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px, 380px); gap: clamp(36px,6vw,80px); align-items: center; }
.phone {
  position: relative; width: 100%; max-width: 320px; margin-inline: auto;
  aspect-ratio: 9 / 19;
  background: linear-gradient(160deg, #1B2A44, #0B1424);
  border-radius: 42px; padding: 11px;
  box-shadow: 0 0 0 1.5px rgba(255,255,255,.14), 0 40px 90px rgba(0,0,0,.6),
              inset 0 1px 1px rgba(255,255,255,.16);
}
.phone::before {
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 24px; background: #060C17; border-radius: 14px; z-index: 4;
}
.phone__screen {
  width: 100%; height: 100%; border-radius: 32px; overflow: hidden;
  background: #080F1C; position: relative;
  display: flex; flex-direction: column;
  padding: 52px 15px 15px;
}
.phone__appbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.phone__appbar .t { font-size: .82rem; font-weight: 680; color: #fff; letter-spacing: -.02em; }
.phone__appbar .s { font-size: .62rem; color: var(--d-muted); }
.phone__avatar { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), #6FA8FF); }

.notif {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 11px 12px; border-radius: 14px; margin-bottom: 9px;
  background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.09);
  opacity: 0; transform: translateY(14px) scale(.97);
  animation: notifIn .6s var(--ease-out) forwards;
}
.notif:nth-child(1) { animation-delay: .1s; }
.notif:nth-child(2) { animation-delay: 1.0s; }
.notif:nth-child(3) { animation-delay: 1.9s; }
.notif:nth-child(4) { animation-delay: 2.8s; }
@keyframes notifIn { to { opacity: 1; transform: none; } }
.notif--crit { background: rgba(240,68,56,.12); border-color: rgba(240,68,56,.3); }
.notif--ok { background: rgba(18,183,106,.10); border-color: rgba(18,183,106,.26); }
.notif .ic { width: 26px; height: 26px; border-radius: 8px; flex: none; display: grid; place-items: center; }
.notif .ic svg { width: 13px; height: 13px; }
.notif .b { min-width: 0; }
.notif .b .h { font-size: .69rem; font-weight: 650; color: #fff; line-height: 1.3; }
.notif .b .p { font-size: .62rem; color: var(--d-muted); line-height: 1.35; margin-top: 2px; }
.notif .time { font-family: var(--f-mono); font-size: .55rem; color: var(--d-muted); flex: none; }

.phone__tabbar {
  margin-top: auto; display: flex; justify-content: space-around;
  padding-top: 12px; border-top: 1px solid rgba(255,255,255,.08);
}
.phone__tabbar i { width: 18px; height: 18px; border-radius: 5px; background: rgba(255,255,255,.14); }
.phone__tabbar i:first-child { background: var(--blue); }

.featlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.featlist li { display: flex; gap: 15px; align-items: flex-start; }
.featlist .ic {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  display: grid; place-items: center;
  background: rgba(17,96,232,.16); border: 1px solid rgba(77,140,255,.25);
  color: var(--blue-400);
}
.featlist .ic svg { width: 19px; height: 19px; }
.featlist b { display: block; color: #fff; font-size: 1rem; letter-spacing: -.02em; margin-bottom: 3px; }
.featlist span { font-size: .92rem; color: var(--d-muted); line-height: 1.55; }

/* ---------------------------------------------------------------
   14. ROI CALCULATOR
   --------------------------------------------------------------- */
.calc {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-xl);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.calc__inputs { background: var(--white); padding: clamp(26px, 4vw, 40px); }
.calc__out {
  background: linear-gradient(165deg, #0F1E38 0%, var(--d-bg) 100%);
  color: var(--d-text); padding: clamp(26px, 4vw, 40px);
  position: relative; overflow: hidden;
}
.calc__out::before {
  content: ""; position: absolute; top: -40%; right: -30%;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(17,96,232,.32), transparent 70%);
  pointer-events: none;
}
.field { margin-bottom: 26px; }
.field:last-child { margin-bottom: 0; }
.field__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.field__label { font-size: .93rem; font-weight: 600; letter-spacing: -.015em; }
.field__hint { font-size: .78rem; color: var(--muted-2); margin-top: 2px; font-weight: 400; letter-spacing: 0; }
.field__val {
  font-family: var(--f-mono); font-size: 1.05rem; font-weight: 600;
  color: var(--blue); background: var(--blue-050);
  padding: 4px 12px; border-radius: var(--r-pill);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; border-radius: 3px; background: var(--paper-2);
  outline-offset: 6px; cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--white); border: 2.5px solid var(--blue);
  box-shadow: 0 2px 8px rgba(17,96,232,.35);
  cursor: grab; transition: transform .2s var(--ease-out), box-shadow .2s var(--ease);
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.14); box-shadow: 0 4px 14px rgba(17,96,232,.45); }
input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--white); border: 2.5px solid var(--blue);
  box-shadow: 0 2px 8px rgba(17,96,232,.35); cursor: grab;
}
input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--paper-2); }

.calc__headline { position: relative; z-index: 2; }
.calc__big {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(2.6rem, 6.5vw, 3.9rem); letter-spacing: -.045em;
  line-height: 1; color: #fff; font-variant-numeric: tabular-nums;
  margin-bottom: 8px;
}
.calc__big .cur { color: var(--blue-400); }
.calc__caption { font-size: .92rem; color: var(--d-muted); margin-bottom: 26px; }
.calc__rows { position: relative; z-index: 2; display: grid; gap: 1px; background: var(--d-line); border: 1px solid var(--d-line); border-radius: var(--r-md); overflow: hidden; }
.calc__row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 16px; background: rgba(255,255,255,.02);
  font-size: .87rem; color: var(--d-muted);
}
.calc__row b { font-family: var(--f-mono); font-size: 1rem; color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.calc__foot { position: relative; z-index: 2; margin-top: 22px; font-size: .77rem; color: var(--d-muted); line-height: 1.55; }

/* ---------------------------------------------------------------
   15. PROOF / CASE STUDY
   --------------------------------------------------------------- */
.case {
  border: 1px solid var(--line); border-radius: var(--r-xl);
  background: var(--white); overflow: hidden; box-shadow: var(--shadow-md);
}
.case__top {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(28px, 4vw, 52px); align-items: center;
  padding: clamp(28px, 4vw, 48px);
}
.case__tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .74rem; font-weight: 640; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-050);
  padding: 6px 13px; border-radius: var(--r-pill); margin-bottom: 18px;
}
.case blockquote {
  margin: 0 0 20px; font-size: clamp(1.1rem, 1.9vw, 1.4rem);
  line-height: 1.5; letter-spacing: -.022em; font-weight: 500;
}
.case__who { display: flex; align-items: center; gap: 12px; font-size: .87rem; }
.case__who .av {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--blue), #6FA8FF);
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .9rem;
}
.case__who b { display: block; letter-spacing: -.015em; }
.case__who span { color: var(--muted-2); font-size: .82rem; }

.beforeafter { display: grid; gap: 12px; }
.ba-row { display: grid; grid-template-columns: 82px 1fr auto; gap: 14px; align-items: center; }
.ba-row .lbl { font-size: .76rem; font-weight: 640; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
.ba-track { height: 34px; border-radius: var(--r-sm); background: var(--paper-2); overflow: hidden; position: relative; }
.ba-track i {
  display: block; height: 100%; width: 0; border-radius: var(--r-sm);
  transition: width 1.4s var(--ease-out);
}
.ba-row.before .ba-track i { background: linear-gradient(90deg, #C3CDDD, #9CAABF); }
.ba-row.after  .ba-track i { background: linear-gradient(90deg, var(--blue), #5B9BFF); }
.ba-row .val { font-family: var(--f-mono); font-size: .95rem; font-weight: 600; min-width: 74px; text-align: right; }
.ba-row.after .val { color: var(--blue); }
.ba-delta {
  margin-top: 6px; display: inline-flex; align-items: center; gap: 7px;
  font-size: .84rem; font-weight: 620; color: var(--ok);
  background: var(--ok-soft); padding: 6px 13px; border-radius: var(--r-pill);
}
.ba-delta svg { width: 14px; height: 14px; }

.case__strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1px; background: var(--line); border-top: 1px solid var(--line);
}
.case__stat { background: var(--paper); padding: 24px; text-align: center; }
.case__stat .n {
  font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700;
  letter-spacing: -.04em; color: var(--blue); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.case__stat .k { font-size: .82rem; color: var(--muted); margin-top: 7px; line-height: 1.4; }

/* ---------------------------------------------------------------
   16. INDUSTRIES
   --------------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 18px; }
.card {
  position: relative; padding: 28px 26px 30px;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--white); overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(17,96,232,.055), transparent 55%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-200); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; z-index: 2; }
.card__ic {
  width: 46px; height: 46px; border-radius: 13px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: var(--blue-050); color: var(--blue);
  transition: transform .4s var(--ease-out), background .3s var(--ease), color .3s var(--ease);
}
.card:hover .card__ic { transform: scale(1.08) rotate(-4deg); background: var(--blue); color: #fff; }
.card__ic svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: .92rem; color: var(--muted); line-height: 1.58; margin-bottom: 14px; }
.card .tagrow { display: flex; flex-wrap: wrap; gap: 6px; }
.card .tag {
  font-size: .73rem; font-weight: 560; color: var(--muted);
  background: var(--paper); border: 1px solid var(--line);
  padding: 4px 10px; border-radius: var(--r-pill);
}

/* ---------------------------------------------------------------
   17. PLATFORM / TRUST
   --------------------------------------------------------------- */
.trustgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.trust {
  padding: 24px; border-radius: var(--r-lg);
  border: 1px solid var(--d-line); background: rgba(255,255,255,.025);
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .4s var(--ease-out);
}
.trust:hover { border-color: var(--d-line-2); background: rgba(255,255,255,.05); transform: translateY(-4px); }
.trust .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(17,96,232,.18); color: var(--blue-400); margin-bottom: 15px; }
.trust .ic svg { width: 18px; height: 18px; }
.trust h3 { font-size: 1.02rem; margin-bottom: 7px; }
.trust p { font-size: .88rem; color: var(--d-muted); line-height: 1.55; }

/* ---------------------------------------------------------------
   18. FAQ
   --------------------------------------------------------------- */
.faq { display: grid; gap: 10px; max-width: 860px; margin-inline: auto; }
.qa { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); overflow: hidden; transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.qa.is-open { border-color: var(--blue-200); box-shadow: var(--shadow-sm); }
.qa__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 22px; background: none; border: 0; cursor: pointer;
  text-align: left; font-size: 1rem; font-weight: 600; letter-spacing: -.02em;
}
.qa__q:hover { color: var(--blue); }
.qa__ic { width: 22px; height: 22px; flex: none; position: relative; }
.qa__ic::before, .qa__ic::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--blue);
  border-radius: 2px; transform: translate(-50%,-50%);
  transition: transform .35s var(--ease-out), opacity .3s var(--ease);
}
.qa__ic::before { width: 13px; height: 2px; }
.qa__ic::after  { width: 2px; height: 13px; }
.qa.is-open .qa__ic::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.qa__a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease-out); }
.qa__a > div { padding: 0 22px 22px; font-size: .95rem; color: var(--muted); line-height: 1.65; }

/* ---------------------------------------------------------------
   19. CTA BAND + CONTACT
   --------------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, #0B4CC2 0%, #1160E8 45%, #0A1220 100%);
  color: #fff; text-align: center;
  padding: clamp(64px, 9vw, 108px) 0;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 26px 26px; opacity: .3;
  mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent);
  -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent);
}
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,.82); font-size: clamp(1rem,1.6vw,1.15rem); max-width: 620px; margin-inline: auto; margin-bottom: 32px; }
.cta-band .btn { --btn-bg: #fff; --btn-fg: var(--ink); box-shadow: 0 10px 30px rgba(0,0,0,.28); }
.cta-band .btn:hover { box-shadow: 0 16px 40px rgba(0,0,0,.34); }

.contact { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 70px); }
.contact__meta { display: grid; gap: 14px; margin-top: 30px; }
.cmeta {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 17px 18px; border: 1px solid var(--line);
  border-radius: var(--r-md); background: var(--white);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease-out);
}
.cmeta:hover { border-color: var(--blue-200); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.cmeta .ic { width: 38px; height: 38px; border-radius: 11px; flex: none; display: grid; place-items: center; background: var(--blue-050); color: var(--blue); }
.cmeta .ic svg { width: 18px; height: 18px; }
.cmeta .k { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.cmeta .v { font-size: .98rem; font-weight: 600; letter-spacing: -.015em; margin-top: 2px; }
.cmeta .d { font-size: .82rem; color: var(--muted); margin-top: 2px; }

.form {
  border: 1px solid var(--line); border-radius: var(--r-xl);
  background: var(--white); padding: clamp(24px, 3.5vw, 38px);
  box-shadow: var(--shadow-md);
}
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__grid .full { grid-column: 1 / -1; }
label.fl { display: block; font-size: .84rem; font-weight: 620; margin-bottom: 7px; letter-spacing: -.01em; }
label.fl .req { color: var(--crit); }
.inp {
  width: 100%; padding: 12px 14px; font-size: .95rem; font-family: inherit;
  color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.inp::placeholder { color: var(--muted-2); }
.inp:focus {
  outline: none; background: var(--white);
  border-color: var(--blue); box-shadow: 0 0 0 4px rgba(17,96,232,.12);
}
textarea.inp { resize: vertical; min-height: 118px; }
select.inp { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C6D87' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 17px; padding-right: 40px; }
.form__foot { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.form__fine { font-size: .79rem; color: var(--muted-2); line-height: 1.5; }
.form__status { font-size: .87rem; font-weight: 560; padding: 12px 15px; border-radius: var(--r-sm); display: none; }
.form__status.show { display: block; }
.form__status.ok { background: var(--ok-soft); color: #0A7A46; }
.form__status.err { background: var(--crit-soft); color: #B42318; }

/* ---------------------------------------------------------------
   20. FOOTER
   --------------------------------------------------------------- */
.site-footer { background: var(--d-bg); color: var(--d-muted); padding: clamp(52px, 7vw, 76px) 0 30px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--d-line); }
.footer__brand p { font-size: .9rem; line-height: 1.6; max-width: 34ch; margin-top: 18px; }
.footer h4 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 0 0 16px; font-weight: 620; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { font-size: .9rem; transition: color .2s var(--ease); }
.footer a:hover { color: #fff; }
.footer__bottom {
  padding-top: 26px; display: flex; flex-wrap: wrap; gap: 14px;
  align-items: center; justify-content: space-between; font-size: .82rem;
}
.footer__bottom .badges { display: flex; flex-wrap: wrap; gap: 8px; }
.footer__bottom .badge {
  font-size: .72rem; padding: 5px 11px; border-radius: var(--r-pill);
  border: 1px solid var(--d-line); background: rgba(255,255,255,.03);
}

/* ---------------------------------------------------------------
   21. REVEAL / SCROLL ANIMATION
   --------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .85s var(--ease-out), transform .85s var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; will-change: auto; }
[data-reveal="left"]  { transform: translateX(-30px); }
[data-reveal="right"] { transform: translateX(30px); }
[data-reveal="scale"] { transform: scale(.965); }
[data-reveal].is-in { transform: none; }

/* Scroll progress */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; z-index: 101;
  width: 100%; transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--blue), #6FA8FF);
}

/* ---------------------------------------------------------------
   22. RESPONSIVE
   --------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__sub { max-width: 52ch; }
  .hero__visual { order: -1; max-width: 440px; margin-inline: auto; }
  .netmap__card--1 { left: 0; }
  .netmap__card--2 { right: 0; }
  .dash__body { grid-template-columns: 1fr; }
  .dash__map { border-right: 0; border-bottom: 1px solid var(--d-line); min-height: 0; }
  .dash__side { min-height: 0; }
  .appshow { grid-template-columns: 1fr; }
  .appshow .phone { order: -1; }
  .calc { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__cta .btn { display: none; }
  .nav__toggle { display: flex; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .steps { grid-template-columns: 1fr; }
  .step { text-align: left; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
  .step__num { margin: 0; width: 48px; height: 48px; font-size: .95rem; }
  .roundviz__grid { grid-template-columns: repeat(6, 1fr); }
  .roundviz__meta { grid-template-columns: 1fr; gap: 10px; }
  .dash__kpis { grid-template-columns: 1fr 1fr; }
  .dash__url { display: none; }
  .form__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 30px; }
  .hero__stats { grid-template-columns: 1fr; }
  .ba-row { grid-template-columns: 66px 1fr; }
  .ba-row .val { grid-column: 2; text-align: left; min-width: 0; }
  .netmap__card { font-size: .72rem; padding: 9px 11px; }
}

/* ---------------------------------------------------------------
   23. MOTION PREFERENCES
   --------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none; }
}

/* Print */
@media print {
  .site-header, .mobile-menu, .progress, .cta-band, .netmap, .phone { display: none !important; }
  body { color: #000; background: #fff; }
}
