/* Reset e Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #F39235;
    --primary-dark: #d67a1f;
    --primary-hover: #F5A742;
    --secondary-color: #0f3460;
    --accent-color: #1a1a2e;
    --text-dark: #1a1a1a;
    --text-medium: #4a5568;
    --text-light: #718096;
    --bg-light: #f8fafc;
    --bg-lighter: #fafbfc;
    --bg-white: #ffffff;
    --bg-dark: #1a1a2e;
    --bg-dark-secondary: #0f3460;
    --border-color: #e5e7eb;
    --border-light: #f3f4f6;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
    --shadow-md: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-xl: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.25rem;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden !important;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.01em;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
}

* {
    box-sizing: border-box;
}

/* Titoli con colore #0b3b5e */
h1 {
    color: #0b3b5e !important;
    font-size: 50px !important;
    font-weight: 800 !important;
}

h2, h3, h4 {
    color: #0b3b5e;
}

h2.hero-subtitle {
    color: #4a5568 !important;
    font-weight: 500 !important;
    font-size: 20px !important;
}

h2 {
    font-size: 32px !important;
}

h3 {
    font-size: 24px !important;
}

h4 {
    font-size: 20px !important;
}

p {
    font-size: 16px !important;
}

h2.section-title,
h3.section-title,
.section-title {
    color: #0b3b5e;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
        width: 100%;
        max-width: 100%;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1300px;
        padding: 0;
    }
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid var(--border-light);
}

.navbar {
    padding: 0.5rem 0;
    transition: padding 0.3s ease;
}

.header.scrolled .navbar {
    padding: 0.5rem 0;
}

.header .container {
    padding: 0 10px !important;
}

@media (min-width: 1400px) {
    .header .container {
        padding: 0 10px !important;
    }
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 100%;
    gap: 1.5rem;
    overflow: visible;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    max-width: 100%;
    overflow: hidden;
}

.logo a {
    max-width: 100%;
    overflow: hidden;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-image {
    height: 70px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.header.scrolled .logo-image {
    height: 50px;
}

.logo-image:hover {
    opacity: 0.8;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    letter-spacing: -0.02em;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.logo-subtitle {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 2px;
    margin-top: -5px;
    font-family: 'Inter', sans-serif;
}

.nav-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-shrink: 0;
    overflow: visible;
    white-space: nowrap;
}

.btn-nav {
    padding: 0.375rem 1rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-nav i {
    font-size: 0.85em;
}

.btn-nav:first-child {
    background-color: #F39235;
    color: white;
}

.btn-nav:first-child:hover {
    background-color: #F5A742;
}

.btn-nav:last-child {
    color: #F39235;
    border: 1px solid #F39235;
    background: transparent;
}

.btn-nav:last-child:hover {
    background-color: #F39235;
    color: white;
    border-color: #F39235;
}

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

.btn-fad:hover {
    background-color: var(--bg-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    align-items: center;
    flex-wrap: nowrap;
    flex: 1;
    justify-content: center;
}

@media (max-width: 768px) {
    .nav-menu:not(.active) {
        transform: translateY(-100%) !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}


.nav-menu li {
    margin: 0;
    position: relative;
}

.nav-menu > li > .nav-link {
    white-space: nowrap;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link i {
    font-size: 0.9em;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.nav-link:hover i {
    opacity: 1;
}

.nav-link::after {
    display: none;
}

.nav-link:hover {
    color: #F39235;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 0.7rem;
    margin-left: 0.25rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    background: white;
    min-width: 240px;
    box-shadow: var(--shadow-xl);
    border-radius: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    z-index: 1001;
    border: 1px solid var(--border-color);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Prevent dropdown from closing when moving mouse */
.nav-dropdown:hover::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 0.5rem;
    background: transparent;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.9375rem;
    white-space: nowrap;
}

.dropdown-menu a i {
    font-size: 0.85em;
    width: 16px;
    text-align: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.dropdown-menu a:hover i {
    opacity: 1;
}

.dropdown-menu a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
    padding-left: 1.75rem;
}

.hamburger {
    display: none;
    position: relative;
    width: 30px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
    padding: 4px 0;
    background: transparent;
    border: none;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 3px;
    display: block;
    position: relative;
    transform-origin: center;
}

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

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: #F0F0ED;
    overflow: hidden;
    padding-top: 80px;
    padding-bottom: 0;
    z-index: 0;
    margin-bottom: 0;
    /* Rimossa transform: none per permettere animazione team */
}

/* Rimossa regola .hero * { transform: none !important; } che bloccava l'animazione del team */

.hero img:not(.team-scroll-container img) {
    transform: none !important;
}

.hero .container {
    padding: 0 20px !important;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    height: 100%;
    min-height: calc(85vh - 160px);
    gap: 0;
    overflow-x: hidden;
    box-sizing: border-box;
}

.hero-left {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F0F0ED;
    padding: 4rem 0;
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.hero-right {
    position: relative;
    overflow: hidden;
    background: #e0e0dc;
    padding: 0;
}

.hero-right::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 60px;
    background: #F0F0ED;
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
    z-index: 2;
}

.hero-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.hero-image-wrapper::after {
    display: none;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-dark);
    width: 100%;
    max-width: 1300px;
    padding: 0 1rem;
    margin: 0 auto;
    box-sizing: border-box;
    overflow-x: hidden;
}

.hero-title {
    font-size: 50px !important;
    font-weight: 800 !important;
    margin-bottom: 1.75rem;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #0b3b5e !important;
    text-align: center;
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    box-sizing: border-box;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
}

.hero-title span {
    display: inline;
    white-space: normal;
    max-width: 100%;
}

.hero-subtitle {
    text-align: center;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.hero-buttons {
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 0;
}

.hero-subtitle {
    font-size: 20px !important;
    font-weight: 500 !important;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.15s both;
    line-height: 1.6;
    color: #4a5568 !important;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
    margin-bottom: 3rem;
    width: 100%;
    max-width: 100%;
    padding: 0;
    box-sizing: border-box;
}

.hero-team-scroll {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
    overflow-y: visible;
    padding: 0 0 4rem 0;
    margin-top: -1rem;
    margin-bottom: 0;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    position: relative;
    scrollbar-width: none;
    -ms-overflow-style: none;
    clear: both;
    z-index: 1;
    pointer-events: none;
}

.hero-team-scroll .team-scroll-container {
    pointer-events: auto;
}

.hero-team-scroll::-webkit-scrollbar {
    display: none;
}

.team-scroll-container {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    padding: 0 2rem;
    animation: scroll-horizontal 40s linear infinite !important;
    animation-play-state: running !important;
    width: max-content;
    will-change: transform;
    transform: translateX(0);
}

.team-card {
    flex-shrink: 0;
    width: calc((100vw - 80px - 6rem) / 5);
    max-width: 260px;
    min-width: 200px;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    background: white;
    display: flex;
    flex-direction: column;
    position: relative;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.team-card img {
    width: 100%;
    height: auto;
    min-height: 300px;
    object-fit: cover;
    object-position: center top;
    display: block;
    position: relative;
    background-color: #f0f0f0;
    border-radius: 12px 12px 0 0;
    margin: 0;
    padding: 0;
}

.team-card-info {
    position: relative;
    padding: 1rem;
    background: #000000;
    color: white;
    z-index: 2;
    text-align: center;
    border-radius: 0 0 12px 12px;
    margin-top: auto;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
    text-align: center;
}

.team-role {
    font-size: 12px !important;
    color: white !important;
    margin: 0;
    padding: 0 8px !important;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
}

@keyframes scroll-horizontal {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 1.5rem));
    }
}

/* Assicura che l'animazione funzioni sempre - override della regola .hero * */
.hero-team-scroll .team-scroll-container {
    animation: scroll-horizontal 40s linear infinite !important;
    animation-play-state: running !important;
    transform: translateX(0);
}


/* Pause animation on hover */
.hero-team-scroll:hover .team-scroll-container {
    animation-play-state: paused !important;
}

/* Assicura che l'animazione funzioni sempre quando non in hover */
.hero-team-scroll:not(:hover) .team-scroll-container {
    animation-play-state: running !important;
}

.hero-team-scroll {
    max-height: none;
    overflow-x: hidden;
    overflow-y: visible;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 16px !important;
    letter-spacing: -0.01em;
    white-space: normal;
    gap: 0.5rem;
    text-align: center;
    word-wrap: break-word;
    max-width: 100%;
}

.btn::after {
    display: none;
}

.btn-primary {
    background: #F39235;
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 6px -1px rgba(243, 146, 53, 0.2);
}

.btn-primary:hover {
    background: #F5A742;
    transform: translateY(-1px);
    box-shadow: 0 8px 12px -2px rgba(243, 146, 53, 0.3);
}

/* Pulsanti su sfondo scuro: giallo */
.page-hero .btn-primary,
.cta-final .btn-primary {
    background: #F39235;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(243, 146, 53, 0.2);
}

.page-hero .btn-primary:hover,
.cta-final .btn-primary:hover {
    background: #F5A742;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 8px 12px -2px rgba(243, 146, 53, 0.3);
}

.hero .btn-primary {
    background: #F39235;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.hero .btn-primary:hover {
    background: #F5A742;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 8px 12px -2px rgba(0, 0, 0, 0.15);
}

.btn-large {
    padding: 0.75rem 1.25rem;
    font-size: 16px;
    border-radius: 9999px;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid #F39235;
}

.btn-secondary:hover {
    background: #F39235;
    color: white;
}

/* Section Styles */
.section {
    padding: 2rem 0;
}

.section:first-of-type {
    padding-top: 1rem;
}

@media (min-width: 768px) {
    .section {
        padding: 4rem 0;
    }
    
    .section:first-of-type {
        padding-top: 2rem;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 32px !important;
    font-weight: 700;
    color: #0b3b5e !important;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.section-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--text-medium);
    position: relative;
    font-weight: 500;
    line-height: 1.6;
}

.section-subtitle .section-icon {
    margin-bottom: 1rem;
}

/* Content Sections */
.piattaforma-preview {
    background-color: #1a1a1a;
    color: #ffffff;
}

.piattaforma-preview .section-header {
    max-width: 900px;
}

.piattaforma-preview .section-title {
    color: #ffffff !important;
}

.piattaforma-preview .content-text {
    color: rgba(255, 255, 255, 0.9);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.piattaforma-preview .content-text p {
    color: rgba(255, 255, 255, 0.9);
}

.piattaforma-preview .content-text b {
    color: #ffffff;
}

/* Link gialli nella sezione piattaforma-preview */
.piattaforma-preview a:not(.btn-primary),
.piattaforma-preview .text-link,
.piattaforma-preview .content-text a:not(.btn-primary),
.piattaforma-preview a:not(.btn-primary) b,
.piattaforma-preview .text-link b,
.piattaforma-preview .content-text a:not(.btn-primary) b {
    color: #F39235 !important;
}

.piattaforma-preview a:not(.btn-primary):hover,
.piattaforma-preview .text-link:hover,
.piattaforma-preview .content-text a:not(.btn-primary):hover,
.piattaforma-preview a:not(.btn-primary):hover b,
.piattaforma-preview .text-link:hover b,
.piattaforma-preview .content-text a:not(.btn-primary):hover b {
    color: #F5A742 !important;
}

.piattaforma-preview .btn-primary {
    color: white !important;
}

.piattaforma-preview .btn-primary::after {
    display: none;
}

.piattaforma-preview .btn-primary:hover {
    color: white !important;
}

.piattaforma-preview .btn-primary:hover::after {
    display: none;
}

.business-opportunity {
    background-color: #F0F0ED;
    position: relative;
    z-index: 100;
    padding: 4rem 0 !important;
    margin-top: 0;
    overflow: visible !important;
    isolation: isolate;
}

.business-opportunity::before {
    content: '';
    position: absolute;
    top: -4rem;
    left: 0;
    right: 0;
    height: 4rem;
    background-color: #F0F0ED;
    z-index: 101;
    pointer-events: none;
}

/* Sfondo bianco per le sezioni dopo la hero in diventa-partner */
diventa-partner .section.business-opportunity {
    background-color: white;
}

.business-models {
    background-color: #F0F0ED;
}

.business-models .section-header {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.business-models .section-header .content-text {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.contenuti-qualita {
    background-color: #1a1a1a;
}

.contenuti-qualita .section-title {
    color: white !important;
    text-align: center;
}

.contenuti-qualita .section-header {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 900px;
}

.contenuti-qualita .content-text {
    text-align: center !important;
    color: rgba(255, 255, 255, 0.9);
    margin-left: auto;
    margin-right: auto;
    max-width: 900px;
}

.contenuti-qualita .section-header .content-text {
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
    max-width: 900px;
}

.contenuti-qualita .content-text p {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.contenuti-qualita .qualita-feature-card {
    text-align: left;
}

.contenuti-qualita .qualita-feature-icon {
    margin: 0 0 1.25rem 0;
    margin-left: 0;
    margin-right: auto;
}

.contenuti-qualita .qualita-feature-icon i {
    color: white !important;
}

.corsi-support-combined {
    background-color: white;
}

.affidabilita {
    background-color: #F0F0ED;
}

/* Business Opportunity Layout */
.business-header-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 2.5rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.business-header-left {
    flex: 1;
}

.business-main-title {
    font-size: 32px !important;
    font-weight: 700;
    color: #0b3b5e;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0;
}

.business-header-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.business-intro-text {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.75;
    color: var(--text-medium);
    margin: 0;
}

.business-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.business-feature-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.business-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-color);
}

.business-feature-visual {
    margin-bottom: 1rem;
}

.feature-visual-card {
    background: #1a1a2e;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.feature-visual-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    opacity: 0.3;
    border-radius: 0 0 0 50%;
}

.visual-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    width: fit-content;
    z-index: 1;
    position: relative;
}

.feature-visual-card h4 {
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0;
    z-index: 1;
    position: relative;
}

.business-feature-card h3 {
    font-size: 24px !important;
    font-weight: 700;
    color: #0b3b5e;
    margin: 0;
    line-height: 1.3;
}

.business-feature-card p {
    font-size: clamp(0.9375rem, 1.5vw, 1rem);
    line-height: 1.7;
    color: var(--text-medium);
    margin: 0;
}

.feature-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(0.9375rem, 1.5vw, 1rem);
    margin-top: auto;
    transition: gap 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-link:hover {
    gap: 0.75rem;
    color: #0b3b5e;
}

.stat-card {
    background: linear-gradient(135deg, #0b3b5e 0%, #0077b6 100%);
    padding: 2rem;
    border-radius: var(--radius-xl);
    color: white;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* FAD Showcase */
.fad-showcase {
    margin: 2rem 0;
}

.fad-showcase-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.fad-feature-text h3 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 1.5rem;
    color: #0b3b5e;
    font-weight: 700;
    line-height: 1.3;
}

.fad-feature-text p {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.feature-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1rem 0;
}

.feature-item {
    padding: 2rem;
    background: #1a1a2e;
    border-radius: var(--radius-xl);
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.7;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: white;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item::before {
    content: '✓';
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ec4899;
    border: 2px solid #ec4899;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.feature-item:nth-child(1)::before {
    background: #ec4899;
    border-color: #ec4899;
    content: '👁️';
}

.feature-item:nth-child(2)::before {
    background: #fbbf24;
    border-color: #fbbf24;
    content: '📈';
}

.feature-item:nth-child(3)::before {
    background: #60a5fa;
    border-color: #60a5fa;
    content: '🔐';
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.fad-showcase-image {
    position: relative;
}

/* Feature Showcase */
.features-showcase {
    margin-top: 2rem;
}

.feature-showcase-item {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
}

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

.feature-showcase-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.feature-showcase-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}


.feature-showcase-text h3 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 1.5rem;
    color: #0b3b5e;
    font-weight: 700;
    line-height: 1.3;
}

.feature-showcase-text .feature-content {
    margin-top: 1.5rem;
}

.feature-showcase-text .feature-content p {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.8;
}

.feature-showcase-text .text-link {
    margin-top: 2rem;
    display: inline-block;
    color: #F39235;
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.3s ease;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
}

.feature-showcase-text .text-link:hover {
    gap: 0.5rem;
}

/* Models Showcase */
.models-showcase {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin: 2rem 0;
}

.model-showcase-item {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.model-showcase-item.reverse {
    grid-template-columns: 1.2fr 1fr;
}

.model-showcase-item.reverse .model-visual {
    order: 2;
}

.model-showcase-item.reverse .model-content {
    order: 1;
}

.model-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}


.model-image-wrapper {
    width: 100%;
    max-width: 600px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.model-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.model-content h3 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 1.5rem;
    color: #0b3b5e;
    font-weight: 700;
    line-height: 1.3;
}

.model-content p {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.model-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1rem 0;
}

.benefit-item {
    padding: 2rem;
    background: #1a1a2e;
    border-radius: var(--radius-xl);
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.7;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: white;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item::before {
    content: '✓';
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ec4899;
    border: 2px solid #ec4899;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.benefit-item:nth-child(1)::before {
    background: #ec4899;
    border-color: #ec4899;
    content: '📚';
}

.benefit-item:nth-child(2)::before {
    background: #fbbf24;
    border-color: #fbbf24;
    content: '⚙️';
}

.benefit-item:nth-child(3)::before {
    background: #60a5fa;
    border-color: #60a5fa;
    content: '🛠️';
}

.benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Combined Corsi & Support */
.combined-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.combined-card {
    background: white;
    padding: 0;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.combined-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-color);
}

.combined-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--bg-lighter);
}

.combined-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.support-card .combined-image img {
    object-position: center bottom;
}

.combined-card h3 {
    font-size: clamp(1.5rem, 2.5vw, 1.75rem);
    margin: 2rem 2rem 1.5rem;
    color: #0b3b5e;
    font-weight: 700;
    line-height: 1.3;
}

.combined-card p {
    color: var(--text-medium);
    line-height: 1.8;
    margin: 0 2rem 2rem;
    flex-grow: 1;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
}

.combined-card p:has(+ .combined-link) {
    margin-bottom: 0.5rem;
}

.combined-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 2rem;
}

.combined-item {
    padding: 1.5rem;
    background: #1a1a2e;
    border-radius: var(--radius-lg);
    font-size: clamp(0.9375rem, 1.5vw, 1rem);
    line-height: 1.7;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: white;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.combined-item::before {
    content: '✓';
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
    color: white;
}

.combined-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.combined-link {
    color: #F39235;
    text-decoration: none;
    font-weight: 600;
    margin: 0 2rem 2rem;
    margin-top: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.combined-link:hover {
    color: #F5A742;
    gap: 1rem;
}

/* Affidabilità Showcase */
/* Nuova struttura Affidabilità - Layout semplice e pulito */
.affidabilita-box-wrapper {
    max-width: 1300px;
    margin: 0 auto;
}

.affidabilita-simple-layout {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.affidabilita-simple-layout .section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.affidabilita-text-simple {
    margin-bottom: 3rem;
}

.affidabilita-text-simple p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.affidabilita-text-simple p:last-child {
    margin-bottom: 0;
}

.affidabilita-quote-simple {
    background: transparent;
    padding: 0;
    max-width: 100%;
    margin: 1rem auto 0;
}

.affidabilita-quote-simple p {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.7;
    text-transform: none;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.affidabilita-quote-simple p::first-letter {
    text-transform: uppercase;
}

.btn-affidabilita {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: 2px solid #F39235;
    border-radius: 9999px;
    color: #F39235;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-affidabilita:hover {
    background: #F39235;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(243, 146, 53, 0.3);
}

.btn-partner-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: 2px solid #F39235;
    border-radius: 9999px;
    background: white;
    color: #F39235;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    margin-top: 1rem;
    position: relative;
}

.btn-partner-link::after {
    display: none;
}

.btn-partner-link:hover {
    background: #F39235;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(243, 146, 53, 0.3);
}

.affidabilita-showcase {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
}

.affidabilita-visual {
    position: relative;
}

.affidabilita-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.affidabilita-image-wrapper img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}

.affidabilita-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    background: white;
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    z-index: 2;
}

.badge-content {
    text-align: center;
}

.badge-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0b3b5e;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.badge-label {
    font-size: 0.875rem;
    color: var(--text-medium);
    font-weight: 500;
}

.affidabilita-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.mini-stat {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.mini-stat-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0b3b5e;
    margin-bottom: 0.5rem;
}

.mini-stat-label {
    font-size: 0.875rem;
    color: var(--text-medium);
}

.affidabilita-content-text {
    flex: 1;
}

.affidabilita-content-text .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
    max-width: 100%;
}

.affidabilita-content-text .content-text {
    margin: 0;
    text-align: left;
    max-width: 100%;
}

.affidabilita-content-text .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.affidabilita-content-text .content-text {
    text-align: left;
    max-width: 100%;
    margin: 0;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(243, 146, 53, 0.1), rgba(15, 52, 96, 0.1));
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    border-left: 4px solid var(--primary-color);
    margin: 2rem 0;
}

.highlight-text {
    margin: 0;
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    font-weight: 600;
    line-height: 1.6;
    color: #0b3b5e;
}

/* Contenuti di Qualità Section */
.qualita-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 1024px) {
    .qualita-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .qualita-features-grid {
        grid-template-columns: 1fr;
    }
}

.qualita-feature-card {
    background: #2d3748;
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
}

.qualita-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.qualita-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: transparent;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
    visibility: visible !important;
    opacity: 1 !important;
}

.qualita-feature-icon i {
    color: white !important;
    font-size: 40px !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}


.qualita-feature-card h3 {
    font-size: clamp(1.125rem, 1.5vw, 1.25rem);
    margin: 0 0 0.75rem 0;
    color: white;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
}

.qualita-feature-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin: 0;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    text-align: left;
}

