/* ============================================================
   EasyTransportAI — Landing page pubblica
   Sorgente: docs/superpowers/specs/2026-07-29-landing-mockup.html
   Tutto scoped sotto .lp, tutte le classi con prefisso "lp-".
   Nessun selettore deve applicarsi fuori da .lp (evita di
   sovrascrivere .hero/.card/.btn/.eyebrow/.lead di app.css/tokens.css).
   I token globali arrivano da css/design/tokens.css. Le variabili
   locali del mockup non presenti nei token globali sono ridichiarate
   qui su .lp con prefisso --lp-*.
   ============================================================ */

.lp {
  --lp-maxw: 1180px;
  --lp-r-btn: 9px;
  --lp-r-card: 14px;
  --lp-r-pill: 999px;
  --lp-shadow-md: 0 10px 30px -12px rgba(16, 105, 183, .28);
  --lp-shadow-glow: 0 0 40px -8px rgba(0, 191, 217, .45);
  /* --border non esiste nei token globali (solo --border-subtle/--border-default/--border-strong) */
  --lp-border: #E6EBF3;

  margin: 0;
  background: var(--bg-page);
  color: var(--fg-1);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.lp, .lp * { box-sizing: border-box; }
.lp a { color: inherit; text-decoration: none; }
.lp img { max-width: 100%; }

.lp .lp-wrap { max-width: var(--lp-maxw); margin: 0 auto; padding: 0 24px; }

.lp .lp-eyebrow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-azure); font-weight: 600;
}
.lp .lp-grad-text { background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── buttons (dal design system) ── */
.lp .lp-btn {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600;
  font-size: 14px; padding: 11px 18px; border-radius: var(--lp-r-btn); border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease; white-space: nowrap;
}
.lp .lp-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(0, 115, 232, .35); }
.lp .lp-btn-primary { background: var(--et-gradient-blue); color: #fff; box-shadow: 0 4px 14px -4px rgba(16, 105, 183, .5); }
.lp .lp-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 22px -6px rgba(16, 105, 183, .6); }
.lp .lp-btn-gradient { background: var(--brand-gradient); color: #06103A; font-weight: 700; }
.lp .lp-btn-gradient:hover { transform: translateY(-1px); box-shadow: var(--lp-shadow-glow); }
.lp .lp-btn-ghost { background: transparent; border-color: var(--border-strong); color: var(--fg-1); }
.lp .lp-btn-ghost:hover { border-color: var(--brand-azure); color: var(--brand-azure); }
.lp .lp-btn-ghost.lp-on-dark { color: #E7EEFB; border-color: rgba(255, 255, 255, .28); }
.lp .lp-btn-ghost.lp-on-dark:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .06); }
.lp .lp-btn-lg { font-size: 15px; padding: 14px 24px; }

