/* ===== SEZIONE LAVORATORE - DESIGN MODERNO ED ELEGANTE ===== */

/* Animazioni di base */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Nuova Sezione Introduttiva - Layout Discorsivo e Immersivo */
.worker-intro-section {
  width: 100%;
  height: calc(100dvh - 65px);
  max-height: calc(100dvh - 65px);
  padding: 0px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
  position: relative;
  overflow: hidden;
}

.worker-intro-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 20% 50%,
      rgba(230, 0, 0, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 50%,
      rgba(230, 0, 0, 0.03) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.worker-intro-wrapper {
  max-width: 1200px;
  max-height: 100%;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.worker-intro-content {
  flex: 1;
  max-width: 55%;
}

.worker-intro-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #161616;
  margin: 0;
  margin-bottom: 25px;
  line-height: 1.2;
  white-space: nowrap;
}

.worker-intro-subtitle {
  font-size: 1.3rem;
  color: #6e6e6e;
  margin-bottom: 40px;
  line-height: 1.6;
  font-weight: 500;
}

.worker-intro-text {
  margin-bottom: 50px;
}

.worker-intro-text p {
  font-size: 1.1rem;
  color: #495057;
  line-height: 1.9;
  margin-bottom: 25px;
  text-align: justify;
}

.worker-intro-text p:last-child {
  margin-bottom: 0;
}

.worker-intro-text strong {
  color: #e60000;
  font-weight: 700;
}

.worker-intro-image {
  flex: 1;
  max-width: 45%;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  position: relative;
}

.worker-intro-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.05) 0%, transparent 100%);
  pointer-events: none;
}

.worker-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.worker-intro-cta {
  text-align: center;
  margin-top: 50px;
}

.worker-intro-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  background: linear-gradient(135deg, #e60000, #cc0000);
  color: #ffffff;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(230, 0, 0, 0.3);
  font-family: "Roboto", sans-serif;
}

.worker-intro-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(230, 0, 0, 0.4);
  background: linear-gradient(135deg, #cc0000, #b30000);
}

.worker-intro-cta-btn i {
  font-size: 1.2rem;
}

.worker-intro-cta-note {
  margin-top: 20px;
  font-size: 0.95rem;
  color: #6c757d;
  font-style: italic;
}

/* Hero Section per Lavoratori */
.page-wrapper {
  overflow-x: hidden !important;
}
.sfondo-container {
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
  z-index: 10;
}
.main-lavoratori {
  position: relative;
  top: 65px;
  left: 0;
  max-width: 100% !important;
  width: 100% !important;
  height: calc(100dvh - 65px) !important;
  max-height: calc(100dvh - 65px) !important;
  box-sizing: border-box !important;
  z-index: 10;
  border-radius: 0px !important;
  overflow-y: auto;
  padding-bottom: 0px !important;
}
.main-lavoratori.main-intestazione-container {
  top: 0px !important;
  overflow-x: hidden !important;
  border-radius: 0px !important;
}

.main-lavoratori.spiegazione-main.sono-lavoratore {
  padding-top: 0px !important;
  overflow-x: hidden !important;
  border-radius: 0px !important;
}
.worker-hero-section {
  position: relative;
  max-height: calc(100vh - 65px);
  height: calc(100vh - 65px);
  background-color: #2a2a2a; /* Colore di fallback per evitare flash grigio durante il caricamento */
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 0px !important;
  padding-top: 0px !important;
  overflow-x: hidden !important;
}

.worker-hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
  animation: float 20s ease-in-out infinite;
}

.worker-hero-content {
  text-align: center;
  max-width: 100%;
  z-index: 2;
  position: relative;
  padding: 40px 0px 0px 0px;
  margin: 0;
  min-height: 100%;
  max-height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}
.worker-hero-header {
  position: absolute;
  top: 3%;
  left: 50%;
  transform: translateX(-50%) !important;
  min-width: 90% !important;
  width: 90% !important;
  flex-wrap: nowrap;
  padding: 0px 20px;
  gap: 10px !important;
  box-sizing: border-box;
  border-radius: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  border-left: 10px solid #e60000; /*
  box-shadow: -20px 0 20px 0 rgba(0, 0, 0, 0.2);*/
}

.worker-hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  /*
  background: linear-gradient(135deg, #e60000 0%, #ff0000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; */
  color: #ffffff;
  margin-bottom: 0px !important;
  margin-top: 0px;
  line-height: 1.2;
  animation: fadeInUp 1s ease-out;
  margin-right: auto;
  margin-left: 0px;
  text-align: left;
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 1);
}

.worker-hero-title .highlight {
  background: linear-gradient(45deg, #e60000, #ff4444, #ff6b6b, #ff8a8a);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
}

.worker-hero-logo {
  height: 80px;
  margin: 0 15px;
  filter: brightness(0) invert(1);
  animation: scaleIn 1s ease-out 0.3s both;
}

.worker-hero-subtitle {
  font-size: 1.3rem;
  color: #ffffff;
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 1);
  margin-top: 0px !important;
  margin-bottom: 0px !important;
  width: auto;
  margin-right: auto;
}