.content-text {
    max-width: 1300px;
    margin: 0 auto 3rem;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.75;
    color: var(--text-medium);
    text-align: left;
}

/* Gestione Tabs */
.gestione-tabs {
    max-width: 1300px;
    margin: 0 auto 3rem;
    padding: 2rem 0;
}

.gestione-title {
    text-align: center;
    font-size: 24px !important;
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.tabs-nav {
    display: flex;
    position: relative;
    margin-bottom: 30px;
    gap: 20px;
}

.tab-wrapper {
    flex: 1;
    position: relative;
    cursor: pointer;
}

.line-bg {
    width: 100%;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.3);
    position: absolute;
    top: 0;
    left: 0;
}

.progress-line {
    height: 3px;
    background-color: #ffffff;
    width: 0%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.tab-button {
    padding-top: 20px;
    border: none;
    background: none;
    text-align: left;
    width: 100%;
    cursor: pointer;
}

.tab-button h4 {
    margin: 0 0 10px 0;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s;
    font-weight: 600;
}

.tab-wrapper.active h4 {
    color: #ffffff;
}

.tab-button p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin: 0;
}

.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.5s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Link gialli nella sezione gestione */
.gestione-tabs a,
.gestione-tabs .text-link,
.gestione-tabs p a {
    color: #F39235 !important;
}

.gestione-tabs a:hover,
.gestione-tabs .text-link:hover,
.gestione-tabs p a:hover {
    color: #F5A742 !important;
}

.image-container {
    width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    margin-top: 10px;
    height: 600px;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.5rem;
    box-sizing: border-box;
}

.image-container img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    position: relative;
    z-index: 2;
    border-radius: 8px;
}


.content-text p {
    margin-bottom: 1.5rem;
    font-size: inherit;
    letter-spacing: -0.01em;
}

.section-header .content-text {
    margin: 1.5rem auto 0;
    text-align: center;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    max-width: 100%;
}

.content-text p:last-child {
    margin-bottom: 0;
}

.text-link {
    color: #F39235;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.text-link:hover {
    color: #F5A742;
    text-decoration: underline;
}

/* Tutti i link nei contenuti devono essere gialli */
.content-text a:not(.btn):not(.nav-link),
p a:not(.btn):not(.nav-link):not(.text-link):not(.combined-link) {
    color: #F39235 !important;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.content-text a:not(.btn):not(.nav-link):hover,
p a:not(.btn):not(.nav-link):not(.text-link):not(.combined-link):hover {
    color: #F5A742 !important;
    text-decoration: underline;
}

.solution-box,
.dashboard-content-box {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    margin: 2rem 0;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.solution-box:hover,
.dashboard-content-box:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border-color);
}

