/* Base Styles - Mobile First Approach */
:root {
  --primary-color: #1D3557;
  --primary-dark: #1D3557;
  --secondary-color: #BED2EE;
  --secondary-light: #D9E5F5;
  --accent-color: #1D3557;
  --light-color: #F5F8FC;
  --dark-color: #1D3557;
  --success-color: #1D3557;
  --error-color: #a73232;
  --border-color: #e0e0e0;
  --body-color: #F5F8FC;
  --text-color: #333;
  --text-muted: #6c757d;
  --shadow: 0 4px 6px rgba(29, 53, 87, 0.15);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--body-color);
  font-size: 16px; /* Base font size for mobile */
  overflow-x: hidden;
}

.container {
  width: 100%;
  padding: 0 15px;
  margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: var(--primary-color);
}

h1 {
  font-size: 2rem; /* Smaller for mobile */
}

h2 {
  font-size: 1.5rem; /* Smaller for mobile */
}

h3 {
  font-size: 1.2rem; /* Smaller for mobile */
}

p {
  margin-bottom: 15px;
}

img {
  max-width: 100%;
  height: auto;
  display: block; /* Prevent inline gap */
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}

.section-header {
  text-align: center;
  margin-bottom: 30px; /* Smaller for mobile */
}

.section-header p {
  font-size: 1rem;
  color: var(--text-muted);
}

.section-header h2 {
  color: var(--primary-color);
}

.section-cta {
  margin-top: 20px;
}

.section-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  transition: var(--transition);
}

.section-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(29, 53, 87, 0.2);
}

.section-footer {
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.section-footer .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  transition: var(--transition);
  padding: 12px 24px;
  font-size: 1.1rem;
}

.section-footer .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(29, 53, 87, 0.25);
}

/* Features Showcase */
.features-showcase {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 60px;
}

.feature-highlight {
  display: flex;
  align-items: center;
  gap: 60px;
  background: white;
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 10px 30px rgba(29, 53, 87, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-highlight:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(29, 53, 87, 0.15);
}

.feature-highlight.reverse {
  flex-direction: row-reverse;
}

.feature-content {
  flex: 1;
}

.feature-content .feature-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 25px;
}

.feature-content h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.feature-content p {
  font-size: 1.1rem;
  color: var(--text-color);
  margin-bottom: 25px;
  line-height: 1.7;
}

.feature-benefits {
  list-style: none;
  padding: 0;
}

.feature-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--text-color);
  font-weight: 500;
}

.feature-benefits li i {
  color: var(--primary-color);
  font-size: 1.1rem;
}

.feature-image {
  flex: 1;
  text-align: center;
}

.feature-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(29, 53, 87, 0.15);
}

/* Business Tools Grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
  margin-bottom: 20px;
}

.tool-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 25px rgba(29, 53, 87, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid var(--primary-color);
}

.tool-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(29, 53, 87, 0.15);
}

.tool-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 25px;
}

.tool-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.tool-card p {
  color: var(--text-color);
  margin-bottom: 25px;
  line-height: 1.6;
}

.tool-features {
  list-style: none;
  padding: 0;
}

.tool-features li {
  padding: 8px 0;
  color: var(--text-color);
  position: relative;
  padding-left: 20px;
}

.tool-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* Personalization Showcase */
.personalization-showcase {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-top: 30px;
  background: white;
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 10px 30px rgba(29, 53, 87, 0.1);
}

.personalization-content {
  flex: 1;
}

.personalization-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.personalization-item:last-child {
  margin-bottom: 0;
}

.item-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-top: 5px;
}

.item-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.item-content p {
  color: var(--text-color);
  line-height: 1.6;
  margin: 0;
}

.personalization-image {
  flex: 1;
  text-align: center;
}

.personalization-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(29, 53, 87, 0.15);
}

/* Support Showcase */
.support-showcase {
  margin-top: 50px;
}

.support-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.support-item {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(29, 53, 87, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(29, 53, 87, 0.15);
}

.support-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-top: 5px;
}

.support-text h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.support-text p {
  color: var(--text-color);
  margin-bottom: 20px;
  line-height: 1.6;
}

.support-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.support-link:hover {
  color: var(--secondary-color);
  gap: 12px;
}

.support-link i {
  transition: transform 0.3s ease;
}

.support-link:hover i {
  transform: translateX(5px);
}



/* Dashboard Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.dashboard-card {
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  border: 2px solid transparent;
}

.dashboard-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.dashboard-card.primary {
  background: linear-gradient(135deg, var(--primary-color), #1e3a5f);
  color: var(--white);
  border-color: var(--primary-color);
}

.dashboard-card .card-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.dashboard-card.primary .card-icon {
  color: var(--white);
}

.dashboard-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.dashboard-card.primary h3 {
  color: var(--white);
}

.dashboard-card p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.dashboard-card.primary p {
  color: rgba(255, 255, 255, 0.9);
}

/* Personalizzazioni Grid */
.personalizzazioni-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.personalizzazione-card {
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  border-left: 4px solid var(--primary-color);
}

.personalizzazione-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.personalizzazione-card .card-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.personalizzazione-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.personalizzazione-card p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: 8px 0;
  color: var(--text-light);
  position: relative;
  padding-left: 20px;
}

