/* ─────────────────────────────────────────────────────────────
   public.css — stylesheet del sito vetrina.
   Tema dark di default, light tramite html.theme-light.
   Tutto modulare, nessun valore hardcoded a livello pagina.
   ───────────────────────────────────────────────────────────── */

:root {
  /* Palette dark */
  --pb-bg:      #0a0e17;
  --pb-bg-2:   #0f1623;
  --pb-bg-3:   #161f30;
  --pb-bd:     rgba(255,255,255,0.08);
  --pb-bd-strong: rgba(255,255,255,0.16);
  --pb-tx-1:   #f1f5f9;
  --pb-tx-2:   #94a3b8;
  --pb-tx-3:   #64748b;
  --pb-acc:    #6366f1;
  --pb-acc-2:  #8b5cf6;
  --pb-glow:   rgba(99,102,241,0.18);
  --pb-pos:    #10b981;
  --pb-neg:    #f43f5e;
  --pb-radius: 12px;
  --pb-radius-lg: 18px;
  --pb-shadow: 0 10px 40px rgba(0,0,0,0.35);
}
html.theme-light {
  --pb-bg:      #f8fafc;
  --pb-bg-2:    #ffffff;
  --pb-bg-3:    #f1f5f9;
  --pb-bd:      rgba(15,23,42,0.10);
  --pb-bd-strong: rgba(15,23,42,0.18);
  --pb-tx-1:    #0f172a;
  --pb-tx-2:    #475569;
  --pb-tx-3:    #94a3b8;
  --pb-shadow:  0 8px 28px rgba(15,23,42,0.08);
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--pb-bg);
  color: var(--pb-tx-1);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.pb-wrap { max-width: 1340px; margin: 0 auto; padding: 0 32px; }
.pb-wrap-tight { max-width: 1080px; margin: 0 auto; padding: 0 32px; }
.pb-wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 760px) { .pb-wrap, .pb-wrap-tight, .pb-wrap-narrow { padding: 0 20px; } }

/* Background mesh — gradient orbs sfocate per dare profondità senza appesantire */
.pb-mesh-bg { position: relative; isolation: isolate; }
.pb-mesh-bg::before, .pb-mesh-bg::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(120px);
  z-index: -1; pointer-events: none; opacity: 0.55;
}
.pb-mesh-bg::before {
  width: 520px; height: 520px;
  background: radial-gradient(circle, #6366f1 0%, transparent 70%);
  top: -10%; left: -8%;
}
.pb-mesh-bg::after {
  width: 480px; height: 480px;
  background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
  top: 20%; right: -10%;
}
html.theme-light .pb-mesh-bg::before, html.theme-light .pb-mesh-bg::after { opacity: 0.18; }

/* Grid pattern overlay */
.pb-grid-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 0%, transparent 70%);
}
html.theme-light .pb-grid-bg {
  background-image:
    linear-gradient(rgba(15,23,42,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,0.06) 1px, transparent 1px);
}

/* Gradient text utility */
.pb-grad-text {
  background: linear-gradient(135deg, var(--pb-tx-1) 0%, var(--pb-acc) 50%, var(--pb-acc-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-fill-color: transparent;
}

/* Glass card */
.pb-glass {
  background: color-mix(in srgb, var(--pb-bg-2) 78%, transparent);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--pb-bd-strong);
}

/* ── Quantum effects ───────────────────────────────────────── */
/* Aurora — gradient lentamente morphante (slow, low-amplitude). Va sotto al
   contenuto hero come "presenza" digitale ambientale. */
.pb-aurora {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
}
.pb-aurora-blob {
  position: absolute; border-radius: 50%;
  filter: blur(110px); opacity: 0.28;
  mix-blend-mode: screen;
  animation: pbAuroraMove 22s ease-in-out infinite;
}
html.theme-light .pb-aurora-blob { opacity: 0.16; }
.pb-aurora-blob.a1 {
  width: 620px; height: 620px; top: -8%; left: -6%;
  background: radial-gradient(circle, #6366f1 0%, transparent 70%);
}
.pb-aurora-blob.a2 {
  width: 540px; height: 540px; top: 30%; right: -10%;
  background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
  animation-delay: -7s;
}
.pb-aurora-blob.a3 {
  width: 480px; height: 480px; bottom: -10%; left: 40%;
  background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
  animation-delay: -14s;
}
@keyframes pbAuroraMove {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(8%, -4%) scale(1.06); }
  66% { transform: translate(-6%, 6%) scale(0.96); }
}

/* Particle network — canvas full overlay nel hero (popolato da JS) */
.pb-particles {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  opacity: 0.72;
}
html.theme-light .pb-particles { opacity: 0.42; }

/* Candle chart — canvas ambient nel background del hero */
.pb-candle-canvas {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  opacity: 0.36;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 78%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 78%, transparent 100%);
}
html.theme-light .pb-candle-canvas { opacity: 0.22; }

/* Quantum counter: digit rolling effect (JS attiva la flicker class) */
.pb-quantum {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
  position: relative;
}
.pb-quantum.flicker {
  animation: pbFlick 60ms steps(2) 3;
}
@keyframes pbFlick {
  0% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.4; transform: translateY(-1px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* 3D tilt card (mouse-driven CSS transform) */
.pb-tilt {
  transform-style: preserve-3d;
  transform: perspective(1400px) rotateX(0deg) rotateY(0deg);
  transition: transform .15s ease-out;
  will-change: transform;
}

/* Mouse parallax containers — leggera deriva dei figli */
.pb-parallax-item {
  transition: transform .25s ease-out;
  will-change: transform;
}

/* Scanline overlay (futuristico, low intensity) */
.pb-scan {
  position: relative;
}
.pb-scan::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(180deg,
      rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px,
      transparent 1px, transparent 4px);
  border-radius: inherit;
}

/* Section divider con linea che "si disegna" su scroll */
.pb-divider-anim {
  height: 1px; max-width: 0;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--pb-acc), transparent);
  transition: max-width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.pb-divider-anim.shown { max-width: 320px; }

