:root {
    --navy-deep: #071830;
    --navy-mid: #0D2D5E;
    --navy-bright: #1A4A8A;
    --blue: #2B6CB0;
    --blue-light: #4A90D9;
    --sky: #7EC8E3;
    --ice: #E8F4FD;
    --ice-dark: #C8E2F7;
    --white: #FFFFFF;
    --text-dark: #0D1F3C;
    --text-mid: #3A5070;
    --text-light: #7A9BB8;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'DM Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5% 0 2%;
    height: 70px;
    background: rgba(7, 24, 48, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(74, 144, 217, 0.15);
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(7, 24, 48, 0.98);
    height: 60px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    transition: transform 0.2s ease;
}

.nav-brand:hover {
    transform: scale(1.02);
}


.nav-logo-text {
    letter-spacing: 0.05em;
}

.nav-logo-accent {
    color: var(--sky);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
}

.nav-links a:hover {
    color: var(--sky);
}

.nav-cta {
    background: var(--blue-light);
    color: var(--white) !important;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    transition: all 0.25s ease;
    line-height: 1;
}

.nav-cta:hover {
    background: var(--sky) !important;
    color: var(--navy-deep) !important;
    transform: translateY(-1px);
}

.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding-top: 100px;
    overflow: hidden;
    background: var(--navy-deep);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(7, 24, 48, 0.75), rgba(7, 24, 48, 0.85)), url('assets/HeroBackground.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(74, 144, 217, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 144, 217, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridDrift 20s linear infinite;
}

@keyframes gridDrift {
    to {
        transform: translateY(60px);
    }
}

.hero-orb {
    position: absolute;
    top: 25%;
    right: 15%;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(126, 200, 227, 0.12) 0%, transparent 70%);
    pointer-events: none;
    animation: pulse 8s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 5%;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--sky);
    background: rgba(126, 200, 227, 0.1);
    border: 1px solid rgba(126, 200, 227, 0.25);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    animation: fadeUp 0.8s ease forwards;
}

.hero-inner-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    animation: fadeUp 0.8s 0.15s ease both;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 4.2vw, 3.8rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin: 1.5rem 0 2.2rem;
    animation: fadeUp 0.8s 0.3s ease both;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    animation: fadeUp 0.8s 0.45s ease both;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeUp 0.8s 0.5s ease both;
}

.hero-avatar-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    background: rgba(13, 45, 94, 0.45);
    border: 1px solid rgba(126, 200, 227, 0.3);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 2.5rem 2.5rem;
    box-shadow: 0 20px 50px rgba(7, 24, 48, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    animation: cardFloat 6s ease-in-out infinite;
    max-width: 400px;
    width: 100%;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-avatar-card:hover {
    border-color: rgba(126, 200, 227, 0.6);
    box-shadow: 0 25px 60px rgba(74, 144, 217, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.avatar-video-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    padding: 6px;
    background: linear-gradient(135deg, var(--sky), var(--blue), var(--navy-mid));
    box-shadow: 0 10px 35px rgba(7, 144, 217, 0.4);
    overflow: hidden;
}

.avatar-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    background: var(--navy-deep);
}

.avatar-card-info {
    text-align: center;
}

.avatar-card-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--sky);
    margin-bottom: 0.4rem;
}

.avatar-card-value {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.1;
}

.avatar-card-sub {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.4rem;
    font-weight: 300;
}

.audio-toggle-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(7, 24, 48, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s ease;
    opacity: 0;
    pointer-events: auto;
}

.hero-avatar-card:hover .audio-toggle-btn {
    opacity: 1;
}

.audio-toggle-btn:hover {
    background: var(--blue-light);
    border-color: var(--sky);
    transform: scale(1.1);
}

.audio-toggle-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.btn-primary {
    background: var(--blue-light);
    color: var(--white);
    border: none;
    padding: 0.9rem 2.2rem;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.25s ease;
}

.btn-primary:hover {
    background: var(--sky);
    color: var(--navy-deep);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(126, 200, 227, 0.3);
}

