/* ==========================================================================
   Landing Lead Lift, stile Acquisition (sfondo pagina sempre bianco).
   Token copiati da Lead Lift/3. Branding/stile-acquisition-tokens.css
   (viola #6f00ff, hover #5a00d1, blu notte #131628, Poppins).
   Scelte dichiarate rispetto ai token:
   - sottotitolo 20px desktop / 18px mobile (i token dicono 17/14, ma la regola
     "landing per clienti finali" vieta testo corrente sotto i 16-18px);
   - tutto il testo e almeno 16px (anche i testi legali del piede);
   - il popup resta scuro (come quello di Acquisition), la pagina e' bianca.
   ========================================================================== */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/poppins-400.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/poppins-500.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/poppins-600.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/poppins-700.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap; src: url(../fonts/poppins-800.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: italic; font-weight: 700; font-display: swap; src: url(../fonts/poppins-700-italic.woff2) format("woff2"); }

:root {
  --purple: #6f00ff;
  --purple-hover: #5a00d1;
  --purple-soft: #f1e9ff;
  --purple-light: #b48cff;
  --ink: #131628;
  --text: #3a3f55;
  --muted: #5b6076;
  --bg: #ffffff;
  --bg-soft: #f7f7fa;
  --border: #e4e6ee;
  --font-sans: "Poppins", Arial, "Helvetica Neue", sans-serif;

  --fs-hero: 52px;
  --fs-h2: 36px;
  --fs-h3: 20px;
  --fs-lede: 20px;
  --fs-body: 16px;
  --fs-legal: 16px;
  --fs-btn: 17px;
  --lh-tight: 1.05;
  --lh-title: 1.12;
  --lh-body: 1.6;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 14px;
  --r-xl: 16px;
  --r-pill: 999px;
  --shadow-card: 0 20px 50px rgba(19, 22, 40, 0.12);
  --shadow-video: 0 24px 60px rgba(12, 14, 24, 0.35);

  --container: 1120px;
  --gutter: 24px;
  --sp-section: 96px;   /* fine sezione -> sezione successiva */
  --sp-title: 40px;     /* titolo -> contenuto */
  --sp-stack: 24px;     /* spazio tra pezzi dello stesso blocco */
  --sp-card: 32px;      /* spazio tra card sorelle */
}

@media (max-width: 767px) {
  :root {
    --fs-hero: 31px;
    --fs-h2: 27px;
    --fs-lede: 18px;
    --fs-btn: 17px;
    --gutter: 20px;
    --sp-section: 64px;
    --sp-title: 28px;
    --sp-stack: 20px;
    --sp-card: 40px;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 880px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }

/* ---------- Testata ---------- */
.site-head { padding: 22px 0 0; text-align: center; }
.site-head a { display: inline-block; line-height: 0; }
.site-head img { height: 56px; width: auto; }

/* ---------- Titoli ---------- */
h1, h2, h3 { color: var(--ink); text-wrap: balance; margin: 0; }
.h1 {
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: var(--lh-tight);
  letter-spacing: -0.025em;
}
.h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: var(--lh-title);
  letter-spacing: -0.02em;
}
.h2 .line { display: block; }
.accent { color: var(--purple); }
.h1 .accent, .h2 .accent { display: inline-block; }
.h1 .accent { white-space: nowrap; }
.lede {
  font-size: var(--fs-lede);
  line-height: 1.6;
  color: var(--text);
  margin: 0;
  text-wrap: pretty;
}
.lede strong { color: var(--ink); font-weight: 700; }

/* ---------- Sezioni e spazi ---------- */
.hero { padding-top: 40px; }
.hero .lede { margin-top: var(--sp-stack); }
.hero .h1 { max-width: 1040px; margin-left: auto; margin-right: auto; }
.hero .h1 + .lede { max-width: 820px; margin-left: auto; margin-right: auto; }
.section { padding-top: var(--sp-section); }
.section-end { padding-bottom: var(--sp-section); }
.after-title { margin-top: var(--sp-title); }