.feature-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.stat-card {
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  text-align: center;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-card .stat-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.stat-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.stat-card p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.stat-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.stat-feature {
  background: var(--light-bg);
  color: var(--primary-color);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Support Grid */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.support-card {
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  text-align: center;
}

.support-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.support-card .support-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.support-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.support-card p {
  color: var(--text-light);
  margin-bottom: 25px;
}

/* Responsive Design for New Sections */
@media screen and (max-width: 767px) {
  .hero-stats {
    gap: 20px;
    justify-content: flex-start;
  }
  
  .stat-item {
    min-width: 100px;
    padding: 15px;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .features-showcase {
    gap: 40px;
  }
  
  .feature-highlight {
    flex-direction: column;
    gap: 30px;
    padding: 30px;
  }
  
  .feature-highlight.reverse {
    flex-direction: column;
  }
  
  .feature-content h3 {
    font-size: 1.5rem;
  }
  
  .tools-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 15px;
  }
  
  .tool-card {
    padding: 25px;
  }
  
  .personalization-showcase {
    flex-direction: column;
    gap: 30px;
    padding: 30px;
    margin-top: 20px;
  }
  
  .personalization-item {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .support-content {
    gap: 20px;
  }
  
  .support-item {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 25px;
  }
  
  .cta-highlights {
    gap: 15px;
  }
  
  .highlight-item {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
  

}

/* Responsive */
@media (max-width: 768px) {
  .dashboard-grid,
  .personalizzazioni-grid,
  .stats-grid,
  .support-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .dashboard-card,
  .personalizzazione-card,
  .stat-card,
  .support-card {
    padding: 20px;
  }
  
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .personalization-showcase {
    flex-direction: row;
  }
  
  .support-content {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .support-item {
    flex: 1;
    min-width: 300px;
  }
}

section {
  padding: 60px 0; /* Uniform padding for balanced design */
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 10px 15px; /* Smaller padding for mobile */
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
  font-size: 0.9rem; /* Smaller font for mobile */
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background-color: rgba(190, 210, 238, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s;
}

.btn:active::after {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: white;
  border: 2px solid var(--primary-dark);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--secondary-light);
  color: var(--primary-color);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
}

.btn-large {
  padding: 12px 20px; /* Adjusted for mobile */
  font-size: 1rem;
}

.btn-block {
  display: block;
  width: 100%;
}

/* Header Styles - Aspetto migliorato */
header {
  background-color: white;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 12px 0; /* Unified padding per eliminare il salto dinamico */
  border-bottom: 3px solid var(--secondary-color);
  transition: all 0.3s ease;
}

header .container {
  display: flex;
  align-items: center; /* Assicura allineamento verticale centrale di tutti gli elementi */
  justify-content: space-between;
  flex-wrap: nowrap; /* Importante: impedisce al container principale di andare a capo */
  max-width: 95%;
  margin: 0 auto;
  position: relative;
}

header.sticky {
  box-shadow: 0 5px 15px rgba(29, 53, 87, 0.2);
  padding: 12px 0; /* Stesso padding dell'header normale - nessun cambio di altezza */
}

.logo {
  flex: 0 0 auto;
  margin-right: 10px;
  display: flex;
  align-items: center;
  height: 38px; /* Altezza fissa per consistenza su tutti i dispositivi */
}

.logo a {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  white-space: nowrap;
}

.logo img {
  height: 38px;
  width: auto;
  margin-right: 8px;
  transition: var(--transition);
}

/* Mobile menu is default, hidden on larger screens */
.nav-links {
  display: none;
  width: 100%;
  order: 3;
  margin-top: 15px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(29, 53, 87, 0.08);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease, margin-top 0.3s ease;
  z-index: 1001; /* Assicurarsi che il menu sia sopra altri elementi */
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  color: var(--primary-color);
  font-weight: 600;
  display: block;
  padding: 12px 15px;
  position: relative;
  transition: var(--transition);
  border-bottom: 1px solid rgba(190, 210, 238, 0.15);
}

.login-link {
  display: flex !important;
  align-items: center;
  gap: 8px;
  color: var(--primary-color) !important;
  font-weight: 700 !important;
  background-color: rgba(190, 210, 238, 0.2);
}

.login-link i {
  font-size: 1.1rem;
}

.nav-links a:hover {
  color: var(--secondary-color);
  background-color: rgba(190, 210, 238, 0.05);
}

.nav-links a.active {
  color: var(--secondary-color);
  font-weight: 700;
  background-color: rgba(190, 210, 238, 0.1);
}

/* Aggiunta animazione sottolineatura */
.nav-links a::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 0;
  top: 0;
  left: 0;
  background-color: var(--secondary-color);
  transition: height 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  height: 100%;
}

.nav-links.active {
  display: block;
  max-height: 410px;
  transform: scale(1);
  opacity: 1;
}

.cta-buttons {
  display: flex;
  gap: 8px;
  align-items: center;
  height: 38px; /* Altezza fissa per allineamento */
  margin: 0; /* Rimuovo eventuali margini */
  padding: 0; /* Rimuovo eventuali padding */
  flex-shrink: 0; /* Impedisce al pulsante di ridimensionarsi troppo */
}

.cta-buttons .btn {
  padding: 8px 12px;
  font-size: 0.9rem;
  border-radius: 6px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%; /* Riempie tutta l'altezza del contenitore */
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--primary-color);
  padding: 8px;
  border-radius: 5px;
  transition: var(--transition);
  background-color: rgba(190, 210, 238, 0.1);
  border: none;
  width: 38px;
  height: 38px;
  margin-left: 8px;
}

.mobile-menu-btn:hover {
  color: var(--secondary-color);
  background-color: rgba(190, 210, 238, 0.2);
}

/* Hero Section */
#hero {
  background: linear-gradient(135deg, #f8f9fa, #BED2EE);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: rgba(29, 53, 87, 0.05);
  top: -100px;
  right: -100px;
  z-index: 1;
}

#hero::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: rgba(190, 210, 238, 0.15);
  bottom: -50px;
  left: -50px;
  z-index: 1;
}

#hero .container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  text-align: center;
  max-width: 600px;
}

.hero-content h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--primary-color);
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--text-color);
  line-height: 1.6;
}

.hero-subtitle {
  font-size: 1.2rem !important;
  font-weight: 500;
  color: var(--text-color) !important;
  margin-bottom: 40px !important;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  justify-content: flex-start;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.8);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(29, 53, 87, 0.1);
  min-width: 120px;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 5px;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-benefits {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(29, 53, 87, 0.08);
}

.benefit {
  display: flex;
  align-items: center;
  gap: 15px;
}

.benefit i {
  color: var(--primary-color);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit span {
  font-weight: 600;
  color: var(--primary-color);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.demo-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.demo-btn i {
  font-size: 1.2rem;
}

.hero-image {
  position: relative;
  width: 100%;
  max-width: 700px;
}

.device-mockup {
  position: relative;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(29, 53, 87, 0.15);
  background-color: white;
  padding: 15px;
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform 0.4s ease;
}

.device-mockup:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.dashboard-preview {
  border-radius: 8px;
  width: 100%;
  height: auto;
  display: block;
}

.device-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
  border-radius: 12px;
}

/* Trust Badge */
.trust-badge {
  position: absolute;
  bottom: -20px;
  right: 20px;
  background-color: #fff;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(29, 53, 87, 0.1);
  text-align: center;
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.trust-badge:hover {
  transform: translateY(-5px);
}

.trust-badge .badge-item {
  display: flex;
  align-items: center;
  margin: 8px 0;
}

.trust-badge .badge-item i {
  color: var(--primary-color);
  font-size: 1rem;
  margin-right: 8px;
}

.trust-badge .badge-item span {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-color);
  text-align: left;
}

.trust-badge .reviews {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 5px;
}

.stars {
  color: #FFD700;
  margin: 8px 0;
  font-size: 0.9rem;
}

@media screen and (min-width: 576px) {
  .hero-benefits {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    padding: 15px 25px;
  }
  
  .hero-cta {
    flex-direction: row;
    justify-content: center;
  }
}

@media screen and (min-width: 768px) {
  #hero {
    padding: 80px 0;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.2rem;
  }
  
  .cta-buttons.desktop-only {
    display: flex;
    height: 40px; /* Adatta l'altezza per tablet */
    margin: 0; /* Rimuovo eventuali margini */
    padding: 0; /* Rimuovo eventuali padding */
  }
}

@media screen and (min-width: 992px) {
  #hero {
    padding: 100px 0;
  }
  
  #hero .container {
    flex-direction: row;
    text-align: left;
    gap: 50px;
  }
  
  .hero-content {
    text-align: left;
    flex: 1;
  }
  
  .hero-image {
    flex: 1.2;
  }
  
  .hero-cta {
    justify-content: flex-start;
  }
  
  .hero-benefits {
    justify-content: flex-start;
  }
  
  .device-mockup {
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
  }
  
  .device-mockup:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(3deg);
  }
  
  header {
    padding: 14px 0; /* Unified padding desktop per eliminare il salto dinamico */
  }
  
  header.sticky {
    padding: 14px 0; /* Stesso padding dell'header normale - nessun cambio di altezza */
  }
}

/* Clients Section */
#clients {
  background-color: white;
  padding: 40px 0;
}

#clients h2 {
  text-align: center;
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 30px;
}

.client-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.client-logos img {
  height: 40px;
  opacity: 0.7;
  transition: var(--transition);
}

.client-logos img:hover {
  opacity: 1;
}

.case-studies {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.case-study {
  background-color: var(--secondary-color);
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition);
}

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

.case-content {
  padding: 25px;
  text-align: center;
}

.case-content h3 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.case-content p {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.btn-sm {
  padding: 8px 15px;
  font-size: 0.8rem;
}

/* Features Section */
#features {
  background-color: var(--light-color);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.feature-card {
  background-color: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(29, 53, 87, 0.1);
}

.feature-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.feature-card p {
  color: var(--text-muted);
}

/* Wide feature card (spans full row on desktop) */
.feature-card-wide {
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafe 100%);
  border: 1px solid rgba(190, 210, 238, 0.35);
}

.feature-double {
  display: flex;
  gap: 20px;
  flex-direction: column;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  align-items: stretch;
}

.feature-card-half {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafe 100%);
  border: 1px solid rgba(190, 210, 238, 0.35);
  position: relative;
  overflow: visible;
  padding: 25px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  flex: 1;
}

.feature-card-half:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(29, 53, 87, 0.1);
}

.feature-card .new-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
}

.feature-card-wide .feature-icon {
  font-size: 2rem;
  margin: 0;
  color: var(--primary-color);
}

.feature-card-wide .feature-content h3 {
  margin-bottom: 8px;
}

.feature-card-wide .feature-content p {
  color: var(--text-color);
}

@media screen and (min-width: 768px) {
  .features-grid .feature-card-wide {
    grid-column: span 2;
  }
  
  .feature-double {
    flex-direction: row;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 992px) {
  .features-grid .feature-card-wide {
    grid-column: span 3;
  }
  
  .feature-double {
    flex-direction: row;
  }
  
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Advantages Section */
#advantages {
  background-color: white;
}

.advantages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  margin-bottom: 40px;
}