/* Pulse halo dietro al CTA primario (refined, low amplitude) */
.pb-cta-halo {
  position: relative; isolation: isolate;
}
.pb-cta-halo::before {
  content: ''; position: absolute; inset: -4px;
  border-radius: inherit; z-index: -1;
  background: linear-gradient(135deg, var(--pb-acc), var(--pb-acc-2));
  opacity: 0; transition: opacity .2s;
  filter: blur(10px);
}
.pb-cta-halo:hover::before { opacity: 0.6; }

/* Numero gigante con "data-stream" decorativo a destra */
.pb-stat-quantum .num {
  position: relative;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -1.5px;
}
.pb-stat-quantum .num::after {
  content: ''; position: absolute;
  right: -14px; top: 12%; bottom: 12%; width: 2px;
  background: linear-gradient(180deg, transparent, var(--pb-acc), transparent);
  opacity: 0.7;
}

/* ── Header ────────────────────────────────────────────────── */
.pb-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--pb-bg) 80%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--pb-bd);
}
.pb-header-inner {
  display: flex; align-items: center; gap: 18px;
  height: 68px;
}
.pb-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 17px; letter-spacing: -0.4px;
  color: var(--pb-tx-1);
}
.pb-logo-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, var(--pb-acc), var(--pb-acc-2));
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 14px;
}
.pb-logo img { height: 28px; width: auto; }
.pb-nav {
  display: flex; gap: 2px; margin-left: auto; align-items: center;
}
.pb-nav a {
  padding: 8px 14px; font-size: 14px; font-weight: 500;
  color: var(--pb-tx-2); border-radius: 8px;
  transition: color .15s, background .15s;
}
.pb-nav a:hover, .pb-nav a.active { color: var(--pb-tx-1); background: var(--pb-bg-3); }
.pb-cta {
  margin-left: 14px;
  padding: 9px 18px; font-size: 14px; font-weight: 600;
  border-radius: 9px; border: 0; cursor: pointer; font-family: inherit;
  background: var(--pb-acc); color: #fff;
  transition: filter .15s, transform .12s;
}
.pb-cta:hover { filter: brightness(1.1); transform: translateY(-1px); }
.pb-cta-ghost {
  background: transparent; color: var(--pb-tx-1);
  border: 1px solid var(--pb-bd-strong);
}
.pb-cta-ghost:hover { background: var(--pb-bg-3); }
.pb-nav-toggle { display: none; background: transparent; border: 0; color: var(--pb-tx-1); padding: 8px; cursor: pointer; }
/* Login/Registrati nel menu mobile: i CTA inline dell'header sono nascosti < 760px,
   quindi su mobile mostriamo questi link dentro al menu a tendina. */
.pb-nav-auth-m { display: none; }

/* Theme toggle (dark ↔ light) */
.pb-theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: transparent;
  color: var(--pb-tx-2);
  border: 1px solid var(--pb-bd-strong);
  border-radius: 9px;
  cursor: pointer;
  margin-left: 14px;
  padding: 0;
  transition: color .14s, border-color .14s, background-color .14s, transform .14s;
}
.pb-theme-toggle:hover {
  color: var(--pb-tx-1);
  border-color: var(--pb-acc);
  background: color-mix(in srgb, var(--pb-acc) 8%, transparent);
}
.pb-theme-toggle:active { transform: scale(0.94); }
.pb-theme-toggle:focus-visible { outline: 2px solid var(--pb-acc); outline-offset: 2px; }
.pb-theme-toggle svg { display: block; }
/* Show sun in dark mode, moon in light mode */
.pb-theme-toggle .pb-theme-icon-moon { display: none; }
html.theme-light .pb-theme-toggle .pb-theme-icon-sun { display: none; }
html.theme-light .pb-theme-toggle .pb-theme-icon-moon { display: block; }

@media (max-width: 760px) {
  .pb-nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
            background: var(--pb-bg-2); border-bottom: 1px solid var(--pb-bd);
            padding: 8px 16px 14px; align-items: stretch; display: none; }
  .pb-nav.open { display: flex; }
  .pb-nav a { padding: 12px 8px; border-radius: 6px; }
  .pb-cta { margin: 8px 0 0; }
  .pb-nav-toggle { display: inline-flex; margin-left: auto; }
  .pb-header-cta-inline { display: none; }
  .pb-nav-auth-m { display: flex; flex-direction: column; gap: 6px; margin-top: 6px;
                   padding-top: 10px; border-top: 1px solid var(--pb-bd); }
  .pb-nav-auth-m a { text-align: center; font-weight: 600; }
  .pb-theme-toggle { align-self: flex-end; margin: 8px 0 0; }
}

