/* ============================================
   /css/styles_landing.css
   BilancioFacile — Landing page pubblica
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800&display=swap');

:root {
  --accent: #4f6ef7;
  --accent-dark: #3b56d4;
  --accent-soft: #eef1fe;
  --ink: #1a1d2e;
  --ink-2: #3c4158;
  --ink-3: #6b7088;
  --ink-4: #8b90a8;
  --line: #e8eaf2;
  --bg: #ffffff;
  --bg-soft: #f7f9fd;
  --green: #28a745;
  --blue: #007bff;
  --purple: #6f42c1;
  --amber: #f59e0b;
  --red: #f04e4e;
  --font: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-sm: 0 2px 10px rgba(26, 29, 46, .05);
  --shadow-md: 0 8px 30px rgba(26, 29, 46, .08);
  --shadow-lg: 0 24px 60px rgba(26, 29, 46, .12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---- Container ---- */
.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   TOPBAR
   ============================================ */
.lp-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.lp-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.lp-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lp-logo img { height: 34px; }

.lp-logo span {
  font-weight: 700;
  letter-spacing: -.02em;
  font-size: 1.08rem;
}

.lp-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lp-nav a.nav-link {
  color: var(--ink-2);
  font-weight: 500;
  font-size: .92rem;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background .15s, color .15s;
}

.lp-nav a.nav-link:hover { background: var(--bg-soft); color: var(--ink); }

.btn-primary,
.btn-ghost,
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 700;
  font-size: .93rem;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s, background .2s, box-shadow .2s, border-color .2s, color .2s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(79, 110, 247, .28);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(79, 110, 247, .35);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover { border-color: var(--ink-4); background: var(--bg-soft); }

.btn-white {
  background: #fff;
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.btn-white:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-lg { padding: 14px 26px; font-size: 1rem; border-radius: 12px; }

/* ============================================
   HERO
   ============================================ */
.lp-hero {
  position: relative;
  padding: 88px 0 72px;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(79, 110, 247, .12), transparent 60%),
    radial-gradient(800px 500px at -10% 50%, rgba(111, 66, 193, .08), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  overflow: hidden;
}

.lp-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.lp-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: .78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.lp-hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.08;
  color: var(--ink);
}

.lp-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lp-hero h1 .lp-rotate {
  display: inline-block;
  will-change: opacity, transform;
}
@keyframes lp-rotate-out {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-14px); }
}
@keyframes lp-rotate-in {
  0%   { opacity: 0; transform: translateY(14px); }
  100% { opacity: 1; transform: translateY(0); }
}
.lp-hero h1 .lp-rotate.is-out {
  animation: lp-rotate-out .45s cubic-bezier(.55, 0, .65, .55) forwards;
}
.lp-hero h1 .lp-rotate.is-in {
  animation: lp-rotate-in .55s cubic-bezier(.22, 1, .36, 1) forwards;
}
@media (prefers-reduced-motion: reduce) {
  .lp-hero h1 .lp-rotate.is-out,
  .lp-hero h1 .lp-rotate.is-in { animation: none; }
}

.lp-hero-lead {
  font-size: 1.12rem;
  color: var(--ink-3);
  margin: 20px 0 30px;
  max-width: 560px;
}

.lp-hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.lp-hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--ink-4);
  font-size: .85rem;
}

.lp-hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lp-hero-trust i { color: var(--green); }

/* ---- Mockup a destra ---- */
.lp-hero-visual {
  position: relative;
  perspective: 1400px;
}

.lp-mockup {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotateY(-4deg) rotateX(2deg);
}

.lp-mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #f1f3f9;
  border-bottom: 1px solid var(--line);
}

