/* Mappatura Centralina Page */
.benefit-card { border: none; border-radius: 10px; background-color: var(--bs-white); box-shadow: 0 4px 15px rgba(0,0,0,0.05); display: flex; flex-direction: column; padding: 1.5rem; transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease; position: relative; overflow: hidden; }
.benefit-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); background-color: #f8f9fa; }
.benefit-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at center, rgba(var(--bs-accent-rgb), 0.05) 0%, transparent 70%); opacity: 0; transition: opacity 0.3s ease; z-index: 1; }
.benefit-card:hover::before { opacity: 1; }
.benefit-card .card-body { padding: 0; display: flex; flex-direction: column; flex-grow: 1; position: relative; z-index: 2; }
.benefit-card .card-text { flex-grow: 1; }
.benefit-image { max-height: 180px; width: 100%; object-fit: contain; margin-top: 1.5rem; transition: transform 0.3s ease; }
.benefit-card:hover .benefit-image { transform: scale(1.05); }

/* Highlight section */
.highlight-section { background-color: var(--bs-white); padding: 3rem 1.5rem; border-radius: 10px; position: relative; overflow: hidden; }
.highlight-section .lead { max-width: 750px; margin: 0 auto; color: var(--bs-secondary); }
.personalization-icon { font-size: 4rem; color: var(--bs-accent); opacity: 0.1; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 0; transition: transform 0.5s ease-out, opacity 0.5s ease; }
.highlight-section:hover .personalization-icon { transform: translate(-50%, -50%) scale(1.1); opacity: 0.15; }

/* FAQ Accordion */
.faq-accordion .accordion-item { background-color: var(--bs-white); border: 1px solid #e9ecef; border-radius: 6px; margin-bottom: 0.5rem; box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
.faq-accordion .accordion-button { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--bs-dark); background-color: var(--bs-white); border-radius: 6px !important; box-shadow: none; }
.faq-accordion .accordion-button:focus { box-shadow: none; border-color: transparent; }
.faq-accordion .accordion-button:not(.collapsed) { background-color: var(--bs-accent); color: var(--bs-white); }
.faq-accordion .accordion-button::after { flex-shrink: 0; width: 1.5rem; height: 1.5rem; margin-left: auto; content: "\F4FE"; font-family: "bootstrap-icons"; font-weight: bold; background-image: none; transition: transform 0.2s ease-in-out; }
.faq-accordion .accordion-button:not(.collapsed)::after { content: "\F464"; transform: rotate(0deg); }
.faq-accordion .accordion-body { color: var(--bs-secondary); line-height: 1.6; padding: 1rem; }

/* Process Timeline */
.process-section { padding: 0.5rem 0; }
.process-step { position: relative; padding: 0.75rem 0.25rem; }
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: var(--bs-accent);
  color: white;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  box-shadow: 0 1px 6px rgba(var(--bs-accent-rgb), 0.3);
}
.step-icon {
  font-size: 1.5rem;
  color: var(--bs-accent);
  margin-bottom: 0.5rem;
}
.process-step h4 {
  color: var(--bs-dark);
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
}
.process-step p {
  color: var(--bs-secondary);
  line-height: 1.6;
}

/* Compatibility Section */
.compatibility-section { padding: 0.5rem 0; }
.compatibility-card {
  background: var(--bs-white);
  border-radius: 8px;
  padding: 1rem 0.75rem;
  box-shadow: 0 1px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  text-align: center;
}
.compatibility-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.compatibility-icon {
  font-size: 2rem;
  color: var(--bs-accent);
  margin-bottom: 0.5rem;
}
.compatibility-card h4 {
  color: var(--bs-dark);
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
}
.compatibility-card p {
  color: var(--bs-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.compatibility-list {
  list-style: none;
  padding: 0;
  text-align: left;
}
.compatibility-list li {
  padding: 0.25rem 0;
  color: var(--bs-secondary);
  font-size: 0.9rem;
}
.compatibility-list li::before {
  content: "✓";
  color: var(--bs-accent);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .process-step {
    padding: 0.5rem 0.125rem;
    margin-bottom: 0.75rem;
  }
  .step-number {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
  .step-icon {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
  }
  .compatibility-card {
    padding: 0.75rem 0.5rem;
    margin-bottom: 0.75rem;
  }
  .compatibility-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  .metric-number {
    font-size: 1.5rem;
  }
  .metric-label {
    font-size: 0.9rem;
  }
  .metric-card {
    padding: 0.75rem 0.5rem;
  }
  .page-header {
    padding: 1rem 0;
  }
  .page-title {
    font-size: 1.5rem;
  }
  .page-description {
    font-size: 0.9rem;
  }
  .benefit-card {
    padding: 1rem;
  }
  .benefit-image {
    max-height: 120px;
  }
  .highlight-section {
    padding: 1.5rem 1rem;
  }
  .personalization-icon {
    font-size: 3rem;
  }
} 

/* Global spacing reduction */
.container {
  padding-left: 1rem;
  padding-right: 1rem;
}

section {
  margin-bottom: 1.5rem !important;
}

h2 {
  margin-bottom: 1rem !important;
  font-size: 1.5rem;
}

h4 {
  font-size: 1.1rem;
}

p {
  margin-bottom: 0.5rem;
}

.card-body {
  padding: 0.75rem;
  .process-section .row > div:nth-child(3) .process-step { animation-delay: 0.3s; }
  .process-section .row > div:nth-child(4) .process-step { animation-delay: 0.4s; }
}

/* Performance Metrics */
.metrics-section { padding: 0.5rem 0; }
.metric-card {
  background: linear-gradient(135deg, var(--bs-accent) 0%, #0056b3 100%);
  color: white;
  border-radius: 8px;
  padding: 1rem 0.5rem;
  transition: transform 0.3s ease;
  height: 100%;
}
.metric-card:hover {
  transform: translateY(-3px);
}
.metric-number {
  font-size: 1.75rem;
  font-weight: 700;
  font-family: var(--font-display);
  margin-bottom: 0.25rem;
  line-height: 1;
}
.metric-label {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.125rem;
}
.metric-card small {
  opacity: 0.9;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .metric-number {
    font-size: 1.75rem;
  }
  .metric-label {
    font-size: 1rem;
  }
  .metric-card {
    padding: 1.25rem 0.75rem;
  }
}

/* Testimonials Section */
.testimonials-section { padding: 2rem 0; }
.testimonial-card {
  background: var(--bs-white);
  border-radius: 15px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  position: relative;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.testimonial-content {
  text-align: center;
}
.stars {
  color: #ffc107;
  font-size: 1.2rem;
}
.testimonial-text {
  color: var(--bs-secondary);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.testimonial-author strong {
  color: var(--bs-dark);
  font-family: var(--font-display);
  font-weight: 600;
}
.testimonial-author small {
  display: block;
  margin-top: 0.25rem;
}
