/* =========================================================
   TJG · nav.tjg-anchors (unica fonte — colori pieni)
   Home Base44 + bozza landing GHL. Non pubblicare GHL da qui.
   ========================================================= */

/* Solo ancore # in header (landing GHL). I link .html del sito Base44 restano. */
.nav .nav-links:has(a[href^="#"]){display:none!important}

/* Chip decorativi: non sembrano link */
.hero .chip-row,
.hero .chip-row .chip,
.chip-row .chip{
  cursor:default!important;
  pointer-events:none!important;
}
.hero .chip-row .chip:hover,
.chip-row .chip:hover{
  transform:none!important;
  filter:none!important;
}

#psicotrappole,
#come-funziona,
#diverso,
#casi{
  scroll-margin-top:96px;
}

.tjg-anchors{
  --tjg-a1:#6C34D8;
  --tjg-a2:#7B4AE0;
  --tjg-a3:#8B5CF0;
  --tjg-a4:#5B2BB8;
  position:relative;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin:0 0 18px;
  max-width:100%;
}
.tjg-anchors-k{
  flex:0 0 auto;
  font:600 11.5px/1 'IBM Plex Sans',Inter,system-ui,sans-serif;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:rgba(255,255,255,.55);
  margin-right:4px;
}
.tjg-anchors a{
  box-sizing:border-box;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:44px;
  padding:10px 16px;
  border-radius:999px;
  color:#fff;
  font:600 13.5px/1.2 'IBM Plex Sans',Inter,system-ui,sans-serif;
  text-decoration:none;
  white-space:nowrap;
  border:1px solid transparent;
  transition:filter .2s, transform .2s, box-shadow .2s;
  -webkit-tap-highlight-color:transparent;
}
.tjg-anchors a:nth-of-type(1){background:var(--tjg-a1); box-shadow:0 8px 20px -12px rgba(108,52,216,.75)}
.tjg-anchors a:nth-of-type(2){background:var(--tjg-a2); box-shadow:0 8px 20px -12px rgba(123,74,224,.75)}
.tjg-anchors a:nth-of-type(3){background:linear-gradient(135deg,#6C34D8,#C59CFC); box-shadow:0 8px 20px -12px rgba(197,156,252,.55)}
.tjg-anchors a:nth-of-type(4){background:var(--tjg-a4); border-color:rgba(180,252,185,.35); box-shadow:0 8px 20px -12px rgba(91,43,184,.75)}
.tjg-anchors a i{font-style:normal;opacity:.75;font-size:12px}
.tjg-anchors a:hover{filter:brightness(1.08); transform:translateY(-1px)}
.tjg-anchors a:focus-visible{outline:2px solid #C59CFC; outline-offset:3px}
.tjg-anchors a:active{transform:none}
.tjg-anchors .tjg-a-short{display:none}
.tjg-anchors .tjg-a-full{display:inline}

@media (max-width:600px){
  .tjg-anchors{
    flex-wrap:nowrap;
    gap:8px;
    margin:0 0 10px;
    padding-right:28px;
    overflow-x:auto;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    mask-image:linear-gradient(90deg,#000 0%,#000 calc(100% - 36px),transparent 100%);
    -webkit-mask-image:linear-gradient(90deg,#000 0%,#000 calc(100% - 36px),transparent 100%);
  }
  .tjg-anchors::-webkit-scrollbar{display:none}
  .tjg-anchors-k{
    position:sticky; left:0; z-index:1;
    padding:6px 8px 6px 0;
    background:linear-gradient(90deg,rgba(9,13,26,.95) 70%,transparent);
  }
  .tjg-anchors a{flex:0 0 auto; min-height:44px; padding:10px 14px; font-size:13px}
  .tjg-anchors .tjg-a-full{display:none}
  .tjg-anchors .tjg-a-short{display:inline}
}

@media (prefers-reduced-motion:reduce){
  .tjg-anchors a{transition:none}
  .tjg-anchors a:hover{transform:none}
}