.advantage-card {
  background-color: var(--light-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(29, 53, 87, 0.15);
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.advantage-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  font-size: 1.5rem;
  margin: 0 auto 20px;
  box-shadow: 0 4px 15px rgba(29, 53, 87, 0.2);
}

.advantage-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.advantage-card p {
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.advantage-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 5px;
}

.support-advantage {
  margin-top: 40px;
  margin-bottom: 40px;
}

.support-advantage-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 15px;
  padding: 30px;
  border: 2px solid #e9ecef;
  box-shadow: 0 10px 30px rgba(29, 53, 87, 0.1);
  transition: var(--transition);
  position: relative;
}

.support-advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(29, 53, 87, 0.15);
}

.support-advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 15px 15px 0 0;
}

.support-advantage-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: 50%;
  font-size: 24px;
  margin-bottom: 20px;
  float: left;
  margin-right: 20px;
}

.support-advantage-content {
  overflow: hidden;
  margin-bottom: 25px;
}

.support-advantage-content h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.support-advantage-content p {
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 0;
}

.support-advantage-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 25px;
}

.support-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  background: rgba(29, 53, 87, 0.05);
  border-radius: 25px;
  transition: var(--transition);
}

.support-feature:hover {
  background: rgba(29, 53, 87, 0.1);
}

.support-feature i {
  color: var(--primary-color);
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.support-feature span {
  color: var(--text-color);
  font-weight: 600;
  font-size: 0.9rem;
}

.support-advantage-stat {
  text-align: center;
  padding: 20px;
  background: rgba(190, 210, 238, 0.2);
  border-radius: 10px;
  border: 1px solid rgba(190, 210, 238, 0.3);
}

.support-advantage-stat .stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.support-advantage-stat .stat-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.advantages-cta {
  text-align: center;
  margin-top: 40px;
}

/* How It Works Section */
#how-it-works {
  background: linear-gradient(135deg, rgba(190, 210, 238, 0.3) 0%, rgba(245, 248, 252, 0.9) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

#how-it-works::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

#how-it-works::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

/* Pattern decoration */
#how-it-works .container {
  position: relative;
  z-index: 2;
}

#how-it-works .section-header h2 {
  color: var(--primary-color);
}

/* Create decorative elements */
.steps {
  display: flex;
  flex-direction: column;
  gap: 60px;
  position: relative;
}

/* Add a vertical line connecting steps */
.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  bottom: 40px;
  left: 20px;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--secondary-color) 10%, var(--secondary-color) 90%, transparent);
  display: none; /* Hidden on mobile, visible on tablet+ */
}

/* Add decorative shapes */
#how-it-works::before,
#how-it-works::after {
  content: '';
  position: absolute;
  z-index: 1;
}

#how-it-works::before {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: rgba(29, 53, 87, 0.05);
  top: -60px;
  left: -60px;
}

#how-it-works::after {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background-color: rgba(190, 210, 238, 0.1);
  bottom: -150px;
  right: -150px;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 25px;
  border-radius: 12px;
  transition: var(--transition);
  background-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 5px 15px rgba(29, 53, 87, 0.08);
}

.step:hover {
  background-color: rgba(255, 255, 255, 0.95);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(29, 53, 87, 0.12);
}

.step-number {
  background: linear-gradient(135deg, var(--primary-color), #2a4a76);
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(29, 53, 87, 0.2);
}

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

.step-content h3 {
  margin-bottom: 12px;
  color: var(--primary-color);
  font-size: 1.3rem;
}

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

.step-image {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.step-image img {
  border-radius: 10px;
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.step:hover .step-image img {
  transform: scale(1.02);
}

@media screen and (min-width: 768px) {
  .steps::before {
    display: block;
    left: 24.5px;
  }
  
  .step {
    flex-direction: row;
    text-align: left;
    gap: 30px;
  }
  
  .step:nth-child(even) {
    flex-direction: row-reverse;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.6rem;
  }
  
  .step-content {
    flex: 1;
    text-align: left;
    padding: 0 10px;
  }
  
  .step:nth-child(even) .step-content {
    text-align: right;
  }
  
  .step-image {
    flex: 1;
  }
}

@media screen and (min-width: 992px) {
  #how-it-works::before {
    width: 200px;
    height: 200px;
    top: -80px;
    left: -80px;
  }
  
  #how-it-works::after {
    width: 600px;
    height: 600px;
    bottom: -250px;
    right: -200px;
  }
  
  .steps::before {
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, transparent, var(--secondary-color), var(--primary-color), transparent);
  }
  
  .steps {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
  }
  
  .step {
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    padding: 40px 0;
  }
  
  .step:nth-child(odd) {
    flex-direction: row;
  }
  
  .step:nth-child(even) {
    flex-direction: row-reverse;
  }
  
  .step-number {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
    z-index: 3;
    background: linear-gradient(135deg, var(--primary-color), #2a4a76);
  }
  
  .step-content {
    width: 48%;
    flex-shrink: 0;
  }
  
  .step:nth-child(odd) .step-content {
    text-align: right;
    padding-right: 40px;
  }
  
  .step:nth-child(even) .step-content {
    text-align: left;
    padding-left: 40px;
  }
  
  .step-image {
    width: 48%;
    flex-shrink: 0;
  }
  
  .step:nth-child(odd) .step-image {
    margin: 0 20px 0 40px;
  }
  
  .step:nth-child(even) .step-image {
    margin: 0 40px 0 20px;
  }
}

/* Demo Section */
#demo {
  background-color: var(--light-color);
  text-align: center;
}

.video-container {
  position: relative;
  max-width: 100%; /* Full width on mobile */
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.video-placeholder {
  width: 100%;
  display: block;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; /* Smaller for mobile */
  height: 60px; /* Smaller for mobile */
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem; /* Smaller for mobile */
  cursor: pointer;
  transition: var(--transition);
}

.play-button:hover {
  background-color: var(--primary-dark);
  transform: translate(-50%, -50%) scale(1.1);
}

/* Pricing Section */
#pricing {
  background-color: white;
}

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr; /* Single column for mobile */
  gap: 30px;
}

.pricing-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(29, 53, 87, 0.1);
}

.pricing-card.featured {
  transform: none; /* No scaling on mobile */
  border: 2px solid var(--primary-color);
}

.pricing-card.featured:hover {
  transform: translateY(-5px);
}

.pricing-tag {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--primary-color);
  color: white;
  padding: 6px 12px; /* Smaller for mobile */
  font-size: 0.8rem; /* Smaller for mobile */
  font-weight: 600;
  border-radius: 0 10px 0 10px;
}

.pricing-header {
  padding: 25px; /* Smaller for mobile */
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.pricing-header h3 {
  font-size: 1.3rem; /* Smaller for mobile */
  margin-bottom: 10px;
}

.price {
  font-size: 1rem; /* Smaller for mobile */
  color: var(--text-muted);
}

.price .amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.pricing-features {
  padding: 25px; /* Smaller for mobile */
}

.pricing-features ul {
  margin-bottom: 25px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.9rem; /* Smaller for mobile */
}

.pricing-features li i {
  margin-right: 10px;
  font-size: 1rem; /* Smaller for mobile */
}

.pricing-features li i.fa-check {
  color: var(--success-color);
}

.pricing-features li i.fa-times {
  color: var(--error-color);
}

.pricing-features li.disabled {
  color: var(--text-muted);
}

.pricing-cta {
  padding: 0 25px 25px; /* Smaller for mobile */
}

/* Animation delays for staggered appearance */
/* Pricing animation delays rimossi */

/* Testimonials Section */
#testimonials {
  background-color: var(--light-color);
}

.testimonials-slider {
  max-width: 100%;
  margin: 0 auto 25px;
  position: relative;
}

.testimonial {
  background-color: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: var(--shadow);
  display: none;
}

.testimonial:first-child {
  display: block;
}

.testimonial-rating {
  margin-bottom: 15px;
  color: var(--secondary-color);
  font-size: 1.1rem;
}