.worker-subtitle-desktop {
  display: inline;
}

.worker-subtitle-mobile {
  display: none;
  margin-left: 0px;
  margin-bottom: 0px !important;
  line-height: 1.6;
  animation: fadeInUp 1s ease-out 0.6s both;
  text-align: left;
  z-index: 10;
  box-sizing: content-box;
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 1);
}

.worker-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
.lavoratori-hero-image {
  border-radius: 0px;
  position: absolute;
  object-fit: cover;
  top: 50%;
  left: 0%;
  transform: translateY(-50%);
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
  background-color: #2a2a2a; /* Colore di fallback per evitare flash grigio */
  background-size: cover;
  background-position: center;
}

.lavoratori-hero-image.uno {
  opacity: 1;
}

.lavoratori-hero-image.visible {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Floating Elements */
.worker-floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.worker-floating-element {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.worker-floating-1 {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.worker-floating-2 {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.worker-floating-3 {
  width: 60px;
  height: 60px;
  top: 80%;
  left: 20%;
  animation-delay: 4s;
}

/* Worker Separator */
.worker-separator {
  width: 100%;
  height: 100px;
  background: linear-gradient(90deg, #e60000 0%, #c60000 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.worker-separator-content {
  display: flex;
  align-items: center;
  gap: 20px;
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  animation: workerSeparatorPulse 2s ease-in-out infinite;
}

.worker-separator-text {
  font-family: "Roboto", sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.worker-separator-arrow {
  font-size: 1.5rem;
  animation: workerSeparatorBounce 1.5s ease-in-out infinite;
}

.worker-separator-arrow:nth-child(1) {
  animation-delay: 0s;
}

.worker-separator-arrow:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes workerSeparatorPulse {
  0%,
  100% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes workerSeparatorBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Features Grid */
.worker-features-section {
  margin-top: 100px;
  padding: 0px;
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 100%);
  align-items: center;
}

.worker-features-container {
  max-width: 100%;
  min-width: 100%;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  flex: 1;
  margin: 0 auto;
  position: relative;
}
.worker-features-header {
  position: absolute;
  top: 0%;
  right: 0%;
  min-width: 80%;
  flex-wrap: nowrap;
  padding: 20px 80px 20px 40px;
  box-sizing: border-box;
  border-radius: 40px 0px 0px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start; /*
  border-left: 10px solid #e60000;
  box-shadow: -20px 0 20px 0 rgba(0, 0, 0, 0.2);*/
  background: rgba(255, 255, 255, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(224, 0, 0, 0.3);
  border-right: 0px solid rgba(224, 0, 0, 0.3);
  box-shadow: 0 0 30px rgba(83, 83, 83, 0.3);
  z-index: 10;
  opacity: 1;
}
.worker-process-title {
  text-align: left;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0px;
  animation: fadeInUp 1s ease-out;
  color: #000000;
  word-break: keep-all;
  overflow-wrap: break-word;
  hyphens: none;
}

.worker-process-subtitle {
  text-align: left;
  font-size: 1.7rem;
  margin-top: 15px;
  margin-bottom: 0px;
  opacity: 1;
  color: #000000;
  margin-left: 0px;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.worker-features-grid {
  position: absolute;
  top: 25%;
  left: 0;
  width: 80%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 80% !important;
  margin-left: auto;
  margin-right: auto;
}
.worker-features-cards-container {
  position: absolute;
  top: 30%;
  left: 0;
  min-width: 90% !important;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 40px !important;
}
/* Worker Flip Cards - Sistema Semplificato */
.worker-flip-card {
  width: 100%;
  height: 35vh;
  perspective: 1000px;
  cursor: pointer;
}

.worker-flip-card-inner {
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.worker-flip-card.flipped .worker-flip-card-inner {
  transform: rotateY(180deg);
}

.worker-flip-card-front,
.worker-flip-card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.worker-flip-card-front {
  position: relative;
  overflow: hidden;
}

.worker-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.worker-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 20px;
}

.worker-question-mark {
  position: relative;
  z-index: 2;
  color: white;
  font-size: 8rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  transition: opacity 0.3s ease;
  opacity: 1;
}

.worker-flip-card.flipped .worker-question-mark {
  opacity: 0;
  transition-delay: 0.1s;
}

.worker-flip-card:not(.flipped) .worker-question-mark {
  transition-delay: 0.4s;
}

.worker-flip-card-back {
  background: white;
  transform: rotateY(180deg);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.worker-card-content {
  text-align: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.worker-card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #e60000, #ff4444);
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: white;
  font-size: 2rem;
}

.worker-card-content h3 {
  color: #333;
  font-size: 1.6rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.worker-card-content p {
  color: #666;
  line-height: 1.5;
  font-size: 1.3rem;
}

.card-hint {
  font-size: 1.2rem;
  font-weight: 500;
  opacity: 0.9;
}

.worker-feature-card:nth-child(1) {
  animation-delay: 0.2s;
}
.worker-feature-card:nth-child(2) {
  animation-delay: 0.4s;
}
.worker-feature-card:nth-child(3) {
  animation-delay: 0.6s;
}

.worker-feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #e60000, #ff4444);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.worker-feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.worker-feature-card:hover::before {
  transform: scaleX(1);
}

.worker-feature-card.flipped:hover {
  transform: translateY(-10px);
}

.worker-feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #e60000, #ff4444);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
}

.worker-feature-icon::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: rotate(45deg);
  transition: transform 0.6s ease;
}

.worker-feature-card:hover .worker-feature-icon::before {
  transform: rotate(45deg) translate(50%, 50%);
}

.worker-feature-icon i {
  font-size: 2rem;
  color: white;
  z-index: 2;
}

.worker-feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.worker-feature-description {
  color: #666;
  line-height: 1.6;
  font-size: 1rem;
}

/* Benefits Section */
.worker-benefits-section {
  padding: 60px 20px;
  background: white;
  border-radius: 0px 0px 40px 40px;
  border: 0.5px rgb(243, 243, 243) solid;
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.24);
}

.worker-benefits-container {
  max-width: 1200px;
  margin: 0 auto;
}

.worker-benefits-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease-out;
}

.worker-benefits-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.worker-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.worker-benefit-item {
  display: flex;
  align-items: center;
  padding: 25px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateX(-50px);
}

.worker-benefit-item:nth-child(even) {
  transform: translateX(50px);
}

.worker-benefit-item.animate-in {
  animation: slideInLeft 0.8s ease-out forwards;
}

.worker-benefit-item:nth-child(even).animate-in {
  animation: slideInRight 0.8s ease-out forwards;
}

.worker-benefit-item:nth-child(1).animate-in {
  animation-delay: 0.1s;
}
.worker-benefit-item:nth-child(2).animate-in {
  animation-delay: 0.2s;
}
.worker-benefit-item:nth-child(3).animate-in {
  animation-delay: 0.3s;
}
.worker-benefit-item:nth-child(4).animate-in {
  animation-delay: 0.4s;
}
.worker-benefit-item:nth-child(5).animate-in {
  animation-delay: 0.5s;
}
.worker-benefit-item:nth-child(6).animate-in {
  animation-delay: 0.6s;
}

.worker-benefit-item:hover {
  transform: translateY(-5px) translateX(0) !important;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #e60000 0%, #ff4444 100%);
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.worker-benefit-item:hover .worker-benefit-icon {
  background: white;
  color: #e60000 !important;
  i {
    color: #e60000 !important;
  }
}

.worker-benefit-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #e60000, #ff4444);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  transition: all 0.3s ease;
}

.worker-benefit-icon i {
  font-size: 1.2rem;
  color: white;
}

.worker-benefit-text {
  font-size: 1.1rem;
  font-weight: 500;
  color: #333;
  transition: color 0.3s ease;
}

.worker-benefit-item:hover .worker-benefit-text {
  color: white;
}

/* Process Section */
.worker-process-section {
  padding: 100px 20px;
  background: linear-gradient(135deg, #e60000 0%, #ff4444 100%);
  color: white;
}

.worker-process-container {
  max-width: 1200px;
  margin: 0 auto;
}

.worker-process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.worker-process-step {
  text-align: center;
  padding: 40px 30px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
}

.worker-process-step:nth-child(1) {
  animation-delay: 0.2s;
}
.worker-process-step:nth-child(2) {
  animation-delay: 0.4s;
}
.worker-process-step:nth-child(3) {
  animation-delay: 0.6s;
}

.worker-process-step:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.2);
}

.worker-step-number {
  width: 60px;
  height: 60px;
  background: white;
  color: #e60000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 20px;
  position: relative;
}

.worker-step-number::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.worker-step-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  opacity: 0.9;
}

.worker-step-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.worker-step-description {
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.6;
}

/* CTA Section */
.worker-cta-section {
  padding: 60px 40px !important;
  background: transparent;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  border-radius: 100px;
  max-width: 60% !important;
  margin: 50px auto 40px auto;
}

.worker-cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 100 100\"><circle cx=\"20\" cy=\"20\" r=\"2\" fill=\"rgba(255,255,255,0.1)\"/><circle cx=\"80\" cy=\"40\" r=\"1\" fill=\"rgba(255,255,255,0.1)\"/><circle cx=\"40\" cy=\"80\" r=\"1.5\" fill=\"rgba(255,255,255,0.1)\"/></svg>');
  opacity: 0.3;
  z-index: 1;
}

.worker-cta-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.worker-cta-title {
  font-size: 3rem;
  font-weight: 700;
  color: black;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease-out;
}

.worker-cta-subtitle {
  font-size: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: black;
  margin-bottom: 50px;
  line-height: 1.6;
  animation: fadeInUp 1s ease-out 0.3s both;
  opacity: 0.9;
  white-space: wrap;
  width: 100%;
  text-align: center;
}

.worker-cta-button {
  display: inline-block;
  padding: 18px 40px;
  background: #e60000;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(230, 0, 0, 0.3);
  animation: scaleIn 1s ease-out 0.6s both;
}

.worker-cta-container .worker-cta-button:hover {
  box-shadow: 0 15px 40px rgba(230, 0, 0, 0.4) !important;
  background: #c60000;
  color: rgb(247, 247, 247);
}

/* Responsive Design */
@media (max-width: 768px) {
  .worker-separator {
    height: 80px;
  }

  .worker-separator-content {
    font-size: 1rem;
    gap: 15px;
  }

  .worker-separator-arrow {
    font-size: 1.2rem;
  }

  .worker-hero-title {
    font-size: 2.5rem;
  }

  .worker-hero-logo {
    height: 60px;
  }

  .worker-hero-subtitle {
    font-size: 1.1rem;
  }

  .worker-features-cards-container {
    gap: 5px !important;
    padding: 0 10px;
  }
  .worker-feature-card {
    width: 240px;
    height: 360px; /* 240 * 1.5 = 360 */
    min-width: 240px;
    min-height: 360px;
    max-width: 240px;
    max-height: 360px;
  }

  .card-front,
  .card-back {
    padding: 30px 20px;
  }

  .card-back-pattern {
    font-size: 3rem;
  }

  .card-hint {
    font-size: 1rem;
  }

  .worker-benefits-grid {
    grid-template-columns: 1fr;
  }

  .worker-process-steps {
    grid-template-columns: 1fr;
  }

  .worker-cta-title {
    font-size: 2rem;
  }

  .worker-cta-subtitle {
    font-size: 1.1rem;
  }

  .worker-card-icon {
    margin: 0 auto 10px !important;
    margin-bottom: 10px !important;
  }

  .worker-card-content {
    gap: 5px !important;
  }

  .worker-card-content h3 {
    margin-bottom: 8px !important;
  }
}

@media (max-width: 480px) {
  .worker-hero-title {
    font-size: 2rem;
  }

  .worker-hero-logo {
    height: 50px;
  }

  .worker-features-cards-container {
    gap: 5px !important;
    padding: 0 5px;
  }
  .worker-feature-card {
    width: 200px;
    height: 300px; /* 200 * 1.5 = 300 */
    min-width: 200px;
    min-height: 300px;
    max-width: 200px;
    max-height: 300px;
    padding: 0;
  }

  .card-front,
  .card-back {
    padding: 20px 15px;
  }

  .card-back-pattern {
    font-size: 2.5rem;
  }

  .card-hint {
    font-size: 0.9rem;
  }

  .worker-benefit-item {
    padding: 20px;
  }

  .worker-process-step {
    padding: 30px 20px;
  }

  .worker-cta-button {
    padding: 15px 30px;
    font-size: 1.1rem;
  }

  .worker-card-icon {
    margin: 0 auto 8px !important;
    margin-bottom: 8px !important;
  }

  .worker-card-content {
    gap: 5px !important;
  }

  .worker-card-content h3 {
    margin-bottom: 6px !important;
  }
}

/* Scalinata SVG */
.worker-stairs {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: auto;
  margin-bottom: 0px;
  animation: fadeInUp 1s ease-out 0.9s both;
  /*border: 2px solid red;  Debug: per vedere se il container è visibile */
  min-height: auto;
  max-height: 100%;
  height: auto;
  min-width: 100vw;
  max-width: 100vw;
  margin-left: 0vw;
  position: relative;
  left: 40%;
}

.stairs-svg {
  filter: drop-shadow(0 4px 8px rgba(84, 3, 3, 0.355));
  opacity: 1;
  /*border: 1px solid blue;  Debug: per vedere se l'SVG è visibile */
  width: 100%;
  max-height: 550px;
  height: 100%;
  padding: 0;
  margin-top: auto;
  box-sizing: border-box;
  transition: transform 0.5s ease-in-out;
}

.stairs-svg line {
  stroke-linecap: round;
  animation: drawLine 2s ease-out forwards;
}

.stairs-svg line:nth-child(3) {
  animation-delay: 0.1s;
}
.stairs-svg line:nth-child(4) {
  animation-delay: 0.2s;
}
.stairs-svg line:nth-child(5) {
  animation-delay: 0.3s;
}
.stairs-svg line:nth-child(6) {
  animation-delay: 0.4s;
}
.stairs-svg line:nth-child(7) {
  animation-delay: 0.5s;
}
.stairs-svg line:nth-child(8) {
  animation-delay: 0.6s;
}
.stairs-svg line:nth-child(9) {
  animation-delay: 0.7s;
}
.stairs-svg line:nth-child(10) {
  animation-delay: 0.8s;
}
.stairs-svg line:nth-child(11) {
  animation-delay: 0.9s;
}
.stairs-svg line:nth-child(12) {
  animation-delay: 1s;
}

@keyframes drawLine {
  from {
    stroke-dasharray: 0 100;
  }
  to {
    stroke-dasharray: 100 0;
  }
}

/* Card dei 5 passi di crescita */
.growth-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 20px 25px 30px 25px;
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15),
    rgba(255, 255, 255, 0.05)
  );
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease-out both;
  z-index: 10;
  max-width: 400px;
  min-width: 350px;
  width: auto;
}

