/* /assets/css/landing.css — stili della pagina di presentazione (landing.html, landing-en.html). Tema proprio, indipendente da HD UI. Font locali in assets/fonts. */

@font-face { font-family: "Inter"; src: url("../fonts/inter/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk/space-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }

/* Token */
.lp {
  --lp-bg: #0F1214; --lp-panel: #171C20; --lp-panel-2: #242C32;
  --lp-line: #2C343A; --lp-line-2: #46525A; --lp-line-3: #6B7780;
  --lp-text: #F1F4F2; --lp-text-2: #C9D1D5; --lp-muted: #A9B3B8;
  --lp-accent: #C6F24E; --lp-info: #8FD0FF;
  --lp-paper: #EEF1EC; --lp-paper-line: #D5DAD2; --lp-ink-2: #3A444A; --lp-ink-3: #4A5560; --lp-ink-accent: #3D4A1A;
  --lp-display: "Space Grotesk", Inter, system-ui, sans-serif;
  --lp-body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  margin: 0; background: var(--lp-bg); color: var(--lp-text);
  font: 16px/1.55 var(--lp-body); -webkit-font-smoothing: antialiased;
}
.lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
.lp h1, .lp h2, .lp h3, .lp p { margin: 0; }
.lp a { color: inherit; text-decoration: none; }
.lp a:hover { text-decoration: underline; }
.lp a:focus-visible, .lp button:focus-visible { outline: 2px solid var(--lp-info); outline-offset: 3px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Impaginazione */
.lp-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.lp-section { padding: 96px 0; }
.lp-section--tight { padding-bottom: 72px; }
.lp-section--steps { padding-top: 48px; }
.lp-section--paper { background: var(--lp-paper); color: var(--lp-bg); }
.lp-section--panel { background: var(--lp-panel); border-block: 1px solid var(--lp-line); }
.lp-stack { display: flex; flex-direction: column; gap: 44px; }
.lp-stack--sm { gap: 36px; }
.lp-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.lp-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.lp-grid--3 { gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.lp-grid--steps { gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.lp-split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.lp-split--top { align-items: flex-start; gap: 48px; }
.lp-split__copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.lp-split__copy--wide { flex-basis: 520px; gap: 22px; }
.lp-split__copy--narrow { flex-basis: 340px; gap: 16px; }
.lp-col { display: flex; flex-direction: column; gap: 8px; }
.lp-col--tight { gap: 6px; }
.lp-col--wide { gap: 14px; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-titlerow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.lp-line { display: flex; justify-content: space-between; gap: 16px; color: var(--lp-text-2); }
.lp-baseline { display: flex; align-items: baseline; gap: 10px; }

/* Testo */
.lp-eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--lp-accent); }
.lp-section--paper .lp-eyebrow { color: var(--lp-ink-accent); }
.lp-h1 { font: 700 clamp(38px, 4.6vw, 66px)/1.04 var(--lp-display); letter-spacing: -.02em; text-wrap: balance; overflow-wrap: break-word; }
.lp-h2 { font: 700 clamp(32px, 4vw, 52px)/1.08 var(--lp-display); letter-spacing: -.02em; }
.lp-h2--sm { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; }
.lp-h2--xl { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.04; }
.lp-h3 { font: 600 21px/1.2 var(--lp-display); }
.lp-lead { font-size: 18px; color: var(--lp-text-2); }
.lp-section--paper .lp-lead, .lp-note { color: var(--lp-ink-2); }
.lp-muted { color: var(--lp-muted); }
.lp-accent { color: var(--lp-accent); }
.lp-info { color: var(--lp-info); }
.lp-strong { font-weight: 600; }
.lp-strike { color: var(--lp-muted); text-decoration: line-through; }
.lp-small { font-size: 14px; }
.lp-xsmall { font-size: 12px; }
.lp-label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--lp-muted); }
.lp-price { font: 600 18px/1.1 var(--lp-display); }
.lp-price--md { font-size: 28px; font-weight: 700; }
.lp-price--lg { font-size: 34px; font-weight: 700; }

/* Pulsanti ed etichette */
.lp-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 8px; background: var(--lp-accent); color: var(--lp-bg); font-weight: 600; }
.lp .lp-btn { color: var(--lp-bg); }
.lp-btn:hover { text-decoration: none; filter: brightness(1.08); }
.lp-btn--lg { min-height: 54px; padding: 0 26px; border-radius: 10px; font-size: 17px; }
.lp-btn--dark { background: var(--lp-bg); }
.lp-btn--ghost { background: transparent; border: 1px solid var(--lp-line-2); }
.lp .lp-btn--ghost { color: var(--lp-text); }
.lp .lp-btn--dark { color: #fff; }
.lp-soon { display: none; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--lp-line-3); color: var(--lp-text-2); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.lp-section--paper .lp-soon { color: var(--lp-ink-2); }
.lp--roadmap .lp-soon { display: inline-block; }   /* togli la classe lp--roadmap dal body per nascondere tutte le etichette "In arrivo" */
.lp-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--lp-line-2); font-size: 14px; }
.lp-chip--on { border-color: var(--lp-accent); }
.lp-ai .lp-chip { font-size: 13px; color: var(--lp-text-2); }
.lp-ai .lp-chip--on { background: var(--lp-accent); color: var(--lp-bg); font-weight: 600; }
.lp-chip .lp-soon { border: 0; padding: 0; font-size: 10px; color: var(--lp-muted); }