.testimonial-content {
  font-style: italic;
  font-size: 1rem;
  color: var(--text-color);
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  flex-direction: row;
  text-align: left;
  gap: 15px;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--secondary-color);
  object-fit: cover;
  object-position: center;
  background-color: #f5f5f5;
  flex-shrink: 0;
}

.author-info h4 {
  margin-bottom: 5px;
  font-size: 1.1rem;
  color: var(--primary-color);
}

.author-info p {
  color: var(--text-muted);
  margin-bottom: 0;
  font-size: 0.9rem;
}

.testimonials-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.prev-btn, .next-btn {
  background-color: var(--primary-color);
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.prev-btn:hover, .next-btn:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #D9E5F5;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--primary-color);
}

/* Call to Action Section */
#cta {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color));
  color: white;
  text-align: center;
  padding: 70px 0 90px;
  border-radius: 10px;
  margin: 0 15px 80px;
  position: relative;
  box-shadow: 0 15px 30px rgba(29, 53, 87, 0.12);
}

#cta::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.cta-content h2 {
  color: white;
  font-size: 2.2rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.cta-subtitle {
  font-size: 1.2rem !important;
  margin-bottom: 30px !important;
  color: rgba(255, 255, 255, 0.95) !important;
  line-height: 1.6;
}

.cta-highlights {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.15);
  padding: 12px 20px;
  border-radius: 25px;
  color: white;
  font-weight: 500;
  font-size: 0.95rem;
}

.highlight-item i {
  color: var(--secondary-color);
  font-size: 1.1rem;
}

.cta-content p {
  font-size: 1rem;
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.9);
}

.cta-benefits {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 auto 25px;
  background-color: rgba(190, 210, 238, 0.15);
  padding: 20px;
  border-radius: 8px;
  text-align: left;
}

.cta-benefits li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.cta-benefits li i {
  color: var(--secondary-color);
  margin-right: 10px;
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.cta-buttons .btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.cta-buttons .btn-primary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-weight: 700;
  padding: 15px 30px;
  font-size: 1.1rem;
  border: 2px solid var(--secondary-color);
}

.cta-buttons .btn-primary:hover {
  background-color: var(--secondary-light);
  border: 2px solid var(--secondary-light);
}

.cta-buttons .btn-outline {
  border: 2px solid white;
  color: white;
}

.cta-buttons .btn-outline:hover {
  background-color: white;
  color: var(--primary-color);
  border: 2px solid white;
}

.cta-guarantee {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta-guarantee i {
  margin-right: 8px;
  color: var(--secondary-color);
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: white;
  padding: 50px 0 20px;
  text-align: center;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 40px;
  width: auto;
  margin-right: 10px;
  filter: brightness(0) invert(1);
}

.footer-logo span {
  font-size: 1.3rem;
  font-weight: 700;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background-color: rgba(190, 210, 238, 0.2);
  border-radius: 50%;
  color: white;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.9);
  transition: var(--transition);
  font-size: 0.9rem;
}

.footer-col ul li a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(190, 210, 238, 0.2);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
  font-size: 0.8rem;
}

/* Animation Classes */
/* Animazioni rimosse per evitare scatti durante lo scroll */

/* Media Queries for larger screens */
@media screen and (min-width: 576px) {
  .container {
    max-width: 540px;
    padding: 0 15px;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  .hero-cta {
    flex-direction: row;
    justify-content: center;
  }
  
  .testimonial-author {
    flex-direction: row;
    text-align: left;
  }
  
  .testimonial-author img {
    margin: 0 15px 0 0;
  }
  
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }
  
  .cta-buttons .btn {
    width: auto;
  }
}

@media screen and (min-width: 768px) {
  .container {
    max-width: 720px;
  }
  
  body {
    font-size: 16px;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  section {
    padding: 70px 0;
  }
  
    .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .support-advantage-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .support-advantage-icon {
    width: 70px;
    height: 70px;
    font-size: 28px;
  }

  .support-advantage-content h3 {
    font-size: 1.7rem;
  }

  .related-articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .step {
    flex-direction: row;
    text-align: left;
    gap: 30px;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    text-align: left;
  }
  
  .footer-logo, .social-links {
    justify-content: flex-start;
  }
  
  /* Show full menu on tablet and hide mobile menu button */
  .mobile-menu-btn {
    display: none;
  }
  
  .nav-links {
    display: flex;
    flex-direction: row;
    width: auto;
    order: unset;
    margin-top: 0;
    margin-left: 20px;
    justify-content: center;
    flex: 1;
    max-height: none;
    box-shadow: none;
    background-color: transparent;
    flex-wrap: wrap; /* Permette di andare a capo quando necessario */
    overflow: visible; /* Importante per permettere alle voci di andare a capo */
  }
  
  .nav-links li {
    margin: 0 15px;
  }
  
  .nav-links a {
    padding: 5px 0;
    border-bottom: none;
    background-color: transparent !important;
  }
  
  .nav-links a::after {
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    top: auto;
  }
  
  .nav-links a:hover::after,
  .nav-links a.active::after {
    width: 100%;
    height: 2px;
  }
  
  .cta-buttons .btn {
    padding: 10px 15px;
  }
  
  #cta {
    margin: 0 30px;
  }
  
  .cta-benefits {
    padding: 25px 40px;
  }
  
  .case-studies {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (min-width: 992px) {
  .container {
    max-width: 960px;
  }
  
  h1 {
    font-size: 3rem;
  }
  
  #hero .container {
    flex-direction: row;
    text-align: left;
  }
  
  .hero-cta {
    justify-content: flex-start;
  }
  
    .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .support-advantage-features {
    grid-template-columns: repeat(4, 1fr);
  }

  .support-advantage-card {
    padding: 40px;
  }

  .support-advantage-icon {
    width: 80px;
    height: 80px;
    font-size: 32px;
  }

  .support-advantage-content h3 {
    font-size: 1.8rem;
  }

  .articles-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }



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

  .blog-header-content h1 {
    font-size: 3rem;
  }

  .article-header-content h1 {
    font-size: 2.8rem;
  }

  .newsletter-container {
    flex-direction: row;
    text-align: left;
    gap: 50px;
  }

  .newsletter-content {
    flex: 1;
  }

  .pricing-cards {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .pricing-card.featured {
    transform: scale(1.05);
  }
  
  .pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
  }
  
  .step-image {
    flex: 1;
  }
  
  .step-content {
    flex: 1;
  }
  
  .footer-top {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .nav-links li {
    margin: 0 12px; /* Più spazio tra gli elementi su desktop, ma non troppo */
  }
  
  #cta {
    margin: 0 50px;
  }
  
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
    margin-bottom: 25px;
  }
  
  .cta-buttons .btn {
    width: auto;
    min-width: 200px;
  }
}

@media screen and (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .nav-links {
    flex-wrap: nowrap; /* Previene il wrapping delle voci di menu su schermi grandi */
  }
  
  .nav-links li {
    margin: 0 20px;
  }
  
  .cta-buttons.desktop-only {
    margin-left: 20px;
  }
}

/* Riposizionamento del menu mobile come tendina */
@media screen and (max-width: 767px) {
  header .container {
    position: relative; /* Necessario per posizionamento assoluto del dropdown */
  }
  
  .nav-links {
    position: absolute;
    top: 100%; /* Posiziona sotto l'header */
    right: 0; /* Allinea a destra (sotto il pulsante hamburger) */
    width: auto; /* Larghezza automatica in base al contenuto */
    min-width: 200px; /* Larghezza minima */
    margin-top: 10px; /* Piccolo spazio dall'header */
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(29, 53, 87, 0.15);
    border: 1px solid rgba(190, 210, 238, 0.3);
    transform-origin: top right; /* Punto di origine per l'animazione */
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease, max-height 0.3s ease;
  }
  
  .nav-links.active {
    display: block;
    max-height: 410px;
    transform: scale(1);
    opacity: 1;
  }
  
  /* Stilizzazione delle voci di menu mobile */
  .nav-links li:first-child a {
    border-radius: 8px 8px 0 0;
  }
  
  .nav-links li:last-child a {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
  }
  
  .nav-links a {
    padding: 14px 20px;
    white-space: nowrap;
    font-weight: 600;
  }
  
  .login-link {
    border-top: 2px solid rgba(190, 210, 238, 0.3);
    margin-top: 5px;
  }
}

