/* ═══════════════════════════════════════════════════════
   LOGSUB — HOMEPAGE STYLESHEET
   Design system basato sulla schermata di login esistente:
   - Sfondo: #EEF2F7 (grigio-azzurro chiaro)
   - Blu primario: #2980B9
   - Font: Roboto / Roboto Slab
   - Card bianche con ombra leggera e bordi arrotondati
════════════════════════════════════════════════════════ */

/* ── RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue:         #2980B9;
  --blue-dark:    #1A5276;
  --blue-mid:     #3498DB;
  --blue-light:   #D6EAF8;
  --blue-xlight:  #EBF5FB;
  --teal:         #1A8A6E;
  --teal-light:   #D1F2E8;
  --orange:       #E67E22;
  --orange-light: #FEF9E7;
  --orange-border:#FAD7A0;
  --red:          #E74C3C;
  --red-light:    #FDEDEC;

  --bg:           #EEF2F7;
  --bg-white:     #FFFFFF;
  --text:         #2C3E50;
  --text-muted:   #7F8C8D;
  --text-light:   #95A5A6;
  --border:       #D5E8F5;

  --shadow-sm:    0 2px 8px  rgba(41,128,185,0.08);
  --shadow-md:    0 4px 20px rgba(41,128,185,0.10);
  --shadow-lg:    0 8px 32px rgba(41,128,185,0.18);

  --radius-sm:    8px;
  --radius-md:    14px;

  --font-sans:    'Roboto', sans-serif;
  --font-slab:    'Roboto Slab', serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

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

/* ── BACKGROUNDS ── */
.ls-bg-gray       { background: var(--bg); }
.ls-bg-white      { background: var(--bg-white); }
.ls-bg-blue-light { background: var(--blue-xlight); }

/* ── SECTION WRAPPER ── */
.ls-section {
  max-width: 1060px;
  margin: 0 auto;
  padding: 4.5rem 2rem;
}

/* ── SECTION LABELS & TITLES ── */
.ls-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: 0.6rem;
}

.ls-title {
  font-family: var(--font-slab);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.ls-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 0;
}

/* ── BUTTONS ── */
.ls-btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  padding: 9px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.ls-btn:hover { background: var(--blue-dark); }

.ls-btn--lg { padding: 13px 32px; font-size: 1rem; }

.ls-btn--white {
  background: #fff;
  color: var(--blue);
}
.ls-btn--white:hover { background: var(--blue-xlight); color: var(--blue); }

.ls-btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--blue);
  padding: 9px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  border: 1.5px solid var(--blue);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.ls-btn-outline:hover { background: var(--blue-xlight); }

.ls-btn-outline--white {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}
.ls-btn-outline--white:hover { background: rgba(255,255,255,0.12); }

.ls-btn-apk {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  color: var(--text-muted);
  padding: 13px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 400;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.ls-btn-apk:hover { border-color: var(--blue); color: var(--blue); }

/* ═══════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════ */
#ls-nav {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 0 2.5rem;
  height: 66px;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.ls-logo img {
  height: 40px;
  width: auto;
}

.ls-nav-spacer { flex: 1; }

.ls-nav-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-slab);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue-dark);
  letter-spacing: -0.01em;
  pointer-events: none;
  user-select: none;
}

.ls-nav-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

/* ═══════════════════════════════════════════
   HERO
════════════════════════════════════════════ */
#ls-hero {
  background: linear-gradient(160deg, #EBF5FB 0%, #D6EAF8 40%, #EEF2F7 100%);
  padding: 5rem 2.5rem 4rem;
  text-align: center;
}

.ls-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 0.78rem;
  color: var(--blue);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.ls-hero-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  animation: ls-pulse 2s infinite;
}

@keyframes ls-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.5); }
}

#ls-hero h1 {
  font-family: var(--font-slab);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--blue-dark);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

#ls-hero h1 span { color: var(--blue); }

.ls-hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.ls-hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Preview card nel hero */
.ls-preview-card {
  margin: 3rem auto 0;
  max-width: 440px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-align: left;
}

.ls-preview-icon {
  width: 52px;
  height: auto;
  flex-shrink: 0;
}