.btn-ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.9rem 2.2rem;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 400;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.25s ease;
}

.btn-ghost:hover {
    border-color: var(--sky);
    color: var(--sky);
    background: rgba(255, 255, 255, 0.02);
}



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

section {
    padding: 120px 5%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.section-lead {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-mid);
    max-width: 680px;
}

.skeleton-section {
    background: var(--ice);
    border-bottom: 1px solid rgba(74, 144, 217, 0.1);
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.skeleton-section:nth-of-type(even) {
    background: var(--white);
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.cose-section {
    background: var(--ice);
    border-bottom: 1px solid rgba(74, 144, 217, 0.1);
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 100px 5%;
}

.cose-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.cose-video-column {
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 720px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(7, 24, 48, 0.25);
    border: 1px solid rgba(74, 144, 217, 0.2);
    background: var(--navy-deep);
    aspect-ratio: 16 / 9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(126, 200, 227, 0.4), transparent, rgba(74, 144, 217, 0.4));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.video-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(74, 144, 217, 0.25);
}

.cose-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.cose-video::-webkit-media-controls {
    display: none !important;
}

.cose-video::-webkit-media-controls-enclosure {
    display: none !important;
}

.cose-video::-webkit-media-controls-panel {
    display: none !important;
}

.cose-content-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cose-content-column .section-title {
    margin-bottom: 0;
}

.cose-content-column .section-lead {
    max-width: 100%;
    text-align: justify;
}

.cose-action {
    margin-top: 1rem;
}

.vantaggi-section {
    background: var(--white);
    border-bottom: 1px solid rgba(74, 144, 217, 0.1);
    padding: 120px 5%;
}

.vantaggi-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vantaggi-header .section-lead {
    margin: 0 auto;
}

.vantaggi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    width: 100%;
}

.vantaggio-card {
    background: var(--ice);
    border-radius: 12px;
    padding: 2.2rem 1.8rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
    border-left: 3.5px solid var(--blue-light);
    box-shadow: 0 2px 15px rgba(13, 45, 94, 0.04);
    transition: background-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease, border-left-color 0.4s ease;
    height: 100%;
}

.vantaggio-card:hover {
    transform: translateY(-5px);
    background: var(--ice-dark);
    box-shadow: 0 8px 25px rgba(74, 144, 217, 0.15);
    border-left-color: var(--blue);
}

.vantaggio-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(26, 74, 138, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.vantaggio-card:hover .vantaggio-icon-wrapper {
    background: rgba(74, 144, 217, 0.2);
}

.vantaggio-icon {
    width: 26px;
    height: 26px;
    object-fit: contain;
    filter: invert(37%) sepia(93%) saturate(464%) hue-rotate(173deg) brightness(91%) contrast(92%);
    transition: filter 0.3s ease;
}

.funz-icon {
    width: 24px;
    height: 24px;
    color: var(--blue-light);
    transition: color 0.3s ease;
}

.vantaggio-card:hover .funz-icon {
    color: var(--blue);
}

.vantaggio-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--navy-mid);
    line-height: 1.25;
    transition: color 0.3s ease;
}

.vantaggio-card:hover .vantaggio-title {
    color: var(--blue);
}

.vantaggio-text {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-mid);
    transition: color 0.3s ease;
}

.vantaggio-card:hover .vantaggio-text {
    color: var(--text-dark);
}

@media (min-width: 992px) {
    .vantaggi-section {
        padding-bottom: 210px;
    }
    .vantaggio-card:nth-child(2) {
        margin-top: 30px;
    }
    .vantaggio-card:nth-child(3) {
        margin-top: 60px;
    }
    .vantaggio-card:nth-child(4) {
        margin-top: 90px;
    }
}

.funzionalita-section {
    position: relative;
    background: var(--ice);
    border-bottom: 1px solid rgba(74, 144, 217, 0.1);
    padding: 120px 5% 200px 5%;
}

.funzionalita-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.funzionalita-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 460px;
}

