/* RESET E FONT MODERNI */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: 'SF Pro Display', 'San Francisco', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
  max-width: 100vw;
}

.hero, .hero-content, .hero-stats-cards, .phone-mockup.animated-mockup, .demo-video-container.animated-mockup {
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
  min-width: 0;
  border-radius: 45px / 55px;
}
.hero-content, .hero-stats-cards {
  width: 100%;
}
.hero-video-bg video {
  width: 100%;
  min-width: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'SF Pro Display', 'San Francisco', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-dark);
}

/* VARIABILI COLORI */
:root {
  --palette-rosa1: #F0D7DF;
  --palette-rosa2: #F9E0E2;
  --palette-rosa3: #F8EAEC;
  --palette-rosa4: #F7DDD9;
  --palette-rosa5: #F7E6DA;
  --palette-lilla: #E3E9DD;
  --palette-verde1: #C4DBD9;
  --palette-verde2: #D4E5E3;
  --palette-azzurro: #CAE0E4;
  --palette-grigio: #C8C7D6;

  --primary-color: #7C5E48; /* marrone visibile */
  --secondary-color: #C4DBD9; /* verde acqua tenue */
  --accent-color: #F0D7DF; /* rosa chiaro */
  --text-dark: #7C5E48; /* marrone per testo principale */
  --text-light: #A08B7C; /* marrone chiaro per testo secondario */
  --bg-light: #f8eaec57;
  --bg-white: #fff;
  --shadow: 0 10px 30px rgba(124, 94, 72, 0.10);
  --shadow-hover: 0 20px 40px rgba(124, 94, 72, 0.15);
  --border-radius: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Colori per why cards */
  --why-color1: #F0D7DF;
  --why-color2: #F9E0E2;
  --why-color3: #F8EAEC;
  --why-color4: #F7DDD9;
  --why-color5: #F7E6DA;
  --why-color6: #E3E9DD;
  
  /* Colori per back-to-top */
  --back-to-top-bg: #C4DBD9;
  --back-to-top-hover: #7C5E48;
}

/* NAVBAR MODERNA */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 1000;
  margin: 1rem 0;
  transition: var(--transition);
  border-radius: 30rem;
  margin-top: 1.8vh;
  width: 95%;
  justify-self: center;
  box-shadow: var(--shadow);
  max-width: 90rem;

}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-content: space-between;
  /* gap: 100%; */
  padding-left: 2rem;
  padding-right: 2rem;
}

.nav-logo img {
  height: 70px;
  width: auto;
  max-width: 180px;
}

.nav-menu {
  display: flex;
  gap: 1rem;
  align-items: center;
  border-radius: 2rem;



}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 1.18rem;
}

.nav-link:hover {
  color: var(--primary-color);
  background: rgba(44, 90, 160, 0.1);
}

.nav-cta {
  background: linear-gradient(135deg, #56d88757 0%, #06a22dc4 100%);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.wa-ico {
  width: 26px;
  height: 26px;
  display: inline-block;
  margin-right: 0.3em;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2332bb54"><path d="M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893A11.821 11.821 0 0020.885 3.488"/></svg>') no-repeat center;
  background-size: contain;
  vertical-align: middle;
  transition: filter 0.2s, box-shadow 0.2s;
  filter: drop-shadow(0 0 2px #32bb54aa);
}
.wa-ico:hover, a:hover .wa-ico, .cta-primary:hover .wa-ico, .pricing-cta:hover .wa-ico {
  filter: drop-shadow(0 0 6px #25d366) brightness(1.2);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  transition: var(--transition);
  border-radius: 2px;
}

/* HERO MODERNO CON SFONDO ANIMATO */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  width: 100%;
  display: grid;
  place-items: center;
  max-width: 100vw;
  width: 98%;
  margin-bottom: 1rem;
  justify-self: center;
  margin-top: 1rem;
}

.hero-bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.3) 0%, transparent 50%);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(1deg); }
  66% { transform: translateY(10px) rotate(-1deg); }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  justify-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}
.hero-text, .hero-visual {
  justify-self: center;
  width: 100%;

  margin: 0 auto;
}
@media (max-width: 900px) {
  .navbar {

    margin-top: 1.5vh;

  
  }
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
    text-align: center;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .hero-visual {
    margin-top: 1.5rem;
  }
}
@media (max-width: 600px) {
  .hero-content {
    padding: 0 0.2rem;
  }
}

.hero-title {
  font-size: 3.5rem;
  color: white;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.1;
}

.highlight {
  background: linear-gradient(135deg, var(--secondary-color), #e67e22);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  font-weight: 400;
}

.hero-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color);
  font-family: 'SF Pro Display', 'San Francisco', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-primary {
  background: linear-gradient(135deg, #25d366 0%, #32bb54 100%);
  color: white;
  border: none;
  padding: 1rem 2.2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.cta-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition);
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

.phone-mockup {
  width: 270px;
  height: 540px;
  background: #000;
  border-radius: 30px;
  padding: 10px;
  box-shadow: var(--shadow-hover);
  position: relative;
}

.phone-mockup video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

/* CONTAINER GENERALE */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* SEZIONE HEADER */
.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  padding-bottom: 2rem;
}

