body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #fff;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Previene lo scroll orizzontale */
  }
  
  /* Header completamente ridisegnato - moderno e professionale */
  .privacy-header {
    background-color: #fff;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
  
  }

  .privacy-header-inner {
    padding: 120px 0px 80px;
    background: #2F415D; /* Colore uniforme */
    position: relative;
    text-align: left !important;
    
  }
  
  /* Overlay con sfumatura */
  .header-overlay {
    display:none;
    text-align: left;
  }
  
  /* Elemento decorativo laterale */
  .header-accent-side {
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: 100%;
    background: linear-gradient(135deg, rgba(141, 226, 211, 0.03) 0%, rgba(141, 226, 211, 0.08) 100%);
    z-index: 1;
    clip-path: polygon(100% 0, 0 0, 100% 100%);
  }
  
  /* Elemento decorativo inferiore */
  .header-accent-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #8de2d3, rgba(141, 226, 211, 0.2), transparent);
    z-index: 3;
  }
  
  .privacy-title-container {
    position: relative;
    z-index: 3;
  }
  
  .privacy-title {
    font-weight: 700;
    margin-bottom: 1.2rem;
    font-size: 4rem;
    letter-spacing: -0.5px;
    color: white;
    position: relative;
    display: inline-block;
  }
  
  .privacy-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #8de2d3;
    border-radius: 3px;
  }
  
  .privacy-date {
    color: #8de2d3;
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 1.8rem;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 3;
  }
  
  .privacy-subtitle {
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0;
    line-height: 1.8;
    font-size: 1.15rem;
    position: relative;
    z-index: 3;
  }
  
  .header-circle, .wave-shape, .dot-pattern, .header-decoration {
    display: none;
  }
  
  /* Bordo decorativo minimalista */
  .header-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #8de2d3, transparent);
    z-index: 3;
  }
  
  .header-full-width {
    width: 100%;
    max-width: 100%;
    position: relative;
    
    margin-top: -100px;
     margin-left: calc(-50vw + 50%); /* Centra l'elemento e lo estende a tutta la larghezza */
    margin-right: calc(-50vw + 50%); /* Centra l'elemento e lo estende a tutta la larghezza */
  }
  
  /* Indice dei contenuti migliorato */
  .toc-container {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    position: sticky;
    top: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
  }
  
  .toc-container:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  }
  
  .toc-title {
    color: #2F415D;
    font-weight: 600;
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 15px;
  }
  
  .toc-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #8de2d3;
    border-radius: 3px;
  }
  
  .toc-list {
    list-style-type: none;
    padding-left: 0;
    outline: none;
  }
  
  .toc-list li {
    margin-bottom: 12px;
    padding-left: 0;
    outline: none;
  }
  
  .toc-list a {
    color: #2F415D;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    outline: none;
  }

  .cookie-link {
    color: #2F415D;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.2s ease;
  }
  
  .cookie-link:hover {
    color: #8de2d3;
  }
  
  .toc-list a:hover {
    background-color: rgba(47, 65, 93, 0.08);
    padding-left: 20px;
  }
  
  .toc-list .active a {
    background-color: #2F415D;
    color: white;
    padding-left: 20px;
    box-shadow: 0 4px 10px rgba(47, 65, 93, 0.2);
  }
  
  /* Contenuto migliorato */
  .privacy-section {
    padding: 40px 0 80px;
  }
  
  .section-title {
    color: #2F415D;
    font-weight: 600;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
    font-size: 1.8rem;
  }
  
  .section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background-color: #8de2d3;
  }
  
  .privacy-content h3 {
    color: #2F415D;
    font-weight: 600;
    margin-top: 35px;
    margin-bottom: 20px;
    font-size: 1.4rem;
  }
  
  .privacy-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #4a4a4a;
  }
  
  .privacy-content ul {
    margin-bottom: 25px;
  }
  
  .privacy-content li {
    margin-bottom: 12px;
    line-height: 1.7;
    color: #4a4a4a;
  }
  
  .highlight-box {
    background-color: #f0f7f7;
    border-left: 4px solid #8de2d3;
    padding: 25px;
    margin: 35px 0;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
  }
  
  .highlight-box:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
  }
  
  .highlight-box p:last-child {
    margin-bottom: 0;
  }
  
  /* Contatti migliorati */
  .contact-card {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    margin-top: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    cursor: pointer;
    overflow: hidden;
    position: relative;
  }
  
  .contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  }

  .contact-card:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(141, 226, 211, 0.1) 0%, rgba(12, 42, 107, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
  }

  .contact-card:hover:after {
    opacity: 1;
  }
  
  .contact-icon {
    width: 70px;
    height: 70px;
    background-color: #f0f7f7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #2F415D;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    margin-left: auto;
    margin-right: auto;
  }
  
  .contact-card:hover .contact-icon {
    background-color: #8de2d3;
    color: #0c2a6b;
    transform: scale(1.05);
  }

  .contact-card h3, .contact-card p {
    position: relative;
    z-index: 1;
  }
  
  .contact-card a {
    color: inherit;
    text-decoration: none;
    display: block;
    position: relative;
    z-index: 2;
  }
  
  .contact-card a:hover {
    color: #0c2a6b;
  }
  
  /* Pulsante Torna in alto migliorato */
  .back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #2F415D;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(47, 65, 93, 0.3);
    z-index: 1000;
  }
  
  .back-to-top.visible {
    opacity: 1;
  }
  
  .back-to-top:hover {
    background-color: #1a2a3f;
    color: white;
    transform: translateY(-5px);
  }
  
  /* Animazione migliorata per le sezioni */
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Rimuoviamo le decorazioni eccessive per le sezioni */
  .section-decoration {
    display: none;
  }
  
  /* Responsive migliorato */
  @media (max-width: 991px) {
    .header-full-width {
      margin-top: -70px; /* Riduciamo il margine negativo per tablet */
    }

    .header-accent-side {
      display: none;
      
    }
    
    .toc-container {
      position: relative;
      top: 0;
      margin-bottom: 40px;
    }
    
    .privacy-header-inner {
      padding: 100px 0 70px;
    }
    
    .privacy-title {
      font-size: 3.2rem;
    }

    .privacy-subtitle {
      font-size: 1.1rem;
      max-width: 90%;
    }
  }
  
  @media (max-width: 767px) {
    .header-full-width {
      margin-top: -50px; /* Riduciamo ulteriormente per dispositivi mobili */
    }

    .header-accent-side {
      display: none;
      
    }
    
    .privacy-header-inner {
      padding: 80px 0 60px;
    }
    
    .privacy-title {
      font-size: 2.8rem;
    }

    .privacy-subtitle {
      font-size: 1rem;
      max-width: 100%;
    }
    
    .header-accent-side {
      width: 40%;
    }
  }

  @media (max-width: 576px) {
    .header-full-width {
      margin-top: -30px; /* Minimo margine negativo per dispositivi molto piccoli */
    }

    .header-accent-side {
      display: none;
      
    }
    
    .privacy-header-inner {
      padding: 70px 0 50px;
    }
    
    .privacy-title {
      font-size: 2.5rem;
    }
    
    .privacy-subtitle {
      font-size: 0.95rem;
    }
  }
  
  /* Aggiunta per dispositivi molto piccoli */
  @media (max-width: 375px) {
    .header-full-width {
      margin-top: -20px; /* Quasi nessun margine negativo per i dispositivi più piccoli */
    }
    
    .privacy-header-inner {
      padding: 60px 0 40px;
    }
    
    .privacy-title {
      font-size: 2.2rem;
    }
    
    .privacy-date {
      font-size: 0.9rem;
      margin-bottom: 1.2rem;
    }
    
    .privacy-subtitle {
      font-size: 0.9rem;
      line-height: 1.6;
    }
  }