.dashboard-content-box h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.solution-box h3 {
    text-align: center;
}

.business-opportunity-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 2rem;
    padding: 0 1rem;
}

.business-main-title-centered {
    font-size: 32px !important;
    font-weight: 700;
    color: #0b3b5e;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.business-intro-text-centered {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-medium);
    margin: 0;
    padding: 0 1rem;
}

.solution-section-modern {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

.solution-title-modern {
    text-align: center;
    font-size: clamp(1.5rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: #0b3b5e;
    margin-bottom: 0.75rem;
}

.solution-section-modern .dashboard-features-grid {
    margin-top: 0.75rem;
    gap: 2.5rem;
}

.business-opportunity .dashboard-feature-card {
    background: transparent;
    border: 1px solid #9ca3af;
    box-shadow: none;
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.business-opportunity .dashboard-feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #6b7280;
}

.business-opportunity .dashboard-feature-card p {
    text-align: center;
}

.business-opportunity .dashboard-feature-icon {
    margin: 0 auto;
}

.solution-cta-modern {
    text-align: center;
    margin-top: 3rem;
}

.modelli-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title-centered {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #0b3b5e;
    margin: 0;
    line-height: 1.2;
}

.modelli-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1300px;
    margin: 2rem auto;
    padding: 1rem 0;
}

.modelli-cards-gradient {
    gap: 3rem;
}

.modelli-tabs-container {
    max-width: 1300px;
    margin: 0 auto;
    overflow: visible;
    position: relative;
}

.modelli-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    background: #1a1a1a;
    padding: 0.5rem;
    border-radius: 12px;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.modelli-tab-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.modelli-tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.modelli-tab-btn.active {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

/* Team Tabs (Docenti / Il team) - Stile come modelli-tabs */
.team-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    background: #1a1a1a;
    padding: 0.5rem;
    border-radius: 12px;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.team-tab-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.team-tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.team-tab-btn.active {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

/* Paragrafi dei docenti a 14px */
#docenti-panel .team-member-card p {
    font-size: 14px !important;
}

/* Animazioni per i pannelli */
.team-tabs-content {
    position: relative;
    min-height: 500px;
}

.team-tab-panel {
    display: none;
}

.team-tab-panel.active {
    display: block;
}

/* Effetto hover più elegante per le card */
.team-member-card {
    transition: all 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
}

/* Layout alternato sezione sviluppo */
.sviluppo-features-alternate {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 1300px;
    margin: 0 auto;
}

.sviluppo-feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.sviluppo-feature-reverse {
    direction: rtl;
}

.sviluppo-feature-reverse > * {
    direction: ltr;
}

.sviluppo-feature-image {
    width: 100%;
    height: 100%;
    min-height: 300px;
    overflow: visible;
    background: transparent !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    position: relative;
    padding: 1.5rem;
}

.sviluppo-feature-image-combo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sviluppo-person-image {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.sviluppo-person-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sviluppo-image-overlay {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 60%;
    height: 50%;
    z-index: 2;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border: 3px solid white;
}

.sviluppo-screen-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sviluppo-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 1;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.sviluppo-feature-item:hover .sviluppo-feature-image img {
    transform: scale(1.05);
}

.sviluppo-feature-content {
    padding: 0;
}

.sviluppo-feature-content h3 {
    color: #0b3b5e;
    font-size: 24px !important;
    margin-bottom: 1rem;
    font-weight: 700;
}

.sviluppo-feature-content p {
    color: var(--text-medium);
    line-height: 1.7;
    font-size: 16px;
}

@media (max-width: 768px) {
    .sviluppo-feature-item {
        grid-template-columns: 1fr;
    }
    
    .sviluppo-feature-reverse {
        direction: ltr;
    }
    
    .sviluppo-feature-image {
        min-height: 250px;
    }
}

/* Evidenziazione sezione Team */
.team-section-highlight {
    position: relative;
    padding: 4rem 0 !important;
}

.team-section-highlight .container {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.6);
    padding: 3rem 2rem !important;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
}

/* Grid docenti: 3 colonne poi 2 (centrate) */
#docenti-panel .team-members-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* Ultime 2 card centrate nella seconda riga */
#docenti-panel .team-members-grid .team-member-card:nth-child(4) {
    grid-column: 1 / 2;
}

#docenti-panel .team-members-grid .team-member-card:nth-child(5) {
    grid-column: 2 / 3;
}

/* Container per centrare le ultime 2 card */
#docenti-panel .team-members-grid::after {
    content: '';
    grid-column: 2 / 3;
}

@media (max-width: 1024px) {
    #docenti-panel .team-members-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    #docenti-panel .team-members-grid .team-member-card:nth-child(4),
    #docenti-panel .team-members-grid .team-member-card:nth-child(5),
    #docenti-panel .team-members-grid::after {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    #docenti-panel .team-members-grid {
        grid-template-columns: 1fr;
    }
    
    #docenti-panel .team-members-grid::after {
        display: none;
    }
}

/* Team Panel Grid Layout */
#team-panel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

#team-panel-grid .team-member-card:nth-child(1) {
    grid-column: 1 / 2;
}

#team-panel-grid .team-member-card:nth-child(2) {
    grid-column: 2 / 3;
}

#team-panel-grid .team-member-card:nth-child(3) {
    grid-column: 3 / 4;
}

#team-panel-grid .team-member-card:nth-child(4) {
    grid-column: 1 / 2;
}

#team-panel-grid .team-member-card:nth-child(5) {
    grid-column: 2 / 3;
}

@media (max-width: 1024px) {
    #team-panel-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    #team-panel-grid .team-member-card:nth-child(3) {
        grid-column: 1 / 2;
    }
    
    #team-panel-grid .team-member-card:nth-child(4) {
        grid-column: 2 / 3;
    }
    
    #team-panel-grid .team-member-card:nth-child(5) {
        grid-column: 1 / 2;
    }
}

@media (max-width: 768px) {
    #team-panel-grid {
        grid-template-columns: 1fr !important;
        display: grid !important;
    }
    
    #team-panel-grid .team-member-card:nth-child(n) {
        grid-column: span 1 !important;
    }
}

.modelli-tabs-content {
    position: relative;
    overflow: hidden;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    border-radius: 16px;
}

.modelli-tabs-wrapper {
    display: flex;
    position: relative;
    width: 100%;
    gap: 0;
    align-items: flex-start;
    justify-content: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Overlay per nascondere la parte centrale del box inattivo (dove c'è il box attivo) */
/* Il box attivo è 1200px centrato, quindi nascondiamo quella parte */
.modello-tab-panel:not(.active)::before {
    content: '';
    position: absolute;
    left: calc(50% - 600px);
    width: 1200px;
    top: 0;
    bottom: 0;
    background: #1a1a1a;
    z-index: 10;
    pointer-events: none;
}

.modello-tab-panel {
    opacity: 0.4;
    transform: scale(0.95);
    transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
    pointer-events: auto;
    cursor: pointer;
    filter: brightness(0.8);
}

/* Panel attivo: sempre al centro, 1200px (1300px - 100px) */
.modello-tab-panel.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    z-index: 2;
    cursor: default;
    filter: brightness(1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    margin: 0 auto;
    position: relative;
    width: 1200px;
    max-width: 1200px;
    min-width: 1200px;
}

/* Panel inattivo: visibile su entrambi i lati, full-width */
.modello-tab-panel:not(.active) {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    transform: scale(0.95);
    z-index: 1;
    top: 0;
    margin-left: 0;
    margin-right: 0;
}

.modello-tab-panel:hover:not(.active) {
    opacity: 0.6;
    transform: scale(0.96);
    filter: brightness(0.85);
}

/* Layout specifico per piattaforma-fad.html e diventa-partner: box semplice 1300px, solo uno visibile alla volta */
.piattaforma-fad-modelli .modelli-tabs-content,
.diventa-partner-modelli .modelli-tabs-content {
    overflow: visible;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    position: relative;
    border-radius: 16px;
}

.piattaforma-fad-modelli .modelli-tabs-wrapper,
.diventa-partner-modelli .modelli-tabs-wrapper {
    display: flex;
    position: relative;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.piattaforma-fad-modelli .modello-tab-panel.active,
.diventa-partner-modelli .modello-tab-panel.active {
    width: 1300px;
    max-width: 1300px;
    min-width: 1300px;
    position: relative;
    z-index: 2;
    opacity: 1;
    margin: 0 auto;
    transform: none;
}

.piattaforma-fad-modelli .modello-tab-panel:not(.active),
.diventa-partner-modelli .modello-tab-panel:not(.active) {
    display: none;
}

.piattaforma-fad-modelli .modello-tab-panel:not(.active)::before,
.diventa-partner-modelli .modello-tab-panel:not(.active)::before {
    display: none;
}

/* Overlay bianco per diventa-partner */
.diventa-partner-modelli .modello-tab-panel:not(.active)::before {
    background: white !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modello-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    max-width: 100%;
    margin: 0 auto;
}

/* Gestione tabs: testo sopra l'immagine */
.gestione-tabs .modelli-tabs-content {
    overflow: visible;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    position: relative;
}

.gestione-tabs .modelli-tabs-wrapper {
    display: flex;
    position: relative;
    width: 100%;
    align-items: center;
    justify-content: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gestione-tabs .modello-tab-panel.active {
    width: 100%;
    max-width: 1300px;
    min-width: 0;
    position: relative;
    z-index: 2;
    opacity: 1;
    margin: 0 auto;
    transform: none;
    display: block;
}

.gestione-tabs .modello-tab-panel:not(.active) {
    display: none;
}

.gestione-tabs .modello-tab-panel:not(.active)::before {
    display: none;
}

.gestione-tabs .modello-card {
    flex-direction: column;
    background: white;
    border: 1px solid #e5e7eb;
}

.gestione-tabs .modello-content {
    order: 1;
    padding: 2rem;
    text-align: center;
    background: white;
}

.gestione-tabs .modello-content h3 {
    text-align: center;
    margin-bottom: 1rem;
    color: #0b3b5e !important;
}

.gestione-tabs .modello-content p {
    color: var(--text-medium) !important;
    color: #4a5568 !important;
}

.gestione-tabs .modello-image {
    order: 2;
    width: 100%;
    padding: 0 2rem;
    box-sizing: border-box;
}

.gestione-tabs .modello-image img {
    width: 100%;
    height: auto;
}

.modello-card-reseller {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: row;
    align-items: stretch;
    padding: 0;
    margin: 0;
}

.modello-card-white-label {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 0;
    margin: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.modello-card-reverse {
    flex-direction: row;
}

.modello-card-reverse .modello-image {
    order: 2;
    flex: 0 0 45%;
    height: auto;
}

.modello-card-reverse .modello-content {
    order: 1;
    flex: 0 0 55%;
}

.modello-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #d1d5db;
}

.modello-card-reseller:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.modello-card-white-label:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.modello-tab-panel:not(.active) .modello-card-reseller:hover,
.modello-tab-panel:not(.active) .modello-card-white-label:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.modello-image {
    width: 100%;
    flex-shrink: 0;
    overflow: hidden;
    background: transparent !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* Rimuove background grigio da tutte le immagini */
.team-member-image {
    background: transparent !important;
}

.team-member-image img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    display: block !important;
}

.dashboard-image-left,
.dashboard-image-right,
.corsi-support-image {
    background: transparent !important;
}

.dashboard-image-left img,
.dashboard-image-right img,
.corsi-support-image img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    display: block !important;
}

.modello-card-reseller .modello-image,
.modello-card-white-label .modello-image {
    width: 30%;
    border-radius: 20px 0 0 20px !important;
    height: auto;
    align-self: stretch;
    overflow: hidden;
}

.modello-card-reseller .modello-image img,
.modello-card-white-label .modello-image img {
    border-radius: 20px 0 0 20px !important;
}

/* Layout per diventa-partner: immagine sopra il testo */
.diventa-partner-modelli .modello-tab-panel.active {
    width: 1300px;
    max-width: 1300px;
    min-width: 1300px;
}

.diventa-partner-modelli .modello-card-reseller,
.diventa-partner-modelli .modello-card-white-label {
    flex-direction: column;
}

.diventa-partner-modelli .modello-card-reseller .modello-image,
.diventa-partner-modelli .modello-card-white-label .modello-image {
    width: 100%;
    border-radius: 20px 20px 0 0;
    height: auto;
    align-self: stretch;
}

.diventa-partner-modelli .modello-card-reseller .modello-image img,
.diventa-partner-modelli .modello-card-white-label .modello-image img {
    max-height: 300px;
    object-fit: cover;
    border-radius: inherit;
}

.diventa-partner-modelli .modello-card-reseller .modello-content,
.diventa-partner-modelli .modello-card-white-label .modello-content {
    width: 100%;
    text-align: center;
}

.diventa-partner-modelli .modello-card-reseller .modello-content h3,
.diventa-partner-modelli .modello-card-white-label .modello-content h3,
.diventa-partner-modelli .modello-card-reseller .modello-content h4,
.diventa-partner-modelli .modello-card-white-label .modello-content h4,
.diventa-partner-modelli .modello-card-reseller .modello-content p,
.diventa-partner-modelli .modello-card-white-label .modello-content p {
    text-align: left;
}

/* Assicura che tutti i testi dei check siano allineati a sinistra */
.diventa-partner-modelli .modello-feature-item * {
    text-align: left !important;
}

.diventa-partner-modelli .modello-features {
    text-align: left;
    max-width: 1300px;
    margin: 0 auto;
    grid-template-columns: repeat(6, 1fr);
}

.diventa-partner-modelli .modello-feature-item {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.5rem;
}

.diventa-partner-modelli .modello-feature-item:nth-child(1) {
    grid-column: 1 / 3;
}

.diventa-partner-modelli .modello-feature-item:nth-child(2) {
    grid-column: 3 / 5;
}

.diventa-partner-modelli .modello-feature-item:nth-child(3) {
    grid-column: 5 / 7;
}

.diventa-partner-modelli .modello-feature-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
}

.diventa-partner-modelli .modello-feature-text p {
    text-align: left !important;
}

.diventa-partner-modelli .modello-feature-text h5 {
    text-align: left !important;
}

.diventa-partner-modelli .modello-feature-item h5 {
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.diventa-partner-modelli .modello-feature-item h5 .modello-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    margin: 0;
}

.diventa-partner-modelli .modello-feature-item h5 .modello-feature-icon i {
    font-size: 18px;
    color: #F39235;
}

.diventa-partner-modelli .modello-feature-item p {
    text-align: left;
}

.diventa-partner-modelli .modello-feature-item p::first-letter {
    text-transform: uppercase;
}

.diventa-partner-modelli .modello-feature-item:nth-child(4) {
    grid-column: 1 / 4;
}

.diventa-partner-modelli .modello-feature-item:nth-child(5) {
    grid-column: 4 / 7;
}

.modello-card-reseller .modello-content,
.modello-card-white-label .modello-content {
    width: 70%;
    flex: 1;
    padding: 2rem;
}

.modello-card-reseller .modello-content p,
.modello-card-white-label .modello-content p {
    font-size: 14px !important;
}

.modello-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 200px;
    display: block;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-radius: inherit !important;
}

/* Immagini più piccole nella pagina diventa-partner */
.modelli-cards-grid .modello-image img {
    max-height: 180px;
    min-height: 150px;
    object-fit: cover;
    border-radius: inherit;
}


.modello-content {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 100%;
}


.modello-card-reseller .modello-content {
    text-align: left;
}

.modello-card-white-label .modello-content {
    text-align: left;
}

.modello-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0b3b5e;
    margin: 0 0 1.5rem 0;
    line-height: 1.3;
    text-align: center;
}