/* Legal Pages Styles */
.legal-section {
    padding: 120px 0 80px;
    background-color: #f5f8fc;
}

.legal-section .section-header {
    margin-bottom: 40px;
}

.legal-section h1 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.legal-content {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.legal-content h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 30px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(29, 53, 87, 0.1);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 25px 0 15px;
}

.legal-content p, .legal-content li {
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.6;
}

.legal-content ul, .legal-content ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.legal-content li {
    margin-bottom: 10px;
}

.legal-content a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.legal-content a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 30px;
}

.cookie-table th, .cookie-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(29, 53, 87, 0.1);
}

.cookie-table th {
    background-color: rgba(190, 210, 238, 0.1);
    color: var(--primary-color);
    font-weight: 600;
}

.cookie-table tr:hover {
    background-color: rgba(190, 210, 238, 0.05);
}

@media screen and (max-width: 767px) {
    .legal-section {
        padding: 100px 0 60px;
    }
    
    .legal-content {
        padding: 25px;
    }
    
    .legal-section h1 {
        font-size: 1.8rem;
    }
    
    .legal-content h2 {
        font-size: 1.3rem;
    }
    
    .legal-content h3 {
        font-size: 1.1rem;
    }
    
    .cookie-table {
        display: block;
        overflow-x: auto;
    }
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--light-color);
    box-shadow: 0 -2px 10px rgba(29, 53, 87, 0.1);
    padding: 15px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-banner.show {
    transform: translateY(0);
    display: flex;
}

.cookie-content {
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cookie-content p {
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-color);
}

.cookie-content a {
    font-weight: 600;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

@media screen and (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    .cookie-content p {
        margin-bottom: 0;
        margin-right: 20px;
    }
}

/* FAQ Section */
#faq {
  background-color: white;
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

#faq::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 85% 20%, rgba(190, 210, 238, 0.15) 0%, rgba(190, 210, 238, 0) 50%),
              radial-gradient(circle at 15% 85%, rgba(29, 53, 87, 0.08) 0%, rgba(29, 53, 87, 0) 60%);
  z-index: 0;
}

#faq .container {
  position: relative;
  z-index: 1;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  margin-bottom: 0;
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(29, 53, 87, 0.08);
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
}

.faq-item:hover {
  box-shadow: 0 8px 18px rgba(29, 53, 87, 0.12);
  transform: translateY(-2px);
}

.faq-item.active {
  box-shadow: 0 8px 18px rgba(29, 53, 87, 0.15);
  background-color: #fafbfe;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 25px;
  cursor: pointer;
  position: relative;
}

.faq-question h3 {
  font-size: 1.1rem;
  margin: 0;
  font-weight: 600;
  color: var(--primary-color);
  flex: 1;
  transition: color 0.3s ease;
}

.faq-item:hover .faq-question h3 {
  color: var(--primary-dark);
}

.faq-toggle {
  color: var(--primary-color);
  font-size: 1rem;
  transition: transform 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
  padding: 0 25px;
  opacity: 0;
  color: var(--text-muted);
  line-height: 1.6;
  width: 100%;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Aumentato per contenuti più lunghi */
  padding: 0 25px 25px;
  opacity: 1;
}

.faq-answer p {
  margin: 0 0 15px 0; /* Margin bottom consistente */
}

@media screen and (min-width: 768px) {
  .faq-question h3 {
    font-size: 1.2rem;
  }
}

@media screen and (min-width: 992px) {
  .faq-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: min-content;
    gap: 20px;
    align-items: start;
  }
  
  .faq-item {
    height: auto;
    align-self: start;
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .faq-question {
    flex-grow: 0;
  }
  
  .faq-answer {
    flex-grow: 0;
    width: 100%;
  }
}

/* Contact Info Section */
.contact-info {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(29, 53, 87, 0.08);
  padding: 32px 24px;
  max-width: 500px;
  margin: 0 auto 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

.contact-info p {
  display: flex;
  align-items: center;
  font-size: 1.08rem;
  color: var(--primary-color);
  margin: 0;
  font-weight: 500;
}

.contact-info i {
  color: var(--secondary-color);
  font-size: 1.3rem;
  margin-right: 12px;
}

.contact-info a {
  color: var(--primary-color);
  font-weight: 600;
  margin-left: 6px;
  transition: color 0.2s;
}

.contact-info a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

@media screen and (max-width: 767px) {
  .contact-info {
    padding: 24px 16px;
    max-width: 100%;
    margin: 0 auto 30px;
  }
  
  .contact-info p {
    flex-direction: column;
    align-items: flex-start;
    font-size: 1rem;
    line-height: 1.4;
  }
  
  .contact-info i {
    margin-bottom: 8px;
  }
  
  .contact-info strong {
    display: block;
    margin-bottom: 4px;
  }
  
  .contact-info a {
    margin-left: 0;
    word-break: break-all;
  }
}

@media screen and (min-width: 768px) {
  .contact-info {
    flex-direction: row;
    gap: 40px;
    justify-content: center;
    max-width: 800px;
  }
  .contact-info p {
    font-size: 1.13rem;
  }
}

/* Nascondi elementi su mobile/desktop in base alla classe */
.mobile-only {
  display: block;
}

.desktop-only {
  display: none;
}

/* Media queries per adattamento su schermi diversi */
@media screen and (max-width: 350px) {
  /* Extra small device fixes */
  .logo a {
    font-size: 1.1rem;
  }
  
  .logo img {
    height: 32px;
    margin-right: 5px;
  }
  
  header .container {
    max-width: 100%;
    padding: 0 5px;
  }
  
  .mobile-menu-btn {
    width: 34px;
    height: 34px;
    font-size: 1.1rem;
  }
}

@media screen and (min-width: 576px) {
  /* Small screens */
  header .container {
    max-width: 95%;
  }
  
  .logo a {
    font-size: 1.25rem; 
  }
}

@media screen and (min-width: 768px) {
  /* Gestione responsive di elementi mobile/desktop */
  .mobile-only {
    display: none;
  }
  
  .desktop-only {
    display: block;
  }
  
  .cta-buttons.desktop-only {
    display: flex;
    height: 40px; /* Adatta l'altezza per tablet */
    margin: 0; /* Rimuovo eventuali margini */
    padding: 0; /* Rimuovo eventuali padding */
    flex-shrink: 0; /* Impedisce al pulsante di ridimensionarsi troppo */
    margin-left: 10px; /* Piccolo margine per separarlo dalla navigazione */
  }
  
  /* Show full menu on tablet and hide mobile menu button */
  .mobile-menu-btn {
    display: none;
  }
  
  .nav-links {
    display: flex;
    flex-direction: row;
    width: auto;
    order: unset;
    margin-top: 0;
    margin-left: 20px;
    justify-content: center;
    flex: 1;
    max-height: none;
    box-shadow: none;
    background-color: transparent;
    flex-wrap: wrap; /* Permette di andare a capo quando necessario */
    overflow: visible; /* Importante per permettere alle voci di andare a capo */
  }
  
  .nav-links li {
    margin: 0 15px;
  }
  
  .nav-links a {
    padding: 5px 0;
    border-bottom: none;
    background-color: transparent !important;
  }
  
  .nav-links a::after {
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    top: auto;
  }
  
  .nav-links a:hover::after,
  .nav-links a.active::after {
    width: 100%;
    height: 2px;
  }
  
  .cta-buttons .btn {
    padding: 10px 15px;
  }
  
  .logo {
    height: 40px;
  }
  
  .logo img {
    height: 40px;
  }
}

@media screen and (min-width: 992px) {
  /* Desktop styles */
  header .container {
    max-width: 960px;
  }
  
  header {
    padding: 14px 0; /* Unified padding desktop per eliminare il salto dinamico */
  }
  
  header.sticky {
    padding: 14px 0; /* Stesso padding dell'header normale - nessun cambio di altezza */
  }
  
  .nav-links li {
    margin: 0 12px; /* Più spazio tra gli elementi su desktop, ma non troppo */
  }
  
  .nav-links a {
    font-size: 1rem; /* Torna alla dimensione normale su desktop */
  }
  
  .cta-buttons.desktop-only {
    height: 45px; /* Adatta l'altezza per desktop */
    margin: 0 0 0 15px; /* Margine solo a sinistra */
    padding: 0; /* Rimuovo eventuali padding */
  }
  
  .cta-buttons .btn {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
  
  .logo {
    height: 45px;
  }
  
  .logo img {
    height: 45px;
    margin-right: 10px;
  }
  
  .logo a {
    font-size: 1.4rem;
  }
}

@media screen and (min-width: 1200px) {
  /* Large desktop */
  header .container {
    max-width: 1140px;
  }
  
  .nav-links {
    flex-wrap: nowrap; /* Previene il wrapping delle voci di menu su schermi grandi */
  }
  
  .nav-links li {
    margin: 0 20px;
  }
  
  .cta-buttons.desktop-only {
    margin-left: 20px;
  }
}

/* Riposizionamento del menu mobile come tendina */
@media screen and (max-width: 767px) {
  header .container {
    position: relative; /* Necessario per posizionamento assoluto del dropdown */
  }
  
  .nav-links {
    position: absolute;
    top: 100%; /* Posiziona sotto l'header */
    right: 0; /* Allinea a destra (sotto il pulsante hamburger) */
    width: auto; /* Larghezza automatica in base al contenuto */
    min-width: 200px; /* Larghezza minima */
    margin-top: 10px; /* Piccolo spazio dall'header */
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(29, 53, 87, 0.15);
    border: 1px solid rgba(190, 210, 238, 0.3);
    transform-origin: top right; /* Punto di origine per l'animazione */
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease, max-height 0.3s ease;
  }
  
  .nav-links.active {
    display: block;
    max-height: 410px;
    transform: scale(1);
    opacity: 1;
  }
  
  /* Stilizzazione delle voci di menu mobile */
  .nav-links li:first-child a {
    border-radius: 8px 8px 0 0;
  }
  
  .nav-links li:last-child a {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
  }
  
  .nav-links a {
    padding: 14px 20px;
    white-space: nowrap;
    font-weight: 600;
  }
  
  .login-link {
    border-top: 2px solid rgba(190, 210, 238, 0.3);
    margin-top: 5px;
  }
}

/* Legal Pages Styles */
.legal-section {
    padding: 120px 0 80px;
    background-color: #f5f8fc;
}

.legal-section .section-header {
    margin-bottom: 40px;
}

.legal-section h1 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.legal-content {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.legal-content h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 30px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(29, 53, 87, 0.1);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 25px 0 15px;
}

.legal-content p, .legal-content li {
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.6;
}

.legal-content ul, .legal-content ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.legal-content li {
    margin-bottom: 10px;
}

.legal-content a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.legal-content a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 30px;
}

.cookie-table th, .cookie-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(29, 53, 87, 0.1);
}