/* ---------- Bottone principale ---------- */
.btn {
  display: block;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  background: var(--purple);
  color: #fff;
  font-family: var(--font-sans);
  font-size: var(--fs-btn);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  text-wrap: balance;
  padding: 18px 28px;
  border: 0;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 10px 24px rgba(111, 0, 255, 0.28);
}
.btn:hover { background: var(--purple-hover); transform: translateY(-1px); box-shadow: 0 14px 28px rgba(111, 0, 255, 0.34); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--purple-light); outline-offset: 3px; }
.btn small {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.92;
}
.btn-row { margin-top: var(--sp-title); }

/* ---------- Video principale (Tella) ---------- */
.vsl {
  position: relative;
  width: 100%;
  max-width: 980px;
  margin: var(--sp-title) auto 0;
  padding-bottom: 43.14%; /* 853x368 del video Tella */
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #0c0e18;
  box-shadow: var(--shadow-video);
}
.vsl iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vsl-empty {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  padding: 24px; text-align: center; color: #fff; font-size: 18px; font-weight: 600;
  background: linear-gradient(160deg, #1b2038, #0c0e18);
}
@media (max-width: 767px) {
  .vsl { padding-bottom: 0; aspect-ratio: 853 / 368; }
}

/* ---------- Testimonianze ---------- */
.t-list { display: grid; gap: var(--sp-card); }
.t-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "cap media" "who media";
  align-items: center;
  column-gap: 56px;
  row-gap: 8px;
}
.t-row:nth-child(even) { grid-template-areas: "media cap" "media who"; }
.t-cap { grid-area: cap; align-self: end; margin: 0; font-size: var(--fs-h3); line-height: 1.45; color: var(--text); text-align: center; text-wrap: balance; }
.t-who { grid-area: who; align-self: start; text-align: center; margin: 12px 0 0; }
.t-who b { display: block; font-size: var(--fs-h3); font-weight: 700; color: var(--ink); line-height: 1.3; }
.t-who span { display: block; font-size: var(--fs-h3); font-weight: 400; color: var(--text); line-height: 1.4; }
.t-media { grid-area: media; }
.cap b, .t-cap b, .r-cap b { font-weight: 700; color: var(--purple); }
.cap i, .t-cap i, .r-cap i { font-style: normal; font-weight: 700; color: var(--ink); }

