/* ============================================================
   NexFabric / NexCut — sito che rispecchia la brochure
   Design system estratto dalla brochure (Nexcut_Presentation_V4)
   ============================================================ */

:root {
  --bg:        #06070d;
  --bg-2:      #0a0b14;
  --bg-card:   #0e1019;
  --bg-light:  #ffffff;
  --ink:       #f5f6fa;
  --ink-dim:   #9aa0b4;
  --ink-mute:  #5f667e;
  --line:      rgba(255,255,255,.08);
  --line-2:    rgba(255,255,255,.14);

  /* gradiente brand ufficiale (da X-white.svg del sito) */
  --blue:      #2A8BFB;
  --violet:    #8456F4;
  --grad:      linear-gradient(115deg, #079FFE 0%, #2A8BFB 28%, #6B65F6 72%, #8456F4 100%);
  --grad-x:    linear-gradient(135deg, #079FFE, #2A8BFB 30%, #6B65F6 75%, #8456F4);

  --red:       #ef4444;
  --green:     #22c55e;
  --amber:     #f5b53b;

  --radius:    20px;
  --radius-sm: 12px;
  --maxw:      1180px;
  --font:      'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

@font-face {
  font-family: 'Syncopate';
  src: url('../public/fonts/Syncopate-Bold.ttf') format('truetype');
  font-weight: 700; font-display: swap;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

::selection { background: rgba(139,92,246,.35); }

/* ---------- helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow {
  display: inline-block;
  font-family: 'Syncopate', var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  padding: 7px 14px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  margin-bottom: 22px;
}
.eyebrow.solid {
  background: rgba(59,109,255,.12);
  border-color: rgba(99,102,241,.4);
  color: #b9c4ff;
}

/* =====================================================
   NAVBAR
   ===================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px;
  backdrop-filter: blur(14px);
  background: rgba(6,7,13,.55);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.nav.scrolled { background: rgba(6,7,13,.85); border-bottom-color: var(--line); }

.brand { display: flex; align-items: baseline; font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.brand .x {
  background: var(--grad-x);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-weight: 800; padding: 0 1px;
}
.brand .dotai { font-size: 12px; color: var(--ink-dim); font-weight: 600; margin-left: 3px; align-self: flex-start; }
.brand .x-mark { height: 1em; width: auto; margin: 0; transform: translateY(.12em); }
.brand .brand-logo { height: 30px; width: auto; display: block; }

/* ===== 3D model viewer ===== */
.model3d {
  width: 100%; height: 560px; display: block; position: relative; z-index: 1;
  --poster-color: transparent; background: transparent;
}
.model-hint {
  position: relative; z-index: 1; text-align: center; margin-top: 10px;
  font-size: 13px; color: var(--ink-mute); letter-spacing: .04em;
}

/* ===== banda video prodotto full-width (come pagina NexCut) ===== */
.video-band { padding: 30px 0; position: relative; }
.video-band video {
  display: block; width: 100%; height: 86vh; max-height: 900px; object-fit: cover; border-radius: 22px;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 10%, #000 90%, transparent 100%);
          mask-image:
    linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}

/* gallery render reali */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; position: relative; z-index: 1; }
.gallery-grid figure {
  position: relative; overflow: hidden; border-radius: 16px; border: 1px solid var(--line);
  aspect-ratio: 1/1; background: #06070d;
}
.gallery-grid figure.wide { grid-column: span 2; aspect-ratio: 2/1; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-grid figure:hover img { transform: scale(1.06); }

/* logo X grande nel closing */
.closing .x-logo { height: clamp(54px, 9vw, 110px); width: auto; margin: 0 auto 26px; display: block; filter: drop-shadow(0 0 40px rgba(99,102,241,.5)); }

.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--ink-dim); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  font-size: 14px; font-weight: 600; color: #fff !important;
  padding: 9px 18px; border-radius: 100px;
  background: var(--grad);
}
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); font-size: 22px; cursor: pointer; }

/* =====================================================
   PILL di sezione (stile brochure: in alto a destra)
   ===================================================== */
.pill {
  position: absolute; top: 28px; right: 28px; z-index: 3;
  font-size: 13px; font-weight: 600;
  padding: 9px 18px; border-radius: 100px;
}
.pill.dark  { background: rgba(255,255,255,.06); border: 1px solid var(--line-2); color: var(--ink); }
.pill.light { background: #0d0e16; color: #fff; }

/* =====================================================
   HERO (stile slide cover)
   ===================================================== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 120px 0 80px; overflow: hidden;
  background: radial-gradient(130% 120% at 78% 28%, #16204a 0%, #0b1024 40%, #06070d 100%);
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: center; }
.hero h1 {
  font-size: clamp(44px, 7vw, 92px); font-weight: 800; letter-spacing: -.04em; line-height: .98;
}
.hero .sub {
  font-size: clamp(20px, 2.6vw, 30px); font-weight: 700; letter-spacing: -.02em;
  margin-top: 20px; line-height: 1.2;
}
.hero .sub .grad-text { display: block; }
.hero p.kicker { color: var(--ink-dim); font-size: 17px; margin-top: 22px; max-width: 440px; line-height: 1.6; }
.hero .btn-row { justify-content: flex-start; margin-top: 34px; }
.hero-figure { position: relative; }
.hero-figure img {
  width: 100%; max-width: 560px; margin-left: auto;
  filter: drop-shadow(0 34px 60px rgba(0,0,0,.55));
}
.hero-figure::before {
  content: ""; position: absolute; inset: 6% 4%; z-index: -1;
  background: radial-gradient(circle, rgba(59,109,255,.34), transparent 65%);
  filter: blur(54px);
}

/* device scontornato che fluttua sullo sfondo (PNG trasparente) */
.device-float img,
.device-float video {
  width: 100%;
  filter: drop-shadow(0 26px 50px rgba(0,0,0,.5));
}
.device-float { position: relative; }
.device-float::before {
  content: ""; position: absolute; inset: 8%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,.3), transparent 62%);
  filter: blur(54px);
}

/* split layout: text + device */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.split.flip .device-float { order: -1; }