.growth-card:hover {
  transform: translate(-50%, -8px);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.4),
    0 4px 12px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
}

.growth-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e60000, #cc0000);
  color: white;
  font-size: 1.8rem;
  flex-shrink: 0;
  box-shadow:
    0 4px 15px rgba(230, 0, 0, 0.4),
    0 2px 8px rgba(0, 0, 0, 0.3);
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.growth-content {
  text-align: center;
  width: 100%;
}

.growth-content h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow:
    2px 2px 4px rgba(0, 0, 0, 0.8),
    0 0 8px rgba(0, 0, 0, 0.5);
  margin: 0 0 8px 0;
  letter-spacing: 0.5px;
}

.growth-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  margin: 0 0 5px 0;
  padding-bottom: 15px;
  font-weight: 500;
  opacity: 0.95;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.growth-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  margin: 0 0 20px 0;
  line-height: 1.6;
  text-align: center;
}

.growth-benefits {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  text-align: center;
  width: fit-content;
}

.growth-benefits li {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  margin: 0 auto 12px auto;
  padding: 0;
  display: flex;
  align-items: center;
  line-height: 1.5;
}

.growth-benefits li:last-child {
  margin-bottom: 0;
}

.growth-benefits li i {
  color: #00ac17;
  margin-right: 10px;
  font-size: 1.3rem;
  margin-top: 4px;
  flex-shrink: 0;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}