/* Intestazione */
.lp-nav { border-bottom: 1px solid var(--lp-line); }
.lp-nav__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; }
.lp-nav__links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; font-size: 15px; }
.lp-nav__links a:not(.lp-btn) { display: inline-flex; align-items: center; min-height: 44px; color: var(--lp-text-2); }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 700 18px var(--lp-display); }
.lp-brand__mark { width: 22px; height: 22px; border-radius: 5px; background: var(--lp-accent); }

/* Hero e demo */
.lp-hero { padding: 72px 0 88px; }
.lp-hero__in { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.lp-hero__copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.lp-hero__lead { font-size: 20px; color: var(--lp-text-2); max-width: 520px; text-wrap: pretty; }
.lp-hero__cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.lp-demo { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; padding: 20px; background: var(--lp-panel); border: 1px solid var(--lp-line); border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.lp-demo__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-tab { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--lp-line-2); background: transparent; color: var(--lp-text); font: 600 14px var(--lp-body); cursor: pointer; }
.lp-tab[aria-pressed="true"] { background: var(--lp-accent); border-color: var(--lp-accent); color: var(--lp-bg); }
.lp-demo__body { display: flex; flex-wrap: wrap; gap: 18px; }
.lp-demo__preview { flex: 1 1 220px; min-width: 0; min-height: 250px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 18px; background: var(--lp-bg); border: 1px solid var(--lp-line); border-radius: 12px; }
.lp-demo__cells { display: grid; gap: 5px; padding: 6px; border: 2px solid var(--lp-accent); border-radius: 4px; transition: width .25s ease; }
.lp-demo__cells > span { background: var(--lp-panel-2); border: 1px solid var(--lp-line-2); border-radius: 2px; }
.lp-demo__caption { text-align: center; font-size: 12px; color: var(--lp-muted); letter-spacing: .06em; text-transform: uppercase; }
.lp-demo__form { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.lp-demo__title { font: 600 22px var(--lp-display); }
.lp-demo__fields, .lp-demo__opts { display: flex; flex-direction: column; gap: 6px; }
.lp-field { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 6px 0; border-bottom: 1px solid var(--lp-line); }
.lp-field > span:first-child { color: var(--lp-muted); }
.lp-field > span:last-child { font-weight: 500; }
.lp-opt { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border: 1px solid var(--lp-line); border-radius: 8px; font-size: 13px; }
.lp-opt--on { border-color: var(--lp-accent); }
.lp-opt--info { border-color: var(--lp-info); }
.lp-opt--off { border-style: dashed; border-color: var(--lp-line-2); }
.lp-opt--col { flex-direction: column; align-items: flex-start; gap: 2px; }
button.lp-opt { width: 100%; min-height: 44px; background: transparent; color: var(--lp-text); font: 14px var(--lp-body); text-align: left; cursor: pointer; }
button.lp-opt[aria-pressed="true"] { background: var(--lp-panel-2); border-color: var(--lp-accent); }
.lp-opt__name { display: inline-flex; align-items: center; gap: 10px; }
.lp-opt__box { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--lp-line-3); }
button.lp-opt[aria-pressed="true"] .lp-opt__box { background: var(--lp-accent); border-color: var(--lp-accent); }
.lp-opt__price { color: var(--lp-text-2); }
.lp-demo__foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--lp-line); }
.lp-demo__total { display: flex; flex-direction: column; }
.lp-demo__price { font: 700 40px/1.1 var(--lp-display); color: var(--lp-accent); }

/* Schede */
.lp-card { display: flex; flex-direction: column; gap: 12px; padding: 22px; background: var(--lp-panel); border: 1px solid var(--lp-line); border-radius: 16px; }
.lp-card > p { font-size: 15px; color: var(--lp-text-2); }
.lp-section--panel .lp-card { background: var(--lp-bg); }
.lp-section--paper .lp-card { background: #fff; border-color: var(--lp-paper-line); }
.lp-section--paper .lp-card > p { color: var(--lp-ink-2); }
.lp-card--step { padding: 26px; }
.lp-card__kind { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--lp-ink-3); }
.lp-card__num { font: 600 13px var(--lp-display); color: var(--lp-accent); }
.lp-step { font: 700 44px/1 var(--lp-display); color: var(--lp-accent); }
.lp-note { font-size: 16px; }