/* ── Sections ──────────────────────────────────────────────── */
section { padding: 120px 0; position: relative; }
@media (max-width: 760px) { section { padding: 72px 0; } }
.pb-section-head { text-align: center; margin-bottom: 64px; max-width: 820px; margin-left: auto; margin-right: auto; }
.pb-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--pb-acc); margin-bottom: 16px;
  padding: 6px 14px; border: 1px solid color-mix(in srgb, var(--pb-acc) 30%, transparent);
  border-radius: 999px; background: color-mix(in srgb, var(--pb-acc) 8%, transparent);
}
h1, h2, h3 {
  font-family: 'Inter', system-ui, sans-serif;
  letter-spacing: -0.028em; font-weight: 700;
  color: var(--pb-tx-1); margin: 0;
}
h1 { font-size: clamp(40px, 6.5vw, 88px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 800; }
h2 { font-size: clamp(32px, 4vw, 56px); line-height: 1.08; letter-spacing: -0.03em; }
h3 { font-size: 22px; line-height: 1.32; }
.pb-lead { font-size: 20px; color: var(--pb-tx-2); max-width: 720px; margin: 18px auto 0; line-height: 1.55; }
@media (max-width: 760px) { .pb-lead { font-size: 17px; } }

/* ── Hero (editorial, sober) ───────────────────────────────── */
.pb-hero {
  padding-top: 130px; padding-bottom: 100px;
  position: relative; overflow: hidden;
  background: var(--pb-bg);
}
/* Background editorial: gradiente molto soft top→bottom + hairline orizzontali */
.pb-hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--pb-acc) 4%, transparent) 0%, transparent 35%),
    linear-gradient(180deg, var(--pb-bg) 0%, var(--pb-bg-2) 100%);
}
html.theme-light .pb-hero::before {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--pb-acc) 4%, transparent) 0%, transparent 35%),
    linear-gradient(180deg, var(--pb-bg) 0%, var(--pb-bg-2) 100%);
}
.pb-hero-inner { position: relative; z-index: 1; text-align: center; }
.pb-hero h1 { max-width: 980px; margin: 0 auto; color: var(--pb-tx-1); }
.pb-hero .pb-lead {
  font-size: 19px; max-width: 700px; color: var(--pb-tx-2);
}
.pb-hero-ctas { display: flex; gap: 12px; justify-content: center; margin-top: 38px; flex-wrap: wrap; }
.pb-hero-ctas .pb-cta { padding: 14px 28px; font-size: 15px; font-weight: 600; }
.pb-hero-eyebrow {
  display: inline-block;
  font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2.4px;
  color: var(--pb-tx-3);
  margin-bottom: 22px;
}
.pb-hero-eyebrow b {
  color: var(--pb-acc); font-weight: 700;
}
.pb-hero-trust {
  margin-top: 26px; padding-top: 26px;
  border-top: 1px solid var(--pb-bd);
  max-width: 720px; margin-left: auto; margin-right: auto;
  display: flex; justify-content: center; align-items: center; gap: 24px;
  flex-wrap: wrap;
  font-size: 12px; color: var(--pb-tx-3); letter-spacing: 0.3px;
}
.pb-hero-trust strong { color: var(--pb-tx-2); font-weight: 600; }
.pb-hero-trust .sep { width: 1px; height: 16px; background: var(--pb-bd); }
@media (max-width: 600px) { .pb-hero-trust .sep { display: none; } }

/* ── Stats strip ───────────────────────────────────────────── */
.pb-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0; margin-top: 64px;
  background: var(--pb-bg-2); border: 1px solid var(--pb-bd);
  border-radius: var(--pb-radius-lg); overflow: hidden;
}
.pb-stat { padding: 28px 32px; text-align: center; border-right: 1px solid var(--pb-bd); }
.pb-stat:last-child { border-right: 0; }
.pb-stat-val {
  font-size: 36px; font-weight: 700; color: var(--pb-tx-1);
  letter-spacing: -0.5px; line-height: 1.1;
}
.pb-stat-val small { font-size: 20px; color: var(--pb-tx-2); margin-left: 2px; font-weight: 500; }
.pb-stat-lbl { font-size: 12px; color: var(--pb-tx-3); text-transform: uppercase; letter-spacing: 1px; margin-top: 8px; }
@media (max-width: 760px) {
  .pb-stat { border-right: 0; border-bottom: 1px solid var(--pb-bd); }
  .pb-stat:last-child { border-bottom: 0; }
}

/* ── Bento grid (asimmetric layout per le sezioni feature) ── */
.pb-bento {
  display: grid; gap: 22px;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(220px, auto);
}
.pb-bento-card {
  background: var(--pb-bg-2); border: 1px solid var(--pb-bd);
  border-radius: var(--pb-radius-lg); padding: 32px;
  position: relative; overflow: hidden;
  transition: border-color .25s, transform .25s;
}
.pb-bento-card:hover { border-color: var(--pb-bd-strong); transform: translateY(-4px); }
.pb-bento-card h3 { font-size: 22px; margin-bottom: 10px; }
.pb-bento-card p { color: var(--pb-tx-2); font-size: 15px; line-height: 1.6; margin: 0; }
.pb-bento-card .pb-feat-icon { margin-bottom: 22px; width: 48px; height: 48px; border-radius: 12px; }
.pb-bento-card .pb-feat-icon svg { width: 24px; height: 24px; }
.pb-bento-card.span-2 { grid-column: span 2; }
.pb-bento-card.span-3 { grid-column: span 3; }
.pb-bento-card.span-4 { grid-column: span 4; }
.pb-bento-card.span-6 { grid-column: span 6; }
.pb-bento-card.tall { grid-row: span 2; }
@media (max-width: 980px) {
  .pb-bento { grid-template-columns: repeat(2, 1fr); }
  .pb-bento-card.span-2, .pb-bento-card.span-3, .pb-bento-card.span-4, .pb-bento-card.span-6 { grid-column: span 2; }
}
@media (max-width: 600px) {
  .pb-bento { grid-template-columns: 1fr; }
  .pb-bento-card, .pb-bento-card.span-2, .pb-bento-card.span-3, .pb-bento-card.span-4, .pb-bento-card.span-6 { grid-column: span 1; }
}

/* Bento highlight (carta accent) */
.pb-bento-card.accent {
  background: linear-gradient(135deg, var(--pb-acc) 0%, var(--pb-acc-2) 100%);
  color: #fff; border: 0;
}
.pb-bento-card.accent h3, .pb-bento-card.accent p { color: #fff; }
.pb-bento-card.accent p { opacity: 0.92; }
.pb-bento-card.accent .pb-feat-icon { background: rgba(255,255,255,0.15); color: #fff; }

/* Alternating image-text section */
.pb-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center;
}
.pb-split.reverse .pb-split-text { order: 2; }
@media (max-width: 880px) {
  .pb-split { grid-template-columns: 1fr; gap: 50px; }
  .pb-split.reverse .pb-split-text { order: initial; }
}
.pb-split-text h2 { margin-bottom: 18px; }
.pb-split-text .pb-lead { margin: 0 0 24px; }
.pb-split-img {
  border-radius: var(--pb-radius-lg); overflow: hidden;
  position: relative; aspect-ratio: 4/3;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
  background: var(--pb-bg-3);
}
.pb-split-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pb-split-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,14,23,0.4));
  pointer-events: none;
}
html.theme-light .pb-split-img::after { background: linear-gradient(180deg, transparent 60%, rgba(248,250,252,0.4)); }
.pb-split-img-overlay {
  position: absolute; bottom: 22px; left: 22px; right: 22px; z-index: 1;
  color: #fff; font-size: 13px;
}
.pb-split-features { list-style: none; padding: 0; margin: 26px 0 0; }
.pb-split-features li {
  padding: 12px 0; border-bottom: 1px solid var(--pb-bd);
  display: flex; align-items: flex-start; gap: 12px;
  color: var(--pb-tx-2); font-size: 15.5px; line-height: 1.5;
}
.pb-split-features li svg {
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px;
  color: var(--pb-pos);
}
.pb-split-features li strong { color: var(--pb-tx-1); font-weight: 600; }