/* Posizionamento delle card sopra i segmenti orizzontali */
.card-1 {
  top: 20% !important;
  left: 40% !important;
  transform: translateX(-50%) !important;
  animation-delay: 0s;
  height: fit-content !important;
}

.card-2 {
  top: 20%;
  left: 40% !important;
  transform: translateX(-50%) !important;
  animation-delay: 0s;
  height: fit-content !important;
}

.card-3 {
  top: 20%;
  left: 40% !important;
  transform: translateX(-50%) !important;
  animation-delay: 0s;
  height: fit-content !important;
}

.card-4 {
  top: 20%;
  left: 40% !important;
  transform: translateX(-50%) !important;
  animation-delay: 0s;
  height: fit-content !important;
}

.card-5 {
  top: 20%;
  left: 40% !important;
  transform: translateX(-50%) !important;
  animation-delay: 0s;
  height: fit-content !important;
}

/* Nascondi tutte le card tranne quella attiva */
.growth-card {
  opacity: 0;
  visibility: hidden;
  transition: all 0s ease;
  transform: translate(-50%, 20px) scale(0.9);
}

.growth-card.active {
  opacity: 1;
  visibility: visible;
  animation: cardEntrance 0.6s ease-out forwards;
}

/* Animazioni di entrata per le card */
@keyframes cardEntrance {
  0% {
    opacity: 0;
    transform: translate(-50%, 30px) scale(0.8);
  }
  50% {
    opacity: 0.8;
    transform: translate(-50%, -5px) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}

/* Animazioni specifiche per ogni card con intensità crescente */
.card-1.active {
  animation: cardEntrance1 0.4s ease-out forwards;
}

.card-2.active {
  animation: cardEntrance2 0.5s ease-out forwards;
}

.card-3.active {
  animation: cardEntrance3 0.6s ease-out forwards;
}

.card-4.active {
  animation: cardEntrance4 0.7s ease-out forwards;
}

.card-5.active {
  animation: cardEntrance5 0.8s ease-out forwards;
}

@keyframes cardEntrance1 {
  0% {
    opacity: 0;
    transform: translate(-50%, 20px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}

@keyframes cardEntrance2 {
  0% {
    opacity: 0;
    transform: translate(-50%, 25px) scale(0.85) rotate(-2deg);
  }
  50% {
    opacity: 0.7;
    transform: translate(-50%, -3px) scale(1.02) rotate(1deg);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0) scale(1) rotate(0deg);
  }
}

@keyframes cardEntrance3 {
  0% {
    opacity: 0;
    transform: translate(-50%, 30px) scale(0.8) rotate(-5deg);
  }
  30% {
    opacity: 0.6;
    transform: translate(-50%, -8px) scale(1.08) rotate(3deg);
  }
  70% {
    opacity: 0.9;
    transform: translate(-50%, -2px) scale(1.02) rotate(-1deg);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0) scale(1) rotate(0deg);
  }
}

@keyframes cardEntrance4 {
  0% {
    opacity: 0;
    transform: translate(-50%, 35px) scale(0.75) rotate(-8deg);
  }
  25% {
    opacity: 0.4;
    transform: translate(-50%, -12px) scale(1.12) rotate(5deg);
  }
  50% {
    opacity: 0.7;
    transform: translate(-50%, -6px) scale(1.06) rotate(-2deg);
  }
  75% {
    opacity: 0.9;
    transform: translate(-50%, -1px) scale(1.01) rotate(0.5deg);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0) scale(1) rotate(0deg);
  }
}

