/* ============================================
   LP /agenti-ai-aziende
   Stili specifici della pagina.
   Il resto arriva dal design system condiviso (css/style.css).
   ============================================ */

/* --------------------------------------------
   RESPONSIVE
   -------------------------------------------- */
/* --------------------------------------------
   TI RICONOSCI? (griglia a 3 schede)
   Il design system imposta .pain-grid su 2 colonne, pensato per 4 schede.
   Qui le schede sono 3: senza questa regola la terza resta orfana su una
   seconda riga.
   -------------------------------------------- */
#painGrid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  #painGrid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------
   CHIUSA DELLA SEZIONE "TI RICONOSCI?"
   Frase di sintesi: più peso delle didascalie, meno di un titolo.
   -------------------------------------------- */
.closing-statement {
  max-width: 820px;
  margin: 3.5rem auto 0;
  text-align: center;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.5;
  font-weight: 600;
  color: hsl(var(--foreground));
}

@media (max-width: 700px) {
  .closing-statement br {
    display: none;
  }
}

/* --------------------------------------------
   CARD DEI CASI: etichetta del tipo di caso d'uso
   Sta sopra al nome dell'azienda, in modo che la scheda si legga
   come un caso e non come un elenco di clienti.
   -------------------------------------------- */
.usecase__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: hsl(var(--primary-text));
  margin-bottom: 0.35rem;
}

/* --------------------------------------------
   COSA OTTIENI CON LA DEMO
   Una scheda unica: elenco dei risultati su due colonne e, sotto una
   linea di separazione, le tre cose che la demo non è.
   -------------------------------------------- */
.demo-card {
  max-width: 980px;
  margin: 3rem auto 0;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.demo-card__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem 2.5rem;
}

.demo-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.98rem;
  line-height: 1.55;
}

.demo-card__list svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 0.15rem;
  color: hsl(var(--accent));
}

.demo-card__not {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid hsl(var(--border));
}

.demo-card__not-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.9rem;
}

.demo-card__not-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2.25rem;
}

.demo-card__not-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: hsl(var(--muted-foreground));
}

.demo-card__not-list svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: hsl(var(--muted-foreground));
  opacity: 0.7;
}

@media (max-width: 800px) {
  .demo-card {
    padding: 1.75rem;
  }
  .demo-card__list {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
  .demo-card__not-list {
    flex-direction: column;
    gap: 0.6rem;
  }
}


/* ============================================
   ANCHOR LINKS: niente simbolo # in hover
   Gli ancoraggi restano funzionanti, sparisce solo il segno.
   ============================================ */
.faq-question a.anchor-link::after,
h3 a.anchor-link::after {
  content: none;
}