/* workflow: video grande a sinistra (span 2 righe), titolo e card a destra */
.workflow-split { align-items: center; gap: 0 0; overflow: visible; grid-template-rows: auto auto; }
.workflow-split .device-float {
  position: relative; z-index: 1; overflow: visible;
  justify-content: flex-start;
  grid-column: 1; grid-row: 1 / 3; align-self: center;
}
.workflow-copy { grid-column: 2; grid-row: 1; position: relative; z-index: 2; align-self: end; }
.workflow-cards { grid-column: 2; grid-row: 2; position: relative; z-index: 2; align-self: start; }
.workflow-split .device-float video {
  width: 178%; max-width: none; margin-left: -54%; filter: none;
  -webkit-mask-image:
    linear-gradient(to right,  transparent 0, #000 10%, #000 62%, transparent 96%),
    linear-gradient(to bottom, transparent 0, #000 10%, #000 72%, transparent 99%);
          mask-image:
    linear-gradient(to right,  transparent 0, #000 10%, #000 62%, transparent 96%),
    linear-gradient(to bottom, transparent 0, #000 10%, #000 72%, transparent 99%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.workflow-split .title { margin-top: 8px; }
.workflow-cards { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
@media (max-width: 860px) {
  /* mobile: titolo → video → card (video non attaccato alla sezione sopra) */
  .workflow-split { grid-template-columns: 1fr; grid-template-rows: none; gap: 22px; overflow: hidden; }
  .workflow-copy { grid-column: 1; grid-row: auto; order: 1; }
  .workflow-cards { grid-column: 1; grid-row: auto; order: 3; margin-top: 0; }
  .workflow-split .device-float {
    grid-column: 1; grid-row: auto; order: 2;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
    background: #05091a;                      /* = fondo del video, così il crop è invisibile */
    -webkit-mask-image:
      linear-gradient(to right,  transparent 0, #000 20%, #000 80%, transparent 100%),
      linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%);
            mask-image:
      linear-gradient(to right,  transparent 0, #000 20%, #000 80%, transparent 100%),
      linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%);
    -webkit-mask-composite: source-in; mask-composite: intersect;
  }
  .workflow-split .device-float video {
    width: 205%; margin-left: 0; max-width: none;
    -webkit-mask-image: none; mask-image: none;
  }
}

/* feather morbido su TUTTI i bordi (no spigoli squadrati) */
.smooth-edges,
.hero-figure.bleed-r img,
.section.bleed-split .device-float img {
  -webkit-mask-image: none;
          mask-image: none;
}

/* cuffie: hanno un bordo/sfondo che stacca netto → sfuma tutti i bordi */
.device-float img[src*="headset-cut"] {
  -webkit-mask-image:
    linear-gradient(to right,  transparent 0, #000 16%, #000 84%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
          mask-image:
    linear-gradient(to right,  transparent 0, #000 16%, #000 84%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}

/* cuffia LLM: più grande, sbocca leggermente oltre la colonna */
#llm .device-float img[src*="headset-real"] { width: 118%; max-width: 940px; }

/* hero: il tablet sbocca a destra fino al bordo schermo (come la cover) */
.hero-figure.bleed-r img { width: 122%; max-width: none; margin-right: -16%; }

/* =====================================================
   FULL-BLEED SPLIT — il dispositivo riempie la sua metà
   toccando il bordo schermo (look moderno, niente vuoti)
   ===================================================== */
.section.bleed-split .wrap { max-width: none; padding: 0; }
.section.bleed-split .split { gap: 0; align-items: stretch; min-height: 76vh; }
/* colonna testo: allineata al contenitore centrale */
.section.bleed-split .split > .reveal-up:not(.device-float) {
  align-self: center;
  padding: 60px 60px 60px max(28px, calc((100vw - var(--maxw)) / 2 + 28px));
}
.section.bleed-split .split.flip > .reveal-up:not(.device-float) {
  padding: 60px max(28px, calc((100vw - var(--maxw)) / 2 + 28px)) 60px 60px;
}
/* colonna dispositivo: riempie fino al bordo */
.section.bleed-split .device-float {
  align-self: stretch; display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 40px 0;
}
.section.bleed-split .device-float img,
.section.bleed-split .device-float video { width: 100%; max-width: 760px; margin: 0; }
/* video prodotto: più grande e bordi sfumati sullo sfondo */
.section.bleed-split .device-float video {
  max-width: 980px; filter: none;
  -webkit-mask-image:
    linear-gradient(to right,  transparent 0, #000 12%, #000 88%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
          mask-image:
    linear-gradient(to right,  transparent 0, #000 12%, #000 88%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
/* Kit Nexcut: video grande a sinistra, sovrapposto dietro ai contenuti */
#kit .split { align-items: center; overflow: visible; }
#kit .device-float { overflow: visible; z-index: 1; justify-content: flex-start; }
#kit .device-float video {
  width: 152%; max-width: none; margin-left: -22%;
  -webkit-mask-image:
    linear-gradient(to right,  transparent 0, #000 8%, #000 66%, transparent 98%),
    linear-gradient(to bottom, transparent 0, #000 6%, #000 92%, transparent 100%);
          mask-image:
    linear-gradient(to right,  transparent 0, #000 8%, #000 66%, transparent 98%),
    linear-gradient(to bottom, transparent 0, #000 6%, #000 92%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
#kit .split > .reveal-up:not(.device-float) { position: relative; z-index: 2; }
@media (max-width: 860px) {
  /* niente glow viola nel Kit su mobile: crea contrasto col nero del video */
  #kit .glow { display: none; }
  #kit .split { overflow: hidden; }
  /* fondo della sezione = nero del video, così il ritaglio del video
     è invisibile (il bordo del crop combacia esattamente con lo sfondo) */
  #kit .device-float {
    justify-content: center; overflow: hidden;
    background: #07080e;
    -webkit-mask-image:
      linear-gradient(to right,  transparent 0, #000 20%, #000 80%, transparent 100%),
      linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%);
            mask-image:
      linear-gradient(to right,  transparent 0, #000 20%, #000 80%, transparent 100%),
      linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%);
    -webkit-mask-composite: source-in; mask-composite: intersect;
  }
  #kit .device-float video {
    width: 205%; margin-left: 0; max-width: none;
    -webkit-mask-image: none; mask-image: none;
  }
  /* su mobile il media va SOTTO il testo (override del flip) */
  #kit .split.flip .device-float,
  #tablet-rugged .split.flip .device-float { order: 2; }
}

/* immagini alte e strette (es. esploso): più contenute, niente bleed */
.section.bleed-split .device-float.narrow img {
  width: auto; max-width: 100%; max-height: 80vh;
  -webkit-mask-image: none; mask-image: none;
}
.section.bleed-split .device-float::before { inset: 18%; }

/* Tablet rugged + Esperimento causale: dispositivo più grande (desktop) */
#tablet-rugged .device-float,
#esperimento   .device-float { overflow: visible; }
#tablet-rugged .device-float img,
#esperimento   .device-float img {
  max-width: none; width: 126%; margin-left: -13%;
}
/* tablet rugged ritagliato più stretto: serve meno scala per riempire */
#tablet-rugged .device-float img { width: 116%; margin-left: -6%; }


/* =====================================================
   LIGHT SECTION — sfondo chiaro (alternanza brochure)
   ===================================================== */
.section.light-sec { background: radial-gradient(120% 120% at 50% -10%, #f7f9fd 0%, #eceff6 100%); color: #11131c; }
.section.light-sec .title { color: #11131c; }
.section.light-sec .lead { color: #555c70; }
.section.light-sec .eyebrow { color: #555c70; border-color: rgba(0,0,0,.12); }
.section.light-sec .eyebrow.solid { background: rgba(59,109,255,.1); border-color: rgba(99,102,241,.35); color: #3d4bd1; }
.section.light-sec .feat-line { color: #1c2030; border-color: rgba(0,0,0,.1); }
.section.light-sec .feat-line small { color: #5a6175; }
.section.light-sec .glow { opacity: .25; }

/* device su chiaro: ombra morbida, niente glow viola forte */
.section.light-sec .device-float img { filter: drop-shadow(0 30px 50px rgba(20,24,40,.22)); }
.section.light-sec .device-float::before { background: radial-gradient(circle, rgba(59,109,255,.16), transparent 62%); }

/* card su chiaro */
.section.light-sec .card {
  background: #fff; border-color: rgba(16,19,28,.08);
  box-shadow: 0 8px 30px -16px rgba(20,24,40,.25);
}
.section.light-sec .card:hover { border-color: rgba(16,19,28,.16); }
.section.light-sec .card h3 { color: #11131c; }
.section.light-sec .card p { color: #555c70; }
.section.light-sec .card .k { color: #6d44e0; }
.section.light-sec .card .ico { background: rgba(99,102,241,.1); }

/* ticks su chiaro */
.section.light-sec ul.ticks li { color: #4a5165; }

/* steps su chiaro */
.section.light-sec .step { background: #fff; border-color: rgba(16,19,28,.08); box-shadow: 0 8px 30px -16px rgba(20,24,40,.22); }
.section.light-sec .step h3 { color: #11131c; }
.section.light-sec .step p { color: #555c70; }
.section.light-sec .step .badge-k { color: #8a90a4; }
.section.light-sec .chip { color: #4a5165; border-color: rgba(16,19,28,.16); }

/* stat su chiaro */
.section.light-sec .stat { background: #fff; border-color: rgba(16,19,28,.08); }
.section.light-sec .stat .lbl { color: #555c70; }

/* team su chiaro */
.section.light-sec .member { background: #fff; border-color: rgba(16,19,28,.08); }
.section.light-sec .member .role { color: #11131c; }
.section.light-sec .member .flag { color: #8a90a4; }
.section.light-sec .member .sk span { color: #555c70; border-color: rgba(16,19,28,.12); }
.section.light-sec h3 { color: #11131c; }

/* feature list lines (slide 2/5 left column) */
.feat-list { display: grid; gap: 0; margin-top: 30px; position: relative; z-index: 1; }
.feat-line {
  display: flex; align-items: center; gap: 14px;
  font-size: 17px; font-weight: 600; color: var(--ink);
  padding: 18px 2px; border-bottom: 1px solid var(--line);
}
.feat-line:first-child { border-top: 1px solid var(--line); }
.feat-line .fi {
  width: 34px; height: 34px; flex: none; border-radius: 9px; display: grid; place-items: center;
  background: rgba(99,102,241,.14); border: 1px solid rgba(99,102,241,.3); font-size: 16px;
}
.feat-line small { display: block; font-weight: 400; color: var(--ink-dim); font-size: 13.5px; margin-top: 2px; }

/* closing brand band (slide 9) */
.closing {
  position: relative; text-align: center; padding: 140px 24px; overflow: hidden;
  background: radial-gradient(120% 130% at 50% 45%, #211652 0%, #120d33 42%, #06060f 100%);
}
.closing .nexcut-mark {
  font-family: 'Syncopate', var(--font);
  font-size: clamp(40px, 9vw, 112px); font-weight: 700; letter-spacing: -.02em; line-height: 1;
  background: linear-gradient(100deg, #eef1ff 0%, #9fb4ff 40%, #6d6bf7 60%, #c084fc 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.closing .tm { font-size: .3em; vertical-align: super; -webkit-text-fill-color: var(--ink-dim); }
.closing .tag { font-size: clamp(20px, 3vw, 34px); font-weight: 600; margin-top: 18px; letter-spacing: -.01em; }

/* =====================================================
   SECTION shells
   ===================================================== */
/* overflow visible: i blob-glow sconfinano oltre i bordi sezione e si fondono
   tra sezioni adiacenti. Lo scroll orizzontale è già contenuto da body/html{overflow-x:clip}. */
.section { position: relative; padding: 96px 0; overflow: visible; }
.closing, .foot-min, .marquee { overflow-x: clip; }
.section.tight { padding: 72px 0; }
.section.bleed-split { padding: 0; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section h2.title {
  font-size: clamp(30px, 4.4vw, 50px); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.06;
}
.section .lead { color: var(--ink-dim); font-size: 18px; line-height: 1.6; margin-top: 18px; }

/* blob ambientali: grandi e molto sfumati così sconfinano oltre i bordi sezione
   e si fondono con quelli adiacenti (nessuna riga di stacco). */
.glow { position: absolute; border-radius: 50%; filter: blur(150px); opacity: .34; pointer-events: none; z-index: 0; }
.glow.b { width: 720px; height: 720px; background: #2f4cff; }
.glow.v { width: 680px; height: 680px; background: #7c3aed; }

/* =====================================================
   CARDS / GRIDS
   ===================================================== */
.grid { display: grid; gap: 20px; position: relative; z-index: 1; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: border-color .25s, transform .25s, background .25s;
}
.card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.card .k { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--violet); text-transform: uppercase; }
.card h3 { font-size: 21px; font-weight: 700; margin: 14px 0 10px; letter-spacing: -.01em; }
.card p { color: var(--ink-dim); font-size: 15px; line-height: 1.6; }
.card .ico {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: rgba(99,102,241,.14); border: 1px solid rgba(99,102,241,.3);
  font-size: 20px;
}

ul.ticks { list-style: none; margin-top: 16px; display: grid; gap: 9px; }
ul.ticks li { position: relative; padding-left: 26px; color: var(--ink-dim); font-size: 14.5px; line-height: 1.5; }
ul.ticks li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--grad);
}

/* feature steps (NexCut whitebox 01-07) */
.steps { position: relative; z-index: 1; display: grid; gap: 18px; }
.step {
  display: grid; grid-template-columns: 64px 1fr; gap: 24px;
  align-items: start;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 30px;
}
.step .no {
  font-size: 26px; font-weight: 800; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 8px; }
.step .badge-k { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--ink-mute); display: block; margin-bottom: 10px; }
.step p { color: var(--ink-dim); font-size: 15px; line-height: 1.6; }
.step .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
  font-size: 12.5px; font-weight: 500; color: var(--ink-dim);
  padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 100px;
}

/* product highlight rows */
.prod {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 26px; padding: 44px; position: relative; z-index: 1; overflow: hidden;
}
.prod + .prod { margin-top: 22px; }
.prod .visual {
  aspect-ratio: 4/3; border-radius: 16px; overflow: hidden; border: 1px solid var(--line);
  background: #05060c;
}
.prod .visual img { width: 100%; height: 100%; object-fit: cover; }
.prod.flip .visual { order: -1; }

/* stat row */
.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; position: relative; z-index: 1; }
.stat { text-align: center; padding: 30px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-card); }
.stat .big { font-size: 40px; font-weight: 800; letter-spacing: -.03em; }
.stat .lbl { color: var(--ink-dim); font-size: 14px; margin-top: 6px; }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; position: relative; z-index: 1; }
.member { background: var(--bg-card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.member .role { font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.member .flag { font-size: 12px; color: var(--ink-mute); margin-top: 10px; }
.member .sk { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.member .sk span { font-size: 11px; color: var(--ink-dim); padding: 4px 9px; border: 1px solid var(--line); border-radius: 8px; }

/* led legend (slide 6) */
.leds { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; position: relative; z-index: 1; }
.led { text-align: center; padding: 22px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-card); }
.led .dot { width: 30px; height: 30px; border-radius: 50%; margin: 0 auto 14px; box-shadow: 0 0 24px currentColor; }
.led h4 { font-size: 18px; font-weight: 700; }
.led p { font-size: 13px; color: var(--ink-dim); margin-top: 6px; }

/* CTA band */
.cta-band {
  position: relative; z-index: 1;
  text-align: center; padding: 70px 40px;
  border-radius: 28px; overflow: hidden;
  background:
    radial-gradient(120% 160% at 50% 0%, rgba(124,58,237,.4), transparent 60%),
    linear-gradient(180deg, #11132a, #0a0b16);
  border: 1px solid var(--line-2);
}
.cta-band h2 { font-size: clamp(28px,4vw,46px); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
.cta-band p { color: var(--ink-dim); font-size: 18px; margin: 18px auto 30px; max-width: 560px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  padding: 14px 26px; border-radius: 100px; border: 1px solid transparent;
}
.btn.primary { background: var(--grad); color: #fff; }
.btn.ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* CTA finale */
.cta-band { text-align: center; }
.cta-card {
  max-width: 760px; margin-inline: auto; padding: 56px 40px;
  border: 1px solid var(--line-2); border-radius: 28px;
  background: linear-gradient(180deg, rgba(124,58,237,.10), rgba(124,58,237,.02));
  position: relative; z-index: 1;
}
@media (max-width: 640px) { .cta-card { padding: 40px 22px; } }

/* contact form */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; position: relative; z-index: 1; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-dim); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--font); font-size: 15px;
  background: var(--bg-card); border: 1px solid var(--line-2); border-radius: 12px;
  padding: 13px 15px; color: var(--ink); outline: none;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--violet); }
.field textarea { resize: vertical; min-height: 120px; }
.info-line { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 26px; }
.info-line .ico { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(99,102,241,.14); border: 1px solid rgba(99,102,241,.3); }
.info-line h4 { font-size: 15px; font-weight: 700; }
.info-line p { color: var(--ink-dim); font-size: 14px; margin-top: 4px; line-height: 1.5; }

/* footer chips (brochure tri-color) */
.tri { display: flex; gap: 40px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
.tri span { font-size: 15px; font-weight: 600; position: relative; padding-left: 16px; }
.tri span::before { content: "•"; position: absolute; left: 0; }
.tri .r { color: var(--red); }
.tri .b { color: var(--blue); }
.tri .g { color: var(--green); }

/* =====================================================
   MARQUEE — ticker a scorrimento (stile Wall Street)
   ===================================================== */
.marquee {
  position: relative; overflow: hidden; width: 100%;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.02), transparent);
  padding: 22px 0; -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: scrollx 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track .item {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: clamp(18px, 2.4vw, 28px); font-weight: 700; letter-spacing: -.01em;
  padding: 0 30px; white-space: nowrap;
}
.marquee-track .item::after {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor;
  opacity: .55; margin-left: 6px;
}
.marquee .r { color: var(--red); }
.marquee .b { color: var(--blue); }
.marquee .g { color: var(--green); }
.marquee .w { color: var(--ink); }
.marquee .v { color: var(--violet); }
@keyframes scrollx { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee.light { border-color: rgba(0,0,0,.08); }
.marquee.light .w { color: #11131c; }

/* footer */
footer {
  border-top: 1px solid var(--line); padding: 64px 0 40px; margin-top: 40px;
  background: var(--bg-2);
}
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
footer p { color: var(--ink-dim); font-size: 14px; line-height: 1.6; }
footer h5 { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 16px; }
footer ul { list-style: none; display: grid; gap: 10px; }
footer ul a { color: var(--ink-dim); font-size: 14px; }
footer ul a:hover { color: var(--ink); }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.foot-bottom small { color: var(--ink-mute); font-size: 13px; }

/* reveal on scroll */
.reveal-up { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal-up.in { opacity: 1; transform: none; }
/* stagger figli nelle griglie */
.grid .reveal-up:nth-child(2), .leds .reveal-up:nth-child(2), .team-grid .reveal-up:nth-child(2) { transition-delay: .06s; }
.grid .reveal-up:nth-child(3), .leds .reveal-up:nth-child(3), .team-grid .reveal-up:nth-child(3) { transition-delay: .12s; }
.grid .reveal-up:nth-child(4), .leds .reveal-up:nth-child(4), .team-grid .reveal-up:nth-child(4) { transition-delay: .18s; }
.grid .reveal-up:nth-child(5), .leds .reveal-up:nth-child(5), .team-grid .reveal-up:nth-child(5) { transition-delay: .24s; }
.grid .reveal-up:nth-child(6), .team-grid .reveal-up:nth-child(6) { transition-delay: .30s; }
.steps .reveal-up:nth-child(even) { transition-delay: .08s; }

/* =====================================================
   ANIMAZIONI
   ===================================================== */

/* barra di progresso scroll (in cima) */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 200;
  background: var(--grad); transform-origin: 0 50%; transform: scaleX(0);
}

/* shimmer sui testi a gradiente */
.grad-text, .nexcut-mark {
  background-size: 220% 100%;
  animation: shimmer 7s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* float idle dei dispositivi */
.device-float img, .hero-figure img { animation: floaty 6.5s ease-in-out infinite; will-change: transform; }
.split.flip .device-float img { animation-delay: -3s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-16px); }
}

/* glow pulsante dietro i dispositivi */
.device-float::before, .hero-figure::before { animation: glowpulse 5s ease-in-out infinite; }
@keyframes glowpulse {
  0%, 100% { opacity: .75; transform: scale(1); }
  50%      { opacity: 1;  transform: scale(1.08); }
}

/* LED che pulsano */
.led .dot { animation: ledpulse 2.4s ease-in-out infinite; }
.led:nth-child(2) .dot { animation-delay: .3s; }
.led:nth-child(3) .dot { animation-delay: .6s; }
.led:nth-child(4) .dot { animation-delay: .9s; }
.led:nth-child(5) .dot { animation-delay: 1.2s; }
@keyframes ledpulse {
  0%, 100% { box-shadow: 0 0 14px currentColor; }
  50%      { box-shadow: 0 0 30px currentColor, 0 0 50px currentColor; }
}

/* glow morbido che respira */
.glow { animation: drift 14s ease-in-out infinite; }
@keyframes drift {
  0%, 100% { transform: translate(0,0); }
  50%      { transform: translate(28px,-26px); }
}

/* card: bordo a gradiente in hover */
.card { position: relative; }
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad); opacity: 0; transition: opacity .3s;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.card:hover::after { opacity: .9; }

/* nav link underline animato */
.nav-links a:not(.nav-cta) { position: relative; }
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%;
  background: var(--grad); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s ease;
}
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); }

/* bottoni: shine + lift */
.btn { position: relative; overflow: hidden; transition: transform .2s ease, box-shadow .25s ease; }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -12px rgba(124,58,237,.7); }
.btn.ghost:hover { border-color: var(--violet); transform: translateY(-2px); }
.btn.primary::before {
  content: ""; position: absolute; top: 0; left: -120%; width: 70%; height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255,255,255,.4), transparent);
  transform: skewX(-18deg); transition: left .6s ease;
}
.btn.primary:hover::before { left: 130%; }

/* entrata hero (sfalsata) */
.hero h1 { animation: heroIn 1s cubic-bezier(.2,.7,.2,1) both; }
.hero .sub { animation: heroIn 1s cubic-bezier(.2,.7,.2,1) .12s both; }
.hero .kicker { animation: heroIn 1s cubic-bezier(.2,.7,.2,1) .22s both; }
.hero .btn-row { animation: heroIn 1s cubic-bezier(.2,.7,.2,1) .32s both; }
.hero .eyebrow { animation: heroIn 1s cubic-bezier(.2,.7,.2,1) both; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(30px); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}

/* ===== Scroll-driven animations (progressive enhancement) ===== */
@supports (animation-timeline: scroll()) {
  .scroll-progress { animation: progressGrow linear; animation-timeline: scroll(root); }
  @keyframes progressGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

  /* parallax: i dispositivi salgono leggermente più lenti dello scroll */
  .device-float { animation: parallaxUp linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  @keyframes parallaxUp { from { transform: translateY(60px); } to { transform: translateY(-60px); } }

  .hero-figure { animation: heroParallax linear both; animation-timeline: scroll(root); animation-range: 0 60vh; }
  @keyframes heroParallax { to { transform: translateY(70px); } }
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 980px) {
  .g3, .g4, .team-grid, .leds { grid-template-columns: repeat(2,1fr); }
  .prod, .contact-grid, .foot-grid, .hero .wrap, .split { grid-template-columns: 1fr; }
  .prod.flip .visual, .split.flip .device-float { order: 0; }
  .stats { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero .btn-row { justify-content: flex-start; }
  .hero-figure img { max-width: 380px; margin: 10px auto 0; }
  .device-float { max-width: 420px; margin: 0 auto; }

  /* full-bleed split → impilato su mobile */
  .section.bleed-split { padding: 64px 0; }
  .section.bleed-split .wrap { padding: 0 28px; }
  .section.bleed-split .split { min-height: 0; gap: 30px; }
  .section.bleed-split .split > .reveal-up:not(.device-float),
  .section.bleed-split .split.flip > .reveal-up:not(.device-float) { padding: 0; }
  .section.bleed-split .device-float img { margin: 0 auto; max-width: 440px; }

  /* Tablet rugged + Esperimento: dispositivo più grande su mobile (full-bleed) */
  /* niente transform qui: sarebbe sovrascritto dall'animazione parallax */
  #tablet-rugged .device-float,
  #esperimento   .device-float {
    width: 100vw; max-width: 100vw;
    margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
    overflow: visible; padding: 16px 0;
  }
  #tablet-rugged .device-float img,
  #esperimento   .device-float img {
    width: 100%; max-width: min(700px, 94vw); margin: 0 auto;
  }
}
@media (max-width: 640px) {
  .nav-toggle { display: block; position: relative; z-index: 110; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
  .nav-links.open ~ .nav-toggle { transform: rotate(90deg); }
  /* overlay sempre montato, nascosto: così può animare in/out */
  .nav-links {
    display: flex; flex-direction: column; justify-content: flex-start; align-items: center;
    position: fixed; inset: 0; z-index: 105;
    background: #06070d; gap: 30px; padding: 104px 24px 40px; margin: 0; min-height: 100vh; min-height: 100dvh;
    opacity: 0; visibility: hidden; transform: translateY(-14px);
    transition: opacity .34s ease, transform .34s cubic-bezier(.2,.7,.2,1), visibility .34s;
    pointer-events: none;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  .nav-links a {
    font-size: 30px; font-weight: 500; color: var(--ink); letter-spacing: -.02em;
    opacity: 0; transform: translateY(16px);
    transition: opacity .4s ease, transform .45s cubic-bezier(.2,.7,.2,1), color .2s;
  }
  .nav-links.open a { opacity: 1; transform: none; }
  .nav-links.open a:nth-child(1) { transition-delay: .08s; }
  .nav-links.open a:nth-child(2) { transition-delay: .13s; }
  .nav-links.open a:nth-child(3) { transition-delay: .18s; }
  .nav-links.open a:nth-child(4) { transition-delay: .23s; }
  .nav-links.open a:nth-child(5) { transition-delay: .28s; }
  .nav-links.open a:nth-child(6) { transition-delay: .33s; }
  .nav-links.open a:nth-child(7) { transition-delay: .38s; }
  .nav-links a:hover { color: var(--ink); }
  .nav-links a::after { display: none; }
  .g2, .g3, .g4, .team-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 32px; }
  .slide { min-height: auto; padding: 50px 16px; }
  .step { grid-template-columns: 1fr; gap: 8px; padding: 24px 22px; }
  .tri { gap: 22px; }

  /* pill di sezione: spostate in linea (niente sovrapposizioni) */
  .pill { position: static; display: inline-block; margin: 0 0 16px; top: auto; right: auto; }
  .section.bleed-split .pill { position: absolute; top: 12px; right: 16px; margin: 0; font-size: 11px; padding: 6px 12px; z-index: 5; }

  /* gallery: mosaico a 2 colonne, tile wide a tutta larghezza */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery-grid figure.wide { grid-column: span 2; aspect-ratio: 16/9; }

  /* card componenti Kit: 2 colonne compatte */
  #kit .grid.g2 { grid-template-columns: 1fr 1fr; gap: 12px; }
  #kit .grid.g2 .card { padding: 16px; }
  #kit .grid.g2 .card .ico { width: 38px; height: 38px; margin-bottom: 12px; }
  #kit .grid.g2 .card h3 { font-size: 14px; }

  /* LED: 2 colonne invece di 5 stretti */
  .leds { grid-template-columns: 1fr 1fr; gap: 12px; }

  /* video e 3D su mobile */
  .video-band { padding: 16px 0; }
  .video-band video { height: 52vh; border-radius: 14px; }
  .model3d { height: 380px; }

  /* tipografia hero più contenuta */
  .hero h1 { font-size: clamp(40px, 13vw, 60px); }
  .hero .sub { font-size: clamp(19px, 5.5vw, 26px); }

  /* titoli sezione un filo più piccoli */
  .section h2.title { font-size: clamp(26px, 7.5vw, 36px); }
  .cta-band { padding: 48px 22px; }
  .marquee-track .item { font-size: clamp(16px, 5vw, 22px); padding: 0 18px; }
}

/* =====================================================
   Rispetta chi preferisce meno movimento
   ===================================================== */
@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-up { opacity: 1 !important; transform: none !important; }
}

/* =====================================================
   SLIDE 8-14 — componenti aggiunti (brochure pari pari)
   ===================================================== */

/* LED di processo: render del tablet nelle card (slide 6) */
.section.light-sec .led { background:#fff; border-color:rgba(16,19,28,.08); box-shadow:0 8px 30px -16px rgba(20,24,40,.18); }
.led .led-render { width:100%; max-width:180px; height:auto; margin:0 auto 8px; mix-blend-mode:multiply; }

/* callout OUTPUT (slide 9) */
.callout { margin-top:26px; background:#0d0e16; border:1px solid var(--line-2); border-radius:14px; padding:20px 22px; }
.callout .k { display:block; font-size:11px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-dim); margin-bottom:8px; }
.callout p { color:#c7ccdb; font-size:14.5px; line-height:1.6; margin:0; }

/* flow orizzontale (slide 10) */
.flow { display:grid; grid-template-columns:repeat(5,1fr); align-items:start; position:relative; z-index:1; margin-top:8px; }
.flow-step { display:flex; flex-direction:column; align-items:center; text-align:center; padding:0 14px; position:relative; }
.flow-step:not(:last-child)::after { content:"›"; position:absolute; right:-8px; top:18px; transform:translateY(-50%); font-size:30px; line-height:1; color:var(--ink-mute); font-weight:700; }
.flow-step .fico { height:36px; display:flex; align-items:center; justify-content:center; margin-bottom:18px; }
.flow-step p { color:var(--ink-dim); font-size:15px; line-height:1.4; max-width:180px; margin:0 auto; }
.result-row { display:flex; gap:26px; align-items:baseline; justify-content:center; flex-wrap:wrap; margin-top:56px; position:relative; z-index:1; }
.result-row h3 { font-size:24px; font-weight:800; }
.result-row p { color:var(--ink-dim); font-size:15px; line-height:1.6; max-width:460px; }

/* liste a due colonne (slide 12 KPI) */
ul.ticks.cols2 { grid-template-columns:1fr 1fr; gap:9px 26px; }

/* wordmark di chiusura (slide 14) */
.closing-mark { display:flex; align-items:baseline; justify-content:center; font-weight:800; letter-spacing:-.04em; line-height:1; font-size:clamp(48px,11vw,128px); }
.closing-mark .x-mark { height:.78em; width:auto; transform:translateY(.04em); filter:drop-shadow(0 0 36px rgba(99,102,241,.55)); }

/* footer minimale */
.foot-min { border-top:1px solid var(--line); padding:30px 0; background:var(--bg-2); }
.foot-min .wrap { display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.foot-min small { color:var(--ink-mute); font-size:13px; }

@media (max-width:980px) {
  .flow { grid-template-columns:repeat(2,1fr); gap:34px 0; }
  .flow-step:not(:last-child)::after { display:none; }
  ul.ticks.cols2 { grid-template-columns:1fr; }
}
@media (max-width:640px) {
  .flow { grid-template-columns:1fr; }
}

/* =====================================================
   SLIDE 11 / 12 — versione minimale
   ===================================================== */
.flow.three { grid-template-columns:repeat(3,1fr); max-width:860px; margin:0 auto; }

/* frase forte centrale */
.quote-band {
  text-align:center; max-width:840px; margin:52px auto 0; position:relative; z-index:1;
  font-size:clamp(22px,3vw,32px); font-weight:700; letter-spacing:-.02em; line-height:1.32;
}

/* chip row minimale */
.chip-row { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-top:38px; position:relative; z-index:1; }
.chip-row span { font-size:13.5px; font-weight:600; padding:9px 16px; border-radius:100px; border:1px solid var(--line-2); color:var(--ink-dim); }
.section.light-sec .chip-row span { color:#4a5165; border-color:rgba(16,19,28,.14); background:#fff; }

/* KPI tiles (dashboard) */
.kpi-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; position:relative; z-index:1; }
.kpi {
  display:flex; flex-direction:column; gap:14px; padding:28px 26px;
  background:var(--bg-card); border:1px solid var(--line); border-radius:var(--radius);
  position:relative; overflow:hidden; transition:border-color .25s, transform .25s;
}
.kpi::before { content:""; position:absolute; inset:0 0 auto 0; height:2px; background:var(--grad); opacity:.75; }
.kpi:hover { border-color:var(--line-2); transform:translateY(-4px); }
.kpi .ki {
  width:46px; height:46px; border-radius:12px; display:grid; place-items:center; font-size:22px;
  background:rgba(99,102,241,.14); border:1px solid rgba(99,102,241,.3);
}
.kpi h4 { font-size:16px; font-weight:600; letter-spacing:-.01em; }

@media (max-width:980px) {
  .flow.three { grid-template-columns:1fr; gap:30px; }
  .kpi-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:640px) {
  .kpi-grid { grid-template-columns:1fr 1fr; gap:10px; }
  .kpi { padding:20px 18px; }
}

/* =====================================================
   PRODUCTION INTELLIGENCE DASHBOARD (hero + stat grid)
   ===================================================== */
.dash-hero {
  display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center;
  position:relative; z-index:1; margin-bottom:64px;
}
.dash-copy .title { text-align:left; }
.dash-copy .lead { margin-top:16px; max-width:460px; }
.dash-copy .btn.primary i { width:18px; height:18px; }
.dash-mini { display:flex; align-items:center; gap:26px; margin-top:30px; }
.dash-mini > div {
  display:flex; align-items:center; gap:10px;
  font-size:14px; font-weight:600; color:var(--ink-dim); line-height:1.25;
}
.dash-mini > div + div { padding-left:26px; border-left:1px solid var(--line-2); }
.dash-mini .fi {
  width:34px; height:34px; border-radius:9px; display:grid; place-items:center; flex:none;
  background:rgba(99,102,241,.14); border:1px solid rgba(99,102,241,.3); color:#a9a2ff;
}
.dash-mini .fi i { width:17px; height:17px; }

.dash-visual { position:relative; display:flex; justify-content:center; align-items:center; }
.dash-visual::before {
  content:""; position:absolute; z-index:0; left:50%; top:58%;
  width:78%; aspect-ratio:1; transform:translate(-50%,-50%);
  background:radial-gradient(circle, rgba(108,74,255,.42), rgba(108,74,255,.12) 45%, transparent 70%);
  filter:blur(18px);
}
.dash-visual img {
  position:relative; z-index:1; width:100%; max-width:440px; height:auto;
  filter:drop-shadow(0 40px 70px rgba(0,0,0,.55));
}

.stat-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; position:relative; z-index:1; }
.stat {
  display:flex; flex-direction:column; align-items:flex-start; text-align:left; gap:8px; padding:26px 26px 24px;
  border:1px solid var(--line); border-radius:20px; position:relative; overflow:hidden;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(108,74,255,.16), transparent 46%),
    var(--bg-card);
  transition:border-color .25s, transform .25s;
}
.stat:hover { border-color:rgba(124,92,255,.4); transform:translateY(-4px); }
.stat .si {
  width:46px; height:46px; border-radius:12px; display:grid; place-items:center; margin-bottom:8px;
  background:rgba(99,102,241,.14); border:1px solid rgba(99,102,241,.3); color:#a9a2ff;
}
.stat .si i { width:23px; height:23px; }
.stat h4 { font-size:15.5px; font-weight:500; color:var(--ink-dim); letter-spacing:0; }
.stat b { font-size:clamp(30px,3.4vw,40px); font-weight:700; letter-spacing:-.03em; line-height:1; margin-top:2px; }
.stat p { font-size:13.5px; color:var(--ink-mute); margin-top:4px; }
.stat p em { font-style:normal; font-weight:700; color:#34d399; margin-right:6px; }

.chip-row span i { width:15px; height:15px; vertical-align:-2px; margin-right:6px; color:var(--ink-mute); }

@media (max-width:980px) {
  .dash-hero { grid-template-columns:1fr; gap:8px; margin-bottom:48px; }
  .dash-copy { text-align:center; }
  .dash-copy .title, .dash-copy .lead { text-align:center; }
  .dash-copy .lead { margin-inline:auto; }
  .dash-copy .btn-row { justify-content:center !important; }
  .dash-mini { justify-content:center; }
  .dash-visual { order:2; margin-top:22px; }
  .stat-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:560px) {
  .stat-grid { grid-template-columns:1fr; }
  .dash-mini { flex-direction:column; gap:14px; align-items:center; }
  .dash-mini > div + div { padding-left:0; border-left:0; }
}

/* ancore menu: evita che il titolo finisca sotto la navbar fissa */
section[id], span[id] { scroll-margin-top: 78px; }

/* logo NexCut completo nella hero */
.hero-title { display:flex; flex-direction:column; align-items:flex-start; gap:6px; }
.hero-logo { flex:none; width:auto; max-width:100%; height:clamp(62px,10.5vw,128px); object-fit:contain; margin-bottom:4px; filter:drop-shadow(0 6px 30px rgba(99,102,241,.35)); }
.hero-title .grad-text { font-size:clamp(40px,6.4vw,84px); font-weight:800; letter-spacing:-.04em; line-height:.98; }
@media (max-width:640px){ .hero-logo { height:clamp(56px,16vw,84px); } }

/* niente scroll orizzontale: cap immagini bleed e glow su mobile */
@media (max-width:640px) {
  .section.bleed-split .device-float img { max-width:min(440px,84vw); }
  .hero-figure.bleed-r img { width:100%; max-width:88vw; margin:10px auto 0; }
  .glow { max-width:80vw; max-height:80vw; }
}

/* =====================================================
   Space Grotesk — peso medium (500) per titoli e testi
   ===================================================== */
body { font-weight: 500; }
h1, h2, h3, h4, h5,
.hero h1, .hero .sub, .section h2.title, .title, .cta-band h2,
.result-row h3, .closing-mark, .nexcut-mark,
.kpi h4, .quote-band, .brand, .nav-cta,
.stat .big, .step .no, .step h3, .card h3, .led h4,
.hero-title .grad-text, .badge-k, .btn {
  font-weight: 500;
}

/* =====================================================
   ICONE LUCIDE (open source) — sostituiscono le emoji
   ===================================================== */
.fi i, .ico i, .ki i, .fico i, .tri i { display: inline-flex; }
.fi svg, .ico svg, .ki svg, .fico svg, .tri svg { stroke-width: 2; display: block; }

/* feature list (.fi box 34px) */
.fi { color: #7c8aff; }
.fi svg { width: 18px; height: 18px; }
.section.light-sec .fi { color: #5b63e6; }

/* card icon (.ico box 46px) */
.ico { color: #8b95ff; }
.ico svg { width: 22px; height: 22px; }
.section.light-sec .ico { color: #5b63e6; }

/* KPI icon (.ki box 46px) */
.ki { color: #8b95ff; }
.ki svg { width: 22px; height: 22px; }

/* flow icon (no box) */
.fico { color: var(--violet); }
.fico svg { width: 30px; height: 30px; }

/* firma tri-color: icone al posto dei pallini (rosso/blu/verde come la grafica) */
.tri span { padding-left: 0; display: inline-flex; align-items: center; gap: 9px; }
.tri span::before { content: none; }
.tri svg { width: 19px; height: 19px; }

/* =====================================================
   SLIDE NUOVE (deck finale) + LAUNCH BANNER
   ===================================================== */

/* griglia icona+label (Human communication) */
.icon-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; margin-top: 26px; position: relative; z-index: 1; }
.icon-grid .it { display: flex; gap: 13px; align-items: flex-start; }
.icon-grid .it b { font-weight: 600; font-size: 15px; }
.icon-grid .it small { display: block; color: var(--ink-dim); font-size: 13px; margin-top: 3px; line-height: 1.4; }

/* CTA a freccia (dalla voce → alla risoluzione) */
.flow-cta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 30px; font-weight: 600; font-size: 14px; letter-spacing: .04em; position: relative; z-index: 1; }
.flow-cta svg { width: 22px; height: 22px; color: var(--green); }
.flow-cta .g { color: var(--green); }

/* card valigie (Semplice, maneggevole, sicura) */
.case-card { border: 1px solid var(--line-2); border-radius: 24px; padding: 30px; display: grid; place-items: center; background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)); min-height: 320px; overflow: hidden; }
.case-card img { width: 100%; max-width: 460px; max-height: 380px; object-fit: contain; }

/* Valigie: solo immagini (niente card), più grandi; titolo al centro */
.case-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 48px; align-items: center; }
.case-showcase .section-head { grid-column: 1 / -1; order: -1; margin-bottom: 6px; }
.case-shot { border: 0; background: none; padding: 0; margin: 0; display: grid; place-items: center; }
.case-shot img {
  width: 100%; max-width: 640px; object-fit: contain;
  filter: drop-shadow(0 34px 64px rgba(0,0,0,.55));
}
@media (max-width: 860px) {
  .case-showcase { grid-template-columns: 1fr; gap: 10px; }
  .case-showcase .section-head { order: 0; margin: 4px 0; }   /* img → titolo → img */
  .case-shot img { max-width: min(560px, 94vw); }
}

/* =====================================================
   HERO — Final validation / Q4 2026 (futuristico)
   ===================================================== */
.launch-hero {
  background:
    radial-gradient(80% 55% at 82% 26%, rgba(124,92,255,.20) 0%, transparent 60%),
    radial-gradient(70% 50% at 12% 8%, rgba(42,139,251,.12) 0%, transparent 55%),
    #05060b;
  padding: 132px 0 70px;
}
.launch-hero .wrap { display: block; position: relative; z-index: 2; }

/* aura viola in alto a destra + griglia tecnica di sfondo */
.hero-aura {
  position: absolute; top: -10%; right: -6%; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,92,255,.30), transparent 62%);
  filter: blur(40px); pointer-events: none; z-index: 0;
  animation: glowpulse 7s ease-in-out infinite;
}
.hero-grid-fx {
  position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 20%, #000 30%, transparent 78%);
          mask-image: radial-gradient(120% 80% at 50% 20%, #000 30%, transparent 78%);
}

.launch-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 54px; align-items: center; position: relative; z-index: 2; }

/* lockup  X | NexCut AI */
.ncai-lockup { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.ncai-lockup .x-badge {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px;
  background: rgba(124,92,255,.10); border: 1px solid rgba(124,92,255,.32);
  box-shadow: 0 0 22px rgba(124,92,255,.25) inset;
}
.ncai-lockup .x-badge img { height: 18px; width: auto; }
.ncai-lockup .bar { width: 1px; height: 26px; background: var(--line-2); }
.ncai-lockup .t { color: #c7ccdb; font-weight: 500; letter-spacing: .04em; font-size: 16px; text-transform: uppercase; }
.ncai-lockup .t b { color: #9b8cff; font-weight: 700; }

.launch-h1 { font-size: clamp(44px, 7.2vw, 92px); font-weight: 700; line-height: .98; letter-spacing: -.035em; }
.launch-sub { font-size: clamp(22px, 3vw, 32px); font-weight: 700; margin-top: 16px; letter-spacing: -.02em; }
.launch-sub .lb { color: #3b9bff; }
.launch-sub .lm { color: #6B65F6; }
.launch-sub .lv { color: #9b6bf6; }
.launch-hero .kicker { color: var(--ink-dim); font-size: 17px; margin-top: 18px; max-width: 440px; line-height: 1.6; }

/* anello Q4 2026 */
.ring-wrap { justify-self: center; position: relative; }
.ring {
  width: min(380px, 82vw); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; position: relative;
  filter: drop-shadow(0 0 60px rgba(124,92,255,.4));
}
/* core glassy + aloni concentrici */
.ring::before {
  content: ""; position: absolute; inset: 16px; border-radius: 50%;
  background: radial-gradient(circle at 50% 36%, #0d0f1e 0%, #07080f 78%);
  box-shadow: inset 0 0 50px rgba(124,92,255,.16), inset 0 0 1px rgba(124,92,255,.5);
}
.ring::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid rgba(124,92,255,.16);
  animation: ringPulse 3.4s ease-in-out infinite;
}
@keyframes ringPulse { 0%,100% { transform: scale(1); opacity: .6; } 50% { transform: scale(1.025); opacity: 1; } }

/* SVG dell'anello */
.ring-svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; z-index: 1; }
.ring-track { fill: none; stroke: rgba(255,255,255,.06); stroke-width: 5; }
.ring-prog {
  fill: none; stroke: url(#ringgrad); stroke-width: 6; stroke-linecap: round;
  stroke-dasharray: 540.35; stroke-dashoffset: 540.35;
  animation: ringDraw 2.2s cubic-bezier(.2,.7,.2,1) .35s forwards;
}
@keyframes ringDraw { to { stroke-dashoffset: 151; } }   /* ~72% */
.ring-ticks {
  fill: none; stroke: rgba(124,92,255,.30); stroke-width: 7;
  stroke-dasharray: .6 9.2; stroke-linecap: round;
  transform-origin: 100px 100px; animation: ringSpin 26s linear infinite;
}
@keyframes ringSpin { to { transform: rotate(360deg); } }
.ring-dot {
  fill: #fff; transform-origin: 100px 100px;
  filter: drop-shadow(0 0 7px #8456F4) drop-shadow(0 0 12px #2A8BFB);
  animation: ringDot 2.2s cubic-bezier(.2,.7,.2,1) .35s both, dotPulse 1.8s ease-in-out 2.6s infinite;
}
@keyframes ringDot { from { transform: rotate(0deg); } to { transform: rotate(259.2deg); } }
@keyframes dotPulse { 0%,100% { opacity: 1; } 50% { opacity: .55; } }

.ring-inner { position: relative; z-index: 2; text-align: center; }
.ring-q { font-size: clamp(34px, 5vw, 50px); font-weight: 600; letter-spacing: -.02em; }
.ring-div { width: 46px; height: 1px; background: var(--line-2); margin: 12px auto; }
.ring-l { color: var(--ink-dim); letter-spacing: .14em; font-size: 13px; text-transform: uppercase; }

@media (prefers-reduced-motion: reduce) {
  .ring-prog { animation: none; stroke-dashoffset: 151; }
  .ring-dot { animation: none; transform: rotate(259.2deg); }
  .ring-ticks, .ring::after { animation: none; }
}

/* prodotto sfumato in background, sotto il blocco testo/ring */
.launch-stage {
  position: relative; margin-top: -210px; display: flex; justify-content: center; z-index: 0; pointer-events: none;
}
.launch-stage .stage-device {
  width: min(310px, 48%); opacity: .42;
  filter: blur(2.2px) drop-shadow(0 30px 60px rgba(0,0,0,.7));
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 72%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 72%, transparent 100%);
}
.launch-stage .stage-line {
  position: absolute; bottom: 10%; left: 50%; transform: translateX(-50%);
  width: min(820px, 96%); height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, #2A8BFB 30%, #8456F4 70%, transparent);
  box-shadow: 0 0 28px 4px rgba(124,92,255,.4); opacity: .5;
  animation: stageGlow 4s ease-in-out infinite;
}
@keyframes stageGlow { 0%,100% { opacity: .35; } 50% { opacity: .65; } }

/* tre pilastri con divisori */
.launch-pillars { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; margin-top: 56px; padding-top: 30px; border-top: 1px solid var(--line); position: relative; z-index: 2; }
.launch-pillars .pil { display: inline-flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 600; }
.launch-pillars .pil svg { width: 19px; height: 19px; }
.launch-pillars .pil.r { color: var(--red); }
.launch-pillars .pil.b { color: var(--blue); }
.launch-pillars .pil.g { color: var(--green); }
.launch-pillars .pil-div { width: 1px; height: 22px; background: var(--line-2); }

@media (max-width: 980px) {
  .icon-grid { grid-template-columns: 1fr; }
  .launch-hero { min-height: auto; padding: 110px 0 56px; }
  .launch-grid { grid-template-columns: 1fr; gap: 38px; }
  .ring-wrap { margin-top: 4px; }
  .launch-stage .stage-device { width: 100%; }
}
@media (max-width: 560px) {
  .launch-pillars { gap: 12px 14px; }
  .launch-pillars .pil { font-size: 14px; }
  .launch-pillars .pil-div { display: none; }
}

/* =====================================================
   ANELLO Q4 — effetto laser / radar
   ===================================================== */
.ring-sweep, .ring-scan {
  position: absolute; inset: 7px; border-radius: 50%; pointer-events: none; z-index: 1;
  mix-blend-mode: screen;
  -webkit-mask: radial-gradient(circle, transparent 38%, #000 60%, #000 97%, transparent 100%);
          mask: radial-gradient(circle, transparent 38%, #000 60%, #000 97%, transparent 100%);
}
/* sweep principale: scia che ruota con bordo luminoso (radar) */
.ring-sweep {
  background: conic-gradient(from 0deg,
    rgba(111,208,255,0) 0deg, rgba(111,208,255,0) 286deg,
    rgba(42,139,251,.18) 320deg, rgba(124,92,255,.55) 352deg, #6fd0ff 359deg, #ffffff 360deg);
  animation: ringSweep 3s linear infinite;
  opacity: .9;
}
/* secondo strato più tenue, controrotante, per profondità */
.ring-scan {
  background: conic-gradient(from 0deg,
    rgba(124,92,255,0) 0deg, rgba(124,92,255,0) 320deg,
    rgba(124,92,255,.22) 348deg, rgba(160,120,255,.4) 360deg);
  animation: ringSweepRev 6.5s linear infinite; opacity: .5;
}
@keyframes ringSweep { to { transform: rotate(360deg); } }
@keyframes ringSweepRev { to { transform: rotate(-360deg); } }

/* tip laser più intenso */
.ring-dot {
  filter: drop-shadow(0 0 6px #ffffff) drop-shadow(0 0 12px #6fd0ff) drop-shadow(0 0 20px #2A8BFB);
}

@media (prefers-reduced-motion: reduce) {
  .ring-sweep, .ring-scan { animation: none; opacity: .25; }
}

/* ============================================================
   v14 — REDESIGN: dark continuo, tubelight nav, container-scroll,
   spotlight cards, status badge, scrolling story, motion footer
   ============================================================ */

/* ----- override: tutte le sezioni "chiare" diventano dark ----- */
.section [style*="#11131c"] { color: var(--ink) !important; }
.section [style*="#555c70"],
.section [style*="#5a6175"],
.section [style*="#4a5165"] { color: var(--ink-dim) !important; }

/* ----- background animato globale (aurora + grid) ----- */
.bg-fx {
  position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(60% 50% at 80% 0%, rgba(124,92,255,.10), transparent 60%),
    radial-gradient(55% 45% at 10% 30%, rgba(42,139,251,.08), transparent 60%),
    var(--bg);
}
.bg-fx::before {
  content: ""; position: absolute; inset: -20%;
  background-image:
    linear-gradient(rgba(255,255,255,.020) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.020) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 20%, transparent 75%);
          mask-image: radial-gradient(120% 90% at 50% 0%, #000 20%, transparent 75%);
}
.bg-fx::after {
  content: ""; position: absolute; width: 70vw; height: 70vw; left: -10vw; bottom: -25vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108,92,231,.10), transparent 62%);
  filter: blur(30px);
  animation: bgFloat 22s ease-in-out infinite;
}
@keyframes bgFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(12vw, -8vw) scale(1.15); }
}

/* =====================================================
   TUBELIGHT NAVBAR
   ===================================================== */
@media (min-width: 641px) {
  .nav-links {
    position: relative;
    padding: 6px; border-radius: 100px;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--line);
    backdrop-filter: blur(10px);
    gap: 4px;
  }
}
.nav-links a:not(.nav-cta) {
  position: relative; z-index: 2;
  padding: 8px 18px; border-radius: 100px;
  color: var(--ink-dim); transition: color .3s;
}
.nav-links a:not(.nav-cta)::after { display: none; }   /* via la underline vecchia */
.nav-links a.active { color: #fff; }
.nav-tube {
  position: absolute; z-index: 1; top: 6px; bottom: 6px; left: 6px; width: 0;
  border-radius: 100px;
  background: rgba(124,92,255,.16);
  border: 1px solid rgba(124,92,255,.35);
  opacity: 0;
  transition: transform .42s cubic-bezier(.4,.2,.2,1), width .42s cubic-bezier(.4,.2,.2,1), opacity .3s;
}
.nav-tube.show { opacity: 1; }
/* lampada luminosa sopra la pill attiva */
.nav-tube::before {
  content: ""; position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
  width: 60%; height: 5px; border-radius: 100px;
  background: var(--grad);
  box-shadow: 0 0 16px 2px rgba(124,92,255,.7);
}
.nav-tube::after {
  content: ""; position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  width: 80%; height: 22px; border-radius: 50%;
  background: radial-gradient(ellipse at top, rgba(124,92,255,.45), transparent 70%);
  filter: blur(4px);
}

/* =====================================================
   CONTAINER SCROLL — sezione pinned: il tablet sale,
   si centra, poi scorre via (niente sfondo/card)
   ===================================================== */
.cscroll { position: relative; height: 230vh; }
.cscroll-stage {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(14px, 2vh, 26px);
  padding: 40px 28px; perspective: 1400px; overflow: clip;
}
.cscroll-head { text-align: center; will-change: transform, opacity; }
.cscroll-kicker { color: var(--ink-dim); font-size: 16px; font-weight: 500; letter-spacing: .02em; }
.cscroll-title { font-size: clamp(30px,5vw,58px); font-weight: 600; letter-spacing: -.03em; line-height: 1.04; margin-top: 8px; }
.cscroll-card {
  position: relative; transform-style: preserve-3d; will-change: transform;
  display: flex; align-items: center; justify-content: center;
  transform: rotateX(30deg) scale(.86) translateY(60px);   /* stato iniziale, guidato dallo scroll via JS */
}
.cscroll-card img,
.cscroll-card video {
  width: auto; max-width: min(560px, 88vw); max-height: 56vh; margin: 0 auto;
  filter: drop-shadow(0 36px 60px rgba(0,0,0,.6));
}
/* video hero: molto più grande e bordi sfumati per fondersi sullo sfondo */
.cscroll-card video {
  max-width: min(1200px, 95vw); max-height: 72vh; filter: none;
  -webkit-mask-image:
    linear-gradient(to right,  transparent 0, #000 13%, #000 87%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 13%, #000 87%, transparent 100%);
          mask-image:
    linear-gradient(to right,  transparent 0, #000 13%, #000 87%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 13%, #000 87%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.cscroll-glow {
  position: absolute; inset: 8% 14%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,92,255,.4), transparent 62%);
  filter: blur(54px);
}
@media (max-width: 640px) {
  .cscroll { height: 190vh; }
  .cscroll-card img { max-height: 46vh; }
  .cscroll-card video { flex: none; width: 290%; max-width: none; max-height: 96vh; }
}

/* =====================================================
   STATUS BADGE (al posto delle pill in alto a destra)
   ===================================================== */
.status-badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .02em;
  padding: 7px 15px 7px 12px; border-radius: 100px; margin-bottom: 18px;
  color: var(--ink-dim);
  background: rgba(124,92,255,.08);
  border: 1px solid rgba(124,92,255,.26);
}
.status-badge .sb-dot {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: #8b7bff; box-shadow: 0 0 0 0 rgba(139,123,255,.5);
  animation: sbPulse 2s ease-out infinite;
}
@keyframes sbPulse {
  0%   { box-shadow: 0 0 0 0 rgba(139,123,255,.55); }
  70%  { box-shadow: 0 0 0 7px rgba(139,123,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(139,123,255,0); }
}
.section-head.center .status-badge { margin-left: auto; margin-right: auto; }
/* le vecchie pill assolute non si vedono più (sostituite via JS) */
.pill { display: none; }

/* =====================================================
   SPOTLIGHT CARDS — luce che segue il mouse
   ===================================================== */
.card, .kpi, .case-card { position: relative; overflow: hidden; }
.card::before, .kpi::before, .case-card::before {
  /* nota: .kpi::before esistente (barra top) resta; aggiungo spotlight su un layer separato */
}
.spotlight-layer {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  border-radius: inherit; opacity: 0; transition: opacity .35s;
  background: radial-gradient(220px circle at var(--mx,50%) var(--my,50%), rgba(124,92,255,.18), transparent 60%);
}
.card:hover .spotlight-layer, .kpi:hover .spotlight-layer, .case-card:hover .spotlight-layer { opacity: 1; }
.card > *:not(.spotlight-layer),
.kpi > *:not(.spotlight-layer),
.case-card > *:not(.spotlight-layer) { position: relative; z-index: 1; }

/* =====================================================
   SCROLLING STORY — il tablet cambia mentre scorri (sez. LED)
   ===================================================== */
.story { position: relative; padding: 60px 0; }
.story-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  max-width: var(--maxw); margin: 0 auto; padding: 0 28px; position: relative; z-index: 1;
}
/* colonna sinistra: step in scroll */
.story-text { padding: 16vh 0; }
.story-step {
  min-height: 30vh; display: flex; flex-direction: column; justify-content: center;
  padding: 4vh 0 4vh 26px; border-left: 2px solid var(--line);
  opacity: .3; transition: opacity .4s, border-color .4s;
}
.story-step.active { opacity: 1; border-color: transparent; }
.story-step.active { border-image: var(--grad) 1; }
.story-step .ss-state {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 10px;
}
.story-step .ss-led { width: 11px; height: 11px; border-radius: 50%; box-shadow: 0 0 14px currentColor; }
.story-step h3 { font-size: clamp(24px,3vw,34px); font-weight: 600; letter-spacing: -.02em; }
.story-step p { color: var(--ink-dim); font-size: 16px; line-height: 1.6; margin-top: 8px; max-width: 420px; }
/* colonna destra: visual sticky */
.story-visual { position: relative; }
.story-sticky {
  position: sticky; top: 0; height: 100vh;
  display: flex; align-items: center; justify-content: center;
}
.story-screen {
  position: relative; width: min(440px, 92%); aspect-ratio: 4/5;
  display: grid; place-items: center;
}
.story-screen::before {
  content: ""; position: absolute; inset: 6%; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle, var(--story-glow, rgba(124,92,255,.4)), transparent 62%);
  filter: blur(46px); transition: background .5s;
}
.story-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 1;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.55));
  opacity: 0; transform: scale(.94) translateY(14px);
  transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.2,1);
}
.story-img.active { opacity: 1; transform: none; }
/* immagine per-step: usata solo su mobile (card singole) */
.ss-img { display: none; }

@media (max-width: 900px) {
  /* mobile (interactive scrolling story): il TABLET resta fisso in alto e cambia
     colore; sotto scorrono le descrizioni in parallax (una attiva alla volta). */
  .story { padding: 30px 0 0; }
  .story-grid { display: flex; flex-direction: column; gap: 0; }

  /* tablet sticky in cima, con sfondo che maschera il testo che gli scorre dietro */
  .story-visual {
    order: -1; position: sticky; top: 56px; z-index: 2; height: 46vh;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg) 62%, transparent 100%);
  }
  .story-sticky { position: static; height: 100%; }
  .story-screen { width: min(280px, 66%); }

  /* descrizioni che scorrono sotto */
  .story-text { order: 1; padding: 2vh 0 0; }
  .story-text > .status-badge,
  .story-text > .title { display: none; }   /* su mobile basta lo stato di ogni step */
  .story-step {
    min-height: 54vh; display: flex; flex-direction: column; justify-content: center;
    text-align: center; border-left: 0; padding: 0 18px;
    opacity: .18; transform: translateY(14px); transition: opacity .45s ease, transform .45s ease;
  }
  .story-step.active { opacity: 1; transform: none; border-image: none; }
  .story-step .ss-state { align-self: center; }
  .story-step p { margin-inline: auto; }
  .story-text::after { content: ""; display: block; height: 24vh; }  /* spazio per centrare l'ultimo */
}

/* =====================================================
   MOTION FOOTER — cinematic scroll reveal (easemize)
   aurora + grid + marquee diagonale + logo curtain-reveal
   ===================================================== */
.motion-foot {
  position: relative; overflow: hidden; padding: 70px 0 0; isolation: isolate;
  background: linear-gradient(180deg, var(--bg) 0%, #08040f 60%, #05020a 100%);
  border-top: 1px solid var(--line);
}
/* aurora glow soffusa in alto */
.mf-aurora {
  position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 120%; height: 90%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(45% 60% at 30% 50%, rgba(42,139,251,.22), transparent 70%),
    radial-gradient(45% 60% at 70% 40%, rgba(124,92,255,.28), transparent 70%);
  filter: blur(30px); animation: mfAurora 16s ease-in-out infinite;
}
@keyframes mfAurora { 0%,100% { transform: translateX(-52%) scale(1); opacity: .9; } 50% { transform: translateX(-48%) scale(1.12); opacity: 1; } }
/* griglia tecnica */
.mf-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 100%, #000 30%, transparent 78%);
          mask-image: radial-gradient(120% 80% at 50% 100%, #000 30%, transparent 78%);
}
/* marquee diagonale */
.mf-marquee {
  position: relative; z-index: 1; transform: rotate(-3deg) scale(1.06);
  margin: 6px 0 40px; padding: 12px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(124,92,255,.06), rgba(42,139,251,.06));
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.mf-marquee-track { display: flex; align-items: center; gap: 26px; width: max-content; animation: mfScroll 28s linear infinite; }
.mf-marquee-track span { font-size: clamp(14px,1.6vw,18px); font-weight: 600; letter-spacing: .04em; color: var(--ink-dim); white-space: nowrap; }
.mf-marquee-track span.d { color: var(--violet); }
@keyframes mfScroll { to { transform: translateX(-50%); } }

.mf-top {
  max-width: var(--maxw); margin: 0 auto; padding: 0 28px 40px;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  position: relative; z-index: 2;
}
.mf-top small { color: var(--ink-mute); font-size: 13px; line-height: 1.6; max-width: 360px; }

/* ----- footer strutturato (NexFabric) ----- */
.mf-xbg {
  position: absolute; right: -3%; bottom: -22%; width: min(620px, 58%); height: auto;
  opacity: .045; z-index: 0; pointer-events: none;
  filter: drop-shadow(0 0 40px rgba(124,92,255,.3));
}
.mf-inner {
  display: grid; grid-template-columns: 1.7fr 1fr 1.25fr; gap: 48px;
  padding: 14px 28px 44px; position: relative; z-index: 2;
}
.mf-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.mf-xmark { width: 34px; height: 34px; }
.mf-name { font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.mf-desc { color: var(--ink-dim); font-size: 14px; line-height: 1.65; max-width: 430px; }
.mf-col h5 { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 16px; }
.mf-col ul { list-style: none; display: grid; gap: 10px; }
.mf-col a { color: var(--ink-dim); font-size: 14px; transition: color .2s; }
.mf-col a:hover { color: var(--ink); }
.mf-addr { color: var(--ink-dim); font-size: 14px; line-height: 1.65; margin-bottom: 12px; max-width: 300px; }
.mf-mail { color: var(--ink); font-size: 14px; font-weight: 500; }
.mf-mail:hover { color: var(--violet); }
.mf-bottom {
  max-width: var(--maxw); margin: 0 auto; padding: 22px 28px 34px;
  display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap;
  border-top: 1px solid var(--line); position: relative; z-index: 2;
}
.mf-bottom small { color: var(--ink-mute); font-size: 13px; line-height: 1.6; }
@media (max-width: 860px) {
  .mf-inner { grid-template-columns: 1fr; gap: 30px; }
  .mf-xbg { opacity: .04; width: 70%; }
}

/* logo gigante in curtain-reveal: una tendina lo svela dal basso mentre scorre */
.mf-logo {
  position: relative; z-index: 1;
  display: flex; justify-content: center; align-items: flex-end;
  padding-top: 6px; overflow: hidden;
  /* sfuma il bordo inferiore così "esce" dalla pagina */
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
}
.mf-logo img {
  width: min(1240px, 96vw); height: auto;
  filter: drop-shadow(0 0 70px rgba(124,92,255,.4));
  /* risalita: il logo (con la X a freccia) sale dal basso mentre scorri
     --reveal 0..1 pilotata via JS; il bordo inferiore sfumato lo fa "emergere" */
  --reveal: 0;
  transform: translateY(calc((1 - var(--reveal)) * 60% + 14%));
  opacity: calc(.25 + var(--reveal) * .75);
  will-change: transform, opacity;
}
@media (prefers-reduced-motion: reduce) {
  .mf-logo img { --reveal: 1; transform: translateY(14%); opacity: 1; }
  .mf-marquee-track, .mf-aurora { animation: none; }
}

/* ----- sottotitoli un filo meno bold (richiesta) ----- */
.launch-sub { font-weight: 600; }
.hero .sub { font-weight: 600; }
.section .lead { font-weight: 400; }
.section .lead strong { font-weight: 600; }
.feat-line { font-weight: 500; }
.quote-band { font-weight: 600; }

/* fix: voci menu mobile a piena luminosità (la regola tubelight ha specificità maggiore) */
@media (max-width: 640px) {
  .nav-links a:not(.nav-cta) { color: var(--ink); padding: 0; border-radius: 0; }
}

/* =====================================================
   COUNTDOWN HUD INDUSTRIALE (variante) — lancia X come ago
   ===================================================== */
.hudc {
  --a: -48deg;                                  /* angolo lancia (0% = top) */
  width: min(390px, 84vw); aspect-ratio: 1; position: relative;
  display: grid; place-items: center;
  font-family: 'Space Grotesk', monospace;
  filter: drop-shadow(0 0 60px rgba(124,92,255,.32));
}
/* cornici ad angolo (corner brackets) */
.hudc-cnr { position: absolute; width: 26px; height: 26px; border: 2px solid rgba(124,160,255,.5); pointer-events: none; }
.hudc-cnr.tl { top: 2%; left: 2%; border-right: 0; border-bottom: 0; }
.hudc-cnr.tr { top: 2%; right: 2%; border-left: 0; border-bottom: 0; }
.hudc-cnr.bl { bottom: 2%; left: 2%; border-right: 0; border-top: 0; }
.hudc-cnr.br { bottom: 2%; right: 2%; border-left: 0; border-top: 0; }
/* etichette telemetria */
.hudc-tag {
  position: absolute; font-size: 9.5px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(150,170,220,.62); white-space: nowrap;
  display: flex; align-items: center; gap: 6px;
}
.hudc-tag i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: hudcBlink 1.6s steps(1) infinite; }
@keyframes hudcBlink { 0%,60% { opacity: 1; } 61%,100% { opacity: .25; } }
.hudc-tag.t1 { top: 7%; left: 8%; }
.hudc-tag.t2 { top: 7%; right: 8%; }
.hudc-tag.t3 { bottom: 7%; right: 8%; color: rgba(124,180,255,.8); }
.hudc-tag.t4 { bottom: 7%; left: 8%; }

.hudc-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hudc-hex { fill: none; stroke: rgba(124,160,255,.22); stroke-width: 1; stroke-dasharray: 3 5; }
.hudc-ticks {
  fill: none; stroke: rgba(124,160,255,.4); stroke-width: 6;
  stroke-dasharray: 1.6 11.4; transform-origin: 100px 100px;
  animation: hudcSpin 30s linear infinite;
}
.hudc-ticks2 {
  fill: none; stroke: rgba(124,160,255,.18); stroke-width: 3;
  stroke-dasharray: .8 6.2; transform-origin: 100px 100px;
  animation: hudcSpinRev 44s linear infinite;
}
@keyframes hudcSpin { to { transform: rotate(360deg); } }
@keyframes hudcSpinRev { to { transform: rotate(-360deg); } }
.hudc-track { fill: none; stroke: rgba(255,255,255,.06); stroke-width: 4; }
.hudc-prog {
  fill: none; stroke: url(#ringgrad); stroke-width: 5; stroke-linecap: round;
  stroke-dasharray: 527.79; stroke-dashoffset: 527.79;
  transform: rotate(-90deg); transform-origin: 100px 100px;
  animation: hudcDraw 2.2s cubic-bezier(.2,.7,.2,1) .4s forwards;
}
@keyframes hudcDraw { to { stroke-dashoffset: 147.8; } }   /* 72% */

/* lancia della X come ago indicatore */
.hudc-lance {
  display: none;   /* lancia nascosta (test) */
  position: absolute; left: 50%; bottom: 50%; height: 38%; width: auto;
  transform-origin: left bottom; transform: rotate(var(--a));
  filter: drop-shadow(0 0 6px rgba(111,208,255,1)) drop-shadow(0 0 16px rgba(42,139,251,.8)) drop-shadow(0 0 26px rgba(124,92,255,.5));
  animation: hudcLance 2.2s cubic-bezier(.2,.7,.2,1) .4s both, hudcLanceIdle 4s ease-in-out 2.8s infinite;
}
@keyframes hudcLance { from { transform: rotate(-48deg); } to { transform: rotate(211.2deg); } }
@keyframes hudcLanceIdle { 0%,100% { transform: rotate(211.2deg); } 50% { transform: rotate(214deg); } }
/* nodo luminoso alla punta dell'arco (circle SVG, coord viewBox) */
.hudc-node {
  fill: #eaf6ff; transform-origin: 100px 100px;
  animation: hudcNode 2.2s cubic-bezier(.2,.7,.2,1) .4s both, hudcNodePulse 1.8s ease-in-out 2.8s infinite;
}
@keyframes hudcNode { from { transform: rotate(0deg); } to { transform: rotate(259.2deg); } }
@keyframes hudcNodePulse { 0%,100% { opacity: 1; } 50% { opacity: .55; } }

/* scan line orizzontale dentro al cerchio */
.hudc-scan {
  position: absolute; inset: 8%; border-radius: 50%; overflow: hidden; pointer-events: none;
  -webkit-mask: radial-gradient(circle, #000 70%, transparent 72%);
          mask: radial-gradient(circle, #000 70%, transparent 72%);
}
.hudc-scan::before {
  content: ""; position: absolute; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(111,208,255,.7), transparent);
  box-shadow: 0 0 12px rgba(111,208,255,.6);
  animation: hudcScan 4s ease-in-out infinite;
}
@keyframes hudcScan { 0% { top: 8%; } 50% { top: 92%; } 100% { top: 8%; } }

/* readout centrale */
.hudc-core { position: relative; z-index: 3; text-align: center; }
.hudc-mini { font-size: 10px; letter-spacing: .32em; color: rgba(150,170,220,.6); margin-bottom: 6px; }
.hudc-q { font-size: clamp(32px, 4.6vw, 48px); font-weight: 600; letter-spacing: .01em; }
.hudc-bar { width: 92px; height: 3px; border-radius: 3px; margin: 12px auto 10px; background: rgba(255,255,255,.1); overflow: hidden; }
.hudc-bar span { display: block; height: 100%; width: 0; background: var(--grad); box-shadow: 0 0 10px rgba(124,92,255,.7); animation: hudcBar 2.2s cubic-bezier(.2,.7,.2,1) .4s forwards; }
@keyframes hudcBar { to { width: 72%; } }
.hudc-l { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-dim); }

@media (prefers-reduced-motion: reduce) {
  .hudc-prog { animation: none; stroke-dashoffset: 147.8; }
  .hudc-lance { animation: none; transform: rotate(211.2deg); }
  .hudc-node { animation: none; transform: rotate(259.2deg); }
  .hudc-ticks, .hudc-ticks2, .hudc-scan::before, .hudc-bar span { animation: none; }
  .hudc-bar span { width: 72%; }
}

/* ============================================================
   v35 — LINGUAGGIO VISIVO GLOBAL (07/2026)
   Portato dal redesign nexfabric-global: blending tra sezioni,
   stat luminose, timeline a nodi, card STATO, flowchart causale,
   chip con icone, quote card.
   ============================================================ */
:root { --font-mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace; }

/* ---------- SECTION BLENDING : fondo UNIFORME, blob che sconfinano ---------- */
/* niente tint per-sezione né pool ai bordi: le sezioni non si distinguono,
   la continuità la danno i blob-glow che sconfinano (section overflow:visible). */
.section:nth-of-type(even),
.section:nth-of-type(odd) { background: transparent !important; }
.section > .wrap { position: relative; z-index: 1; }

/* Kit NexCut — badge "installazione plug-and-play in meno di due ore" */
.kit-badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px;
  padding: 11px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #dfe6ff;
  border: 1px solid rgba(140,120,255,.4); background: rgba(120,110,255,.1);
  box-shadow: 0 0 30px -12px rgba(120,110,255,.7); }
.kit-badge i, .kit-badge svg { width: 18px; height: 18px; color: #9fb1ff; flex: none; }

/* ---------- LAUNCH PILLARS : tricolore luminoso ---------- */
.launch-pillars { border-top: 0; gap: 24px 30px; }
.launch-pillars .pil { font-size: clamp(17px,2vw,21px); font-weight: 700; letter-spacing: -.01em;
  text-shadow: 0 2px 20px rgba(0,0,0,.7); }
.launch-pillars .pil svg { width: 22px; height: 22px; filter: drop-shadow(0 0 9px currentColor); }
@media (max-width:760px) {
  .launch-pillars { flex-direction: column; align-items: flex-start; width: fit-content;
    margin-inline: auto; gap: 18px; }
  .launch-pillars .pil { font-size: 18px; }
}

/* ---------- NSTATS : icona | numero grande | testo (card glow) ---------- */
.nstats { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px;
  position: relative; z-index: 1; }
.nstat { position: relative; display: flex; align-items: center; gap: 20px;
  border-radius: 26px; padding: 34px 26px;
  background: linear-gradient(180deg, rgba(20,24,44,.55), rgba(10,12,24,.85));
  border: 1px solid rgba(106,120,255,.32);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02), 0 24px 60px -30px rgba(0,0,0,.8),
    0 0 44px -18px rgba(84,96,255,.32); }
.nstat:nth-child(2) { border-color: rgba(140,100,255,.38); box-shadow: inset 0 0 0 1px rgba(255,255,255,.02), 0 24px 60px -30px rgba(0,0,0,.8), 0 0 44px -18px rgba(140,100,255,.35); }
.nstat:nth-child(3) { border-color: rgba(164,86,244,.42); box-shadow: inset 0 0 0 1px rgba(255,255,255,.02), 0 24px 60px -30px rgba(0,0,0,.8), 0 0 44px -18px rgba(164,86,244,.38); }
.nstat .ni { flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.045); border: 1px solid var(--line-2); color: #9fb1ff; }
.nstat:nth-child(2) .ni { color: #b9a5ff; }
.nstat:nth-child(3) .ni { color: #c08cff; }
.nstat .ni svg { width: 24px; height: 24px; }
.nstat .ndiv { flex: none; width: 1px; align-self: stretch; background: var(--line-2); }
.nstat .nn { flex: none; min-width: 1.1ch; text-align: center; font-family: var(--font);
  font-size: clamp(46px,4.6vw,62px); font-weight: 800; letter-spacing: -.04em; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nstat p { color: var(--ink-dim); font-size: 14.5px; line-height: 1.55; margin: 0; }
@media (max-width:900px) {
  .nstats { grid-template-columns: 1fr; gap: 30px; max-width: 520px; margin-inline: auto; }
  .nstat:not(:last-child)::after { content: ""; position: absolute; left: 50%; bottom: -20px;
    width: 9px; height: 9px; border-radius: 50%; transform: translate(-50%,50%);
    background: #6f7cff; box-shadow: 0 0 12px #6f7cff; }
}

/* ---------- FLOW TIMELINE : nodi circolari luminosi ---------- */
.flow.tl { position: relative; margin-top: 36px; }
.flow.tl::before { content: ""; position: absolute; top: 42px; left: 10%; right: 10%; height: 1px; z-index: 0;
  background: linear-gradient(90deg, rgba(96,120,255,0), rgba(96,120,255,.5) 14%,
    rgba(164,86,244,.5) 86%, rgba(164,86,244,0)); }
.flow.tl .flow-step::after { display: none; }
.flow.tl .fico { width: 84px; height: 84px; margin-bottom: 22px; border-radius: 50%; position: relative; z-index: 1;
  background: radial-gradient(circle at 50% 32%, rgba(64,90,255,.18), rgba(9,11,22,.92) 72%);
  border: 1px solid rgba(96,120,255,.5); color: #7fa5ff;
  box-shadow: 0 0 30px -6px rgba(80,110,255,.45), inset 0 0 22px -8px rgba(80,110,255,.35); }
.flow.tl .fico svg { width: 32px; height: 32px; }
.flow.tl .flow-step:nth-child(3) .fico { border-color: rgba(140,100,255,.55); color: #a98bff;
  box-shadow: 0 0 30px -6px rgba(140,100,255,.5), inset 0 0 22px -8px rgba(140,100,255,.4); }
.flow.tl .flow-step:nth-child(4) .fico,
.flow.tl .flow-step:nth-child(5) .fico { border-color: rgba(164,86,244,.6); color: #c08cff;
  box-shadow: 0 0 30px -6px rgba(164,86,244,.5), inset 0 0 22px -8px rgba(164,86,244,.4); }
.flow.tl.three .flow-step:nth-child(2) .fico { border-color: rgba(140,100,255,.55); color: #a98bff;
  box-shadow: 0 0 30px -6px rgba(140,100,255,.5), inset 0 0 22px -8px rgba(140,100,255,.4); }
.flow.tl.three .flow-step:nth-child(3) .fico { border-color: rgba(164,86,244,.6); color: #c08cff;
  box-shadow: 0 0 30px -6px rgba(164,86,244,.5), inset 0 0 22px -8px rgba(164,86,244,.4); }
.flow.tl .flow-step p b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 6px;
  font-family: var(--font); letter-spacing: -.01em; }
@media (max-width:980px) {
  .flow.tl { display: flex; flex-direction: column; align-items: stretch; gap: 40px; max-width: 440px; margin-inline: auto; }
  .flow.tl::before { left: 50%; right: auto; top: 20px; bottom: 20px; width: 1px; height: auto;
    transform: translateX(-.5px);
    background: linear-gradient(180deg, rgba(96,120,255,.55), rgba(164,86,244,.6)); }
  .flow.tl .flow-step { display: grid; grid-template-columns: minmax(0,1fr) 30px minmax(0,1fr); align-items: center;
    text-align: left; padding: 0; }
  .flow.tl .fico { grid-column: 1; grid-row: 1; margin: 0 auto; width: 78px; height: 78px; }
  .flow.tl .flow-step::before { content: ""; grid-column: 2; grid-row: 1; width: 14px; height: 14px;
    margin: 0 auto; border-radius: 50%; background: #fff; border: 4px solid #4a5cff;
    box-shadow: 0 0 14px rgba(96,120,255,.9); box-sizing: border-box; }
  .flow.tl .flow-step:nth-child(n+4)::before,
  .flow.tl.three .flow-step:nth-child(3)::before { border-color: #8456F4; box-shadow: 0 0 14px rgba(164,86,244,.9); }
  .flow.tl .flow-step p { grid-column: 3; grid-row: 1; margin: 0; padding-left: 10px; max-width: none; }
}

/* ---------- STATUS CARD : STATO / risultato con progress ---------- */
.status-card { position: relative; margin-top: 30px; border-radius: 22px; padding: 26px 26px 30px;
  background: linear-gradient(180deg, rgba(16,18,34,.86), rgba(9,10,20,.92));
  border: 1px solid rgba(120,100,255,.28); box-shadow: 0 30px 70px -40px rgba(0,0,0,.9);
  text-align: left; z-index: 1; }
.status-card .k { display: block; font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: #a98bff; margin-bottom: 10px; }
.status-card > p { font-size: clamp(16px,1.8vw,18.5px); font-weight: 600; color: var(--ink);
  line-height: 1.45; margin: 0; max-width: 380px; }
.status-card .spark { position: absolute; top: 20px; right: 20px; width: 150px; height: 84px; opacity: .95; }
@media (max-width:560px) { .status-card .spark { width: 110px; height: 62px; opacity: .6; }
  .status-card > p { max-width: 250px; } }
.steps4 { display: flex; align-items: flex-start; margin-top: 32px; }
.steps4 .st { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 11px;
  position: relative; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em;
  color: var(--ink-dim); font-weight: 600; text-transform: uppercase; text-align: center; }
.steps4 .st:not(:last-child)::after { content: ""; position: absolute; top: 14px;
  left: calc(50% + 22px); right: calc(-50% + 22px); height: 1px; background: var(--line-2); }
.steps4 .dot { width: 29px; height: 29px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.06); border: 1px solid var(--line-2); color: #cfd6ee; box-sizing: border-box; }
.steps4 .dot svg { width: 14px; height: 14px; }
.steps4 .st.done .dot { background: rgba(106,90,244,.25); border-color: rgba(140,110,255,.5); color: #cfc3ff; }
.steps4 .st.now { color: #c08cff; }
.steps4 .st.now .dot { background: transparent; border: 2px solid #8456F4; position: relative;
  box-shadow: 0 0 0 4px rgba(132,86,244,.16), 0 0 22px rgba(132,86,244,.7); }
.steps4 .st.now .dot::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: #8456F4;
  box-shadow: 0 0 10px #8456F4; }

/* ---------- STAT DASHBOARD : glow progressivo blu → viola ---------- */
.stat-grid { gap: 24px; }
.stat { border-radius: 24px;
  background: linear-gradient(180deg, rgba(20,24,44,.55), rgba(10,12,24,.85));
  border: 1px solid rgba(106,120,255,.32);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02), 0 24px 60px -30px rgba(0,0,0,.8),
    0 0 44px -18px rgba(84,96,255,.32); }
.stat:nth-child(3n+2) { border-color: rgba(140,100,255,.38);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02), 0 24px 60px -30px rgba(0,0,0,.8), 0 0 44px -18px rgba(140,100,255,.35); }
.stat:nth-child(3n) { border-color: rgba(164,86,244,.42);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02), 0 24px 60px -30px rgba(0,0,0,.8), 0 0 44px -18px rgba(164,86,244,.38); }
.stat:hover { border-color: rgba(160,140,255,.6); transform: translateY(-4px); }
.stat .si { border-radius: 50%; background: rgba(255,255,255,.045); border: 1px solid var(--line-2); color: #9fb1ff; }
.stat:nth-child(3n+2) .si { color: #b9a5ff; }
.stat:nth-child(3n) .si { color: #c08cff; }
.stat b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- CHIP ROW con icone : card glow ---------- */
.chip-row.icons span { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px;
  font-size: 14px; border-radius: 14px; border: 1px solid rgba(130,120,255,.32);
  background: rgba(10,12,24,.74); color: #c7ccdd;
  box-shadow: 0 0 26px -14px rgba(110,100,255,.45); }
.chip-row.icons span i, .chip-row.icons span svg { width: 17px; height: 17px; color: #8ea0ff; flex: none;
  margin: 0; vertical-align: baseline; }

/* ---------- QUOTE CARD ---------- */
.quote-band.qcard { display: block; max-width: 660px; margin: 70px auto 0; border: 1px solid rgba(140,110,255,.38);
  border-radius: 20px; padding: 36px 32px; background: rgba(8,9,18,.68);
  box-shadow: 0 0 44px -18px rgba(120,90,255,.4); text-align: center;
  font-size: clamp(19px,2.6vw,24px); line-height: 1.5; }

/* ---------- BRAINMAP : flowchart Causal Engine ---------- */
.bmap { position: relative; max-width: 660px; margin: 44px auto 0; padding-right: 58px; z-index: 1; }
.bmap-label { display: block; text-align: center; font-family: var(--font-mono); font-size: 12.5px;
  font-weight: 700; letter-spacing: .24em; color: #57b6ff; text-transform: uppercase; margin-bottom: 16px; }
.bmap-in { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.bmap-in .bin { border: 1px solid rgba(80,150,255,.45); border-radius: 14px; padding: 16px 8px;
  text-align: center; color: #cfe0ff; background: rgba(8,12,26,.6); font-size: 12.5px; line-height: 1.35; }
.bmap-in .bin svg { width: 25px; height: 25px; color: #57b6ff; display: block; margin: 0 auto 9px; }
.bmap-in .bin i { display: block; margin: 0 auto 9px; width: 25px; height: 25px; }
.bmap-v { width: 1px; height: 36px; margin: 0 auto; background: rgba(120,140,255,.5); position: relative; }
.bmap-v::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translate(-50%,50%) rotate(45deg);
  width: 8px; height: 8px; background: #7d8cff; box-shadow: 0 0 10px rgba(125,140,255,.8); }
.bmap-core { border: 2px solid rgba(160,80,255,.85); border-radius: 20px; text-align: center;
  padding: 28px 18px; background: rgba(10,8,22,.78);
  box-shadow: 0 0 46px -12px rgba(150,70,255,.55), inset 0 0 30px -18px rgba(150,70,255,.55); }
.bmap-core h3 { font-size: clamp(28px,3.6vw,38px); margin: 0 0 6px; font-weight: 800; letter-spacing: -.02em; }
.bmap-core p { margin: 0; color: var(--ink-dim); font-size: 15px; }
.bmap-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 38px; }
.bmap-3 .b3 { position: relative; border: 1px solid rgba(80,150,255,.4); border-radius: 14px;
  padding: 18px 10px; text-align: center; font-size: 13.5px; color: #dbe4ff;
  background: rgba(8,12,26,.55); }
.bmap-3 .b3 svg { width: 26px; height: 26px; display: block; margin: 0 auto 9px; color: #6fb0ff; }
.bmap-3 .b3 i { display: block; margin: 0 auto 9px; width: 26px; height: 26px; }
.bmap-3 .b3:nth-child(2) svg { color: #8f9bff; }
.bmap-3 .b3:nth-child(3) svg { color: #b184ff; }
.bmap-3 .b3::before { content: ""; position: absolute; top: -32px; left: 50%; width: 1px; height: 24px;
  background: rgba(120,140,255,.5); }
.bmap-3 .b3::after { content: ""; position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  border: 5px solid transparent; border-top-color: #7d8cff; }
.bmap-causal { position: relative; margin-top: 38px; border: 1px solid rgba(90,110,255,.4);
  border-radius: 18px; padding: 24px 18px; text-align: center; background: rgba(8,10,24,.6); }
.bmap-causal::before { content: ""; position: absolute; top: -32px; left: 50%; width: 1px; height: 24px;
  background: rgba(120,140,255,.5); }
.bmap-causal::after { content: ""; position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  border: 5px solid transparent; border-top-color: #7d8cff; }
.bmap-causal h3 { font-size: 24px; margin: 0 0 16px; font-weight: 800; letter-spacing: -.01em; }
.bmap-cs { display: flex; gap: 8px 10px; justify-content: center; flex-wrap: wrap; align-items: center; }
.bmap-cs .c { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2);
  border-radius: 12px; padding: 9px 12px; font-size: 12.5px; color: #d6ddf5;
  background: rgba(255,255,255,.03); }
.bmap-cs .n { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  font-size: 11px; font-weight: 700; color: #fff; background: #3a4cd8; border: 1px solid #6f83ff; flex: none; }
.bmap-cs .ar { color: #7d8cff; font-weight: 700; }
.bmap-causal small { display: block; margin-top: 15px; color: var(--ink-dim); font-size: 13px; }
.bmap-mach { position: relative; margin-top: 38px; border: 2px solid rgba(160,80,255,.8); border-radius: 20px;
  padding: 24px 22px; display: flex; gap: 18px; align-items: center; background: rgba(10,8,22,.72);
  box-shadow: 0 0 44px -14px rgba(150,70,255,.5); }
.bmap-mach::before { content: ""; position: absolute; top: -32px; left: 50%; width: 1px; height: 24px;
  background: rgba(150,110,255,.55); }
.bmap-mach::after { content: ""; position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  border: 5px solid transparent; border-top-color: #a06bff; }
.bmap-mach svg, .bmap-mach > i { width: 40px; height: 40px; color: #b184ff; flex: none; }
.bmap-mach h3 { margin: 0 0 5px; font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.bmap-mach p { margin: 0; color: var(--ink-dim); font-size: 14px; line-height: 1.5; }
.bmap-rail { position: absolute; right: 16px; top: 24%; bottom: 60px; width: 0;
  border-right: 2px dashed rgba(150,120,255,.5); }
.bmap-rail span { position: absolute; top: 50%; right: -11px; transform: translateY(-50%);
  writing-mode: vertical-rl; font-size: 13px; color: #bda9ff; background: var(--bg); padding: 12px 0;
  letter-spacing: .02em; white-space: nowrap; }
.bmap-rail::before, .bmap-rail::after { content: ""; position: absolute; right: -4px;
  border: 5px solid transparent; border-right-color: #a08cff; }
.bmap-rail::before { top: -2px; transform: rotate(90deg); }
.bmap-rail::after { bottom: -2px; transform: rotate(90deg); }
.bmap-tag { text-align: center; margin-top: 32px; font-family: var(--font-mono); font-size: 14px;
  color: #9c86ff; letter-spacing: .04em; }
@media (max-width:640px) {
  .bmap { padding-right: 34px; }
  .bmap-rail { right: 6px; }
  .bmap-in { grid-template-columns: repeat(2,1fr); }
  .bmap-3 { gap: 8px; }
  .bmap-3 .b3 { font-size: 12px; padding: 14px 6px; }
}

/* titoli nei rami del flowchart */
.bmap-3 .b3 b { display: block; color: var(--ink); font-weight: 700; margin-bottom: 4px; font-size: 13px; letter-spacing: .02em; }
.bmap-3 .b3 br { display: none; }

/* ============================================================
   v35b — ALTRI SCHEMI (tri panorama, hub, catena gate, chips numerate)
   ============================================================ */

/* ---------- TRI : panoramica 3 nodi nel hero ---------- */
.tri{ position:relative; max-width:1080px; margin:26px auto 0; aspect-ratio:1200/520; z-index:2; }
.tri > svg.tri-lines{ position:absolute; inset:0; width:100%; height:100%; display:block; }
.tri .tn-c{ position:absolute; width:clamp(64px,7.6vw,94px); aspect-ratio:1; border-radius:50%;
  display:grid; place-items:center; transform:translate(-50%,-50%);
  background:radial-gradient(circle at 50% 32%, rgba(255,255,255,.05), rgba(6,8,16,.88) 72%); }
.tri .tn-c svg{ width:40%; height:40%; }
.tri .tn-c::after{ content:""; position:absolute; top:9%; right:9%; width:11px; height:11px;
  border-radius:50%; background:currentColor; box-shadow:0 0 12px currentColor; }
.tri .tn-c.r{ left:30.7%; top:30.4%; color:#ff5560; border:1.5px solid rgba(255,85,96,.7);
  box-shadow:0 0 38px -6px rgba(255,85,96,.55), inset 0 0 26px -10px rgba(255,85,96,.4); }
.tri .tn-c.b{ left:69.3%; top:28.5%; color:#3f95ff; border:1.5px solid rgba(63,149,255,.7);
  box-shadow:0 0 38px -6px rgba(63,149,255,.55), inset 0 0 26px -10px rgba(63,149,255,.4); }
.tri .tn-c.g{ left:50%; top:76.5%; color:#2fd575; border:1.5px solid rgba(47,213,117,.7);
  box-shadow:0 0 38px -6px rgba(47,213,117,.55), inset 0 0 26px -10px rgba(47,213,117,.4); }
.tri .tn-label{ position:absolute; transform:translateY(-50%); font-weight:700;
  font-size:clamp(15px,1.65vw,22px); line-height:1.3; letter-spacing:-.01em; max-width:210px;
  text-shadow:0 2px 18px rgba(0,0,0,.7); }
.tri .tn-label.r{ right:76%; top:30.4%; color:#ff6570; text-align:right; max-width:150px; }
.tri .tn-label.b{ left:76%; top:28.5%; color:#4b9bff; max-width:150px; }
.tri .tn-label.g{ left:55.6%; top:76.5%; color:#35d97e; }
.tri-hero .launch-pillars{ display:none; }
@media (max-width:760px){
  .tri{ margin-top:30px; }
  .tri .tn-c{ width:clamp(46px,13.5vw,64px); }
  .tri .tn-c::after{ width:7px; height:7px; }
  .tri .tn-label{ font-size:clamp(12px,3.4vw,14px); max-width:110px; }
  .tri .tn-label.r{ right:77.5%; }
  .tri .tn-label.b{ left:77.5%; }
  .tri .tn-label.g{ left:60.5%; }
}

/* ---------- HUB : componenti del kit attorno al nucleo ---------- */
.hub{ position:relative; max-width:820px; margin:56px auto 0; border:1px solid var(--line);
  border-radius:28px; padding:42px 28px 32px;
  background:linear-gradient(180deg, rgba(14,16,30,.5), rgba(8,9,18,.72)); }
.hub-top{ display:grid; grid-template-columns:1fr 1fr; gap:min(16vw,170px); position:relative; z-index:1; }
.hub-card{ position:relative; border-radius:18px; padding:24px 18px; text-align:center;
  background:rgba(10,14,28,.8); border:1px solid rgba(70,130,255,.5);
  box-shadow:0 0 34px -14px rgba(70,130,255,.5); }
.hub-card.v{ border-color:rgba(150,90,255,.5); box-shadow:0 0 34px -14px rgba(150,90,255,.5); }
.hub-card .hi{ display:grid; place-items:center; width:44px; height:44px; margin:0 auto 12px; color:#6fa6ff; }
.hub-card.v .hi{ color:#b184ff; }
.hub-card .hi svg{ width:30px; height:30px; }
.hub-card h3{ font-size:19px; font-weight:700; margin:0 0 8px; letter-spacing:-.01em; }
.hub-card p{ font-size:13.5px; color:var(--ink-dim); line-height:1.5; margin:0; }
.hub-card::before{ content:""; position:absolute; bottom:-30px; left:50%; width:1px; height:30px;
  background:linear-gradient(180deg, rgba(90,130,255,.7), rgba(90,130,255,.15)); }
.hub-card::after{ content:""; position:absolute; bottom:-14px; left:50%; transform:translateX(-50%);
  width:8px; height:8px; border-radius:50%; background:#5e8bff; box-shadow:0 0 12px #5e8bff; }
.hub-card.v::before{ background:linear-gradient(180deg, rgba(160,100,255,.7), rgba(160,100,255,.15)); }
.hub-card.v::after{ background:#a06bff; box-shadow:0 0 12px #a06bff; }
.hub-core{ position:relative; z-index:2; width:min(200px,54vw); aspect-ratio:1; margin:30px auto;
  border-radius:50%; display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:9px; background:radial-gradient(circle at 50% 30%, #151831, #090a14 72%);
  border:1px solid rgba(140,110,255,.5);
  box-shadow:0 0 60px -16px rgba(120,90,255,.5), inset 0 0 40px -20px rgba(120,90,255,.5); }
.hub-core img{ height:28px; width:auto; }
.hub-core span{ font-size:13px; color:var(--ink-dim); font-family:var(--font-mono); letter-spacing:.02em; }
.hub-minis{ display:grid; grid-template-columns:1fr 1fr; gap:20px 24px; max-width:540px;
  margin:26px auto 0; position:relative; z-index:1; }
.hub-mini{ position:relative; border:1px dashed rgba(255,255,255,.22); border-radius:16px;
  padding:20px 14px 18px; text-align:center; color:var(--ink-dim); background:rgba(255,255,255,.02);
  font-size:14px; font-weight:600; font-family:var(--font-mono); }
.hub-mini .hi{ display:grid; place-items:center; margin:0 auto 10px; color:#8f96b8; }
.hub-mini .hi svg{ width:22px; height:22px; }
.hub-mini::before{ content:""; position:absolute; top:-21px; left:50%; height:20px;
  border-left:1px dashed rgba(160,150,255,.35); }
.hub-mini::after{ content:""; position:absolute; top:-24px; left:50%; transform:translateX(-50%);
  width:6px; height:6px; border-radius:50%; background:#7d78c0; box-shadow:0 0 8px #7d78c0; }
.hub-note{ text-align:center; color:var(--ink-dim); font-size:14.5px; line-height:1.6;
  margin:30px auto 0; max-width:480px; }
.hub-note b{ color:#a4b6ff; }
@media (max-width:620px){
  .hub{ padding:32px 16px 26px; }
  .hub-top{ gap:26px; }
  .hub-minis{ gap:16px; }
}

/* ---------- VCHAIN : catena di verifiche → gate luminoso ---------- */
.vchain{ position:relative; margin-top:24px; max-width:440px; }
.vchain::before{ content:""; position:absolute; left:19px; top:20px; bottom:26px; width:1px;
  background:linear-gradient(180deg, rgba(96,120,255,.55), rgba(59,130,246,.65)); }
.vchain .vc{ position:relative; display:flex; align-items:center; gap:14px; padding:9px 0;
  color:var(--ink-dim); font-size:14.5px; font-weight:600; }
.vchain .vc .vi{ flex:none; width:38px; height:38px; border-radius:50%; display:grid; place-items:center;
  background:radial-gradient(circle at 50% 32%, rgba(64,90,255,.2), rgba(9,11,22,.94) 72%);
  border:1px solid rgba(96,120,255,.5); color:#7fa5ff;
  box-shadow:0 0 18px -4px rgba(80,110,255,.45); position:relative; z-index:1; }
.vchain .vc .vi svg{ width:17px; height:17px; }
.vchain .vc.gate{ margin-top:14px; border:1px solid rgba(59,130,246,.5); border-radius:16px;
  padding:14px 16px; background:rgba(8,12,26,.72); color:var(--ink);
  box-shadow:0 0 34px -12px rgba(59,130,246,.55); }
.vchain .vc.gate .vi{ border-color:rgba(59,130,246,.85); color:#8ec5ff;
  box-shadow:0 0 22px rgba(59,130,246,.6); }
.vchain .vc.gate small{ display:block; font-weight:500; color:var(--ink-dim); margin-top:2px; }

/* chips numerate riusabili fuori dal flowchart */
.bmap-cs.inline{ justify-content:flex-start; margin-top:26px; position:relative; z-index:1; }
.section.bleed-split .hub{ margin:56px auto 76px; width:min(820px, calc(100% - 36px)); }

/* ---------- DASH PHONE : prospettiva di sbieco come il render originale ---------- */
.dash-visual img{ transform:perspective(1500px) rotateY(-16deg) rotateX(5deg) rotate(8deg); }

/* ---------- VOICE SECTION : layout come mockup (titolo con icona, card impilate, claim) ---------- */
.voice-head{ display:flex; gap:18px; align-items:flex-start; }
.voice-head .vh-ico{ flex:none; width:62px; height:62px; border-radius:18px; display:grid; place-items:center;
  background:rgba(99,102,241,.14); border:1px solid rgba(120,110,255,.4); color:#a9a2ff;
  box-shadow:0 0 26px -10px rgba(120,100,255,.6); margin-top:6px; }
.voice-head .vh-ico svg{ width:28px; height:28px; }
.voice-head .voice-sub{ color:var(--ink-dim); font-size:16px; margin-top:12px; }
.voice-cards{ display:grid; gap:14px; margin-top:28px; max-width:520px; position:relative; z-index:1; }
.voice-cards .vcard{ display:flex; gap:16px; align-items:center; padding:17px 20px; border-radius:16px;
  border:1px solid rgba(130,130,180,.22);
  background:linear-gradient(180deg, rgba(22,25,42,.6), rgba(12,14,26,.75)); }
.voice-cards .vcard .fi{ flex:none; width:46px; height:46px; border-radius:13px; display:grid; place-items:center;
  background:rgba(99,102,241,.14); border:1px solid rgba(99,102,241,.35); color:#a9a2ff; }
.voice-cards .vcard .fi i, .voice-cards .vcard .fi svg{ width:21px; height:21px; }
.voice-cards .vcard b{ display:block; font-size:16.5px; letter-spacing:-.01em; }
.voice-cards .vcard small{ color:var(--ink-dim); font-size:13.5px; margin-top:3px; display:block; }
.voice-claim{ position:relative; margin-top:36px; padding-left:18px; z-index:1;
  font-family:var(--font); font-weight:800; font-size:clamp(24px,2.6vw,34px);
  line-height:1.14; letter-spacing:.01em; text-transform:uppercase; }
.voice-claim::before{ content:""; position:absolute; left:0; top:7px; bottom:7px; width:3px;
  background:var(--grad); border-radius:2px; }
.voice-claim .g{ display:block; background:var(--grad); -webkit-background-clip:text;
  background-clip:text; color:transparent; }
.voice-arrow{ position:relative; z-index:1; margin-top:26px; width:56px; height:56px; border-radius:50%;
  display:grid; place-items:center; color:#cfd6ee; border:1.5px solid rgba(130,110,255,.55);
  box-shadow:0 0 24px -8px rgba(120,100,255,.7); transition:transform .25s, box-shadow .25s; }
.voice-arrow:hover{ transform:translateX(4px); box-shadow:0 0 34px -8px rgba(120,100,255,.9); }
.voice-arrow i, .voice-arrow svg{ width:22px; height:22px; }

/* telefono dashboard: più contenuto su mobile */
@media (max-width:980px){
  .dash-visual img{ max-width:280px; }
  .dash-visual::before{ width:64%; }
}
/* varianti card: griglia 2 colonne per etichette brevi */
.voice-cards.g2{ grid-template-columns:1fr 1fr; }
.voice-cards .vcard b{ margin:0; }
@media (max-width:560px){ .voice-cards.g2{ grid-template-columns:1fr; } }

/* ---------- VCARD v38: glow progressivo blu -> viola come il resto del sito ---------- */
.voice-cards .vcard{
  border:1px solid rgba(106,120,255,.34);
  background:linear-gradient(180deg, rgba(20,24,44,.55), rgba(10,12,24,.85));
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.02), 0 18px 44px -26px rgba(0,0,0,.8),
    0 0 34px -16px rgba(84,96,255,.4);
}
.voice-cards .vcard:nth-child(3n+2){ border-color:rgba(140,100,255,.4);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.02), 0 18px 44px -26px rgba(0,0,0,.8),
    0 0 34px -16px rgba(140,100,255,.42); }
.voice-cards .vcard:nth-child(3n){ border-color:rgba(164,86,244,.44);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.02), 0 18px 44px -26px rgba(0,0,0,.8),
    0 0 34px -16px rgba(164,86,244,.45); }
.voice-cards .vcard .fi{ background:rgba(255,255,255,.045); border:1px solid var(--line-2);
  color:#9fb1ff; box-shadow:0 0 16px -6px rgba(100,120,255,.5); }
.voice-cards .vcard:nth-child(3n+2) .fi{ color:#b9a5ff; box-shadow:0 0 16px -6px rgba(150,110,255,.55); }
.voice-cards .vcard:nth-child(3n) .fi{ color:#c08cff; box-shadow:0 0 16px -6px rgba(170,100,255,.55); }

/* ---------- XFORK : biforcazione esperimento causale (input -> test -> esiti) ---------- */
.xfork{ position:relative; margin-top:30px; max-width:530px; z-index:1; }
.xf-in{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.xf-in .c{ position:relative; display:flex; align-items:center; gap:9px; justify-content:center;
  border:1px solid rgba(80,150,255,.45); border-radius:13px; padding:13px 10px; font-size:13.5px;
  color:#cfe0ff; background:rgba(8,12,26,.6); font-weight:600; text-align:center; }
.xf-in .c i, .xf-in .c svg{ width:17px; height:17px; color:#57b6ff; flex:none; }
.xf-in .c::after{ content:""; position:absolute; bottom:-26px; left:50%; width:1px; height:26px;
  background:linear-gradient(180deg, rgba(90,130,255,.7), rgba(120,100,255,.25)); }
.xf-core{ position:relative; margin-top:26px; display:flex; gap:14px; align-items:center;
  border:2px solid rgba(160,80,255,.8); border-radius:18px; padding:18px;
  background:rgba(10,8,22,.75); box-shadow:0 0 40px -14px rgba(150,70,255,.55), inset 0 0 26px -16px rgba(150,70,255,.5); }
.xf-core i, .xf-core > svg{ width:30px; height:30px; color:#b184ff; flex:none; }
.xf-core b{ display:block; font-size:17px; letter-spacing:-.01em; }
.xf-core small{ display:block; color:var(--ink-dim); font-size:13px; margin-top:2px; line-height:1.45; }
.xf-out{ display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:30px; }
.xf-out > div{ position:relative; border-radius:15px; padding:16px 14px; background:rgba(8,12,22,.6); }
.xf-out i, .xf-out svg{ width:20px; height:20px; display:block; margin-bottom:8px; }
.xf-out b{ display:block; font-size:14.5px; letter-spacing:-.01em; }
.xf-out small{ display:block; color:var(--ink-dim); font-size:12.5px; margin-top:3px; line-height:1.45; }
.xf-out > div::before{ content:""; position:absolute; top:-30px; left:50%; width:1px; height:22px;
  background:rgba(140,110,255,.5); }
.xf-out > div::after{ content:""; position:absolute; top:-9px; left:50%; transform:translateX(-50%);
  border:5px solid transparent; border-top-color:#a08cff; }
.xf-out .ok{ border:1px solid rgba(47,213,117,.5); box-shadow:0 0 30px -14px rgba(47,213,117,.55); }
.xf-out .ok i, .xf-out .ok svg{ color:#2fd575; filter:drop-shadow(0 0 8px rgba(47,213,117,.8)); }
.xf-out .ko{ border:1px solid rgba(255,105,97,.45); box-shadow:0 0 30px -14px rgba(255,90,90,.5); }
.xf-out .ko i, .xf-out .ko svg{ color:#ff6961; filter:drop-shadow(0 0 8px rgba(255,105,97,.8)); }

/* ============ VANTAGGI IMMEDIATI / Immediate benefits ============ */
.benefits-grid{ display:flex; align-items:center; justify-content:center; gap:26px; margin-top:52px; }
.benefits-col{ flex:1 1 0; max-width:360px; display:flex; flex-direction:column; gap:20px; }
.bcard{ position:relative; display:flex; align-items:center; gap:18px; padding:20px 22px;
  border-radius:var(--radius); background:linear-gradient(180deg,rgba(20,22,34,.72),rgba(12,13,20,.72));
  transition:transform .25s ease, box-shadow .25s ease; }
.bcard::before{ content:""; position:absolute; inset:0; border-radius:inherit; padding:1px;
  background:var(--grad); -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude; opacity:.6; pointer-events:none; }
.bcard:hover{ transform:translateY(-3px); box-shadow:0 18px 40px -22px rgba(90,110,255,.55); }
.bcard .bi{ flex:0 0 auto; width:48px; height:48px; display:grid; place-items:center; border-radius:14px;
  color:#c9d2ff; background:rgba(132,86,244,.14); border:1px solid rgba(132,86,244,.25); }
.bcard .bi svg{ width:24px; height:24px; }
.bcard .bt{ display:flex; flex-direction:column; min-width:0; }
.bcard .bn{ font-size:34px; font-weight:700; line-height:1; letter-spacing:-.02em; color:var(--ink); }
.bcard .bl{ margin-top:6px; font-size:14px; color:var(--ink-dim); }
.benefits-arrow{ flex:0 0 auto; display:grid; place-items:center; color:var(--green); }
.benefits-arrow svg{ width:30px; height:30px; }
.benefits-core{ position:relative; flex:0 0 auto; width:288px; height:288px; display:grid; place-items:center; }
.benefits-core svg{ position:absolute; inset:0; width:100%; height:100%; filter:drop-shadow(0 0 20px rgba(80,120,255,.35)); }
.benefits-core .bc-in{ text-align:center; z-index:1; padding:0 30px; }
.benefits-core .bc-n{ display:block; font-size:62px; font-weight:700; letter-spacing:-.02em; line-height:1; color:var(--ink); }
.benefits-core .bc-l{ display:block; margin-top:12px; font-size:18px; font-weight:500; color:#5aa6ff; line-height:1.3; }
.benefits-chain{ display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:16px;
  margin-top:50px; font-size:21px; font-weight:600; color:var(--ink-dim); }
.benefits-chain b{ color:var(--ink); font-weight:600; }
.benefits-chain .ar{ color:var(--green); font-weight:700; }
@media (max-width:900px){
  .benefits-grid{ flex-direction:column; gap:20px; }
  .benefits-col{ width:100%; max-width:520px; }
  .benefits-arrow{ transform:rotate(90deg); }
  .benefits-core{ width:240px; height:240px; order:0; }
  .benefits-core .bc-n{ font-size:52px; }
}

/* ===== Immediate benefits — effetti dinamici ===== */
@media (prefers-reduced-motion: no-preference){
  /* card in ingresso, scaglionate */
  .benefits.play .bcard{ animation:bcin .6s cubic-bezier(.2,.7,.2,1) both; }
  .benefits.play .benefits-col:first-of-type .bcard:nth-child(1),
  .benefits.play .benefits-col:last-of-type  .bcard:nth-child(1){ animation-delay:.05s; }
  .benefits.play .benefits-col:first-of-type .bcard:nth-child(2),
  .benefits.play .benefits-col:last-of-type  .bcard:nth-child(2){ animation-delay:.18s; }
  .benefits.play .benefits-col:first-of-type .bcard:nth-child(3),
  .benefits.play .benefits-col:last-of-type  .bcard:nth-child(3){ animation-delay:.31s; }
  .benefits.play .benefits-col:first-of-type .bcard:nth-child(4),
  .benefits.play .benefits-col:last-of-type  .bcard:nth-child(4){ animation-delay:.44s; }
  @keyframes bcin{ from{opacity:0; transform:translateY(18px) scale(.98)} to{opacity:1; transform:none} }

  /* anello: si disegna all'ingresso + rotazione lenta continua */
  @keyframes bdraw{ from{stroke-dashoffset:580} to{stroke-dashoffset:0} }
  .benefits.play .benefits-core svg circle{ stroke-dasharray:580; animation:bdraw 1.5s ease both; }
  .benefits-core svg{ animation:bspin 26s linear infinite; transform-origin:50% 50%; }
  @keyframes bspin{ to{transform:rotate(360deg)} }

  /* glow pulsante dietro al cerchio */
  .benefits-core::before{ content:""; position:absolute; inset:-8%; border-radius:50%; z-index:0;
    background:radial-gradient(circle, rgba(90,120,255,.30), transparent 66%);
    animation:bpulse 3.4s ease-in-out infinite; pointer-events:none; }
  @keyframes bpulse{ 0%,100%{opacity:.45; transform:scale(.94)} 50%{opacity:.9; transform:scale(1.06)} }

  /* numero centrale: pop all'ingresso */
  .benefits.play .bc-n{ animation:bpop .7s cubic-bezier(.2,.9,.2,1.3) both; }
  @keyframes bpop{ from{opacity:0; transform:scale(.82)} to{opacity:1; transform:none} }

  /* frecce di flusso animate */
  .benefits-arrow svg{ animation:bnudge 1.8s ease-in-out infinite; }
  @keyframes bnudge{ 0%,100%{transform:translateX(-3px); opacity:.55} 50%{transform:translateX(4px); opacity:1} }
  .benefits-chain .ar{ animation:bnudge 1.8s ease-in-out infinite; }
}
/* z-order dentro al core */
.benefits-core svg{ z-index:1; }
.benefits-core .bc-in{ z-index:2; }

/* ===== Immediate benefits — glow / energia che scorre ===== */
@media (prefers-reduced-motion: no-preference){
  /* bordo card: gradiente che scorre lungo il perimetro */
  .bcard::before{
    background:linear-gradient(115deg,#079FFE,#2A8BFB,#6B65F6,#8456F4,#6B65F6,#2A8BFB,#079FFE);
    background-size:280% 100%;
    animation:bflow 5.5s linear infinite;
    opacity:.8;
  }
  @keyframes bflow{ to{ background-position:280% 0 } }

  /* scia di energia che ruota attorno al cerchio centrale */
  .benefits-core::after{
    content:""; position:absolute; inset:4%; border-radius:50%; z-index:1; pointer-events:none;
    background:conic-gradient(from 0deg,
      transparent 0 60%,
      rgba(90,166,255,.12) 72%,
      rgba(140,190,255,.85) 87%,
      #e2ecff 94%,
      transparent 100%);
    -webkit-mask:radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
            mask:radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
    filter:drop-shadow(0 0 9px rgba(120,170,255,.75));
    animation:benergy 3s linear infinite;
  }
  @keyframes benergy{ to{ transform:rotate(360deg) } }

  /* icone card: alone che respira */
  .bcard .bi{ animation:bibreath 3.6s ease-in-out infinite; }
  @keyframes bibreath{ 0%,100%{ box-shadow:0 0 0 rgba(132,86,244,0) } 50%{ box-shadow:0 0 18px rgba(132,86,244,.45) } }

  /* frecce: pulse di energia verde */
  .benefits-arrow svg{ filter:drop-shadow(0 0 7px rgba(60,220,140,.85)); }
  .benefits-chain .ar{ text-shadow:0 0 10px rgba(60,220,140,.75); }
}

/* ===== Immediate benefits — glow extra sulle card ===== */
@media (prefers-reduced-motion: no-preference){
  .bcard::after{
    content:""; position:absolute; inset:-1px; border-radius:inherit; z-index:-1; pointer-events:none;
    box-shadow:0 0 36px rgba(96,124,255,.30), 0 0 12px rgba(132,86,244,.25);
    animation:bcardglow 4.6s ease-in-out infinite;
  }
  @keyframes bcardglow{ 0%,100%{ opacity:.3 } 50%{ opacity:1 } }
  /* pulsazione a onda: colonna sinistra e destra sfasate per riga */
  .benefits-col:first-of-type .bcard:nth-child(2)::after,
  .benefits-col:last-of-type  .bcard:nth-child(2)::after{ animation-delay:.55s; }
  .benefits-col:first-of-type .bcard:nth-child(3)::after,
  .benefits-col:last-of-type  .bcard:nth-child(3)::after{ animation-delay:1.1s; }
  .benefits-col:last-of-type  .bcard:nth-child(1)::after{ animation-delay:.3s; }
  /* bordo più acceso */
  .bcard::before{ opacity:.95; }
}

/* ===== Kit — titolo "plug and play" con shimmer + glow ===== */
@media (prefers-reduced-motion: no-preference){
  .kit-hero-title .grad-text{
    background-image:linear-gradient(115deg,#079FFE,#2A8BFB,#6B65F6,#8456F4,#6B65F6,#2A8BFB,#079FFE);
    background-size:260% 100%;
    -webkit-background-clip:text; background-clip:text;
    animation:kitshine 4.5s linear infinite;
    filter:drop-shadow(0 0 14px rgba(96,150,255,.5));
  }
  @keyframes kitshine{ to{ background-position:260% 0 } }
  .kit-hero-title{ animation:kittitleglow 3.8s ease-in-out infinite; }
  @keyframes kittitleglow{ 0%,100%{ letter-spacing:0 } 50%{ letter-spacing:.4px } }
}

/* ===== SITE FOOTER — allineato a nexfabric-global ===== */
.site-foot { position: relative; overflow: hidden; border-top: 0;
  padding: 66px 0 40px; background: linear-gradient(180deg, transparent, rgba(42,139,251,.03)); }
.site-foot::before { content:""; position:absolute; left:0; right:0; top:0; height:1px;
  background: linear-gradient(90deg, transparent, rgba(124,92,255,.28), transparent); }
.site-foot .foot-x { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(640px, 70vw); aspect-ratio: 240 / 216;
  background: url(/public/brand/X-white.svg) center/contain no-repeat;
  opacity: .09; pointer-events: none; z-index: 0; }
.site-foot .wrap { position: relative; z-index: 1; }
.site-foot .foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1.4fr; gap: 44px; }
.foot-brand .foot-logo { height: 30px; width: auto; display: block; margin-bottom: 20px; }
.foot-desc { color: var(--ink-dim); max-width: 430px; font-size: 14.5px; line-height: 1.68; }
.foot-col h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-mute); font-family: var(--font-mono, ui-monospace, Menlo, monospace); font-weight: 600; margin: 0 0 15px; }
.foot-col a { display: block; color: var(--ink); font-size: 14.5px; margin-bottom: 9px; transition: color .25s; text-decoration:none; }
.foot-col a:hover { color: #cfe0ff; }
.foot-addr { color: var(--ink-dim); font-size: 14px; line-height: 1.6; margin: 0 0 12px; max-width: 290px; }
.site-foot .foot-bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; gap: 6px 26px; flex-wrap: wrap; align-items: center; }
.site-foot .foot-bottom small { color: var(--ink-mute); font-size: 12.5px; }
@media (max-width: 820px){ .site-foot .foot-grid { grid-template-columns: 1fr; gap: 34px; }
  .site-foot .foot-x { bottom: -20%; opacity: .04; } }