.modello-card-reseller .modello-content h3,
.modello-card-white-label .modello-content h3 {
    text-align: left;
}

.modello-card-white-label .modello-content h3 {
    color: #0b3b5e;
}

.modello-subtitle {
    font-size: 1.125rem;
    font-weight: 600;
    color: #F39235;
    margin: 0 0 1rem 0;
    text-align: center;
}

.modello-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-medium);
    margin: 0 0 1.5rem 0;
    text-align: center;
}

.modello-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: auto;
}

.modello-feature-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
}

.modello-feature-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0;
    background-color: transparent;
}

.modello-feature-icon i {
    font-size: 18px;
    color: #F39235;
}

.modello-feature-item h5 {
    font-size: 18px;
    font-weight: 700;
    color: #0b3b5e;
    margin: 0;
    line-height: 1.3;
    text-align: left;
}

.modello-feature-item p {
    font-size: 14px !important;
    line-height: 1.6;
    color: var(--text-medium);
    margin: 0;
    text-align: left;
}

.modello-feature-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.modello-card-white-label .modello-feature-item h4 {
    color: #0b3b5e;
}

.modello-card-white-label .modello-feature-item p {
    color: var(--text-medium);
}

.modelli-header-centered {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.modelli-main-title {
    font-size: 32px !important;
    font-weight: 700;
    color: #0b3b5e;
    line-height: 1.2;
    margin: 0 0 1.5rem 0;
}

.modelli-intro-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-medium);
    margin: 0;
}

.modello-card-reverse {
    flex-direction: row-reverse;
}

.modello-card-reverse .modello-content {
    padding-right: 0;
}

.modello-card-reverse .modello-image {
    padding-left: 0;
}

.modello-cta {
    margin-top: 1.5rem;
}

.modello-cta .btn {
    width: auto;
    display: inline-block;
}

.corsi-support-layout {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.corsi-support-item {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.corsi-support-50-50 {
    grid-template-columns: 1fr 1fr !important;
}

.corsi-support-50-50.corsi-support-reverse {
    grid-template-columns: 1fr 1fr !important;
}

.corsi-support-reverse {
    grid-template-columns: 3fr 2fr;
}

.corsi-support-reverse .corsi-support-content {
    order: 1;
}

.corsi-support-reverse .corsi-support-image {
    order: 2;
}

.corsi-support-image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    background: #c7c7c8;
    padding: 0.5rem;
}

.corsi-support-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.corsi-support-images-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.corsi-support-images-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.corsi-support-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    box-sizing: border-box;
}

.corsi-support-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0b3b5e;
    margin: 0;
    line-height: 1.3;
}

.corsi-support-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-medium);
    margin: 0;
}

.corsi-support-content .btn {
    margin-top: 0.5rem;
    width: auto !important;
    max-width: none !important;
    display: inline-block;
    flex-shrink: 0;
}

.corsi-support-content .btn-primary {
    background: white;
    color: #F39235;
    border: 2px solid #F39235;
    font-weight: 600;
    box-shadow: none;
}

.corsi-support-item:first-child .corsi-support-content .btn-primary {
    background: #F39235;
    color: white;
    border: 2px solid #F39235;
    font-weight: 600;
    box-shadow: 0 4px 6px -1px rgba(243, 146, 53, 0.2);
}

.corsi-support-content .btn-primary:hover {
    background: #F39235;
    color: white;
    border-color: #F39235;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(243, 146, 53, 0.2);
}

.corsi-support-item:first-child .corsi-support-content .btn-primary:hover {
    background: #F5A742;
    color: white;
    border-color: #F5A742;
    transform: translateY(-1px);
    box-shadow: 0 8px 12px -2px rgba(243, 146, 53, 0.3);
}

.corsi-support-item .btn {
    width: auto !important;
    max-width: none !important;
}

.dashboard-header-modern {
    text-align: center;
    max-width: 1300px;
    margin: 0 auto 3rem;
}

.dashboard-main-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #0b3b5e;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.dashboard-intro-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-medium);
    margin: 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.dashboard-content-modern {
    max-width: 1300px;
    margin: 0 auto;
}

.dashboard-subtitle {
    font-size: clamp(1.5rem, 2.5vw, 1.875rem);
    font-weight: 700;
    color: #0b3b5e;
    margin-bottom: 1rem;
    text-align: center;
}

.dashboard-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 2.5rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.dashboard-features-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.dashboard-feature-card-modern {
    background: #fafbfc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.dashboard-feature-card-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #d1d5db;
}

.dashboard-feature-image-card {
    grid-column: span 2;
    padding: 0;
    border: none;
    background: transparent;
    overflow: hidden;
    border-radius: 12px;
}

.dashboard-feature-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dashboard-feature-icon-modern {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(243, 146, 53, 0.1), rgba(11, 59, 94, 0.1));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.dashboard-feature-icon-modern i {
    font-size: 22px;
    color: #0b3b5e;
}

.dashboard-feature-card-modern h4 {
    font-size: 18px;
    font-weight: 600;
    color: #0b3b5e;
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

.dashboard-feature-card-modern p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-medium);
    margin: 0;
    flex: 1;
}

.dashboard-cta-modern {
    text-align: center;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .modello-card-reverse {
        flex-direction: column;
    }

    .corsi-support-layout {
        gap: 2.5rem !important;
        padding: 0;
    }

    .corsi-support-50-50 {
        grid-template-columns: 1fr !important;
    }

    .corsi-support-50-50.corsi-support-reverse {
        grid-template-columns: 1fr !important;
    }

    .corsi-support-item {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        margin-bottom: 0 !important;
        display: grid !important;
    }

    .corsi-support-item:last-child {
        margin-bottom: 0 !important;
    }

    .corsi-support-item .corsi-support-image {
        order: 1 !important;
        margin-bottom: 1.5rem;
        width: 100%;
    }

    .corsi-support-item .corsi-support-content {
        order: 2 !important;
    }

    .corsi-support-reverse {
        direction: ltr;
        grid-template-columns: 1fr !important;
    }

    .corsi-support-reverse .corsi-support-image {
        order: 1 !important;
        margin-bottom: 1.5rem;
        width: 100%;
    }

    .corsi-support-reverse .corsi-support-content {
        order: 2 !important;
    }
}

.dashboard-content-box p {
    margin-bottom: 2rem;
    text-align: center;
}

.dashboard-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 1rem 0;
}

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

@media (max-width: 1024px) {
    .dashboard-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .solution-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.dashboard-feature-card {
    background: #fafbfc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.dashboard-feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #d1d5db;
}

.contenuti-section .dashboard-feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    text-align: center;
    gap: 0.75rem;
}

.contenuti-section .dashboard-feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.contenuti-section .dashboard-feature-icon {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    margin: 0 auto 0.75rem auto;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-sizing: border-box;
}

.contenuti-section .dashboard-feature-icon i {
    font-size: 28px !important;
    width: 28px !important;
    height: 28px !important;
    display: block;
    color: white !important;
}

.contenuti-section .dashboard-feature-icon svg {
    width: 28px !important;
    height: 28px !important;
    display: block;
}

.contenuti-section .dashboard-feature-icon svg path,
.contenuti-section .dashboard-feature-icon svg .st0,
.contenuti-section .dashboard-feature-icon svg polygon,
.contenuti-section .dashboard-feature-icon svg rect {
    fill: white !important;
}

.contenuti-section .dashboard-feature-icon svg[fill] {
    fill: white !important;
}

.contenuti-section .dashboard-feature-card h4 {
    color: white;
    text-align: center;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.contenuti-section .dashboard-feature-card p {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-top: 0;
}

.dashboard-feature-card-image {
    grid-column: span 2;
    padding: 0;
    border: none;
    background: transparent;
    overflow: hidden;
    border-radius: 12px;
}

.dashboard-feature-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dashboard-feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(243, 146, 53, 0.1), rgba(11, 59, 94, 0.1));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.dashboard-feature-icon i {
    font-size: 22px;
    color: #0b3b5e;
}

.solution-feature-icon {
    border: 1px solid #4a5568;
    border-radius: 10px;
    padding: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    width: auto !important;
    height: auto !important;
}

.solution-feature-icon i {
    color: #4a5568;
}

.dashboard-feature-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #0b3b5e;
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

.dashboard-feature-card p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-medium);
    margin: 0;
    flex: 1;
}

.competence-section .dashboard-feature-icon {
    margin: 0 auto 1rem auto;
}

.competence-section .dashboard-feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    text-align: center;
    padding: 2rem;
    gap: 0.75rem;
}

.competence-section .dashboard-feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.competence-section .dashboard-feature-icon {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    margin: 0 auto 0.75rem auto;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-sizing: border-box;
}

