/* ============================================================
   Numio — Landing (chiara, premium, stile fintech moderno)
   Sfondo bianco, gradiente pastello menta→lavanda, mockup app
   in evidenza con card flottanti, pulsanti pill neri.
   ============================================================ */

:root {
  --bg:       #FFFFFF;
  --bg-soft:  #F7F8FA;
  --ink:      #0D1017;
  --ink-2:    #565E6B;
  --muted:    #8A93A2;
  --line:     #EBEDF1;
  --line-2:   #E1E4E9;
  --card:     #FFFFFF;

  --brand:    #6E56E8;
  --brand-2:  #8B77FF;
  --brand-soft:#EEEBFF;
  --mint:     #12B981;
  --mint-ink: #0E9E6E;
  --mint-soft:#E6F7EF;
  --amber:    #F2A93B;
  --amber-soft:#FDF1DD;
  --black:    #111318;

  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --maxw: 1140px;
  --r: 20px;
  --shadow-s: 0 2px 8px rgba(17,19,24,0.05);
  --shadow-m: 0 12px 34px -12px rgba(17,19,24,0.14);
  --shadow-l: 0 30px 70px -24px rgba(28,24,60,0.24);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.num { font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ── Bottoni ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font); font-weight: 600; font-size: 15px;
  padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms, border-color 180ms;
  white-space: nowrap;
}
.btn .ci { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark .ci { background: rgba(255,255,255,0.16); }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(17,19,24,0.5); }
.btn-out { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-out:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-brand { background: var(--brand); color: #fff; box-shadow: 0 10px 26px -10px rgba(110,86,232,0.7); }
.btn-brand:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(110,86,232,0.8); }
.btn-sm { padding: 10px 16px; font-size: 14px; }

/* ── Nav ─────────────────────────────────────────────────── */
.nm-nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nm-nav-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nm-brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 20px; letter-spacing: -0.03em; }
.nm-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(140deg, var(--brand-2), var(--brand)); box-shadow: 0 6px 16px -6px rgba(110,86,232,0.8); }
.nm-mark svg { width: 19px; height: 19px; }
.nm-links { display: flex; gap: 32px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nm-links a { transition: color 160ms; }
.nm-links a:hover { color: var(--ink); }
.nm-nav-cta { display: flex; align-items: center; gap: 14px; }
.nm-ghost { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.nm-ghost:hover { color: var(--ink); }

/* ── Hero ────────────────────────────────────────────────── */
.nm-hero { position: relative; text-align: center; padding: 68px 0 60px; overflow: hidden; }
.nm-hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 720px; z-index: -1;
  background:
    radial-gradient(38% 55% at 22% 20%, rgba(18,185,129,0.16), transparent 70%),
    radial-gradient(42% 60% at 82% 15%, rgba(139,119,255,0.20), transparent 72%),
    radial-gradient(50% 50% at 50% 0%, rgba(210,235,255,0.5), transparent 75%);
  filter: saturate(1.1);
}
.nm-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  padding: 6px 6px 6px 8px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line-2); box-shadow: var(--shadow-s);
}
.nm-badge .new { font-size: 12px; font-weight: 700; color: var(--mint-ink); background: var(--mint-soft); padding: 3px 9px; border-radius: 999px; }
.nm-badge .arw { color: var(--muted); }

