:root {
    /* RisparmioCerto.it Brand Colors - Brandbook 2022 */
    --primary-green: #44BB67;
    /* Verde principale */
    --primary-blue: #4281A4;
    /* Blu principale (dal brandbook) */
    --primary-dark: #4281A4;
    /* Alias per retrocompatibilita */
    --text-dark: #283333;
    /* Grigio scuro per testo (leggibilita) */
    --text-light: #666666;
    --bg-white: #ffffff;
    --bg-body: #f9fbfd;
    --border-color: #e9ecef;

    /* Brand Accent Colors */
    --brand-yellow: #FFCE00;
    --brand-red: #BC4749;
    --brand-grey: #283333;
    /* Grigio scuro originale */
    --brand-pink: #CE6A85;
    --brand-black: #110E01;

    /* Shadows */
    --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.1);

    --container-width: 1600px;
    --header-height: 110px;
}

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

html {
    height: 100%;
}

body {
    font-family: 'Greycliff CF', 'Arial Rounded MT Bold', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-body);
    min-height: 100%;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

main {
    flex: 1;
    position: relative;
    z-index: 1;
}

h1,
h2 {
    font-family: 'Greycliff CF', 'Arial Rounded MT', sans-serif;
    font-weight: 900;
    /* Greycliff Heavy per titoli principali */
    color: var(--text-dark);
    line-height: 1.2;
}