/* ── wordmark (come la sidebar reale) ── */
.lp .lp-brand { display: flex; align-items: center; gap: 12px; }
/* Pastiglia ET su scuro: sostituisce il tile testuale "ET" del mockup con l'immagine reale */
.lp .lp-brand-mark { background: #fff; border-radius: 11px; padding: 6px; display: grid; place-items: center; }
.lp .lp-brand-mark img { height: 26px; display: block; }
.lp .lp-brand-word { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -.02em; line-height: 1; }
.lp .lp-brand-word .lp-ai { color: #1069B7; font-weight: 500; margin-left: 2px; }
.lp .lp-brand-sub { font-size: 11px; color: var(--fg-3); letter-spacing: .02em; margin-top: 3px; }
.lp .lp-on-dark .lp-brand-word { color: #fff; }
.lp .lp-on-dark .lp-brand-word .lp-ai { color: #5EB8FF; }
.lp .lp-on-dark .lp-brand-sub { color: #9FB0CE; }
.lp .lp-brand-sub b { color: inherit; font-weight: 700; }

/* ── topbar ── */
.lp header.lp-top { position: absolute; top: 0; left: 0; right: 0; z-index: 5; }
.lp .lp-top-inner { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.lp .lp-top-cta { display: flex; align-items: center; gap: 12px; }

/* ── hero ── */
.lp .lp-hero {
  position: relative; background: radial-gradient(120% 120% at 80% -10%, #0b1f5c 0%, var(--bg-deep) 45%, var(--bg-deepest) 100%);
  color: #EAF1FF; overflow: hidden; padding: 132px 0 96px;
}
.lp .lp-hero svg.lp-route { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; pointer-events: none; }
.lp .lp-hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.lp .lp-hero h1 {
  font-family: var(--font-display); font-weight: 900; font-size: clamp(34px, 5vw, 58px); line-height: 1.03;
  letter-spacing: -.025em; margin: 18px 0 20px; text-wrap: balance; color: #fff;
}
.lp .lp-hero h1 em { font-style: italic; }
.lp .lp-hero h1 em.lp-g { background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp .lp-hero p.lp-lead { font-size: 18px; line-height: 1.6; color: #C3D0EA; max-width: 52ch; margin: 0 0 30px; }
.lp .lp-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.lp .lp-trust { margin-top: 26px; display: flex; align-items: center; gap: 10px; color: #9FB0CE; font-size: 13px; }
.lp .lp-trust .lp-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-mint); box-shadow: 0 0 10px var(--brand-mint); }
.lp .lp-hero-caps { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.lp .lp-cap {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: #DDE8FF;
  padding: 7px 13px; border-radius: var(--lp-r-pill); border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05);
}
.lp .lp-cap .lp-d { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-gradient); }

/* ── hero vignette: estrazione AI ── */
.lp .lp-vignette {
  position: relative; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px; padding: 22px 20px 30px; backdrop-filter: blur(8px); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .7);
}
.lp .lp-vg-doc {
  position: relative; z-index: 1; background: #fff; color: var(--fg-1); border-radius: 12px; padding: 16px 16px 18px; margin-top: 30px;
  box-shadow: 0 18px 42px -26px rgba(0, 0, 0, .55);
}
.lp .lp-vg-doc .lp-vg-hd { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--lp-border); padding-bottom: 10px; margin-bottom: 12px; }
.lp .lp-vg-file { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 13px; }
.lp .lp-vg-file svg { color: var(--et-red-deep); }
.lp .lp-ai-tag {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em; padding: 5px 9px; border-radius: var(--lp-r-pill);
  background: linear-gradient(90deg, rgba(0, 255, 204, .16), rgba(0, 115, 232, .16)); color: #0a6bc0;
}
.lp .lp-ai-tag .lp-d { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-gradient); }
.lp .lp-vg-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); margin: 12px 0 7px; }
.lp .lp-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.lp .lp-chip { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: var(--lp-r-pill); border: 1px solid var(--lp-border); background: #F7FAFF; color: var(--fg-2); }
.lp .lp-chip b { color: var(--fg-1); }
.lp .lp-chip.lp-win { background: rgba(0, 115, 232, .08); border-color: rgba(0, 115, 232, .2); color: #0a5aa8; }
/* prescrizioni estratte */
.lp .lp-rx { display: flex; align-items: flex-start; gap: 9px; padding: 9px 0; font-size: 12.5px; color: var(--fg-2); line-height: 1.45; }
.lp .lp-rx + .lp-rx { border-top: 1px solid var(--lp-border); }
.lp .lp-rx-cat {
  flex: none; font-family: var(--font-mono); font-size: 9.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 6px; margin-top: 1px;
}
.lp .lp-rx-cat.lp-scorta { background: rgba(45, 44, 148, .1); color: #2D2C94; }
.lp .lp-rx-cat.lp-percorso { background: rgba(198, 33, 39, .1); color: #C62127; }
.lp .lp-rx-cat.lp-sagoma { background: rgba(14, 124, 132, .12); color: #0E7C84; }
.lp .lp-rx-txt { flex: 1; color: var(--fg-1); font-weight: 500; }
.lp .lp-rx-pg { flex: none; font-family: var(--font-mono); font-size: 10px; color: var(--brand-azure); font-weight: 700; white-space: nowrap; margin-top: 2px; }
.lp .lp-verdict {
  margin-top: 14px; display: flex; align-items: center; gap: 9px; background: var(--success-soft); border: 1px solid #BFEBD8;
  border-radius: 10px; padding: 10px 12px; font-size: 13px; font-weight: 600; color: #0c7a52;
}
.lp .lp-verdict svg { flex: none; }
/* back card: preavvisi che sbircia dietro */
.lp .lp-vg-back {
  position: absolute; z-index: 0; top: 6px; right: -16px; width: 64%; background: #fff; color: var(--fg-1);
  border: 1px solid var(--lp-border); border-radius: 12px; padding: 12px 14px; box-shadow: 0 22px 50px -26px rgba(0, 0, 0, .6);
}
.lp .lp-vg-back .lp-bk-hd {
  display: flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--fg-3); margin-bottom: 9px;
}
.lp .lp-vg-back .lp-bk-hd .lp-wd { width: 6px; height: 6px; border-radius: 50%; background: var(--warning); box-shadow: 0 0 8px var(--warning); }
.lp .lp-rem { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; }
.lp .lp-rem + .lp-rem { border-top: 1px solid var(--lp-border); }
.lp .lp-rem .lp-who { color: var(--fg-2); font-weight: 600; font-size: 12px; }
.lp .lp-due { font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: var(--lp-r-pill); background: #EEF3FB; color: #3E4757; }
.lp .lp-due.lp-warn { background: #FFF4E5; color: #B45309; }
/* chat float */
.lp .lp-vg-chat {
  position: absolute; z-index: 2; left: -16px; bottom: -20px; width: 76%; background: #fff; color: var(--fg-1);
  border: 1px solid var(--lp-border); border-radius: 12px; box-shadow: var(--lp-shadow-md); padding: 12px 14px;
}
.lp .lp-vg-chat .lp-ch-hd {
  display: flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--fg-3); margin-bottom: 8px;
}
.lp .lp-vg-chat .lp-ch-hd .lp-d { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-gradient); }
.lp .lp-vg-q { font-size: 12.5px; color: var(--fg-1); font-weight: 600; }
.lp .lp-vg-a { margin-top: 9px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lp .lp-vg-a .lp-v-ok {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: var(--lp-r-pill);
  background: var(--success-soft); color: #0c7a52; border: 1px solid #BFEBD8;
}
.lp .lp-vg-a .lp-pg { font-family: var(--font-mono); font-size: 10.5px; color: var(--brand-azure); font-weight: 700; }

/* ── sezioni chiare ── */
.lp section.lp-block { padding: 88px 0; }
.lp .lp-sec-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.lp .lp-sec-head h2 {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.02em;
  margin: 12px 0 12px; text-wrap: balance;
}
.lp .lp-sec-head p { color: var(--fg-2); font-size: 17px; margin: 0; }

.lp .lp-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp .lp-card {
  background: var(--bg-surface); border: 1px solid var(--lp-border); border-radius: var(--lp-r-card); padding: 24px 22px;
  box-shadow: var(--shadow-xs); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.lp .lp-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(16, 105, 183, .35); border-color: var(--border-strong); }
.lp .lp-card .lp-ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(0, 255, 204, .16), rgba(0, 115, 232, .14)); color: var(--et-blue-bright);
}
.lp .lp-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 17px; margin: 0 0 7px; letter-spacing: -.01em; }
.lp .lp-card p { margin: 0; color: var(--fg-2); font-size: 14.5px; line-height: 1.55; }

/* ── come funziona ── */
.lp .lp-steps-wrap { background: var(--bg-surface); border-top: 1px solid var(--lp-border); border-bottom: 1px solid var(--lp-border); }
.lp .lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: lp-s; }
.lp .lp-step { position: relative; padding-left: 56px; }
.lp .lp-step::before {
  counter-increment: lp-s; content: counter(lp-s, decimal-leading-zero); position: absolute; left: 0; top: -2px;
  font-family: var(--font-mono); font-weight: 700; font-size: 15px; color: #fff; width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center; background: var(--et-gradient-blue); box-shadow: 0 6px 16px -6px rgba(16, 105, 183, .6);
}
.lp .lp-step h4 { font-family: var(--font-display); font-weight: 700; font-size: 16px; margin: 0 0 6px; }
.lp .lp-step p { margin: 0; color: var(--fg-2); font-size: 14px; }

/* ── banda CTA ── */
.lp .lp-cta-band {
  position: relative; background: var(--et-gradient-blue); color: #fff; border-radius: 22px; padding: 52px 48px; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; box-shadow: 0 30px 70px -34px rgba(16, 105, 183, .7);
}
.lp .lp-cta-band::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 204, .35), transparent 62%); pointer-events: none;
}
.lp .lp-cta-band h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 3vw, 32px); margin: 0 0 8px; letter-spacing: -.02em; }
.lp .lp-cta-band p { margin: 0; color: #DCE7FF; max-width: 46ch; }
.lp .lp-cta-band .lp-btn-gradient { position: relative; z-index: 1; }

/* ── footer ── */
.lp footer.lp-ft { background: var(--bg-deepest); color: #AFC0DE; padding: 52px 0 34px; }
.lp .lp-ft-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; padding-bottom: 26px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.lp .lp-ft p.lp-desc { max-width: 42ch; font-size: 14px; color: #8FA2C4; margin: 14px 0 0; }
.lp .lp-ft-links { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.lp .lp-ft-links a:hover { color: #fff; }
.lp .lp-ft-mag { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 800; letter-spacing: .02em; color: #fff; }
.lp .lp-ft-mag .lp-m { width: 26px; height: 26px; border-radius: 7px; background: var(--brand-gradient); display: grid; place-items: center; color: #06103A; font-weight: 900; font-size: 13px; }
.lp .lp-ft-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: #7286A8; padding-top: 20px; }

@media (max-width: 900px) {
  .lp .lp-hero-grid, .lp .lp-features, .lp .lp-steps { grid-template-columns: 1fr; }
  .lp .lp-hero { padding: 120px 0 72px; }
  .lp .lp-vignette { margin-top: 8px; padding: 16px; }
  .lp .lp-vg-doc { margin-top: 0; }
  .lp .lp-vg-back, .lp .lp-vg-chat { position: static; width: auto; margin-top: 12px; box-shadow: var(--shadow-xs); }
  .lp .lp-top-cta .lp-btn-ghost { display: none; }
  .lp section.lp-block { padding: 64px 0; }
  .lp .lp-cta-band { padding: 40px 28px; }
}

@media (prefers-reduced-motion: no-preference) {
  .lp .lp-route .lp-path { stroke-dasharray: 10 8; animation: lp-dash 8s linear infinite; }
  .lp .lp-route .lp-node { animation: lp-pulse 3.2s ease-in-out infinite; }
  .lp .lp-reveal { opacity: 0; transform: translateY(14px); animation: lp-rise .7s cubic-bezier(.2, .7, .3, 1) forwards; }
  .lp .lp-reveal.lp-d1 { animation-delay: .08s; }
  .lp .lp-reveal.lp-d2 { animation-delay: .16s; }
  .lp .lp-reveal.lp-d3 { animation-delay: .24s; }
}

@keyframes lp-dash { to { stroke-dashoffset: -360; } }
@keyframes lp-pulse { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
@keyframes lp-rise { to { opacity: 1; transform: none; } }