/* Headline big — variazione gigante per le sezioni hero secondarie */
.pb-headline-xl {
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 800; letter-spacing: -0.04em; line-height: 0.98;
}

/* ── USPs grid ─────────────────────────────────────────────── */
.pb-usps {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.pb-usp {
  background: var(--pb-bg-2); border: 1px solid var(--pb-bd);
  padding: 28px 26px; border-radius: var(--pb-radius);
  transition: transform .2s, border-color .2s;
}
.pb-usp:hover { transform: translateY(-3px); border-color: var(--pb-bd-strong); }
.pb-usp-icon {
  width: 44px; height: 44px; border-radius: 11px;
  background: linear-gradient(135deg, var(--pb-acc), var(--pb-acc-2));
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; margin-bottom: 18px;
}
.pb-usp-icon svg { width: 22px; height: 22px; }
.pb-usp h3 { margin-bottom: 8px; }
.pb-usp p { color: var(--pb-tx-2); font-size: 15px; margin: 0; line-height: 1.55; }

/* ── Categories tiles ──────────────────────────────────────── */
.pb-cats {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.pb-cat {
  background: var(--pb-bg-2); border: 1px solid var(--pb-bd);
  padding: 26px 24px; border-radius: var(--pb-radius);
  display: flex; flex-direction: column; gap: 8px;
  text-align: left; transition: border-color .2s, transform .2s;
}
.pb-cat:hover { border-color: var(--pb-acc); transform: translateY(-3px); }
.pb-cat-icon { width: 34px; height: 34px; color: var(--pb-acc); margin-bottom: 6px; }
.pb-cat-icon svg { width: 100%; height: 100%; }
.pb-cat-count { font-size: 28px; font-weight: 700; color: var(--pb-tx-1); letter-spacing: -0.5px; }
.pb-cat-lbl { font-size: 14px; color: var(--pb-tx-2); }

/* ── Pricing cards ─────────────────────────────────────────── */
.pb-pricing {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.pb-price-card {
  background: var(--pb-bg-2); border: 1px solid var(--pb-bd);
  padding: 26px 24px; border-radius: var(--pb-radius);
}
.pb-price-card h3 { font-size: 16px; color: var(--pb-tx-2); font-weight: 600; margin-bottom: 12px; }
.pb-price-big { font-size: 32px; font-weight: 700; letter-spacing: -0.5px; color: var(--pb-tx-1); }
.pb-price-big small { font-size: 14px; font-weight: 500; color: var(--pb-tx-2); margin-left: 4px; }
.pb-price-sub { font-size: 13px; color: var(--pb-tx-3); margin-top: 6px; }

/* ── Tables (mercati/costi) ────────────────────────────────── */
.pb-table-wrap {
  border: 1px solid var(--pb-bd); border-radius: var(--pb-radius);
  overflow: hidden; background: var(--pb-bg-2);
}
.pb-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pb-table th, .pb-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--pb-bd); }
.pb-table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: 1px;
                     color: var(--pb-tx-3); font-weight: 600; background: var(--pb-bg-3); }
.pb-table tbody tr:hover { background: var(--pb-bg-3); }
.pb-table tbody tr:last-child td { border-bottom: 0; }
.pb-table td.num, .pb-table th.num { text-align: right; font-variant-numeric: tabular-nums; font-family: ui-monospace, monospace; }
.pb-tag {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.3px;
  background: var(--pb-bg-3); color: var(--pb-tx-2);
}
.pb-tick-bid, .pb-tick-ask, .pb-tick-mid {
  font-family: ui-monospace, monospace; font-weight: 600;
  color: var(--pb-tx-1);
}
.pb-tick-chg { font-weight: 600; }
.pb-tick-chg.up { color: var(--pb-pos); }
.pb-tick-chg.dn { color: var(--pb-neg); }

