
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Poppins', sans-serif;
      font-size: 62.5%;
      line-height: 1.6;
      color: #333;
      background: #f8f9fa;
    }
    
    /* Header Semplice */
    .sticky .header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      width: 100%;
      height: 10rem;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
      background-color: rgba(235, 235, 235, 0.867);
      backdrop-filter: blur(10px);
      z-index: 1000;
      animation: slideDown 0.3s ease-out;
    }
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 80px;
      background-color: #fff;
      z-index: 9999;
      box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
      transition: all 0.3s ease;
    }
    .header-simple {
      background: white;
      padding: 2rem 4rem;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      position: sticky;
      top: 0;
      z-index: 100;
    }

    .btn-back {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      color: var(--color-primary);
      font-size: 1.6rem;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.3s ease;
    }

    .btn-back:hover {
      color: var(--color-accent);
      transform: translateX(-5px);
    }

    .btn-back ion-icon {
      font-size: 2rem;
    }

    /* Hero Article */
    .article-hero {
      background: linear-gradient(135deg, var(--color-primary) 0%, #001a3d 100%);
      color: white;
      padding: 16rem 4rem;
      text-align: center;
    }

    .article-hero-content {
      max-width: 900px;
      margin: 0 auto;
    }

    .article-category {
      display: inline-block;
      background: rgba(255, 255, 255, 0.2);
      backdrop-filter: blur(10px);
      padding: 0.6rem 1.5rem;
      border-radius: 50px;
      font-size: 1.4rem;
      font-weight: 600;
      margin-bottom: 2rem;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .article-title {
      font-size: 4.5rem;
      font-weight: 700;
      line-height: 1.7;
      margin-top: 4rem;
      margin-bottom: 4rem;

    }

    .article-meta {
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.6rem;
      gap: 3rem;
      color: rgba(255, 255, 255, 0.8);
    }

    .article-meta-item {
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .article-meta ion-icon {
      font-size: 2rem;
    }

    /* Featured Image */
    .article-featured-image {
      max-width: 1200px;
      margin: -4rem auto 0;
      padding: 0 2rem;
      position: relative;
      z-index: 10;
    }

    .article-featured-image img {
      width: 40%;
      border-radius: 20px;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
      margin-top: 5rem;
      margin-left: 30%;
    }

    /* Content */
    .article-container {
      max-width: 1200px;
      margin: 6rem auto;
      padding: 0 2rem;
    }

    .article-content {
      background: white;
      padding: 4rem;
      border-radius: 20px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
      font-size: 2rem;
      line-height: 1.8;
      color: #444;
    }

    .article-content h2 {
      font-size: 3rem;
      color: var(--color-primary);
      margin: 3rem 0 1.5rem;
      font-weight: 700;
    }

    .article-content h3 {
      font-size: 2.4rem;
      color: var(--color-primary-light);
      margin: 2.5rem 0 1.2rem;
      font-weight: 600;
    }

    .article-content p {
      margin-bottom: 2rem;
    }

    .article-content strong {
      color: var(--color-primary);
      font-weight: 600;
    }

    .article-content ul,
    .article-content ol {
      margin: 2rem 0;
      padding-left: 3rem;
    }

    .article-content li {
      margin-bottom: 1rem;
    }

    /* Highlight Box */
    .highlight-box {
      background: linear-gradient(135deg, rgba(0, 119, 200, 0.1), rgba(0, 183, 255, 0.1));
      border-left: 4px solid var(--color-accent);
      padding: 2rem 2.5rem;
      margin: 4rem 0;
      border-radius: 8px;
      font-size: 2rem;
    }

    .highlight-box p {
      margin: 0;
      font-size: 1.7rem;
      color: var(--color-primary);
      font-weight: 500;
    }

    /* Quote */
    .article-quote {
      background: var(--color-grey-light);
      border-left: 5px solid var(--color-accent);
      padding: 2.5rem 3rem;
      margin: 3rem 0;
      font-style: italic;
      font-size: 2rem;
      color: #555;
      border-radius: 8px;
    }

    /* Tags */
    .article-tags {
      margin-top: 4rem;
      padding-top: 3rem;
      border-top: 2px solid #f0f0f0;
    }

    .tags-title {
      font-size: 1.6rem;
      color: #888;
      margin-bottom: 1rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .tags-list {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
    }

    .tag {
      background: var(--color-grey-light);
      color: var(--color-primary);
      padding: 0.6rem 1.5rem;
      border-radius: 50px;
      font-size: 1.4rem;
      font-weight: 500;
      transition: all 0.3s ease;
      text-decoration: none;
    }

    /* Share */
    .article-share {
      margin-top: 3rem;
      padding: 2.5rem;
      background: var(--color-grey-light);
      border-radius: 12px;
      text-align: center;
    }

    .share-title {
      font-size: 1.8rem;
      color: var(--color-primary);
      margin-bottom: 1.5rem;
      font-weight: 600;
    }

    .share-buttons {
      display: flex;
      gap: 1rem;
      justify-content: center;
    }

    .share-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      color: white;
      transition: all 0.3s ease;
      text-decoration: none;
    }

    .share-btn:hover {
      transform: translateY(-5px);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .share-btn ion-icon {
      font-size: 2.4rem;
    }

    .share-facebook { background: #1877f2; }
    .share-twitter { background: #1da1f2; }
    .share-linkedin { background: #0077b5; }
    .share-whatsapp { background: #25d366; }
    .share-email { background: #ea4335; }

    /* Related Articles */
    .related-section {
      max-width: 1200px;
      margin: 8rem auto;
      padding: 0 2rem;
    }

    .related-title {
      font-size: 3.5rem;
      color: var(--color-primary);
      text-align: center;
      margin-bottom: 4rem;
      font-weight: 700;
    }

    .related-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 3rem;
    }

    .related-card {
      background: white;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      transition: all 0.3s ease;
      text-decoration: none;
      color: inherit;
    }

    .related-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 10px 30px rgba(0, 119, 200, 0.2);
    }

    .related-card img {
      width: 100%;
      height: 180px;
      object-fit: cover;
    }

    .related-content {
      padding: 2rem;
    }

    .related-date {
      font-size: 1.3rem;
      color: #888;
      margin-bottom: 0.5rem;
    }

    .related-card-title {
      font-size: 1.8rem;
      font-weight: 600;
      color: var(--color-primary);
      line-height: 1.4;
    }

    /* CTA Section */
    .cta-section {
      background: linear-gradient(135deg, var(--color-primary), #001a3d);
      padding: 6rem 2rem;
      text-align: center;
      color: white;
      margin-top: 8rem;
    }

    .cta-content {
      max-width: 700px;
      margin: 0 auto;
    }

    .cta-title {
      font-size: 3.5rem;
      margin-bottom: 1.5rem;
      font-weight: 700;
    }

    .cta-text {
      font-size: 1.8rem;
      margin-bottom: 3rem;
      color: rgba(255, 255, 255, 0.9);
    }

    .btn-cta {
      display: inline-flex;
      align-items: center;
      gap: 1rem;
      background: var(--color-accent);
      color: white;
      padding: 1.6rem 3.5rem;
      border-radius: 50px;
      font-size: 1.8rem;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(0, 183, 255, 0.4);
    }

    .btn-cta:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 25px rgba(0, 183, 255, 0.5);
    }

    /* Responsive */
    @media (max-width: 768px) {
      .article-hero{
        padding: 12rem 2rem 6rem;
      }
      .article-title {
        font-size:3.5rem;
        margin-bottom: 2.5rem;
        line-height: 1.4;
      }

      .article-content {
        padding: 2.5rem;
        font-size: 1.6rem;
      }

      .article-content h2 {
        font-size: 2.4rem;
      }

      .related-grid {
        grid-template-columns: 1fr;
      }
      .share-buttons {
        flex-wrap: wrap;
      }
      .article-featured-image img {
        width: 90%;
        border-radius: 20px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
        margin-top: 10rem;
        margin-left: 3%;
      }
      .article-meta{
        font-size: 1.3rem;

      }
    }

    /* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 2rem;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-overlay.no-blur {
  backdrop-filter: none;
  background: transparent;
}

/* Modal Container */
.modal-contact {
  background: white;
  border-radius: 20px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-overlay.active .modal-contact {
  transform: translateY(0);
}

/* Close Button */
.modal-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: var(--color-grey-light);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.modal-close:hover {
  background: var(--color-primary);
  color: white;
  transform: rotate(90deg);
}

.modal-close ion-icon {
  font-size: 2.4rem;
}

/* Modal Header */
.modal-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, #001a3d 100%);
  color: white;
  padding: 4rem 3rem 3rem;
  border-radius: 20px 20px 0 0;
  text-align: center;
}

.modal-header h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.modal-header p {
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Form Styles */
.contact-form-modal {
  padding: 3rem;
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.8rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.2rem 1.5rem;
  font-size: 1.6rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 119, 200, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Checkbox */
.form-checkbox {
  margin: 2rem 0;
}

.form-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1.4rem;
  color: #666;
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  margin-top: 0.3rem;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.form-checkbox a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Submit Button */
.btn-submit {
  width: 100%;
  background: var(--color-accent);
  color: white;
  border: none;
  padding: 1.6rem 3rem;
  font-size: 1.8rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  box-shadow: 0 4px 15px rgba(0, 183, 255, 0.4);
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 183, 255, 0.5);
}

.btn-submit ion-icon {
  font-size: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .modal-contact {
    margin: 2rem;
    max-height: 85vh;
  }
  
  .modal-header {
    padding: 3rem 2rem 2rem;
  }
  
  .modal-header h2 {
    font-size: 2.4rem;
  }
  
  .contact-form-modal {
    padding: 2rem;
  }
  
  .modal-close {
    top: 1.5rem;
    right: 1.5rem;
    width: 36px;
    height: 36px;
  }
  .article-meta{
    gap: 2rem;
    margin-top: 6rem;
  }
}

/* Scrollbar per il modal */
.modal-contact::-webkit-scrollbar {
  width: 8px;
}

.modal-contact::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.modal-contact::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 10px;
}

.modal-contact::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

/* Modal Successo */
.modal-success {
  background: white;
  border-radius: 20px;
  max-width: 500px;
  width: 100%;
  padding: 4rem 3rem;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.modal-overlay.active .modal-success {
  transform: scale(1);
}

/* Animazione Checkmark */
.success-animation {
  margin-bottom: 2rem;
}

.success-checkmark {
  width: 100px;
  height: 100px;
  margin: 0 auto;
  position: relative;
}

.check-icon {
  width: 100px;
  height: 100px;
  position: relative;
  border-radius: 50%;
  box-sizing: content-box;
  border: 4px solid #00d084;
}

.icon-line {
  height: 5px;
  background-color: #00d084;
  display: block;
  border-radius: 2px;
  position: absolute;
  z-index: 10;
}

.icon-line.line-tip {
  top: 46px;
  left: 14px;
  width: 25px;
  transform: rotate(45deg);
  animation: icon-line-tip 0.75s;
}

.icon-line.line-long {
  top: 38px;
  right: 8px;
  width: 47px;
  transform: rotate(-45deg);
  animation: icon-line-long 0.75s;
}

.icon-circle {
  top: -4px;
  left: -4px;
  z-index: 10;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  position: absolute;
  box-sizing: content-box;
  border: 4px solid rgba(0, 208, 132, 0.2);
}

.icon-fix {
  top: 8px;
  width: 5px;
  left: 26px;
  z-index: 1;
  height: 85px;
  position: absolute;
  transform: rotate(-45deg);
  background-color: white;
}

@keyframes icon-line-tip {
  0% {
    width: 0;
    left: 1px;
    top: 19px;
  }
  54% {
    width: 0;
    left: 1px;
    top: 19px;
  }
  70% {
    width: 50px;
    left: -8px;
    top: 37px;
  }
  84% {
    width: 17px;
    left: 21px;
    top: 48px;
  }
  100% {
    width: 25px;
    left: 14px;
    top: 46px;
  }
}

@keyframes icon-line-long {
  0% {
    width: 0;
    right: 46px;
    top: 54px;
  }
  65% {
    width: 0;
    right: 46px;
    top: 54px;
  }
  84% {
    width: 55px;
    right: 0;
    top: 35px;
  }
  100% {
    width: 47px;
    right: 8px;
    top: 38px;
  }
}

/* Testi */
.success-title {
  font-size: 3rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-weight: 700;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.success-message {
  font-size: 1.7rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.success-message strong {
  color: var(--color-primary);
  font-weight: 600;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.success-message-box {
  background: linear-gradient(135deg, rgba(0, 208, 132, 0.1), rgba(0, 208, 132, 0.15));
  border-left: 4px solid #00d084;
  padding: 3rem 2.5rem;
  border-radius: 12px;
}
.success-message-box ion-icon {
  font-size: 6rem;
  color: #00d084;
  margin-bottom: 1.5rem;
  animation: scaleIn 0.5s ease;
}
.success-message-box h3 {
  font-size: 2.4rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.success-message-box p {
  font-size: 1.7rem;
  color: #1f7a57;
  line-height: 1.6;
  margin: 0;
}

.success-message-box strong {
  color: var(--color-primary);
  font-weight: 600;
}

/* Info Box */
.success-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: linear-gradient(135deg, rgba(0, 119, 200, 0.1), rgba(0, 183, 255, 0.1));
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.6s ease 0.5s both;
}

.success-info ion-icon {
  font-size: 2.4rem;
  color: var(--color-accent);
}

.success-info span {
  font-size: 1.5rem;
  color: var(--color-primary);
  font-weight: 500;
}

/* Azioni */
.success-actions {
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.6s ease 0.6s both;
}

.btn-success-close {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--color-accent);
  color: white;
  border: none;
  padding: 1.6rem 3.5rem;
  border-radius: 50px;
  font-size: 1.7rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 183, 255, 0.4);
}

.btn-success-close:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 183, 255, 0.5);
}

.btn-success-close ion-icon {
  font-size: 2rem;
}
.messaggio-invio{
  display: none;
  padding: 3rem;
  text-align: center;
  animation: fadeIn 0.4s ease;
}
/* ========== SUCCESS MESSAGE CONTAINER ========== */
.success-message-container {
  display: none; /* Nascosto di default */
  padding: 3rem;
  text-align: center;
}

.success-message-container.show {
  display: block; /* Mostrato quando ha classe .show */
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== SUCCESS MESSAGE BOX ========== */
.success-message-box {
  background: linear-gradient(135deg, rgba(0, 208, 132, 0.1), rgba(0, 208, 132, 0.15));
  border-left: 4px solid #00d084;
  padding: 3rem 2.5rem;
  border-radius: 12px;
  /* Non mettere display: none qui! */
}

.success-message-box ion-icon {
  font-size: 6rem;
  color: #00d084;
  margin-bottom: 1.5rem;
  animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.success-message-box h3 {
  font-size: 2.4rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.success-message-box p {
  font-size: 1.7rem;
  color: #1f7a57;
  line-height: 1.6;
  margin: 0;
}

.success-message-box strong {
  color: var(--color-primary);
  font-weight: 600;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .success-message-container {
    padding: 2rem;
  }

  .success-message-box {
    padding: 2.5rem 2rem;
  }

  .success-message-box h3 {
    font-size: 2rem;
  }

  .success-message-box p {
    font-size: 1.5rem;
  }
}

