:root {
  --primary: #2f7ff0;
  --primary-deep: #0b3d91;
  --ink: #0a1424;
  --night: #060e1f;
  --night-surface: #0d1c34;
  --night-border: #1c2f4d;
  --sky: #4ea8f5;
  --bg: #ffffff;
  --bg-alt: #f4f6fa;
  --line: #e1e6ee;
  --muted: #57647a;
  --faint: #6b7689;
  --link: #1858c4;
  --night-muted: #aeb8c8;
  --err-bg: #fff3f3;
  --err-line: #e05252;
  --err-text: #b23030;
}

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

body {
  font-family: Montserrat, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--link); }

.wrap { max-width: 860px; margin: 0 auto; padding: 0 20px; }

/* Header */
.top { border-bottom: 1px solid var(--line); background: #fff; }
.top .wrap { display: flex; justify-content: center; padding-top: 16px; padding-bottom: 16px; }
.top img { height: 32px; width: auto; display: block; }

/* Etichette e titoli */
.eyebrow {
  font-family: Poppins, sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--primary-deep);
}
h1 {
  font-family: Poppins, sans-serif;
  font-weight: 900; text-transform: uppercase;
  font-size: clamp(32px, 6vw, 60px);
  line-height: 1.05; letter-spacing: -0.02em;
  margin: 14px 0 16px;
}
h1 em { font-style: normal; color: var(--primary); }
h2 {
  font-family: Poppins, sans-serif;
  font-weight: 800; text-transform: uppercase;
  font-size: clamp(22px, 4vw, 32px);
  line-height: 1.15; letter-spacing: -0.02em;
}
.sub { color: var(--muted); font-size: clamp(16px, 2.2vw, 19px); max-width: 620px; margin: 0 auto; }

/* Hero */
.hero { text-align: center; padding: clamp(40px, 7vw, 72px) 0 32px; }

/* Video */
.video {
  position: relative; aspect-ratio: 16 / 9;
  border-radius: 14px; overflow: hidden;
  border: 2px solid var(--ink);
  box-shadow: 0 8px 0 var(--ink);
  background: var(--night);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  color: var(--night-muted); font-size: 14px; text-align: center; padding: 20px;
}
.video-ph .play {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  display: flex; align-items: center; justify-content: center;
}
.video-ph .play::after {
  content: ""; margin-left: 6px;
  border-left: 22px solid #fff; border-top: 14px solid transparent; border-bottom: 14px solid transparent;
}

/* Bottone */
.btn {
  display: inline-block; width: 100%;
  font-family: Poppins, sans-serif; font-weight: 800;
  font-size: 17px; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; text-align: center;
  color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  border: 0; border-radius: 9px; padding: 19px 28px;
  box-shadow: 0 6px 0 var(--ink); cursor: pointer;
  transition: transform .08s ease, box-shadow .08s ease;
}
.btn:hover { filter: brightness(1.07); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink); }
.btn[disabled] { opacity: .7; cursor: wait; }

/* Modulo */
.form-sec { background: var(--bg-alt); border-top: 1px solid var(--line); margin-top: 56px; padding: 56px 0 72px; }
.form-card {
  max-width: 520px; margin: 0 auto;
  background: #fff; border: 2px solid var(--ink); border-radius: 14px;
  box-shadow: 0 8px 0 var(--ink);
  padding: clamp(24px, 5vw, 40px);
}
.form-card h2 { text-align: center; margin: 8px 0 6px; }
.form-card .eyebrow { text-align: center; }
.form-card .hint { text-align: center; color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label {
  display: block; margin-bottom: 6px;
  font-family: Poppins, sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.field input {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 8px; padding: 15px;
  background: #fff;
}
.field input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(47,127,240,.15); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); margin: 4px 0 22px; }
.check input { margin-top: 3px; accent-color: var(--primary); width: 17px; height: 17px; flex-shrink: 0; }
.err {
  display: none; margin-bottom: 16px;
  background: var(--err-bg); border: 1.5px solid var(--err-line); color: var(--err-text);
  border-radius: 8px; padding: 12px 14px; font-size: 14.5px;
}
.err.show { display: block; }
.safe { text-align: center; font-size: 13px; color: var(--faint); margin-top: 16px; }

/* Thank you (Night) */
.night { background: var(--night); color: #fff; min-height: calc(100vh - 65px); padding: clamp(40px, 7vw, 72px) 0 80px; }
.night .eyebrow { color: var(--sky); text-align: center; }
.night h1 { text-align: center; }
.night h1 em { color: var(--sky); }
.night .sub { color: var(--night-muted); text-align: center; margin-bottom: 36px; }
.night .video { border-color: var(--night-border); box-shadow: 0 8px 0 var(--primary-deep); }
.note {
  max-width: 620px; margin: 44px auto 0;
  background: var(--night-surface); border: 1px solid var(--night-border); border-top: 3px solid var(--primary);
  border-radius: 10px; padding: 24px;
  color: var(--night-muted);
}
.note p + p { margin-top: 12px; }
.note strong { color: #fff; }
.dl { max-width: 520px; margin: 36px auto 0; }
.dl .btn { box-shadow: 0 6px 0 #000; }

footer { text-align: center; font-size: 13px; color: var(--faint); padding: 24px 20px; border-top: 1px solid var(--line); }
.night + footer { background: var(--night); border-color: var(--night-border); color: #6c7d99; }

/* Cosa trovi dentro */
.inside { max-width: 680px; margin-top: 44px; }
.inside .eyebrow { text-align: center; margin-bottom: 16px; }
.inside-list { list-style: none; display: grid; gap: 10px; }
.inside-list li {
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--primary);
  border-radius: 10px; padding: 14px 18px; color: var(--muted); font-size: 16px;
}
.inside-list strong { color: var(--ink); }

/* Campo Instagram con @ */
.ig-input { display: flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; }
.ig-input:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(47,127,240,.15); }
.ig-input span { display: flex; align-items: center; padding: 0 0 0 15px; font-weight: 700; color: var(--muted); }
.ig-input input { border: 0 !important; box-shadow: none !important; padding-left: 4px; }
.field input::placeholder { color: var(--faint); opacity: .8; }

/* Trappola anti-bot */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Consenso: si vede l'inizio, il resto si apre passandoci sopra (o con "leggi tutto" da telefono) */
.consent .more { display: none; }
.consent:hover .more, .consent:focus-within .more, .consent.open .more { display: inline; }
.consent:hover .dots, .consent:focus-within .dots, .consent.open .dots,
.consent:hover .toggle, .consent:focus-within .toggle, .consent.open .toggle { display: none; }
.consent .toggle { background: none; border: 0; padding: 0; font: inherit; color: var(--link); text-decoration: underline; cursor: pointer; }

/* Informativa privacy */
.legal { max-width: 760px; padding-top: clamp(32px, 6vw, 56px); padding-bottom: 64px; }
.legal .eyebrow { margin-bottom: 10px; }
.legal h1 { font-size: clamp(30px, 5vw, 44px); margin-bottom: 20px; }
.legal h2 { font-family: Poppins, sans-serif; font-weight: 800; text-transform: uppercase; font-size: 17px; letter-spacing: .02em; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--muted); font-size: 16px; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 12px 0 0 20px; display: grid; gap: 8px; }
.legal a { overflow-wrap: anywhere; }
.legal .updated { margin-top: 36px; font-size: 14px; color: var(--faint); }
.legal .back { margin-top: 28px; font-weight: 600; }