.pb-tag-forex { background: rgba(99,102,241,0.14); color: #a5b4fc; }
.pb-tag-crypto { background: rgba(245,158,11,0.14); color: #fcd34d; }
.pb-tag-stock { background: rgba(16,185,129,0.14); color: #6ee7b7; }
.pb-tag-index { background: rgba(139,92,246,0.14); color: #c4b5fd; }
.pb-tag-commodity { background: rgba(244,63,94,0.14); color: #fda4af; }

/* ── Filtri (markets/costs) ────────────────────────────────── */
.pb-filterbar {
  display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap;
}
.pb-chip {
  padding: 7px 16px; font-size: 13px; font-weight: 500;
  background: var(--pb-bg-2); color: var(--pb-tx-2);
  border: 1px solid var(--pb-bd); border-radius: 999px;
  cursor: pointer; transition: all .12s; font-family: inherit;
}
.pb-chip:hover { color: var(--pb-tx-1); border-color: var(--pb-bd-strong); }
.pb-chip.active { background: var(--pb-acc); color: #fff; border-color: var(--pb-acc); }
.pb-chip-count { opacity: 0.75; margin-left: 6px; }

/* ── Trust strip (licenze) ─────────────────────────────────── */
.pb-trust {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.pb-trust-card {
  background: var(--pb-bg-2); border: 1px solid var(--pb-bd);
  padding: 18px 22px; border-radius: var(--pb-radius);
  display: flex; align-items: center; gap: 14px;
}
.pb-trust-icon { width: 32px; height: 32px; color: var(--pb-acc); flex-shrink: 0; }
.pb-trust-icon svg { width: 100%; height: 100%; }
.pb-trust-name { font-weight: 600; font-size: 14px; color: var(--pb-tx-1); }
.pb-trust-detail { font-size: 12px; color: var(--pb-tx-2); margin-top: 2px; }

/* ── Long form (legal, about) ──────────────────────────────── */
.pb-longform {
  max-width: 760px; margin: 0 auto;
  color: var(--pb-tx-1); font-size: 16px; line-height: 1.75;
}
.pb-longform h2 { margin-top: 36px; margin-bottom: 14px; font-size: 28px; }
.pb-longform h3 { margin-top: 28px; margin-bottom: 10px; font-size: 20px; }
.pb-longform h4 { margin-top: 22px; margin-bottom: 8px; font-size: 16px; color: var(--pb-tx-1); font-weight: 700; }
.pb-longform p { margin: 0 0 16px; color: var(--pb-tx-2); }
.pb-longform ul, .pb-longform ol { padding-left: 22px; color: var(--pb-tx-2); }
.pb-longform li { margin-bottom: 6px; }
.pb-longform a { color: var(--pb-acc); border-bottom: 1px solid var(--pb-glow); }
.pb-longform a:hover { border-bottom-color: var(--pb-acc); }
.pb-longform blockquote { border-left: 3px solid var(--pb-acc); padding: 6px 16px; margin: 18px 0;
                          color: var(--pb-tx-1); background: var(--pb-bg-2); border-radius: 0 8px 8px 0; }
.pb-longform code { background: var(--pb-bg-3); padding: 1px 6px; border-radius: 4px;
                    font-family: ui-monospace, monospace; font-size: 0.92em; color: var(--pb-tx-1); }
.pb-longform hr { border: 0; border-top: 1px solid var(--pb-bd); margin: 30px 0; }

/* ── Contact form ──────────────────────────────────────────── */
.pb-contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 38px; align-items: start; }
@media (max-width: 760px) { .pb-contact-grid { grid-template-columns: 1fr; gap: 28px; } }
.pb-contact-info p { color: var(--pb-tx-2); margin: 0 0 10px; font-size: 15px; }
.pb-contact-info strong { color: var(--pb-tx-1); display: block; font-size: 13px;
                          text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 4px; }
.pb-form-row { margin-bottom: 14px; }
.pb-form-row input, .pb-form-row textarea {
  width: 100%; background: var(--pb-bg-2); border: 1px solid var(--pb-bd);
  color: var(--pb-tx-1); padding: 11px 14px; border-radius: 8px;
  font-size: 14px; font-family: inherit; outline: none; transition: border-color .12s;
}
.pb-form-row input:focus, .pb-form-row textarea:focus { border-color: var(--pb-acc); box-shadow: 0 0 0 3px var(--pb-glow); }
.pb-form-row textarea { resize: vertical; min-height: 130px; }

/* ── Symbols rotator (homepage marquee) ────────────────────── */
.pb-marquee {
  overflow: hidden; padding: 14px 0; border-block: 1px solid var(--pb-bd);
  background: var(--pb-bg-2); margin-top: 56px;
}
.pb-marquee-track { display: flex; gap: 40px; animation: pbScroll 28s linear infinite; white-space: nowrap; }
.pb-marquee-item { font-size: 14px; color: var(--pb-tx-2); font-family: ui-monospace, monospace; letter-spacing: 0.5px; }
.pb-marquee-item strong { color: var(--pb-tx-1); margin-right: 4px; }
@keyframes pbScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Footer ────────────────────────────────────────────────── */
.pb-footer {
  border-top: 1px solid var(--pb-bd); background: var(--pb-bg-2);
  padding: 56px 0 28px; margin-top: 60px; font-size: 14px; color: var(--pb-tx-2);
}
.pb-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 760px) { .pb-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
.pb-footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--pb-tx-1);
                 margin: 0 0 14px; font-weight: 700; }
.pb-footer ul { list-style: none; padding: 0; margin: 0; }
.pb-footer li { margin-bottom: 8px; }
.pb-footer a:hover { color: var(--pb-tx-1); }
.pb-footer-social { display: flex; gap: 10px; margin-top: 12px; }
.pb-footer-social a {
  width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--pb-bd);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--pb-tx-2); transition: color .12s, border-color .12s;
}
.pb-footer-social a:hover { color: var(--pb-tx-1); border-color: var(--pb-bd-strong); }
.pb-footer-social svg { width: 16px; height: 16px; }
.pb-footer-disclaimer {
  margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--pb-bd);
  font-size: 12px; line-height: 1.7; color: var(--pb-tx-3);
}
.pb-footer-bottom {
  margin-top: 22px; display: flex; justify-content: space-between; gap: 14px;
  font-size: 12px; color: var(--pb-tx-3); flex-wrap: wrap;
}

/* ── Empty / placeholder states ────────────────────────────── */
.pb-empty {
  text-align: center; padding: 60px 24px;
  color: var(--pb-tx-3); font-size: 15px;
  background: var(--pb-bg-2); border: 1px dashed var(--pb-bd); border-radius: var(--pb-radius);
}

/* ─────────────────────────────────────────────────────────────
   COMPONENTI AGGIUNTI v2
   ───────────────────────────────────────────────────────────── */

/* ── Risk warning band (sticky top, sopra header) ──────────── */
.pb-risk {
  background: linear-gradient(90deg, rgba(244,63,94,0.10), rgba(244,63,94,0.06));
  border-bottom: 1px solid rgba(244,63,94,0.22);
  color: var(--pb-tx-2); font-size: 12px; line-height: 1.5;
  padding: 8px 0; text-align: center;
}
.pb-risk strong { color: var(--pb-neg); font-weight: 700; }
.pb-risk a { color: var(--pb-acc); text-decoration: underline; text-underline-offset: 2px; }

/* ── Live ticker (sotto header) ────────────────────────────── */
.pb-ticker {
  background: var(--pb-bg-2); border-bottom: 1px solid var(--pb-bd);
  overflow: hidden; position: relative;
}
.pb-ticker-track {
  display: flex; gap: 36px; padding: 12px 0;
  animation: pbTickerScroll 60s linear infinite;
  white-space: nowrap; min-width: 200%;
}
.pb-ticker:hover .pb-ticker-track { animation-play-state: paused; }
.pb-ticker-item {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-family: ui-monospace, monospace;
  color: var(--pb-tx-2); letter-spacing: 0.3px;
}
.pb-ticker-sym { font-weight: 700; color: var(--pb-tx-1); }
.pb-ticker-val { color: var(--pb-tx-1); }
.pb-ticker-chg { font-weight: 600; font-size: 12px; }
.pb-ticker-chg.up { color: var(--pb-pos); }
.pb-ticker-chg.dn { color: var(--pb-neg); }
@keyframes pbTickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Mega-menu nel header ──────────────────────────────────── */
.pb-nav-mega { position: relative; }
.pb-nav-mega > a { display: inline-flex; align-items: center; gap: 4px; }
.pb-nav-mega > a::after {
  content: ''; width: 5px; height: 5px; margin-left: 4px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px); opacity: 0.7;
}
.pb-mega-panel {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(4px);
  min-width: 540px; background: var(--pb-bg-2); border: 1px solid var(--pb-bd);
  border-radius: var(--pb-radius); padding: 18px; box-shadow: var(--pb-shadow);
  opacity: 0; visibility: hidden; transition: opacity .15s, transform .15s, visibility 0s linear .15s;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; z-index: 100;
}
.pb-nav-mega:hover .pb-mega-panel,
.pb-nav-mega:focus-within .pb-mega-panel {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); transition-delay: 0s;
}
.pb-mega-item {
  display: flex; gap: 10px; padding: 10px; border-radius: 8px;
  align-items: flex-start; transition: background .12s;
}
.pb-mega-item:hover { background: var(--pb-bg-3); }
.pb-mega-item .pb-mega-ic {
  width: 28px; height: 28px; border-radius: 7px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--pb-acc), var(--pb-acc-2));
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
}
.pb-mega-ic svg { width: 16px; height: 16px; }
.pb-mega-text strong { display: block; font-size: 13px; color: var(--pb-tx-1); font-weight: 600; }
.pb-mega-text span { font-size: 11.5px; color: var(--pb-tx-2); line-height: 1.4; }
@media (max-width: 760px) { .pb-mega-panel { display: none; } }

