/* =============================================================================
   Viralux design system
   Estratto da index.html quando il file inline ha superato le 70 KB: a quel punto
   il CSS inline smette di essere un vantaggio (niente cache fra pagine) e diventa
   solo peso duplicato su ogni pagina.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

:root {
  /* Fondi: piu caldi di prima, il nero puro sembrava spento */
  --bg: #06070c;
  --bg-2: #0a0c14;
  --surface: #0e111c;
  --surface-2: #141828;
  --line: #1e2334;
  --line-bright: #2f3750;

  --fg: #edeef6;
  --fg-dim: #a9aec5;
  --fg-mute: #6b7290;

  /* Accenti saturati. Il set precedente era troppo educato per un prodotto
     che vende attenzione: qui serve energia, non sobrieta'. */
  --violet: #7c5cff;
  --violet-hi: #a68bff;
  --cyan: #22e0ee;
  --magenta: #ff3d8b;
  --lime: #b8ff3d;
  --amber: #ffb43d;

  --grad-hot: linear-gradient(100deg, var(--magenta), var(--violet) 48%, var(--cyan));
  --grad-cool: linear-gradient(105deg, #fff 0%, #d3c4ff 30%, var(--violet) 58%, var(--cyan) 100%);

  --maxw: 1200px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 26px;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { margin: 0; line-height: 1.04; letter-spacing: -.035em; font-weight: 800; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.grad { background: var(--grad-cool); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.grad-hot { background: var(--grad-hot); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------------- chrome */

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--fg-dim);
  padding: .42rem .9rem .42rem .62rem;
  border: 1px solid var(--line-bright); border-radius: 999px;
  background: rgba(124, 92, 255, .09);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }

.kicker {
  font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  color: var(--violet-hi);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.6rem; border-radius: var(--r-sm);
  font-size: .94rem; font-weight: 700; letter-spacing: -.01em;
  border: 1px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease), border-color .25s var(--ease), opacity .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--grad-hot); color: #08080e; box-shadow: 0 8px 34px -10px rgba(255, 61, 139, .75); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 48px -10px rgba(255, 61, 139, .95); }
.btn-ghost { border-color: var(--line-bright); color: var(--fg); background: rgba(255,255,255,.025); }
.btn-ghost:hover { border-color: var(--violet); background: rgba(124, 92, 255, .12); transform: translateY(-2px); }
.btn-lg { padding: 1.05rem 2rem; font-size: 1rem; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

.rule { height: 1px; background: linear-gradient(90deg, transparent, var(--line-bright) 18%, var(--line-bright) 82%, transparent); }

/* ---------------------------------------------------------------------- nav */

header.nav {
  position: sticky; top: 0; z-index: 80;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  background: rgba(6, 7, 12, .74);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
header.nav.stuck { border-bottom-color: var(--line); background: rgba(6, 7, 12, .93); }
.nav-in { display: flex; align-items: center; gap: 2rem; height: 70px; }
.logo { display: flex; align-items: center; gap: .6rem; font-weight: 800; letter-spacing: -.04em; font-size: 1.2rem; }
.logo-mark {
  width: 27px; height: 27px; flex: none;
  background: conic-gradient(from 210deg, var(--magenta), var(--violet), var(--cyan), var(--magenta));
  border-radius: var(--r-sm);
  box-shadow: 0 0 24px -4px var(--violet);
  animation: spin 14s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.nav-links { display: flex; gap: 1.8rem; margin-left: auto; font-size: .91rem; color: var(--fg-dim); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--fg); }
.nav-cta { display: flex; gap: .6rem; }
@media (max-width: 940px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .nav-in { gap: 1rem; }
  .nav-cta { margin-left: auto; }
}

/* --------------------------------------------------------------------- hero */

.hero { position: relative; overflow: hidden; padding: 5.5rem 0 4rem; }
#bolt { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
/* Se WebGL manca, questi gradienti devono reggere la scena da soli */
.hero-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 42% 78% at 72% 44%, rgba(124, 92, 255, .22), transparent 66%),
    radial-gradient(ellipse 60% 50% at 30% 30%, rgba(255, 61, 139, .10), transparent 70%),
    linear-gradient(180deg, transparent 54%, var(--bg) 97%),
    linear-gradient(90deg, var(--bg) 2%, rgba(6,7,12,.62) 40%, transparent 66%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 3rem; align-items: center; }
@media (max-width: 1020px) { .hero-grid { grid-template-columns: 1fr; gap: 3.5rem; } }

.hero h1 { font-size: clamp(2.9rem, 6.6vw, 5rem); margin: 1.5rem 0 0; max-width: 15ch; }
.hero .lede { margin-top: 1.5rem; font-size: clamp(1.02rem, 1.7vw, 1.16rem); color: var(--fg-dim); max-width: 52ch; }
.hero-cta { display: flex; gap: .8rem; margin-top: 2.2rem; flex-wrap: wrap; }
.hero-note { margin-top: 1.1rem; font-size: .84rem; color: var(--fg-mute); }

/* -------------------------------------------------------- mockup telefono */
/* Nessuna immagine esterna: il "video" e' un gradiente animato, i chip di
   engagement sono HTML. Cosi' la pagina resta self-contained e la CSP chiusa. */

.phones { position: relative; display: flex; justify-content: center; gap: 1rem; perspective: 1400px; }
.phone {
  position: relative; width: 100%; max-width: 208px; aspect-ratio: 9 / 16;
  border-radius: 22px; overflow: hidden; flex: none;
  border: 1px solid var(--line-bright);
  background: #05060a;
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.03) inset;
  transform: rotateY(-14deg) rotateX(4deg);
  transition: transform .6s var(--ease);
}
.phone:nth-child(2) { transform: translateY(-26px) rotateY(-6deg); z-index: 2; }
.phone:nth-child(3) { transform: rotateY(2deg) rotateX(4deg); }
.phones:hover .phone { transform: rotateY(-4deg) rotateX(0) translateY(0); }
@media (max-width: 620px) { .phone:nth-child(3) { display: none; } }
@media (max-width: 440px) { .phone:nth-child(1) { display: none; } .phone:nth-child(2) { transform: none; max-width: 240px; } }

.phone .frame { position: absolute; inset: 0; }
.phone .frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, transparent 26%, transparent 52%, rgba(0,0,0,.82) 100%);
}
.ph-1 .frame { background: linear-gradient(155deg, #3b1d6e, #7c5cff 42%, #22e0ee 100%); }
.ph-2 .frame { background: linear-gradient(155deg, #5c1030, #ff3d8b 46%, #ffb43d 100%); }
.ph-3 .frame { background: linear-gradient(155deg, #06263a, #22e0ee 44%, #b8ff3d 100%); }
/* grana: rompe il gradiente piatto e lo fa leggere come immagine */
.phone .frame::before {
  content: ""; position: absolute; inset: 0; opacity: .3; mix-blend-mode: overlay;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.09) 0 1px, transparent 1px 3px),
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.4), transparent 45%);
}

.phone .ui { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; padding: .7rem; }
.ph-top { display: flex; align-items: center; gap: .4rem; font-size: .6rem; color: rgba(255,255,255,.9); }
.ph-live { width: 5px; height: 5px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 6px var(--lime); }
.ph-body { margin-top: auto; }
.ph-handle { font-size: .66rem; font-weight: 700; color: #fff; }
.ph-cap { font-size: .6rem; color: rgba(255,255,255,.82); margin-top: .2rem; line-height: 1.35; }
.ph-stats { display: flex; gap: .5rem; margin-top: .5rem; }
.ph-stat {
  font-size: .58rem; font-weight: 700; color: #fff;
  background: rgba(0,0,0,.42); backdrop-filter: blur(6px);
  padding: .16rem .4rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.16);
}

/* ------------------------------------------------------------------ marquee */

.marquee {
  position: relative; overflow: hidden; padding: .9rem 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(124,92,255,.07), rgba(255,61,139,.05), rgba(34,224,238,.07));
  z-index: 3;
}
.marquee-track { display: flex; width: max-content; animation: slide 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee-item {
  display: inline-flex; align-items: center; gap: .8rem;
  padding: 0 1.4rem; font-size: .78rem; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; color: var(--fg-dim); white-space: nowrap;
}
.marquee-item i { font-style: normal; color: var(--violet-hi); }

/* ----------------------------------------------------------------- sections */

section { position: relative; padding: 6.5rem 0; }
.sec-head { max-width: 62ch; margin-bottom: 3.2rem; }
.sec-head h2 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); margin-top: 1rem; }
.sec-head p { margin-top: 1.15rem; color: var(--fg-dim); font-size: 1.05rem; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* --------------------------------------------------------------- tre output */

.outputs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
@media (max-width: 940px) { .outputs { grid-template-columns: 1fr; } }
.out {
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface); display: flex; flex-direction: column;
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.out:hover { border-color: var(--line-bright); transform: translateY(-5px); }
.out-head { padding: 1.5rem 1.5rem 1.2rem; }
.out-tag {
  display: inline-block; font-size: .64rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; padding: .22rem .6rem; border-radius: 999px; margin-bottom: .9rem;
}
.out-video .out-tag { color: var(--violet-hi); background: rgba(124,92,255,.14); }
.out-text  .out-tag { color: var(--cyan);      background: rgba(34,224,238,.12); }
.out-image .out-tag { color: var(--magenta);   background: rgba(255,61,139,.12); }
.out h3 { font-size: 1.28rem; margin-bottom: .6rem; }
.out-head p { font-size: .91rem; color: var(--fg-dim); line-height: 1.6; }
.out-demo { margin-top: auto; padding: 1.2rem 1.5rem 1.5rem; }

/* demo testo: si scrive da sola, un ciclo solo */
.type-demo {
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg);
  padding: .9rem 1rem; font-size: .84rem; min-height: 8.4rem;
}
.type-meta { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .6rem; }
.chip {
  font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .16rem .45rem; border-radius: 4px; border: 1px solid var(--line-bright); color: var(--fg-mute);
}
.chip.on { color: var(--lime); border-color: rgba(184,255,61,.35); background: rgba(184,255,61,.08); }
.type-out { color: var(--fg-dim); line-height: 1.55; }
.type-out .caret { display: inline-block; width: 7px; background: var(--cyan); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* demo video: quattro take verticali, tre smorzati e uno scelto.
   Serve a far vedere la selezione automatica invece di solo raccontarla. */
.takes { display: grid; grid-template-columns: repeat(4, 1fr); gap: .45rem; }
.take {
  position: relative; aspect-ratio: 9 / 16; border-radius: var(--r-sm);
  border: 1px solid var(--line); overflow: hidden; opacity: .34;
  transition: opacity .3s var(--ease), border-color .3s var(--ease);
}
.take::after {
  content: ""; position: absolute; inset: 0; opacity: .3; mix-blend-mode: overlay;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.1) 0 1px, transparent 1px 4px);
}
.tk-a { background: linear-gradient(160deg, #4a3a7a, #1a1230); }
.tk-b { background: linear-gradient(160deg, #7a3a5c, #2a1020); }
.tk-c { background: linear-gradient(160deg, #a68bff, #22e0ee 70%, #08202a); }
.tk-d { background: linear-gradient(160deg, #3a5c7a, #101f2a); }
/* la scelta si vede: e' il punto della card */
.take.pick { opacity: 1; border-color: var(--violet); box-shadow: 0 0 0 1px var(--violet), 0 8px 26px -12px var(--violet); }
.tk-score {
  position: absolute; left: 50%; bottom: .35rem; transform: translateX(-50%);
  font-size: .62rem; font-weight: 800; font-family: ui-monospace, Menlo, monospace;
  padding: .1rem .32rem; border-radius: 4px;
  background: rgba(0,0,0,.55); color: var(--fg-dim); border: 1px solid var(--line-bright);
}
.take.pick .tk-score { color: #08080e; background: var(--lime); border-color: transparent; }

/* demo immagini: 4 riquadri, sono SEGNAPOSTO d'arte, non output reali */
.img-demo { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.img-cell { aspect-ratio: 1; border-radius: var(--r-sm); position: relative; overflow: hidden; border: 1px solid var(--line); }
.img-cell::after {
  content: ""; position: absolute; inset: 0; opacity: .35; mix-blend-mode: overlay;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.1) 0 2px, transparent 2px 5px);
}
.ic-1 { background: radial-gradient(circle at 32% 28%, #ff8fc4, #ff3d8b 42%, #2a0a1c 100%); }
.ic-2 { background: radial-gradient(circle at 68% 32%, #9fe8ff, #22e0ee 40%, #04222c 100%); }
.ic-3 { background: linear-gradient(140deg, #b8ff3d, #2f7a12 65%, #0c1a06); }
.ic-4 { background: linear-gradient(140deg, #cbb8ff, #7c5cff 50%, #150c33); }
.img-note { margin-top: .6rem; font-size: .68rem; color: var(--fg-mute); }

/* ----------------------------------------------------------------- pipeline */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 1020px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.7rem 1.5rem 1.6rem; background: var(--surface); overflow: hidden;
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.step::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: var(--grad-hot); transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.step:hover { border-color: var(--line-bright); transform: translateY(-4px); }
.step:hover::before { transform: scaleX(1); }
.step .num { font-size: .7rem; font-weight: 800; letter-spacing: .16em; color: var(--fg-mute); display: block; margin-bottom: 1rem; }
.step h3 { font-size: 1.15rem; margin-bottom: .65rem; }
.step p { font-size: .89rem; color: var(--fg-dim); line-height: 1.6; }
.step .tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: 1.05rem; }
.tag {
  font-size: .66rem; padding: .2rem .5rem; border-radius: 5px;
  border: 1px solid var(--line-bright); color: var(--fg-mute);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ------------------------------------------------------------- trend engine */

.engine-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 3.5rem; align-items: center; }
@media (max-width: 1020px) { .engine-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.engine-panel {
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface);
  overflow: hidden; font-size: .87rem; box-shadow: 0 30px 80px -50px rgba(0,0,0,.9);
}
.ep-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .85rem 1.15rem; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.025);
}
.ep-title { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; font-size: .88rem; }
.ep-live { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime); animation: pulse 2.4s var(--ease) infinite; }
.ep-meta { font-size: .74rem; color: var(--fg-mute); font-family: ui-monospace, Menlo, monospace; }

.ep-sec { padding: 1.1rem 1.15rem; border-bottom: 1px solid var(--line); }
.ep-label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: .66rem; text-transform: uppercase; letter-spacing: .14em;
  color: var(--fg-mute); font-weight: 800; margin-bottom: .85rem;
}
.ep-label span { letter-spacing: 0; text-transform: none; font-weight: 400; font-family: ui-monospace, Menlo, monospace; }

.sigs { list-style: none; margin: 0; padding: 0; }
.sig { display: flex; align-items: center; gap: .7rem; padding: .42rem 0; font-size: .83rem; }
.sig .src { flex: none; width: 58px; font-size: .65rem; letter-spacing: .04em; font-family: ui-monospace, Menlo, monospace; color: var(--fg-mute); }
.sig .src.tt { color: #ff5c8a; } .sig .src.yt { color: #ff6b6b; }
.sig .src.rd { color: #ff8f4d; } .sig .src.gt { color: #6ea8ff; }
.sig .txt { flex: 1; color: var(--fg-dim); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sig .verdict {
  flex: none; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .12rem .45rem; border-radius: 4px; border: 1px solid var(--line-bright);
  color: var(--fg-mute); font-weight: 800;
}
.sig .verdict.keep { color: var(--cyan); border-color: rgba(34,224,238,.35); background: rgba(34,224,238,.08); }
/* Piu specifico di .rv.in {opacity:1}, che e' definito piu in basso e a parita'
   di specificita' vincerebbe, cancellando lo smorzamento degli scarti. */
.sigs .sig.drop { opacity: .38; }
.sigs .sig.drop .txt { text-decoration: line-through; text-decoration-color: var(--fg-mute); }

.pat { border: 1px solid var(--line-bright); border-radius: var(--r-sm); padding: .9rem 1rem; background: rgba(124,92,255,.06); }
.pat + .pat { margin-top: .6rem; }
.pat h3 { font-size: .92rem; margin-bottom: .7rem; color: var(--violet-hi); }
.pat dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .45rem 1rem; }
@media (max-width: 520px) { .pat dl { grid-template-columns: 1fr; } }
.pat dl div { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.pat dt { font-size: .6rem; text-transform: uppercase; letter-spacing: .12em; color: var(--fg-mute); font-weight: 800; }
.pat dd { margin: 0; font-size: .79rem; color: var(--fg-dim); line-height: 1.4; }
.ep-foot { padding: .8rem 1.15rem; font-size: .78rem; color: var(--fg-mute); background: rgba(255,255,255,.015); }

.quote-card { border: 1px solid var(--line); border-left: 2px solid var(--violet); border-radius: 0 var(--r-md) var(--r-md) 0; padding: 1.4rem 1.6rem; background: var(--surface); margin-top: 1.8rem; }
.quote-card p { font-size: .95rem; color: var(--fg-dim); }
.quote-card b { color: var(--fg); }
.source-legend { display: flex; flex-direction: column; margin-top: 1.6rem; }
.src-row { display: flex; align-items: center; gap: .8rem; padding: .75rem .2rem; border-bottom: 1px solid var(--line); font-size: .9rem; }
.src-row:last-child { border-bottom: 0; }
.src-row .led { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.src-row .nm { font-weight: 700; }
.src-row .st { margin-left: auto; font-size: .73rem; color: var(--fg-mute); font-family: ui-monospace, Menlo, monospace; }

/* ---------------------------------------------------------------- agenzie */

.agency-list { list-style: none; margin: 1.6rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.agency-list li { display: flex; gap: .6rem; font-size: .95rem; color: var(--fg-dim); line-height: 1.5; }
.agency-list .ck { color: var(--cyan); flex: none; font-weight: 800; }

/* Il roster mostra la cosa che conta: un solo segnale, molte voci separate */
.roster { list-style: none; margin: 0; padding: 0; }
.roster li {
  display: flex; align-items: baseline; gap: .7rem;
  padding: .45rem 0; font-size: .84rem; border-bottom: 1px solid var(--line);
}
.roster li:last-child { border-bottom: 0; }
.roster b { flex: none; width: 74px; font-family: ui-monospace, Menlo, monospace; font-size: .8rem; color: var(--violet-hi); }
.roster .rl { flex: 1; color: var(--fg-dim); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.roster .rq { flex: none; font-size: .74rem; color: var(--fg-mute); font-family: ui-monospace, Menlo, monospace; }

/* ------------------------------------------------------------ blocco define */

.define-sec { padding: 3.5rem 0 1.5rem; }
.define { border: 1px solid var(--line); border-left: 2px solid var(--cyan); border-radius: 0 var(--r-md) var(--r-md) 0; padding: 1.8rem 2rem; background: var(--surface); max-width: 78ch; }
.define h2 { font-size: 1.28rem; margin-bottom: .85rem; }
.define .answer { font-size: 1.02rem; color: var(--fg-dim); line-height: 1.7; }
.define .stamp { margin-top: 1rem; font-size: .74rem; color: var(--fg-mute); font-family: ui-monospace, Menlo, monospace; }

/* --------------------------------------------------------------- confronto */

.contrast { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
@media (max-width: 800px) { .contrast { grid-template-columns: 1fr; } }
.panel { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.9rem; background: var(--surface); }
.panel.bad { border-color: #3a1f2c; background: linear-gradient(180deg, rgba(255,61,139,.06), transparent); }
.panel.good { border-color: #1c3a42; background: linear-gradient(180deg, rgba(34,224,238,.07), transparent); }
.panel h3 { font-size: 1.06rem; margin-bottom: 1.15rem; display: flex; align-items: center; gap: .6rem; }
.panel.bad h3 { color: var(--magenta); }
.panel.good h3 { color: var(--cyan); }
.panel ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: .8rem; }
.panel li { display: flex; gap: .7rem; font-size: .94rem; line-height: 1.5; }
.panel li::before { content: ""; flex: none; width: 3px; border-radius: 2px; background: currentColor; opacity: .35; }
.panel.bad li { color: #d99ab8; }
.panel.good li { color: #97dbe4; }

.cmp-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
table.cmp { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .92rem; }
table.cmp th, table.cmp td { padding: .95rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.cmp thead th { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--fg-mute); font-weight: 800; background: rgba(255,255,255,.025); }
table.cmp thead th.us { color: var(--violet-hi); }
table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp td:first-child { color: var(--fg); font-weight: 700; width: 24%; }
table.cmp td { color: var(--fg-dim); }
table.cmp td.us { color: #d3c4ff; background: rgba(124,92,255,.06); }
.cmp-note { margin-top: 1rem; font-size: .82rem; color: var(--fg-mute); }

/* ----------------------------------------------------------------- features */

.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.05rem; }
@media (max-width: 960px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .feat-grid { grid-template-columns: 1fr; } }
.feat { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.7rem 1.5rem; background: var(--surface); transition: border-color .3s var(--ease), background .3s var(--ease); }
.feat:hover { border-color: var(--line-bright); background: var(--surface-2); }
.feat .ic {
  width: 38px; height: 38px; border-radius: var(--r-sm); margin-bottom: 1.1rem;
  display: grid; place-items: center; font-size: 1.05rem;
  background: linear-gradient(140deg, rgba(124,92,255,.25), rgba(34,224,238,.13));
  border: 1px solid var(--line-bright);
}
.feat h3 { font-size: 1.04rem; margin-bottom: .55rem; }
.feat p { font-size: .89rem; color: var(--fg-dim); line-height: 1.6; }

/* ---------------------------------------------------------------- pagamento */

.pay-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; align-items: stretch; }
@media (max-width: 900px) { .pay-flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .pay-flow { grid-template-columns: 1fr; } }
.pay-step { position: relative; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.3rem 1.2rem; background: var(--surface); }
.pay-step .n {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  font-size: .72rem; font-weight: 800; margin-bottom: .8rem;
  background: rgba(124,92,255,.18); color: var(--violet-hi); border: 1px solid var(--line-bright);
}
.pay-step h3 { font-size: .96rem; margin-bottom: .45rem; }
.pay-step p { font-size: .84rem; color: var(--fg-dim); line-height: 1.55; }
.pay-step code { font-family: ui-monospace, Menlo, monospace; font-size: .78rem; color: var(--cyan); }

.chain-row { display: flex; align-items: center; justify-content: center; gap: .5rem; flex-wrap: wrap; margin-top: 2.4rem; }
.chain { display: inline-flex; align-items: center; gap: .45rem; font-size: .82rem; color: var(--fg-dim); padding: .5rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); transition: border-color .25s, color .25s; }
.chain:hover { border-color: var(--line-bright); color: var(--fg); }
.chain .cd { width: 8px; height: 8px; border-radius: 50%; }

/* ------------------------------------------------------------------ pricing */

#pricing { background: linear-gradient(180deg, transparent, rgba(124,92,255,.05) 42%, transparent); }

.promo {
  display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; justify-content: center;
  margin: 0 auto 2.4rem; max-width: 520px;
}
.promo label { font-size: .82rem; color: var(--fg-mute); width: 100%; text-align: center; }
.promo input {
  flex: 1; min-width: 180px; padding: .8rem 1rem; border-radius: var(--r-sm);
  border: 1px solid var(--line-bright); background: var(--surface); color: var(--fg);
  font-family: ui-monospace, Menlo, monospace; font-size: .9rem; letter-spacing: .1em; text-transform: uppercase;
}
.promo input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124,92,255,.18); }
.promo-msg { width: 100%; text-align: center; font-size: .84rem; min-height: 1.3em; }
.promo-msg.ok { color: var(--lime); }
.promo-msg.err { color: var(--magenta); }

.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; align-items: stretch; }
@media (max-width: 1080px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .price-grid { grid-template-columns: 1fr; } }
.plan {
  display: flex; flex-direction: column; position: relative;
  border: 1px solid var(--line); border-radius: var(--r-xl); padding: 1.9rem 1.6rem;
  background: var(--surface); transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.plan:hover { border-color: var(--line-bright); transform: translateY(-4px); }
.plan.featured {
  border-color: rgba(124,92,255,.55);
  background: linear-gradient(180deg, rgba(124,92,255,.13), var(--surface) 52%);
  box-shadow: 0 24px 80px -34px rgba(124,92,255,.85);
}
.plan .badge {
  position: absolute; top: -10px; left: 1.6rem;
  font-size: .64rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
  padding: .28rem .7rem; border-radius: 999px; color: #08080e; background: var(--grad-hot);
}
.plan .pname { font-size: 1.14rem; font-weight: 800; letter-spacing: -.025em; }
.plan .pfor { font-size: .81rem; color: var(--fg-mute); margin-top: .3rem; min-height: 2.6em; }
.plan .amt { display: flex; align-items: baseline; gap: .3rem; margin: 1.25rem 0 .2rem; flex-wrap: wrap; }
.plan .amt .cur { font-size: 1.28rem; font-weight: 700; color: var(--fg-dim); }
.plan .amt .val { font-size: 2.9rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.plan .amt .per { font-size: .84rem; color: var(--fg-mute); }
.plan .was { font-size: .95rem; color: var(--fg-mute); text-decoration: line-through; }
.plan .alt { font-size: .77rem; color: var(--fg-mute); font-family: ui-monospace, Menlo, monospace; }
.plan .quota { margin: 1.3rem 0; padding: .9rem 1rem; border-radius: var(--r-sm); background: rgba(255,255,255,.032); border: 1px solid var(--line); }
.plan .quota .q { display: flex; justify-content: space-between; gap: .5rem; font-size: .84rem; padding: .18rem 0; }
.plan .quota .q b { font-weight: 800; }
.plan .quota .q span { color: var(--fg-mute); }
.plan ul { list-style: none; margin: 0 0 1.7rem; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.plan li { font-size: .86rem; color: var(--fg-dim); display: flex; gap: .55rem; line-height: 1.45; }
.plan li .ck { color: var(--cyan); flex: none; font-weight: 800; }
.plan li.off { color: var(--fg-mute); }
.plan li.off .ck { color: var(--fg-mute); opacity: .5; }
.plan .btn { width: 100%; margin-top: auto; }
.price-note { margin-top: 2rem; text-align: center; font-size: .85rem; color: var(--fg-mute); max-width: 64ch; margin-left: auto; margin-right: auto; }

/* ---------------------------------------------------------------------- faq */

.faq { max-width: 800px; margin: 0 auto; }
details.q { border-bottom: 1px solid var(--line); }
details.q summary {
  list-style: none; cursor: pointer; padding: 1.35rem 2.5rem 1.35rem 0;
  font-size: 1.01rem; font-weight: 700; letter-spacing: -.018em; position: relative; transition: color .2s;
}
details.q summary::-webkit-details-marker { display: none; }
details.q summary:hover { color: var(--violet-hi); }
details.q summary::after {
  content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 400; color: var(--fg-mute); transition: transform .3s var(--ease), color .3s;
}
details.q[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--violet-hi); }
details.q .a { padding: 0 2.5rem 1.5rem 0; color: var(--fg-dim); font-size: .95rem; }

/* -------------------------------------------------------------------- final */

.final {
  border: 1px solid var(--line-bright); border-radius: var(--r-xl);
  padding: 4.5rem 2rem; text-align: center; position: relative; overflow: hidden;
  background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(124,92,255,.2), var(--surface) 70%);
}
.final h2 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); max-width: 18ch; margin: 0 auto; }
.final p { margin: 1.3rem auto 0; color: var(--fg-dim); max-width: 48ch; }
.final .hero-cta { justify-content: center; }

/* ------------------------------------------------------------------- footer */

footer { border-top: 1px solid var(--line); padding: 3.5rem 0 4rem; margin-top: 5rem; }
.foot { display: flex; gap: 3rem; flex-wrap: wrap; justify-content: space-between; }
.foot-brand { max-width: 30ch; }
.foot-brand p { margin-top: 1rem; font-size: .87rem; color: var(--fg-mute); }
.foot-col h4 { font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--fg-mute); margin: 0 0 1rem; font-weight: 800; }
.foot-col a { display: block; font-size: .89rem; color: var(--fg-dim); padding: .28rem 0; transition: color .2s; }
.foot-col a:hover { color: var(--fg); }
.foot-bottom { margin-top: 3.5rem; padding-top: 1.8rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .8rem; color: var(--fg-mute); }

/* ------------------------------------------------------------------- reveal */

.rv { opacity: 0; transform: translateY(22px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
}