.ls-preview-text h3 {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.ls-preview-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.ls-badge-cert {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 500;
  background: var(--teal-light);
  color: var(--teal);
  padding: 2px 10px;
  border-radius: 100px;
  margin-top: 0.4rem;
}

/* ═══════════════════════════════════════════
   TRUST BAR
════════════════════════════════════════════ */
#ls-trust {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.ls-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.ls-trust-item strong { color: var(--blue-dark); font-weight: 500; }

.ls-trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   PROBLEMA / SOLUZIONE
════════════════════════════════════════════ */
.ls-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.ls-cmp-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
}

.ls-cmp-card--bad  { border-top: 3px solid var(--red); }
.ls-cmp-card--good { border-top: 3px solid var(--teal); }

.ls-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

.ls-pill--bad  { background: var(--red-light);  color: #C0392B; }
.ls-pill--good { background: var(--teal-light); color: var(--teal); }

.ls-cmp-card h3 {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.ls-cmp-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════
   COME FUNZIONA — STEPS
════════════════════════════════════════════ */
.ls-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3rem;
  position: relative;
}

.ls-steps::before {
  content: '';
  position: absolute;
  top: 26px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-light), var(--blue), var(--blue-light));
  z-index: 0;
}

.ls-step {
  text-align: center;
  padding: 0 0.75rem;
}

.ls-step-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 auto 1.1rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(41,128,185,0.30);
}

.ls-step h4 {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.ls-step p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════
   FEATURE CARDS
════════════════════════════════════════════ */
.ls-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.ls-feature-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.2s, transform 0.2s;
}

.ls-feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.ls-feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--blue-xlight);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.ls-feature-card h3 {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.ls-feature-card p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════
   NORMATIVA
════════════════════════════════════════════ */
.ls-law-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.ls-law-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

.ls-law-ref {
  font-size: 0.68rem;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
  font-weight: 500;
}

.ls-law-card h4 {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.ls-law-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.ls-law-note {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-white);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.ls-law-note strong { color: var(--blue-dark); }

/* ═══════════════════════════════════════════
   ATTREZZATURA
════════════════════════════════════════════ */
.ls-equip-banner {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  border-left: 4px solid var(--orange);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  margin-top: 2.5rem;
}

.ls-warn-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--orange);
  background: var(--orange-light);
  border: 1px solid var(--orange-border);
  padding: 3px 12px;
  border-radius: 100px;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.ls-equip-body h3 {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.ls-equip-body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.ls-equip-stat {
  text-align: center;
  min-width: 130px;
  background: var(--orange-light);
  border-radius: var(--radius-sm);
  border: 1px solid var(--orange-border);
  padding: 1.25rem;
}

.ls-equip-big {
  font-family: var(--font-slab);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}

.ls-equip-stat p {
  font-size: 0.72rem;
  color: #B7770D;
  margin-top: 0.4rem;
  line-height: 1.4;
}

/* ═══════════════════════════════════════════
   VERIFICA AUTENTICITÀ
════════════════════════════════════════════ */
.ls-verify-section {
  text-align: center;
}

.ls-verify-card {
  margin: 2rem auto 0;
  max-width: 560px;
  background: var(--blue-xlight);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.ls-verify-icon-wrap {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  display: block;
}

.ls-verify-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

/* ═══════════════════════════════════════════
   CTA FINALE
════════════════════════════════════════════ */
#ls-cta {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  padding: 5rem 2rem;
  text-align: center;
}

#ls-cta h2 {
  font-family: var(--font-slab);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

#ls-cta > p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  margin-bottom: 2rem;
}

/* ═══════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
#ls-footer {
  background: var(--blue-dark);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.ls-footer-logo {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}

.ls-footer-links {
  display: flex;
  gap: 1.5rem;
}

.ls-footer-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.ls-footer-links a:hover { color: #fff; }

.ls-footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 900px) {
  .ls-features-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .ls-nav-title { display: none; }

  .ls-compare-grid,
  .ls-law-grid,
  .ls-features-grid,
  .ls-steps { grid-template-columns: 1fr; }

  .ls-equip-banner { grid-template-columns: 1fr; }
  .ls-steps::before { display: none; }

  #ls-trust { gap: 1.25rem; }

  .ls-section { padding: 3rem 1.25rem; }

  #ls-hero { padding: 3.5rem 1.25rem 3rem; }
}