.funzionalita-info .section-badge {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--blue-light);
    margin-bottom: 0.5rem;
}

.funzionalita-info .section-title {
    font-size: clamp(2.4rem, 4.2vw, 3.4rem);
    line-height: 1.1;
    margin-bottom: 0;
}

.funzionalita-info .section-lead {
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-dark);
    max-width: 100%;
}

.funzionalita-info .section-desc {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.65;
    color: var(--text-mid);
    text-align: justify;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 520px;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    margin: 40px auto 0 auto;
}

.funzionalita-cards {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.funzionalita-cards .vantaggio-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 330px;
    margin: 0;
    padding: 1.2rem 1.4rem;
    gap: 0.6rem;
    border-radius: 10px;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), 
                opacity 0.6s ease, 
                z-index 0.6s ease,
                box-shadow 0.6s ease,
                background-color 0.4s ease;
    cursor: pointer;
    backface-visibility: hidden;
}

.funzionalita-cards .vantaggio-card.active {
    transform: translate(-50%, -50%) scale(1.1) translateZ(0);
    opacity: 1;
    z-index: 3;
    pointer-events: auto;
    box-shadow: 0 15px 35px rgba(13, 45, 94, 0.12);
}

.funzionalita-cards .vantaggio-card.prev {
    transform: translate(-140%, -50%) scale(0.9) translateZ(-80px) rotateY(20deg);
    opacity: 0.65;
    z-index: 2;
    pointer-events: auto;
}

.funzionalita-cards .vantaggio-card.next {
    transform: translate(40%, -50%) scale(0.9) translateZ(-80px) rotateY(-20deg);
    opacity: 0.65;
    z-index: 2;
    pointer-events: auto;
}

.funzionalita-cards .vantaggio-card.hidden {
    transform: translate(-50%, -50%) scale(0.8) translateZ(-150px);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}

.funzionalita-cards .vantaggio-icon-wrapper {
    width: 38px;
    height: 38px;
    border-radius: 8px;
}

.funzionalita-cards .vantaggio-icon {
    width: 20px;
    height: 20px;
}

.funzionalita-cards .vantaggio-title {
    font-size: 1.15rem;
}

.funzionalita-cards .vantaggio-text {
    font-size: 0.86rem;
    line-height: 1.55;
}

.funzionalita-dashboard {
    margin: 6rem auto;
    text-align: center;
    max-width: 1060px;
    width: 100%;
}

.dashboard-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(7, 24, 48, 0.22);
    border: 1px solid rgba(74, 144, 217, 0.25);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease;
    display: block;
}

.dashboard-img:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 40px 80px rgba(74, 144, 217, 0.35);
}


.metodo-container {
    max-width: 1200px;
    margin: 60px auto 0 auto;
}

.metodo-cascade {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: nowrap;
}

.metodo-card {
    flex: 1;
    min-width: 220px;
    max-width: 280px;
    height: 480px;
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 12px;
    color: var(--white);
    box-shadow: 0 15px 35px rgba(13, 45, 94, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.metodo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(13, 45, 94, 0.22);
    z-index: 10 !important;
}

.metodo-card.step-1 {
    margin-top: 0px;
    z-index: 1;
}

.metodo-card.step-2 {
    margin-top: 40px;
    margin-left: -20px;
    z-index: 2;
}

.metodo-card.step-3 {
    margin-top: 80px;
    margin-left: -20px;
    z-index: 3;
}

.metodo-card.step-4 {
    margin-top: 120px;
    margin-left: -20px;
    z-index: 4;
}

.metodo-card.step-1 {
    background-color: hsl(195, 85%, 28%);
}

.metodo-card.step-2 {
    background-color: hsl(195, 85%, 24%);
}

.metodo-card.step-3 {
    background-color: hsl(195, 85%, 20%);
}

.metodo-card.step-4 {
    background-color: hsl(195, 85%, 16%);
}

.metodo-number-wrapper {
    margin-bottom: 2rem;
}

.metodo-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--white);
}

.metodo-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.2rem;
    color: var(--white);
}