/* ── Device mockup (laptop frame) ──────────────────────────── */
.pb-device {
  margin: 72px auto 0; max-width: 1100px; position: relative;
  filter: drop-shadow(0 50px 90px rgba(99,102,241,0.25)) drop-shadow(0 30px 60px rgba(0,0,0,0.45));
}
.pb-device-frame {
  background: linear-gradient(180deg, #1a2332, #0f1623);
  border: 1px solid var(--pb-bd-strong); border-radius: 14px 14px 4px 4px;
  padding: 8px 8px 0; overflow: hidden;
}
.pb-device-screen {
  background: var(--pb-bg); border-radius: 8px 8px 0 0;
  aspect-ratio: 16/10; padding: 18px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative; overflow: hidden;
}
.pb-device-bar {
  display: flex; gap: 6px; align-items: center;
  padding-bottom: 10px; border-bottom: 1px solid var(--pb-bd);
}
.pb-device-bar span { width: 8px; height: 8px; border-radius: 50%; background: rgba(244,63,94,0.7); }
.pb-device-bar span:nth-child(2) { background: rgba(245,158,11,0.7); }
.pb-device-bar span:nth-child(3) { background: rgba(16,185,129,0.7); }
.pb-device-bar small { margin-left: auto; color: var(--pb-tx-3); font-size: 10px; font-family: ui-monospace, monospace; }
.pb-device-body { flex: 1; display: grid; grid-template-columns: 80px 1fr 140px; gap: 12px; min-height: 0; }
.pb-device-side, .pb-device-right {
  background: var(--pb-bg-2); border-radius: 6px; padding: 10px;
  font-size: 10px; color: var(--pb-tx-3);
  display: flex; flex-direction: column; gap: 6px;
}
.pb-device-side .row, .pb-device-right .row {
  display: flex; justify-content: space-between; gap: 4px;
}
.pb-device-side .row strong, .pb-device-right .row strong {
  color: var(--pb-tx-1); font-weight: 600;
}
.pb-device-chart {
  background: var(--pb-bg-2); border-radius: 6px; padding: 8px;
  position: relative; overflow: hidden;
}
.pb-device-chart svg { width: 100%; height: 100%; }
.pb-device-base {
  height: 14px; background: linear-gradient(180deg, #0f1623, #050810);
  border-top: 1px solid var(--pb-bd);
  border-radius: 0 0 12px 12px;
  margin: 0 -8px;
}

/* ── Animated stats (counters) ─────────────────────────────── */
.pb-stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px;
}
.pb-stat-card { text-align: center; }
.pb-stat-card .num {
  font-size: clamp(36px, 5vw, 56px); font-weight: 700;
  /* Colore solido (accento) leggibile sia in tema chiaro che scuro. Prima si
     usava gradient-text (background-clip:text; color:transparent), ma i numeri
     contatore vivono in uno <span.pb-quantum> figlio che ereditava solo
     color:transparent senza il background → invisibili. */
  color: var(--pb-acc);
  -webkit-text-fill-color: var(--pb-acc);
  letter-spacing: -1px; line-height: 1.1;
}
.pb-stat-card .num .pb-quantum { color: inherit; -webkit-text-fill-color: inherit; }
.pb-stat-card small { font-size: 18px; color: var(--pb-tx-2); margin-left: 2px; }
.pb-stat-card .lbl { color: var(--pb-tx-2); font-size: 14px; margin-top: 8px; }

/* ── Account types comparison ──────────────────────────────── */
.pb-accounts {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.pb-acc-card {
  background: var(--pb-bg-2); border: 1px solid var(--pb-bd);
  padding: 32px 28px; border-radius: var(--pb-radius-lg);
  display: flex; flex-direction: column; gap: 16px;
  position: relative; transition: transform .2s, border-color .2s;
}
.pb-acc-card:hover { transform: translateY(-4px); border-color: var(--pb-bd-strong); }
.pb-acc-card.featured {
  border-color: var(--pb-acc);
  background: linear-gradient(180deg, var(--pb-bg-2), color-mix(in srgb, var(--pb-acc) 5%, var(--pb-bg-2)));
}
.pb-acc-badge {
  position: absolute; top: -10px; right: 18px;
  background: var(--pb-acc); color: #fff; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.6px; padding: 3px 10px; border-radius: 999px;
}
.pb-acc-name {
  font-size: 14px; color: var(--pb-tx-2); text-transform: uppercase; letter-spacing: 1.2px; font-weight: 600;
}
.pb-acc-headline {
  font-size: 26px; font-weight: 700; color: var(--pb-tx-1); letter-spacing: -0.5px;
  line-height: 1.2;
}
.pb-acc-headline small { font-size: 13px; font-weight: 500; color: var(--pb-tx-2); display: block; margin-top: 4px; }
.pb-acc-list { list-style: none; padding: 0; margin: 0; font-size: 14px; color: var(--pb-tx-2); }
.pb-acc-list li {
  display: flex; align-items: flex-start; gap: 8px; padding: 6px 0;
  border-top: 1px dashed var(--pb-bd);
}
.pb-acc-list li:first-child { border-top: 0; padding-top: 0; }
.pb-acc-list li svg { width: 14px; height: 14px; color: var(--pb-acc); flex-shrink: 0; margin-top: 4px; }
.pb-acc-list li strong { color: var(--pb-tx-1); font-weight: 600; margin-left: auto; padding-left: 12px; }

/* ── Feature grid (piattaforma showcase) ───────────────────── */
.pb-features {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.pb-feat {
  background: var(--pb-bg-2); border: 1px solid var(--pb-bd);
  padding: 28px 26px; border-radius: var(--pb-radius);
  transition: border-color .2s, transform .2s;
}
.pb-feat:hover { border-color: var(--pb-acc); transform: translateY(-2px); }
.pb-feat-icon {
  width: 40px; height: 40px; border-radius: 10px; margin-bottom: 16px;
  background: color-mix(in srgb, var(--pb-acc) 16%, transparent);
  color: var(--pb-acc);
  display: inline-flex; align-items: center; justify-content: center;
}
.pb-feat-icon svg { width: 20px; height: 20px; }
.pb-feat h3 { font-size: 17px; margin-bottom: 8px; }
.pb-feat p { color: var(--pb-tx-2); font-size: 14.5px; line-height: 1.6; margin: 0; }

/* ── FAQ accordion ─────────────────────────────────────────── */
.pb-faq { max-width: 760px; margin: 0 auto; }
.pb-faq-item {
  background: var(--pb-bg-2); border: 1px solid var(--pb-bd); border-radius: var(--pb-radius);
  margin-bottom: 10px; overflow: hidden;
}
.pb-faq-q {
  width: 100%; background: transparent; border: 0; padding: 18px 22px;
  color: var(--pb-tx-1); font-family: inherit; font-size: 15.5px; font-weight: 600;
  text-align: left; cursor: pointer;
  display: flex; align-items: center; gap: 14px;
}
.pb-faq-q:hover { color: var(--pb-acc); }
.pb-faq-q::after {
  content: ''; width: 10px; height: 10px; margin-left: auto;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px); transition: transform .2s;
  flex-shrink: 0;
}
.pb-faq-item.open .pb-faq-q::after { transform: rotate(-135deg) translateY(0); }
.pb-faq-a {
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
  padding: 0 22px; color: var(--pb-tx-2); font-size: 14.5px; line-height: 1.65;
}
.pb-faq-item.open .pb-faq-a { max-height: 800px; padding-bottom: 18px; }
.pb-faq-a p { margin: 0 0 10px; }

/* ── Asset class hero ──────────────────────────────────────── */
.pb-asset-hero {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center;
}
@media (max-width: 880px) { .pb-asset-hero { grid-template-columns: 1fr; gap: 36px; } }
.pb-asset-hero h1 { font-size: clamp(30px, 4vw, 44px); }
.pb-asset-hero .pb-lead { margin: 18px 0 0; }
.pb-asset-visual {
  background: var(--pb-bg-2); border: 1px solid var(--pb-bd); border-radius: var(--pb-radius-lg);
  padding: 24px; display: flex; flex-direction: column; gap: 10px; min-height: 240px;
}
.pb-asset-quote {
  display: flex; justify-content: space-between; align-items: center;
  font-family: ui-monospace, monospace; padding: 12px 16px;
  background: var(--pb-bg-3); border-radius: 8px;
}
.pb-asset-quote .sym { font-weight: 700; color: var(--pb-tx-1); }
.pb-asset-quote .v { color: var(--pb-tx-1); }
.pb-asset-quote .c.up { color: var(--pb-pos); }
.pb-asset-quote .c.dn { color: var(--pb-neg); }

/* ── Mobile-app section ────────────────────────────────────── */
.pb-mobile {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center;
}
@media (max-width: 760px) { .pb-mobile { grid-template-columns: 1fr; gap: 36px; text-align: center; } }
.pb-store-row { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.pb-store {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--pb-bg-3); border: 1px solid var(--pb-bd);
  padding: 10px 18px; border-radius: 10px; color: var(--pb-tx-1);
  transition: border-color .12s, transform .12s;
}
.pb-store:hover { border-color: var(--pb-acc); transform: translateY(-1px); }
.pb-store svg { width: 24px; height: 24px; }
.pb-store small { display: block; font-size: 10px; color: var(--pb-tx-3); text-transform: uppercase; letter-spacing: 0.6px; }
.pb-store strong { display: block; font-size: 14px; font-weight: 600; }
.pb-phone {
  width: 230px; aspect-ratio: 9/19; margin: 0 auto;
  background: linear-gradient(180deg, #1a2332, #0f1623);
  border: 6px solid #0a0e17; border-radius: 30px;
  padding: 12px; position: relative;
  box-shadow: 0 30px 60px rgba(0,0,0,0.45);
}
.pb-phone::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 60px; height: 14px; background: #0a0e17;
  border-radius: 0 0 12px 12px;
}
.pb-phone-screen {
  background: var(--pb-bg); border-radius: 20px; height: 100%;
  padding: 20px 10px 10px; font-size: 9px; color: var(--pb-tx-2);
  font-family: ui-monospace, monospace;
  display: flex; flex-direction: column; gap: 5px;
}
.pb-phone-row {
  display: flex; justify-content: space-between; gap: 4px;
  padding: 5px 7px; background: var(--pb-bg-2); border-radius: 5px;
}
.pb-phone-row strong { color: var(--pb-tx-1); }
.pb-phone-row .up { color: var(--pb-pos); }
.pb-phone-row .dn { color: var(--pb-neg); }

/* ── Logo wall (placeholder partner) ───────────────────────── */
.pb-logos {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 28px; align-items: center; padding: 8px 0;
}
.pb-logo-item {
  text-align: center; color: var(--pb-tx-3); font-weight: 600; font-size: 14px;
  letter-spacing: 0.4px; padding: 16px 8px; opacity: 0.75;
  border: 1px dashed var(--pb-bd); border-radius: 8px;
}

/* ── Promo band (call to action a tutta larghezza) ─────────── */
.pb-promo {
  background: linear-gradient(135deg, var(--pb-acc), var(--pb-acc-2));
  border-radius: var(--pb-radius-lg); padding: 48px;
  display: grid; grid-template-columns: 2fr 1fr; gap: 30px; align-items: center;
  color: #fff;
}
@media (max-width: 760px) { .pb-promo { grid-template-columns: 1fr; padding: 32px 24px; text-align: center; } }
.pb-promo h2 { color: #fff; }
.pb-promo p { margin: 12px 0 0; opacity: 0.92; font-size: 16px; }
.pb-promo .pb-cta {
  background: #fff; color: var(--pb-acc); font-weight: 700; padding: 14px 28px;
  white-space: nowrap;
}
.pb-promo .pb-cta:hover { filter: brightness(1.04); }

/* ── Mega footer (più colonne) ─────────────────────────────── */
.pb-footer-mega {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 36px;
}
@media (max-width: 880px) { .pb-footer-mega { grid-template-columns: 1fr 1fr; } }

/* ── Reveal animation on scroll ────────────────────────────── */
.pb-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.pb-reveal.shown { opacity: 1; transform: translateY(0); }

/* ── Section alt background (band) ─────────────────────────── */
section.pb-alt { background: var(--pb-bg-2); }

/* ── Floating CTA (chat-style) ─────────────────────────────── */
.pb-float-cta {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  background: var(--pb-acc); color: #fff; padding: 12px 18px;
  border-radius: 30px; box-shadow: 0 12px 30px rgba(99,102,241,0.45);
  font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 8px;
  transition: transform .15s, box-shadow .15s;
}
.pb-float-cta:hover { transform: scale(1.04); box-shadow: 0 16px 40px rgba(99,102,241,0.55); }
.pb-float-cta svg { width: 16px; height: 16px; }

/* ── Stat numeric "live" tag ───────────────────────────────── */
.pb-live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--pb-pos);
  display: inline-block; margin-right: 6px;
  box-shadow: 0 0 0 0 rgba(16,185,129,0.7);
  animation: pbPulse 2s infinite;
}
@keyframes pbPulse {
  0% { box-shadow: 0 0 0 0 rgba(16,185,129,0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

/* ═══════════════════════════════════════════════════════════
   P1.3 — Form & list styles (consolidated from inline blocks)
   Previously inline in: register.py, _login_html, security.py
   ═══════════════════════════════════════════════════════════ */

/* Form rows used by /register and /login */
.pb-reg-row { margin-bottom: 14px; }
.pb-reg-lbl {
  display: block; font-size: 11.5px; color: var(--pb-tx-3);
  text-transform: uppercase; letter-spacing: 0.6px; font-weight: 600;
  margin-bottom: 6px;
}
.pb-reg-in {
  width: 100%; box-sizing: border-box;
  background: var(--pb-bg-3); border: 1px solid var(--pb-bd);
  color: var(--pb-tx-1); padding: 11px 14px;
  border-radius: 8px; font-size: 14px;
  font-family: inherit; outline: none;
  transition: border-color .12s, box-shadow .12s;
}
.pb-reg-in:focus {
  border-color: var(--pb-acc);
  box-shadow: 0 0 0 3px var(--pb-glow);
}

/* Check-bullet lists (used by /register left column and /security continuity).
   Both wrap each icon in <span class="ic"> so SVGs are bounded to 22×22. */
.pb-reg-bullets,
.pb-sec-list {
  list-style: none; padding: 0;
  font-size: 15px; color: var(--pb-tx-2); line-height: 1.6;
}
.pb-reg-bullets { margin: 30px 0 0; }
.pb-sec-list  { margin: 30px 0 0; max-width: 820px; line-height: 1.65; }
.pb-reg-bullets li,
.pb-sec-list li {
  display: flex; align-items: center; gap: 12px; padding: 8px 0;
}
.pb-sec-list li { padding: 16px 0; border-bottom: 1px solid var(--pb-bd); align-items: flex-start; }
.pb-sec-list li.last { border-bottom: 0; }
.pb-reg-bullets li .ic,
.pb-sec-list li .ic {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--pb-pos) 16%, transparent);
  color: var(--pb-pos);
}
.pb-reg-bullets li .ic { width: 22px; height: 22px; }
.pb-sec-list  li .ic { width: 24px; height: 24px; margin-top: 2px; }
.pb-reg-bullets li .ic svg,
.pb-sec-list li .ic svg { width: 13px; height: 13px; }
.pb-sec-list li strong { color: var(--pb-tx-1); }

/* Register hero responsive (was inline in register.py) */
@media (max-width: 880px) {
  .pb-hero-inner > div {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
}