.cookie-table th {
    background-color: rgba(190, 210, 238, 0.1);
    color: var(--primary-color);
    font-weight: 600;
}

.cookie-table tr:hover {
    background-color: rgba(190, 210, 238, 0.05);
}

@media screen and (max-width: 767px) {
    .legal-section {
        padding: 100px 0 60px;
    }
    
    .legal-content {
        padding: 25px;
    }
    
    .legal-section h1 {
        font-size: 1.8rem;
    }
    
    .legal-content h2 {
        font-size: 1.3rem;
    }
    
    .legal-content h3 {
        font-size: 1.1rem;
    }
    
    .cookie-table {
        display: block;
        overflow-x: auto;
    }
}

/* Blog Styles */
/* Blog Header */
.blog-header {
  background: linear-gradient(135deg, var(--primary-color), #2a4a76);
  color: white;
  padding: 80px 0 60px;
  text-align: center;
}

.blog-header-content h1 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.blog-header-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 0;
}

/* Blog Articles Section */
.blog-articles {
  background-color: var(--light-color);
  padding: 80px 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Article Cards */
.article-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(29, 53, 87, 0.15);
}

.article-card.featured {
    flex-direction: column;
}

.article-image {
  position: relative;
  overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}



.article-card:hover .article-image img {
  transform: scale(1.05);
}

.article-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--primary-color);
  color: white;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-content h2 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  line-height: 1.3;
}

.article-content h2 a {
  color: var(--primary-color);
  text-decoration: none;
}

.article-content h2 a:hover {
  color: var(--secondary-color);
}



