/* Neaitech Lab — progetti consumer */

.lab-section {
  background: linear-gradient(180deg, #f0fdf4 0%, #ecfdf5 50%, #f8fafc 100%);
  color: #14532d;
  padding: 4rem 0 5rem;
  border-top: 1px solid #bbf7d0;
}
.lab-head {
  text-align: center;
  margin-bottom: 2rem;
}
.lab-head .section-label { color: #059669; }
.lab-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 400;
  margin: 0.5rem 0 0.75rem;
  color: #14532d;
}
.lab-head p {
  color: #4b6b55;
  max-width: 620px;
  margin-inline: auto;
}
.lab-card {
  max-width: 520px;
  margin: 0 auto;
  padding: 2rem;
  border-radius: var(--radius);
  border: 2px solid #86efac;
  background: #fff;
  text-align: center;
  box-shadow: 0 12px 40px rgba(5, 150, 105, 0.12);
  transition: transform 0.3s, box-shadow 0.3s;
}
.lab-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(5, 150, 105, 0.18);
}
.lab-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #059669;
  margin-bottom: 0.75rem;
}
.lab-card h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
  color: #14532d;
}
.lab-card h3 em { font-style: italic; color: #059669; }
.lab-card p {
  font-size: 0.92rem;
  color: #4b6b55;
  line-height: 1.55;
  margin-bottom: 1.5rem;
}
.portal-spesa {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto 1.5rem;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background: radial-gradient(circle at 35% 35%, #34d399, #059669 55%, #047857);
  box-shadow: 0 0 40px rgba(5, 150, 105, 0.35), inset 0 0 30px rgba(255, 255, 255, 0.15);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  color: #fff;
  padding: 0;
}
.portal-spesa:hover { transform: scale(1.08); }
.portal-spesa:focus-visible {
  outline: 3px solid #34d399;
  outline-offset: 6px;
}
.portal-spesa-icon { font-size: 2.5rem; line-height: 1; }
.portal-spesa-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.portal-spesa-hint {
  font-size: 0.58rem;
  opacity: 0.85;
  letter-spacing: 0.05em;
}
.lab-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.lab-tags span {
  font-size: 0.72rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.lab-cta {
  display: inline-flex;
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  background: #059669;
  color: #fff !important;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s;
}
.lab-cta:hover { background: #047857; }
.nav-lab {
  color: #059669 !important;
  border: 1px solid rgba(5, 150, 105, 0.35);
  margin-left: 0.25rem;
}
.nav-lab:hover {
  background: rgba(5, 150, 105, 0.1) !important;
  color: #047857 !important;
}
.warp-overlay.spesa-warp .warp-stars {
  background: radial-gradient(2px 2px at 30% 40%, #34d399, transparent),
    radial-gradient(2px 2px at 70% 60%, rgba(52, 211, 153, 0.8), transparent);
}
.warp-overlay.spesa-warp .warp-msg { color: #34d399; }