/* ================================== */
/* STILI HEADER E HERO (TUA VERSIONE) */
/* ================================== */

.site-header {
  width: 100%;
  border-bottom: 1px solid #f0f0f0;
  background-color: #fff;
}

.header-content {
     width: 100%;
     margin: 0 auto;
     padding: 1.5rem 2rem;
     box-sizing: border-box;
     display: flex;
     align-items: center;
     justify-content: space-between;
   }
  
.header-inner {
     max-width: 1100px;
     margin: 0 auto;
     width: 100%;
   }
   
.header-logo a {
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  color: #1c1e21;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-actions .login-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}

.header-actions .login-link:hover {
  color: #0d6efd;
}

.header-actions .button {
  padding: 10px 20px;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  background: #fff;
  color: #1c1e21;
}

/* Modificato per permettere a più sezioni di impilarsi verticalmente */
main {
    display: block;
}

/* Rinominiamo .container in .hero-section per specificità */
.hero-section {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 7rem 2rem; /* Spazio sopra e sotto la sezione */
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1.9fr 0.9fr; /* MANTENUTE LE TUE PROPORZIONI */
  align-items: start;
  gap: 3rem;
}

.hero-section .left h1 {
  font-size: clamp(2.8rem, 5.5vw, 3.8rem);
  line-height: 1.25;
  margin: 0 0 1.5rem;
  font-weight: 800;
}
.hero-section .left p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #555;
  margin: 0 0 2.5rem;
  line-height: 1.6;
  max-width: 520px;
}

.buttons {
  display: flex;
  gap: 1rem;
}

.button {
  display: inline-block;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color .2s;
  text-align: center;
  border: 1px solid transparent;
}

.button.primary { background: #0d6efd; color: #fff; }
.button.primary:hover { background: #0b5ed7; }
.button.secondary { background: #f1f5f9; color: #0d6efd; }
.button.secondary:hover { background: #e2e8f0; }

.hero-section .right {
  display: flex;
  justify-content: flex-end;
}

.hero-image {
  max-width: 100%; 
  height: auto;    
  border-radius: 0px; 
}

/* ================================== */
/* NUOVA SEZIONE "FOCUS ALTERNATO"    */
/* ================================== */

.feature-focus-section {
  width: 100%;
  padding: 5rem 2rem;
  background-color: #f8f9fa;
  box-sizing: border-box;
}

.feature-focus-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 4rem;
}

.feature-focus-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.feature-focus-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.feature-focus-content .feature-intro {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.feature-list .feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background-color: #eef2ff;
}

.feature-list .feature-icon svg {
  width: 20px;
  height: 20px;
  color: #4338ca;
}

.feature-list h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.feature-list p {
  margin: 0;
  color: #555;
  line-height: 1.6;
}

/* ================================== */
/* STILI MENU E LAYOUT MOBILE         */
/* ================================== */

.mobile-menu-button {
  display: none;
  padding: 8px;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

.mobile-menu-button .line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #1c1e21;
  margin: 5px 0;
}

@media (max-width: 900px) {
  .feature-focus-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .feature-focus-image {
    order: -1;
  }

  .feature-focus-content h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .header-content { padding: 1rem 1.5rem; }
  .header-actions { gap: 1rem; }
  .header-actions .login-link { display: none; }
  .mobile-menu-button { display: block; }
  
  .hero-section {
    padding: 3rem 1.5rem;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .hero-section .left {
    text-align: center;
  }
  .hero-section .right {
    order: -1;
    justify-content: center;
    margin-bottom: 0.2rem;
  }
  .buttons {
    flex-direction: column;
    align-items: center;
  }
  .buttons .button {
    width: 340px;
    max-width: 100%;
  }
}