/* FEATURES SECTION */
.features {
  padding: 6rem 0;
  background: var(--bg-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: white;
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.6;
}

.feature-decoration {
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  opacity: 0.1;
  border-radius: 0 var(--border-radius) 0 100%;
}

/* TIMELINE DINAMICA */
.timeline-section {
  padding: 6rem 0;
  background: white;
  position: relative;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
  transform: translateX(-50%);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:nth-child(odd) {
  padding-right: 50%;
  text-align: right;
}

.timeline-item:nth-child(even) {
  padding-left: 50%;
  text-align: left;
}

.timeline-icon {
  position: absolute;
  left: 50%;
  top: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  transform: translateX(-50%);
  box-shadow: var(--shadow);
  z-index: 2;
}

.timeline-content {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  position: relative;
  margin-top: 30px;
}

.timeline-content h3 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.timeline-content p {
  color: var(--text-light);
  line-height: 1.6;
}

/* DEMO SECTION */
.demo-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.demo-header {
  text-align: center;
  margin-bottom: 4rem;
}

.demo-header h2 {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.demo-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.demo-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;

}

.demo-feature {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.demo-feature:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-hover);
}

.demo-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.demo-text-content h3 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.demo-text-content p {
  color: var(--text-light);
  line-height: 1.6;
}

.demo-cta {
  text-align: center;
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.demo-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.demo-video-container {
  width: 350px;
  height: 700px;
  background: #000;
  border-radius: 30px;
  padding: 10px;
  box-shadow: var(--shadow-hover);
  position: relative;
  overflow: hidden;
}

.demo-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.demo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
}

.demo-play-button {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-color);
  cursor: pointer;
  transition: var(--transition);
}

.demo-play-button:hover {
  transform: scale(1.1);
  background: white;
}

/* PRICING SECTION */
.pricing {
  padding: 6rem 0;
  background: white;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* PRICING CARD CTA SEMPRE IN FONDO */
.pricing-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  position: relative;
  transition: var(--transition);
  padding: 2.5rem;
}
.pricing-cta-wrapper.align-bottom {
  margin-top: auto;
  padding-top: 1.5rem;
}

.pricing-card:hover,
.pricing-card.featured {
  transform: scale(1.05);
  box-shadow: var(--shadow-hover);
  padding: 3.1rem 2.2rem;
}

.pricing-card.featured {
  border-color: var(--primary-color);
  transform: scale(1.05);
  z-index: 2;
}

.pricing-badge {
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(44,90,160,0.10);
  z-index: 3;
  min-width: 120px;
  text-align: center;
  pointer-events: none;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
  margin-top: 1.5rem;
}

.pricing-header h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 1.5rem;
  margin-top: 0.5rem;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: 'SF Pro Display', 'San Francisco', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

.price-subtitle {
  color: var(--text-light);
  font-size: 0.9rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.5rem 0;
  color: var(--text-light);
  border-bottom: 1px solid #eee;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-cta-wrapper {
  text-align: center;
}