.lp-mockup-bar i {
  width: 10px; height: 10px; border-radius: 50%;
  background: #d7dae5;
  display: inline-block;
}
.lp-mockup-bar i:nth-child(1) { background: #ff5f57; }
.lp-mockup-bar i:nth-child(2) { background: #ffbd2e; }
.lp-mockup-bar i:nth-child(3) { background: #28c840; }

.lp-mockup-body { padding: 22px 22px 26px; }

.lp-mockup-head {
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink-4);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.lp-mockup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.lp-kpi {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: #fff;
}

.lp-kpi-label {
  font-size: .72rem;
  color: var(--ink-4);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 6px;
}

.lp-kpi-value {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
}

.lp-kpi.green .lp-kpi-value { color: var(--green); }
.lp-kpi.red   .lp-kpi-value { color: var(--red); }
.lp-kpi.blue  .lp-kpi-value { color: var(--accent); }

.lp-kpi-delta {
  font-size: .72rem;
  font-weight: 600;
  color: var(--green);
  margin-top: 2px;
}
.lp-kpi-delta.down { color: var(--red); }

.lp-mockup-ai {
  background: linear-gradient(135deg, var(--accent-soft), #faf5ff);
  border: 1px solid #dde3fd;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.lp-mockup-ai i {
  color: var(--accent);
  margin-top: 2px;
}

.lp-mockup-ai p {
  font-size: .82rem;
  color: var(--ink-2);
  line-height: 1.45;
}

.lp-mockup-ai strong { color: var(--ink); }

/* ============================================
   SEZIONE STANDARD
   ============================================ */
.lp-section {
  padding: 96px 0;
}

.lp-section.alt { background: var(--bg-soft); }

.lp-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.lp-eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.lp-section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.lp-section-head p {
  font-size: 1.05rem;
  color: var(--ink-3);
}

/* ============================================
   PROBLEMA (lista pain points)
   ============================================ */
.lp-problems {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.lp-problem {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.lp-problem:hover {
  transform: translateY(-3px);
  border-color: #fbd7d7;
  box-shadow: 0 10px 30px rgba(240, 78, 78, .08);
}

.lp-problem-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #fef0f0;
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.lp-problem h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}

.lp-problem p {
  font-size: .9rem;
  color: var(--ink-3);
  line-height: 1.5;
}

/* ============================================
   FEATURE BLOCCHI (3 colonne)
   ============================================ */
.lp-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.lp-feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.lp-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.lp-feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-soft), #f3effd);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.lp-feature h3 {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -.01em;
}

.lp-feature p {
  font-size: .95rem;
  color: var(--ink-3);
  margin-bottom: 14px;
}

.lp-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lp-feature-list li {
  font-size: .88rem;
  color: var(--ink-2);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.lp-feature-list li i {
  color: var(--green);
  font-size: .78rem;
  margin-top: 5px;
}

/* ============================================
   RIQUADRO COMMERCIALISTA
   ============================================ */
.lp-commercialista {
  background: linear-gradient(135deg, #1a1d2e, #262b47);
  color: #fff;
  border-radius: 20px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.lp-commercialista::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 300px at 90% 10%, rgba(79, 110, 247, .25), transparent 60%),
    radial-gradient(400px 300px at 0% 100%, rgba(111, 66, 193, .2), transparent 60%);
  pointer-events: none;
}

.lp-commercialista > * { position: relative; }

.lp-commercialista .lp-eyebrow { color: #b5c1ff; }

.lp-commercialista h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.18;
  margin-bottom: 14px;
}

.lp-commercialista p {
  color: #c5c9dd;
  font-size: 1rem;
  margin-bottom: 18px;
}

.lp-commercialista ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-commercialista ul li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .95rem;
  color: #dfe2f0;
}

.lp-commercialista ul li i {
  color: #72e8a9;
  margin-top: 4px;
}

/* ============================================
   COSA INCLUDE (chip grid)
   ============================================ */
.lp-includes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.lp-include-item {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  align-items: flex-start;
  transition: border-color .2s, transform .2s;
}

.lp-include-item:hover { border-color: var(--accent); transform: translateY(-2px); }

.lp-include-item i {
  color: var(--accent);
  font-size: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lp-include-item h5 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.lp-include-item p {
  font-size: .83rem;
  color: var(--ink-3);
  line-height: 1.45;
}

/* ============================================
   BUSINESS PLAN — sezione dedicata
   ============================================ */
.lp-bp-eyebrow-new {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.lp-bp-eyebrow-new i { font-size: .78rem; }

.lp-bp-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 26px;
}

.lp-bp-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 24px 22px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}

.lp-bp-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79,110,247,0.10);
}

.lp-bp-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.lp-bp-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-1);
  margin-bottom: 8px;
}