.article-excerpt {
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
  flex: 1;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.article-meta i {
  margin-right: 6px;
  color: var(--secondary-color);
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  margin-top: auto;
}

.read-more:hover {
  color: var(--secondary-color);
}

.read-more i {
  transition: transform 0.3s ease;
}

.read-more:hover i {
  transform: translateX(5px);
}

/* Article Page Styles */
.article-header {
  background: linear-gradient(135deg, var(--primary-color), #2a4a76);
  color: white;
  padding: 100px 0 80px;
  text-align: center;
}

.article-header-content h1 {
  color: white;
  font-size: 2.2rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.article-header-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

.article-header-meta i {
  margin-right: 6px;
  color: var(--secondary-color);
}

.article-header-category {
  background-color: rgba(190, 210, 238, 0.2);
  color: white;
  padding: 6px 12px;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.article-header-category:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.article-featured-image {
  max-width: 1000px;
  margin: -40px auto 0;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.article-featured-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(29, 53, 87, 0.2);
}

.article-content-wrapper {
  max-width: 800px;
  margin: 80px auto 0;
  padding: 0 20px;
}

.article-body {
  background-color: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  line-height: 1.8;
  font-size: 1.1rem;
}

.article-body h2 {
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: var(--primary-color);
  border-bottom: 3px solid var(--secondary-color);
  padding-bottom: 10px;
  position: relative;
}

.article-body h2:before {
  content: "▶";
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 0.8em;
}

.article-body h3 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.3rem;
  color: var(--primary-color);
  border-left: 4px solid var(--secondary-color);
  padding-left: 15px;
  background: linear-gradient(90deg, rgba(190, 210, 238, 0.1), transparent);
  padding: 10px 15px;
  border-radius: 0 8px 8px 0;
}

.article-body p {
  margin-bottom: 20px;
  color: var(--text-color);
  text-align: justify;
}

.article-body p strong {
  color: var(--primary-color);
  font-weight: 700;
}

.article-body ul, 
.article-body ol {
  margin-bottom: 20px;
  padding-left: 30px;
  background: linear-gradient(90deg, rgba(190, 210, 238, 0.05), transparent);
  padding: 20px 30px;
  border-radius: 8px;
  border-left: 4px solid var(--secondary-color);
}

.article-body li {
  margin-bottom: 12px;
  color: var(--text-color);
  position: relative;
  line-height: 1.6;
}

.article-body ul li:before {
  content: "✓";
  color: var(--primary-color);
  font-weight: bold;
  position: absolute;
  left: -20px;
  top: 0;
}

.article-body ol li {
  counter-increment: item;
  position: relative;
}

.article-body ol {
  counter-reset: item;
}

.article-body ol li:before {
  content: counter(item) ".";
  color: var(--primary-color);
  font-weight: bold;
  position: absolute;
  left: -20px;
  top: 0;
}

.article-body blockquote {
  background: linear-gradient(135deg, var(--light-color), #f8fafe);
  border-left: 5px solid var(--primary-color);
  margin: 30px 0;
  padding: 25px 30px;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--text-color);
  position: relative;
  box-shadow: 0 4px 15px rgba(29, 53, 87, 0.1);
}

.article-body blockquote:before {
  content: """;
  font-size: 4rem;
  color: var(--secondary-color);
  position: absolute;
  top: -10px;
  left: 15px;
  line-height: 1;
}

.article-body a {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 600;
  transition: all 0.3s ease;
}

.article-body a:hover {
  color: var(--secondary-color);
  background: linear-gradient(90deg, rgba(190, 210, 238, 0.2), transparent);
  padding: 2px 4px;
  border-radius: 4px;
}

.article-body .cta-buttons-container {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
  margin: 40px 0;
  flex-wrap: wrap;
}

.article-body .cta-buttons-container .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(29, 53, 87, 0.15);
}

.article-body .cta-buttons-container .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(29, 53, 87, 0.25);
  background: transparent;
  padding: 14px 24px;
}

.article-body .cta-buttons-container .btn-primary {
  background-color: var(--primary-color);
  color: white;
  border: 2px solid var(--primary-color);
}

.article-body .cta-buttons-container .btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: white;
}

.article-body .cta-buttons-container .btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.article-body .cta-buttons-container .btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* Related Articles */
.related-articles {
  background-color: var(--light-color);
  padding: 80px 0;
}

.related-articles h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2rem;
}

.related-articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.related-articles .article-content h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.related-articles .article-content h3 a {
  color: var(--primary-color);
  text-decoration: none;
}

.related-articles .article-content h3 a:hover {
  color: var(--secondary-color);
}

/* Blog Newsletter */
.blog-newsletter {
  background: linear-gradient(135deg, var(--primary-color), #2a4a76);
  color: white;
  padding: 80px 0;
}

.newsletter-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-content h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 15px;
}

.newsletter-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 50px;
}

.page-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: white;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.page-number:hover,
.page-number.current {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.page-dots {
  color: var(--text-muted);
  font-weight: 600;
}

.page-next {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: var(--transition);
}

.page-next:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

/* Blog Mobile Styles */
@media screen and (max-width: 767px) {
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .blog-header {
    padding: 60px 0 40px;
  }

  .blog-header-content h1 {
    font-size: 2rem;
  }

  .blog-articles {
    padding: 60px 0;
  }

  .article-header {
    padding: 80px 0 60px;
  }

  .article-header-content h1 {
    font-size: 1.8rem;
  }

  .article-header-meta {
    flex-direction: column;
    gap: 10px;
  }

  .article-featured-image {
    margin-top: -20px;
    padding: 0 15px;
  }

  .article-content-wrapper {
    margin-top: 60px;
    padding: 0 15px;
  }

  .article-body {
    padding: 25px;
  }

  .article-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .newsletter-container {
    padding: 0 20px;
  }
}

/* Responsive Design for Mobile */

/* Article Author */
.article-author {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
  padding: 20px;
  background: var(--light-color);
  border-radius: 12px;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  margin: 0 0 5px 0;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.author-info p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Article Share Section */
.article-share {
  background: linear-gradient(135deg, var(--light-color) 0%, #f8fafe 100%);
  border: 2px solid var(--secondary-color);
  border-radius: 16px;
  padding: 30px;
  margin: 40px 0;
  text-align: center;
  box-shadow: 0 8px 24px rgba(29, 53, 87, 0.1);
}

.share-title {
  color: var(--primary-color);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.share-title::before {
  content: "📤";
  font-size: 1.2rem;
}

.share-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.share-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.share-button i {
  position: relative;
  z-index: 1;
}

.share-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.share-button:hover::before {
  opacity: 1;
}

.share-facebook {
  background: linear-gradient(135deg, #1877f2 0%, #166fe5 100%);
}

.share-twitter {
  background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%);
}

.share-linkedin {
  background: linear-gradient(135deg, #0077b5 0%, #005885 100%);
}

.share-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #1ebe57 100%);
}

/* Related Articles - Versione più compatta */
.related-articles {
  background: var(--light-color);
  padding: 60px 0;
  margin-top: 60px;
}

.related-articles h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
  font-size: 2rem;
}

.related-articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

/* Card articoli correlati - versione più piccola */
.related-articles .article-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(29, 53, 87, 0.08);
  transition: all 0.3s ease;
  height: auto;
  max-height: none;
}

.related-articles .article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(29, 53, 87, 0.15);
}

.related-articles .article-image {
  position: relative;
  overflow: hidden;
  height: 180px; /* Ridotto da 250px */
}

.related-articles .article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-articles .article-card:hover .article-image img {
  transform: scale(1.05);
}

.related-articles .article-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary-color);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  z-index: 2;
}

.related-articles .article-content {
  padding: 20px; /* Ridotto da 30px */
}

.related-articles .article-content h3 {
  margin: 0 0 12px 0;
  font-size: 1.1rem; /* Ridotto da 1.3rem */
  line-height: 1.4;
  font-weight: 600;
}

.related-articles .article-content h3 a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.related-articles .article-content h3 a:hover {
  color: var(--secondary-color);
}

.related-articles .article-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.related-articles .article-meta i {
  margin-right: 5px;
  color: var(--secondary-color);
}

.related-articles .read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.related-articles .read-more:hover {
  color: var(--secondary-color);
  gap: 12px;
}

.related-articles .read-more i {
  transition: transform 0.3s ease;
}

.related-articles .read-more:hover i {
  transform: translateX(3px);
}

/* Media Queries Responsive per Article Share e Related Articles */

/* Tablet */
@media screen and (min-width: 768px) {
  .share-buttons {
    gap: 18px;
  }

  .share-button {
    width: 55px;
    height: 55px;
    font-size: 1.3rem;
  }

  .related-articles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .related-articles .article-image {
    height: 200px;
  }

  .related-articles .article-content {
    padding: 24px;
  }

  .related-articles .article-content h3 {
    font-size: 1.15rem;
  }
}

/* Desktop */
@media screen and (min-width: 992px) {
  .article-share {
    padding: 35px;
    margin: 50px 0;
  }

  .share-title {
    font-size: 1.5rem;
    margin-bottom: 25px;
  }

  .share-buttons {
    gap: 20px;
  }

  .share-button {
    width: 60px;
    height: 60px;
    font-size: 1.4rem;
  }

  .related-articles {
    padding: 80px 0;
  }

  .related-articles h2 {
    font-size: 2.2rem;
    margin-bottom: 50px;
  }

  .related-articles-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
  }

  .related-articles .article-image {
    height: 220px;
  }

  .related-articles .article-content {
    padding: 28px;
  }

  .related-articles .article-content h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }
}

/* Mobile Responsive */
@media screen and (max-width: 767px) {
  .article-share {
    padding: 20px;
    margin: 30px 0;
  }

  .share-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    flex-direction: column;
    gap: 8px;
  }

  .share-buttons {
    gap: 12px;
    justify-content: center;
  }

  .share-button {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  .related-articles {
    padding: 40px 0;
    margin-top: 40px;
  }

  .related-articles h2 {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }

  .related-articles-grid {
    gap: 20px;
  }

  .related-articles .article-image {
    height: 160px;
  }

  .related-articles .article-content {
    padding: 16px;
  }

  .related-articles .article-content h3 {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .related-articles .article-meta {
    gap: 10px;
    margin-bottom: 12px;
  }

  .related-articles .read-more {
    font-size: 0.9rem;
  }
}

/* Breadcrumb Navigation */
.breadcrumb-wrapper {
  background: linear-gradient(135deg, var(--light-color) 0%, #f8fafe 100%);
  padding: 12px 0;
  border-bottom: 1px solid rgba(190, 210, 238, 0.3);
  position: sticky;
  top: 65px; /* Sincronizzato con l'header unificato (12px + 38px + 12px + 3px border) */
  z-index: 1001;
  box-shadow: 0 2px 8px rgba(29, 53, 87, 0.05);
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  line-height: 1.4;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  position: relative;
}

.breadcrumb-item a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  padding: 6px 8px;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb-item a:hover {
  color: var(--secondary-color);
  background-color: rgba(190, 210, 238, 0.2);
  transform: translateY(-1px);
}

.breadcrumb-item.active {
  color: var(--text-color);
  font-weight: 600;
  background-color: white;
  padding: 6px 12px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(29, 53, 87, 0.08);
  border: 1px solid rgba(190, 210, 238, 0.3);
}

.breadcrumb-separator {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 0 4px;
  opacity: 0.6;
}

.breadcrumb-icon {
  font-size: 0.85rem;
  margin-right: 4px;
  color: var(--secondary-color);
}

/* Breadcrumb responsive */
@media screen and (max-width: 767px) {
  .breadcrumb-wrapper {
    padding: 8px 0;
    top: 65px; /* Sincronizzato con header mobile unificato (12px + 38px + 12px + 3px) */
  }

  .breadcrumb {
    font-size: 0.85rem;
    gap: 6px;
  }

  .breadcrumb-item a {
    padding: 4px 6px;
    font-size: 0.85rem;
  }

  .breadcrumb-item.active {
    padding: 4px 8px;
    font-size: 0.85rem;
  }

  .breadcrumb-separator {
    margin: 0 2px;
  }

  /* Per mobile, troncare breadcrumb lunghi */
  .breadcrumb-item:not(.active):not(.breadcrumb-home) {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media screen and (min-width: 768px) {
  .breadcrumb-wrapper {
    top: 65px; /* Sincronizzato con header tablet unificato */
  }

  .breadcrumb {
    font-size: 0.95rem;
  }
}

@media screen and (min-width: 992px) {
  .breadcrumb-wrapper {
    padding: 14px 0;
    top: 71px; /* Sincronizzato con header desktop unificato (14px + 38px + 14px + 3px) */
  }

  .breadcrumb {
    font-size: 1rem;
    gap: 10px;
  }

  .breadcrumb-item a {
    padding: 8px 12px;
  }

  .breadcrumb-item.active {
    padding: 8px 16px;
  }

  .breadcrumb-separator {
    margin: 0 6px;
  }
}



/* Development Features Section */
.development-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.development-card {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8e8e8;
  transition: all 0.3s ease;
  position: relative;
}

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

.development-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.development-icon i {
  font-size: 1.5rem;
  color: #fff;
}

.development-card h3 {
  color: var(--primary-color);
  font-size: 1.4rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.development-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.development-card {
  position: relative;
}

.development-status {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
}

.status-badge {
  background: linear-gradient(135deg, #4caf50, #2e7d32);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feature-image {
  position: relative;
  overflow: hidden;
}

.new-badge {
  background: linear-gradient(135deg, #FF6B35, #E53E3E);
  color: #fff;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
  animation: newBadgePulse 1.5s infinite;
  overflow: hidden;
}

.new-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shine 2s infinite;
}

@keyframes newBadgePulse {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
  }
}

@keyframes shine {
  0% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

/* Section Divider */
.section-divider {
  width: 100%;
  height: 60px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(245, 248, 252, 0.5) 0%, rgba(245, 248, 252, 1) 100%);
}

.section-divider::after {
  content: '';
  width: 120px;
  height: 2px;
  border-radius: 4px;
  background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
  opacity: 0.6;
}



/* Responsive Development Features */
@media screen and (max-width: 768px) {
  .development-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .development-card {
    padding: 25px;
  }
  
  .development-card h3 {
    font-size: 1.2rem;
  }
}

/* Advantages Section Styles */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.advantage-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid #e8e8e8;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.advantage-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.advantage-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  box-shadow: 0 8px 24px rgba(0, 123, 255, 0.3);
}

.advantage-icon i {
  font-size: 2rem;
  color: #fff;
}

.advantage-card h3 {
  color: var(--primary-color);
  font-size: 1.6rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.advantage-stat {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1;
}

.advantage-description {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 25px;
  font-weight: 500;
}

.advantage-features {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.advantage-features li {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.advantage-features li::before {
  content: '✓';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1rem;
}

/* Additional Benefits Section */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.benefit-item {
  background: #f8f9fa;
  padding: 30px 25px;
  border-radius: 12px;
  border: 1px solid #e8e8e8;
  transition: all 0.3s ease;
  text-align: center;
}

.benefit-item:hover {
  background: #fff;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.benefit-icon i {
  font-size: 1.5rem;
  color: #fff;
}

.benefit-item h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.benefit-item p {
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8e8e8;
  transition: all 0.3s ease;
  text-align: center;
}

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

.testimonial-rating {
  margin-bottom: 20px;
}

.testimonial-rating i {
  color: #ffc107;
  font-size: 1.1rem;
  margin: 0 2px;
}

.testimonial-content {
  margin-bottom: 25px;
}

.testimonial-content p {
  color: #666;
  font-style: italic;
  line-height: 1.6;
  font-size: 1rem;
}





/* Responsive Styles */
@media screen and (max-width: 768px) {
  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .advantage-card {
    padding: 30px 20px;
  }
  
  .advantage-card h3 {
    font-size: 1.4rem;
  }
  
  .advantage-stat {
    font-size: 2.5rem;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .benefit-item {
    padding: 25px 20px;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .testimonial-card {
    padding: 25px;
  }
}

/* Process Benefits Section */
.process-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.process-benefit-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid #e8e8e8;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.process-benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.process-benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.process-benefit-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  box-shadow: 0 8px 24px rgba(0, 123, 255, 0.3);
}

.process-benefit-icon i {
  font-size: 2rem;
  color: #fff;
}

.process-benefit-card h3 {
  color: var(--primary-color);
  font-size: 1.6rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.process-benefit-card p {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 25px;
  font-weight: 500;
}

.process-benefit-stat {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
}

/* Getting Started Section */
.onboarding-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
  margin-bottom: 60px;
}

.onboarding-step {
  text-align: center;
  position: relative;
}

.onboarding-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 40px;
  right: -20px;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  z-index: 1;
}

.onboarding-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 123, 255, 0.3);
  margin: 0 auto 30px;
  position: relative;
  z-index: 2;
}

.onboarding-content {
  background: #fff;
  padding: 30px 20px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid #e8e8e8;
  transition: all 0.3s ease;
  height: 100%;
}

.onboarding-content:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.onboarding-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(0, 123, 255, 0.3);
}

.onboarding-icon i {
  font-size: 1.5rem;
  color: #fff;
}

.onboarding-content h3 {
  color: var(--primary-color);
  font-size: 1.4rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.onboarding-content p {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* Support Section */
#support-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #f8f9ff, #e8f2ff);
}

.support-info {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  border: 1px solid #e0e8ff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 0 auto;
}

.support-content {
  display: flex;
  align-items: center;
  gap: 30px;
}

.support-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0, 123, 255, 0.3);
}

.support-icon i {
  font-size: 2rem;
  color: #fff;
}

.support-text h3 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.support-text p {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
  .process-benefits-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .process-benefit-card {
    padding: 30px 20px;
  }
  
  .process-benefit-card h3 {
    font-size: 1.4rem;
  }
  
  .process-benefit-stat {
    font-size: 2rem;
  }
  
  .onboarding-steps {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .onboarding-step:not(:last-child)::after {
    display: none;
  }
  
  .onboarding-content {
    padding: 25px 20px;
  }
  
  .onboarding-content h3 {
    font-size: 1.3rem;
  }
  
  .support-info {
    padding: 30px 20px;
  }
  
  .support-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .support-icon {
    width: 70px;
    height: 70px;
  }
  
  .support-icon i {
    font-size: 1.8rem;
  }
  
  .support-text h3 {
    font-size: 1.5rem;
  }
  
  .support-text p {
    font-size: 1rem;
  }
}

/* FAQ Section */
.faq-simple-list {
  max-width: 800px;
  margin: 50px auto 0;
}

.faq-simple-item {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e8e8e8;
}

.faq-simple-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.faq-simple-item h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.4;
}

.faq-simple-item p {
  color: #666;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

/* Contact Section */
.contact-options-simple {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-option-simple {
  background: #fff;
  padding: 30px 25px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid #e8e8e8;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-option-simple:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(0, 123, 255, 0.3);
}

.contact-icon i {
  font-size: 1.5rem;
  color: #fff;
}

.contact-option-simple h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.contact-option-simple p {
  color: #666;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 25px;
  flex-grow: 1;
}

.contact-option-simple .btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
  .faq-simple-list {
    margin-top: 30px;
  }
  
  .faq-simple-item {
    margin-bottom: 30px;
    padding-bottom: 25px;
  }
  
  .faq-simple-item h3 {
    font-size: 1.2rem;
  }
  
  .faq-simple-item p {
    font-size: 0.95rem;
  }
  
  .contact-options-simple {
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 100%;
  }
  
  .contact-option-simple {
    padding: 25px 20px;
  }
  
  .contact-option-simple h3 {
    font-size: 1.2rem;
  }
}

@media screen and (min-width: 768px) {
  .section-divider {
    height: 80px;
  }
  .section-divider::after {
    width: 160px;
  }
}