@keyframes cardEntrance5 {
  0% {
    opacity: 0;
    transform: translate(-50%, 40px) scale(0.7) rotate(-12deg);
  }
  20% {
    opacity: 0.3;
    transform: translate(-50%, -15px) scale(1.15) rotate(8deg);
  }
  40% {
    opacity: 0.6;
    transform: translate(-50%, -8px) scale(1.08) rotate(-4deg);
  }
  60% {
    opacity: 0.8;
    transform: translate(-50%, -3px) scale(1.03) rotate(2deg);
  }
  80% {
    opacity: 0.95;
    transform: translate(-50%, -1px) scale(1.01) rotate(-0.5deg);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0) scale(1) rotate(0deg);
  }
}

/* Stelline animate per le transizioni */
.growth-card::before,
.growth-card::after {
  content: "★";
  position: absolute;
  color: #e60000;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  z-index: 15;
}

.growth-card::before {
  top: -10px;
  left: -10px;
}

.growth-card::after {
  bottom: -10px;
  right: -10px;
}

/* Stelline aggiuntive per le card più alte */
.card-3::before {
  content: "★ ★";
  font-size: 10px;
  letter-spacing: 5px;
}

.card-4::before {
  content: "★ ★ ★";
  font-size: 9px;
  letter-spacing: 4px;
}

