/* Stili moderni per la sezione "Chi c'è dietro Studio Innovativo" 
   Ispirato ad Apple, Stripe e Linear */

:root {
  --primary-blue: #00008e;
  --dark-blue: #000009;
  --accent-color: #0059ff;
  --bg-light: #f5f7fa;
  --text-dark: #222;
  --text-light: #6e7681;
  --card-shadow: 0 8px 30px rgba(0, 0, 9, 0.12);
  --gradient-blue: linear-gradient(135deg, #00008e 0%, #0059ff 100%);
}

/* Stile moderno per la sezione fondatore */
.founder-section {
  padding: 100px 0;
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

/* Stili per dispositivi mobili */
@media (max-width: 768px) {
  .founder-section {
    padding: 60px 0;
  }
}

.founder-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: var(--gradient-blue);
  opacity: 0.03;
  clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.section-title-modern {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.section-title-modern span {
  color: var(--primary-blue);
  position: relative;
  z-index: 1;
}

.section-title-modern span::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(0, 0, 142, 0.12);
  z-index: -1;
}

/* Contenitore immagine moderno */
.founder-image-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  margin: 0 auto;
  max-width: 420px;
  aspect-ratio: 3/4;
  transform: translateY(0);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.founder-image-container:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 9, 0.15);
}

.founder-image-modern {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.founder-image-container:hover .founder-image-modern {
  transform: scale(1.03);
}

.founder-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.founder-name {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.02em;
}

.founder-title {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-top: 5px;
  letter-spacing: -0.01em;
}

/* Contenuto moderno */
.founder-content-modern {
  padding-left: 30px;
}

.founder-intro-modern {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.founder-paragraph {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.founder-paragraph strong {
  color: var(--text-dark);
}

.founder-subtitle-modern {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
}

.founder-subtitle-modern::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--accent-color);
}

/* Lista processo di lavoro moderna */
.work-process-modern {
  counter-reset: process-step;
  list-style-type: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
}

.work-process-modern li {
  position: relative;
  padding: 20px 30px 20px 80px;
  margin-bottom: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 9, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-process-modern li:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 25px rgba(0, 0, 9, 0.12);
}

.work-process-modern li::before {
  counter-increment: process-step;
  content: counter(process-step);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-blue);
  color: white;
  font-weight: 600;
  font-size: 1.2rem;
  border-radius: 50%;
}

.work-process-modern h4 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
}

.work-process-modern p {
  margin: 0;
  color: var(--text-light);
  font-size: 1rem;
}

/* Lista valori moderna */
.value-list-modern {
  list-style-type: none;
  padding: 0;
  margin: 1.5rem 0 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
}

.value-list-modern li {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 9, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  padding-left: 35px;
}

.value-list-modern li:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 9, 0.12);
}

.value-list-modern li::before {
  content: '✓';
  color: white;
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background: var(--gradient-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
}

/* Card CTA moderna */
.cta-card-modern {
  background-color: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--card-shadow);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 3rem;
  z-index: 1;
}

.cta-card-modern::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--gradient-blue);
  z-index: -1;
}

.cta-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 9, 0.15);
}

.cta-card-modern h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.cta-card-modern p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.cta-button-modern {
  background: var(--gradient-blue);
  color: white;
  border: none;
  padding: 15px 35px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  display: inline-block;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 142, 0.3);
}

.cta-button-modern:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 142, 0.4);
  color: white;
  text-decoration: none;
}

/* Animazioni */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.2s;
}

.delay-2 {
  transition-delay: 0.4s;
}

.delay-3 {
  transition-delay: 0.6s;
}

/* Media Queries */
@media (max-width: 991px) {
  .founder-content-modern {
    padding-left: 0;
    margin-top: 40px;
  }
  
  .founder-image-container {
    max-width: 350px;
  }
  
  .section-title-modern {
    font-size: 2rem;
  }
  
  .founder-intro-modern {
    font-size: 1.3rem;
  }
  
  .value-list-modern {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .founder-section {
    padding: 60px 0;
  }
  
  .section-title-modern {
    font-size: 1.8rem;
  }
  
  .founder-image-container {
    max-width: 280px;
    aspect-ratio: 1/1;
  }
  
  .founder-name {
    font-size: 1.5rem;
  }
  
  .founder-title {
    font-size: 1rem;
  }
  
  .cta-card-modern {
    padding: 30px 20px;
  }
  
  .work-process-modern li {
    padding: 15px 15px 15px 65px;
  }
}