.v-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #0c0e18;
  box-shadow: var(--shadow-video);
}
.v-frame video { width: 100%; height: 100%; object-fit: cover; background: #0c0e18; }
.v-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  border: 0; padding: 0; background: rgba(12, 14, 24, 0.18); cursor: pointer;
  transition: background 0.15s ease;
}
.v-play:hover { background: rgba(12, 14, 24, 0.05); }
.v-play span {
  width: 72px; height: 72px; border-radius: 50%; background: var(--purple);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(111, 0, 255, 0.45);
  transition: transform 0.15s ease, background 0.15s ease;
}
.v-play:hover span { background: var(--purple-hover); transform: scale(1.05); }
.v-play svg { width: 28px; height: 28px; margin-left: 4px; fill: #fff; }
.v-play:focus-visible { outline: 3px solid var(--purple-light); outline-offset: -3px; }
.v-frame.is-playing .v-play { display: none; }

@media (max-width: 767px) {
  .t-row { grid-template-columns: 1fr; grid-template-areas: "cap" "media" "who"; row-gap: 20px; }
  .t-row:nth-child(even) { grid-template-areas: "cap" "media" "who"; }
  .t-cap { align-self: auto; }
  .t-who { margin-top: 4px; }
}

/* ---------- Risultati ---------- */
.chev { display: block; width: 40px; height: 40px; margin: 0 auto var(--sp-stack); color: var(--ink); }
.r-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-card) 32px;
  align-items: stretch;
}
.r-item { margin: 0; display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 16px; }
.r-cap { margin: 0; text-align: center; font-size: var(--fs-h3); line-height: 1.4; color: var(--text); text-wrap: balance; display: flex; align-items: flex-end; justify-content: center; }
.r-cap span { display: block; }
.r-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--r-md); line-height: 0; }
.r-btn img {
  width: 100%; height: auto; border-radius: var(--r-md);
  box-shadow: 0 10px 30px rgba(19, 22, 40, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.r-btn:hover img { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(19, 22, 40, 0.24); }
.r-btn:focus-visible { outline: 3px solid var(--purple-light); outline-offset: 4px; }
@media (max-width: 991px) {
  .r-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .r-grid { grid-template-columns: 1fr; gap: var(--sp-card); }
  .r-cap { align-items: flex-start; }
  .r-item { max-width: 420px; margin: 0 auto; width: 100%; }
}

.others { text-align: center; }
.others p { margin: 0; font-size: var(--fs-lede); line-height: 1.5; color: var(--text); text-wrap: balance; }
.others p:first-child { font-weight: 700; color: var(--ink); font-size: var(--fs-h3); }

/* ---------- Hai visto abbastanza ---------- */
.enough {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: 56px 48px;
  text-align: center;
}
.enough .lede { margin-top: var(--sp-stack); max-width: 880px; margin-left: auto; margin-right: auto; }
@media (max-width: 767px) { .enough { padding: 40px 20px; } }

/* ---------- Piede ---------- */
.foot { text-align: center; padding-bottom: 56px; }
.foot img { height: 56px; width: auto; margin: 0 auto var(--sp-stack); }
.foot p { margin: 0 0 14px; font-size: var(--fs-legal); line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.foot p.owner { font-size: var(--fs-body); font-weight: 600; color: var(--ink); }
.foot a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.foot a:hover { color: var(--purple); }
.foot .wrap { max-width: 960px; }

/* ---------- Pagina informativa privacy ---------- */
.doc { padding-top: var(--sp-title); padding-bottom: var(--sp-section); }
.doc h1 { font-size: var(--fs-h2); font-weight: 800; line-height: var(--lh-title); letter-spacing: -0.02em; margin-bottom: var(--sp-stack); }
.doc h2 { font-size: var(--fs-h3); font-weight: 800; color: var(--ink); line-height: 1.25; margin: 40px 0 12px; text-wrap: balance; }
.doc p, .doc li { font-size: var(--fs-body); color: var(--text); }
.doc p { margin: 0 0 14px; }
.doc ul { margin: 0 0 14px; padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc a { color: var(--purple); }
.doc .meta { color: var(--muted); }

/* ---------- Lightbox risultati ---------- */
.lb {
  position: fixed; inset: 0; z-index: 9100; display: none; align-items: center; justify-content: center;
  padding: 16px; background: rgba(12, 10, 24, 0.82); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
  animation: ll-fade 0.2s ease-out;
}
.lb.is-open { display: flex; }
.lb img { max-width: 100%; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); width: auto; height: auto; border-radius: var(--r-md); background: #0c0e18; animation: ll-rise 0.25s ease-out; }
.lb .x {
  position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(19, 22, 40, 0.7); color: #fff; font-size: 26px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background 0.15s ease;
}
.lb .x:hover { background: var(--purple); }

/* ---------- Popup (modale) con il modulo: struttura del popup di Acquisition ---------- */
@keyframes ll-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ll-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.acq-modal {
  position: fixed; inset: 0; z-index: 9000; display: none;
  align-items: center; justify-content: center;
  padding: 16px; overflow-y: auto;
  background: rgba(12, 10, 24, 0.72);
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
}
.acq-modal.is-open { display: flex; animation: ll-fade 0.2s ease-out; }
html.modal-open { overflow: hidden; }
.acq-dialog {
  position: relative; width: 100%; max-width: 1000px; margin: auto;
  padding: 44px 48px 36px;
  border-radius: 20px;
  background: linear-gradient(135deg, #1b1038 0%, #0b0a14 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  color: #fff;
  animation: ll-rise 0.25s ease-out;
}
.acq-close {
  position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: transparent; color: rgba(255, 255, 255, 0.7); font-family: var(--font-sans); font-size: 26px; line-height: 26px;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}
.acq-close:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.acq-close:focus-visible { outline: 2px solid var(--purple-light); }
.acq-split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 36px; align-items: center; }
.acq-badge {
  display: inline-block; margin: 0 0 22px; padding: 8px 18px;
  font-size: 13px; font-weight: 700; line-height: 1.5; letter-spacing: 0.06em; text-transform: uppercase; color: #fff;
  background: rgba(111, 0, 255, 0.22); border: 2px solid var(--purple); border-radius: var(--r-pill);
}
.acq-title { margin: 0 0 14px; font-size: 44px; font-weight: 800; line-height: 1.02; letter-spacing: -0.02em; color: #fff; text-wrap: balance; }
.acq-tagline { margin: 0 0 26px; font-size: 22px; font-weight: 700; font-style: italic; line-height: 1.3; color: rgba(255, 255, 255, 0.85); text-wrap: balance; }
.acq-tagline .acq-accent { color: var(--purple); }
.acq-mark { width: 72px; height: auto; margin: 0 0 22px; }

.acq-form { display: block; margin: 0; }
.acq-field { margin: 0 0 14px; }
.acq-input {
  display: block; width: 100%; height: 56px; padding: 15px 16px;
  font-family: var(--font-sans); font-size: 16px; line-height: 1.4; color: #fff;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: var(--r-sm);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.acq-input::placeholder { color: rgba(255, 255, 255, 0.55); opacity: 1; }
.acq-input:hover { border-color: rgba(255, 255, 255, 0.36); }
.acq-input:focus { outline: none; border-color: var(--purple-light); background: rgba(255, 255, 255, 0.12); }
.acq-field.is-bad .acq-input { border-color: #ff9a9a; }
.acq-hint { display: none; margin: 6px 2px 0; font-size: 16px; font-weight: 500; line-height: 1.4; color: #ffb4b4; }
.acq-field.is-bad .acq-hint { display: block; }
.acq-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.acq-check { display: block; margin: 0 0 12px; }
.acq-check label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 16px; line-height: 1.45; color: rgba(255, 255, 255, 0.88); }
.acq-check input {
  appearance: none; -webkit-appearance: none; flex: none; width: 24px; height: 24px; margin: 1px 0 0;
  border: 2px solid rgba(255, 255, 255, 0.45); border-radius: 6px; background: transparent; cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.acq-check input:checked {
  background: var(--purple) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat;
  border-color: var(--purple);
}
.acq-check input:focus-visible { outline: 2px solid var(--purple-light); outline-offset: 2px; }
.acq-check.is-bad input { border-color: #ff9a9a; }
.acq-check .acq-hint { margin-left: 36px; }
.acq-check.is-bad .acq-hint { display: block; }

.acq-submit {
  display: block; width: 100%; margin: 20px 0 0; padding: 22px 16px;
  font-family: var(--font-sans); font-size: 22px; font-weight: 800; line-height: 1.2; color: #fff; text-align: center;
  background: var(--purple); border: 0; border-radius: var(--r-lg); cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.acq-submit:hover { background: var(--purple-hover); }
.acq-submit:focus-visible { outline: 3px solid var(--purple-light); outline-offset: 3px; }
.acq-submit[disabled] { opacity: 0.75; cursor: progress; }
.acq-alert {
  display: none; margin: 16px 0 0; padding: 14px 16px; font-size: 16px; font-weight: 500; line-height: 1.45; color: #fff;
  background: rgba(255, 120, 120, 0.14); border: 1px solid rgba(255, 154, 154, 0.55); border-radius: var(--r-sm);
}
.acq-alert.is-on { display: block; }
.acq-privacy { display: block; margin: 14px 0 0; text-align: center; font-size: 16px; font-weight: 600; color: rgba(255, 255, 255, 0.75); text-decoration: underline; text-underline-offset: 3px; transition: color 0.15s ease; }
.acq-privacy:hover { color: #fff; }

@media (max-width: 860px) {
  .acq-dialog { padding: 44px 20px 24px; border-radius: 16px; }
  .acq-modal { padding: 10px; }
  .acq-split { grid-template-columns: 1fr; gap: 24px; }
  .acq-intro { text-align: center; }
  .acq-title { font-size: 28px; letter-spacing: -0.02em; }
  .acq-tagline { font-size: 18px; margin-bottom: 4px; }
  .acq-badge { font-size: 12px; padding: 6px 14px; margin-bottom: 14px; }
  .acq-mark { display: none; }
  .acq-close { width: 40px; height: 40px; }
  .acq-submit { font-size: 18px; padding: 16px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .acq-dialog, .acq-modal.is-open, .lb, .lb img { animation: none; }
  .btn, .btn:hover { transition: none; transform: none; }
}