.card-5::before {
  content: "★ ★ ★ ★";
  font-size: 8px;
  letter-spacing: 3px;
}

.card-3::after {
  content: "★ ★";
  font-size: 10px;
  letter-spacing: 5px;
}

.card-4::after {
  content: "★ ★ ★";
  font-size: 9px;
  letter-spacing: 4px;
}

.card-5::after {
  content: "★ ★ ★ ★";
  font-size: 8px;
  letter-spacing: 3px;
}

/* Animazioni delle stelline per ogni card */
.card-1.active::before {
  animation: starFloat1 0.4s ease-out forwards;
}

.card-2.active::before {
  animation: starFloat2 0.5s ease-out forwards;
}

.card-2.active::after {
  animation: starFloat2 0.5s ease-out 0.1s forwards;
}

.card-3.active::before {
  animation: starFloat3 0.6s ease-out forwards;
}

.card-3.active::after {
  animation: starFloat3 0.6s ease-out 0.2s forwards;
}

.card-4.active::before {
  animation: starFloat4 0.7s ease-out forwards;
}

.card-4.active::after {
  animation: starFloat4 0.7s ease-out 0.15s forwards;
}

.card-5.active::before {
  animation: starFloat5 0.8s ease-out forwards;
}

.card-5.active::after {
  animation: starFloat5 0.8s ease-out 0.1s forwards;
}

/* Stelline extra per le card più alte */
.extra-star {
  position: absolute;
  color: #e60000;
  font-size: 10px;
  opacity: 0;
  pointer-events: none;
  z-index: 15;
}

/* Posizioni delle stelline extra per card 3 */
.card-3 .star-1 {
  top: 20px;
  left: -20px;
}

.card-3 .star-2 {
  bottom: 20px;
  right: -20px;
}

/* Posizioni delle stelline extra per card 4 */
.card-4 .star-1 {
  top: 10px;
  left: -25px;
}

.card-4 .star-2 {
  top: 30px;
  right: -15px;
}

.card-4 .star-3 {
  bottom: 10px;
  left: -15px;
}

.card-4 .star-4 {
  bottom: 30px;
  right: -25px;
}

/* Posizioni delle stelline extra per card 5 */
.card-5 .star-1 {
  top: 5px;
  left: -30px;
}

.card-5 .star-2 {
  top: 25px;
  right: -20px;
}

.card-5 .star-3 {
  top: 45px;
  left: -10px;
}

.card-5 .star-4 {
  bottom: 5px;
  right: -30px;
}

.card-5 .star-5 {
  bottom: 25px;
  left: -20px;
}

.card-5 .star-6 {
  bottom: 45px;
  right: -10px;
}

/* Animazioni delle stelline extra */
.card-3.active .star-1 {
  animation: extraStar1 0.6s ease-out 0.1s forwards;
}

/* Worker Features Cards - Nuovo layout semplice */
.worker-features-cards-container {
  position: relative;
  display: flex;
  flex-direction: row;
  gap: 0px;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease;
  max-width: 80% !important;
  margin: 0 auto;
  box-sizing: border-box;
  flex-wrap: nowrap;
  padding: 0 20px; /* Padding laterale per evitare che le card tocchino i bordi */
}

.worker-feature-card {
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  min-width: 33%;
  width: 33%;
  height: auto;
  min-height: 280px;
  margin: 0 10px;
}

/* Hover effect semplice per tutte le card */
.worker-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-3.active .star-2 {
  animation: extraStar1 0.6s ease-out 0.3s forwards;
}

.card-4.active .star-1 {
  animation: extraStar2 0.7s ease-out 0.05s forwards;
}