.competence-section .dashboard-feature-icon i {
    font-size: 40px !important;
    width: 40px !important;
    height: 40px !important;
    display: block;
    color: white !important;
}

.competence-section .dashboard-feature-icon svg {
    width: 40px !important;
    height: 40px !important;
    display: block;
}

.competence-section .dashboard-feature-icon svg path,
.competence-section .dashboard-feature-icon svg .st0,
.competence-section .dashboard-feature-icon svg polygon,
.competence-section .dashboard-feature-icon svg rect {
    fill: white !important;
}

.competence-section .dashboard-feature-icon svg[fill] {
    fill: white !important;
}

.competence-section .dashboard-feature-icon svg path,
.competence-section .dashboard-feature-icon svg .st0 {
    fill: white !important;
}

.competence-section .dashboard-feature-card h4 {
    text-align: center;
    color: white;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.competence-section .dashboard-feature-card p {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0;
}

.competence-section .dashboard-feature-card p::first-letter {
    text-transform: uppercase;
}

.dashboard-features-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.dashboard-feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.dashboard-image-left,
.dashboard-image-right {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.dashboard-image-left img,
.dashboard-image-right img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.dashboard-features-right,
.dashboard-features-left {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dashboard-feature-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    background: transparent;
    border-radius: var(--radius-lg);
    border: none;
}

.dashboard-feature-item .solution-icon {
    margin-bottom: 0;
    flex-shrink: 0;
    margin-top: 0.25rem;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.dashboard-feature-item .solution-icon i {
    color: #F39235 !important;
    font-size: 20px !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.dashboard-feature-item .feature-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
}

.management-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.management-card {
    padding: 2rem;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.management-card h3 {
    font-size: 24px !important;
    color: #0b3b5e;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.feature-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
}

.feature-item .solution-icon {
    flex-shrink: 0;
    margin-top: 0.25rem;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.feature-item .solution-icon i {
    color: #F39235 !important;
    font-size: 20px !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.feature-item .feature-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    flex: 1;
}

.feature-item strong {
    font-weight: 600;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .management-grid {
        grid-template-columns: 1fr;
    }
}

.dashboard-feature-item strong {
    font-weight: 600;
    color: var(--text-dark);
}

.solution-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
}

.solution-item .feature-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    flex: 1;
}

.solution-item strong {
    font-weight: 600;
    color: var(--text-dark);
}

.gestione-livelli-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.gestione-livello {
    width: 100%;
}

.gestione-livello-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

.gestione-livello-reverse .gestione-livello-grid {
    grid-template-columns: 1.2fr 1fr;
}

.gestione-livello-reverse .gestione-livello-image {
    order: 2;
}

.gestione-livello-reverse .gestione-livello-text {
    order: 1;
}

.gestione-livello-image {
    width: 100%;
}

.gestione-livello-image .model-image-wrapper {
    width: 100%;
    max-width: 600px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.gestione-livello-image .model-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.gestione-livello-text {
    width: 100%;
}

.gestione-livello h3 {
    font-size: 24px !important;
    color: #0b3b5e;
    margin: 0 0 1.5rem 0;
    font-weight: 700;
}

@media (max-width: 768px) {
    .gestione-livello-grid,
    .gestione-livello-reverse .gestione-livello-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gestione-livello-reverse .gestione-livello-image,
    .gestione-livello-reverse .gestione-livello-text {
        order: unset;
    }
}

.gestione-features-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.gestione-feature-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.gestione-feature-item .solution-icon {
    flex-shrink: 0;
    margin-top: 0.25rem;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.gestione-feature-item .solution-icon i {
    color: #F39235 !important;
    font-size: 20px !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.gestione-feature-item .feature-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    flex: 1;
}

.gestione-feature-item strong {
    font-weight: 600;
    color: var(--text-dark);
}

.solution-box h3 {
    font-size: clamp(1.5rem, 2.5vw, 1.75rem);
    margin-bottom: 1rem;
    color: #0b3b5e;
    font-weight: 700;
    line-height: 1.3;
}

.solution-box p,
.solution-list {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.8;
}

.solution-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.solution-item {
    padding: 2rem;
    background: #F0F0ED;
    border-radius: var(--radius-xl);
    line-height: 1.7;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    border: 1px solid var(--border-light);
}

.solution-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 40px;
    margin-bottom: 0.5rem;
}

.solution-icon i {
    color: #F39235;
    font-size: 40px;
}

.solution-item strong {
    color: var(--text-dark);
    font-weight: 400;
    font-size: 16px;
    display: block;
    flex: 1;
}

.solution-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-color);
}

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

@media (min-width: 768px) {
    .features-grid,
    .models-grid {
        gap: 2.5rem;
    }
}

@media (min-width: 1200px) {
    .features-grid,
    .models-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

.model-card {
    padding: 0;
}

.model-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: var(--bg-light);
    position: relative;
}

.model-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.model-card:hover .model-image img {
    transform: scale(1.08);
}

.model-card h3 {
    padding: 2rem 2rem 1rem;
    border-top: none;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.model-card p {
    padding: 0 2rem 2rem;
    color: var(--text-medium);
    line-height: 1.7;
    flex-grow: 1;
    font-size: 1rem;
}

/* FAD Screenshot */
.fad-screenshot {
    margin: 4rem 0;
}

.screenshot-container {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: var(--bg-dark);
    max-width: 1300px;
    margin: 0 auto;
}

.screenshot-image {
    width: 100%;
    height: auto;
    display: block;
    min-height: 500px;
    object-fit: cover;
}

.screenshot-overlay {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 2;
}

.screenshot-badge {
    background: var(--primary-color);
    color: var(--bg-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: var(--shadow-md);
}

.feature-card,
.model-card {
    background: white;
    padding: 0;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card:hover,
.model-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-color);
}

.feature-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: var(--bg-light);
    position: relative;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.feature-card:hover .feature-image img {
    transform: scale(1.08);
}

/* Icons */
.feature-icon,
.model-icon,
.section-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.feature-icon i,
.model-icon i,
.section-icon i {
    font-size: 40px;
    color: var(--primary-color);
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

.feature-card:hover .feature-icon i,
.model-card:hover .model-icon i {
    transform: scale(1.1);
    color: var(--primary-dark);
}

/* Inline icons in text */
.content-text i.fas,
.content-text i.far,
.content-text i.fab,
.solution-list i.fas,
.solution-list i.far {
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-size: 1.1em;
}

.feature-content h4 i.fas,
.feature-content h4 i.far {
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-size: 1em;
}

.solution-box h3 i.fas {
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-size: 1.2em;
}

.feature-card h3,
.model-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 24px !important;
    margin-bottom: 0.5rem;
    color: #0b3b5e;
    line-height: 1.3;
}

.feature-content {
    padding: 0 2rem 2rem;
    flex-grow: 1;
}

.feature-content h4 {
    font-size: 1.125rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

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

.feature-card h3,
.model-card h3 {
    font-size: 24px !important;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card h4 {
    font-size: 1.125rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.feature-content p,
.model-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.highlight-text {
    background: var(--bg-lighter);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    font-weight: 500;
    font-size: 1.125rem;
    margin-top: 3rem;
    box-shadow: var(--shadow-sm);
    line-height: 1.8;
    color: var(--text-dark);
}

.cta-final {
    background: linear-gradient(135deg, #0B3B5E 0%, #00A7B7 100%);
    color: white;
    text-align: center;
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.05) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.05) 75%);
    background-size: 60px 60px;
    background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
    opacity: 0.3;
    pointer-events: none;
}

.cta-final .container {
    position: relative;
    z-index: 1;
}

.cta-final .section-title,
.cta-final .content-text {
    color: white !important;
    text-align: center;
}

.cta-final .section-title {
    margin-bottom: 1rem !important;
    color: white !important;
}

.cta-final h3.section-title {
    font-size: 24px !important;
}

.cta-final .content-text {
    margin-top: 0;
    margin-bottom: 1rem;
    color: white !important;
    text-align: center;
}

.cta-final .content-text p {
    color: white !important;
    text-align: center;
}

.cta-final .content-text p b {
    color: white !important;
}

.cta-final .section-footer {
    margin-top: 1rem !important;
    padding-top: 0 !important;
}

.cta-final .btn-primary {
    background: #F39235;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(243, 146, 53, 0.2);
}

.cta-final .btn-primary:hover {
    background: #F5A742;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 8px 12px -2px rgba(243, 146, 53, 0.3);
}

/* Affidabilità Section */
.affidabilita-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.affidabilita-text {
    flex: 1;
}

.affidabilita-image {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.affidabilita-image img {
    width: 100%;
    height: auto;
    display: block;
    min-height: 500px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .affidabilita-content {
        grid-template-columns: 1fr;
    }
}

/* Page Hero */
.page-hero {
    padding: 8rem 0 1rem;
    background: #F0F0ED;
    color: var(--text-dark);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.page-hero .container {
    padding: 0 10px !important;
}

.page-hero-split {
    display: grid;
    grid-template-columns: 60% 40%;
    width: 100%;
    min-height: calc(85vh - 80px);
    gap: 0;
}

.page-hero-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: #F0F0ED;
    padding: 4rem 0;
    position: relative;
}

.page-hero-right {
    position: relative;
    overflow: hidden;
    background: #e0e0dc;
    padding: 0;
}

.page-hero-right::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 60px;
    background: #F0F0ED;
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
    z-index: 2;
}

.page-hero-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.page-hero-image-wrapper::after {
    display: none;
}

.page-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-dark);
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.page-hero-content h1 {
    color: #0b3b5e !important;
    font-size: 50px !important;
    font-weight: 800 !important;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-align: center;
}

.page-hero-content .hero-description,
.page-hero-content p {
    color: var(--text-medium);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.6;
    margin-bottom: 0;
    text-align: center;
}

.page-hero-content .btn {
    margin-top: 2rem;
    display: inline-block;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800 !important;
    margin-bottom: 1.5rem;
    color: white;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: -0.03em;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.page-hero .hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.75;
    max-width: 1300px;
    margin: 0 auto 1.5rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    letter-spacing: -0.01em;
}

.page-hero p {
    font-size: clamp(0.9375rem, 1.5vw, 1.125rem);
    line-height: 1.7;
    max-width: 1300px;
    margin: 0 auto 2rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* Screenshots Section */
.screenshots-section {
    background: var(--bg-light);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.screenshot-item {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.screenshot-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
    min-height: 400px;
    object-fit: cover;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.screenshot-item {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.screenshot-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
    min-height: 400px;
    object-fit: cover;
}

.screenshot-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    padding: 1.5rem;
    font-weight: 600;
    font-size: 1.125rem;
}

/* Feature Detail */
.feature-detail {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 2rem;
    align-items: start;
    margin: 2rem 0;
}

.feature-detail-content {
    flex: 1;
}

.feature-detail-content h3 {
    font-size: clamp(1.5rem, 3vw, 1.75rem);
    margin-bottom: 1.5rem;
    color: #0b3b5e;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.feature-detail-content p {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.75;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.feature-items {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin: 1.5rem 0;
}

.feature-item {
    padding: 1.125rem 1.5rem;
    background: var(--bg-lighter);
    border-left: 3px solid var(--primary-color);
    border-radius: var(--radius-md);
    line-height: 1.7;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: var(--text-medium);
    transition: all 0.2s ease;
}

.feature-item:hover {
    background: #f8fafc;
    transform: translateX(2px);
}

.feature-detail-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-detail-image:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.feature-detail-image img {
    width: 100%;
    height: auto;
    display: block;
    min-height: 400px;
    object-fit: cover;
}

/* Management Grid */
.management-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.management-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--primary-color);
}

.management-card h3 {
    font-size: 24px !important;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

/* CTA Section */
.cta-section {
    background: var(--bg-light);
    text-align: center;
    padding: 4rem 0;
}

.cta-section.cta-final {
    background: linear-gradient(135deg, #0B3B5E 0%, #00A7B7 100%);
    color: white;
    text-align: center;
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.05) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.05) 75%);
    background-size: 60px 60px;
    background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
    opacity: 0.3;
    pointer-events: none;
}

.cta-final .container {
    position: relative;
    z-index: 1;
}

.cta-section h4 {
    font-size: 20px !important;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

/* Model Detail */
.model-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
    margin: 2rem 0;
}

.model-detail-content {
    flex: 1;
}

.model-detail-content h3 {
    font-size: clamp(1.5rem, 3vw, 1.75rem);
    margin-bottom: 1.5rem;
    color: #0b3b5e;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.model-detail-content h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    margin-bottom: 1.5rem;
    color: #0b3b5e;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.model-detail-content h4 {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    color: #0b3b5e;
    font-weight: 700;
    line-height: 1.4;
}

.model-detail-content p {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.75;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.model-detail-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.model-detail-image:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.model-detail-image img {
    width: 100%;
    height: auto;
    display: block;
    min-height: 500px;
    object-fit: cover;
}

/* Comparison Table */
.comparison-section {
    background: var(--bg-lighter);
    padding: 5rem 0;
    border-radius: var(--radius-xl);
}

.comparison-table {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin: 2rem 0;
}

.comparison-header,
.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1px;
    background: var(--border-color);
}

.comparison-header {
    background: var(--bg-dark);
    color: white;
}

.comparison-cell {
    padding: 1.5rem;
    background: white;
}

.comparison-header .comparison-cell {
    background: var(--bg-dark);
    color: white;
    font-weight: 600;
    text-align: center;
}

.comparison-row .comparison-cell:first-child {
    font-weight: 500;
}

.comparison-row .comparison-cell:not(:first-child) {
    text-align: center;
    font-size: 1.5rem;
}

.nav-link.active {
    color: #F39235;
    font-weight: 600;
}

.nav-link.active::after {
    display: none;
}

/* FAQ Section */
.faq-section {
    background: #F0F0ED;
    padding: 2rem 0 4rem;
}

.faq-category {
    background: transparent;
    padding: 0;
    margin-bottom: 4rem;
}

.faq-category:last-of-type {
    margin-bottom: 3rem;
}

.faq-category h2 {
    font-size: 24px !important;
    margin-top: 4rem;
    margin-bottom: 2.5rem;
    color: #0b3b5e;
    font-weight: 700;
    text-align: center;
}

.faq-category:first-child {
    margin-top: 0;
}

.faq-category:first-child h2 {
    margin-top: 0;
    margin-bottom: 2.5rem;
}

/* FAQ Accordion */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-accordion-item {
    background: white;
    border: none;
    border-bottom: 1px solid var(--border-color);
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.faq-accordion-item:first-child {
    border-top: 1px solid var(--border-color);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.faq-accordion-item:last-child {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.faq-accordion-item:hover {
    background: white;
}

.faq-accordion-item[aria-expanded="true"] {
    background: white;
}

.faq-accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    min-height: 70px;
    align-items: center;
}

.faq-accordion-header h3 {
    font-size: 18px !important;
    margin: 0;
    color: #0b3b5e;
    font-weight: 600;
    flex: 1;
    padding-right: 1.5rem;
    line-height: 1.5;
}

.faq-accordion-header:hover {
    background-color: transparent;
}

.faq-accordion-item[aria-expanded="true"] .faq-accordion-header {
    background-color: transparent;
}

.faq-accordion-header h3 {
    font-size: 18px !important;
    margin: 0;
    color: #0b3b5e;
    font-weight: 600;
    flex: 1;
    padding-right: 1rem;
    line-height: 1.4;
}

.faq-accordion-icon {
    color: #0b3b5e;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.faq-accordion-icon i {
    transition: transform 0.3s ease;
}

.faq-accordion-item[aria-expanded="true"] .faq-accordion-icon i {
    transform: rotate(180deg);
}

.faq-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.faq-accordion-item[aria-expanded="true"] .faq-accordion-content {
    max-height: 1000px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-accordion-content p {
    color: var(--text-dark);
    line-height: 1.8;
    margin: 0 0 1rem 0;
    font-size: 16px !important;
}

.faq-accordion-content p:first-child {
    margin-top: 0;
}

.faq-accordion-content p:last-child {
    margin-bottom: 0;
}

.faq-accordion-content a {
    color: #F39235;
    text-decoration: none;
    font-weight: 600;
}

.faq-accordion-content a:hover {
    color: #F5A742;
    text-decoration: underline;
}

.faq-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 2.5rem;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.faq-cta:hover {
    box-shadow: var(--shadow-md);
}

/* Contacts Section */
.contacts-section {
    background: var(--bg-lighter);
}

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

.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.contact-form-wrapper:hover {
    box-shadow: var(--shadow-md);
}

.form-header {
    margin-bottom: 2rem;
}

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

.form-header p {
    color: var(--text-light);
    line-height: 1.7;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.help-links-section {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

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

.help-links-list {
    list-style: none;
    margin-top: 1.5rem;
}

.help-links-list li {
    padding: 0.75rem 0;
    color: var(--text-light);
    line-height: 1.8;
}

/* Coming Soon */
.coming-soon-box {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    max-width: 1300px;
    margin: 0 auto;
}

.coming-soon-box h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.coming-soon-box p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.team-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    position: relative;
}

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

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

.team-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.25rem;
    color: var(--text-dark);
}

.team-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.7;
}

.team-card-info p.team-role {
    font-size: 12px !important;
}

.competence-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.competence-text {
    flex: 1;
}

.competence-image {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.competence-image img {
    width: 100%;
    height: auto;
    display: block;
    min-height: 600px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .feature-detail,
    .model-detail,
    .competence-content {
        grid-template-columns: 1fr;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
    
    .management-grid {
        grid-template-columns: 1fr;
    }

    .comparison-header,
    .comparison-row {
        grid-template-columns: 1fr;
    }

    .comparison-header .comparison-cell:not(:first-child),
    .comparison-row .comparison-cell:not(:first-child) {
        border-top: 1px solid var(--border-color);
    }

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

/* About Section */
.about {
    background-color: var(--bg-light);
}

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

.about-text h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.875rem;
}

.about-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-placeholder svg {
    width: 100%;
    height: 100%;
}

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

.corso-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
}

.corso-card.featured {
    border-top: 4px solid var(--primary-color);
}

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

.corso-badge {
    display: inline-block;
    background-color: var(--bg-dark);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.corso-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.corso-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.section-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
}

.business-models .section-footer {
    margin-top: 1rem;
    padding-top: 0.5rem;
}

.gestione-section .section-footer {
    margin-top: 2.5rem;
    padding-top: 0;
}

.gestione-section .modelli-tabs-container {
    margin-bottom: 0.5rem;
}

.cta-final .section-footer {
    margin-top: 1rem;
    padding-top: 0;
}

.section-footer .btn {
    margin: 0 auto;
}

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

.corso-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.corso-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.corso-link:hover {
    color: var(--primary-dark);
}

/* Full Vision Section */
.fullvision {
    background-color: var(--bg-light);
}

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

.fullvision-features {
    list-style: none;
    margin: 1.5rem 0;
}

.fullvision-features li {
    padding: 0.75rem 0;
    color: var(--text-light);
    font-size: 1.125rem;
}

.fullvision-image .image-placeholder {
    height: 400px;
}

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

.news-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

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

.news-date {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

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

.news-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.news-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.news-link:hover {
    color: var(--primary-dark);
}

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

.struttura-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.struttura-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.struttura-image .image-placeholder {
    height: 100%;
    border-radius: 0;
}

.struttura-content {
    padding: 1.5rem;
}

.struttura-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

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

/* Contatti Section */
.contatti-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contatti-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.info-text h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.info-text p {
    color: var(--text-light);
    line-height: 1.7;
}

.contatti-form {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: white;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(243, 146, 53, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background-color: #000000;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.footer-section p {
    color: white;
    line-height: 1.7;
}

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

.footer-section:nth-child(2) ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 1rem;
}

@media (max-width: 768px) {
    .footer-section:nth-child(2) ul {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
}

@media (max-width: 768px) {
    .footer {
        overflow-x: hidden !important;
        width: 100%;
        max-width: 100%;
    }

    .footer .container {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
        padding: 0 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
    }

    .footer-section {
        text-align: center !important;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
    }

    .footer-section ul {
        text-align: center;
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
    }

    .footer-section:nth-child(2) ul {
        grid-template-columns: 1fr !important;
        text-align: center;
    }

    .footer-section ul li {
        text-align: center;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .footer-logo-image {
        margin: 0 auto 1rem;
        max-width: 300px !important;
        height: 90px !important;
        width: auto;
        object-fit: contain;
    }

    .footer-logo {
        text-align: center;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
    }

    .footer-logo p {
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }
}

.footer-section ul li i {
    font-size: 0.9em;
    opacity: 0.8;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section ul li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section ul li i {
    font-size: 0.9em;
    opacity: 0.8;
    width: 16px;
    text-align: center;
}

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

.footer-logo-image {
    height: 100px;
    width: auto;
    max-width: 100%;
    margin-bottom: 1rem;
    display: block;
    object-fit: contain;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: inherit;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .btn {
    padding: 0.75rem 1.5rem;
    white-space: nowrap;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 32px !important;
    }

    h2 {
        font-size: 26px !important;
    }

    h3 {
        font-size: 22px !important;
    }

    .hamburger {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .header {
        overflow-x: hidden !important;
        width: 100%;
        max-width: 100%;
    }

    .header .container {
        padding: 0 15px !important;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
    }

    .nav-wrapper {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
        gap: 1rem;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    .header.scrolled .navbar {
        padding: 0.5rem 0;
    }

    .logo {
        max-width: 60%;
        min-width: 120px;
        flex-shrink: 0 !important;
        overflow: visible !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 1001 !important;
    }

    .logo a {
        max-width: 100%;
        overflow: visible !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .logo-image {
        height: 52px !important;
        max-width: 100% !important;
        width: auto !important;
        object-fit: contain !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 1001 !important;
    }

    .header.scrolled .logo-image {
        height: 42px !important;
        max-width: 100% !important;
    }

    .nav-menu {
        position: fixed !important;
        left: 0 !important;
        top: 80px !important;
        transform: translateY(-100%) !important;
        flex-direction: column;
        background-color: white !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        height: calc(100vh - 80px) !important;
        max-height: calc(100vh - 80px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        text-align: left;
        transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
        padding: 1.5rem 0 !important;
        gap: 0;
        align-items: stretch;
        z-index: 1002 !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .nav-menu.active {
        transform: translateY(0) !important;
        transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    /* Assicura che l'header rimanga sopra */
    .header {
        z-index: 1000 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        background-color: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.05) !important;
    }

    .navbar {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
    }

    .nav-wrapper {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .logo {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        flex-shrink: 0 !important;
    }

    .logo a {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .logo-image {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
    }

    .hamburger {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 1001 !important;
        flex-shrink: 0 !important;
        width: 30px !important;
        height: 24px !important;
        margin-left: auto !important;
    }

    .hamburger span {
        background-color: var(--text-dark) !important;
        width: 100% !important;
        height: 3px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .nav-actions {
        display: none !important;
    }

    /* Team Scroll Mobile - velocità più veloce */
    .team-scroll-container {
        animation: scroll-horizontal 25s linear infinite !important;
    }

    .hero-team-scroll .team-scroll-container {
        animation: scroll-horizontal 25s linear infinite !important;
    }

    body.menu-open {
        overflow: hidden;
    }

    .nav-menu li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-menu li:first-child {
        border-top: none;
    }

    .nav-link {
        display: block;
        padding: 1.25rem 2rem;
        width: 100%;
        font-size: 16px;
        font-weight: 500;
        color: var(--text-dark);
        transition: all 0.2s ease;
    }

    .nav-link:hover,
    .nav-link.active {
        background-color: rgba(243, 146, 53, 0.05);
        color: #F39235;
        padding-left: 2.5rem;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link::after {
        display: none;
    }

    .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none;
        border-radius: 0;
        background: var(--bg-light);
        margin: 0;
        padding: 0;
        display: none;
        width: 100%;
        min-width: auto;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }

    .dropdown-menu.active {
        display: block;
        max-height: 500px;
        padding: 0.5rem 0;
    }

    .dropdown-menu li {
        border-bottom: 1px solid var(--border-color);
    }

    .dropdown-menu a {
        padding: 0.75rem 2rem 0.75rem 3rem;
        font-size: 0.9375rem;
    }

    .nav-dropdown:hover .dropdown-menu {
        transform: none;
    }

    .dropdown-arrow {
        float: right;
        margin-left: 0.5rem;
    }

    .nav-actions {
        display: none;
    }

    /* Business Opportunity Responsive */
    .business-header-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .business-features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* FAD Showcase Responsive */
    .fad-showcase-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .fad-feature-text h3,
    .feature-showcase-text h3,
    .model-content h3 {
        font-size: clamp(1.5rem, 4vw, 1.75rem);
    }
    
    .combined-card h3,
    .qualita-feature-card h3,
    .solution-box h3 {
        font-size: clamp(1.25rem, 3vw, 1.5rem);
    }

    /* Feature Showcase Responsive */
    .feature-showcase-item {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .feature-showcase-image img {
        height: 350px;
    }

    /* Models Showcase Responsive */
    .models-showcase {
        gap: 4rem;
    }

    .model-showcase-item,
    .model-showcase-item.reverse {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .model-showcase-item.reverse .model-visual,
    .model-showcase-item.reverse .model-content {
        order: unset;
    }

    .model-image-wrapper img {
        height: 300px;
    }

    /* Combined Grid Responsive */
    .combined-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Affidabilità Responsive */
    .affidabilita-quote-simple {
        padding: 0.5rem 0 1.5rem 0;
        max-width: 100%;
        overflow: visible;
    }

    .affidabilita-quote-simple p {
        font-size: 16px;
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        padding: 0;
    }

    .affidabilita-simple-layout {
        padding: 1.25rem !important;
    }

    .dashboard-feature-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Gestione tabs - switch su 2 righe */
    .tabs-nav {
        flex-direction: column !important;
        gap: 1rem !important;
    }

    .tab-wrapper {
        width: 100% !important;
        flex: none !important;
    }

    /* Tab content - immagine prima, testo dopo */
    .tab-content {
        display: flex;
        flex-direction: column;
    }

    .tab-content .image-container {
        order: 1;
        margin-top: 0;
        margin-bottom: 1.5rem;
        padding: 0 !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .tab-content .image-container img {
        width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
        position: static !important;
        border-radius: 12px !important;
    }

    .tab-content p,
    .tab-content .text-content {
        order: 2;
    }

    .dashboard-image-left,
    .dashboard-image-right {
        order: -1;
    }

    .dashboard-feature-row:nth-child(2) .dashboard-image-right {
        order: -1;
    }

    .dashboard-feature-row:nth-child(2) .dashboard-features-left {
        order: 1;
    }

    .affidabilita-showcase {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .affidabilita-image-wrapper img {
        height: 400px;
    }

    .affidabilita-badge {
        position: relative;
        top: auto;
        right: auto;
        margin-top: 1.5rem;
    }

    .affidabilita-stats {
        grid-template-columns: 1fr;
    }

    .hero-split,
    .page-hero-split {
        grid-template-columns: 1fr;
        min-height: auto;
        width: 100%;
        max-width: 100%;
    }

    .hero-left,
    .page-hero-left {
        padding: 3rem 1.5rem;
        min-height: auto;
        width: 100%;
        max-width: 100%;
    }

    .hero-right,
    .page-hero-right {
        min-height: auto;
        width: 100%;
        max-width: 100%;
    }

    .page-hero-content {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    section {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    img {
        max-width: 100% !important;
        height: auto !important;
        width: auto !important;
    }

    .page-hero-image,
    .hero-image,
    .dashboard-image-left img,
    .dashboard-image-right img,
    .gestione-livello-image img,
    .model-image-wrapper img,
    .page-hero-image-wrapper img,
    .hero-image-wrapper img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        object-fit: cover;
        display: block;
    }

    .page-hero-image-wrapper,
    .hero-image-wrapper,
    .dashboard-image-left,
    .dashboard-image-right,
    .gestione-livello-image,
    .model-image-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        position: relative;
    }

    .page-hero-image-wrapper,
    .hero-image-wrapper,
    .dashboard-image-left,
    .dashboard-image-right,
    .gestione-livello-image,
    .model-image-wrapper {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .business-header-layout,
    .dashboard-features-layout,
    .dashboard-features-grid,
    .dashboard-features-grid-modern,
    .gestione-livelli-content,
    .dashboard-content-box,
    .dashboard-content-modern,
    .modelli-cards-grid {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .dashboard-header-modern {
        margin-bottom: 2rem;
    }

    .dashboard-features-grid-modern {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .modelli-cards-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 1.5rem auto;
        padding: 0.5rem 0;
    }

    .dashboard-feature-image-card {
        grid-column: span 1;
    }

    .dashboard-feature-card-modern {
        padding: 1.5rem;
    }

    .modelli-cards-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .modelli-tabs-nav {
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        padding: 1rem !important;
        gap: 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 2rem !important;
        background: #1a1a1a !important;
        border-radius: 12px !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .modelli-tab-btn {
        padding: 1rem 1.5rem !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        width: 100% !important;
        flex: none !important;
        min-width: 0 !important;
        background: transparent !important;
        border: 2px solid rgba(255, 255, 255, 0.2) !important;
        color: #9ca3af !important;
        border-radius: 8px !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        text-align: center !important;
    }

    .modelli-tab-btn:hover {
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border-color: rgba(255, 255, 255, 0.3) !important;
    }

    .modelli-tab-btn.active {
        background: rgba(255, 255, 255, 0.15) !important;
        color: #ffffff !important;
        border-color: rgba(255, 255, 255, 0.4) !important;
        font-weight: 700 !important;
    }

    /* Box modelli - layout mobile completo e definitivo */
    .diventa-partner-modelli .modelli-tabs-wrapper,
    .piattaforma-fad-modelli .modelli-tabs-wrapper {
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .diventa-partner-modelli .modello-tab-panel,
    .piattaforma-fad-modelli .modello-tab-panel {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        position: relative !important;
    }

    .diventa-partner-modelli .modello-tab-panel.active,
    .piattaforma-fad-modelli .modello-tab-panel.active {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        display: block !important;
    }

    .diventa-partner-modelli .modello-tab-panel:not(.active),
    .piattaforma-fad-modelli .modello-tab-panel:not(.active) {
        display: none !important;
    }

    .diventa-partner-modelli .modello-card-reseller,
    .diventa-partner-modelli .modello-card-white-label,
    .piattaforma-fad-modelli .modello-card-reseller,
    .piattaforma-fad-modelli .modello-card-white-label {
        flex-direction: column !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
    }

    .diventa-partner-modelli .modello-card-reseller .modello-image,
    .diventa-partner-modelli .modello-card-white-label .modello-image,
    .piattaforma-fad-modelli .modello-card-reseller .modello-image,
    .piattaforma-fad-modelli .modello-card-white-label .modello-image {
        width: 100% !important;
        order: 1 !important;
        border-radius: 20px 20px 0 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
    }

    .diventa-partner-modelli .modello-card-reseller .modello-image img,
    .diventa-partner-modelli .modello-card-white-label .modello-image img,
    .piattaforma-fad-modelli .modello-card-reseller .modello-image img,
    .piattaforma-fad-modelli .modello-card-white-label .modello-image img {
        width: 100% !important;
        height: auto !important;
        max-height: 250px !important;
        min-height: 200px !important;
        object-fit: cover !important;
        border-radius: 20px 20px 0 0 !important;
        display: block !important;
    }

    .diventa-partner-modelli .modello-card-reseller .modello-content,
    .diventa-partner-modelli .modello-card-white-label .modello-content,
    .piattaforma-fad-modelli .modello-card-reseller .modello-content,
    .piattaforma-fad-modelli .modello-card-white-label .modello-content {
        width: 100% !important;
        order: 2 !important;
        padding: 1.5rem !important;
        display: flex !important;
        flex-direction: column !important;
        flex-shrink: 0 !important;
    }

    .diventa-partner-modelli .modello-card-reseller .modello-content h3,
    .diventa-partner-modelli .modello-card-white-label .modello-content h3,
    .piattaforma-fad-modelli .modello-card-reseller .modello-content h3,
    .piattaforma-fad-modelli .modello-card-white-label .modello-content h3 {
        order: 1 !important;
        margin-bottom: 1rem !important;
        margin-top: 0 !important;
        text-align: left !important;
        font-size: 22px !important;
        width: 100% !important;
    }

    .diventa-partner-modelli .modello-card-reseller .modello-content .modello-description,
    .diventa-partner-modelli .modello-card-white-label .modello-content .modello-description,
    .piattaforma-fad-modelli .modello-card-reseller .modello-content .modello-description,
    .piattaforma-fad-modelli .modello-card-white-label .modello-content .modello-description {
        order: 2 !important;
        margin-bottom: 1rem !important;
        text-align: left !important;
        width: 100% !important;
    }

    .diventa-partner-modelli .modello-card-reseller .modello-content h4,
    .diventa-partner-modelli .modello-card-white-label .modello-content h4,
    .piattaforma-fad-modelli .modello-card-reseller .modello-content h4,
    .piattaforma-fad-modelli .modello-card-white-label .modello-content h4 {
        order: 3 !important;
        margin-bottom: 1rem !important;
        text-align: left !important;
        width: 100% !important;
    }

    .diventa-partner-modelli .modello-card-reseller .modello-content .modello-features,
    .diventa-partner-modelli .modello-card-white-label .modello-content .modello-features,
    .piattaforma-fad-modelli .modello-card-reseller .modello-content .modello-features,
    .piattaforma-fad-modelli .modello-card-white-label .modello-content .modello-features {
        order: 4 !important;
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        text-align: left !important;
        width: 100% !important;
        display: grid !important;
    }

    /* Reset grid-column per feature items su mobile */
    .diventa-partner-modelli .modello-feature-item:nth-child(1),
    .diventa-partner-modelli .modello-feature-item:nth-child(2),
    .diventa-partner-modelli .modello-feature-item:nth-child(3),
    .diventa-partner-modelli .modello-feature-item:nth-child(4),
    .diventa-partner-modelli .modello-feature-item:nth-child(5) {
        grid-column: 1 / -1 !important;
    }

    /* Riduce lo spazio tra titoli e paragrafi nei check su mobile */
    .diventa-partner-modelli .modello-feature-item h5 {
        margin-bottom: 0.25rem !important;
    }

    .diventa-partner-modelli .modello-feature-item p {
        margin-top: 0 !important;
    }

    .modello-content {
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
    }

    .modello-features {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    /* Assicura che i check di diventa-partner siano uno sotto l'altro su mobile */
    .diventa-partner-modelli .modello-features {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    @media (max-width: 480px) {
        .modello-features {
            grid-template-columns: 1fr;
        }

        .diventa-partner-modelli .modello-features {
            grid-template-columns: 1fr !important;
        }
    }

    .modello-card-reseller .modello-image,
    .modello-card-white-label .modello-image {
        width: 100% !important;
        border-radius: 20px 20px 0 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden;
    }

    .modello-card-reseller .modello-image img,
    .modello-card-white-label .modello-image img {
        border-radius: 20px 20px 0 0 !important;
        width: 100% !important;
        height: auto !important;
        object-fit: cover;
        padding: 0 !important;
        margin: 0 !important;
    }

    .modello-image {
        height: auto;
    }
    
    .modello-image img {
        min-height: 200px;
        max-height: 250px;
    }

    .dashboard-features-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    .solution-features-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    .dashboard-feature-card-image {
        grid-column: span 1;
    }

    .dashboard-feature-card {
        padding: 1.25rem !important;
    }

    .solution-section-modern .dashboard-features-grid {
        gap: 1.5rem !important;
    }

    .modelli-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        margin: 1.5rem auto;
        padding: 0.5rem 0;
    }

    /* Home page - modelli-cards-grid: immagini full width nel loro box */
    .modelli-cards-grid .modello-card {
        flex-direction: column !important;
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 16px !important;
        overflow: hidden;
    }

    .modelli-cards-grid .modello-image {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 16px 16px 0 0 !important;
    }

    .modelli-cards-grid .modello-image img {
        width: 100% !important;
        height: auto !important;
        min-height: 200px !important;
        max-height: none !important;
        object-fit: cover !important;
        border-radius: 16px 16px 0 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .hero-title,
    .page-hero-content h1 {
        font-size: 32px !important;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 18px !important;
        line-height: 1.5;
    }
    
    .page-hero-content p {
        font-size: 16px !important;
        line-height: 1.6;
    }

    .page-hero {
        padding: 7rem 0 2rem;
    }

    .page-hero-content {
        padding: 0 15px;
    }

    /* Hero Section Mobile */
    .hero {
        min-height: auto;
        padding-top: 70px;
        padding-bottom: 1rem;
    }

    .hero-left {
        padding: 2rem 0;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-buttons {
        margin-bottom: 2rem;
    }

    /* Buttons Mobile */
    .btn {
        white-space: normal !important;
        word-wrap: break-word;
        padding: 0.625rem 1rem !important;
        font-size: 14px !important;
        width: 100%;
        max-width: 100%;
        text-align: center;
        display: flex;
        justify-content: center;
    }

    .btn-large {
        padding: 0.75rem 1rem !important;
        font-size: 14px !important;
        width: 100%;
        max-width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 100%;
    }

    /* Section Padding Mobile */
    .section {
        padding: 2rem 0 !important;
    }

    /* Paragrafi su mobile */
    p {
        margin-bottom: 15px !important;
    }

    /* Tutti gli h2 a 26px su mobile */
    h2,
    h2.section-title,
    .section-title,
    .business-main-title,
    .business-main-title-centered,
    .modelli-main-title,
    .gestione-title {
        font-size: 26px !important;
    }

    .business-main-title-centered {
        margin-bottom: 0.75rem !important;
    }

    /* CTA and Solution Buttons Mobile */
    .solution-cta-modern .btn,
    .section-footer .btn,
    .cta-section .btn,
    .faq-cta .btn {
        width: 100%;
        max-width: 100%;
        white-space: normal !important;
        word-wrap: break-word;
    }

    /* Prevent Horizontal Overflow */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }

    body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    html {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    /* Team Scroll Mobile */
    .team-scroll-container {
        animation: scroll-horizontal 25s linear infinite !important;
    }

    .hero-team-scroll .team-scroll-container {
        animation: scroll-horizontal 25s linear infinite !important;
    }

    .team-card {
        width: calc((100vw - 60px) / 2) !important;
        min-width: 160px !important;
        max-width: 200px !important;
        height: 320px !important;
    }

    .team-name {
        font-size: 0.9375rem !important;
    }

    .team-role {
        font-size: 12px !important;
        padding: 0 8px !important;
    }
    
    .team-card-info .team-role {
        font-size: 12px !important;
    }

    .about-content,
    .contatti-content,
    .fullvision-content {
        grid-template-columns: 1fr;
    }

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

    .corsi-grid,
    .strutture-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 26px !important;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }

    h2 {
        font-size: 26px !important;
    }

    .section {
        padding: 2.5rem 0;
        margin-bottom: 0;
    }

    .corsi-support-combined {
        padding: 2.5rem 0 !important;
    }

    .corsi-support-combined .container {
        padding: 0 20px;
    }

    .business-opportunity {
        padding: 2.5rem 0 !important;
        overflow: visible !important;
        margin-bottom: 0;
    }

    .business-opportunity-header {
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }

    .business-intro-text-centered {
        padding: 0 1rem;
    }

    .solution-section-modern {
        padding: 0 1rem;
    }

    .container {
        padding: 0 15px;
    }

    .business-main-title {
        font-size: clamp(1.5rem, 5vw, 2rem) !important;
        line-height: 1.3;
    }

    .business-intro-text {
        font-size: clamp(0.9375rem, 2vw, 1rem);
        line-height: 1.7;
    }

    .modello-content {
        padding: 1.5rem;
    }

    .dashboard-content-box,
    .gestione-livelli-content {
        padding: 1.5rem;
    }

    .dashboard-content-box h3 {
        text-align: left !important;
    }

    .dashboard-content-box p {
        text-align: left !important;
    }

    /* Chi Siamo - Team Section padding mobile */
    .team-section-highlight .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .team-section-highlight .container > div {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .team-section-highlight .container > div > * {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .btn {
        font-size: 16px !important;
        padding: 0.75rem 1.25rem;
        width: auto;
        max-width: 100%;
        justify-content: center;
        display: inline-flex;
        white-space: normal;
    }

    .btn-large {
        font-size: 16px !important;
        padding: 0.875rem 1.5rem;
        width: auto;
        max-width: 100%;
    }

    .page-hero-content .btn,
    .section-footer .btn,
    .cta-section .btn,
    .faq-cta .btn {
        width: 100%;
        max-width: 100%;
    }

    .faq-accordion-header {
        padding: 1rem;
        min-height: 60px;
    }

    .faq-accordion-header h3 {
        font-size: 16px !important;
        padding-right: 1rem;
    }

    .faq-accordion-content {
        padding: 0 1rem;
    }

    .faq-accordion-item[aria-expanded="true"] .faq-accordion-content {
        padding: 0 1rem 1rem;
    }

    .gestione-livello-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gestione-livello-image {
        order: -1;
    }

    .gestione-livello-reverse .gestione-livello-image {
        order: -1;
    }

    .qualita-features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .qualita-feature-card {
        padding: 1.5rem;
    }

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

    .footer-section {
        text-align: center !important;
    }

    .footer-section ul {
        text-align: center;
        display: block;
        width: 100%;
    }

    .footer-section ul li {
        text-align: center;
        justify-content: center;
        width: 100%;
    }

    .footer-section:nth-child(2) ul {
        grid-template-columns: 1fr !important;
        text-align: center;
    }

    .footer-logo-image {
        margin: 0 auto 1rem;
        max-width: 300px !important;
        height: 90px !important;
        width: auto !important;
    }

    .footer-logo {
        text-align: center;
    }
    
    .fad-feature-text h3,
    .feature-showcase-text h3,
    .model-content h3 {
        font-size: clamp(1.5rem, 4vw, 1.75rem);
    }
    
    .combined-card h3,
    .qualita-feature-card h3,
    .solution-box h3 {
        font-size: clamp(1.25rem, 3vw, 1.5rem);
    }
    
    .content-text,
    .content-text p,
    .fad-feature-text p,
    .feature-showcase-text .feature-content p {
        font-size: 16px !important;
    }

    /* Rimuovo le regole che modificano i font su mobile piccolo */
    .content-text,
    .content-text p,
    .fad-feature-text p,
    .feature-showcase-text .feature-content p,
    .model-content p,
    .combined-card p,
    .qualita-feature-card p {
        font-size: 16px !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .newsletter-form {
        flex-direction: column;
    }

    /* Text Content Mobile */
    p {
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
        margin-bottom: 15px !important;
    }

    /* Images Mobile */
    img {
        max-width: 100% !important;
        height: auto !important;
        width: auto !important;
    }

    /* Grid Items Mobile */
    .dashboard-feature-card,
    .solution-feature-card,
    .qualita-feature-card {
        padding: 1.25rem !important;
    }

    /* Business Text Mobile */
    .business-intro-text-centered,
    .business-intro-text {
        font-size: 16px !important;
        line-height: 1.6;
        word-wrap: break-word;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 32px !important;
    }

    h2 {
        font-size: 26px !important;
    }

    h3 {
        font-size: 22px !important;
    }

    .hero-title,
    .page-hero-content h1 {
        font-size: 32px !important;
    }

    .hero-subtitle {
        font-size: 20px !important;
    }
    
    .page-hero-content p {
        font-size: 16px !important;
    }

    .hero-team-scroll {
        max-height: none !important;
        overflow-x: hidden !important;
        overflow-y: visible !important;
        padding: 1rem 0 4rem 0 !important;
        margin-top: 0 !important;
        margin-bottom: 1rem !important;
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(-50vw + 50%) !important;
        margin-right: calc(-50vw + 50%) !important;
    }

    .team-scroll-container {
        animation: scroll-horizontal 25s linear infinite !important;
        will-change: transform !important;
    }

    .hero-team-scroll .team-scroll-container {
        animation: scroll-horizontal 25s linear infinite !important;
    }

    .team-card {
        width: calc(100% - 1rem);
        min-width: calc(100vw - 2rem);
        height: 350px;
    }

    .team-card-info {
        padding: 1rem;
        min-height: 110px;
        height: 110px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        background: #000000 !important;
    }

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

    .section {
        padding: 1.5rem 0 !important;
    }

    .page-hero {
        padding: 6rem 0 1.5rem;
    }

    .container {
        padding: 0 15px !important;
    }

    /* Hero Mobile 480px */
    .hero {
        padding-top: 60px;
        padding-bottom: 1rem;
    }

    .hero-left {
        padding: 1.5rem 0;
    }

    .hero-content {
        padding: 0 0.5rem;
    }

    /* Buttons Mobile 480px */
    .btn {
        padding: 0.625rem 0.875rem !important;
        font-size: 13px !important;
    }

    .btn-large {
        padding: 0.625rem 0.875rem !important;
        font-size: 13px !important;
    }

    /* Team Cards Mobile 480px */
    .team-card {
        width: calc((100vw - 40px) / 2) !important;
        min-width: 140px !important;
        max-width: 180px !important;
        height: auto !important;
        min-height: 280px !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .team-card img {
        position: relative !important;
        height: auto !important;
        min-height: 180px !important;
        max-height: 180px !important;
        object-fit: cover !important;
        border-radius: 12px 12px 0 0 !important;
    }

    .team-card-info {
        padding: 0.75rem !important;
        min-height: 110px !important;
        height: 110px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        background: #000000 !important;
        position: relative !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .team-name {
        font-size: 18px !important;
        margin-bottom: 0.25rem !important;
    }

    .team-role {
        font-size: 12px !important;
        padding: 0 6px !important;
    }

    .nav-menu {
        gap: 0;
        top: 70px;
        height: calc(100vh - 70px);
        transform: translateY(-100%);
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-link {
        padding: 0.875rem 1.5rem;
        font-size: 15px;
    }

    .btn-nav {
        font-size: 16px;
        padding: 0.375rem 1rem;
    }

    .hero-team-scroll {
        padding: 1rem 0 3rem 0 !important;
        margin-top: 0 !important;
        margin-bottom: 1rem !important;
        overflow-x: hidden !important;
        overflow-y: visible !important;
        max-height: none !important;
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(-50vw + 50%) !important;
        margin-right: calc(-50vw + 50%) !important;
    }

    .team-scroll-container {
        animation: scroll-horizontal 25s linear infinite !important;
    }

    .team-card {
        width: calc(50% - 0.75rem);
        min-width: calc(50vw - 0.75rem);
        height: 400px;
    }

    .team-card-info {
        padding: 1rem;
    }

    .team-name {
        font-size: 1rem;
    }

    .team-role {
        font-size: 14px !important;
    }

    /* Tutti gli h2 a 26px su mobile 480px */
    h2,
    h2.section-title,
    .section-title,
    .business-main-title,
    .business-main-title-centered,
    .modelli-main-title,
    .gestione-title {
        font-size: 26px !important;
    }

    .business-main-title-centered {
        margin-bottom: 0.75rem !important;
    }

    .team-scroll-container {
        gap: 1.5rem !important;
        animation: scroll-horizontal 25s linear infinite !important;
        will-change: transform !important;
    }

    .logo-image {
        height: 55px;
    }

    .header.scrolled .logo-image {
        height: 40px;
    }

    .business-header-layout {
        gap: 2rem;
    }

    .dashboard-feature-item,
    .gestione-feature-item {
        padding: 0.5rem 0;
    }

    .faq-category h2 {
        font-size: 20px !important;
        margin-top: 3rem;
        margin-bottom: 2rem;
    }

    .faq-category:first-child h2 {
        margin-top: 0;
    }

    .faq-section {
        padding: 1.5rem 0 3rem;
    }

    .dropdown-menu a {
        padding: 0.75rem 1.5rem 0.75rem 2.5rem;
    }

    .btn {
        font-size: 16px !important;
        padding: 0.625rem 0.875rem;
    }

    .btn-large {
        font-size: 16px !important;
    }

    /* Additional Mobile Fixes 480px */
    .hero-subtitle {
        font-size: 16px !important;
        line-height: 1.5;
    }

    .business-intro-text-centered,
    .business-intro-text {
        font-size: 16px !important;
    }

    .content-text p {
        font-size: 15px !important;
    }

    .section-title {
        font-size: 26px !important;
    }

    h2 {
        font-size: 26px !important;
    }
}