/* Riquadri illustrativi */
.lp-shot { position: relative; height: 170px; padding: 14px; background: var(--lp-bg); border: 1px solid var(--lp-line); border-radius: 10px; font-size: 13px; overflow: hidden; }
.lp-shot--between { display: flex; flex-direction: column; justify-content: space-between; padding: 18px; }
.lp-shot--center { display: flex; align-items: center; justify-content: center; }
.lp-shot__hint { position: absolute; right: 12px; bottom: 10px; font-size: 12px; color: var(--lp-muted); }
.lp-svg-dim { stroke: var(--lp-line-2); }
.lp-slider { position: relative; height: 6px; border-radius: 3px; background: var(--lp-line); }
.lp-slider__fill { width: 62%; height: 100%; border-radius: 3px; background: var(--lp-accent); }
.lp-slider__knob { position: absolute; left: 62%; top: -6px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--lp-text); }
.lp-cursor { padding: 2px 8px; border-radius: 4px; background: var(--lp-accent); color: var(--lp-bg); font-weight: 600; }
.lp-cursor--info { background: var(--lp-info); }
.lp-variants { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; font-size: 12px; }
.lp-variant { display: flex; flex-direction: column; justify-content: space-between; padding: 10px; border: 1px solid var(--lp-line); border-radius: 8px; }
.lp-variant--on { border-color: var(--lp-accent); }
.lp-key { padding: 4px 10px; border: 1px solid var(--lp-line-2); border-radius: 6px; }

/* Intelligenza artificiale */
.lp-callout { padding: 14px 16px; background: var(--lp-bg); border: 1px solid var(--lp-line); border-radius: 10px; color: var(--lp-text-2); }
.lp-ai { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 20px; background: var(--lp-bg); border: 1px solid var(--lp-line); border-radius: 16px; }
.lp-ai__prompt { padding: 14px; background: var(--lp-panel); border: 1px solid var(--lp-line); border-radius: 10px; font-size: 15px; }
.lp-diff { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border-radius: 8px; background: var(--lp-panel); font-size: 14px; }
.lp-diff--ask { background: transparent; border: 1px dashed var(--lp-info); color: var(--lp-info); }
.lp-plus { color: var(--lp-accent); }
.lp-fakebtn { padding: 10px 18px; border: 1px solid var(--lp-line-2); border-radius: 8px; font-size: 14px; }
.lp-fakebtn--on { background: var(--lp-accent); border-color: var(--lp-accent); color: var(--lp-bg); font-weight: 600; }

/* Offerta web viva */
.lp-phone { flex: 0 1 340px; min-width: 0; margin: 0 auto; padding: 14px; background: var(--lp-panel); border: 1px solid var(--lp-line-2); border-radius: 34px; }
.lp-phone__screen { display: flex; flex-direction: column; gap: 14px; padding: 22px 18px; background: var(--lp-paper); color: var(--lp-bg); border-radius: 22px; font-size: 14px; }
.lp-phone__screen .lp-xsmall, .lp-phone__screen .lp-label { color: var(--lp-ink-3); }
.lp-phone__title { font: 700 22px/1.15 var(--lp-display); }
.lp-phone__opt { display: flex; justify-content: space-between; padding: 10px 12px; background: #fff; border: 1px solid var(--lp-paper-line); border-radius: 8px; }
.lp-phone__opt--on { border: 1.5px solid var(--lp-bg); }
.lp-phone__opt > span:last-child { color: var(--lp-ink-3); }
.lp-phone__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; border-top: 1px solid var(--lp-paper-line); color: var(--lp-ink-3); }
.lp-phone__total .lp-price { color: var(--lp-bg); }
.lp-phone__btn { padding: 14px; border-radius: 10px; background: var(--lp-bg); color: #fff; font-weight: 600; text-align: center; }
.lp-phone__links { text-align: center; color: var(--lp-ink-2); }
.lp-timeline { display: flex; flex-direction: column; padding-left: 20px; border-left: 2px solid var(--lp-line); font-size: 15px; }
.lp-timeline .lp-line { padding: 8px 0; color: var(--lp-text); }

/* Sicurezza */
.lp-facts { flex: 2 1 560px; min-width: 0; display: grid; gap: 28px 32px; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.lp-fact { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; border-top: 1px solid var(--lp-line); }
.lp-fact h3 { font-size: 17px; font-weight: 600; }
.lp-fact p { font-size: 15px; color: var(--lp-text-2); }

/* Invito finale e piede */
.lp-cta { padding: 88px 0; background: var(--lp-accent); color: var(--lp-bg); }
.lp-cta__in { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between; }
.lp-cta__copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.lp-cta__lead { font-size: 18px; max-width: 560px; }
.lp-cta__action { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.lp-foot { padding: 32px 0; font-size: 14px; color: var(--lp-muted); }
.lp-foot__in { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
.lp-foot__links { display: flex; flex-wrap: wrap; gap: 20px; color: var(--lp-text-2); }

@media (max-width: 640px) {
  .lp-section { padding: 64px 0; }
  .lp-hero { padding: 40px 0 64px; }
  .lp-nav__links a:not(.lp-btn):not(.lp-lang) { display: none; }
  .lp-nav__links { gap: 8px 14px; }
}
