:root {
  --violet: #6A0DAD; /* Viola Magentifier */
  --violet-dark: #4B0082; /* Viola scuro elegante */
  --lime-soft: #D9FDD3; /* Verde lime molto soft */
  --text-dark: #333;
  --white: #ffffff;
}

.privacy-title {
  color: #6BCB77; /* Verde lime fresco */
  font-family: 'Georgia', 'Times New Roman', serif; /* Font elegante e diverso */
  font-size: 2rem;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
 
body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background: linear-gradient(to bottom right, #f8f8f8, var(--lime-soft));
  color: var(--text-dark);
}

header {
  background: linear-gradient(to bottom right, var(--violet-dark), var(--violet));
  color: var(--white);
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 12px;
  border-bottom: 2px solid var(--violet);
  background: linear-gradient(135deg, #e0e0e0, #f5f5f5, #d0d0d0);
  background-size: 400% 400%;
  animation: metallicFlow 8s ease infinite;
  box-shadow: inset 0 0 12px rgba(255,255,255,0.3), 0 4px 12px rgba(0,0,0,0.05);
  border-radius: 12px;
}


nav a {
  text-decoration: none;
  color: var(--violet);
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 20px;
  transition: background 0.3s, transform 0.2s;
}

nav a:hover {
  background-color: var(--lime-soft);
  transform: scale(1.05);
  box-shadow: 0 0 8px rgba(106, 13, 173, 0.4);
  animation: glowPulse 1.2s ease-in-out infinite;
}


.hero {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(to bottom right, var(--violet-dark), var(--violet));
  color: var(--white);
  box-shadow: inset 0 -4px 12px rgba(0,0,0,0.1);
}


.cta-button {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 28px;
  background-color: var(--white);
  color: var(--violet);
  font-weight: 600;
  border-radius: 40px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: background 0.3s, transform 0.2s;
}

.cta-button:hover {
  background-color: var(--lime-soft);
  transform: scale(1.05);
}

.dati-mercato, .prima-dopo, .chat-demo, .citazione {
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  margin: 40px auto;
  max-width: 800px;
  border-radius: 20px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.dati-mercato ul {
  text-align: center;
  padding: 0;
  list-style: none;
}

.dati-mercato li::before {
  content: "➡ ";
  margin: 12px 0;
  display: inline-block;
  text-align: left;
  color: var(--violet);
  font-weight: bold;
  max-width: 600px;
}


.prima-dopo {
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  margin: 40px auto;
  max-width: 800px;
  border-radius: 20px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  text-align: center; /* 🔥 Questo centra tutto */
}

.caso {
  margin-bottom: 30px;
}
.caso h4 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: var(--violet);
}

.caso p {
  margin: 6px 0;
  font-size: 1rem;
  line-height: 1.4;
}

.caso-separatore {
  text-align: center;
  font-size: 24px;
  color: var(--violet);
  margin: 20px 0;
}

.caso-separatore:hover {
  transform: scale(1.2);
  transition: transform 0.3s ease;
}


.testimonianze-slider {
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  margin: 40px auto;
  max-width: 800px;
  border-radius: 20px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.slider-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.testimonial-card {
  min-width: 100%;
  box-sizing: border-box;
  padding: 20px;
  background: linear-gradient(to bottom right, #fdfdfd, #f0f0f0);
  border-radius: 16px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.05);
}

.testimonial-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.testimonial-card h4 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--violet);
}

.testimonial-card .role {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 12px;
}

.testimonial-card .quote {
  font-style: italic;
  font-size: 1rem;
  color: #333;
}

.slider-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--violet);
  cursor: pointer;
  padding: 0 10px;
  transition: transform 0.2s ease;
}

.slider-btn:hover {
  transform: scale(1.2);
}


.bubble {
  padding: 12px 16px;
  border-radius: 16px;
  margin: 8px 0;
  max-width: 80%;
  word-wrap: break-word;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.bubble.visible {
  opacity: 1;
  transform: translateY(0);
}

.bubble.bot {
  background-color: var(--lime-soft);
  align-self: flex-start;
}

.bubble.user {
  background-color: #f0f0f0;
  align-self: flex-end;
}

footer {
  text-align: center;
  padding: 20px;
  background: linear-gradient(to bottom right, var(--violet-dark), var(--violet));
  color: var(--white);
  font-size: 0.9rem;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
}


footer a {
  color: var(--white);
  text-decoration: underline;
}

/* ⭐ CSAT Rating Stars */
.csat-rating {
  text-align: center;
  margin-top: 20px;
  font-size: 28px;
  color: #FFD700;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.csat-rating.show {
  opacity: 1;
  transform: translateY(0);
}

.csat-rating .star {
  margin: 0 6px;
  transition: color 0.3s ease;
}

.csat-rating .star:hover {
  color: var(--violet);
  cursor: pointer;
}

.csat-label {
  font-size: 14px;
  color: var(--text-dark);
  margin-top: 10px;
}


/* Animazioni */
@keyframes popStar {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeInLabel {
  to {
    opacity: 1;
  }
}
@keyframes metallicFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes glowPulse {
  0% {
    box-shadow: 0 0 8px rgba(106, 13, 173, 0.4);
  }
  50% {
    box-shadow: 0 0 16px rgba(106, 13, 173, 0.6);
  }
  100% {
    box-shadow: 0 0 8px rgba(106, 13, 173, 0.4);
  }
}
@keyframes slideTestimonials {
  0%   { transform: translateX(0%); }
  33%  { transform: translateX(-100%); }
  66%  { transform: translateX(-200%); }
  100% { transform: translateX(0%); }
}