.metodo-card-text {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.analytics-section {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 160px 5%;
    overflow: hidden;
    background: var(--navy-deep);
}

.analytics-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 24, 48, 0.95) 0%, rgba(7, 24, 48, 0.85) 45%, rgba(7, 24, 48, 0.2) 100%), url('assets/MetodoBackground.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.analytics-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(74, 144, 217, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 144, 217, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridDrift 20s linear infinite;
}

.analytics-orb {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(126, 200, 227, 0.1) 0%, transparent 70%);
    pointer-events: none;
    animation: pulse 8s ease-in-out infinite alternate;
}

.analytics-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.analytics-inner {
    max-width: 780px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.analytics-badge {
    display: inline-block;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sky);
    margin-bottom: 1.6rem;
    animation: fadeUp 0.8s ease forwards;
}

.analytics-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 300;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 2.2rem;
    animation: fadeUp 0.8s 0.15s ease both;
}

.analytics-list {
    list-style: none;
    margin-bottom: 2.4rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    width: 100%;
    animation: fadeUp 0.8s 0.3s ease both;
}

.analytics-list li {
    position: relative;
    padding-left: 2rem;
    font-size: 1.25rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.analytics-list li::before {
    content: "•";
    position: absolute;
    left: 0.2rem;
    top: -0.1rem;
    color: var(--sky);
    font-size: 1.8rem;
    line-height: 1;
}

.analytics-lead {
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.8rem;
    animation: fadeUp 0.8s 0.45s ease both;
}

.analytics-actions {
    animation: fadeUp 0.8s 0.6s ease both;
}

.analytics-btn {
    background: #0d83a3;
    border-radius: 50px;
    padding: 1.1rem 3.1rem;
    font-size: 1.02rem;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(13, 131, 163, 0.2);
}

.analytics-btn:hover {
    background: var(--sky);
    color: var(--navy-deep);
    box-shadow: 0 6px 20px rgba(126, 200, 227, 0.4);
    transform: translateY(-2px);
}

.contattaci-section {
    position: relative;
    background: #f8f9fc;
    padding: 100px 5%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.contattaci-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 30% 50%, rgba(74, 144, 217, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.contattaci-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 4.5rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

.contattaci-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
}

.contattaci-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 3.5vw, 3.1rem);
    font-weight: 300;
    line-height: 1.25;
    color: var(--navy-deep);
}

.contattaci-subtitle {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--text-mid);
}

.contattaci-list {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.contattaci-list li {
    position: relative;
    padding-left: 1.6rem;
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.4;
}

.contattaci-list li::before {
    content: "•";
    position: absolute;
    left: 0.2rem;
    top: -0.1rem;
    color: var(--blue-light);
    font-size: 1.6rem;
    line-height: 1;
}

.contattaci-form-wrapper {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(74, 144, 217, 0.2);
    backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 2rem 2rem;
    width: 100%;
    max-width: 100%;
    box-shadow: 0 20px 40px rgba(13, 45, 94, 0.06), 0 5px 15px rgba(0, 0, 0, 0.02);
}

.contattaci-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.contattaci-form .form-group {
    display: flex;
    flex-direction: column;
}

.contattaci-form .form-textarea {
    resize: none;
    height: 100%;
    min-height: 60px;
}

.contattaci-form .form-input,
.contattaci-form .form-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(74, 144, 217, 0.25);
    border-radius: 8px;
    padding: 0.85rem 1.1rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--navy-deep);
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.contattaci-form .form-input:focus,
.contattaci-form .form-textarea:focus {
    border-color: var(--blue-light);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.12);
}

.contattaci-form ::placeholder {
    color: rgba(13, 45, 94, 0.45);
}

.contattaci-form .form-checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-top: 0.5rem;
}

.contattaci-form .form-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.contattaci-form .form-checkbox-label a.privacy-link {
    color: var(--blue);
    text-decoration: underline;
    transition: color 0.2s;
}

.contattaci-form .form-checkbox-label a.privacy-link:hover {
    color: var(--blue-light);
}