.lp-bp-card p {
  font-size: .9rem;
  color: var(--ink-3);
  line-height: 1.55;
  margin-bottom: 14px;
}

.lp-bp-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lp-bp-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .85rem;
  color: var(--ink-2);
  line-height: 1.45;
}

.lp-bp-card ul li i {
  color: var(--accent);
  font-size: .75rem;
  margin-top: 4px;
}

/* Banner "Direttore di filiale AI" sotto le card */
.lp-bp-banner {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 22px 26px;
  background: linear-gradient(135deg, #1f2937 0%, #312e81 100%);
  color: #fff;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}

.lp-bp-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(79,110,247,0.45), transparent 70%);
  pointer-events: none;
}

.lp-bp-banner-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(255,255,255,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  position: relative;
}

.lp-bp-banner-text { flex: 1; position: relative; }
.lp-bp-banner-text strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: #fff;
}
.lp-bp-banner-text span {
  font-size: .9rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.lp-bp-banner-tag {
  background: rgba(67,233,123,0.15);
  color: #43e97b;
  border: 1px solid rgba(67,233,123,0.35);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .03em;
  flex-shrink: 0;
  position: relative;
}

@media (max-width: 860px) {
  .lp-bp-cards     { grid-template-columns: 1fr; }
  .lp-bp-banner    { flex-direction: column; text-align: center; gap: 14px; }
  .lp-bp-banner-text { text-align: center; }
}

/* ============================================
   PREZZI
   ============================================ */
.lp-pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1040px;
  margin: 0 auto;
}

.lp-plan {
  position: relative;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.lp-plan:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.lp-plan.popular {
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(79, 110, 247, .18);
  transform: translateY(-6px) scale(1.02);
}

.lp-plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 6px 14px;
  border-radius: 999px;
}

.lp-plan-icon {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.lp-plan h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.lp-plan-desc {
  font-size: .88rem;
  color: var(--ink-3);
  margin-bottom: 20px;
  min-height: 38px;
}

.lp-plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}

.lp-plan-price .num {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}

.lp-plan-price .per {
  font-size: .95rem;
  color: var(--ink-3);
  font-weight: 500;
}

.lp-plan-iva {
  font-size: .78rem;
  color: var(--ink-4);
  margin-bottom: 20px;
}

.lp-plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.lp-plan-features li {
  font-size: .9rem;
  color: var(--ink-2);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.lp-plan-features li i {
  color: var(--green);
  font-size: .82rem;
  margin-top: 5px;
  flex-shrink: 0;
}

.lp-plan-cta {
  width: 100%;
  padding: 13px;
  text-align: center;
  font-weight: 700;
  font-size: .95rem;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  display: block;
}

.lp-plan-cta:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.lp-plan.popular .lp-plan-cta {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.lp-plan.popular .lp-plan-cta:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
}

.lp-pricing-foot {
  text-align: center;
  margin-top: 36px;
  color: var(--ink-3);
  font-size: .9rem;
}

.lp-pricing-foot strong { color: var(--ink); }

/* ============================================
   FAQ
   ============================================ */
.lp-faq-wrap {
  max-width: 780px;
  margin: 0 auto;
}

.lp-faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}

.lp-faq-item[open] {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(79, 110, 247, .1);
}

.lp-faq-item summary {
  padding: 18px 22px;
  font-weight: 600;
  font-size: .98rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  color: var(--ink);
}

.lp-faq-item summary::-webkit-details-marker { display: none; }

.lp-faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--ink-4);
  transition: transform .2s;
}

.lp-faq-item[open] summary::after { transform: rotate(45deg); color: var(--accent); }

.lp-faq-item .faq-body {
  padding: 0 22px 20px;
  color: var(--ink-3);
  font-size: .94rem;
  line-height: 1.6;
}