.card-4.active .star-2 {
  animation: extraStar2 0.7s ease-out 0.2s forwards;
}

.card-4.active .star-3 {
  animation: extraStar2 0.7s ease-out 0.35s forwards;
}

.card-4.active .star-4 {
  animation: extraStar2 0.7s ease-out 0.5s forwards;
}

.card-5.active .star-1 {
  animation: extraStar3 0.8s ease-out 0.05s forwards;
}

.card-5.active .star-2 {
  animation: extraStar3 0.8s ease-out 0.15s forwards;
}

.card-5.active .star-3 {
  animation: extraStar3 0.8s ease-out 0.25s forwards;
}

.card-5.active .star-4 {
  animation: extraStar3 0.8s ease-out 0.35s forwards;
}

.card-5.active .star-5 {
  animation: extraStar3 0.8s ease-out 0.45s forwards;
}

.card-5.active .star-6 {
  animation: extraStar3 0.8s ease-out 0.55s forwards;
}

@keyframes extraStar1 {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-15px) scale(1.3);
  }
  70% {
    opacity: 0.8;
    transform: translateY(-35px) scale(1.1);
  }
  100% {
    opacity: 0;
    transform: translateY(-50px) scale(0.5);
  }
}

@keyframes extraStar2 {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0);
  }
  25% {
    opacity: 1;
    transform: translateY(-20px) scale(1.4);
  }
  50% {
    opacity: 1;
    transform: translateY(-40px) scale(1.2);
  }
  75% {
    opacity: 0.6;
    transform: translateY(-55px) scale(0.9);
  }
  100% {
    opacity: 0;
    transform: translateY(-70px) scale(0.3);
  }
}

@keyframes extraStar3 {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0);
  }
  20% {
    opacity: 1;
    transform: translateY(-25px) scale(1.5);
  }
  40% {
    opacity: 1;
    transform: translateY(-45px) scale(1.3);
  }
  60% {
    opacity: 0.8;
    transform: translateY(-60px) scale(1.1);
  }
  80% {
    opacity: 0.5;
    transform: translateY(-75px) scale(0.8);
  }
  100% {
    opacity: 0;
    transform: translateY(-90px) scale(0.2);
  }
}

/* Animazioni delle stelline */
@keyframes starFloat1 {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-20px) scale(1.2);
  }
  100% {
    opacity: 0;
    transform: translateY(-40px) scale(0.8);
  }
}

@keyframes starFloat2 {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0) rotate(0deg);
  }
  30% {
    opacity: 1;
    transform: translateY(-15px) scale(1.3) rotate(180deg);
  }
  70% {
    opacity: 1;
    transform: translateY(-30px) scale(1.1) rotate(360deg);
  }
  100% {
    opacity: 0;
    transform: translateY(-50px) scale(0.6) rotate(540deg);
  }
}

@keyframes starFloat3 {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0) rotate(0deg);
  }
  25% {
    opacity: 1;
    transform: translateY(-20px) scale(1.4) rotate(120deg);
  }
  50% {
    opacity: 1;
    transform: translateY(-35px) scale(1.2) rotate(240deg);
  }
  75% {
    opacity: 0.8;
    transform: translateY(-45px) scale(1) rotate(360deg);
  }
  100% {
    opacity: 0;
    transform: translateY(-60px) scale(0.5) rotate(480deg);
  }
}

@keyframes starFloat4 {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0) rotate(0deg);
  }
  20% {
    opacity: 1;
    transform: translateY(-25px) scale(1.5) rotate(90deg);
  }
  40% {
    opacity: 1;
    transform: translateY(-40px) scale(1.3) rotate(180deg);
  }
  60% {
    opacity: 0.9;
    transform: translateY(-50px) scale(1.1) rotate(270deg);
  }
  80% {
    opacity: 0.6;
    transform: translateY(-55px) scale(0.9) rotate(360deg);
  }
  100% {
    opacity: 0;
    transform: translateY(-70px) scale(0.4) rotate(450deg);
  }
}

@keyframes starFloat5 {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0) rotate(0deg);
  }
  15% {
    opacity: 1;
    transform: translateY(-30px) scale(1.6) rotate(60deg);
  }
  30% {
    opacity: 1;
    transform: translateY(-45px) scale(1.4) rotate(120deg);
  }
  45% {
    opacity: 1;
    transform: translateY(-55px) scale(1.2) rotate(180deg);
  }
  60% {
    opacity: 0.8;
    transform: translateY(-60px) scale(1) rotate(240deg);
  }
  75% {
    opacity: 0.5;
    transform: translateY(-65px) scale(0.8) rotate(300deg);
  }
  90% {
    opacity: 0.2;
    transform: translateY(-70px) scale(0.6) rotate(360deg);
  }
  100% {
    opacity: 0;
    transform: translateY(-80px) scale(0.3) rotate(420deg);
  }
}