h3,
h4,
h5,
h6 {
    font-family: 'Greycliff CF', 'Arial Rounded MT', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

/* Brand Typography Utilities */
.brand-mention {
    font-family: 'Greycliff CF', sans-serif;
    font-weight: 300;
    /* Greycliff Light per menzioni del brand */
}

.brand-heavy {
    font-family: 'Greycliff CF', sans-serif;
    font-weight: 900;
    /* Greycliff Heavy per titoli pubblicitari */
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

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

/* --- HEADER --- */
.main-header {
    background: var(--bg-white);
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    flex-shrink: 0;
    will-change: transform;
    backface-visibility: hidden;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-link img, .main-logo {
    height: 60px;
    width: auto;
    display: block;
    object-fit: contain;
}

.main-nav {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-link {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.nav-link i {
    color: var(--text-light);
    font-size: 1.1rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Hover & Active States */
.nav-link:hover,
.nav-link.active {
    color: var(--primary-green);
}

.nav-link:hover i,
.nav-link.active i {
    color: var(--primary-green);
    transform: translateY(-2px);
    /* Subtle bounce up */
}

/* Animated Underline */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    /* Start from center */
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-green);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Nav Link Gradient (Speed Test) */
.nav-link-gradient {
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link-gradient i {
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link-gradient:hover,
.nav-link-gradient.active {
    background: linear-gradient(90deg, var(--primary-green), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link-gradient:hover i,
.nav-link-gradient.active i {
    background: linear-gradient(90deg, var(--primary-green), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateY(-2px);
}

/* --- NAV DROPDOWN --- */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .dropdown-arrow {
    font-size: 0.65rem;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

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

.dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 66, 116, 0.12);
    padding: 6px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1001;
    border: 1px solid rgba(0, 66, 116, 0.08);
}

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

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    border-radius: 8px;
    transition: all 0.15s ease;
}

.dropdown-item i {
    font-size: 1rem;
    width: 18px;
    color: var(--text-light);
    transition: color 0.15s ease;
}

.dropdown-item:hover {
    background: linear-gradient(90deg, rgba(0, 66, 116, 0.06), rgba(0, 168, 89, 0.06));
    color: var(--primary-green);
}

.dropdown-item:hover i {
    color: var(--primary-green);
}

.dropdown-item.active {
    background: linear-gradient(90deg, rgba(0, 66, 116, 0.1), rgba(0, 168, 89, 0.1));
    color: var(--primary-green);
}

.dropdown-item.active i {
    color: var(--primary-green);
}

/* --- INFO SECTION (Confronto + Tools) --- */
.info-section-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 24px;
    align-items: stretch;
}

@media (max-width: 992px) {
    .info-section-grid {
        grid-template-columns: 1fr;
    }
}

.tools-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: 100%;
}

.tools-stack .tool-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-card-main {
    background: linear-gradient(135deg, #e8f4fc 0%, #f0f9ff 100%);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    border: 1px solid rgba(0, 66, 116, 0.2);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 1.5rem;
}

.info-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), #0066a8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
}

.info-card-header h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin: 0;
}

.info-card-main p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.info-card-main .link-arrow {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.info-card-main .link-arrow:hover {
    gap: 10px;
    color: var(--primary-blue);
}



.tool-card {
    background: white;
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.tool-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.tool-card.card-purple {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    border: 1px solid rgba(147, 51, 234, 0.25);
}

.tool-card.card-green {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border: 1px solid rgba(0, 168, 89, 0.25);
}

.tool-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.8rem;
}

.tool-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.tool-icon.purple {
    background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
    color: white;
}

.tool-icon.green {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    color: white;
    position: relative;
    z-index: 1;
}

/* Cerchio pulsante dietro l'icona */
.tool-icon.green::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 14px;
    background: inherit;
    z-index: -1;
    animation: ai-pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

/* Animazione dell'icona stessa (fluttuante) */
.tool-icon.green i {
    display: none;
    /* Nascondiamo eventuale i residuo */
}

.promup-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: invert(1) brightness(1.2) drop-shadow(0 0 2px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 4px rgba(255, 255, 255, 0.5));
    will-change: transform;
    animation: promup-thinking 12s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

@keyframes promup-thinking {

    0%,
    12% {
        transform: rotate(0deg) scale(1);
    }

    15% {
        transform: rotate(15deg) scale(1.1);
    }

    22% {
        transform: rotate(-10deg) scale(1);
    }

    30% {
        transform: rotate(360deg) scale(1.1);
    }

    35% {
        transform: rotate(360deg) scale(1.1);
    }

    45% {
        transform: rotate(900deg) scale(1.2);
    }

    50% {
        transform: rotate(880deg) scale(1.15);
    }

    58%,
    70% {
        transform: rotate(720deg) scale(1);
    }

    78% {
        transform: rotate(740deg) scale(1.05);
    }

    100% {
        transform: rotate(0deg) scale(1);
    }
}

@keyframes ai-pulse-ring {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
        box-shadow: 0 0 0 0 rgba(0, 168, 89, 0.7);
    }

    70% {
        transform: scale(1);
        opacity: 0.3;
        box-shadow: 0 0 0 10px rgba(0, 168, 89, 0);
    }

    100% {
        transform: scale(0.95);
        opacity: 0.7;
        box-shadow: 0 0 0 0 rgba(0, 168, 89, 0);
    }
}

.tool-card-header h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tool-card.card-green .tool-card-header h4 {
    color: var(--primary-green);
}

.tool-card-header .badge-ai {
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
    color: white;
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    /* Removed animation */
}

.tool-card p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.tool-card .link-arrow {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.tool-card .link-arrow:hover {
    gap: 10px;
    color: var(--primary-blue);
}

.tool-card.card-green .link-arrow {
    color: var(--primary-green);
}

.tool-card.card-green .link-arrow:hover {
    color: var(--primary-green);
}

.tool-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 0.5rem;
}

.tool-link-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.15s ease;
}

.tool-link-item:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-green);
}

.tool-link-item i:first-child {
    margin-right: 10px;
}

.tool-link-item .icon-luce {
    color: #f39c12;
}

.tool-link-item .icon-gas {
    color: #e74c3c;
}

/* --- PROMUP AI CARD --- */
.tool-card.card-promup {
    background: linear-gradient(135deg, #e8f4fc 0%, #dcfce7 100%);
    border: 1px solid rgba(0, 168, 89, 0.15);
    position: relative;
    overflow: hidden;
}

.tool-card.card-promup::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 168, 89, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.promup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.promup-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.promup-title {
    display: flex;
    flex-direction: column;
}

.promup-name {
    font-size: 1.3rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.promup-by {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
    margin-top: -2px;
}

.promup-header .badge-ai {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.promup-desc {
    color: #555;
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    position: relative;
}

/* --- HERO SECTION --- */
.hero-section {
    padding: 4rem 0 3rem;
    text-align: center;
    background-color: var(--bg-body);
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    /* Greycliff Heavy */
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

.hero-text {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 900px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

/* --- NEW GRID SYSTEM --- */
.services-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 4rem;
}

/* Row 1: 4 Cards */
.services-row-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Row 2: Wider cards (e.g. Speedtest) */
.services-row-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 cols, Speedtest takes one or more */
    gap: 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .services-row-top {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-row-bottom {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .services-row-top {
        grid-template-columns: 1fr;
    }
}

/* --- KOMP CARD RECTANGULAR STYLE --- */
.komp-card-rect {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 1.5rem 1.8rem;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0f0f0;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    min-height: 110px;
    text-decoration: none;
    overflow: hidden;
    /* For the hover effect */
}

/* Gradient Top Line Effect */
.komp-card-rect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
    transform: scaleX(0);
    /* Hidden by default */
    transform-origin: left;
    transition: transform 0.3s ease;
}

.komp-card-rect:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border-color: transparent;
    /* Border replaced by shadow/effect */
}

.komp-card-rect:hover::before {
    transform: scaleX(1);
    /* Slide in */
}

.rect-content h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-green);
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.rect-content p {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
}

.rect-icon {
    font-size: 2.8rem;
    color: #5d6d7e;
    opacity: 0.8;
    transition: color 0.3s;
}

.komp-card-rect:hover .rect-icon {
    color: var(--primary-green);
    /* Green on hover */
}

/* Speed Test Card - Same style, just different icon color maybe? */
/* Removed .card-speedtest specific overriding styles to keep uniformity */

/* --- NOLEGGIO AUTO CARD --- */
.komp-card-rect.card-noleggio {
    background: linear-gradient(135deg, #f0f4f8 0%, #fff5f5 100%);
    border: 1px solid rgba(220, 53, 69, 0.15);
    position: relative;
    overflow: hidden;
}

/* Bordo top con gradiente blu-rosso ANIMATO */
.komp-card-rect.card-noleggio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), #dc3545, var(--primary-blue));
    background-size: 200% 100%;
    animation: noleggio-border-flow 3s ease-in-out infinite;
}

@keyframes noleggio-border-flow {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Effetto shimmer che scorre */
.komp-card-rect.card-noleggio::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    animation: noleggio-shimmer 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes noleggio-shimmer {

    0%,
    100% {
        left: -100%;
    }

    50%,
    60% {
        left: 150%;
    }
}

.komp-card-rect.card-noleggio .rect-content h2 {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #dc3545 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.komp-card-rect.card-noleggio .rect-content p {
    color: #dc3545;
    font-weight: 600;
}

/* Contenuto card noleggio */
.komp-card-rect.card-noleggio {
    gap: 2rem;
}

.komp-card-rect.card-noleggio .rect-content {
    flex: 1;
    padding-right: 1rem;
}

.komp-card-rect.card-noleggio .rect-icon {
    display: flex;
    align-items: center;
    align-self: center;
}

.komp-card-rect.card-noleggio .rect-content h2 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.komp-card-rect.card-noleggio .noleggio-desc {
    font-size: 0.85rem;
    color: #555;
    margin: 0;
    line-height: 1.4;
}

/* Icona volante - stile coerente con le altre icone */
.noleggio-icon {
    width: 4.5rem;
    height: 4.5rem;
    object-fit: contain;
    opacity: 0.8;
    transition: filter 0.3s ease, opacity 0.3s ease;
    /* Colore grigio come le altre icone */
    filter: brightness(0) saturate(100%) invert(45%) sepia(10%) saturate(500%) hue-rotate(175deg) brightness(90%);
    /* Animazione sterzo normale */
    animation: noleggio-steering 3s ease-in-out infinite;
}

@keyframes noleggio-steering {

    0%,
    100% {
        transform: rotate(0deg);
    }

    20% {
        transform: rotate(20deg);
    }

    40% {
        transform: rotate(-15deg);
    }

    60% {
        transform: rotate(10deg);
    }

    80% {
        transform: rotate(-8deg);
    }
}

.komp-card-rect.card-noleggio:hover {
    border-color: rgba(220, 53, 69, 0.3);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.15);
}

.komp-card-rect.card-noleggio:hover .noleggio-icon {
    opacity: 1;
    /* Rosso coerente con la card */
    filter: brightness(0) saturate(100%) invert(27%) sepia(90%) saturate(2000%) hue-rotate(340deg) brightness(95%);
    /* Rotazione continua come una ruota */
    animation: noleggio-spin 1s linear infinite;
}

@keyframes noleggio-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* --- SECTIONS --- */
.section {
    padding: 4rem 0;
}

.section-white {
    background: var(--bg-white);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

/* Features/Why Us Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: left;
}

.feature-item h3 {
    margin: 1rem 0;
    font-size: 1.3rem;
}

.feature-item p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.feature-item i {
    font-size: 2rem;
    color: var(--primary-green);
}

/* Values Grid (Brand Values) */
.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    text-align: center;
}

@media (max-width: 1200px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

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

.value-item {
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s, box-shadow 0.3s;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.value-icon i {
    font-size: 1.5rem;
    color: white;
}

.value-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.value-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Steps Grid (Come funziona) */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.step-number {
    font-size: 4rem;
    font-weight: 900;
    color: #f0f2f5;
    position: relative;
    z-index: 1;
    margin-bottom: -2rem;
}

.step-content {
    position: relative;
    z-index: 2;
}

/* Footer */
.main-footer {
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0 1rem;
    /* Reduced padding from 4rem */
    color: var(--text-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    /* Reduced gap */
}

.footer-col h4 {
    color: var(--primary-green);
    margin-bottom: 0.8rem;
    /* Reduced margin */
    font-size: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.4rem;
    /* Reduced margin */
}

.footer-col a {
    color: var(--text-light);
    font-size: 0.85rem;
    /* Slightly smaller text */
}

.footer-col a:hover {
    color: var(--primary-green);
}

.footer-disclaimer {
    margin-top: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.6;
}

.footer-disclaimer a {
    color: var(--primary-green);
    text-decoration: underline;
}

.footer-disclaimer a:hover {
    color: var(--primary-green);
}

.footer-bottom {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* New Footer Style */
.main-footer-new {
    background: #1e293b;
    padding: 3rem 0 0;
    color: #94a3b8;
}

.footer-grid-new {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    padding-bottom: 2rem;
}

.footer-col-new h4 {
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.footer-col-new ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col-new li {
    margin-bottom: 0.5rem;
}

.footer-col-new a {
    color: #94a3b8;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-col-new a:hover {
    color: var(--primary-green);
}

.footer-brand {
    display: block;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    display: block;
}

.footer-disclaimer-new {
    padding: 1.25rem 0;
    border-top: 1px solid #334155;
    font-size: 0.8rem;
    line-height: 1.6;
    color: #94a3b8;
}

.footer-disclaimer-new a {
    color: white;
    text-decoration: none;
}

.footer-disclaimer-new a:hover {
    color: var(--primary-green);
}

.footer-bottom-new {
    border-top: 1px solid #334155;
    background: #0f172a;
    width: 100%;
}

.footer-bottom-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 0;
}

.footer-pgroup-logo {
    height: 35px;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

.footer-center {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-logo-bottom {
    font-family: 'Greycliff CF', 'Arial Rounded MT Bold', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-green) !important;
}

.footer-copy {
    font-size: 0.8rem;
    color: #64748b;
}

.footer-copy a {
    color: #94a3b8;
}

.footer-copy a:hover {
    color: var(--primary-green);
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .footer-grid-new {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-grid-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .footer-bottom-inner {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        text-align: center;
        justify-items: center;
    }

    .footer-center {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-bottom-inner>div:last-child {
        display: none;
    }
}

@media (max-width: 480px) {
    .footer-grid-new {
        grid-template-columns: 1fr;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--primary-green);
    color: white;
}

.btn-primary:hover {
    background: #008f4c;
    box-shadow: 0 4px 10px rgba(0, 168, 89, 0.3);
}

/* ============================================
   SKELETON LOADING - SISTEMA GLOBALE
   ============================================ */

/* Animazione shimmer */
@keyframes skeleton-shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Base skeleton element */
.skeleton {
    background: linear-gradient(90deg,
            #e0e0e0 25%,
            #d0d0d0 50%,
            #e0e0e0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.2s ease-in-out infinite;
    border-radius: 6px;
}

/* Skeleton text lines */
.skeleton-text {
    height: 14px;
    margin-bottom: 8px;
    border-radius: 4px;
}

.skeleton-text.short {
    width: 40%;
}

.skeleton-text.medium {
    width: 70%;
}

.skeleton-text.long {
    width: 100%;
}

/* Skeleton title */
.skeleton-title {
    height: 24px;
    margin-bottom: 12px;
    border-radius: 4px;
}

/* Skeleton avatar/logo */
.skeleton-avatar {
    width: 50px;
    height: 50px;
    border-radius: 8px;
}

/* Skeleton button */
.skeleton-btn {
    height: 44px;
    width: 140px;
    border-radius: 8px;
}

/* Skeleton badge */
.skeleton-badge {
    height: 26px;
    width: 80px;
    border-radius: 20px;
    display: inline-block;
}

/* Skeleton price */
.skeleton-price {
    height: 40px;
    width: 100px;
    border-radius: 4px;
}

/* ============================================
   SKELETON OFFER CARD
   ============================================ */
.skeleton-offer-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    min-height: 120px;
}

.skeleton-offer-card .skeleton-brand {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.skeleton-offer-card .skeleton-features {
    flex: 2;
    display: flex;
    gap: 30px;
}

.skeleton-offer-card .skeleton-feature-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.skeleton-offer-card .skeleton-feature-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.skeleton-offer-card .skeleton-feature-val {
    width: 60px;
    height: 18px;
}

.skeleton-offer-card .skeleton-feature-lbl {
    width: 50px;
    height: 10px;
}

.skeleton-offer-card .skeleton-price-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

/* ============================================
   SKELETON FILTER SIDEBAR
   ============================================ */
.skeleton-filter-box {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 1.5rem;
}

.skeleton-filter-title {
    height: 20px;
    width: 120px;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.skeleton-filter-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 1.5rem;
}

.skeleton-filter-item {
    height: 50px;
    border-radius: 8px;
}

.skeleton-filter-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 1.5rem 0;
}

/* ============================================
   SKELETON CONTAINERS
   ============================================ */
.skeleton-container {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.skeleton-container.fade-out {
    opacity: 0;
}

/* Hide real content while loading */
.content-loading {
    display: none !important;
}

/* Responsive skeleton */
@media (max-width: 768px) {
    .skeleton-offer-card {
        flex-direction: column;
        text-align: center;
    }

    .skeleton-offer-card .skeleton-features {
        justify-content: center;
    }

    .skeleton-offer-card .skeleton-price-area {
        align-items: center;
    }
}

/* ============================================
   OPERATORS SECTION - HOMEPAGE
   ============================================ */
.operators-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.op-tab {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    padding: 10px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.op-tab i {
    color: var(--text-light);
    transition: color 0.2s;
}

.op-tab:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.op-tab:hover i {
    color: var(--primary-green);
}

.op-tab.active {
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
    border-color: transparent;
    color: white;
}

.op-tab.active i {
    color: white;
}

.op-count {
    background: rgba(0, 0, 0, 0.08);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
}

.op-tab.active .op-count {
    background: rgba(255, 255, 255, 0.2);
}

.op-tab-content {
    display: none;
}

.op-tab-content.active {
    display: block;
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.operators-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

@media (max-width: 992px) {
    .operators-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 600px) {
    .operators-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .operators-tabs {
        gap: 8px;
    }

    .op-tab {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

.operator-card {
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    transition: all 0.2s;
    cursor: pointer;
}

.operator-card:hover {
    border-color: var(--primary-green);
    box-shadow: 0 4px 15px rgba(0, 66, 116, 0.1);
    transform: translateY(-2px);
}

.operator-card img {
    max-width: 100%;
    max-height: 45px;
    object-fit: contain;
    filter: grayscale(30%);
    opacity: 0.85;
    transition: all 0.2s;
}

.operator-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.op-name-fallback {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-green);
    text-align: center;
    word-break: break-word;
}

/* PromUp Typewriter Cursor */
.cursor {
    display: inline-block;
    width: 3px;
    height: 1.1em;
    background-color: var(--primary-green);
    animation: blink 1s step-end infinite;
    vertical-align: middle;
    margin-left: 2px;
    transform: translateY(-2px);
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* ===========================================
   HOMEPAGE - New Distinctive Sections
   =========================================== */

/* Impact Stats Section */
.impact-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 900px) {
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

.impact-stat-big {
    background: linear-gradient(135deg, var(--primary-green) 0%, #2d8f4e 100%);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    color: white;
    min-width: 280px;
}

.stat-number {
    display: block;
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 300;
}

.impact-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.impact-lead {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.impact-points {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.impact-point {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
    color: var(--text-dark);
}

.impact-point i {
    color: var(--primary-green);
    font-size: 1.2rem;
    width: 24px;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.5rem;
}

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

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

.bento-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.bento-card i {
    font-size: 1.8rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
    display: block;
}

.bento-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.bento-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.bento-large {
    grid-row: span 2;
    background: linear-gradient(145deg, #f0fdf4 0%, #dcfce7 100%);
    position: relative;
    overflow: hidden;
}

.bento-large h3 {
    font-size: 1.8rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.bento-large p {
    font-size: 1.1rem;
}

.bento-icon-wrap {
    width: 70px;
    height: 70px;
    background: var(--primary-green);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.bento-icon-wrap i {
    color: white;
    font-size: 2rem;
    margin: 0;
}

.bento-badge {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: var(--primary-green);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.bento-wide {
    grid-column: span 2;
}

@media (max-width: 600px) {

    .bento-wide,
    .bento-large {
        grid-column: span 1;
        grid-row: span 1;
    }
}

.bento-wide-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.bento-wide-content>div {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: fit-content;
}

.bento-wide-content i {
    margin: 0;
}

.bento-wide-content h4 {
    margin: 0;
    white-space: nowrap;
}

.bento-wide-content p {
    margin: 0;
}

@media (max-width: 768px) {
    .bento-wide-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

.bento-accent {
    background: linear-gradient(135deg, var(--primary-green) 0%, #2d8f4e 100%);
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.bento-accent i {
    color: white;
    opacity: 0.8;
}

.bento-stat {
    font-size: 3rem;
    font-weight: 900;
    display: block;
}

.bento-stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
}

.bento-accent-alt {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2d6a8a 100%);
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.bento-accent-alt i {
    color: white;
    opacity: 0.8;
}

.bento-accent-third {
    background: linear-gradient(135deg, #283333 0%, #1a2424 100%);
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.bento-accent-third i {
    color: var(--primary-green);
    opacity: 0.9;
}

/* Timeline Steps */
.timeline-steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    padding: 2rem 0;
}

@media (max-width: 800px) {
    .timeline-steps {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    max-width: 250px;
}

.timeline-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), #2d8f4e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.timeline-icon i {
    font-size: 2rem;
    color: white;
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-green);
}

.timeline-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.timeline-connector {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), #a7f3d0);
    margin-top: 38px;
    border-radius: 2px;
}

@media (max-width: 800px) {
    .timeline-connector {
        width: 4px;
        height: 40px;
        margin: 0;
    }
}

/* Features Showcase */
.features-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 900px) {
    .features-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.showcase-main {
    padding-right: 2rem;
}

@media (max-width: 900px) {
    .showcase-main {
        padding-right: 0;
        text-align: center;
    }
}

.showcase-tag {
    display: inline-block;
    background: #dcfce7;
    color: var(--primary-green);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.showcase-main h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.showcase-main p {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.showcase-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-green);
    font-weight: 600;
    font-size: 1.1rem;
    transition: gap 0.3s;
}

.showcase-link:hover {
    gap: 1rem;
}

.showcase-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.showcase-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.showcase-card:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.showcase-card i {
    font-size: 1.5rem;
    color: var(--primary-green);
    width: 40px;
    flex-shrink: 0;
}

.showcase-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.showcase-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, #2d8f4e 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 800px) {
    .cta-content {
        flex-direction: column;
        text-align: center;
    }
}

.cta-text h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.cta-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

@media (max-width: 500px) {
    .cta-buttons {
        flex-direction: column;
    }
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-btn:hover {
    transform: translateY(-3px);
}

.cta-btn-primary {
    background: white;
    color: var(--primary-green);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-btn-primary:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.cta-btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
}