/* ============================================
   CTA FINALE
   ============================================ */
.lp-cta-final {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--accent) 0%, var(--purple) 100%);
  color: #fff;
  text-align: center;
}

.lp-cta-final h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 14px;
}

.lp-cta-final p {
  font-size: 1.08rem;
  opacity: .9;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.lp-cta-final-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.lp-cta-final .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .4);
}

.lp-cta-final .btn-ghost:hover {
  background: rgba(255, 255, 255, .1);
  border-color: #fff;
}

   ============================================ */
.lp-legal {
  padding: 64px 0 96px;
  background: var(--bg-soft);
  min-height: 70vh;
}

.lp-legal-head {
  max-width: 780px;
  margin: 0 auto 40px;
  text-align: center;
}

.lp-legal-head .lp-eyebrow { margin-bottom: 14px; }

.lp-legal-head h1 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.lp-legal-head .updated {
  font-size: .88rem;
  color: var(--ink-4);
}

.lp-legal-doc {
  max-width: 780px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 48px 52px;
  box-shadow: var(--shadow-sm);
}

.lp-legal-doc h2 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 36px 0 14px;
  padding-top: 8px;
  color: var(--ink);
}

.lp-legal-doc h2:first-child { margin-top: 0; }

.lp-legal-doc h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 22px 0 10px;
  color: var(--ink-2);
}

.lp-legal-doc p,
.lp-legal-doc li {
  font-size: .96rem;
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: 10px;
}

.lp-legal-doc ul,
.lp-legal-doc ol {
  padding-left: 22px;
  margin-bottom: 14px;
}

.lp-legal-doc li { margin-bottom: 6px; }

.lp-legal-doc strong { color: var(--ink); }

.lp-legal-doc a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lp-legal-doc .info-box {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: 14px 18px;
  border-radius: 6px;
  margin: 16px 0;
  font-size: .93rem;
}

.lp-legal-doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 20px;
  font-size: .9rem;
}

.lp-legal-doc th,
.lp-legal-doc td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.lp-legal-doc th {
  background: var(--bg-soft);
  font-weight: 700;
  color: var(--ink);
}

.lp-legal-nav {
  max-width: 780px;
  margin: 32px auto 0;
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: .9rem;
}

.lp-legal-nav a {
  padding: 8px 16px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-2);
  transition: border-color .15s, color .15s;
}

.lp-legal-nav a:hover,
.lp-legal-nav a.active {
  border-color: var(--accent);
  color: var(--accent);
}

/* ============================================
   CHECKBOX GDPR (usata su registrazione)
   ============================================ */
.gdpr-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 4px 2px;
  font-size: .82rem;
  color: var(--ink-3);
  line-height: 1.5;
  text-align: left;
}

.gdpr-field input[type="checkbox"] {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}

.gdpr-field label { cursor: pointer; }

.gdpr-field a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.gdpr-field a:hover { text-decoration: underline; }

.gdpr-field.required label::after {
  content: ' *';
  color: var(--red);
  font-weight: 700;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  .lp-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .lp-hero-visual { order: 2; }
  .lp-problems { grid-template-columns: repeat(2, 1fr); }
  .lp-features { grid-template-columns: 1fr; }
  .lp-commercialista { grid-template-columns: 1fr; padding: 36px; gap: 24px; }
  .lp-includes { grid-template-columns: repeat(2, 1fr); }
  .lp-pricing { grid-template-columns: 1fr; max-width: 420px; }
  .lp-plan.popular { transform: none; }
}

@media (max-width: 640px) {
  .lp-hero { padding: 56px 0 48px; }
  .lp-section { padding: 64px 0; }
  .lp-cta-final { padding: 64px 0; }
  .lp-nav a.nav-link { display: none; }
  .lp-problems { grid-template-columns: 1fr; }
  .lp-includes { grid-template-columns: 1fr; }
  .lp-commercialista { padding: 28px; }
  .btn-lg { padding: 12px 20px; font-size: .95rem; }
  .lp-legal-doc { padding: 28px 22px; }
}