.nm-h1 {
  font-weight: 800; letter-spacing: -0.035em; line-height: 1.02;
  font-size: clamp(40px, 6.4vw, 74px); margin: 24px auto 0; max-width: 15ch;
}
.nm-h1 .g { background: linear-gradient(100deg, var(--brand), var(--mint-ink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nm-sub { margin: 22px auto 0; max-width: 46ch; font-size: clamp(16px,1.6vw,19px); color: var(--ink-2); }
.nm-hero-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.nm-demo-link { display: inline-flex; align-items: center; gap: 9px; margin: 18px auto 0;
  font-size: 14.5px; font-weight: 600; color: #4B4668; text-decoration: none;
  padding: 8px 6px; border-radius: 10px; transition: color 180ms var(--ease); }
.nm-demo-link .dot { width: 8px; height: 8px; border-radius: 50%; background: #22C58B;
  box-shadow: 0 0 0 0 rgba(34,197,139,0.45); animation: demoPulse 2.4s infinite; }
.nm-demo-link svg { transition: transform 180ms var(--ease); }
.nm-demo-link:hover { color: #17141F; }
.nm-demo-link:hover svg { transform: translateX(3px); }
@keyframes demoPulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,139,0.4); } 70% { box-shadow: 0 0 0 7px rgba(34,197,139,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,139,0); } }
@media (prefers-reduced-motion: reduce) { .nm-demo-link .dot { animation: none; } }

/* ── Mockup + card flottanti ─────────────────────────────── */
.nm-stage { position: relative; margin: 56px auto 0; max-width: 940px; }
.nm-float {
  position: absolute; z-index: 3; background: #fff; border: 1px solid var(--line);
  border-radius: 18px; box-shadow: var(--shadow-l); padding: 18px; text-align: left;
}
.nm-float.left  { left: 0;  top: 96px; width: 268px; }
.nm-float.right { right: 0; top: 40px; width: 250px; }
.nm-float h4 { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.nm-float p  { font-size: 13px; color: var(--ink-2); margin-top: 6px; line-height: 1.5; }
.nm-float .stat { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.nm-ava { display: flex; }
.nm-ava span { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px; background: linear-gradient(140deg,#c9c0ff,#8b77ff); }
.nm-ava span:first-child { margin-left: 0; background: linear-gradient(140deg,#a7f0d2,#12b981); }
.nm-ava span:nth-child(2){ background: linear-gradient(140deg,#ffd9a8,#f2a93b); }
.nm-float .stat b { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.nm-float .stat small { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }
.nm-stars { color: var(--mint); font-size: 14px; letter-spacing: 2px; }
.nm-float .who { margin-top: 12px; font-size: 12px; font-weight: 600; color: var(--ink); }

/* Telefono */
.nm-phone {
  position: relative; z-index: 2; width: 300px; margin: 0 auto;
  background: #0d1017; border-radius: 44px; padding: 10px;
  box-shadow: var(--shadow-l), 0 0 0 1px rgba(0,0,0,0.06);
}
.nm-screen { background: linear-gradient(180deg, #fbfcfe, #f4f6fb); border-radius: 36px; overflow: hidden; padding: 42px 20px 24px; text-align: left; }
.nm-notch { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 92px; height: 22px; background: #0d1017; border-radius: 0 0 14px 14px; z-index: 4; }
.ph-hi { font-size: 15px; font-weight: 700; }
.ph-hi small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.ph-lbl { margin-top: 20px; font-size: 12px; color: var(--muted); font-weight: 600; }
.ph-big { font-size: 38px; font-weight: 800; letter-spacing: -0.03em; color: var(--mint-ink); }
.ph-donut { display: flex; align-items: center; gap: 16px; margin: 18px 0 4px; }
.ph-donut svg { width: 92px; height: 92px; flex: none; }
.ph-leg { display: flex; flex-direction: column; gap: 9px; font-size: 12px; }
.ph-leg div { display: flex; align-items: center; gap: 8px; color: var(--ink-2); }
.ph-leg i { width: 9px; height: 9px; border-radius: 3px; }
.ph-leg b { margin-left: auto; color: var(--ink); font-weight: 700; }
.ph-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.ph-tile { border: 1px solid var(--line); border-radius: 14px; padding: 12px; background: #fff; }
.ph-tile span { font-size: 11px; color: var(--muted); font-weight: 600; }
.ph-tile b { display: block; margin-top: 3px; font-size: 16px; font-weight: 800; letter-spacing: -0.02em; }
.ph-pill { display: inline-block; margin-top: 6px; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.ph-pill.up { color: var(--mint-ink); background: var(--mint-soft); }
.ph-pill.amber { color: #b9791a; background: var(--amber-soft); }

/* ── Vetrina dispositivi: l'app reale (dark), desktop + mobile
   che si assemblano con una rotazione all'apertura ──────── */
.nm-scene {
  position: relative; margin: 58px auto 0; max-width: 1000px; height: 600px;
  perspective: 1900px;
}
.nm-desk, .nm-phone2 { transform-style: preserve-3d; will-change: transform, opacity; }

.nm-desk {
  position: absolute; left: 0; top: 0; width: 700px;
  border-radius: 15px; overflow: hidden; background: #0E0C16;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 50px 100px -34px rgba(20,16,54,0.55);
  animation: deskIn 1s var(--ease) both;
}

/* Vetrine: iframe con l'app vera, scalati dentro le cornici. */
.nm-embed { overflow: hidden; background: #0d0b12; }
.nm-embed iframe { border: 0; display: block; }
.nm-embed-desk { width: 700px; height: 509px; }
.nm-embed-desk iframe { width: 1280px; height: 930px; transform: scale(0.546875); transform-origin: top left; }
.nm-embed-phone { width: 214px; height: 462px; border-radius: 28px; }
.nm-embed-phone iframe { width: 390px; height: 940px; transform: scale(0.5487); transform-origin: top left; }
.nm-desk-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #17141F; border-bottom: 1px solid rgba(255,255,255,0.06); }
.nm-desk-bar > span { width: 10px; height: 10px; border-radius: 50%; background: #3a3446; }
.nm-desk-bar > span:nth-child(1){ background:#ff5f57; } .nm-desk-bar > span:nth-child(2){ background:#febc2e; } .nm-desk-bar > span:nth-child(3){ background:#28c840; }
.nm-desk-bar em { margin-left: 14px; font-style: normal; font-size: 12px; color: #8B87A0; background: #0E0C16; padding: 5px 14px; border-radius: 999px; }
.nm-desk-body { padding: 18px; color: #ECEAF6; }

.dk-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.dk-top b { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.dk-top small { display: block; font-size: 11.5px; color: #8B87A0; }
.dk-chip { font-size: 11px; font-weight: 600; color: #B3A8FF; background: rgba(124,107,255,0.14); border: 1px solid rgba(124,107,255,0.28); padding: 4px 11px; border-radius: 999px; }

.dk-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 12px; }
.dk-hero, .dk-card { background: #17141F; border: 1px solid rgba(255,255,255,0.07); border-radius: 14px; padding: 16px; }
.dk-lbl { font-size: 11px; font-weight: 600; color: #8B87A0; text-transform: uppercase; letter-spacing: 0.04em; }
.dk-big { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; color: #45E0AE; margin-top: 6px; text-shadow: 0 0 30px rgba(69,224,174,0.3); }
.dk-delta { font-size: 12px; font-weight: 600; color: #45E0AE; }
.dk-area { width: 100%; height: 70px; margin-top: 8px; display: block; }
.dk-col { display: flex; flex-direction: column; gap: 12px; }
.dk-mid { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin-top: 5px; }
.dk-mid.amber { color: #F5C24B; }
.dk-ringrow { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.dk-ringrow svg { width: 34px; height: 34px; flex: none; }
.dk-ringrow span { font-size: 11px; color: #8B87A0; }
.dk-bars { display: flex; align-items: flex-end; gap: 5px; height: 34px; margin-top: 10px; }
.dk-bars i { flex: 1; border-radius: 3px 3px 0 0; background: rgba(124,107,255,0.35); }
.dk-bars i.on { background: #7C6BFF; }

.nm-phone2 {
  position: absolute; right: 8px; bottom: 0; z-index: 3; width: 232px;
  background: #0E0C16; border-radius: 34px; padding: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 44px 80px -26px rgba(20,16,54,0.6);
  animation: phoneIn 1.15s var(--ease) 0.28s both;
}
.nm-notch2 { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 74px; height: 17px; background: #0E0C16; border-radius: 0 0 11px 11px; z-index: 4; }
.nm-phone2-screen { background: linear-gradient(180deg,#131019,#0E0C16); border-radius: 27px; padding: 34px 16px 18px; color: #ECEAF6; text-align: left; }
.pk-hi { font-size: 13px; font-weight: 700; }
.pk-lbl { display: block; margin-top: 14px; font-size: 10px; font-weight: 600; color: #8B87A0; text-transform: uppercase; letter-spacing: 0.04em; }
.pk-big { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; color: #45E0AE; }
.pk-delta { font-size: 11px; font-weight: 600; color: #45E0AE; }
.pk-area { width: 100%; height: 48px; margin: 10px 0; display: block; }
.pk-row { display: flex; align-items: center; justify-content: space-between; font-size: 12px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,0.07); }
.pk-row span { color: #8B87A0; } .pk-row b { font-weight: 700; } .pk-row b.amber { color: #F5C24B; }

@keyframes deskIn {
  from { opacity: 0; transform: perspective(1900px) rotateY(-22deg) rotateX(7deg) translateY(34px); }
  to   { opacity: 1; transform: perspective(1900px) rotateY(-9deg) rotateX(3deg); }
}
@keyframes phoneIn {
  from { opacity: 0; transform: perspective(1200px) rotateY(38deg) rotateX(5deg) scale(0.78) translate(46px, 54px); }
  to   { opacity: 1; transform: perspective(1200px) rotateY(-6deg) rotateX(2deg); }
}

/* ── Trusted ─────────────────────────────────────────────── */
.nm-trusted { margin-top: 64px; text-align: center; }
.nm-trusted p { font-size: 13px; font-weight: 600; color: var(--muted); }
.nm-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 40px; margin-top: 24px; }
.nm-logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; color: #2A2F3A; opacity: 0.75; }
.nm-logo .d { width: 26px; height: 26px; border-radius: 7px; background: var(--black); display: grid; place-items: center; color: #fff; font-size: 13px; }

/* ── Sezioni ─────────────────────────────────────────────── */
.sec { padding: 96px 0; }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.sec-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); }
.sec-title { font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; font-size: clamp(30px, 4.2vw, 46px); margin-top: 14px; }
.sec-sub { margin-top: 16px; font-size: 18px; color: var(--ink-2); }

/* Stat band */
.nm-help { background: var(--bg-soft); border-radius: 28px; padding: 56px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.nm-help h2 { font-weight: 800; letter-spacing: -0.03em; font-size: clamp(26px,3.4vw,38px); line-height: 1.1; }
.nm-help p { margin-top: 16px; color: var(--ink-2); font-size: 16px; }
.nm-help-stats { display: flex; gap: 40px; margin-top: 28px; }
.nm-help-stats b { display: block; font-size: 34px; font-weight: 800; letter-spacing: -0.03em; }
.nm-help-stats span { font-size: 14px; color: var(--muted); }
.nm-help-viz { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: var(--shadow-m); }
.nm-help-viz .vh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.nm-help-viz .vh b { font-size: 14px; font-weight: 700; }
.nm-help-viz .vh span { font-size: 12px; color: var(--muted); }
.nm-dots { display: grid; grid-template-columns: repeat(10, 1fr); gap: 7px; }
.nm-dots i { aspect-ratio: 1; border-radius: 5px; background: var(--mint-soft); }
.nm-dots i.on { background: var(--mint); }
.nm-dots i.mid { background: #9de3c4; }
.nm-viz-pct { font-size: 12px; font-weight: 700; color: var(--mint-ink); background: var(--mint-soft); padding: 3px 10px; border-radius: 999px; }
.nm-viz-foot { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 12.5px; color: var(--ink-2); }
.nm-viz-foot i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 6px; vertical-align: middle; }
.nm-viz-foot .dot-on { background: var(--mint); }
.nm-viz-foot .dot-off { background: var(--mint-soft); }
.nm-viz-foot b { color: var(--ink); font-weight: 700; }
.nm-viz-cap { margin-top: 12px; font-size: 12.5px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }

/* Feature grid */
.nm-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.nm-feat { border: 1px solid var(--line); border-radius: var(--r); padding: 26px; background: #fff; transition: transform 200ms var(--ease), box-shadow 200ms; }
.nm-feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.nm-feat.span2 { grid-column: span 2; }
.nm-fi { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--brand-soft); color: var(--brand); margin-bottom: 18px; }
.nm-fi.mint { background: var(--mint-soft); color: var(--mint-ink); }
.nm-fi.amber { background: var(--amber-soft); color: #b9791a; }
.nm-fi svg { width: 22px; height: 22px; }
.nm-feat h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.nm-feat p { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.nm-mini { margin-top: 20px; border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: var(--bg-soft); }
.nm-mini-row { display: flex; align-items: center; justify-content: space-between; font-size: 13px; padding: 6px 0; }
.nm-mini-row span { color: var(--ink-2); }
.nm-mini-row b { font-weight: 800; }
.nm-mini-row b.mint { color: var(--mint-ink); } .nm-mini-row b.amber { color: #b9791a; }
.nm-mini-bar { height: 8px; border-radius: 5px; background: #eceef2; overflow: hidden; display: flex; margin-top: 8px; }
.nm-mini-bar i { height: 100%; }
.nm-mini-bar .mint { background: var(--mint); } .nm-mini-bar .amber { background: var(--amber); }

/* Bars mini chart */
.nm-bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; margin-top: 18px; }
.nm-bars i { flex: 1; border-radius: 6px 6px 0 0; background: var(--brand-soft); }
.nm-bars i.tall { background: linear-gradient(180deg, var(--brand-2), var(--brand)); }

/* Pricing */
.nm-prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1080px; margin: 0 auto; align-items: start; }
.nm-price { border: 1px solid var(--line-2); border-radius: 24px; padding: 32px; background: #fff; }
.nm-price.hot { border-color: transparent; background: var(--black); color: #fff; box-shadow: var(--shadow-l); }
.nm-price-h { display: flex; align-items: center; justify-content: space-between; }
.nm-price h3 { font-size: 18px; font-weight: 700; }
.nm-price .badge { font-size: 12px; font-weight: 700; color: #fff; background: var(--brand); padding: 4px 11px; border-radius: 999px; }
.nm-price .amt { margin: 18px 0 4px; font-size: 46px; font-weight: 800; letter-spacing: -0.03em; }
.nm-price .amt small { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.nm-price.hot .amt small { color: rgba(255,255,255,0.6); }
.nm-price .note { font-size: 14px; color: var(--ink-2); }
.nm-price.hot .note { color: rgba(255,255,255,0.65); }
.nm-price ul { list-style: none; margin: 24px 0; display: flex; flex-direction: column; gap: 13px; }
.nm-price li { font-size: 15px; display: flex; align-items: flex-start; gap: 10px; }
.nm-price li svg { width: 18px; height: 18px; color: var(--mint); flex: none; margin-top: 1px; }
.nm-price li .soon { font-size: 10px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); padding: 2px 7px; border-radius: 999px; margin-left: 6px; white-space: nowrap; }
.nm-price.hot li .soon { color: #cfc6ff; background: rgba(139,119,255,0.22); }
.nm-price.hot li svg { color: #6ee7b7; }
.nm-price .btn { width: 100%; justify-content: center; }

/* Testimonial */
/* Recensioni — carosello con barra di avanzamento */
.nm-reviews { max-width: 720px; margin: 0 auto; }
.nm-rev-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; outline: none; }
.nm-rev-track::-webkit-scrollbar { display: none; }
.nm-rev { flex: 0 0 100%; scroll-snap-align: center; box-sizing: border-box; text-align: center; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 24px; padding: 40px 30px; display: flex; flex-direction: column; justify-content: center; }
.nm-rev .stars { color: var(--amber); font-size: 19px; letter-spacing: 3px; }
.nm-rev blockquote { font-weight: 700; letter-spacing: -0.02em; font-size: clamp(20px, 2.7vw, 28px); line-height: 1.34; margin: 16px auto 22px; max-width: 30ch; color: var(--ink); text-wrap: balance; }
.nm-rev .who { display: flex; align-items: center; justify-content: center; gap: 12px; }
.nm-rev .who .av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(140deg, var(--brand-2), var(--brand)); display: grid; place-items: center; color: #fff; font-weight: 700; }
.nm-rev .who .av::before { content: attr(data-i); }
.nm-rev .who div { text-align: left; }
.nm-rev .who b { font-weight: 700; } .nm-rev .who small { display: block; color: var(--muted); font-weight: 500; }
.nm-rev-dots { display: flex; gap: 8px; justify-content: center; margin-top: 24px; }
.nm-rev-dot { width: 42px; height: 4px; border-radius: 999px; background: var(--line-2); border: 0; padding: 0; cursor: pointer; position: relative; overflow: hidden; }
.nm-rev-dot i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--brand); border-radius: 999px; }
.nm-rev-dot.on { background: var(--brand-soft); }

/* Banner cookie */
.nm-cookie { position: fixed; left: 50%; bottom: 20px; z-index: 300; width: min(680px, calc(100% - 28px));
  transform: translateX(-50%) translateY(18px); opacity: 0; transition: opacity .3s var(--ease), transform .3s var(--ease);
  background: var(--card); border: 1px solid var(--line-2); border-radius: 18px; box-shadow: 0 26px 60px -18px rgba(20,16,54,0.26); padding: 17px 20px; }
.nm-cookie.in { opacity: 1; transform: translateX(-50%) translateY(0); }
.nm-cookie-in { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.nm-cookie p { flex: 1; min-width: 240px; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.nm-cookie p a { color: var(--brand); font-weight: 600; }
.nm-cookie-btns { display: flex; gap: 10px; flex: none; }
.nm-cookie .btn { padding: 10px 16px; font-size: 14px; }

/* Ritorno a capo solo su mobile (titolo prezzi) */
.br-m { display: inline; }

/* Pagine legali */
.legal-wrap { max-width: 760px; margin: 0 auto; padding: 36px 0 90px; }
.legal-back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; font-size: 14px; margin-bottom: 26px; }
.legal-back:hover { color: var(--ink); }
.legal h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.02em; }
.legal .updated { color: var(--muted); font-size: 14px; margin-top: 8px; }
.legal .draft { background: var(--amber-soft); border: 1px solid #F2D9A8; color: #7A5A1A; border-radius: 12px; padding: 13px 16px; font-size: 14px; line-height: 1.5; margin: 24px 0; }
.legal h2 { font-size: 20px; font-weight: 700; margin: 36px 0 10px; letter-spacing: -0.01em; color: var(--ink); }
.legal p, .legal li { color: var(--ink-2); line-height: 1.65; font-size: 16px; }
.legal p { margin: 10px 0; }
.legal ul { margin: 10px 0 10px 20px; display: flex; flex-direction: column; gap: 7px; }
.legal a { color: var(--brand); font-weight: 600; }
.legal strong { color: var(--ink); }
.legal table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--muted); font-weight: 600; }

/* CTA finale */
.nm-final { text-align: center; border-radius: 30px; padding: 76px 32px; position: relative; overflow: hidden;
  background:
    radial-gradient(50% 90% at 50% 0%, rgba(139,119,255,0.22), transparent 65%),
    radial-gradient(60% 100% at 50% 120%, rgba(18,185,129,0.14), transparent 60%),
    var(--bg-soft);
  border: 1px solid var(--line); }
.nm-final h2 { font-weight: 800; letter-spacing: -0.03em; font-size: clamp(30px,5vw,52px); line-height: 1.05; }
.nm-final h2 .g { background: linear-gradient(100deg, var(--brand), var(--mint-ink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nm-final p { margin: 18px auto 30px; font-size: 18px; color: var(--ink-2); max-width: 44ch; }

/* Footer */
.nm-foot { border-top: 1px solid var(--line); padding: 54px 0 28px; background: var(--bg-soft); }
.nm-foot-in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.nm-foot-brand { max-width: 260px; }
.nm-foot-brand p { color: var(--muted); font-size: 14px; margin-top: 14px; line-height: 1.5; }
.nm-foot-cols { display: flex; gap: 54px; flex-wrap: wrap; }
.nm-foot-col { display: flex; flex-direction: column; gap: 11px; }
.nm-foot-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 700; margin-bottom: 2px; }
.nm-foot-col a { font-size: 15px; color: var(--ink-2); }
.nm-foot-col a:hover { color: var(--ink); }
.nm-foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line-2); }
.nm-foot-bottom small { color: var(--muted); font-size: 13px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .nm-links { display: none; }
  .nm-help { grid-template-columns: 1fr; padding: 36px; }
  .nm-feats { grid-template-columns: 1fr 1fr; }
  .nm-feat.span2 { grid-column: span 2; }
  .nm-float { display: none; }
  .nm-scene { height: 440px; }
  .nm-desk { max-width: 72%; }
  .nm-phone2 { width: 198px; }
  .nm-prices { grid-template-columns: 1fr; max-width: 460px; }
}
@media (max-width: 640px) {
  /* Su telefono si mostra la STESSA scena desktop+mobile, in miniatura:
     la scena mantiene le dimensioni native (700px) e viene scalata con
     transform per riempire la colonna. Lo stage riserva l'altezza scalata
     (transform non ridimensiona il box) e la centra: a ogni larghezza il
     box scalato è (100vw−32) e resta a 16px dai bordi → centrato. */
  .nm-stage { overflow: hidden; height: 294px; }
  .nm-scene {
    position: relative; width: 700px; height: 560px; max-width: none;
    left: 50%; margin: 40px 0 0; perspective: none;
    transform-origin: center top; transform: translateX(-50%) scale(0.45);
    animation: sceneFade 0.7s var(--ease) both;
  }
  .nm-desk {
    display: block; position: absolute; left: 0; top: 0; width: 700px;
    max-width: none; transform: none; animation: none; opacity: 1;
  }
  .nm-phone2 {
    position: absolute; right: 4px; bottom: 0; top: auto; left: auto;
    width: 236px; transform: none; animation: none; opacity: 1;
  }
}
@keyframes sceneFade { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 620px) {
  .nm-hero { padding: 44px 0 40px; }
  .sec { padding: 66px 0; }
  .nm-feats { grid-template-columns: 1fr; }
  .nm-feat.span2 { grid-column: span 1; }
  .nm-prices { grid-template-columns: 1fr; }
  .nm-help-stats { gap: 26px; }
  .nm-foot-in { flex-direction: column; align-items: flex-start; gap: 30px; }
  .nm-foot-cols { gap: 34px; }
  .nm-foot-bottom { flex-direction: column; gap: 8px; }
  .nm-nav-cta .nm-ghost { display: none; }
  /* Titolo prezzi a capo dopo la virgola, solo su mobile. */
  .br-m { display: block; width: 0; height: 0; overflow: hidden; }
  .nm-rev { padding: 32px 22px; }
  .nm-cookie { bottom: 12px; }
  .nm-cookie-in { gap: 12px; }
  .nm-cookie-btns { width: 100%; }
  .nm-cookie-btns .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .nm-feat { transition: none; }
}
/* Il tilt 3D fermo vale solo da tablet in su: su mobile la scena è scalata. */
@media (prefers-reduced-motion: reduce) and (min-width: 641px) {
  .nm-desk { animation: none; transform: perspective(1900px) rotateY(-9deg) rotateX(3deg); }
  .nm-phone2 { animation: none; transform: perspective(1200px) rotateY(-6deg) rotateX(2deg); }
}