.pricing-cta {
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none !important;
  font-size: 1.08rem;
  font-weight: 700;
  border-radius: 50px;
  padding: 0.85em 1.7em;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
  box-shadow: 0 2px 16px #6ec1e4aa;
  background: linear-gradient(135deg, #7fc7b5, #a3c9e2);
  color: #fff;
  letter-spacing: 0.5px;
  gap: 0.6em;
  white-space: nowrap;
}
.pricing-cta:hover {
  background: linear-gradient(135deg, #a3c9e2, #7fc7b5);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 24px #7fc7b555, 0 2px 8px #a3c9e244;
}
.pricing-cta.large {
  font-size: 1.13rem;
  padding: 1.1em 2.1em;
}
@media (max-width: 768px) {
  .pricing-cta {
    font-size: 1rem;
    padding: 0.85em 1.1em;
    gap: 0.4em;
  }
  .pricing-cta.large {
    font-size: 1.05rem;
    padding: 1em 1.2em;
  }
}
@media (max-width: 480px) {
  .pricing-cta {
    font-size: 0.98rem;
    padding: 0.7em 0.7em;
    gap: 0.3em;
  }
  .pricing-cta.large {
    font-size: 1rem;
    padding: 0.8em 0.9em;
  }
}



/* PARTNERSHIP SECTION */
.partnership {
  padding: 6rem 0;
  background: var(--bg-light);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.partner-card {
  background: white;
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  gap: 2rem;
  align-items: center;
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.partner-logo {
  flex-shrink: 0;
}

.partner-logo img {
  width: 150px;
  height: 150px;
  object-fit: contain;
}

.partner-content h3 {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}


.partner-content p {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.partner-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.partner-benefits span {
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 500;
}

/* TESTIMONIALS */
.testimonials {
  padding: 6rem 0;
  background: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.testimonial-content {
  margin-bottom: 1.5rem;
}

.testimonial-content p {
  color: var(--text-dark);
  font-style: italic;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-info h4 {
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.author-info span {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* FINAL CTA */
.final-cta {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  text-align: center;
}

.cta-content h2 {
  color: white;
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-size: 1.1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.cta-primary.large {
  padding: 1.25rem 2.7rem;
  font-size: 1.18rem;
}

.cta-secondary.large {
  padding: 1.25rem 2.7rem;
  font-size: 1.18rem;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

/* CONTACT SECTION */
.contact {
  padding: 6rem 0;
  background: var(--bg-light);
}

.contact-header {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-header h2 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.contact-header p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-method {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.contact-method:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-hover);
}

.contact-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.contact-details h4 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.contact-details p {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.contact-link {
  color: var(--primary-color);
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 2px solid var(--primary-color);
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(44, 90, 160, 0.1);
  font-weight: 500;
  min-width: 120px;
  text-align: center;
}

.contact-link:hover {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1e3a8a 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 90, 160, 0.2);
}

.contact-form {
  background: white;
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.contact-form h3 {
  color: var(--text-dark);
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #eee;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  margin-bottom: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.contact-form textarea {
  height: 120px;
  resize: vertical;
}

.submit-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  border: none;
  width: 100%;
  font-size: 1.15rem;
  padding: 1rem 2.2rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.submit-btn:hover {
  background: linear-gradient(135deg, #32bb54 0%, #25d366 100%);
  color: white;
}

/* FOOTER */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  height: 42px;
  margin-bottom: 0rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  color: white;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .phone-mockup.animated-mockup,
  .demo-visual .phone-mockup {
    background: none;
    border: none;
    box-shadow: none;
    width: 100vw;
    height: auto;
    margin: 0;
    border-radius: 45px / 55px;
    padding: 0;
  }
  
  .phone-mockup.animated-mockup .mockup-frame,
  .demo-visual .phone-mockup .mockup-frame {
    display: none;
  }
  
  .phone-mockup.animated-mockup video,
  .demo-visual .phone-mockup video {
    width: 100vw;
    height: auto;
    border-radius: 0;
    object-fit: cover;
    position: relative;
    z-index: 1;
    border-radius: 45px / 55px;
  }
  
  .nav-menu {
    position: fixed;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    margin-top: 1rem;   
    padding-bottom: 2rem;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

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

  .hero-stats {
    justify-content: center;
  }

  .phone-mockup {
    width: 250px;
    height: 500px;
  }

  .demo-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .demo-video-container {
    width: 280px;
    height: 560px;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .timeline {
    max-width: 100%;
    padding: 0;
  }
  .timeline::before {
    left: 30px;
    right: auto;
    width: 4px;
    height: 100%;
    transform: none;
  }
  .timeline-item {
    padding: 0 0 0 70px !important;
    margin: 0 0 3rem 0;
    text-align: left !important;
    width: 100%;
    box-sizing: border-box;
  }
  .timeline-icon {
    left: 30px;
    transform: none;
  }
  .timeline-content {
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .partners-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ANIMAZIONI AOS */
[data-aos] {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-aos="fade-right"] {
  transform: translateX(-50px);
}

[data-aos="fade-right"].aos-animate {
  transform: translateX(0);
}

[data-aos="fade-left"] {
  transform: translateX(50px);
}

[data-aos="fade-left"].aos-animate {
  transform: translateX(0);
}

/* BACK TO TOP BUTTON */
.back-to-top {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--back-to-top-bg), var(--back-to-top-hover));
  color: white;
  border: none;
  border-radius: 50%;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  z-index: 2000;
  transition: opacity 0.4s, transform 0.3s;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top svg {
  width: 32px;
  height: 32px;
  display: block;
}

/* HERO STATISTICS MOBILE MIGLIORATE */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  .stat {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  .hero-visual {
    justify-content: center;
    align-items: center;
    display: flex;
  }
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.2;
  }
  .hero-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
}

/* VIDEO DEMO E MOCKUP SENZA SFONDO/BORDO */
.phone-mockup.no-bg.no-border,
.demo-video-container.no-bg.no-border {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.phone-mockup.no-bg.no-border video,
.demo-video-container.no-bg.no-border video {
  border-radius: 0 !important;
  background: transparent !important;
}
.demo-overlay {
  background: transparent !important;
  pointer-events: none;
}

/* MOCKUP ELEGANTE PER VIDEO */
.phone-mockup.animated-mockup,
.demo-video-container.animated-mockup {
  background: #0e0e0e00 !important;
/* 
  border: 10px solid #050505; */
  border-radius: 49px;

  padding: 12px;
  position: relative;
  overflow: visible;
  min-width: 198px;
 
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float-mockup 5s ease-in-out infinite;
}
.mockup-frame { display: none; }
.phone-mockup.animated-mockup video,
.demo-video-container.animated-mockup video {
  border-radius: 46px / 55px;
  box-shadow: 0 2px 12px rgba(44,90,160,0.10);
  background: transparent;
  z-index: 1;
  position: relative;

  object-fit: contain;

  animation: none !important;
  z-index: -1;

}

/* HERO PALETTE MODERNA */
.hero {
  background: linear-gradient(135deg, #e2f6f9 0%, #b6e2d3 100%);
}
.hero-bg-animation {
  background: radial-gradient(circle at 20% 80%, rgba(163,201,226,0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(182,226,211,0.18) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(226,246,249,0.18) 0%, transparent 50%);
}
.highlight {
  background: linear-gradient(135deg, #7fc7b5, #a3c9e2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-primary {
  background: linear-gradient(135deg, #7fc7b5, #a3c9e2);
}
.cta-primary:hover {
  background: linear-gradient(135deg, #a3c9e2, #7fc7b5);
}



.box {
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.scroll-animation {
  opacity: 0; /* Elementi nascosti */
  transform: translateY(50px); /* Posizione iniziale */
  transition: opacity 1.9s ease-out, transform 1s ease-out; /* Effetto di transizione */
}

.scroll-animation.visible {
  opacity: 1; /* Appare gradualmente */
  transform: translateY(0); /* Ritorna alla posizione normale */
}
.images-wrapper {
  display: flex; /* Usa Flexbox per disporre le immagini */
  flex-wrap: wrap; /* Permette il wrapping delle immagini */
  justify-content: center; /* Centra le immagini orizzontalmente */
  gap: 20px; /* Spaziatura tra i contenitori delle immagini */
  margin: 20px; /* Margine del wrapper */
}
.image-container {
  width: 300px; /* Larghezza del contenitore */
  height: 34rem; /* Altezza del contenitore */
  overflow: auto; /* Abilita lo scorrimento */
  border: 5px solid #000000; /* Bordo per evidenziare il contenitore */
  border-top: 10px solid #000000; /* Bordo per evidenziare il contenitore */
  border-bottom: 10px solid #000000; /* Bordo per evidenziare il contenitore */
  background-color: #fff; /* Sfondo bianco per il contenitore */
  border-radius: 35px; /* Angoli arrotondati */
  box-shadow: 0px 10px 10px rgba(83, 83, 83, 0.404); /* Ombra per un effetto 3D */
}

.image-container img {
  width: 100%; /* Larghezza dell'immagine */
  height: auto; /* Mantiene le proporzioni */
  display: block; /* Rimuove lo spazio sotto l'immagine */
}

.image-container::-webkit-scrollbar {
  width: 8px; /* Larghezza della scrollbar */
}

.image-container::-webkit-scrollbar-thumb {
  background-color: #aaa; /* Colore della scrollbar */
  border-radius: 10px; /* Angoli arrotondati della scrollbar */
}

.image-container::-webkit-scrollbar-thumb:hover {
  background-color: #888; /* Colore della scrollbar al passaggio del mouse */
}
      /* Nasconde la scrollbar per Chrome, Safari e Edge */
      .image-container::-webkit-scrollbar {
          display: none; /* Nasconde la scrollbar */
      }

      /* Nasconde la scrollbar per Firefox */
      .image-container {
          scrollbar-width: none; /* Nasconde la scrollbar */
      }

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .pricing-card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding: 1.5rem 1rem;
    box-sizing: border-box;
    border-radius: 18px;
  }
  .pricing-header h3 {
    font-size: 1.35rem;
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
  }
  .pricing-badge {
    top: -24px;
    font-size: 0.95rem;
    min-width: 100px;
    padding: 0.4rem 1.1rem;
  }
  .price {
    font-size: 2rem;
  }
  .pricing-features li {
    font-size: 0.98rem;
    word-break: break-word;
  }
  .pricing-cta-wrapper.align-bottom {
    padding-top: 1rem;
  }
  .pricing-cta {
    width: 100%;
    font-size: 1rem;
    padding: 0.9rem 0;
    text-align: center;
  }

  .partners-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .partner-card {
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    border-radius: 18px;
    text-align: center;
    gap: 2px;
  }
  .partner-logo {
    margin-bottom: 1rem;
  }
  .partner-logo img {
    width: 120px;
    height: 120px;

  }
  .partner-content h3 {
    font-size: 1.1rem;
  }
  .partner-benefits span {
    font-size: 0.98rem;
    word-break: break-word;
  }
}

@media (min-width: 1025px) {
  .phone-mockup.animated-mockup, .demo-video-container.animated-mockup {
    border-radius: 45px / 55px;
    padding: 0px;
  }
  .phone-mockup.animated-mockup video,
  .demo-video-container.animated-mockup video {
    aspect-ratio: 9/15;
  }
}

/* HERO GLASS BOX E STATISTICHE MODERNE */
.hero-glass-box {
  background: rgba(255,255,255,0.38);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(44,90,160,0.10), 0 1.5px 8px rgba(44,90,160,0.08);
  border: 1.5px solid rgba(44,90,160,0.10);
  padding: 2.2rem 2.5rem 1.5rem 2.5rem;
  margin-bottom: 2.2rem;
  backdrop-filter: blur(16px);
  position: relative;
  animation: fadein-hero 1.2s cubic-bezier(.4,0,.2,1);
}
.hero-glass-box h1,
.hero-glass-box .hero-title,
.hero-glass-box .hero-subtitle,
.hero-glass-box .hero-description {
  color: var(--text-dark);
  text-shadow: 0 2px 12px rgba(255,255,255,0.7), 0 1px 2px rgba(44,90,160,0.08);
}
.hero-glass-box .hero-title {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.hero-glass-box .hero-subtitle {
  font-size: 1.4rem;
  margin-bottom: 0.7rem;
  font-weight: 500;
}
.hero-glass-box .hero-description {
  font-size: 1.08rem;
  margin-bottom: 0.7rem;
  font-weight: 400;
}
@media (max-width: 768px) {
  .hero-glass-box .hero-title {
    font-size: 2.1rem;
  }
  .hero-glass-box .hero-subtitle {
    font-size: 1.1rem;
  }
  .hero-glass-box .hero-description {
    font-size: 1rem;
  }
}

.hero-stats-cards {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.2rem;
}
@media (max-width: 768px) {
  .hero-stats-cards {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.2rem;
  }
}
.stat-card.glass-card {
  background: rgba(255,255,255,0.32);
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(44,90,160,0.10);
  border: 1.5px solid rgba(44,90,160,0.10);
  min-width: 120px;
  min-height: 80px;
  padding: 1.1rem 1.2rem 0.8rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.3s, transform 0.3s;
  position: relative;
  backdrop-filter: blur(6px);
  animation: slidein-hero 1.2s cubic-bezier(.4,0,.2,1);
}
.stat-card.glass-card:hover {
  box-shadow: 0 8px 32px rgba(44,90,160,0.18);
  transform: translateY(-4px) scale(1.04);
}
.stat-card .stat-number {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.2rem;
}
.stat-card .stat-label {
  font-size: 1.05rem;
  color: var(--text-dark);
  opacity: 0.85;
}

/* BOTTONI GLOW MODERNI */
.cta-glow {
  box-shadow: 0 0 16px 2px rgba(127,199,181,0.18), 0 2px 8px rgba(44,90,160,0.10);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s, background 0.3s;
}
.cta-glow::after {
  content: '';
  position: absolute;
  left: -60%;
  top: 0;
  width: 220%;
  height: 100%;
  background: linear-gradient(120deg, rgba(163,201,226,0.18) 0%, rgba(127,199,181,0.12) 100%);
  opacity: 0.5;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 1;
  animation: shimmer-glow 2.5s linear infinite;
}
@keyframes shimmer-glow {
  0% { left: -60%; }
  100% { left: 100%; }
}
.cta-glow:hover {
  box-shadow: 0 0 32px 4px rgba(127,199,181,0.22), 0 4px 16px rgba(44,90,160,0.14);
}

/* ANIMAZIONI DI INGRESSO */
.animate-fadein {
  opacity: 0;
  animation: fadein-hero 1.2s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes fadein-hero {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: none; }
}
.animate-slidein {
  opacity: 0;
  animation: slidein-hero 1.2s cubic-bezier(.4,0,.2,1) 0.2s forwards;
}
@keyframes slidein-hero {
  0% { opacity: 0; transform: translateY(40px) scale(0.95); }
  100% { opacity: 1; transform: none; }
}

.hero-video-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
  overflow: hidden;
}
.hero-video-bg video {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  min-width: 100%;
  min-height: 100%;
  position: absolute;
  top: 0; left: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-video-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.18) 0%, rgba(44,90,160,0.10) 100%), rgba(0,0,0,0.18);
  z-index: 1;
  pointer-events: none;
}
.hero-bg-animation,
.hero-content {
  position: relative;
  z-index: 2;
}

@media (max-width: 900px) {
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2rem;
    padding: 0 0.5rem;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .hero-text, .hero-visual, .hero-stats-cards {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .hero-visual {
    margin-top: 1.5rem;
  }
  .phone-mockup.animated-mockup {
    margin-bottom: 2.2rem;
    border-radius: 45px / 55px;
    box-sizing: border-box;
  }
  .hero-glass-box {
    margin-top: 90px;
  }
  .hero-stats-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.7rem;
    max-width: 100vw;
    margin: 0 auto 1.5rem auto;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .stat-card.glass-card {
    width: 100%;
    min-width: 0;
    flex: 1 1 0;
    margin-bottom: 0;
    padding: 0.8rem 0.3rem 0.7rem 0.3rem;
  }
  .hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    margin: 0 auto;
  }
  .hero-content {
    padding: 0 8px;
  }
}

/* SEZIONE PERCHE' SCEGLIERCI - VERSIONE EMOZIONALE E DINAMICA */
.why-choose-us {
  padding: 80px 0 60px 0;
  background: linear-gradient(120deg, #e0f7fa56 0%, #f7fbff 100%);
  position: relative;
  overflow: hidden;
  border-radius: 4rem 4rem 0 0;
}
.why-choose-us .section-header {
  text-align: center;
  margin-bottom: 48px;
}
.why-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 38px;
  max-width: 1200px;
  margin: 0 auto;
}
.why-card {
  background: #fff;
  border: 1.5px solid #D4CFC7;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(124, 94, 72, 0.06);
  padding: 2.2rem 1.5rem 1.7rem 1.5rem;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.18s;
  position: relative;
}
.why-card.why-featured {
  border: 2px solid #B8AFA3;
  background: #FAF7F3;
  box-shadow: 0 4px 24px rgba(124, 94, 72, 0.10);
}
.why-card:hover {
  box-shadow: 0 8px 32px rgba(124, 94, 72, 0.13);
  border-color: #B8AFA3;
  background: #F7F4F0;
  transform: translateY(-6px) scale(1.025);
}
.why-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  display: inline-block;
  background: #F7E6DA;
  color: #7C5E48;
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 6px 16px 6px 16px;
  box-shadow: 0 1px 4px rgba(124, 94, 72, 0.08);
  letter-spacing: 0.5px;
  text-shadow: none;
  border: 1.5px solid #E3E9DD;
  z-index: 2;
  background-image: none;
  animation: why-badge-pop 1.2s cubic-bezier(.4,2,.6,1);
  pointer-events: none;
}
.why-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #7C5E48;
  letter-spacing: 0.5px;
  text-shadow: none;
  text-align: left;
}
.why-card p {
  font-size: 1.08rem;
  color: #A08B7C;
  margin-bottom: 18px;
  line-height: 1.7;
  font-weight: 500;
  text-align: left;
}
.why-icon {
  margin-bottom: 1.3rem;
  margin-right: 0.7rem;
  color: #B8AFA3;
  filter: none;
  background: none;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}
.why-icon svg {
  width: 40px;
  height: 40px;
  stroke: #B8AFA3;
  fill: none;
  transition: stroke 0.2s;
}
.why-card:hover .why-icon svg {
  stroke: #7C5E48;
}
/* Disabilito i vecchi gradienti e colori delle why-card */
.why-card.why-color1,
.why-card.why-color2,
.why-card.why-color3,
.why-card.why-color4,
.why-card.why-color5,
.why-card.why-color6 {
  background: #fff !important;
  border-color: #D4CFC7 !important;
}
.why-card.why-featured {
  background: #FAF7F3 !important;
  border-color: #B8AFA3 !important;
}
.why-card.why-color1 .why-badge,
.why-card.why-color2 .why-badge,
.why-card.why-color3 .why-badge,
.why-card.why-color4 .why-badge,
.why-card.why-color5 .why-badge,
.why-card.why-color6 .why-badge {
  background: #F7E6DA !important;
  color: #7C5E48 !important;
  border-color: #E3E9DD !important;
  background-image: none !important;
}

@media (max-width: 800px) {
  .why-cards-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .why-card {
    padding: 26px 12px 22px 12px;
    min-height: 0;
  }
}
@keyframes why-fadein {
  0% { opacity: 0; transform: translateY(40px) scale(0.98); }
  100% { opacity: 1; transform: none; }
}
@keyframes why-badge-pop {
  0% { transform: scale(0.7); opacity: 0; }
  60% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); }
}

/* HERO MODERNA E IMPATTANTE */
.hero-video-overlay-strong {
  background: transparent !important;
  opacity: 0 !important;
}
.hero-text-centered {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
  width: 100%;
}
.hero-glass-centered {
  background: rgba(255,255,255,0.10);
  box-shadow: none;
  padding: 56px 48px 40px 48px;
  border-radius: 32px;
  max-width: 600px;
  margin: 0 0 0 0;
  align-items: flex-start;
  text-align: left;
}
/* HERO SENZA GLASS, TESTO E BADGE GRANDI E DINAMICI */
.hero-title {
  font-size: 4.2rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 18px;
  line-height: 1.08;
  letter-spacing: 1px;
  text-shadow: 0 4px 32px #0a223a99, 0 2px 12px #b4ec511a;
}
.hero-subtitle {
  font-size: 2rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 38px;
  line-height: 1.3;
  text-shadow: 0 2px 12px #0a223a99;
}
.hero-cta-group {
  display: flex;
  gap: 28px;
  margin-bottom: 38px;
}
.cta-primary, .cta-secondary {
  font-size: 1.35rem;
  font-weight: 700;
  border-radius: 32px;
  padding: 20px 48px;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
  box-shadow: 0 2px 16px #6ec1e4aa;
  background: #6ec1e4;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.5px;
}
.cta-primary:hover {
  background: #b4ec51;
  color: #1a3557;
  transform: scale(1.07);
}
.cta-secondary {
  background: #fff;
  color: #1a3557;
  border: 2px solid #6ec1e4;
  box-shadow: 0 2px 16px #b4ec5133;
}
.cta-secondary:hover {
  background: #6ec1e4;
  color: #fff;
  transform: scale(1.07);
}
.hero-badges-stats {
  display: flex;
  gap: 38px;
  margin-top: 38px;
}
.hero-badge-stat, .premium-badge-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.18);
  border-radius: 22px;
  padding: 28px 44px 18px 44px;
  box-shadow: 0 4px 32px 0 #7fc7b555;
  min-width: 140px;
  min-height: 100px;
  position: relative;
  border: 2.5px solid #eaf6ff;
  transition: transform 0.18s cubic-bezier(.4,2,.6,1), box-shadow 0.18s;
  margin: 0 8px;
}
.hero-badge-stat:hover, .premium-badge-stat:hover {
  transform: scale(1.06) translateY(-4px);
  box-shadow: 0 8px 32px 0 #7fc7b599;
}
.hero-badge-number, .premium-badge-number {
  font-size: 2.1rem;
  font-weight: 700;
  color: #00fff3;
  text-shadow: 0 2px 12px #7fc7b533, 0 0px 8px #a3c9e2cc;
  margin-bottom: 8px;
  letter-spacing: 1px;
  font-family: 'SF Pro Display', 'San Francisco', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}
.hero-badge-label, .premium-badge-label {
  font-size: 1.08rem;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px #0a223a99;
  font-family: 'SF Pro Display', 'San Francisco', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  text-align: center;
}
@media (max-width: 900px) {
  .hero-badge-stat, .premium-badge-stat {
    padding: 14px 10px 10px 10px;
    min-width: 80px;
    min-height: 60px;
  }
  .hero-badge-number, .premium-badge-number {
    font-size: 1.2rem;
  }
  .hero-badge-label, .premium-badge-label {
    font-size: 0.92rem;
  }
}

/* HERO: HERO-VISUAL PIÙ STRETTO E TUTTO CENTRATO ORIZZONTALMENTE */
.hero-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 1800px;
  margin: 0 auto;
  width: 100%;
  padding: 100px 0 80px 0;
  min-height: 90vh;
}
.hero-text-centered {
  flex: 2 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  text-align: center;
}
.hero-visual {
  flex: 0 1 420px;
  max-width: 420px;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.hero-title {
  font-size: 6.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 36px;
  line-height: 1.03;
  letter-spacing: 2px;
  text-shadow: 0 4px 32px #0a223a99, 0 2px 12px #b4ec511a;
}
.hero-subtitle {
  font-size: 2.8rem;
  font-weight: 300;
  color: #fff;
  margin-bottom: 56px;
  line-height: 1.13;
  text-shadow: 0 2px 12px #0a223a99;
}
.hero-cta-group {
  display: flex;
  gap: 38px;
  margin-bottom: 48px;
}
.cta-primary, .cta-secondary {
  font-size: 1.7rem;
  font-weight: 700;
  border-radius: 32px;
  padding: 12px 64px;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
  box-shadow: 0 2px 16px #0a223a33;
  background: #fff;
  color: #1a3557;
  text-decoration: none;
  letter-spacing: 0.5px;
}
.cta-primary:hover, .cta-secondary:hover {
  background: #eaf6ff;
  color: #1a3557;
  transform: scale(1.07);
}
.cta-primary {
  border: 2.5px solid #6ec1e4;
}
.cta-secondary {
  border: 2.5px solid #b4ec51;
}
.hero-badges-stats {
  display: flex;
  gap: 48px;
  margin-top: 56px;
}
.hero-badge-stat, .premium-badge-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.18);
  border-radius: 22px;
  padding: 28px 44px 18px 44px;
  box-shadow: 0 4px 32px 0 #7fc7b555;
  min-width: 140px;
  min-height: 100px;
  position: relative;
  border: 2.5px solid #eaf6ff;
  transition: transform 0.18s cubic-bezier(.4,2,.6,1), box-shadow 0.18s;
  margin: 0 8px;
}
.hero-badge-stat:hover, .premium-badge-stat:hover {
  transform: scale(1.06) translateY(-4px);
  box-shadow: 0 8px 32px 0 #7fc7b599;
}
.hero-badge-number, .premium-badge-number {
  font-size: 2.1rem;
  font-weight: 700;
  color: #7fc7b5;
  text-shadow: 0 2px 12px #7fc7b533, 0 0px 8px #a3c9e2cc;
  margin-bottom: 8px;
  letter-spacing: 1px;
  font-family: 'SF Pro Display', 'San Francisco', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}
.hero-badge-label, .premium-badge-label {
  font-size: 1.08rem;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px #0a223a99;
  font-family: 'SF Pro Display', 'San Francisco', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  text-align: center;
}
@media (max-width: 1200px) {
  .hero-content {
    gap: 30px;
    padding: 60px 0 40px 0;
    flex-direction: column;
    min-height: unset;
  }
  .hero-text-centered {
    align-items: center;
    text-align: center;
  }
  .hero-visual {
    max-width: 100vw;
    width: 100%;
    justify-content: center;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 24px;
  }
  .hero-cta-group {
    gap: 16px;
    margin-bottom: 24px;
  }
  .hero-badges-stats {
    gap: 0px;
    margin-top: 18px;
  }
  .hero-badge-stat, .premium-badge-stat {
    padding: 14px 8px 10px 8px;
    min-width: 90px;
    min-height: 60px;
  }
  .hero-badge-number, .premium-badge-number {
    font-size: 1.3rem;
  }
  .hero-badge-label, .premium-badge-label {
    font-size: 0.9rem;
  }
}

/* HERO PREMIUM: HEADLINE E SOTTOTITOLO ARMONICI, BADGE E BOTTONI MODERNI, TUTTO CENTRATO */
.premium-hero {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
  padding: 100px 0 80px 0;
  min-height: 90vh;
  margin-top: 5rem;
}
.premium-hero-text {
  flex: 2 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  text-align: center;
}
.premium-hero-title {
  font-family: 'SF Pro Display', 'San Francisco', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  font-size: 4.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.08;
  letter-spacing: 1.2px;
  text-shadow: 0 4px 32px #0a223a99, 0 2px 12px #b4ec511a;

}
.premium-hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 2.1rem;
  font-weight: 300;
  color: #fff;
  margin-bottom: 44px;
  line-height: 1.18;
  text-shadow: 0 2px 12px #0a223a99;
}
.premium-hero-cta-group {
  display: flex;
  gap: 28px;
  margin-bottom: 38px;
}
.premium-cta {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  border-radius: 32px;
  padding: 18px 48px;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
  box-shadow: 0 2px 16px #0a223a33;
  background: #fff;
  color: #1a3557;
  text-decoration: none;
  letter-spacing: 0.5px;
  border: 1.5px solid #eaf6ff;
  min-width: 9rem;
}
.premium-cta:hover {
  background: #eaf6ff;
  color: #1a3557;
  transform: scale(1.07);
}
.premium-badges-stats {
  display: flex;
  gap: 32px;
  margin-top: 38px;
}
.premium-badge-stat, .premium-badge-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.18);
  border-radius: 22px;
  padding: 28px 44px 18px 44px;
  box-shadow: 0 4px 32px 0 #7fc7b555;
  min-width: 140px;
  min-height: 110px;
  position: relative;
  border: 2.5px solid #eaf6ff;
  transition: transform 0.18s cubic-bezier(.4,2,.6,1), box-shadow 0.18s;
  margin: 0 8px;
}
.premium-badge-stat:hover, .premium-badge-stat:hover {
  transform: scale(1.06) translateY(-4px);
  box-shadow: 0 8px 32px 0 #7fc7b599;
}
.premium-badge-number, .premium-badge-number {
  font-size: 2.1rem;
  font-weight: 700;
  color: #00fff3;
  text-shadow: 0 2px 12px #7fc7b533, 0 0px 8px #a3c9e2cc;
  margin-bottom: 8px;
  letter-spacing: 1px;
  font-family: 'SF Pro Display', 'San Francisco', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}
.premium-badge-label, .premium-badge-label {
  font-size: 1.08rem;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px #0a223a99;
  font-family: 'SF Pro Display', 'San Francisco', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  text-align: center;
}
@media (max-width: 1200px) {
  .premium-hero {
    gap: 30px;
    padding: 60px 0 40px 0;
    flex-direction: column;
    min-height: unset;
  }
  .premium-hero-title {
    font-size: 2.2rem;
  }
  .premium-hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 18px;
  }
  .premium-hero-cta-group {
    gap: 12px;
    margin-bottom: 18px;
  }
  .premium-badges-stats {
    gap: 0px;
    margin-top: 18px;
  }
  .premium-badge-stat, .premium-badge-stat {
    padding: 10px 6px 8px 6px;
    min-width: 105px;
    min-height: 40px;
  }
  .premium-badge-number, .premium-badge-number {
    font-size: 1.1rem;
  }
  .premium-badge-label, .premium-badge-label {
    font-size: 0.8rem;
  }
  .premium-hero-visual {
    max-width: 100vw;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .premium-hero {
    display: block;
    padding: 0;
    min-height: unset;
    margin-top: 7rem;
    width: 100vw;
    overflow-x: hidden;
  }
  .premium-hero-text {
    min-height: 80vh;
    height: 80vh;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100vw;
    position: relative;
    z-index: 2;
    opacity: 1 !important;
    padding: 0 4vw;
    margin: 0 auto;
  }
  .premium-hero-visual {
    display: flex;
    width: 100vw;
    max-width: 100vw;

    min-height: unset;
    margin: 0 auto;
    position: static;
    background: none !important;
    padding: 0;
  }
  .premium-mockup {
    width: 100vw;
    max-width: 320px;
    margin: 0 auto 24px auto;
    background: none !important;
    box-shadow: none;
    display: block;
  }
  .premium-mockup video {
    width: 100% !important;

    max-height: 90vw !important;
    display: block;
    margin: 0 auto;
  }
}

.premium-cta {
  padding: 0.85em 1.7em;
  font-size: 1.08rem;
}
.premium-cta.large {
  padding: 1.1em 2.1em;
  font-size: 1.13rem;
}
@media (max-width: 768px) {
  .premium-cta {
    padding: 0.85em 1.1em;
    font-size: 1rem;
  }
  .premium-cta.large {
    padding: 1em 1.2em;
    font-size: 1.05rem;
  }
}
@media (max-width: 480px) {
  .premium-cta {
    padding: 0.7em 0.7em;
    font-size: 0.98rem;
  }
  .premium-cta.large {
    padding: 0.8em 0.9em;
    font-size: 1rem;
  }
}