.contattaci-form .form-checkbox {
    width: 16px;
    height: 16px;
    accent-color: var(--blue-light);
    cursor: pointer;
}

.contattaci-form .form-actions {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-start;
}

.contattaci-form .form-submit-btn {
    background: var(--blue-light);
    border: none;
    color: var(--white);
    border-radius: 50px;
    padding: 0.95rem 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 15px rgba(74, 144, 217, 0.2);
}

.contattaci-form .form-submit-btn:hover {
    background: var(--sky);
    color: var(--navy-deep);
    box-shadow: 0 6px 20px rgba(126, 200, 227, 0.45);
    transform: translateY(-2px);
}

footer {
    background: var(--navy-deep);
    padding: 40px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.footer-brand {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
}

.footer-copy {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 991px) {
    .hero-inner-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text {
        align-items: center;
        text-align: center;
    }
    
    .hero-actions {
        align-self: center;
    }
    
    nav {
        padding: 0 4%;
    }
    
    .nav-links {
        gap: 1.2rem;
    }

    .cose-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .cose-content-column {
        align-items: center;
    }

    .vantaggi-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .funzionalita-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .funzionalita-info {
        position: static;
        text-align: center;
        align-items: center;
    }

    .carousel-container {
        max-width: 420px;
    }

    .metodo-section {
        padding: 100px 5%;
    }

    .metodo-cascade {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .metodo-card {
        max-width: 450px;
        width: 100%;
        height: auto;
        margin-top: 0 !important;
        margin-left: 0 !important;
        padding: 2.5rem 1.8rem;
    }

    .analytics-section {
        min-height: auto;
        padding: 100px 5%;
    }
    
    .analytics-bg {
        background: linear-gradient(180deg, rgba(7, 24, 48, 0.95) 0%, rgba(7, 24, 48, 0.9) 70%, rgba(7, 24, 48, 0.65) 100%), url('assets/MetodoBackground.png');
        background-size: cover;
        background-position: center;
    }
    
    .analytics-inner {
        max-width: 100%;
        text-align: center;
        align-items: center;
    }
    
    .analytics-list {
        align-items: flex-start;
        max-width: 480px;
        margin: 0 auto 2rem auto;
    }

    .contattaci-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        align-items: center;
        text-align: center;
    }
    
    .contattaci-info {
        align-items: center;
    }
    
    .contattaci-list {
        align-items: flex-start;
        max-width: 480px;
        margin: 0 auto;
    }
    
    .contattaci-form-wrapper {
        max-width: 100%;
    }

    .funzionalita-dashboard {
        margin: 3.5rem auto;
    }
}

@media (max-width: 767px) {
    nav {
        padding: 0 3%;
    }
    
    .nav-links {
        display: none;  
    }
    
    footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

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

    .carousel-container {
        max-width: 320px;
        height: 340px;
    }

    .funzionalita-cards .vantaggio-card {
        width: 220px;
        height: 300px;
    }

    .funzionalita-cards .vantaggio-card.prev {
        transform: translate(-115%, -50%) scale(0.85) translateZ(-40px) rotateY(10deg);
        opacity: 0.4;
    }

    .funzionalita-cards .vantaggio-card.next {
        transform: translate(15%, -50%) scale(0.85) translateZ(-40px) rotateY(-10deg);
        opacity: 0.4;
    }

    .analytics-section {
        padding: 80px 4%;
    }
    
    .analytics-title {
        font-size: 1.8rem;
    }
    
    .analytics-list li {
        font-size: 0.95rem;
    }

    .contattaci-section {
        padding: 60px 4%;
    }
    
    .contattaci-title {
        font-size: 1.4rem;
    }
    
    .contattaci-subtitle {
        font-size: 1.2rem;
    }
    
    .contattaci-list li {
        font-size: 1rem;
    }
    
    .contattaci-form-wrapper {
        padding: 2rem 1.5rem;
    }

    .funzionalita-dashboard {
        margin: 2.5rem auto;
    }
}