/* CTA per step 5 */
.step-5-cta {
  position: absolute;
  top: 42.5%;
  right: 20%;
  transform: translateY(-50%);
  z-index: 1500;
  animation: fadeInUp 0.6s ease-out 0.3s both;
  opacity: 0;
  visibility: hidden;
  transition: none; /* Nessuna transizione per l'uscita */
}
@media (max-width: 768px) and (min-width: 480px) {
  .step-5-cta {
    top: 45%;
    right: 15%;
  }
}

.step-5-cta.show {
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease; /* Transizione solo per l'entrata */
}

.step-5-cta-button {
  display: inline-block;
  padding: 18px 50px;
  background: linear-gradient(135deg, #e60000, #cc0000);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.3rem;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow:
    0 10px 30px rgba(230, 0, 0, 0.4),
    0 4px 15px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.step-5-cta-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow:
    0 15px 40px rgba(230, 0, 0, 0.5),
    0 6px 20px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, #ff0000, #e60000);
  border-color: rgba(255, 255, 255, 0.5);
}

.step-5-cta-button:active {
  transform: translateY(-1px) scale(1.02);
}

/* Responsive per CTA step 5 */
@media (max-width: 768px) {
  .step-5-cta {
    bottom: 20%;
  }

  .step-5-cta-button {
    padding: 16px 40px;
    font-size: 1.1rem;
  }
}

/* Scorritore con frecce */
.stairs-navigator {
  /*position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 20;
  width: auto; */
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 20;
  width: 100vw;
  min-height: 100vh;
  height: 100vh;
}

.nav-btn {
  background: linear-gradient(135deg, #e60000, #cc0000);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nav-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
#prevStep {
  position: absolute;
  left: 22.5%;
  transform: translate(-50%, -50%);
  top: 47.5%;
}
#nextStep {
  position: absolute;
  left: 57.5%;
  transform: translate(-50%, -50%);
  top: 47.5%;
}

.step-indicator {
  display: flex;
  gap: 8px;
  position: absolute;
  left: 40%;
  transform: translateX(-50%);
  bottom: 5%;
}

.step-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(230, 0, 0, 0.3);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.step-dot.active {
  background: #e60000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transform: scale(1.2);
}

.step-dot:hover {
  background: rgba(230, 0, 0, 0.6);
}

/* Worker Banner - Appare quando tutte le card sono girate */
.worker-banner {
  max-width: 60% !important;
  width: 60% !important;
  padding: 10px 30px;
  background: linear-gradient(135deg, #e60000, #cc0000);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  animation: bannerSlideIn 0.6s ease-out forwards;
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%) !important;
  overflow: hidden;
}

.worker-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) !important;
  width: 60% !important;
  max-width: 60% !important;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.3;
  z-index: 1;
}
.worker-banner.active {
  transform: translateX(-50%);
}

.banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  position: relative;
  z-index: 2;
}

.banner-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.banner-icon i {
  font-size: 1.8rem;
  color: white;
  animation: rocketPulse 2s ease-in-out infinite;
}

.banner-text {
  flex: 1;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  padding: 0 0 0 0 !important;
  margin: 0 0 0 0 !important;
}

.banner-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: white;
  margin: 0 0 0 0 !important;
  padding: 0 0 0 0 !important;
}

.banner-text p {
  margin: 0;
  padding: 0 0 0 0 !important;
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.5;
  margin: 0;
  color: white;
  width: 75% !important;
  max-width: 75% !important;
}

.banner-buttons {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 25px;
  background: #e60000;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  border: 2px solid white;
}

.banner-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
  background: #cc0000;
  color: white;
  border-color: #ffeaea;
}

.banner-cta i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.banner-cta:hover i {
  transform: translateX(3px);
}

.banner-cta-register {
  background: white;
  color: #e60000;
  border: 2px solid transparent;
}

.banner-cta-register:hover {
  background: #ffeaea;
  color: #e60000;
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.banner-cta-register:hover i {
  transform: translateX(3px);
}

@keyframes bannerSlideIn {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  50% {
    opacity: 0.8;
    transform: translateY(-5px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes rocketPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Responsive Design per il banner */
@media (max-width: 768px) {
  .worker-banner {
    margin-top: 30px;
    padding: 25px;
  }

  .banner-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .banner-text h3 {
    font-size: 1.3rem;
    text-align: center !important;
  }

  .banner-text p {
    font-size: 0.95rem;
  }

  .banner-buttons {
    flex-direction: row;
    width: 100%;
    gap: 12px;
    justify-content: center;
    align-items: center;
  }

  .banner-cta {
    padding: 12px 20px;
    font-size: 0.95rem;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .worker-banner {
    margin-top: 25px;
    padding: 20px;
  }

  .banner-icon {
    width: 50px;
    height: 50px;
  }

  .banner-icon i {
    font-size: 1.5rem;
  }

  .banner-text h3 {
    font-size: 1.2rem;
    text-align: center !important;
  }

  .banner-text p {
    font-size: 0.9rem;
  }

  .banner-buttons {
    flex-direction: row;
    width: 100%;
    gap: 10px;
    justify-content: center;
    align-items: center;
  }

  .banner-cta {
    padding: 10px 18px;
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
  }
}
